sag_components 2.0.0-beta295 → 2.0.0-beta297
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/index.esm.js +88 -83
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +88 -83
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -10590,23 +10590,24 @@ const QuarterPopupPicker = ({
|
|
|
10590
10590
|
};
|
|
10591
10591
|
|
|
10592
10592
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10593
|
-
const QuarterPicker =
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10593
|
+
const QuarterPicker = _ref => {
|
|
10594
|
+
let {
|
|
10595
|
+
availableQuarters,
|
|
10596
|
+
// ["Q1-2024"]
|
|
10597
|
+
label,
|
|
10598
|
+
onChange,
|
|
10599
|
+
borderRadius,
|
|
10600
|
+
required,
|
|
10601
|
+
width,
|
|
10602
|
+
height,
|
|
10603
|
+
placeholder,
|
|
10604
|
+
disabled,
|
|
10605
|
+
borderColor,
|
|
10606
|
+
borderColorFocus,
|
|
10607
|
+
textColor,
|
|
10608
|
+
selectedValue,
|
|
10609
|
+
startYear
|
|
10610
|
+
} = _ref;
|
|
10610
10611
|
const [isFocused, setIsFocused] = useState(false);
|
|
10611
10612
|
const [isOpen, setIsOpen] = useState(false);
|
|
10612
10613
|
const [value, setValue] = useState('');
|
|
@@ -11048,22 +11049,23 @@ const MonthPopupPicker = ({
|
|
|
11048
11049
|
};
|
|
11049
11050
|
|
|
11050
11051
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11051
|
-
const MonthPicker =
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11052
|
+
const MonthPicker = _ref => {
|
|
11053
|
+
let {
|
|
11054
|
+
availableMonths,
|
|
11055
|
+
label,
|
|
11056
|
+
onChange,
|
|
11057
|
+
borderRadius,
|
|
11058
|
+
required,
|
|
11059
|
+
width,
|
|
11060
|
+
height,
|
|
11061
|
+
placeholder,
|
|
11062
|
+
disabled,
|
|
11063
|
+
borderColor,
|
|
11064
|
+
borderColorFocus,
|
|
11065
|
+
textColor,
|
|
11066
|
+
selectedValue,
|
|
11067
|
+
startYear
|
|
11068
|
+
} = _ref;
|
|
11067
11069
|
const [isFocused, setIsFocused] = useState(false);
|
|
11068
11070
|
const [isOpen, setIsOpen] = useState(false);
|
|
11069
11071
|
const [value, setValue] = useState('');
|
|
@@ -24174,21 +24176,22 @@ const DeleteIcon = styled.div`
|
|
|
24174
24176
|
position: absolute;
|
|
24175
24177
|
`;
|
|
24176
24178
|
|
|
24177
|
-
const QuickFilterDropdownSingle =
|
|
24178
|
-
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24179
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24180
|
+
let {
|
|
24181
|
+
label,
|
|
24182
|
+
hoverColor,
|
|
24183
|
+
options,
|
|
24184
|
+
selectedValue,
|
|
24185
|
+
placeHolder,
|
|
24186
|
+
onChange,
|
|
24187
|
+
disabled,
|
|
24188
|
+
width,
|
|
24189
|
+
error,
|
|
24190
|
+
errorMessage,
|
|
24191
|
+
xIconShow,
|
|
24192
|
+
labelColor,
|
|
24193
|
+
showLabelOnTop
|
|
24194
|
+
} = _ref;
|
|
24192
24195
|
const [isFocused, setIsFocused] = useState(false);
|
|
24193
24196
|
const [showOptions, setShowOptions] = useState(false);
|
|
24194
24197
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24640,25 +24643,26 @@ const IconContainer$2 = styled.div`
|
|
|
24640
24643
|
cursor: pointer;
|
|
24641
24644
|
`;
|
|
24642
24645
|
|
|
24643
|
-
const QuickFilterDropdownMultiSelection =
|
|
24644
|
-
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
|
|
24657
|
-
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24646
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24647
|
+
let {
|
|
24648
|
+
label,
|
|
24649
|
+
labelEmptyValue,
|
|
24650
|
+
options,
|
|
24651
|
+
selectedValue,
|
|
24652
|
+
placeHolder,
|
|
24653
|
+
onChange,
|
|
24654
|
+
required,
|
|
24655
|
+
disabled,
|
|
24656
|
+
width,
|
|
24657
|
+
height,
|
|
24658
|
+
error,
|
|
24659
|
+
errorMessage,
|
|
24660
|
+
labelColor,
|
|
24661
|
+
xIconShow,
|
|
24662
|
+
checkBoxColor,
|
|
24663
|
+
showLabelOnTop,
|
|
24664
|
+
dropdownHeight
|
|
24665
|
+
} = _ref;
|
|
24662
24666
|
const [isFocused, setIsFocused] = useState(false);
|
|
24663
24667
|
const [showOptions, setShowOptions] = useState(false);
|
|
24664
24668
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -34988,17 +34992,18 @@ css`
|
|
|
34988
34992
|
* • onApply(start,end) — callback, both numbers (inclusive)
|
|
34989
34993
|
* • onCancel() — callback
|
|
34990
34994
|
*/
|
|
34991
|
-
const WeeksCalendar =
|
|
34992
|
-
|
|
34993
|
-
|
|
34994
|
-
|
|
34995
|
-
|
|
34996
|
-
|
|
34997
|
-
|
|
34998
|
-
|
|
34999
|
-
|
|
35000
|
-
|
|
35001
|
-
|
|
34995
|
+
const WeeksCalendar = _ref => {
|
|
34996
|
+
let {
|
|
34997
|
+
year,
|
|
34998
|
+
defaultStartWeek = null,
|
|
34999
|
+
defaultEndWeek = null,
|
|
35000
|
+
backgroundColor = "#066768",
|
|
35001
|
+
hoverBackgroundColor = "#E6F0F0",
|
|
35002
|
+
allowedWeekRange = null,
|
|
35003
|
+
// New prop for range restriction
|
|
35004
|
+
onApply,
|
|
35005
|
+
onCancel
|
|
35006
|
+
} = _ref;
|
|
35002
35007
|
// state -------------------------------------------------
|
|
35003
35008
|
const [startWeek, setStartWeek] = useState(defaultStartWeek);
|
|
35004
35009
|
const [endWeek, setEndWeek] = useState(defaultEndWeek);
|
|
@@ -36198,9 +36203,9 @@ const ToggleSlider = styled.span`
|
|
|
36198
36203
|
}
|
|
36199
36204
|
`;
|
|
36200
36205
|
|
|
36201
|
-
/**
|
|
36202
|
-
* ToggleSwitch component for on/off states.
|
|
36203
|
-
* Supports small/large sizes and disabled state.
|
|
36206
|
+
/**
|
|
36207
|
+
* ToggleSwitch component for on/off states.
|
|
36208
|
+
* Supports small/large sizes and disabled state.
|
|
36204
36209
|
*/
|
|
36205
36210
|
function ToggleSwitch(_ref) {
|
|
36206
36211
|
let {
|
|
@@ -47148,7 +47153,7 @@ const Table = props => {
|
|
|
47148
47153
|
onHeroClick = () => {},
|
|
47149
47154
|
dotIndicatorColor = "#34D399",
|
|
47150
47155
|
onEditableClick = () => {},
|
|
47151
|
-
activeFilters =
|
|
47156
|
+
activeFilters = [],
|
|
47152
47157
|
resetFiltersKey = 0,
|
|
47153
47158
|
ref = null,
|
|
47154
47159
|
titleSize,
|
|
@@ -47618,7 +47623,7 @@ const VendorSelectionTitle = styled.h5`
|
|
|
47618
47623
|
`;
|
|
47619
47624
|
const VendorBackTitle = styled.span`
|
|
47620
47625
|
margin-left: 4px;
|
|
47621
|
-
font-size:
|
|
47626
|
+
font-size: 14px;
|
|
47622
47627
|
font-weight: 400;
|
|
47623
47628
|
`;
|
|
47624
47629
|
const VendorRoute = styled.div`
|