sag_components 2.0.0-beta6 → 2.0.0-beta7
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 +6 -0
- package/dist/index.esm.js +118 -106
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +118 -106
- package/dist/index.js.map +1 -1
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -273,10 +273,16 @@ declare namespace FilterPanel {
|
|
|
273
273
|
label: PropTypes.Requireable<string>;
|
|
274
274
|
labelEmptyValue: PropTypes.Requireable<string>;
|
|
275
275
|
name: PropTypes.Requireable<string>;
|
|
276
|
+
periodPickerSelectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
277
|
+
value: PropTypes.Requireable<string>;
|
|
278
|
+
label: PropTypes.Requireable<string>;
|
|
279
|
+
}> | null | undefined)[]>;
|
|
276
280
|
selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
277
281
|
value: PropTypes.Requireable<string>;
|
|
278
282
|
label: PropTypes.Requireable<string>;
|
|
279
283
|
}> | null | undefined)[]>;
|
|
284
|
+
orderBy: PropTypes.Requireable<string>;
|
|
285
|
+
elementType: PropTypes.Requireable<string>;
|
|
280
286
|
value: PropTypes.Requireable<number>;
|
|
281
287
|
color: PropTypes.Requireable<string>;
|
|
282
288
|
dropdownOptions: PropTypes.Requireable<(PropTypes.InferProps<{
|
package/dist/index.esm.js
CHANGED
|
@@ -51247,67 +51247,70 @@ const DropdownMain = dt.div`
|
|
|
51247
51247
|
`;
|
|
51248
51248
|
|
|
51249
51249
|
/* eslint-disable react/prop-types */
|
|
51250
|
-
const DropdownNew =
|
|
51251
|
-
|
|
51252
|
-
|
|
51253
|
-
|
|
51254
|
-
|
|
51255
|
-
|
|
51256
|
-
|
|
51257
|
-
|
|
51258
|
-
|
|
51259
|
-
|
|
51260
|
-
|
|
51261
|
-
|
|
51262
|
-
|
|
51263
|
-
|
|
51264
|
-
|
|
51265
|
-
|
|
51266
|
-
|
|
51267
|
-
|
|
51268
|
-
|
|
51269
|
-
|
|
51270
|
-
|
|
51271
|
-
|
|
51272
|
-
|
|
51273
|
-
|
|
51274
|
-
|
|
51275
|
-
|
|
51276
|
-
|
|
51277
|
-
|
|
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
|
-
|
|
51250
|
+
const DropdownNew = _ref => {
|
|
51251
|
+
let {
|
|
51252
|
+
isMulti,
|
|
51253
|
+
label,
|
|
51254
|
+
labelEmptyValue,
|
|
51255
|
+
options,
|
|
51256
|
+
selectedValue,
|
|
51257
|
+
placeHolder,
|
|
51258
|
+
onChange,
|
|
51259
|
+
required,
|
|
51260
|
+
disabled,
|
|
51261
|
+
width,
|
|
51262
|
+
error,
|
|
51263
|
+
errorMessage,
|
|
51264
|
+
labelColor,
|
|
51265
|
+
checkBoxColor,
|
|
51266
|
+
xIconShow,
|
|
51267
|
+
showLabelOnTop,
|
|
51268
|
+
orderBy,
|
|
51269
|
+
elementType
|
|
51270
|
+
} = _ref;
|
|
51271
|
+
return /*#__PURE__*/React__default.createElement(DropdownMain, {
|
|
51272
|
+
className: "DropdownMain",
|
|
51273
|
+
width: width
|
|
51274
|
+
}, isMulti ? /*#__PURE__*/React__default.createElement(DropdownMultiNew, {
|
|
51275
|
+
className: "DropdownMultiNew",
|
|
51276
|
+
placeHolder: placeHolder,
|
|
51277
|
+
label: label,
|
|
51278
|
+
labelEmptyValue: labelEmptyValue,
|
|
51279
|
+
labelColor: labelColor,
|
|
51280
|
+
checkBoxColor: checkBoxColor,
|
|
51281
|
+
required: required,
|
|
51282
|
+
options: options,
|
|
51283
|
+
width: width,
|
|
51284
|
+
disabled: disabled,
|
|
51285
|
+
error: error,
|
|
51286
|
+
errorMessage: errorMessage,
|
|
51287
|
+
selectedValue: selectedValue,
|
|
51288
|
+
xIconShow: xIconShow,
|
|
51289
|
+
onChange: onChange,
|
|
51290
|
+
showLabelOnTop: showLabelOnTop,
|
|
51291
|
+
orderBy: orderBy,
|
|
51292
|
+
elementType: elementType
|
|
51293
|
+
}) : /*#__PURE__*/React__default.createElement(DropdownSingleNew, {
|
|
51294
|
+
className: "DropdownSingleNew",
|
|
51295
|
+
placeHolder: placeHolder,
|
|
51296
|
+
label: label,
|
|
51297
|
+
labelEmptyValue: labelEmptyValue,
|
|
51298
|
+
labelColor: labelColor,
|
|
51299
|
+
checkBoxColor: checkBoxColor,
|
|
51300
|
+
required: required,
|
|
51301
|
+
options: options,
|
|
51302
|
+
width: width,
|
|
51303
|
+
disabled: disabled,
|
|
51304
|
+
error: error,
|
|
51305
|
+
errorMessage: errorMessage,
|
|
51306
|
+
selectedValue: selectedValue,
|
|
51307
|
+
xIconShow: xIconShow,
|
|
51308
|
+
onChange: onChange,
|
|
51309
|
+
showLabelOnTop: showLabelOnTop,
|
|
51310
|
+
orderBy: orderBy,
|
|
51311
|
+
elementType: elementType
|
|
51312
|
+
}));
|
|
51313
|
+
};
|
|
51311
51314
|
DropdownNew.propTypes = {
|
|
51312
51315
|
placeHolder: PropTypes.string,
|
|
51313
51316
|
label: PropTypes.string,
|
|
@@ -51721,20 +51724,21 @@ const DatePicker = ({
|
|
|
51721
51724
|
};
|
|
51722
51725
|
|
|
51723
51726
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
51724
|
-
const RangePicker =
|
|
51725
|
-
|
|
51726
|
-
|
|
51727
|
-
|
|
51728
|
-
|
|
51729
|
-
|
|
51730
|
-
|
|
51731
|
-
|
|
51732
|
-
|
|
51733
|
-
|
|
51734
|
-
|
|
51735
|
-
|
|
51736
|
-
|
|
51737
|
-
|
|
51727
|
+
const RangePicker = _ref => {
|
|
51728
|
+
let {
|
|
51729
|
+
label,
|
|
51730
|
+
onChange,
|
|
51731
|
+
borderRadius,
|
|
51732
|
+
required,
|
|
51733
|
+
width,
|
|
51734
|
+
height,
|
|
51735
|
+
placeholder,
|
|
51736
|
+
disabled,
|
|
51737
|
+
borderColor,
|
|
51738
|
+
borderColorFocus,
|
|
51739
|
+
textColor,
|
|
51740
|
+
selectedValue
|
|
51741
|
+
} = _ref;
|
|
51738
51742
|
const [isFocused, setIsFocused] = useState(false);
|
|
51739
51743
|
const [isOpen, setIsOpen] = useState(false);
|
|
51740
51744
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -52166,22 +52170,23 @@ const QuarterPopupPicker = ({
|
|
|
52166
52170
|
};
|
|
52167
52171
|
|
|
52168
52172
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52169
|
-
const QuarterPicker =
|
|
52170
|
-
|
|
52171
|
-
|
|
52172
|
-
|
|
52173
|
-
|
|
52174
|
-
|
|
52175
|
-
|
|
52176
|
-
|
|
52177
|
-
|
|
52178
|
-
|
|
52179
|
-
|
|
52180
|
-
|
|
52181
|
-
|
|
52182
|
-
|
|
52183
|
-
|
|
52184
|
-
|
|
52173
|
+
const QuarterPicker = _ref => {
|
|
52174
|
+
let {
|
|
52175
|
+
availableQuarters,
|
|
52176
|
+
// ["Q1-2024"]
|
|
52177
|
+
label,
|
|
52178
|
+
onChange,
|
|
52179
|
+
borderRadius,
|
|
52180
|
+
required,
|
|
52181
|
+
width,
|
|
52182
|
+
height,
|
|
52183
|
+
placeholder,
|
|
52184
|
+
disabled,
|
|
52185
|
+
borderColor,
|
|
52186
|
+
borderColorFocus,
|
|
52187
|
+
textColor,
|
|
52188
|
+
selectedValue
|
|
52189
|
+
} = _ref;
|
|
52185
52190
|
const [isFocused, setIsFocused] = useState(false);
|
|
52186
52191
|
const [isOpen, setIsOpen] = useState(false);
|
|
52187
52192
|
const [value, setValue] = useState('');
|
|
@@ -52620,21 +52625,22 @@ const MonthPopupPicker = ({
|
|
|
52620
52625
|
};
|
|
52621
52626
|
|
|
52622
52627
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
52623
|
-
const MonthPicker =
|
|
52624
|
-
|
|
52625
|
-
|
|
52626
|
-
|
|
52627
|
-
|
|
52628
|
-
|
|
52629
|
-
|
|
52630
|
-
|
|
52631
|
-
|
|
52632
|
-
|
|
52633
|
-
|
|
52634
|
-
|
|
52635
|
-
|
|
52636
|
-
|
|
52637
|
-
|
|
52628
|
+
const MonthPicker = _ref => {
|
|
52629
|
+
let {
|
|
52630
|
+
availableMonths,
|
|
52631
|
+
label,
|
|
52632
|
+
onChange,
|
|
52633
|
+
borderRadius,
|
|
52634
|
+
required,
|
|
52635
|
+
width,
|
|
52636
|
+
height,
|
|
52637
|
+
placeholder,
|
|
52638
|
+
disabled,
|
|
52639
|
+
borderColor,
|
|
52640
|
+
borderColorFocus,
|
|
52641
|
+
textColor,
|
|
52642
|
+
selectedValue
|
|
52643
|
+
} = _ref;
|
|
52638
52644
|
const [isFocused, setIsFocused] = useState(false);
|
|
52639
52645
|
const [isOpen, setIsOpen] = useState(false);
|
|
52640
52646
|
const [value, setValue] = useState('');
|
|
@@ -53448,10 +53454,16 @@ FilterPanel.propTypes = {
|
|
|
53448
53454
|
label: PropTypes.string,
|
|
53449
53455
|
labelEmptyValue: PropTypes.string,
|
|
53450
53456
|
name: PropTypes.string,
|
|
53457
|
+
periodPickerSelectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53458
|
+
value: PropTypes.string,
|
|
53459
|
+
label: PropTypes.string
|
|
53460
|
+
})),
|
|
53451
53461
|
selectedValue: PropTypes.arrayOf(PropTypes.shape({
|
|
53452
53462
|
value: PropTypes.string,
|
|
53453
53463
|
label: PropTypes.string
|
|
53454
53464
|
})),
|
|
53465
|
+
orderBy: PropTypes.string,
|
|
53466
|
+
elementType: PropTypes.string,
|
|
53455
53467
|
value: PropTypes.number,
|
|
53456
53468
|
color: PropTypes.string,
|
|
53457
53469
|
dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
|