@epam/uui 6.1.6 → 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/components/pickers/PickerInput.d.ts +2 -2
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/index.esm.js +129 -111
- package/index.esm.js.map +1 -1
- package/index.js +128 -110
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +2 -2
- 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,9 +1969,6 @@ function TimePickerComponent(props, ref) {
|
|
|
1966
1969
|
}
|
|
1967
1970
|
};
|
|
1968
1971
|
const handleBlur = (e) => {
|
|
1969
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(e))
|
|
1970
|
-
return;
|
|
1971
|
-
onToggle(false);
|
|
1972
1972
|
props.onBlur?.(e);
|
|
1973
1973
|
if (state.value === '' || state.inputValue === '') {
|
|
1974
1974
|
props.onValueChange(null);
|
|
@@ -1976,19 +1976,37 @@ function TimePickerComponent(props, ref) {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
state.value && state.inputValue && saveTime(state.value);
|
|
1978
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
|
+
};
|
|
1979
1989
|
const renderInput = (inputProps) => {
|
|
1980
|
-
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
|
+
} }));
|
|
1981
1999
|
};
|
|
1982
2000
|
const renderBody = (bodyProps) => {
|
|
1983
2001
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
1984
|
-
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] },
|
|
1985
2003
|
React__namespace.default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
1986
2004
|
};
|
|
1987
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 }));
|
|
1988
2006
|
}
|
|
1989
2007
|
const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
|
|
1990
2008
|
|
|
1991
|
-
var css$1e = {"root":"
|
|
2009
|
+
var css$1e = {"root":"YKtnMS"};
|
|
1992
2010
|
|
|
1993
2011
|
function applyInputAddonMods() {
|
|
1994
2012
|
return [
|
|
@@ -1997,14 +2015,14 @@ function applyInputAddonMods() {
|
|
|
1997
2015
|
}
|
|
1998
2016
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
1999
2017
|
|
|
2000
|
-
var css$1d = {"root":"
|
|
2018
|
+
var css$1d = {"root":"_6elwRc"};
|
|
2001
2019
|
|
|
2002
2020
|
function applySliderMods() {
|
|
2003
2021
|
return [css$1d.root, 'uui-color-neutral'];
|
|
2004
2022
|
}
|
|
2005
2023
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2006
2024
|
|
|
2007
|
-
var css$1c = {"root":"
|
|
2025
|
+
var css$1c = {"root":"p70fY3"};
|
|
2008
2026
|
|
|
2009
2027
|
function applyTooltipMods(mods) {
|
|
2010
2028
|
return [
|
|
@@ -2014,7 +2032,7 @@ function applyTooltipMods(mods) {
|
|
|
2014
2032
|
}
|
|
2015
2033
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
2016
2034
|
|
|
2017
|
-
var css$1b = {"root":"
|
|
2035
|
+
var css$1b = {"root":"-RCkA7","tooltip":"vwQz3n"};
|
|
2018
2036
|
|
|
2019
2037
|
function applyRatingMods(mods) {
|
|
2020
2038
|
return [
|
|
@@ -2028,7 +2046,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
|
|
|
2028
2046
|
Tooltip,
|
|
2029
2047
|
}));
|
|
2030
2048
|
|
|
2031
|
-
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"};
|
|
2032
2050
|
|
|
2033
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 },
|
|
2034
2052
|
React__namespace.createElement("div", { className: css$1a.mainPath },
|
|
@@ -2046,7 +2064,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
2046
2064
|
|
|
2047
2065
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
2048
2066
|
|
|
2049
|
-
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"};
|
|
2050
2068
|
|
|
2051
2069
|
exports.IDropdownControlKeys = void 0;
|
|
2052
2070
|
(function (IDropdownControlKeys) {
|
|
@@ -2171,7 +2189,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
2171
2189
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2172
2190
|
}
|
|
2173
2191
|
|
|
2174
|
-
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"};
|
|
2175
2193
|
|
|
2176
2194
|
function applyAccordionMods(mods) {
|
|
2177
2195
|
return [
|
|
@@ -2184,7 +2202,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
2184
2202
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2185
2203
|
}));
|
|
2186
2204
|
|
|
2187
|
-
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"};
|
|
2188
2206
|
|
|
2189
2207
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$17.flexCell]);
|
|
2190
2208
|
|
|
@@ -2236,7 +2254,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2236
2254
|
} }, props.children));
|
|
2237
2255
|
});
|
|
2238
2256
|
|
|
2239
|
-
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"};
|
|
2240
2258
|
|
|
2241
2259
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
2242
2260
|
'uui-panel',
|
|
@@ -2246,7 +2264,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
2246
2264
|
props.background && css$16[`uui-${props.background}`],
|
|
2247
2265
|
]);
|
|
2248
2266
|
|
|
2249
|
-
var css$15 = {"root":"
|
|
2267
|
+
var css$15 = {"root":"_2RVQp5"};
|
|
2250
2268
|
|
|
2251
2269
|
function applyLabeledInputMods(mods) {
|
|
2252
2270
|
return [
|
|
@@ -2263,7 +2281,7 @@ function applyLabeledInputProps(props) {
|
|
|
2263
2281
|
}
|
|
2264
2282
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2265
2283
|
|
|
2266
|
-
var css$14 = {"root":"
|
|
2284
|
+
var css$14 = {"root":"_8sQEm7"};
|
|
2267
2285
|
|
|
2268
2286
|
function RadioGroup(props) {
|
|
2269
2287
|
const direction = props.direction || 'vertical';
|
|
@@ -2278,7 +2296,7 @@ function RadioGroup(props) {
|
|
|
2278
2296
|
})));
|
|
2279
2297
|
}
|
|
2280
2298
|
|
|
2281
|
-
var css$13 = {"root":"
|
|
2299
|
+
var css$13 = {"root":"YGiMr6"};
|
|
2282
2300
|
|
|
2283
2301
|
function applyScrollBarsMods() {
|
|
2284
2302
|
return [
|
|
@@ -2287,7 +2305,7 @@ function applyScrollBarsMods() {
|
|
|
2287
2305
|
}
|
|
2288
2306
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
2289
2307
|
|
|
2290
|
-
var css$12 = {"scroll-container":"
|
|
2308
|
+
var css$12 = {"scroll-container":"ePH08-","scrollContainer":"ePH08-","list-container":"Pi-NVe","listContainer":"Pi-NVe"};
|
|
2291
2309
|
|
|
2292
2310
|
const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
2293
2311
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
@@ -2331,7 +2349,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
2331
2349
|
props.renderBlocker ? props.renderBlocker({ isLoading: props.isLoading }) : React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2332
2350
|
});
|
|
2333
2351
|
|
|
2334
|
-
var css$11 = {"root":"
|
|
2352
|
+
var css$11 = {"root":"_4JPERK"};
|
|
2335
2353
|
|
|
2336
2354
|
function CheckboxGroup(props) {
|
|
2337
2355
|
const currentValue = props.value || [];
|
|
@@ -2353,7 +2371,7 @@ function CheckboxGroup(props) {
|
|
|
2353
2371
|
})));
|
|
2354
2372
|
}
|
|
2355
2373
|
|
|
2356
|
-
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"};
|
|
2357
2375
|
|
|
2358
2376
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$10.modalBlocker]);
|
|
2359
2377
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$10.root, css$10.modal], (props) => {
|
|
@@ -2545,7 +2563,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2545
2563
|
});
|
|
2546
2564
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2547
2565
|
|
|
2548
|
-
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"};
|
|
2549
2567
|
|
|
2550
2568
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2551
2569
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -2578,7 +2596,7 @@ function ClearNotification() {
|
|
|
2578
2596
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2579
2597
|
}
|
|
2580
2598
|
|
|
2581
|
-
var css$_ = {"footer":"
|
|
2599
|
+
var css$_ = {"footer":"OUEEGd"};
|
|
2582
2600
|
|
|
2583
2601
|
class ConfirmationModal extends React__namespace.Component {
|
|
2584
2602
|
render() {
|
|
@@ -2620,7 +2638,7 @@ function useReliableForceUpdate() {
|
|
|
2620
2638
|
return red[1];
|
|
2621
2639
|
}
|
|
2622
2640
|
|
|
2623
|
-
var css$Z = {"root":"
|
|
2641
|
+
var css$Z = {"root":"LgqQBw","container":"c3pB2D"};
|
|
2624
2642
|
|
|
2625
2643
|
const defaultFormat = 'MMM D, YYYY';
|
|
2626
2644
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2838,14 +2856,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2838
2856
|
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2839
2857
|
}
|
|
2840
2858
|
|
|
2841
|
-
var css$Y = {"root":"
|
|
2859
|
+
var css$Y = {"root":"ATG31y"};
|
|
2842
2860
|
|
|
2843
2861
|
function applyDateSelectionMods() {
|
|
2844
2862
|
return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2845
2863
|
}
|
|
2846
2864
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2847
2865
|
|
|
2848
|
-
var css$X = {"root":"
|
|
2866
|
+
var css$X = {"root":"SQmKLE"};
|
|
2849
2867
|
|
|
2850
2868
|
const uuiDatePickerBody = {
|
|
2851
2869
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2966,7 +2984,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2966
2984
|
}
|
|
2967
2985
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2968
2986
|
|
|
2969
|
-
var css$W = {"date-input":"
|
|
2987
|
+
var css$W = {"date-input":"oU6RYO","dateInput":"oU6RYO","root":"X2hZkz","separator":"_8jPRc6"};
|
|
2970
2988
|
|
|
2971
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) => {
|
|
2972
2990
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -3037,7 +3055,7 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
3037
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 })));
|
|
3038
3056
|
});
|
|
3039
3057
|
|
|
3040
|
-
var css$V = {"root":"
|
|
3058
|
+
var css$V = {"root":"gxksPw"};
|
|
3041
3059
|
|
|
3042
3060
|
const uuiPresets = {
|
|
3043
3061
|
container: 'uui-presets-container',
|
|
@@ -3057,7 +3075,7 @@ function CalendarPresets(props) {
|
|
|
3057
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 })))));
|
|
3058
3076
|
}
|
|
3059
3077
|
|
|
3060
|
-
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"};
|
|
3061
3079
|
|
|
3062
3080
|
const uuiRangeDatePickerBody = {
|
|
3063
3081
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3259,7 +3277,7 @@ const getDayState = (day, selectedDate) => {
|
|
|
3259
3277
|
};
|
|
3260
3278
|
};
|
|
3261
3279
|
|
|
3262
|
-
var css$T = {"dropdown-container":"
|
|
3280
|
+
var css$T = {"dropdown-container":"MRqHrI","dropdownContainer":"MRqHrI"};
|
|
3263
3281
|
|
|
3264
3282
|
function RangeDatePickerComponent(props, ref) {
|
|
3265
3283
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
@@ -3327,7 +3345,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3327
3345
|
}
|
|
3328
3346
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3329
3347
|
|
|
3330
|
-
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"};
|
|
3331
3349
|
|
|
3332
3350
|
function DropMarker(props) {
|
|
3333
3351
|
return props.isDndInProgress
|
|
@@ -3344,15 +3362,15 @@ function DropMarker(props) {
|
|
|
3344
3362
|
|
|
3345
3363
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3346
3364
|
|
|
3347
|
-
var css$R = {"search-wrapper":"
|
|
3365
|
+
var css$R = {"search-wrapper":"rtR3-Q","searchWrapper":"rtR3-Q","no-data":"QNIshj","noData":"QNIshj"};
|
|
3348
3366
|
|
|
3349
|
-
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"};
|
|
3350
3368
|
|
|
3351
|
-
var css$P = {"root":"
|
|
3369
|
+
var css$P = {"root":"h4utAI"};
|
|
3352
3370
|
|
|
3353
3371
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
|
|
3354
3372
|
|
|
3355
|
-
var css$O = {"root":"
|
|
3373
|
+
var css$O = {"root":"G-klZ-"};
|
|
3356
3374
|
|
|
3357
3375
|
const DEFAULT_FILL = 'solid';
|
|
3358
3376
|
function applyBadgeMods(mods) {
|
|
@@ -3380,7 +3398,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
3380
3398
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3381
3399
|
});
|
|
3382
3400
|
|
|
3383
|
-
var css$N = {"root":"
|
|
3401
|
+
var css$N = {"root":"cTxOfc"};
|
|
3384
3402
|
|
|
3385
3403
|
function applyTagMods(props) {
|
|
3386
3404
|
return [
|
|
@@ -3408,7 +3426,7 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
3408
3426
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3409
3427
|
});
|
|
3410
3428
|
|
|
3411
|
-
var css$M = {"root":"
|
|
3429
|
+
var css$M = {"root":"zzbN-r","page":"SVkcwy","spacer":"_3n8Dm-","mode-ghost":"UGqAb-","modeGhost":"UGqAb-"};
|
|
3412
3430
|
|
|
3413
3431
|
function Paginator(props) {
|
|
3414
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 },
|
|
@@ -3425,14 +3443,14 @@ function Paginator(props) {
|
|
|
3425
3443
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
3426
3444
|
}
|
|
3427
3445
|
|
|
3428
|
-
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"};
|
|
3429
3447
|
|
|
3430
3448
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3431
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}`]) },
|
|
3432
3450
|
React__namespace.createElement("div", { className: cx__default.default(css$L.progressBar) })));
|
|
3433
3451
|
});
|
|
3434
3452
|
|
|
3435
|
-
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"};
|
|
3436
3454
|
|
|
3437
3455
|
const DEFAULT_SIZE = '12';
|
|
3438
3456
|
function applyProgressBarMods(mods) {
|
|
@@ -3447,14 +3465,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
3447
3465
|
hideLabel: props.hideLabel || props.striped,
|
|
3448
3466
|
}));
|
|
3449
3467
|
|
|
3450
|
-
var css$J = {"root":"
|
|
3468
|
+
var css$J = {"root":"_1Q-Qpv"};
|
|
3451
3469
|
|
|
3452
3470
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3453
3471
|
const { progress } = props;
|
|
3454
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) }));
|
|
3455
3473
|
});
|
|
3456
3474
|
|
|
3457
|
-
var css$I = {"root":"
|
|
3475
|
+
var css$I = {"root":"ZpBKr2"};
|
|
3458
3476
|
|
|
3459
3477
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3460
3478
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -3469,7 +3487,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3469
3487
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3470
3488
|
});
|
|
3471
3489
|
|
|
3472
|
-
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"};
|
|
3473
3491
|
|
|
3474
3492
|
function DataRowAddons(props) {
|
|
3475
3493
|
const row = props.rowProps;
|
|
@@ -3556,7 +3574,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3556
3574
|
return getDecoratedText(str, ranges);
|
|
3557
3575
|
};
|
|
3558
3576
|
|
|
3559
|
-
var css$G = {"root":"
|
|
3577
|
+
var css$G = {"root":"VCfw0p","column-gap":"PUPsDz","columnGap":"PUPsDz","title":"iZD6OW","subtitle":"LDLHGD","disabled":"_7eqH-j","multiline":"-Ip97z"};
|
|
3560
3578
|
|
|
3561
3579
|
function PickerItem(props) {
|
|
3562
3580
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3730,7 +3748,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3730
3748
|
}
|
|
3731
3749
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
3732
3750
|
|
|
3733
|
-
var css$F = {"header":"
|
|
3751
|
+
var css$F = {"header":"Klq72P","title":"_813TXs","close":"PAPM4-"};
|
|
3734
3752
|
|
|
3735
3753
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
3736
3754
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -3740,7 +3758,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
3740
3758
|
};
|
|
3741
3759
|
const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
|
|
3742
3760
|
|
|
3743
|
-
var css$E = {"done":"
|
|
3761
|
+
var css$E = {"done":"-p2NAu","container":"H0HVnQ"};
|
|
3744
3762
|
|
|
3745
3763
|
const PickerBodyMobileView = (props) => {
|
|
3746
3764
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -3752,7 +3770,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
3752
3770
|
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
3753
3771
|
};
|
|
3754
3772
|
|
|
3755
|
-
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"};
|
|
3756
3774
|
|
|
3757
3775
|
function PickerModal(props) {
|
|
3758
3776
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -3798,7 +3816,7 @@ function PickerModal(props) {
|
|
|
3798
3816
|
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3799
3817
|
}
|
|
3800
3818
|
|
|
3801
|
-
var css$C = {"tooltip":"
|
|
3819
|
+
var css$C = {"tooltip":"dpWfZU"};
|
|
3802
3820
|
|
|
3803
3821
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3804
3822
|
const tagProps = {
|
|
@@ -3817,7 +3835,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3817
3835
|
}
|
|
3818
3836
|
});
|
|
3819
3837
|
|
|
3820
|
-
var css$B = {"root":"
|
|
3838
|
+
var css$B = {"root":"TcahmI"};
|
|
3821
3839
|
|
|
3822
3840
|
const defaultMode = EditMode.FORM;
|
|
3823
3841
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3895,11 +3913,11 @@ function PickerInputComponent(props, ref) {
|
|
|
3895
3913
|
return (React__namespace.default.createElement(Dropdown, { renderTarget: (dropdownProps) => {
|
|
3896
3914
|
const targetProps = getTogglerProps();
|
|
3897
3915
|
return renderTarget({ ...dropdownProps, ...targetProps, renderItem });
|
|
3898
|
-
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden:
|
|
3916
|
+
}, renderBody: (bodyProps) => renderBody(bodyProps), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, middleware: middleware, closeBodyOnTogglerHidden: uuiCore.isMobile() ? false : props.closeBodyOnTogglerHidden, portalTarget: props.portalTarget, ref: togglerRef }));
|
|
3899
3917
|
}
|
|
3900
3918
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3901
3919
|
|
|
3902
|
-
var css$A = {"row":"
|
|
3920
|
+
var css$A = {"row":"_9oNwh8"};
|
|
3903
3921
|
|
|
3904
3922
|
function PickerListRow(props) {
|
|
3905
3923
|
let label;
|
|
@@ -3919,7 +3937,7 @@ function PickerListRow(props) {
|
|
|
3919
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));
|
|
3920
3938
|
}
|
|
3921
3939
|
|
|
3922
|
-
var css$z = {"root":"
|
|
3940
|
+
var css$z = {"root":"_18eomB"};
|
|
3923
3941
|
|
|
3924
3942
|
function PickerList(props) {
|
|
3925
3943
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3954,7 +3972,7 @@ function PickerList(props) {
|
|
|
3954
3972
|
}, selectedRows)));
|
|
3955
3973
|
}
|
|
3956
3974
|
|
|
3957
|
-
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"};
|
|
3958
3976
|
|
|
3959
3977
|
function DataTableCell(initialProps) {
|
|
3960
3978
|
const props = { ...initialProps };
|
|
@@ -4004,7 +4022,7 @@ function DataTableCell(initialProps) {
|
|
|
4004
4022
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
4005
4023
|
}
|
|
4006
4024
|
|
|
4007
|
-
var css$x = {"root":"
|
|
4025
|
+
var css$x = {"root":"m11hiD"};
|
|
4008
4026
|
|
|
4009
4027
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
4010
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.
|
|
@@ -4020,7 +4038,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
4020
4038
|
];
|
|
4021
4039
|
}, () => propsMods);
|
|
4022
4040
|
|
|
4023
|
-
var css$w = {"sorting-panel-container":"
|
|
4041
|
+
var css$w = {"sorting-panel-container":"rT0JtW","sortingPanelContainer":"rT0JtW"};
|
|
4024
4042
|
|
|
4025
4043
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
4026
4044
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -4040,7 +4058,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
4040
4058
|
};
|
|
4041
4059
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
4042
4060
|
|
|
4043
|
-
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"};
|
|
4044
4062
|
|
|
4045
4063
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4046
4064
|
constructor() {
|
|
@@ -4134,7 +4152,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4134
4152
|
}
|
|
4135
4153
|
}
|
|
4136
4154
|
|
|
4137
|
-
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"};
|
|
4138
4156
|
|
|
4139
4157
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
4140
4158
|
constructor() {
|
|
@@ -4174,7 +4192,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
4174
4192
|
}
|
|
4175
4193
|
}
|
|
4176
4194
|
|
|
4177
|
-
var css$t = {"root":"
|
|
4195
|
+
var css$t = {"root":"TgXcZg"};
|
|
4178
4196
|
|
|
4179
4197
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
4180
4198
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -4270,7 +4288,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
|
|
|
4270
4288
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4271
4289
|
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
4272
4290
|
|
|
4273
|
-
var css$s = {"body":"
|
|
4291
|
+
var css$s = {"body":"ne5mby","header":"fB5X3o","title":"S45MVw","removeButton":"MVb7I0","with-search":"jxjm-j","withSearch":"jxjm-j"};
|
|
4274
4292
|
|
|
4275
4293
|
function FilterColumnBody(props) {
|
|
4276
4294
|
const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
|
|
@@ -4331,7 +4349,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4331
4349
|
return columns;
|
|
4332
4350
|
};
|
|
4333
4351
|
|
|
4334
|
-
var css$r = {"unpin-icon":"
|
|
4352
|
+
var css$r = {"unpin-icon":"zyoH0i","unpinIcon":"zyoH0i","pin-toggler-icon":"NBbgDT","pinTogglerIcon":"NBbgDT"};
|
|
4335
4353
|
|
|
4336
4354
|
function PinIconButton(props) {
|
|
4337
4355
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4373,7 +4391,7 @@ function getUnpinIcon(params) {
|
|
|
4373
4391
|
}
|
|
4374
4392
|
}
|
|
4375
4393
|
|
|
4376
|
-
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"};
|
|
4377
4395
|
|
|
4378
4396
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4379
4397
|
const { column } = props;
|
|
@@ -4396,7 +4414,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4396
4414
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4397
4415
|
});
|
|
4398
4416
|
|
|
4399
|
-
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"};
|
|
4400
4418
|
|
|
4401
4419
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
|
|
4402
4420
|
React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
|
|
@@ -4498,7 +4516,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
4498
4516
|
return [children, rest];
|
|
4499
4517
|
};
|
|
4500
4518
|
|
|
4501
|
-
var css$o = {"listContainer":"
|
|
4519
|
+
var css$o = {"listContainer":"Pksu6m","header":"tLHg5d","group":"t3XNcd","stickyHeader":"ZL6ceL"};
|
|
4502
4520
|
|
|
4503
4521
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
4504
4522
|
const rowRef = React.useRef(undefined);
|
|
@@ -4538,7 +4556,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4538
4556
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
4539
4557
|
}
|
|
4540
4558
|
|
|
4541
|
-
var css$n = {"root":"
|
|
4559
|
+
var css$n = {"root":"vzDu5T","sticky-header":"Jg8ZBf","stickyHeader":"Jg8ZBf","no-results":"sMRC4I","noResults":"sMRC4I","icon":"K4JUj7","title":"gT4BoH"};
|
|
4542
4560
|
|
|
4543
4561
|
function DataTable(props) {
|
|
4544
4562
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -4587,7 +4605,7 @@ function DataTable(props) {
|
|
|
4587
4605
|
} }))));
|
|
4588
4606
|
}
|
|
4589
4607
|
|
|
4590
|
-
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"};
|
|
4591
4609
|
|
|
4592
4610
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4593
4611
|
const togglerPickerOpened = (e) => {
|
|
@@ -4811,7 +4829,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4811
4829
|
renderFooter()));
|
|
4812
4830
|
}
|
|
4813
4831
|
|
|
4814
|
-
var css$l = {"container":"
|
|
4832
|
+
var css$l = {"container":"FsAl-x"};
|
|
4815
4833
|
|
|
4816
4834
|
function FilterNumericBody(props) {
|
|
4817
4835
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -5122,7 +5140,7 @@ function FiltersToolbarImpl(props) {
|
|
|
5122
5140
|
}
|
|
5123
5141
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
5124
5142
|
|
|
5125
|
-
var css$k = {"delete-button":"
|
|
5143
|
+
var css$k = {"delete-button":"Ma02sJ","deleteButton":"Ma02sJ","tab-button":"dopetx","tabButton":"dopetx","targetOpen":"mDA3El"};
|
|
5126
5144
|
|
|
5127
5145
|
function PresetActionsDropdown(props) {
|
|
5128
5146
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -5194,7 +5212,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
|
5194
5212
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
5195
5213
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
5196
5214
|
|
|
5197
|
-
var css$j = {"preset-input-cell":"
|
|
5215
|
+
var css$j = {"preset-input-cell":"AWoI46","presetInputCell":"AWoI46","preset-input":"mNceoH","presetInput":"mNceoH"};
|
|
5198
5216
|
|
|
5199
5217
|
function PresetInput(props) {
|
|
5200
5218
|
const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
|
|
@@ -5221,7 +5239,7 @@ function PresetInput(props) {
|
|
|
5221
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 })));
|
|
5222
5240
|
}
|
|
5223
5241
|
|
|
5224
|
-
var css$i = {"preset":"
|
|
5242
|
+
var css$i = {"preset":"bT2mdB","activePreset":"UNZze6"};
|
|
5225
5243
|
|
|
5226
5244
|
function Preset(props) {
|
|
5227
5245
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -5246,7 +5264,7 @@ function Preset(props) {
|
|
|
5246
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 }))));
|
|
5247
5265
|
}
|
|
5248
5266
|
|
|
5249
|
-
var css$h = {"divider":"
|
|
5267
|
+
var css$h = {"divider":"AIZqyg","dropdownDeleteIcon":"yAytjt","presetsWrapper":"_2oSXGd","addPresetContainer":"-jg-yK","dropContainer":"QFDi5M"};
|
|
5250
5268
|
|
|
5251
5269
|
function PresetsPanel(props) {
|
|
5252
5270
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -5295,9 +5313,9 @@ function PresetsPanel(props) {
|
|
|
5295
5313
|
React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
|
|
5296
5314
|
}
|
|
5297
5315
|
|
|
5298
|
-
var css$g = {"root":"
|
|
5316
|
+
var css$g = {"root":"XPeNIn"};
|
|
5299
5317
|
|
|
5300
|
-
var css$f = {"root":"
|
|
5318
|
+
var css$f = {"root":"bVaeSu","burger-content":"DX5gnC","burgerContent":"DX5gnC"};
|
|
5301
5319
|
|
|
5302
5320
|
var _path$3;
|
|
5303
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); }
|
|
@@ -5340,7 +5358,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5340
5358
|
};
|
|
5341
5359
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5342
5360
|
|
|
5343
|
-
var css$e = {"root":"
|
|
5361
|
+
var css$e = {"root":"T5RI8N","button-primary":"iKfi3P","buttonPrimary":"iKfi3P","button-secondary":"Pm6w0C","buttonSecondary":"Pm6w0C","hasIcon":"emDqMr","dropdown":"bnDjM1"};
|
|
5344
5362
|
|
|
5345
5363
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5346
5364
|
css$e.root,
|
|
@@ -5351,13 +5369,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5351
5369
|
props.icon && css$e.hasIcon,
|
|
5352
5370
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5353
5371
|
|
|
5354
|
-
var css$d = {"search-input":"
|
|
5372
|
+
var css$d = {"search-input":"_3Y5bIp","searchInput":"_3Y5bIp"};
|
|
5355
5373
|
|
|
5356
5374
|
function BurgerSearch(props) {
|
|
5357
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 }));
|
|
5358
5376
|
}
|
|
5359
5377
|
|
|
5360
|
-
var css$c = {"root":"
|
|
5378
|
+
var css$c = {"root":"OAtxVY","group-header":"S0nRZu","groupHeader":"S0nRZu","group-name":"wR7zfh","groupName":"wR7zfh","line":"HgJfQ1"};
|
|
5361
5379
|
|
|
5362
5380
|
function BurgerGroupHeader(props) {
|
|
5363
5381
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5365,7 +5383,7 @@ function BurgerGroupHeader(props) {
|
|
|
5365
5383
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5366
5384
|
}
|
|
5367
5385
|
|
|
5368
|
-
var css$b = {"root":"
|
|
5386
|
+
var css$b = {"root":"N4P6v1","type-primary":"aawhak","typePrimary":"aawhak","type-secondary":"cLp4-d","typeSecondary":"cLp4-d"};
|
|
5369
5387
|
|
|
5370
5388
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5371
5389
|
const { type, ...clickableProps } = props;
|
|
@@ -5387,7 +5405,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5387
5405
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5388
5406
|
});
|
|
5389
5407
|
|
|
5390
|
-
var css$a = {"dropdown-body":"
|
|
5408
|
+
var css$a = {"dropdown-body":"tBBWJt","dropdownBody":"tBBWJt"};
|
|
5391
5409
|
|
|
5392
5410
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5393
5411
|
render() {
|
|
@@ -5446,12 +5464,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5446
5464
|
};
|
|
5447
5465
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5448
5466
|
|
|
5449
|
-
var css$9 = {"global-menu-btn":"
|
|
5467
|
+
var css$9 = {"global-menu-btn":"dj58lj","globalMenuBtn":"dj58lj","global-menu-icon":"_84GlLY","globalMenuIcon":"_84GlLY"};
|
|
5450
5468
|
|
|
5451
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 },
|
|
5452
5470
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5453
5471
|
|
|
5454
|
-
var css$8 = {"container":"
|
|
5472
|
+
var css$8 = {"container":"ud-1Er","open":"_9aNoOn","folding-arrow":"vTyY2r","foldingArrow":"vTyY2r"};
|
|
5455
5473
|
|
|
5456
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 },
|
|
5457
5475
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5459,15 +5477,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5459
5477
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5460
5478
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5461
5479
|
|
|
5462
|
-
var css$7 = {"search-input":"
|
|
5480
|
+
var css$7 = {"search-input":"chR8AE","searchInput":"chR8AE"};
|
|
5463
5481
|
|
|
5464
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 })) })));
|
|
5465
5483
|
|
|
5466
|
-
var css$6 = {"container":"
|
|
5484
|
+
var css$6 = {"container":"mbC3ly"};
|
|
5467
5485
|
|
|
5468
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 })));
|
|
5469
5487
|
|
|
5470
|
-
var css$5 = {"root":"
|
|
5488
|
+
var css$5 = {"root":"-cdzYu"};
|
|
5471
5489
|
|
|
5472
5490
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5473
5491
|
|
|
@@ -5525,7 +5543,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5525
5543
|
};
|
|
5526
5544
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5527
5545
|
|
|
5528
|
-
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"};
|
|
5529
5547
|
|
|
5530
5548
|
function DropSpot(props) {
|
|
5531
5549
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5543,7 +5561,7 @@ function DropSpot(props) {
|
|
|
5543
5561
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5544
5562
|
}
|
|
5545
5563
|
|
|
5546
|
-
var css$3 = {"root":"
|
|
5564
|
+
var css$3 = {"root":"Gv2uuf"};
|
|
5547
5565
|
|
|
5548
5566
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5549
5567
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5554,7 +5572,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
|
|
|
5554
5572
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5555
5573
|
});
|
|
5556
5574
|
|
|
5557
|
-
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"};
|
|
5558
5576
|
|
|
5559
5577
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5560
5578
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
@@ -5673,7 +5691,7 @@ const getErrorPageConfig = () => ({
|
|
|
5673
5691
|
},
|
|
5674
5692
|
});
|
|
5675
5693
|
|
|
5676
|
-
var css$1 = {"container":"
|
|
5694
|
+
var css$1 = {"container":"_8BprUX"};
|
|
5677
5695
|
|
|
5678
5696
|
const ErrorPage = (props) => {
|
|
5679
5697
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5685,7 +5703,7 @@ const ErrorPage = (props) => {
|
|
|
5685
5703
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5686
5704
|
};
|
|
5687
5705
|
|
|
5688
|
-
var css = {"recovery-spinner":"
|
|
5706
|
+
var css = {"recovery-spinner":"bT7tpN","recoverySpinner":"bT7tpN","recovery-message":"SPVDyq","recoveryMessage":"SPVDyq","modal-blocker":"EBwFr3","modalBlocker":"EBwFr3","modalFadeIn":"h1vvG7"};
|
|
5689
5707
|
|
|
5690
5708
|
function ErrorHandler(props) {
|
|
5691
5709
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|