@banyan_cloud/roots 1.0.342 → 1.0.344
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/dist/cjs/index.js +28 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +28 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +28 -8
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -15614,7 +15614,8 @@ var Dates = function Dates(props) {
|
|
|
15614
15614
|
setSelectedRange = props.setSelectedRange,
|
|
15615
15615
|
disabledDates = props.disabledDates,
|
|
15616
15616
|
disableDatesBefore = props.disableDatesBefore,
|
|
15617
|
-
enableFutureDates = props.enableFutureDates
|
|
15617
|
+
enableFutureDates = props.enableFutureDates,
|
|
15618
|
+
disableDatesAfter = props.disableDatesAfter;
|
|
15618
15619
|
var _ref = selectedMonth || {},
|
|
15619
15620
|
monthAsNumber = _ref.monthAsNumber,
|
|
15620
15621
|
year = _ref.year;
|
|
@@ -15710,6 +15711,9 @@ var Dates = function Dates(props) {
|
|
|
15710
15711
|
return (disableDatesBefore === null || disableDatesBefore === void 0 ? void 0 : disableDatesBefore.length) > 0 && isBefore(date, fromUnixTime(disableDatesBefore));
|
|
15711
15712
|
};
|
|
15712
15713
|
var disabledAfterDate = function disabledAfterDate(date) {
|
|
15714
|
+
if (disableDatesAfter) {
|
|
15715
|
+
return (disableDatesAfter === null || disableDatesAfter === void 0 ? void 0 : disableDatesAfter.length) > 0 && isAfter(date, fromUnixTime(disableDatesAfter));
|
|
15716
|
+
}
|
|
15713
15717
|
var dObj = new Date();
|
|
15714
15718
|
dObj.setDate(dObj.getDate() + 1);
|
|
15715
15719
|
dObj.setHours(0, 0, 0, 0);
|
|
@@ -16171,6 +16175,7 @@ var Calender = function Calender(props) {
|
|
|
16171
16175
|
onClear = props.onClear,
|
|
16172
16176
|
disabledDates = props.disabledDates,
|
|
16173
16177
|
disableDatesBefore = props.disableDatesBefore,
|
|
16178
|
+
disableDatesAfter = props.disableDatesAfter,
|
|
16174
16179
|
value = props.value,
|
|
16175
16180
|
setFixedRange = props.setFixedRange,
|
|
16176
16181
|
fixedRange = props.fixedRange,
|
|
@@ -16376,6 +16381,7 @@ var Calender = function Calender(props) {
|
|
|
16376
16381
|
setSelectedMonth: setSelectedMonth,
|
|
16377
16382
|
disabledDates: disabledDates,
|
|
16378
16383
|
disableDatesBefore: disableDatesBefore,
|
|
16384
|
+
disableDatesAfter: disableDatesAfter,
|
|
16379
16385
|
enableFutureDates: enableFutureDates
|
|
16380
16386
|
})) : /*#__PURE__*/jsx(ClockView, _objectSpread2(_objectSpread2({}, commonCalenderProps), {}, {
|
|
16381
16387
|
setSelectedMonth: setSelectedMonth,
|
|
@@ -16530,6 +16536,7 @@ var DatePicker = function DatePicker(props) {
|
|
|
16530
16536
|
disabled = props.disabled,
|
|
16531
16537
|
className = props.className,
|
|
16532
16538
|
disableDatesBefore = props.disableDatesBefore,
|
|
16539
|
+
disableDatesAfter = props.disableDatesAfter,
|
|
16533
16540
|
_onClear = props.onClear,
|
|
16534
16541
|
customRanges = props.customRanges,
|
|
16535
16542
|
custom = props.custom,
|
|
@@ -16656,6 +16663,7 @@ var DatePicker = function DatePicker(props) {
|
|
|
16656
16663
|
},
|
|
16657
16664
|
disabledDates: disabledDates,
|
|
16658
16665
|
disableDatesBefore: disableDatesBefore,
|
|
16666
|
+
disableDatesAfter: disableDatesAfter,
|
|
16659
16667
|
value: value,
|
|
16660
16668
|
setFixedRange: setFixedRange,
|
|
16661
16669
|
customRanges: customRanges,
|
|
@@ -16795,7 +16803,8 @@ DatePicker.propTypes = {
|
|
|
16795
16803
|
type: propTypesExports.string
|
|
16796
16804
|
}),
|
|
16797
16805
|
className: propTypesExports.string,
|
|
16798
|
-
disableDatesBefore: propTypesExports.arrayOf(propTypesExports.
|
|
16806
|
+
disableDatesBefore: propTypesExports.arrayOf(propTypesExports.number),
|
|
16807
|
+
disableDatesAfter: propTypesExports.arrayOf(propTypesExports.number),
|
|
16799
16808
|
defaultRangeSelection: propTypesExports.arrayOf(propTypesExports.number),
|
|
16800
16809
|
customRanges: propTypesExports.arrayOf(propTypesExports.shape({
|
|
16801
16810
|
title: propTypesExports.string,
|
|
@@ -17860,8 +17869,8 @@ Tooltip.propTypes = {
|
|
|
17860
17869
|
className: propTypesExports.string
|
|
17861
17870
|
};
|
|
17862
17871
|
|
|
17863
|
-
var css$K = ".
|
|
17864
|
-
var modules_ef7e5a18 = {"root":"
|
|
17872
|
+
var css$K = ".Dropdownv2_module_root__ca7f2db7 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0.5rem;\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n max-width: 100%;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_label__ca7f2db7 {\n font-size: 0.75rem;\n color: var(--text-color);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_label__ca7f2db7.Dropdownv2_module_required__ca7f2db7::after {\n content: \" *\";\n color: var(--primary-color1);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n max-width: 100%;\n border-radius: 0.25rem;\n position: relative;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_highlightOnSelect__ca7f2db7 [data-elem=select] {\n background-color: var(--background-color5);\n color: var(--secondary-color2);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_highlightOnSelect__ca7f2db7 [data-elem=select] * {\n color: var(--secondary-color2);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_highlightOnSelect__ca7f2db7 [data-elem=select] .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIcon__ca7f2db7 {\n fill: var(--secondary-color2) !important;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_highlightOnSelect__ca7f2db7 [data-elem=select] .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIconUpDown__ca7f2db7 {\n fill: transparent;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_highlightOnSelect__ca7f2db7 [data-elem=select] .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIconUpDown__ca7f2db7 > path {\n stroke: var(--secondary-color2);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_open__ca7f2db7 {\n outline: 1px solid var(--secondary-color2);\n transition: outline 100ms ease-in-out;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7.Dropdownv2_module_error__ca7f2db7 {\n border: 1px solid var(--primary-color1);\n border-radius: 0.3125rem;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_input__ca7f2db7 {\n position: absolute;\n opacity: 0;\n width: 1px;\n height: 1px;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_input__ca7f2db7:focus + .Dropdownv2_module_select__ca7f2db7 {\n border-color: var(--primary-color4);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_input__ca7f2db7:focus + .Dropdownv2_module_select__ca7f2db7.Dropdownv2_module_feedbackError__ca7f2db7 {\n border-color: var(--primary-color1);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n width: 25rem;\n max-width: 100%;\n gap: 0.5rem;\n outline: none;\n border-radius: 0.3125rem;\n padding: 0.75rem 0.75rem 0.75rem 1rem;\n background: var(--light-color3);\n cursor: pointer;\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_placeholder__ca7f2db7 {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n color: var(--text-color);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_infoIcon__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIcon__ca7f2db7 {\n width: 1.5rem;\n height: 1.5rem;\n transition: transform 0.5s;\n fill: var(--text-color) !important;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n transform: rotate(180deg);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIcon__ca7f2db7.Dropdownv2_module_open__ca7f2db7 {\n transform: rotate(0deg);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIconUpDown__ca7f2db7 {\n width: 1.5rem;\n height: 1.5rem;\n transition: transform 0.5s;\n fill: transparent !important;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n transform: rotate(180deg);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIconUpDown__ca7f2db7 > path {\n stroke: var(--text-color);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_caretIconUpDown__ca7f2db7.Dropdownv2_module_open__ca7f2db7 {\n transform: rotate(0deg);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_iconBundle__ca7f2db7 .Dropdownv2_module_infoIcon__ca7f2db7 path {\n stroke: var(--primary-color1);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_icon__ca7f2db7 {\n width: 1.5rem;\n height: 1.5rem;\n transition: transform 0.5s;\n fill: var(--text-color) !important;\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 .Dropdownv2_module_icon__ca7f2db7.Dropdownv2_module_open__ca7f2db7 {\n transform: rotate(180deg);\n}\n.Dropdownv2_module_root__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 .Dropdownv2_module_select__ca7f2db7.Dropdownv2_module_feedbackError__ca7f2db7 {\n border-color: var(--primary-color1);\n}\n.Dropdownv2_module_root__ca7f2db7.Dropdownv2_module_open__ca7f2db7 .Dropdownv2_module_header__ca7f2db7 {\n border-color: var(--primary-color4);\n}\n.Dropdownv2_module_root__ca7f2db7.Dropdownv2_module_disabled__ca7f2db7 .Dropdownv2_module_select__ca7f2db7 {\n background: var(--grey10);\n cursor: not-allowed;\n}\n\n.Dropdownv2_module_body__ca7f2db7 {\n display: none;\n position: absolute;\n top: calc(100% + 0.5rem);\n background: var(--light-color3);\n width: auto;\n border-radius: 0.3125rem;\n padding: 1.25rem 0rem 1.25rem 0rem;\n overflow-y: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n min-height: 4rem;\n max-height: 25rem !important;\n outline: none;\n box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);\n}\n.Dropdownv2_module_body__ca7f2db7::-webkit-scrollbar {\n display: none;\n}\n.Dropdownv2_module_body__ca7f2db7.Dropdownv2_module_multi__ca7f2db7 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n.Dropdownv2_module_body__ca7f2db7.Dropdownv2_module_multi__ca7f2db7 li:nth-child(1) {\n padding-left: 1.875rem;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_multiOptions__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n top: 0;\n background-color: var(--light-color3);\n padding-inline: 1.25rem;\n padding-block: 0.25rem;\n list-style: none;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_multiOptions__ca7f2db7 button[data-elem=base-cell].Dropdownv2_module_button__ca7f2db7[type=button] {\n width: auto;\n padding: 0% !important;\n background-color: transparent;\n color: var(--secondary-color2);\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_multiOptions__ca7f2db7 button[data-elem=base-cell].Dropdownv2_module_button__ca7f2db7[type=button] > [data-elem=component2] {\n margin-left: 0.3125rem;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_multiOptions__ca7f2db7 .Dropdownv2_module_items__ca7f2db7 {\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--text-color);\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_footer__ca7f2db7 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n list-style: none;\n gap: 2.5rem;\n position: sticky;\n background-color: var(--light-color3);\n padding: 0rem 1rem 1rem;\n bottom: 0;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_footer__ca7f2db7 button[data-elem=base-cell].Dropdownv2_module_multiApply__ca7f2db7[type=submit] {\n flex: 1;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_footer__ca7f2db7 button[data-elem=base-cell].Dropdownv2_module_multiClear__ca7f2db7[type=submit] {\n background-color: var(--light-color2);\n color: var(--mono-color1);\n flex: 1;\n}\n.Dropdownv2_module_body__ca7f2db7 .Dropdownv2_module_footer__ca7f2db7 button[data-elem=base-cell].Dropdownv2_module_multiClear__ca7f2db7[type=submit]:hover {\n background-color: var(--light-color1);\n}\n.Dropdownv2_module_body__ca7f2db7.Dropdownv2_module_open__ca7f2db7 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}";
|
|
17873
|
+
var modules_ef7e5a18 = {"root":"Dropdownv2_module_root__ca7f2db7","label":"Dropdownv2_module_label__ca7f2db7","required":"Dropdownv2_module_required__ca7f2db7","header":"Dropdownv2_module_header__ca7f2db7","highlightOnSelect":"Dropdownv2_module_highlightOnSelect__ca7f2db7","icon-bundle":"Dropdownv2_module_iconBundle__ca7f2db7","caret-icon":"Dropdownv2_module_caretIcon__ca7f2db7","caret-icon-upDown":"Dropdownv2_module_caretIconUpDown__ca7f2db7","open":"Dropdownv2_module_open__ca7f2db7","error":"Dropdownv2_module_error__ca7f2db7","input":"Dropdownv2_module_input__ca7f2db7","select":"Dropdownv2_module_select__ca7f2db7","feedback-error":"Dropdownv2_module_feedbackError__ca7f2db7","placeholder":"Dropdownv2_module_placeholder__ca7f2db7","info-icon":"Dropdownv2_module_infoIcon__ca7f2db7","icon":"Dropdownv2_module_icon__ca7f2db7","disabled":"Dropdownv2_module_disabled__ca7f2db7","body":"Dropdownv2_module_body__ca7f2db7","multi":"Dropdownv2_module_multi__ca7f2db7","multi-options":"Dropdownv2_module_multiOptions__ca7f2db7","button":"Dropdownv2_module_button__ca7f2db7","items":"Dropdownv2_module_items__ca7f2db7","footer":"Dropdownv2_module_footer__ca7f2db7","multi-apply":"Dropdownv2_module_multiApply__ca7f2db7","multi-clear":"Dropdownv2_module_multiClear__ca7f2db7"};
|
|
17865
17874
|
n(css$K,{});
|
|
17866
17875
|
|
|
17867
17876
|
var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, inputRef) {
|
|
@@ -18290,7 +18299,7 @@ var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, inputRef) {
|
|
|
18290
18299
|
top: y !== null && y !== void 0 ? y : 0,
|
|
18291
18300
|
left: x !== null && x !== void 0 ? x : 0
|
|
18292
18301
|
},
|
|
18293
|
-
className: classes(modules_ef7e5a18.body,
|
|
18302
|
+
className: classes(modules_ef7e5a18.body, open ? modules_ef7e5a18.open : '', multi ? modules_ef7e5a18.multi : '', popperClassName)
|
|
18294
18303
|
})), {}, {
|
|
18295
18304
|
initial: {
|
|
18296
18305
|
opacity: 0,
|
|
@@ -23737,6 +23746,7 @@ var TableFilters = function TableFilters(props) {
|
|
|
23737
23746
|
CustomSearchIcon = props.customSearchIcon,
|
|
23738
23747
|
_props$onSearch = props.onSearch,
|
|
23739
23748
|
onSearch = _props$onSearch === void 0 ? function () {} : _props$onSearch,
|
|
23749
|
+
onClear = props.onClear,
|
|
23740
23750
|
_props$searchPlacehol = props.searchPlaceholder,
|
|
23741
23751
|
searchPlaceholder = _props$searchPlacehol === void 0 ? '' : _props$searchPlacehol,
|
|
23742
23752
|
_props$toggleDrawer = props.toggleDrawer,
|
|
@@ -23821,6 +23831,14 @@ var TableFilters = function TableFilters(props) {
|
|
|
23821
23831
|
})), /*#__PURE__*/jsx(Button, {
|
|
23822
23832
|
className: modules_a0fe63f9['search-button'],
|
|
23823
23833
|
leftComponent: function leftComponent() {
|
|
23834
|
+
if (onClear) {
|
|
23835
|
+
return /*#__PURE__*/jsx(Cross, {
|
|
23836
|
+
className: modules_a0fe63f9.icon,
|
|
23837
|
+
onClick: function onClick() {
|
|
23838
|
+
onSearch('');
|
|
23839
|
+
}
|
|
23840
|
+
});
|
|
23841
|
+
}
|
|
23824
23842
|
return /*#__PURE__*/jsx(SearchIcon, {
|
|
23825
23843
|
className: modules_a0fe63f9.icon,
|
|
23826
23844
|
onClick: function onClick() {
|
|
@@ -23996,7 +24014,8 @@ var Table = function Table(props) {
|
|
|
23996
24014
|
_searchProps$placehol = searchProps.placeholder,
|
|
23997
24015
|
searchPlaceholder = _searchProps$placehol === void 0 ? 'Search' : _searchProps$placehol,
|
|
23998
24016
|
_searchProps$disabled = searchProps.disabled,
|
|
23999
|
-
searchDisabled = _searchProps$disabled === void 0 ? false : _searchProps$disabled
|
|
24017
|
+
searchDisabled = _searchProps$disabled === void 0 ? false : _searchProps$disabled,
|
|
24018
|
+
onClear = searchProps.onClear;
|
|
24000
24019
|
var _tableInfo$tableTitle = tableInfo.tableTitleIcon,
|
|
24001
24020
|
tableTitleIcon = _tableInfo$tableTitle === void 0 ? null : _tableInfo$tableTitle,
|
|
24002
24021
|
_tableInfo$title = tableInfo.title,
|
|
@@ -24123,6 +24142,7 @@ var Table = function Table(props) {
|
|
|
24123
24142
|
tableDescriptionText: tableDescription,
|
|
24124
24143
|
customSearchIcon: customSearchIcon,
|
|
24125
24144
|
onSearch: onSearch,
|
|
24145
|
+
onClear: onClear,
|
|
24126
24146
|
searchDisabled: searchDisabled,
|
|
24127
24147
|
searchPlaceholder: searchPlaceholder,
|
|
24128
24148
|
toggleDrawer: toggleDrawer,
|
|
@@ -24666,7 +24686,7 @@ var modules_d563b0a9 = {"root":"BaseV2Widget_module_root__05b06aba","header":"Ba
|
|
|
24666
24686
|
n(css$5,{});
|
|
24667
24687
|
|
|
24668
24688
|
var generateOptions$1 = function generateOptions(_ref) {
|
|
24669
|
-
var _optionData$id, _optionData$placehold, _optionData$value, _optionData$onChange, _optionData$selectOpt, _optionData$title, _optionData$onClick, _optionData$placehold2, _optionData$range, _optionData$onApply, _optionData$onClear, _optionData$date;
|
|
24689
|
+
var _optionData$id, _optionData$placehold, _optionData$value, _optionData$onChange, _optionData$selectOpt, _optionData$title, _optionData$onClick, _optionData$placehold2, _optionData$range, _optionData$onApply, _optionData$onClear, _optionData$date, _optionData$title2;
|
|
24670
24690
|
var optionData = _ref.optionData,
|
|
24671
24691
|
toggleDrawer = _ref.toggleDrawer;
|
|
24672
24692
|
switch ((_optionData$id = optionData === null || optionData === void 0 ? void 0 : optionData.id) !== null && _optionData$id !== void 0 ? _optionData$id : '') {
|
|
@@ -24712,7 +24732,7 @@ var generateOptions$1 = function generateOptions(_ref) {
|
|
|
24712
24732
|
});
|
|
24713
24733
|
case 'filter':
|
|
24714
24734
|
return /*#__PURE__*/jsx(Button, {
|
|
24715
|
-
title:
|
|
24735
|
+
title: (_optionData$title2 = optionData === null || optionData === void 0 ? void 0 : optionData.title) !== null && _optionData$title2 !== void 0 ? _optionData$title2 : 'Filter',
|
|
24716
24736
|
variant: "outlined",
|
|
24717
24737
|
size: "auto",
|
|
24718
24738
|
className: modules_d563b0a9['filter-button'],
|