sag_components 2.0.0-beta13 → 2.0.0-beta15
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 +2 -93
- package/dist/index.esm.js +38 -75
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +38 -75
- package/dist/index.js.map +1 -1
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +0 -32
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +0 -61
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -645,67 +645,7 @@ declare function QuickFilter({ hoverColor, multipleSelection, xIconShow, disable
|
|
|
645
645
|
selectedValue?: any[] | undefined;
|
|
646
646
|
}): react_jsx_runtime.JSX.Element;
|
|
647
647
|
|
|
648
|
-
declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
|
|
649
|
-
declare namespace OneColumnContainer {
|
|
650
|
-
namespace propTypes {
|
|
651
|
-
const children: PropTypes.Requireable<string>;
|
|
652
|
-
const display: PropTypes.Requireable<string>;
|
|
653
|
-
const isLoading: PropTypes.Requireable<boolean>;
|
|
654
|
-
const gridTemplateColumns: PropTypes.Requireable<string>;
|
|
655
|
-
const itemClass: PropTypes.Requireable<string>;
|
|
656
|
-
const divStyle: PropTypes.Requireable<string>;
|
|
657
|
-
const overStyle: PropTypes.Requireable<string>;
|
|
658
|
-
const draggingStyle: PropTypes.Requireable<string>;
|
|
659
|
-
const droppedStyle: PropTypes.Requireable<string>;
|
|
660
|
-
const width: PropTypes.Requireable<string>;
|
|
661
|
-
const height: PropTypes.Requireable<string>;
|
|
662
|
-
const overflow: PropTypes.Requireable<string>;
|
|
663
|
-
const infoTitle: PropTypes.Requireable<string>;
|
|
664
|
-
const infoText: PropTypes.Requireable<string>;
|
|
665
|
-
const disableInfo: PropTypes.Requireable<boolean>;
|
|
666
|
-
const showViewByBannerButton: PropTypes.Requireable<boolean>;
|
|
667
|
-
const onBannerClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
668
|
-
const columnTitle: PropTypes.Requireable<string>;
|
|
669
|
-
}
|
|
670
|
-
namespace defaultProps {
|
|
671
|
-
const children_1: string;
|
|
672
|
-
export { children_1 as children };
|
|
673
|
-
const display_1: string;
|
|
674
|
-
export { display_1 as display };
|
|
675
|
-
const isLoading_1: string;
|
|
676
|
-
export { isLoading_1 as isLoading };
|
|
677
|
-
const gridTemplateColumns_1: string;
|
|
678
|
-
export { gridTemplateColumns_1 as gridTemplateColumns };
|
|
679
|
-
const itemClass_1: string;
|
|
680
|
-
export { itemClass_1 as itemClass };
|
|
681
|
-
const divStyle_1: string;
|
|
682
|
-
export { divStyle_1 as divStyle };
|
|
683
|
-
const overStyle_1: string;
|
|
684
|
-
export { overStyle_1 as overStyle };
|
|
685
|
-
const draggingStyle_1: string;
|
|
686
|
-
export { draggingStyle_1 as draggingStyle };
|
|
687
|
-
const droppedStyle_1: string;
|
|
688
|
-
export { droppedStyle_1 as droppedStyle };
|
|
689
|
-
const width_1: string;
|
|
690
|
-
export { width_1 as width };
|
|
691
|
-
const height_1: string;
|
|
692
|
-
export { height_1 as height };
|
|
693
|
-
const overflow_1: string;
|
|
694
|
-
export { overflow_1 as overflow };
|
|
695
|
-
const infoTitle_1: string;
|
|
696
|
-
export { infoTitle_1 as infoTitle };
|
|
697
|
-
const infoText_1: string;
|
|
698
|
-
export { infoText_1 as infoText };
|
|
699
|
-
const disableInfo_1: boolean;
|
|
700
|
-
export { disableInfo_1 as disableInfo };
|
|
701
|
-
const showViewByBannerButton_1: boolean;
|
|
702
|
-
export { showViewByBannerButton_1 as showViewByBannerButton };
|
|
703
|
-
export function onBannerClick_1(): void;
|
|
704
|
-
export { onBannerClick_1 as onBannerClick };
|
|
705
|
-
const columnTitle_1: string;
|
|
706
|
-
export { columnTitle_1 as columnTitle };
|
|
707
|
-
}
|
|
708
|
-
}
|
|
648
|
+
declare function OneColumnContainer(props: any): react_jsx_runtime.JSX.Element;
|
|
709
649
|
|
|
710
650
|
declare function BarChartsByWeeks(props: any): react_jsx_runtime.JSX.Element;
|
|
711
651
|
declare namespace BarChartsByWeeks {
|
|
@@ -1130,38 +1070,7 @@ declare namespace IconButton {
|
|
|
1130
1070
|
}
|
|
1131
1071
|
}
|
|
1132
1072
|
|
|
1133
|
-
declare function DoublePanelDataRow(props: any): react_jsx_runtime.JSX.Element;
|
|
1134
|
-
declare namespace DoublePanelDataRow {
|
|
1135
|
-
namespace propTypes {
|
|
1136
|
-
const className: PropTypes.Requireable<string>;
|
|
1137
|
-
const width: PropTypes.Requireable<string>;
|
|
1138
|
-
const height: PropTypes.Requireable<string>;
|
|
1139
|
-
const data: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1140
|
-
title: PropTypes.Requireable<string>;
|
|
1141
|
-
value: PropTypes.Requireable<number>;
|
|
1142
|
-
sign: PropTypes.Requireable<string>;
|
|
1143
|
-
}> | null | undefined)[]>;
|
|
1144
|
-
const backgroundColor: PropTypes.Requireable<string>;
|
|
1145
|
-
const customDataFormat: PropTypes.Requireable<boolean>;
|
|
1146
|
-
const showPercentChange: PropTypes.Requireable<boolean>;
|
|
1147
|
-
}
|
|
1148
|
-
namespace defaultProps {
|
|
1149
|
-
const className_1: string;
|
|
1150
|
-
export { className_1 as className };
|
|
1151
|
-
const width_1: string;
|
|
1152
|
-
export { width_1 as width };
|
|
1153
|
-
const height_1: string;
|
|
1154
|
-
export { height_1 as height };
|
|
1155
|
-
const data_1: never[];
|
|
1156
|
-
export { data_1 as data };
|
|
1157
|
-
const backgroundColor_1: string;
|
|
1158
|
-
export { backgroundColor_1 as backgroundColor };
|
|
1159
|
-
const customDataFormat_1: boolean;
|
|
1160
|
-
export { customDataFormat_1 as customDataFormat };
|
|
1161
|
-
const showPercentChange_1: boolean;
|
|
1162
|
-
export { showPercentChange_1 as showPercentChange };
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1073
|
+
declare function DoublePanelDataRow(props: any): react_jsx_runtime.JSX.Element;
|
|
1165
1074
|
|
|
1166
1075
|
declare function BarChart(props: any): react_jsx_runtime.JSX.Element;
|
|
1167
1076
|
declare namespace BarChart {
|
package/dist/index.esm.js
CHANGED
|
@@ -4732,19 +4732,18 @@ const InfoIcon = _ref => {
|
|
|
4732
4732
|
}));
|
|
4733
4733
|
};
|
|
4734
4734
|
|
|
4735
|
-
const LinkButton =
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
} = _ref;
|
|
4735
|
+
const LinkButton = ({
|
|
4736
|
+
text = '',
|
|
4737
|
+
type = 'primary',
|
|
4738
|
+
size = 'small',
|
|
4739
|
+
height = '',
|
|
4740
|
+
width = '',
|
|
4741
|
+
disabled = false,
|
|
4742
|
+
textColor = '',
|
|
4743
|
+
onClick,
|
|
4744
|
+
leftIcon = 'none',
|
|
4745
|
+
rightIcon = 'none'
|
|
4746
|
+
}) => {
|
|
4748
4747
|
// const {
|
|
4749
4748
|
// text,
|
|
4750
4749
|
// type,
|
|
@@ -27353,46 +27352,6 @@ const OneColumnContainer = props => {
|
|
|
27353
27352
|
containerClassName: "avatar-skeleton"
|
|
27354
27353
|
})))));
|
|
27355
27354
|
};
|
|
27356
|
-
OneColumnContainer.propTypes = {
|
|
27357
|
-
children: PropTypes.string,
|
|
27358
|
-
display: PropTypes.string,
|
|
27359
|
-
isLoading: PropTypes.bool,
|
|
27360
|
-
gridTemplateColumns: PropTypes.string,
|
|
27361
|
-
itemClass: PropTypes.string,
|
|
27362
|
-
divStyle: PropTypes.string,
|
|
27363
|
-
overStyle: PropTypes.string,
|
|
27364
|
-
draggingStyle: PropTypes.string,
|
|
27365
|
-
droppedStyle: PropTypes.string,
|
|
27366
|
-
width: PropTypes.string,
|
|
27367
|
-
height: PropTypes.string,
|
|
27368
|
-
overflow: PropTypes.string,
|
|
27369
|
-
infoTitle: PropTypes.string,
|
|
27370
|
-
infoText: PropTypes.string,
|
|
27371
|
-
disableInfo: PropTypes.bool,
|
|
27372
|
-
showViewByBannerButton: PropTypes.bool,
|
|
27373
|
-
onBannerClick: PropTypes.func,
|
|
27374
|
-
columnTitle: PropTypes.string
|
|
27375
|
-
};
|
|
27376
|
-
OneColumnContainer.defaultProps = {
|
|
27377
|
-
children: '',
|
|
27378
|
-
display: 'block',
|
|
27379
|
-
isLoading: '',
|
|
27380
|
-
gridTemplateColumns: '',
|
|
27381
|
-
itemClass: '',
|
|
27382
|
-
divStyle: '',
|
|
27383
|
-
overStyle: '',
|
|
27384
|
-
draggingStyle: '',
|
|
27385
|
-
droppedStyle: '',
|
|
27386
|
-
width: '300px',
|
|
27387
|
-
height: '300px',
|
|
27388
|
-
overflow: 'hidden',
|
|
27389
|
-
infoTitle: '',
|
|
27390
|
-
infoText: '',
|
|
27391
|
-
disableInfo: false,
|
|
27392
|
-
showViewByBannerButton: false,
|
|
27393
|
-
onBannerClick: () => {},
|
|
27394
|
-
columnTitle: ''
|
|
27395
|
-
};
|
|
27396
27355
|
|
|
27397
27356
|
const scrollableStyles$3 = `
|
|
27398
27357
|
overflow-y: auto;
|
|
@@ -30228,28 +30187,32 @@ const DoublePanelDataRow = props => {
|
|
|
30228
30187
|
className: "DataBoxValue"
|
|
30229
30188
|
}, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")) : /*#__PURE__*/React$1.createElement(BigValue, null, ''.concat(getFormattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")), showPercentChange && getArrowSign(item.value >= 0 ? 'up' : 'down')) : /*#__PURE__*/React$1.createElement(CellItemNoValue, null, "N/A")), /*#__PURE__*/React$1.createElement(ValueChange, null))));
|
|
30230
30189
|
};
|
|
30231
|
-
|
|
30232
|
-
|
|
30233
|
-
|
|
30234
|
-
|
|
30235
|
-
|
|
30236
|
-
|
|
30237
|
-
|
|
30238
|
-
|
|
30239
|
-
|
|
30240
|
-
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30190
|
+
|
|
30191
|
+
// DoublePanelDataRow.propTypes = {
|
|
30192
|
+
// className: PropTypes.string,
|
|
30193
|
+
// width: PropTypes.string,
|
|
30194
|
+
// height: PropTypes.string,
|
|
30195
|
+
// data: PropTypes.arrayOf(
|
|
30196
|
+
// PropTypes.shape({
|
|
30197
|
+
// title: PropTypes.string,
|
|
30198
|
+
// value: PropTypes.number,
|
|
30199
|
+
// sign: PropTypes.string,
|
|
30200
|
+
// }),
|
|
30201
|
+
// ),
|
|
30202
|
+
// backgroundColor: PropTypes.string,
|
|
30203
|
+
// customDataFormat: PropTypes.bool,
|
|
30204
|
+
// showPercentChange: PropTypes.bool,
|
|
30205
|
+
// };
|
|
30206
|
+
|
|
30207
|
+
// DoublePanelDataRow.defaultProps = {
|
|
30208
|
+
// className: '',
|
|
30209
|
+
// width: '100%',
|
|
30210
|
+
// height: 'auto',
|
|
30211
|
+
// data: [],
|
|
30212
|
+
// backgroundColor: '#FFFFFF',
|
|
30213
|
+
// customDataFormat: false,
|
|
30214
|
+
// showPercentChange: false,
|
|
30215
|
+
// };
|
|
30253
30216
|
|
|
30254
30217
|
const ControlsContainer = dt.div`
|
|
30255
30218
|
position: relative;
|