@epam/uui 6.0.0 → 6.0.1-beta.1
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/datePickers/DatePicker.d.ts +3 -29
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts +3 -51
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +15 -2
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +2 -3
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/helpers.d.ts +1 -1
- package/components/datePickers/helpers.d.ts.map +1 -1
- package/components/datePickers/index.d.ts +0 -1
- package/components/datePickers/index.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +2 -33
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +1 -1
- package/components/tables/DataTable.d.ts +2 -2
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/types.d.ts +3 -2
- package/components/tables/types.d.ts.map +1 -1
- package/i18n.d.ts +1 -0
- package/i18n.d.ts.map +1 -1
- package/index.esm.js +141 -117
- package/index.esm.js.map +1 -1
- package/index.js +141 -117
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +19 -1
- package/styles.css +999 -999
- 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(#wkuhoocsqlheeetoq_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: "wkuhoo91mcogyv8n_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(#wkuhoo91mcogyv8n_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: "wkuhoocsqlheeetoq_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":"u11NVi","uui-spinner":"R-cLWz","uuiSpinner":"R-cLWz"};
|
|
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":"ahIYn5","loading-word":"qvtZqZ","loadingWord":"qvtZqZ","animated-loading":"_1W3tQ7","animatedLoading":"_1W3tQ7","skeleton_loading":"_556Nbo","skeletonLoading":"_556Nbo"};
|
|
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":"FN10Eu","line-height":"GhPpb7","lineHeight":"GhPpb7","font-size":"_0bnWlU","fontSize":"_0bnWlU"};
|
|
984
984
|
|
|
985
985
|
function applyTextMods(mods) {
|
|
986
986
|
return [
|
|
@@ -1490,7 +1490,7 @@ const settings = {
|
|
|
1490
1490
|
textInput: textInputSettings,
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
|
-
var css$1t = {"root":"
|
|
1493
|
+
var css$1t = {"root":"rocM7U"};
|
|
1494
1494
|
|
|
1495
1495
|
function applyButtonMods(mods) {
|
|
1496
1496
|
return [
|
|
@@ -1508,7 +1508,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
1508
1508
|
};
|
|
1509
1509
|
});
|
|
1510
1510
|
|
|
1511
|
-
var css$1s = {"root":"
|
|
1511
|
+
var css$1s = {"root":"DiuTrv"};
|
|
1512
1512
|
|
|
1513
1513
|
function applyIconButtonMods(props) {
|
|
1514
1514
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1s.root];
|
|
@@ -1545,7 +1545,7 @@ function getIconClass(props) {
|
|
|
1545
1545
|
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'];
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
|
-
var css$1r = {"root":"
|
|
1548
|
+
var css$1r = {"root":"FsmZ52"};
|
|
1549
1549
|
|
|
1550
1550
|
const DEFAULT_COLOR = 'primary';
|
|
1551
1551
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -1575,7 +1575,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1575
1575
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1576
1576
|
});
|
|
1577
1577
|
|
|
1578
|
-
var css$1q = {"root":"
|
|
1578
|
+
var css$1q = {"root":"A5kIzV"};
|
|
1579
1579
|
|
|
1580
1580
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1581
1581
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -1587,7 +1587,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1587
1587
|
]) }, props.caption));
|
|
1588
1588
|
});
|
|
1589
1589
|
|
|
1590
|
-
var css$1p = {"root":"
|
|
1590
|
+
var css$1p = {"root":"_0faW-l","withNotify":"y0zroR"};
|
|
1591
1591
|
|
|
1592
1592
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1593
1593
|
const styles = [
|
|
@@ -1615,14 +1615,14 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
1615
1615
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1616
1616
|
});
|
|
1617
1617
|
|
|
1618
|
-
var css$1o = {"root":"
|
|
1618
|
+
var css$1o = {"root":"NvUaxo"};
|
|
1619
1619
|
|
|
1620
1620
|
function applyVerticalTabButtonMods() {
|
|
1621
1621
|
return [css$1o.root, 'uui-vertical-tab-button'];
|
|
1622
1622
|
}
|
|
1623
1623
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
1624
1624
|
|
|
1625
|
-
var css$1n = {"root":"
|
|
1625
|
+
var css$1n = {"root":"IrJJdo"};
|
|
1626
1626
|
|
|
1627
1627
|
function applyCheckboxMods(mods) {
|
|
1628
1628
|
return [
|
|
@@ -1640,7 +1640,7 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1640
1640
|
};
|
|
1641
1641
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1642
1642
|
|
|
1643
|
-
var css$1m = {"root":"
|
|
1643
|
+
var css$1m = {"root":"dRR6tf"};
|
|
1644
1644
|
|
|
1645
1645
|
function applyRadioInputMods(mods) {
|
|
1646
1646
|
return [
|
|
@@ -1652,7 +1652,7 @@ function applyRadioInputMods(mods) {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1654
1654
|
|
|
1655
|
-
var css$1l = {"root":"
|
|
1655
|
+
var css$1l = {"root":"kHRdGq"};
|
|
1656
1656
|
|
|
1657
1657
|
function applySwitchMods(mods) {
|
|
1658
1658
|
return [
|
|
@@ -1676,7 +1676,7 @@ var EditMode;
|
|
|
1676
1676
|
EditMode["INLINE"] = "inline";
|
|
1677
1677
|
})(EditMode || (EditMode = {}));
|
|
1678
1678
|
|
|
1679
|
-
var textInputCss = {"root":"
|
|
1679
|
+
var textInputCss = {"root":"_6L33pX"};
|
|
1680
1680
|
|
|
1681
1681
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1682
1682
|
function applyTextInputMods(mods) {
|
|
@@ -1701,7 +1701,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
1701
1701
|
} }));
|
|
1702
1702
|
});
|
|
1703
1703
|
|
|
1704
|
-
var css$1k = {"root":"
|
|
1704
|
+
var css$1k = {"root":"JCur7P"};
|
|
1705
1705
|
|
|
1706
1706
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1k.root, 'uui-control-group']);
|
|
1707
1707
|
|
|
@@ -1717,7 +1717,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
1719
1719
|
|
|
1720
|
-
var css$1j = {"root":"
|
|
1720
|
+
var css$1j = {"root":"GVQwhM"};
|
|
1721
1721
|
|
|
1722
1722
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1723
1723
|
function applyNumericInputMods(mods) {
|
|
@@ -1737,7 +1737,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
1737
1737
|
};
|
|
1738
1738
|
});
|
|
1739
1739
|
|
|
1740
|
-
var css$1i = {"root":"
|
|
1740
|
+
var css$1i = {"root":"PHmWU3"};
|
|
1741
1741
|
|
|
1742
1742
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1743
1743
|
function applyTextAreaMods(mods) {
|
|
@@ -1778,7 +1778,7 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1778
1778
|
};
|
|
1779
1779
|
}
|
|
1780
1780
|
|
|
1781
|
-
var css$1h = {"root":"
|
|
1781
|
+
var css$1h = {"root":"aar-le"};
|
|
1782
1782
|
|
|
1783
1783
|
function applyDropdownContainerMods(mods) {
|
|
1784
1784
|
return [
|
|
@@ -1789,7 +1789,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1791
1791
|
|
|
1792
|
-
var css$1g = {"root":"
|
|
1792
|
+
var css$1g = {"root":"hRiRs-","timepicker-input":"_3Nnth-","timepickerInput":"_3Nnth-","ltr-always":"A6w9wR","ltrAlways":"A6w9wR"};
|
|
1793
1793
|
|
|
1794
1794
|
const uuiTimePicker = {
|
|
1795
1795
|
container: 'uui-timepicker-container',
|
|
@@ -1983,7 +1983,7 @@ function TimePickerComponent(props, ref) {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
|
|
1985
1985
|
|
|
1986
|
-
var css$1f = {"root":"
|
|
1986
|
+
var css$1f = {"root":"ITvrxb"};
|
|
1987
1987
|
|
|
1988
1988
|
function applyInputAddonMods() {
|
|
1989
1989
|
return [
|
|
@@ -1992,14 +1992,14 @@ function applyInputAddonMods() {
|
|
|
1992
1992
|
}
|
|
1993
1993
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
1994
1994
|
|
|
1995
|
-
var css$1e = {"root":"
|
|
1995
|
+
var css$1e = {"root":"Z56Aid"};
|
|
1996
1996
|
|
|
1997
1997
|
function applySliderMods() {
|
|
1998
1998
|
return [css$1e.root, 'uui-color-neutral'];
|
|
1999
1999
|
}
|
|
2000
2000
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2001
2001
|
|
|
2002
|
-
var css$1d = {"root":"
|
|
2002
|
+
var css$1d = {"root":"_0Kg3Da"};
|
|
2003
2003
|
|
|
2004
2004
|
function applyTooltipMods(mods) {
|
|
2005
2005
|
return [
|
|
@@ -2009,7 +2009,7 @@ function applyTooltipMods(mods) {
|
|
|
2009
2009
|
}
|
|
2010
2010
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
2011
2011
|
|
|
2012
|
-
var css$1c = {"root":"
|
|
2012
|
+
var css$1c = {"root":"WEG4pK","tooltip":"NYtv2d"};
|
|
2013
2013
|
|
|
2014
2014
|
function applyRatingMods(mods) {
|
|
2015
2015
|
return [
|
|
@@ -2023,7 +2023,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
|
|
|
2023
2023
|
Tooltip,
|
|
2024
2024
|
}));
|
|
2025
2025
|
|
|
2026
|
-
var css$1b = {"root":"
|
|
2026
|
+
var css$1b = {"root":"T2cQ0T","main-path":"Y2yyWI","mainPath":"Y2yyWI","content-wrapper":"VIkKcF","contentWrapper":"VIkKcF","content":"jfubfs","action-wrapper":"_1R4tr8","actionWrapper":"_1R4tr8","icon-wrapper":"XQ3QsL","iconWrapper":"XQ3QsL","icon":"oI7uuJ","close-icon":"RYr1AW","closeIcon":"RYr1AW"};
|
|
2027
2027
|
|
|
2028
2028
|
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1b.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
2029
2029
|
React__namespace.createElement("div", { className: css$1b.mainPath },
|
|
@@ -2041,7 +2041,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
2041
2041
|
|
|
2042
2042
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
2043
2043
|
|
|
2044
|
-
var css$1a = {"submenu-root-item-rtl":"
|
|
2044
|
+
var css$1a = {"submenu-root-item-rtl":"Eq-7HC","submenuRootItemRtl":"Eq-7HC","icon-after":"M4rh-6","iconAfter":"M4rh-6","submenu-root-item":"_2C8RHA","submenuRootItem":"_2C8RHA","icon-check":"-KG20H","iconCheck":"-KG20H","splitter-root":"_93-jQF","splitterRoot":"_93-jQF","splitter":"K-nxld","header-root":"FpCxfA","headerRoot":"FpCxfA","item-root":"FQYiSq","itemRoot":"FQYiSq","icon":"fOPRMm","link":"O0DP-9","indent":"p6UcDK","selected-mark":"BrIPcl","selectedMark":"BrIPcl"};
|
|
2045
2045
|
|
|
2046
2046
|
exports.IDropdownControlKeys = void 0;
|
|
2047
2047
|
(function (IDropdownControlKeys) {
|
|
@@ -2166,7 +2166,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
2166
2166
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2167
2167
|
}
|
|
2168
2168
|
|
|
2169
|
-
var css$19 = {"root":"
|
|
2169
|
+
var css$19 = {"root":"BY5IKS","mode-block":"Y6CuDb","modeBlock":"Y6CuDb","mode-inline":"_1nlyhu","modeInline":"_1nlyhu","padding-0":"wdFkg2","padding0":"wdFkg2","padding-6":"UL2Ced","padding6":"UL2Ced","padding-12":"uMjhbC","padding12":"uMjhbC","padding-18":"KqMx7I","padding18":"KqMx7I"};
|
|
2170
2170
|
|
|
2171
2171
|
function applyAccordionMods(mods) {
|
|
2172
2172
|
return [
|
|
@@ -2179,7 +2179,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
2179
2179
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2180
2180
|
}));
|
|
2181
2181
|
|
|
2182
|
-
var css$18 = {"root":"
|
|
2182
|
+
var css$18 = {"root":"YdtLwh","align-items":"R79cWS","alignItems":"R79cWS","justify-content":"_04MQ4h","justifyContent":"_04MQ4h","border-top":"yivvhx","borderTop":"yivvhx","border-bottom":"pyIP00","borderBottom":"pyIP00","top-shadow":"_7NKzpr","topShadow":"_7NKzpr","padding":"pTXqKz","margin":"RcGmte","vPadding":"XWeBih","column-gap":"mX6l6v","columnGap":"mX6l6v","row-gap":"PZk2op","rowGap":"PZk2op","spacing":"VahjoL"};
|
|
2183
2183
|
|
|
2184
2184
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$18.flexCell]);
|
|
2185
2185
|
|
|
@@ -2231,7 +2231,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2231
2231
|
} }, props.children));
|
|
2232
2232
|
});
|
|
2233
2233
|
|
|
2234
|
-
var css$17 = {"root":"
|
|
2234
|
+
var css$17 = {"root":"_6qajQ-","margin-24":"TF1pQm","margin24":"TF1pQm","padding-12":"za4y8b","padding12":"za4y8b","padding-24":"JZma7K","padding24":"JZma7K","shadow":"DV5cT8","uui-surface-main":"LyH7hY","uuiSurfaceMain":"LyH7hY"};
|
|
2235
2235
|
|
|
2236
2236
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
2237
2237
|
'uui-panel',
|
|
@@ -2241,7 +2241,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
2241
2241
|
props.background && css$17[`uui-${props.background}`],
|
|
2242
2242
|
]);
|
|
2243
2243
|
|
|
2244
|
-
var css$16 = {"root":"
|
|
2244
|
+
var css$16 = {"root":"iFrltu"};
|
|
2245
2245
|
|
|
2246
2246
|
function applyLabeledInputMods(mods) {
|
|
2247
2247
|
return [
|
|
@@ -2258,7 +2258,7 @@ function applyLabeledInputProps(props) {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2260
2260
|
|
|
2261
|
-
var css$15 = {"root":"
|
|
2261
|
+
var css$15 = {"root":"f-CCAS"};
|
|
2262
2262
|
|
|
2263
2263
|
function RadioGroup(props) {
|
|
2264
2264
|
const direction = props.direction || 'vertical';
|
|
@@ -2273,7 +2273,7 @@ function RadioGroup(props) {
|
|
|
2273
2273
|
})));
|
|
2274
2274
|
}
|
|
2275
2275
|
|
|
2276
|
-
var css$14 = {"root":"
|
|
2276
|
+
var css$14 = {"root":"Ctstj6"};
|
|
2277
2277
|
|
|
2278
2278
|
function applyScrollBarsMods() {
|
|
2279
2279
|
return [
|
|
@@ -2282,9 +2282,9 @@ function applyScrollBarsMods() {
|
|
|
2282
2282
|
}
|
|
2283
2283
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
2284
2284
|
|
|
2285
|
-
var css$13 = {"scroll-container":"
|
|
2285
|
+
var css$13 = {"scroll-container":"kaEoGK","scrollContainer":"kaEoGK","list-container":"_9aKyU5","listContainer":"_9aKyU5"};
|
|
2286
2286
|
|
|
2287
|
-
var css$12 = {"root":"
|
|
2287
|
+
var css$12 = {"root":"BNWKG4"};
|
|
2288
2288
|
|
|
2289
2289
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$12.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
2290
2290
|
|
|
@@ -2330,7 +2330,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
2330
2330
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2331
2331
|
});
|
|
2332
2332
|
|
|
2333
|
-
var css$11 = {"root":"
|
|
2333
|
+
var css$11 = {"root":"XEFF2e"};
|
|
2334
2334
|
|
|
2335
2335
|
function CheckboxGroup(props) {
|
|
2336
2336
|
const currentValue = props.value || [];
|
|
@@ -2352,7 +2352,7 @@ function CheckboxGroup(props) {
|
|
|
2352
2352
|
})));
|
|
2353
2353
|
}
|
|
2354
2354
|
|
|
2355
|
-
var css$10 = {"root":"
|
|
2355
|
+
var css$10 = {"root":"IjKiuB","modal-blocker":"domSVJ","modalBlocker":"domSVJ","animateModalBlocker":"_6KbcaA","modal":"_4c5aPe","modal-footer":"tJ-HKB","modalFooter":"tJ-HKB","border-top":"hJGVku","borderTop":"hJGVku","modal-header":"mmMQ-j","modalHeader":"mmMQ-j","border-bottom":"sbN9s9","borderBottom":"sbN9s9"};
|
|
2356
2356
|
|
|
2357
2357
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$10.modalBlocker]);
|
|
2358
2358
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$10.root, css$10.modal], (props) => {
|
|
@@ -2475,6 +2475,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2475
2475
|
emptyPickerPlaceholder: 'Select period',
|
|
2476
2476
|
emptyPlaceholderFrom: 'Select From',
|
|
2477
2477
|
emptyPlaceholderTo: 'Select To',
|
|
2478
|
+
clearCaption: 'CLEAR',
|
|
2478
2479
|
},
|
|
2479
2480
|
pickerInput: {
|
|
2480
2481
|
itemsPlaceholder: 'items',
|
|
@@ -2542,7 +2543,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2542
2543
|
});
|
|
2543
2544
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2544
2545
|
|
|
2545
|
-
var css$$ = {"root":"
|
|
2546
|
+
var css$$ = {"root":"kwm2v2","icon-wrapper":"Jp111k","iconWrapper":"Jp111k","action-wrapper":"qEOj2H","actionWrapper":"qEOj2H","close-icon":"LJ3dFD","closeIcon":"LJ3dFD","main-path":"NFiI4k","mainPath":"NFiI4k","content":"_8flcGX","close-wrapper":"VAY6aS","closeWrapper":"VAY6aS","clear-notifications":"oS4PTj","clearNotifications":"oS4PTj"};
|
|
2546
2547
|
|
|
2547
2548
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2548
2549
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -2575,7 +2576,7 @@ function ClearNotification() {
|
|
|
2575
2576
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2576
2577
|
}
|
|
2577
2578
|
|
|
2578
|
-
var css$_ = {"footer":"
|
|
2579
|
+
var css$_ = {"footer":"tZJi0j"};
|
|
2579
2580
|
|
|
2580
2581
|
class ConfirmationModal extends React__namespace.Component {
|
|
2581
2582
|
render() {
|
|
@@ -2617,7 +2618,7 @@ function useReliableForceUpdate() {
|
|
|
2617
2618
|
return red[1];
|
|
2618
2619
|
}
|
|
2619
2620
|
|
|
2620
|
-
var css$Z = {"root":"
|
|
2621
|
+
var css$Z = {"root":"A33gGm","container":"JYlXn2"};
|
|
2621
2622
|
|
|
2622
2623
|
const defaultFormat = 'MMM D, YYYY';
|
|
2623
2624
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2828,14 +2829,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2828
2829
|
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2829
2830
|
}
|
|
2830
2831
|
|
|
2831
|
-
var css$Y = {"root":"
|
|
2832
|
+
var css$Y = {"root":"_7b92IA"};
|
|
2832
2833
|
|
|
2833
2834
|
function applyDateSelectionMods() {
|
|
2834
2835
|
return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2835
2836
|
}
|
|
2836
2837
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2837
2838
|
|
|
2838
|
-
var css$X = {"root":"
|
|
2839
|
+
var css$X = {"root":"I8y-hg"};
|
|
2839
2840
|
|
|
2840
2841
|
const uuiDatePickerBody = {
|
|
2841
2842
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2920,8 +2921,9 @@ function DatePickerComponent(props, ref) {
|
|
|
2920
2921
|
onValueChange(toValueDateFormat(inputValue, format));
|
|
2921
2922
|
}
|
|
2922
2923
|
else {
|
|
2923
|
-
|
|
2924
|
-
|
|
2924
|
+
const newValue = props.preventEmpty ? value : null;
|
|
2925
|
+
setInputValue(toCustomDateFormat(newValue, format));
|
|
2926
|
+
onValueChange(newValue);
|
|
2925
2927
|
}
|
|
2926
2928
|
};
|
|
2927
2929
|
const onInputKeyDown = (e) => {
|
|
@@ -2931,7 +2933,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2931
2933
|
}
|
|
2932
2934
|
};
|
|
2933
2935
|
const renderInput = (renderProps) => {
|
|
2934
|
-
const allowClear = !props.disableClear && !!inputValue;
|
|
2936
|
+
const allowClear = !props.disableClear && !!inputValue && !props.preventEmpty;
|
|
2935
2937
|
return (React__namespace.default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL ? settings.datePicker.icons.input.calendarIcon : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2936
2938
|
setInputValue(v || '');
|
|
2937
2939
|
}, onCancel: allowClear ? () => {
|
|
@@ -2955,9 +2957,9 @@ function DatePickerComponent(props, ref) {
|
|
|
2955
2957
|
}
|
|
2956
2958
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2957
2959
|
|
|
2958
|
-
var css$W = {"date-input":"
|
|
2960
|
+
var css$W = {"date-input":"wg-tXg","dateInput":"wg-tXg","root":"CegHXx","separator":"D-r-Zo"};
|
|
2959
2961
|
|
|
2960
|
-
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2962
|
+
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) => {
|
|
2961
2963
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
2962
2964
|
React.useEffect(() => {
|
|
2963
2965
|
setInputValue(toCustomDateRangeFormat(value, format));
|
|
@@ -2973,20 +2975,29 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2973
2975
|
};
|
|
2974
2976
|
const handleBlur = (event, inputType) => {
|
|
2975
2977
|
onBlurInput?.(event, inputType);
|
|
2978
|
+
const canBeEmpty = {
|
|
2979
|
+
from: !preventEmptyFromDate,
|
|
2980
|
+
to: !preventEmptyToDate,
|
|
2981
|
+
};
|
|
2976
2982
|
const selectedDate = toValueDateRangeFormat(inputValue, format);
|
|
2983
|
+
// If new value is null and input can't be empty, set the value to the last selected value
|
|
2984
|
+
if (selectedDate[inputType] === null && !canBeEmpty[inputType]) {
|
|
2985
|
+
selectedDate[inputType] = value[inputType];
|
|
2986
|
+
}
|
|
2977
2987
|
const isDateDisabled = filter?.(uuiDayjs.dayjs(selectedDate[inputType])) === false;
|
|
2978
2988
|
if (isValidRange(selectedDate) && !isDateDisabled) {
|
|
2979
2989
|
setInputValue(toCustomDateRangeFormat(selectedDate, format));
|
|
2980
2990
|
onValueChange(selectedDate);
|
|
2981
2991
|
}
|
|
2982
2992
|
else {
|
|
2993
|
+
const newValue = !canBeEmpty[inputType] ? value[inputType] : null;
|
|
2983
2994
|
setInputValue({
|
|
2984
2995
|
...inputValue,
|
|
2985
|
-
[inputType]:
|
|
2996
|
+
[inputType]: newValue,
|
|
2986
2997
|
});
|
|
2987
2998
|
onValueChange({
|
|
2988
2999
|
...selectedDate,
|
|
2989
|
-
[inputType]:
|
|
3000
|
+
[inputType]: newValue,
|
|
2990
3001
|
});
|
|
2991
3002
|
}
|
|
2992
3003
|
};
|
|
@@ -2996,18 +3007,23 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2996
3007
|
e.preventDefault();
|
|
2997
3008
|
}
|
|
2998
3009
|
};
|
|
2999
|
-
const
|
|
3010
|
+
const onClear = () => {
|
|
3011
|
+
const newValue = {
|
|
3012
|
+
from: preventEmptyFromDate ? value.from : null,
|
|
3013
|
+
to: preventEmptyToDate ? value.to : null,
|
|
3014
|
+
};
|
|
3015
|
+
onValueChange(newValue);
|
|
3016
|
+
};
|
|
3017
|
+
const clearAllowed = !disableClear && !(preventEmptyFromDate && preventEmptyToDate) && inputValue.from && inputValue.to;
|
|
3000
3018
|
return (
|
|
3001
3019
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
3002
3020
|
React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(`uui-size-${size || settings.rangeDatePicker.sizes.default}`, 'uui-range-date-picker', classes, css$W.root, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onKeyDown: onKeyDown },
|
|
3003
3021
|
React__namespace.default.createElement(TextInput, { icon: settings.rangeDatePicker.icons.input.calendarIcon, cx: uuiCore.cx(css$W.dateInput, inFocus === 'from' && uuiCore.uuiMod.focus), size: size || settings.rangeDatePicker.sizes.default, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.from, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
3004
3022
|
React__namespace.default.createElement("div", { className: css$W.separator }),
|
|
3005
|
-
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 ? () =>
|
|
3006
|
-
onValueChange(defaultRangeValue);
|
|
3007
|
-
} : 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 })));
|
|
3023
|
+
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 })));
|
|
3008
3024
|
});
|
|
3009
3025
|
|
|
3010
|
-
var css$V = {"root":"
|
|
3026
|
+
var css$V = {"root":"x5LB50"};
|
|
3011
3027
|
|
|
3012
3028
|
const uuiPresets = {
|
|
3013
3029
|
container: 'uui-presets-container',
|
|
@@ -3027,7 +3043,7 @@ function CalendarPresets(props) {
|
|
|
3027
3043
|
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
3028
3044
|
}
|
|
3029
3045
|
|
|
3030
|
-
var css$U = {"root":"
|
|
3046
|
+
var css$U = {"root":"Yw2O4t","container":"UWV47C","day-selection":"wRMZ9t","daySelection":"wRMZ9t","from-picker":"NW5myj","fromPicker":"NW5myj","to-picker":"uMMjjW","toPicker":"uMMjjW","bodes-wrapper":"YgtnA7","bodesWrapper":"YgtnA7","blocker":"thZc4w"};
|
|
3031
3047
|
|
|
3032
3048
|
const uuiRangeDatePickerBody = {
|
|
3033
3049
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3202,7 +3218,7 @@ const getDayCX = (day, selectedDate) => {
|
|
|
3202
3218
|
return [cx__default.default(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiComponents.uuiDaySelection.selectedDay)];
|
|
3203
3219
|
};
|
|
3204
3220
|
|
|
3205
|
-
var css$T = {"dropdown-container":"
|
|
3221
|
+
var css$T = {"dropdown-container":"Wxgdfq","dropdownContainer":"Wxgdfq"};
|
|
3206
3222
|
|
|
3207
3223
|
function RangeDatePickerComponent(props, ref) {
|
|
3208
3224
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
@@ -3265,12 +3281,12 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3265
3281
|
return props.renderTarget?.(renderProps) || (React__namespace.default.createElement(RangeDatePickerInput, { id: props.id, ref: (node) => { renderProps.ref(node); targetRef.current = node; }, cx: props.inputCx, onClick: () => renderProps.toggleDropdownOpening(true), isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, filter: props.filter, onValueChange: onValueChange, onFocusInput: (e, type) => {
|
|
3266
3282
|
props.onFocus?.(e, type);
|
|
3267
3283
|
setInFocus(type);
|
|
3268
|
-
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape }));
|
|
3284
|
+
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape, preventEmptyFromDate: props.preventEmptyFromDate, preventEmptyToDate: props.preventEmptyToDate }));
|
|
3269
3285
|
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen, middleware: [react.offset(6)], placement: props.placement, ref: ref }));
|
|
3270
3286
|
}
|
|
3271
3287
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3272
3288
|
|
|
3273
|
-
var css$S = {"root":"
|
|
3289
|
+
var css$S = {"root":"wZno3s","blocker":"AeMzZd","marker":"_8-ByaD","top":"RYhILx","bottom":"mJS9NN","left":"rrriNi","right":"_5Rit2O","inside":"oe2mhA"};
|
|
3274
3290
|
|
|
3275
3291
|
function DropMarker(props) {
|
|
3276
3292
|
return props.isDndInProgress
|
|
@@ -3287,15 +3303,15 @@ function DropMarker(props) {
|
|
|
3287
3303
|
|
|
3288
3304
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3289
3305
|
|
|
3290
|
-
var css$R = {"search-wrapper":"
|
|
3306
|
+
var css$R = {"search-wrapper":"aQt0eZ","searchWrapper":"aQt0eZ","no-data":"tkhqwr","noData":"tkhqwr"};
|
|
3291
3307
|
|
|
3292
|
-
var css$Q = {"picker-row":"
|
|
3308
|
+
var css$Q = {"picker-row":"jd4k7d","pickerRow":"jd4k7d","align-widgets-top":"ZWlCK5","alignWidgetsTop":"ZWlCK5","row-content":"AisV2o","rowContent":"AisV2o","align-widgets-center":"hUbQwp","alignWidgetsCenter":"hUbQwp","icon-container":"_8d3Wh3","iconContainer":"_8d3Wh3","content-wrapper":"PGWERX","contentWrapper":"PGWERX","icon-wrapper":"rVZ-eu","iconWrapper":"rVZ-eu","icon-default":"vtYvxK","iconDefault":"vtYvxK","selected-mark":"iVjR7R","selectedMark":"iVjR7R"};
|
|
3293
3309
|
|
|
3294
|
-
var css$P = {"root":"
|
|
3310
|
+
var css$P = {"root":"xzCUh-"};
|
|
3295
3311
|
|
|
3296
3312
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
|
|
3297
3313
|
|
|
3298
|
-
var css$O = {"root":"
|
|
3314
|
+
var css$O = {"root":"_9ZcLY7"};
|
|
3299
3315
|
|
|
3300
3316
|
const DEFAULT_FILL = 'solid';
|
|
3301
3317
|
function applyBadgeMods(mods) {
|
|
@@ -3323,7 +3339,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
3323
3339
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3324
3340
|
});
|
|
3325
3341
|
|
|
3326
|
-
var css$N = {"root":"
|
|
3342
|
+
var css$N = {"root":"Ea26W9"};
|
|
3327
3343
|
|
|
3328
3344
|
function applyTagMods(props) {
|
|
3329
3345
|
return [
|
|
@@ -3351,7 +3367,7 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
3351
3367
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3352
3368
|
});
|
|
3353
3369
|
|
|
3354
|
-
var css$M = {"root":"
|
|
3370
|
+
var css$M = {"root":"_5eIAea","page":"nvESQq","spacer":"rJnnkL","mode-ghost":"EWsZTQ","modeGhost":"EWsZTQ"};
|
|
3355
3371
|
|
|
3356
3372
|
function Paginator(props) {
|
|
3357
3373
|
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 },
|
|
@@ -3368,14 +3384,14 @@ function Paginator(props) {
|
|
|
3368
3384
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
3369
3385
|
}
|
|
3370
3386
|
|
|
3371
|
-
var css$L = {"root":"
|
|
3387
|
+
var css$L = {"root":"DKZ1TY","progress-bar":"Jh3WNs","progressBar":"Jh3WNs","progressBar-indeterminate":"ftyna-","progressBarIndeterminate":"ftyna-","size-12":"VzYGC9","size12":"VzYGC9","size-18":"_4hYR6e","size18":"_4hYR6e","size-24":"hL6Urj","size24":"hL6Urj"};
|
|
3372
3388
|
|
|
3373
3389
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3374
3390
|
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}`]) },
|
|
3375
3391
|
React__namespace.createElement("div", { className: cx__default.default(css$L.progressBar) })));
|
|
3376
3392
|
});
|
|
3377
3393
|
|
|
3378
|
-
var css$K = {"root":"
|
|
3394
|
+
var css$K = {"root":"nWACS0","striped":"VIzmR3","animate-stripes":"eGWuoX","animateStripes":"eGWuoX","size-12":"IQZ1oe","size12":"IQZ1oe","size-18":"aTSuQe","size18":"aTSuQe","size-24":"hDy8Sk","size24":"hDy8Sk"};
|
|
3379
3395
|
|
|
3380
3396
|
const DEFAULT_SIZE = '12';
|
|
3381
3397
|
function applyProgressBarMods(mods) {
|
|
@@ -3390,14 +3406,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
3390
3406
|
hideLabel: props.hideLabel || props.striped,
|
|
3391
3407
|
}));
|
|
3392
3408
|
|
|
3393
|
-
var css$J = {"root":"
|
|
3409
|
+
var css$J = {"root":"EbKKyI"};
|
|
3394
3410
|
|
|
3395
3411
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3396
3412
|
const { progress } = props;
|
|
3397
3413
|
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) }));
|
|
3398
3414
|
});
|
|
3399
3415
|
|
|
3400
|
-
var css$I = {"root":"
|
|
3416
|
+
var css$I = {"root":"en0iTn"};
|
|
3401
3417
|
|
|
3402
3418
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3403
3419
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -3412,7 +3428,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3412
3428
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3413
3429
|
});
|
|
3414
3430
|
|
|
3415
|
-
var css$H = {"drag-handle":"
|
|
3431
|
+
var css$H = {"drag-handle":"_48tn8D","dragHandle":"_48tn8D","icon-container":"q1LyFm","iconContainer":"q1LyFm"};
|
|
3416
3432
|
|
|
3417
3433
|
function DataRowAddons(props) {
|
|
3418
3434
|
const row = props.rowProps;
|
|
@@ -3498,7 +3514,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3498
3514
|
return getDecoratedText(str, ranges);
|
|
3499
3515
|
};
|
|
3500
3516
|
|
|
3501
|
-
var css$G = {"root":"
|
|
3517
|
+
var css$G = {"root":"uIgcmo","column-gap":"vmj4VI","columnGap":"vmj4VI","title":"OUq7QR","subtitle":"mFUW9c","disabled":"f7t1xg","multiline":"y-WKtd"};
|
|
3502
3518
|
|
|
3503
3519
|
function PickerItem(props) {
|
|
3504
3520
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3671,7 +3687,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3671
3687
|
}
|
|
3672
3688
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
3673
3689
|
|
|
3674
|
-
var css$F = {"header":"
|
|
3690
|
+
var css$F = {"header":"XAgdnu","title":"EJtpeq","close":"ECakCG"};
|
|
3675
3691
|
|
|
3676
3692
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
3677
3693
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -3681,7 +3697,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
3681
3697
|
};
|
|
3682
3698
|
const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
|
|
3683
3699
|
|
|
3684
|
-
var css$E = {"done":"
|
|
3700
|
+
var css$E = {"done":"m2nZ3-","container":"_7LqTrP"};
|
|
3685
3701
|
|
|
3686
3702
|
const PickerBodyMobileView = (props) => {
|
|
3687
3703
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -3693,7 +3709,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
3693
3709
|
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
3694
3710
|
};
|
|
3695
3711
|
|
|
3696
|
-
var css$D = {"sub-header-wrapper":"
|
|
3712
|
+
var css$D = {"sub-header-wrapper":"_3HlL7l","subHeaderWrapper":"_3HlL7l","switch":"Iecjxn","no-found-modal-container":"EWjdkw","noFoundModalContainer":"EWjdkw","no-found-modal-container-icon":"dyBKYN","noFoundModalContainerIcon":"dyBKYN","no-found-modal-container-text":"fQyLwc","noFoundModalContainerText":"fQyLwc","body":"VwgfOs"};
|
|
3697
3713
|
|
|
3698
3714
|
function PickerModal(props) {
|
|
3699
3715
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -3735,7 +3751,7 @@ function PickerModal(props) {
|
|
|
3735
3751
|
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3736
3752
|
}
|
|
3737
3753
|
|
|
3738
|
-
var css$C = {"tooltip":"
|
|
3754
|
+
var css$C = {"tooltip":"MH1Nvc"};
|
|
3739
3755
|
|
|
3740
3756
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3741
3757
|
const tagProps = {
|
|
@@ -3754,7 +3770,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3754
3770
|
}
|
|
3755
3771
|
});
|
|
3756
3772
|
|
|
3757
|
-
var css$B = {"root":"
|
|
3773
|
+
var css$B = {"root":"v-eQPG"};
|
|
3758
3774
|
|
|
3759
3775
|
const defaultMode = EditMode.FORM;
|
|
3760
3776
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3836,7 +3852,7 @@ function PickerInputComponent(props, ref) {
|
|
|
3836
3852
|
}
|
|
3837
3853
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3838
3854
|
|
|
3839
|
-
var css$A = {"row":"
|
|
3855
|
+
var css$A = {"row":"wXIP3j"};
|
|
3840
3856
|
|
|
3841
3857
|
function PickerListRow(props) {
|
|
3842
3858
|
let label;
|
|
@@ -3856,7 +3872,7 @@ function PickerListRow(props) {
|
|
|
3856
3872
|
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));
|
|
3857
3873
|
}
|
|
3858
3874
|
|
|
3859
|
-
var css$z = {"root":"
|
|
3875
|
+
var css$z = {"root":"bz--aU"};
|
|
3860
3876
|
|
|
3861
3877
|
function PickerList(props) {
|
|
3862
3878
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3891,7 +3907,7 @@ function PickerList(props) {
|
|
|
3891
3907
|
}, selectedRows)));
|
|
3892
3908
|
}
|
|
3893
3909
|
|
|
3894
|
-
var css$y = {"root":"
|
|
3910
|
+
var css$y = {"root":"ZZUnZv","wrapper":"mDuop8","align-widgets-top":"y-E5EJ","alignWidgetsTop":"y-E5EJ","align-widgets-center":"qle7fR","alignWidgetsCenter":"qle7fR"};
|
|
3895
3911
|
|
|
3896
3912
|
function DataTableCell(initialProps) {
|
|
3897
3913
|
const props = { ...initialProps };
|
|
@@ -3941,7 +3957,7 @@ function DataTableCell(initialProps) {
|
|
|
3941
3957
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
3942
3958
|
}
|
|
3943
3959
|
|
|
3944
|
-
var css$x = {"root":"
|
|
3960
|
+
var css$x = {"root":"F4Y-Jx"};
|
|
3945
3961
|
|
|
3946
3962
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3947
3963
|
// 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.
|
|
@@ -3957,7 +3973,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
3957
3973
|
];
|
|
3958
3974
|
}, () => propsMods);
|
|
3959
3975
|
|
|
3960
|
-
var css$w = {"sorting-panel-container":"
|
|
3976
|
+
var css$w = {"sorting-panel-container":"T96gpt","sortingPanelContainer":"T96gpt"};
|
|
3961
3977
|
|
|
3962
3978
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
3963
3979
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -3977,7 +3993,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3977
3993
|
};
|
|
3978
3994
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3979
3995
|
|
|
3980
|
-
var css$v = {"root":"
|
|
3996
|
+
var css$v = {"root":"yH6lF-","caption-wrapper":"r84R1l","captionWrapper":"r84R1l","sort-icon":"hj4oBp","sortIcon":"hj4oBp","dropdown-icon":"kNuZ8m","dropdownIcon":"kNuZ8m","infoIcon":"o2j18q","align-right":"BkObI7","alignRight":"BkObI7","align-center":"PjUtdq","alignCenter":"PjUtdq","caption":"bKaerx","truncate":"_--OJWR","upper-case":"Mbolyn","upperCase":"Mbolyn","checkbox":"_3-iAhH","icon":"_8KkvdN","fold-all-icon":"_7qnzVU","foldAllIcon":"_7qnzVU","cell-tooltip":"Ae1wUU","cellTooltip":"Ae1wUU","resizing-marker":"_9wb8iD","resizingMarker":"_9wb8iD","pinned-right":"H14G-Q","pinnedRight":"H14G-Q","draggable":"y96s-i","ghost":"QqcZq5","is-dragged-out":"_2dK1gD","isDraggedOut":"_2dK1gD","dnd-marker-left":"_9zHubJ","dndMarkerLeft":"_9zHubJ","dnd-marker-right":"l9n-AF","dndMarkerRight":"l9n-AF","cell-tooltip-wrapper":"xLYxe5","cellTooltipWrapper":"xLYxe5","cell-tooltip-text":"TZ-gjC","cellTooltipText":"TZ-gjC","tooltip-caption":"qsduyB","tooltipCaption":"qsduyB","tooltip-info":"OUE8gs","tooltipInfo":"OUE8gs"};
|
|
3981
3997
|
|
|
3982
3998
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
3983
3999
|
constructor() {
|
|
@@ -4051,7 +4067,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4051
4067
|
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
4052
4068
|
props.ref(ref);
|
|
4053
4069
|
dropdownProps?.ref?.(ref);
|
|
4054
|
-
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable &&
|
|
4070
|
+
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$v.root, `uui-size-${this.props.size || settings.dataTable.sizes.header.row}`, this.props.isFirstColumn && 'uui-dt-header-first-column', this.props.isLastColumn && 'uui-dt-header-last-column', this.props.column.fix && css$v['pinned-' + this.props.column.fix], isResizable && uuiCore.uuiMarkers.resizable, props.isDraggable && css$v.draggable, props.isDragGhost && css$v.ghost, props.isDraggedOut && css$v.isDraggedOut, props.isDndInProgress && css$v['dnd-marker-' + props.position]), onClick: onClickEvent, rawProps: {
|
|
4055
4071
|
role: 'columnheader',
|
|
4056
4072
|
'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none',
|
|
4057
4073
|
...props.eventHandlers,
|
|
@@ -4071,7 +4087,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4071
4087
|
}
|
|
4072
4088
|
}
|
|
4073
4089
|
|
|
4074
|
-
var css$u = {"root":"
|
|
4090
|
+
var css$u = {"root":"JdLzW-","caption-wrapper":"JwbWcb","captionWrapper":"JwbWcb","align-center":"BkAfWT","alignCenter":"BkAfWT","caption":"_87kR0P","truncate":"oY3CDG","upper-case":"bTegUl","upperCase":"bTegUl","group-cell-tooltip":"K1TDJN","groupCellTooltip":"K1TDJN","group-cell-tooltip-wrapper":"gbFWXg","groupCellTooltipWrapper":"gbFWXg","group-cell-tooltip-text":"tNttzG","groupCellTooltipText":"tNttzG","tooltip-caption":"peoQ9a","tooltipCaption":"peoQ9a","tooltip-info":"lSCY3X","tooltipInfo":"lSCY3X"};
|
|
4075
4091
|
|
|
4076
4092
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
4077
4093
|
constructor() {
|
|
@@ -4111,7 +4127,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
4111
4127
|
}
|
|
4112
4128
|
}
|
|
4113
4129
|
|
|
4114
|
-
var css$t = {"root":"
|
|
4130
|
+
var css$t = {"root":"Pkihfy"};
|
|
4115
4131
|
|
|
4116
4132
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
4117
4133
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -4128,7 +4144,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
|
|
|
4128
4144
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4129
4145
|
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
4130
4146
|
|
|
4131
|
-
var css$s = {"root":"
|
|
4147
|
+
var css$s = {"root":"DtR3j6","title-wrapper":"h-z5kk","titleWrapper":"h-z5kk","title":"MsiP5A","text-wrapper":"PP71rS","textWrapper":"PP71rS","selection":"_3Xe7dx","postfix":"LAHAiB","selected":"r2K-bA"};
|
|
4132
4148
|
|
|
4133
4149
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4134
4150
|
const togglerPickerOpened = (e) => {
|
|
@@ -4279,6 +4295,14 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4279
4295
|
onOpenChange(false);
|
|
4280
4296
|
}
|
|
4281
4297
|
};
|
|
4298
|
+
const onClear = () => {
|
|
4299
|
+
const newValue = {
|
|
4300
|
+
from: props.preventEmptyFromDate ? value.from : null,
|
|
4301
|
+
to: props.preventEmptyToDate ? value.to : null,
|
|
4302
|
+
};
|
|
4303
|
+
onValueChange(newValue);
|
|
4304
|
+
};
|
|
4305
|
+
const shouldShowClearButton = !props.preventEmptyToDate || !props.preventEmptyFromDate;
|
|
4282
4306
|
return (React__namespace.default.createElement(React.Fragment, null,
|
|
4283
4307
|
React__namespace.default.createElement(FlexRow, { borderBottom: true },
|
|
4284
4308
|
React__namespace.default.createElement(RangeDatePickerBody, { value: {
|
|
@@ -4292,12 +4316,12 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4292
4316
|
props.onFocus(event, inputType);
|
|
4293
4317
|
}
|
|
4294
4318
|
setInFocus(inputType);
|
|
4295
|
-
}, onBlurInput: props.onBlur }),
|
|
4319
|
+
}, onBlurInput: props.onBlur, preventEmptyFromDate: props.preventEmptyFromDate, preventEmptyToDate: props.preventEmptyToDate }),
|
|
4296
4320
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
4297
|
-
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.
|
|
4321
|
+
shouldShowClearButton && (React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.filterToolbar.rangeDatePicker.clearCaption, onClick: onClear }))))));
|
|
4298
4322
|
}
|
|
4299
4323
|
|
|
4300
|
-
var css$r = {"container":"
|
|
4324
|
+
var css$r = {"container":"ZarUH0"};
|
|
4301
4325
|
|
|
4302
4326
|
function FilterNumericBody(props) {
|
|
4303
4327
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -4377,7 +4401,7 @@ function FilterItemBody(props) {
|
|
|
4377
4401
|
}
|
|
4378
4402
|
}
|
|
4379
4403
|
|
|
4380
|
-
var css$q = {"body":"
|
|
4404
|
+
var css$q = {"body":"bVmxul","header":"vQzeJQ","title":"sZhzVJ","removeButton":"hKpYp-","with-search":"XraedH","withSearch":"XraedH"};
|
|
4381
4405
|
|
|
4382
4406
|
function useView(props, value) {
|
|
4383
4407
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -4674,7 +4698,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4674
4698
|
}
|
|
4675
4699
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
4676
4700
|
|
|
4677
|
-
var css$p = {"delete-button":"
|
|
4701
|
+
var css$p = {"delete-button":"_7K6H19","deleteButton":"_7K6H19","tab-button":"N-O-ft","tabButton":"N-O-ft","targetOpen":"cknFwJ"};
|
|
4678
4702
|
|
|
4679
4703
|
function PresetActionsDropdown(props) {
|
|
4680
4704
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -4746,7 +4770,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
|
4746
4770
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
4747
4771
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
4748
4772
|
|
|
4749
|
-
var css$o = {"preset-input-cell":"
|
|
4773
|
+
var css$o = {"preset-input-cell":"yPe-Do","presetInputCell":"yPe-Do","preset-input":"h5y13x","presetInput":"h5y13x"};
|
|
4750
4774
|
|
|
4751
4775
|
function PresetInput(props) {
|
|
4752
4776
|
const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
|
|
@@ -4773,7 +4797,7 @@ function PresetInput(props) {
|
|
|
4773
4797
|
React__namespace.default.createElement(TextInput, { cx: css$o.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4774
4798
|
}
|
|
4775
4799
|
|
|
4776
|
-
var css$n = {"preset":"
|
|
4800
|
+
var css$n = {"preset":"_7vbeiR","activePreset":"_6jWTUx"};
|
|
4777
4801
|
|
|
4778
4802
|
function Preset(props) {
|
|
4779
4803
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -4798,7 +4822,7 @@ function Preset(props) {
|
|
|
4798
4822
|
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$n.preset, isPresetActive && css$n.activePreset, UUI_PRESETS_PANEL_PRESET], size: settings.presetsPanel.sizes.tabButton, withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
4799
4823
|
}
|
|
4800
4824
|
|
|
4801
|
-
var css$m = {"divider":"
|
|
4825
|
+
var css$m = {"divider":"RpDhjF","dropdownDeleteIcon":"R1VlBf","presetsWrapper":"WGJgx2","addPresetContainer":"X-jyCF","dropContainer":"d-uGiE"};
|
|
4802
4826
|
|
|
4803
4827
|
function PresetsPanel(props) {
|
|
4804
4828
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -4884,7 +4908,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4884
4908
|
return columns;
|
|
4885
4909
|
};
|
|
4886
4910
|
|
|
4887
|
-
var css$l = {"unpin-icon":"
|
|
4911
|
+
var css$l = {"unpin-icon":"jiuiGI","unpinIcon":"jiuiGI","pin-toggler-icon":"E7Gkk0","pinTogglerIcon":"E7Gkk0"};
|
|
4888
4912
|
|
|
4889
4913
|
function PinIconButton(props) {
|
|
4890
4914
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4926,7 +4950,7 @@ function getUnpinIcon(params) {
|
|
|
4926
4950
|
}
|
|
4927
4951
|
}
|
|
4928
4952
|
|
|
4929
|
-
var css$k = {"row-wrapper":"
|
|
4953
|
+
var css$k = {"row-wrapper":"_1eRXzZ","rowWrapper":"_1eRXzZ","pin-icon-button":"vb4-9H","pinIconButton":"vb4-9H","not-pinned":"uwtZX1","notPinned":"uwtZX1","checkbox":"DBlVWS","drag-handle":"eDOb09","dragHandle":"eDOb09","dnd-disabled":"Fs5A6-","dndDisabled":"Fs5A6-"};
|
|
4930
4954
|
|
|
4931
4955
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4932
4956
|
const { column } = props;
|
|
@@ -4949,7 +4973,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4949
4973
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4950
4974
|
});
|
|
4951
4975
|
|
|
4952
|
-
var css$j = {"root":"
|
|
4976
|
+
var css$j = {"root":"LOInAN","main-panel":"_-9eRIB","mainPanel":"_-9eRIB","group":"UkGRkX","group-title":"UGUhEB","groupTitle":"UGUhEB","group-items":"InSAq7","groupItems":"InSAq7","no-data":"qjszaR","noData":"qjszaR","no-data-title":"ShuWR-","noDataTitle":"ShuWR-","no-data-sub-title":"ve83N0","noDataSubTitle":"ve83N0","h-divider":"Il-LId","hDivider":"Il-LId","search-area":"Iri4Pk","searchArea":"Iri4Pk","subgroup-accordion":"Md2w2i","subgroupAccordion":"Md2w2i","subgroup":"zPDsyo","subgroup-title":"jF0kru","subgroupTitle":"jF0kru"};
|
|
4953
4977
|
|
|
4954
4978
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$j.group },
|
|
4955
4979
|
React__namespace.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -5051,7 +5075,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
5051
5075
|
return [children, rest];
|
|
5052
5076
|
};
|
|
5053
5077
|
|
|
5054
|
-
var css$i = {"listContainer":"
|
|
5078
|
+
var css$i = {"listContainer":"MyNt6p","header":"in7ZUQ","group":"He-Y-k","stickyHeader":"g2Ky1E"};
|
|
5055
5079
|
|
|
5056
5080
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
5057
5081
|
const rowRef = React.useRef(undefined);
|
|
@@ -5091,7 +5115,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
5091
5115
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
5092
5116
|
}
|
|
5093
5117
|
|
|
5094
|
-
var css$h = {"root":"
|
|
5118
|
+
var css$h = {"root":"rLVics","sticky-header":"fraDDH","stickyHeader":"fraDDH","no-results":"WiqsX0","noResults":"WiqsX0","icon":"Vwf4MB","title":"_2svgzq"};
|
|
5095
5119
|
|
|
5096
5120
|
function DataTable(props) {
|
|
5097
5121
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -5133,16 +5157,16 @@ function DataTable(props) {
|
|
|
5133
5157
|
]);
|
|
5134
5158
|
return (React__namespace.createElement(uuiComponents.DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
5135
5159
|
React__namespace.createElement(uuiComponents.DataTableFocusProvider, { dataTableFocusManager: props.dataTableFocusManager },
|
|
5136
|
-
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$h.root, 'uui-dt-vars', 'uui-data_table'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5160
|
+
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$h.root, props.cx, 'uui-dt-vars', 'uui-data_table'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
5137
5161
|
role: 'table',
|
|
5138
5162
|
'aria-colcount': columns.length,
|
|
5139
5163
|
'aria-rowcount': props.rowsCount,
|
|
5140
5164
|
} }))));
|
|
5141
5165
|
}
|
|
5142
5166
|
|
|
5143
|
-
var css$g = {"root":"
|
|
5167
|
+
var css$g = {"root":"tbEco3"};
|
|
5144
5168
|
|
|
5145
|
-
var css$f = {"root":"
|
|
5169
|
+
var css$f = {"root":"NwA9q8","burger-content":"CttEul","burgerContent":"CttEul"};
|
|
5146
5170
|
|
|
5147
5171
|
var _path$3;
|
|
5148
5172
|
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); }
|
|
@@ -5185,7 +5209,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5185
5209
|
};
|
|
5186
5210
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5187
5211
|
|
|
5188
|
-
var css$e = {"root":"
|
|
5212
|
+
var css$e = {"root":"_3H2QDF","button-primary":"GD1-sP","buttonPrimary":"GD1-sP","button-secondary":"SND8Qq","buttonSecondary":"SND8Qq","hasIcon":"g9zsEP","dropdown":"xpkM72"};
|
|
5189
5213
|
|
|
5190
5214
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5191
5215
|
css$e.root,
|
|
@@ -5196,13 +5220,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5196
5220
|
props.icon && css$e.hasIcon,
|
|
5197
5221
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5198
5222
|
|
|
5199
|
-
var css$d = {"search-input":"
|
|
5223
|
+
var css$d = {"search-input":"lK4L0h","searchInput":"lK4L0h"};
|
|
5200
5224
|
|
|
5201
5225
|
function BurgerSearch(props) {
|
|
5202
5226
|
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 }));
|
|
5203
5227
|
}
|
|
5204
5228
|
|
|
5205
|
-
var css$c = {"root":"
|
|
5229
|
+
var css$c = {"root":"bfQuAc","group-header":"_5-uNOb","groupHeader":"_5-uNOb","group-name":"_1qQhSj","groupName":"_1qQhSj","line":"UlJMYK"};
|
|
5206
5230
|
|
|
5207
5231
|
function BurgerGroupHeader(props) {
|
|
5208
5232
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5210,7 +5234,7 @@ function BurgerGroupHeader(props) {
|
|
|
5210
5234
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5211
5235
|
}
|
|
5212
5236
|
|
|
5213
|
-
var css$b = {"root":"
|
|
5237
|
+
var css$b = {"root":"_6t-Emz","type-primary":"zHplmp","typePrimary":"zHplmp","type-secondary":"-TKb4E","typeSecondary":"-TKb4E"};
|
|
5214
5238
|
|
|
5215
5239
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5216
5240
|
const { type, ...clickableProps } = props;
|
|
@@ -5232,7 +5256,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5232
5256
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5233
5257
|
});
|
|
5234
5258
|
|
|
5235
|
-
var css$a = {"dropdown-body":"
|
|
5259
|
+
var css$a = {"dropdown-body":"D2QIHE","dropdownBody":"D2QIHE"};
|
|
5236
5260
|
|
|
5237
5261
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5238
5262
|
render() {
|
|
@@ -5290,12 +5314,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5290
5314
|
};
|
|
5291
5315
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5292
5316
|
|
|
5293
|
-
var css$9 = {"global-menu-btn":"
|
|
5317
|
+
var css$9 = {"global-menu-btn":"AZhYpA","globalMenuBtn":"AZhYpA","global-menu-icon":"Dk6M8E","globalMenuIcon":"Dk6M8E"};
|
|
5294
5318
|
|
|
5295
5319
|
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 },
|
|
5296
5320
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5297
5321
|
|
|
5298
|
-
var css$8 = {"container":"
|
|
5322
|
+
var css$8 = {"container":"XNIi3F","open":"jNdnl0","folding-arrow":"QUyqy5","foldingArrow":"QUyqy5"};
|
|
5299
5323
|
|
|
5300
5324
|
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 },
|
|
5301
5325
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5303,15 +5327,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5303
5327
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5304
5328
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5305
5329
|
|
|
5306
|
-
var css$7 = {"search-input":"
|
|
5330
|
+
var css$7 = {"search-input":"qFycS7","searchInput":"qFycS7"};
|
|
5307
5331
|
|
|
5308
5332
|
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 })) })));
|
|
5309
5333
|
|
|
5310
|
-
var css$6 = {"container":"
|
|
5334
|
+
var css$6 = {"container":"CHOhvy"};
|
|
5311
5335
|
|
|
5312
5336
|
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 })));
|
|
5313
5337
|
|
|
5314
|
-
var css$5 = {"root":"
|
|
5338
|
+
var css$5 = {"root":"U0VgFe"};
|
|
5315
5339
|
|
|
5316
5340
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5317
5341
|
|
|
@@ -5369,7 +5393,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5369
5393
|
};
|
|
5370
5394
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5371
5395
|
|
|
5372
|
-
var css$4 = {"root":"
|
|
5396
|
+
var css$4 = {"root":"mE8p4B","drop-start":"Lyza5p","dropStart":"Lyza5p","drop-over":"b2whUw","dropOver":"b2whUw","link":"bL-sJ0","drop-area":"Dlpm6X","dropArea":"Dlpm6X","drop-caption":"k1XUNI","dropCaption":"k1XUNI","icon-blue":"sPRy8j","iconBlue":"sPRy8j"};
|
|
5373
5397
|
|
|
5374
5398
|
function DropSpot(props) {
|
|
5375
5399
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5387,7 +5411,7 @@ function DropSpot(props) {
|
|
|
5387
5411
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5388
5412
|
}
|
|
5389
5413
|
|
|
5390
|
-
var css$3 = {"root":"
|
|
5414
|
+
var css$3 = {"root":"uQb9Nz"};
|
|
5391
5415
|
|
|
5392
5416
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5393
5417
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5398,7 +5422,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
|
|
|
5398
5422
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5399
5423
|
});
|
|
5400
5424
|
|
|
5401
|
-
var css$2 = {"root":"
|
|
5425
|
+
var css$2 = {"root":"EGA8Am","file-name":"kYaGEV","fileName":"kYaGEV","default-color":"qc78L9","defaultColor":"qc78L9","doc-color":"BQGbxb","docColor":"BQGbxb","xls-color":"tYYZcc","xlsColor":"tYYZcc","pdf-color":"-eQO6n","pdfColor":"-eQO6n","movie-color":"IANv7Q","movieColor":"IANv7Q","img-color":"hlTQbM","imgColor":"hlTQbM","mov-color":"y42ILs","movColor":"y42ILs","error-block":"GJliKK","errorBlock":"GJliKK","icons-block":"om7bLA","iconsBlock":"om7bLA"};
|
|
5402
5426
|
|
|
5403
5427
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5404
5428
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
@@ -5517,7 +5541,7 @@ const getErrorPageConfig = () => ({
|
|
|
5517
5541
|
},
|
|
5518
5542
|
});
|
|
5519
5543
|
|
|
5520
|
-
var css$1 = {"container":"
|
|
5544
|
+
var css$1 = {"container":"xk8fp3"};
|
|
5521
5545
|
|
|
5522
5546
|
const ErrorPage = (props) => {
|
|
5523
5547
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5529,7 +5553,7 @@ const ErrorPage = (props) => {
|
|
|
5529
5553
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5530
5554
|
};
|
|
5531
5555
|
|
|
5532
|
-
var css = {"recovery-spinner":"
|
|
5556
|
+
var css = {"recovery-spinner":"lb91xa","recoverySpinner":"lb91xa","recovery-message":"RZtJVH","recoveryMessage":"RZtJVH","modal-blocker":"CA-88I","modalBlocker":"CA-88I","modalFadeIn":"_5y1oE7"};
|
|
5533
5557
|
|
|
5534
5558
|
function ErrorHandler(props) {
|
|
5535
5559
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|