sag_components 2.0.0-beta7 → 2.0.0-beta8
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 +109 -109
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +109 -109
- 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,18 +44316,19 @@ const InfoIcon = _ref => {
|
|
|
44316
44316
|
}));
|
|
44317
44317
|
};
|
|
44318
44318
|
|
|
44319
|
-
const LinkButton =
|
|
44320
|
-
|
|
44321
|
-
|
|
44322
|
-
|
|
44323
|
-
|
|
44324
|
-
|
|
44325
|
-
|
|
44326
|
-
|
|
44327
|
-
|
|
44328
|
-
|
|
44329
|
-
|
|
44330
|
-
|
|
44319
|
+
const LinkButton = _ref => {
|
|
44320
|
+
let {
|
|
44321
|
+
text = '',
|
|
44322
|
+
type = 'primary',
|
|
44323
|
+
size = 'small',
|
|
44324
|
+
height = '',
|
|
44325
|
+
width = '',
|
|
44326
|
+
disabled = false,
|
|
44327
|
+
textColor = '',
|
|
44328
|
+
onClick,
|
|
44329
|
+
leftIcon = 'none',
|
|
44330
|
+
rightIcon = 'none'
|
|
44331
|
+
} = _ref;
|
|
44331
44332
|
// const {
|
|
44332
44333
|
// text,
|
|
44333
44334
|
// type,
|
|
@@ -51274,70 +51275,67 @@ const DropdownMain = dt.div`
|
|
|
51274
51275
|
`;
|
|
51275
51276
|
|
|
51276
51277
|
/* eslint-disable react/prop-types */
|
|
51277
|
-
const DropdownNew =
|
|
51278
|
-
|
|
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
|
-
elementType: elementType
|
|
51339
|
-
}));
|
|
51340
|
-
};
|
|
51278
|
+
const DropdownNew = ({
|
|
51279
|
+
isMulti,
|
|
51280
|
+
label,
|
|
51281
|
+
labelEmptyValue,
|
|
51282
|
+
options,
|
|
51283
|
+
selectedValue,
|
|
51284
|
+
placeHolder,
|
|
51285
|
+
onChange,
|
|
51286
|
+
required,
|
|
51287
|
+
disabled,
|
|
51288
|
+
width,
|
|
51289
|
+
error,
|
|
51290
|
+
errorMessage,
|
|
51291
|
+
labelColor,
|
|
51292
|
+
checkBoxColor,
|
|
51293
|
+
xIconShow,
|
|
51294
|
+
showLabelOnTop,
|
|
51295
|
+
orderBy,
|
|
51296
|
+
elementType
|
|
51297
|
+
}) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
51298
|
+
className: "DropdownMain",
|
|
51299
|
+
width: width
|
|
51300
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
51301
|
+
className: "DropdownMultiNew",
|
|
51302
|
+
placeHolder: placeHolder,
|
|
51303
|
+
label: label,
|
|
51304
|
+
labelEmptyValue: labelEmptyValue,
|
|
51305
|
+
labelColor: labelColor,
|
|
51306
|
+
checkBoxColor: checkBoxColor,
|
|
51307
|
+
required: required,
|
|
51308
|
+
options: options,
|
|
51309
|
+
width: width,
|
|
51310
|
+
disabled: disabled,
|
|
51311
|
+
error: error,
|
|
51312
|
+
errorMessage: errorMessage,
|
|
51313
|
+
selectedValue: selectedValue,
|
|
51314
|
+
xIconShow: xIconShow,
|
|
51315
|
+
onChange: onChange,
|
|
51316
|
+
showLabelOnTop: showLabelOnTop,
|
|
51317
|
+
orderBy: orderBy,
|
|
51318
|
+
elementType: elementType
|
|
51319
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
51320
|
+
className: "DropdownSingleNew",
|
|
51321
|
+
placeHolder: placeHolder,
|
|
51322
|
+
label: label,
|
|
51323
|
+
labelEmptyValue: labelEmptyValue,
|
|
51324
|
+
labelColor: labelColor,
|
|
51325
|
+
checkBoxColor: checkBoxColor,
|
|
51326
|
+
required: required,
|
|
51327
|
+
options: options,
|
|
51328
|
+
width: width,
|
|
51329
|
+
disabled: disabled,
|
|
51330
|
+
error: error,
|
|
51331
|
+
errorMessage: errorMessage,
|
|
51332
|
+
selectedValue: selectedValue,
|
|
51333
|
+
xIconShow: xIconShow,
|
|
51334
|
+
onChange: onChange,
|
|
51335
|
+
showLabelOnTop: showLabelOnTop,
|
|
51336
|
+
orderBy: orderBy,
|
|
51337
|
+
elementType: elementType
|
|
51338
|
+
}));
|
|
51341
51339
|
DropdownNew.propTypes = {
|
|
51342
51340
|
placeHolder: PropTypes.string,
|
|
51343
51341
|
label: PropTypes.string,
|
|
@@ -52197,23 +52195,22 @@ const QuarterPopupPicker = ({
|
|
|
52197
52195
|
};
|
|
52198
52196
|
|
|
52199
52197
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52200
|
-
const QuarterPicker =
|
|
52201
|
-
|
|
52202
|
-
|
|
52203
|
-
|
|
52204
|
-
|
|
52205
|
-
|
|
52206
|
-
|
|
52207
|
-
|
|
52208
|
-
|
|
52209
|
-
|
|
52210
|
-
|
|
52211
|
-
|
|
52212
|
-
|
|
52213
|
-
|
|
52214
|
-
|
|
52215
|
-
|
|
52216
|
-
} = _ref;
|
|
52198
|
+
const QuarterPicker = ({
|
|
52199
|
+
availableQuarters,
|
|
52200
|
+
// ["Q1-2024"]
|
|
52201
|
+
label,
|
|
52202
|
+
onChange,
|
|
52203
|
+
borderRadius,
|
|
52204
|
+
required,
|
|
52205
|
+
width,
|
|
52206
|
+
height,
|
|
52207
|
+
placeholder,
|
|
52208
|
+
disabled,
|
|
52209
|
+
borderColor,
|
|
52210
|
+
borderColorFocus,
|
|
52211
|
+
textColor,
|
|
52212
|
+
selectedValue
|
|
52213
|
+
}) => {
|
|
52217
52214
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
52218
52215
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
52219
52216
|
const [value, setValue] = React.useState('');
|
|
@@ -52652,22 +52649,21 @@ const MonthPopupPicker = ({
|
|
|
52652
52649
|
};
|
|
52653
52650
|
|
|
52654
52651
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52655
|
-
const MonthPicker =
|
|
52656
|
-
|
|
52657
|
-
|
|
52658
|
-
|
|
52659
|
-
|
|
52660
|
-
|
|
52661
|
-
|
|
52662
|
-
|
|
52663
|
-
|
|
52664
|
-
|
|
52665
|
-
|
|
52666
|
-
|
|
52667
|
-
|
|
52668
|
-
|
|
52669
|
-
|
|
52670
|
-
} = _ref;
|
|
52652
|
+
const MonthPicker = ({
|
|
52653
|
+
availableMonths,
|
|
52654
|
+
label,
|
|
52655
|
+
onChange,
|
|
52656
|
+
borderRadius,
|
|
52657
|
+
required,
|
|
52658
|
+
width,
|
|
52659
|
+
height,
|
|
52660
|
+
placeholder,
|
|
52661
|
+
disabled,
|
|
52662
|
+
borderColor,
|
|
52663
|
+
borderColorFocus,
|
|
52664
|
+
textColor,
|
|
52665
|
+
selectedValue
|
|
52666
|
+
}) => {
|
|
52671
52667
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
52672
52668
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
52673
52669
|
const [value, setValue] = React.useState('');
|
|
@@ -53493,6 +53489,10 @@ FilterPanel.propTypes = {
|
|
|
53493
53489
|
elementType: PropTypes.string,
|
|
53494
53490
|
value: PropTypes.number,
|
|
53495
53491
|
color: PropTypes.string,
|
|
53492
|
+
defaultValueYears: PropTypes.shape({
|
|
53493
|
+
value: PropTypes.string,
|
|
53494
|
+
label: PropTypes.string
|
|
53495
|
+
}),
|
|
53496
53496
|
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
53497
53497
|
value: PropTypes.string,
|
|
53498
53498
|
label: PropTypes.string
|