sag_components 2.0.0-beta4 → 2.0.0-beta6
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.d.ts +4 -0
- package/dist/index.esm.js +154 -159
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +154 -159
- package/dist/index.js.map +1 -1
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -44316,19 +44316,18 @@ const InfoIcon = _ref => {
|
|
|
44316
44316
|
}));
|
|
44317
44317
|
};
|
|
44318
44318
|
|
|
44319
|
-
const LinkButton =
|
|
44320
|
-
|
|
44321
|
-
|
|
44322
|
-
|
|
44323
|
-
|
|
44324
|
-
|
|
44325
|
-
|
|
44326
|
-
|
|
44327
|
-
|
|
44328
|
-
|
|
44329
|
-
|
|
44330
|
-
|
|
44331
|
-
} = _ref;
|
|
44319
|
+
const LinkButton = ({
|
|
44320
|
+
text = '',
|
|
44321
|
+
type = 'primary',
|
|
44322
|
+
size = 'small',
|
|
44323
|
+
height = '',
|
|
44324
|
+
width = '',
|
|
44325
|
+
disabled = false,
|
|
44326
|
+
textColor = '',
|
|
44327
|
+
onClick,
|
|
44328
|
+
leftIcon = 'none',
|
|
44329
|
+
rightIcon = 'none'
|
|
44330
|
+
}) => {
|
|
44332
44331
|
// const {
|
|
44333
44332
|
// text,
|
|
44334
44333
|
// type,
|
|
@@ -51275,70 +51274,67 @@ const DropdownMain = dt.div`
|
|
|
51275
51274
|
`;
|
|
51276
51275
|
|
|
51277
51276
|
/* eslint-disable react/prop-types */
|
|
51278
|
-
const DropdownNew =
|
|
51279
|
-
|
|
51280
|
-
|
|
51281
|
-
|
|
51282
|
-
|
|
51283
|
-
|
|
51284
|
-
|
|
51285
|
-
|
|
51286
|
-
|
|
51287
|
-
|
|
51288
|
-
|
|
51289
|
-
|
|
51290
|
-
|
|
51291
|
-
|
|
51292
|
-
|
|
51293
|
-
|
|
51294
|
-
|
|
51295
|
-
|
|
51296
|
-
|
|
51297
|
-
|
|
51298
|
-
|
|
51299
|
-
|
|
51300
|
-
|
|
51301
|
-
|
|
51302
|
-
|
|
51303
|
-
|
|
51304
|
-
|
|
51305
|
-
|
|
51306
|
-
|
|
51307
|
-
|
|
51308
|
-
|
|
51309
|
-
|
|
51310
|
-
|
|
51311
|
-
|
|
51312
|
-
|
|
51313
|
-
|
|
51314
|
-
|
|
51315
|
-
|
|
51316
|
-
|
|
51317
|
-
|
|
51318
|
-
|
|
51319
|
-
|
|
51320
|
-
|
|
51321
|
-
|
|
51322
|
-
|
|
51323
|
-
|
|
51324
|
-
|
|
51325
|
-
|
|
51326
|
-
|
|
51327
|
-
|
|
51328
|
-
|
|
51329
|
-
|
|
51330
|
-
|
|
51331
|
-
|
|
51332
|
-
|
|
51333
|
-
|
|
51334
|
-
|
|
51335
|
-
|
|
51336
|
-
|
|
51337
|
-
|
|
51338
|
-
|
|
51339
|
-
elementType: elementType
|
|
51340
|
-
}));
|
|
51341
|
-
};
|
|
51277
|
+
const DropdownNew = ({
|
|
51278
|
+
isMulti,
|
|
51279
|
+
label,
|
|
51280
|
+
labelEmptyValue,
|
|
51281
|
+
options,
|
|
51282
|
+
selectedValue,
|
|
51283
|
+
placeHolder,
|
|
51284
|
+
onChange,
|
|
51285
|
+
required,
|
|
51286
|
+
disabled,
|
|
51287
|
+
width,
|
|
51288
|
+
error,
|
|
51289
|
+
errorMessage,
|
|
51290
|
+
labelColor,
|
|
51291
|
+
checkBoxColor,
|
|
51292
|
+
xIconShow,
|
|
51293
|
+
showLabelOnTop,
|
|
51294
|
+
orderBy,
|
|
51295
|
+
elementType
|
|
51296
|
+
}) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
51297
|
+
className: "DropdownMain",
|
|
51298
|
+
width: width
|
|
51299
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
51300
|
+
className: "DropdownMultiNew",
|
|
51301
|
+
placeHolder: placeHolder,
|
|
51302
|
+
label: label,
|
|
51303
|
+
labelEmptyValue: labelEmptyValue,
|
|
51304
|
+
labelColor: labelColor,
|
|
51305
|
+
checkBoxColor: checkBoxColor,
|
|
51306
|
+
required: required,
|
|
51307
|
+
options: options,
|
|
51308
|
+
width: width,
|
|
51309
|
+
disabled: disabled,
|
|
51310
|
+
error: error,
|
|
51311
|
+
errorMessage: errorMessage,
|
|
51312
|
+
selectedValue: selectedValue,
|
|
51313
|
+
xIconShow: xIconShow,
|
|
51314
|
+
onChange: onChange,
|
|
51315
|
+
showLabelOnTop: showLabelOnTop,
|
|
51316
|
+
orderBy: orderBy,
|
|
51317
|
+
elementType: elementType
|
|
51318
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
51319
|
+
className: "DropdownSingleNew",
|
|
51320
|
+
placeHolder: placeHolder,
|
|
51321
|
+
label: label,
|
|
51322
|
+
labelEmptyValue: labelEmptyValue,
|
|
51323
|
+
labelColor: labelColor,
|
|
51324
|
+
checkBoxColor: checkBoxColor,
|
|
51325
|
+
required: required,
|
|
51326
|
+
options: options,
|
|
51327
|
+
width: width,
|
|
51328
|
+
disabled: disabled,
|
|
51329
|
+
error: error,
|
|
51330
|
+
errorMessage: errorMessage,
|
|
51331
|
+
selectedValue: selectedValue,
|
|
51332
|
+
xIconShow: xIconShow,
|
|
51333
|
+
onChange: onChange,
|
|
51334
|
+
showLabelOnTop: showLabelOnTop,
|
|
51335
|
+
orderBy: orderBy,
|
|
51336
|
+
elementType: elementType
|
|
51337
|
+
}));
|
|
51342
51338
|
DropdownNew.propTypes = {
|
|
51343
51339
|
placeHolder: PropTypes.string,
|
|
51344
51340
|
label: PropTypes.string,
|
|
@@ -51752,21 +51748,20 @@ const DatePicker = ({
|
|
|
51752
51748
|
};
|
|
51753
51749
|
|
|
51754
51750
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
51755
|
-
const RangePicker =
|
|
51756
|
-
|
|
51757
|
-
|
|
51758
|
-
|
|
51759
|
-
|
|
51760
|
-
|
|
51761
|
-
|
|
51762
|
-
|
|
51763
|
-
|
|
51764
|
-
|
|
51765
|
-
|
|
51766
|
-
|
|
51767
|
-
|
|
51768
|
-
|
|
51769
|
-
} = _ref;
|
|
51751
|
+
const RangePicker = ({
|
|
51752
|
+
label,
|
|
51753
|
+
onChange,
|
|
51754
|
+
borderRadius,
|
|
51755
|
+
required,
|
|
51756
|
+
width,
|
|
51757
|
+
height,
|
|
51758
|
+
placeholder,
|
|
51759
|
+
disabled,
|
|
51760
|
+
borderColor,
|
|
51761
|
+
borderColorFocus,
|
|
51762
|
+
textColor,
|
|
51763
|
+
selectedValue
|
|
51764
|
+
}) => {
|
|
51770
51765
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
51771
51766
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
51772
51767
|
const [value, setValue] = React.useState(''); // Added value state
|
|
@@ -52198,23 +52193,22 @@ const QuarterPopupPicker = ({
|
|
|
52198
52193
|
};
|
|
52199
52194
|
|
|
52200
52195
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52201
|
-
const QuarterPicker =
|
|
52202
|
-
|
|
52203
|
-
|
|
52204
|
-
|
|
52205
|
-
|
|
52206
|
-
|
|
52207
|
-
|
|
52208
|
-
|
|
52209
|
-
|
|
52210
|
-
|
|
52211
|
-
|
|
52212
|
-
|
|
52213
|
-
|
|
52214
|
-
|
|
52215
|
-
|
|
52216
|
-
|
|
52217
|
-
} = _ref;
|
|
52196
|
+
const QuarterPicker = ({
|
|
52197
|
+
availableQuarters,
|
|
52198
|
+
// ["Q1-2024"]
|
|
52199
|
+
label,
|
|
52200
|
+
onChange,
|
|
52201
|
+
borderRadius,
|
|
52202
|
+
required,
|
|
52203
|
+
width,
|
|
52204
|
+
height,
|
|
52205
|
+
placeholder,
|
|
52206
|
+
disabled,
|
|
52207
|
+
borderColor,
|
|
52208
|
+
borderColorFocus,
|
|
52209
|
+
textColor,
|
|
52210
|
+
selectedValue
|
|
52211
|
+
}) => {
|
|
52218
52212
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
52219
52213
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
52220
52214
|
const [value, setValue] = React.useState('');
|
|
@@ -52653,22 +52647,21 @@ const MonthPopupPicker = ({
|
|
|
52653
52647
|
};
|
|
52654
52648
|
|
|
52655
52649
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52656
|
-
const MonthPicker =
|
|
52657
|
-
|
|
52658
|
-
|
|
52659
|
-
|
|
52660
|
-
|
|
52661
|
-
|
|
52662
|
-
|
|
52663
|
-
|
|
52664
|
-
|
|
52665
|
-
|
|
52666
|
-
|
|
52667
|
-
|
|
52668
|
-
|
|
52669
|
-
|
|
52670
|
-
|
|
52671
|
-
} = _ref;
|
|
52650
|
+
const MonthPicker = ({
|
|
52651
|
+
availableMonths,
|
|
52652
|
+
label,
|
|
52653
|
+
onChange,
|
|
52654
|
+
borderRadius,
|
|
52655
|
+
required,
|
|
52656
|
+
width,
|
|
52657
|
+
height,
|
|
52658
|
+
placeholder,
|
|
52659
|
+
disabled,
|
|
52660
|
+
borderColor,
|
|
52661
|
+
borderColorFocus,
|
|
52662
|
+
textColor,
|
|
52663
|
+
selectedValue
|
|
52664
|
+
}) => {
|
|
52672
52665
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
52673
52666
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
52674
52667
|
const [value, setValue] = React.useState('');
|
|
@@ -53482,6 +53475,10 @@ FilterPanel.propTypes = {
|
|
|
53482
53475
|
label: PropTypes.string,
|
|
53483
53476
|
labelEmptyValue: PropTypes.string,
|
|
53484
53477
|
name: PropTypes.string,
|
|
53478
|
+
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53479
|
+
value: PropTypes.string,
|
|
53480
|
+
label: PropTypes.string
|
|
53481
|
+
})),
|
|
53485
53482
|
value: PropTypes.number,
|
|
53486
53483
|
color: PropTypes.string,
|
|
53487
53484
|
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -65850,22 +65847,21 @@ const DeleteIcon = dt.div`
|
|
|
65850
65847
|
position: absolute;
|
|
65851
65848
|
`;
|
|
65852
65849
|
|
|
65853
|
-
const QuickFilterDropdownSingle =
|
|
65854
|
-
|
|
65855
|
-
|
|
65856
|
-
|
|
65857
|
-
|
|
65858
|
-
|
|
65859
|
-
|
|
65860
|
-
|
|
65861
|
-
|
|
65862
|
-
|
|
65863
|
-
|
|
65864
|
-
|
|
65865
|
-
|
|
65866
|
-
|
|
65867
|
-
|
|
65868
|
-
} = _ref;
|
|
65850
|
+
const QuickFilterDropdownSingle = ({
|
|
65851
|
+
label,
|
|
65852
|
+
hoverColor,
|
|
65853
|
+
options,
|
|
65854
|
+
selectedValue,
|
|
65855
|
+
placeHolder,
|
|
65856
|
+
onChange,
|
|
65857
|
+
disabled,
|
|
65858
|
+
width,
|
|
65859
|
+
error,
|
|
65860
|
+
errorMessage,
|
|
65861
|
+
xIconShow,
|
|
65862
|
+
labelColor,
|
|
65863
|
+
showLabelOnTop
|
|
65864
|
+
}) => {
|
|
65869
65865
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
65870
65866
|
const [showOptions, setShowOptions] = React.useState(false);
|
|
65871
65867
|
const [inputValue, setInputValue] = React.useState("");
|
|
@@ -66263,24 +66259,23 @@ const IconContainer$1 = dt.div`
|
|
|
66263
66259
|
cursor: pointer;
|
|
66264
66260
|
`;
|
|
66265
66261
|
|
|
66266
|
-
const QuickFilterDropdownMultiSelection =
|
|
66267
|
-
|
|
66268
|
-
|
|
66269
|
-
|
|
66270
|
-
|
|
66271
|
-
|
|
66272
|
-
|
|
66273
|
-
|
|
66274
|
-
|
|
66275
|
-
|
|
66276
|
-
|
|
66277
|
-
|
|
66278
|
-
|
|
66279
|
-
|
|
66280
|
-
|
|
66281
|
-
|
|
66282
|
-
|
|
66283
|
-
} = _ref;
|
|
66262
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
66263
|
+
label,
|
|
66264
|
+
labelEmptyValue,
|
|
66265
|
+
options,
|
|
66266
|
+
selectedValue,
|
|
66267
|
+
placeHolder,
|
|
66268
|
+
onChange,
|
|
66269
|
+
required,
|
|
66270
|
+
disabled,
|
|
66271
|
+
width,
|
|
66272
|
+
error,
|
|
66273
|
+
errorMessage,
|
|
66274
|
+
labelColor,
|
|
66275
|
+
xIconShow,
|
|
66276
|
+
checkBoxColor,
|
|
66277
|
+
showLabelOnTop
|
|
66278
|
+
}) => {
|
|
66284
66279
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
66285
66280
|
const [showOptions, setShowOptions] = React.useState(false);
|
|
66286
66281
|
const [inputValue, setInputValue] = React.useState('');
|