@bikdotai/bik-component-library 0.0.792 → 0.0.794

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.
Files changed (31) hide show
  1. package/dist/cjs/components/SearchFilter/components/FilterChipListRenderer.js +1 -1
  2. package/dist/cjs/components/SearchFilter/components/SearchFilterItem.js +1 -1
  3. package/dist/cjs/components/TablePagination/TablePagination.d.ts +7 -1
  4. package/dist/cjs/components/TablePagination/TablePagination.js +1 -1
  5. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.js +1 -1
  6. package/dist/cjs/components/analytics-chips-and-dropdowns/chart/scoreBlock/types.d.ts +14 -21
  7. package/dist/cjs/components/half-doughnut-chart/HalfDoughnutChart.d.ts +3 -0
  8. package/dist/cjs/components/half-doughnut-chart/HalfDoughnutChart.js +1 -0
  9. package/dist/cjs/components/half-doughnut-chart/HalfDoughnutChart.styled.d.ts +44 -0
  10. package/dist/cjs/components/half-doughnut-chart/HalfDoughnutChart.styled.js +1 -0
  11. package/dist/cjs/components/half-doughnut-chart/index.d.ts +2 -0
  12. package/dist/cjs/components/half-doughnut-chart/model.d.ts +22 -0
  13. package/dist/cjs/components/postPicker/postPicker.js +1 -1
  14. package/dist/cjs/index.d.ts +1 -0
  15. package/dist/cjs/index.js +1 -1
  16. package/dist/esm/components/SearchFilter/components/FilterChipListRenderer.js +1 -1
  17. package/dist/esm/components/SearchFilter/components/SearchFilterItem.js +1 -1
  18. package/dist/esm/components/TablePagination/TablePagination.d.ts +7 -1
  19. package/dist/esm/components/TablePagination/TablePagination.js +1 -1
  20. package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.js +1 -1
  21. package/dist/esm/components/analytics-chips-and-dropdowns/chart/scoreBlock/types.d.ts +14 -21
  22. package/dist/esm/components/half-doughnut-chart/HalfDoughnutChart.d.ts +3 -0
  23. package/dist/esm/components/half-doughnut-chart/HalfDoughnutChart.js +1 -0
  24. package/dist/esm/components/half-doughnut-chart/HalfDoughnutChart.styled.d.ts +44 -0
  25. package/dist/esm/components/half-doughnut-chart/HalfDoughnutChart.styled.js +1 -0
  26. package/dist/esm/components/half-doughnut-chart/index.d.ts +2 -0
  27. package/dist/esm/components/half-doughnut-chart/model.d.ts +22 -0
  28. package/dist/esm/components/postPicker/postPicker.js +1 -1
  29. package/dist/esm/index.d.ts +1 -0
  30. package/dist/esm/index.js +1 -1
  31. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../tooltips/Tooltip.js"),require("../../../constants/Theme.js"),require("../../TypographyStyle.js"),require("../../analytics-chips-and-dropdowns/CommonStyles.js");var r=require("../../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("react"),require("../../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../../utils/DateUtils.js");var a=require("../../tag/Tag.js");require("../../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js");var i=require("../../../assets/icons/cross.svg.js"),t=require("../types/SearchFilter.type.js");exports.FilterChipListRenderer=n=>{let{selectedState:l,onDeSelect:s}=n;return e.jsx(e.Fragment,{children:l.map((n=>{var l,o,d,c,p,u,h,y,v,j,g;if(n.type===t.FilterType.Multiple)return e.jsx(e.Fragment,{children:null===(l=n.value)||void 0===l?void 0:l.map((r=>{var t,l;return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,r),style:{cursor:"pointer"},tagText:null!==(l=null===(t=r.label)||void 0===t?void 0:t.slice(0,10))&&void 0!==l?l:"",type:"neutral",theme:"light",TrailingIcon:i.default},`${n.id}-${r.value}`)}))});if(n.type===t.FilterType.Date)return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:r.formatDate(n.value),type:"neutral",theme:"light",TrailingIcon:i.default},n.id);if(n.type===t.FilterType.DateRange)return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:`${r.formatDate(null===(o=n.value)||void 0===o?void 0:o[0])} to ${r.formatDate(null===(d=n.value)||void 0===d?void 0:d[1])}`,type:"neutral",theme:"light",TrailingIcon:i.default},n.id);return(n.type===t.FilterType.Single?null!==(p=null===(c=n.value)||void 0===c?void 0:c.label)&&void 0!==p?p:"":null!==(h=null===(u=n.value)||void 0===u?void 0:u.toString())&&void 0!==h?h:"")?e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:n.type===t.FilterType.Single?null!==(v=null===(y=n.value)||void 0===y?void 0:y.label)&&void 0!==v?v:"":null!==(g=null===(j=n.value)||void 0===j?void 0:j.toString())&&void 0!==g?g:"",type:"neutral",theme:"light",TrailingIcon:i.default},n.id):e.jsx(e.Fragment,{})}))})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../tooltips/Tooltip.js"),require("../../../constants/Theme.js"),require("../../TypographyStyle.js"),require("../../analytics-chips-and-dropdowns/CommonStyles.js");var r=require("../../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("react"),require("../../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../../utils/DateUtils.js");var a=require("../../tag/Tag.js");require("../../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../../half-doughnut-chart/HalfDoughnutChart.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js");var i=require("../../../assets/icons/cross.svg.js"),t=require("../types/SearchFilter.type.js");exports.FilterChipListRenderer=n=>{let{selectedState:l,onDeSelect:s}=n;return e.jsx(e.Fragment,{children:l.map((n=>{var l,o,d,c,u,p,h,y,v,j,g;if(n.type===t.FilterType.Multiple)return e.jsx(e.Fragment,{children:null===(l=n.value)||void 0===l?void 0:l.map((r=>{var t,l;return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,r),style:{cursor:"pointer"},tagText:null!==(l=null===(t=r.label)||void 0===t?void 0:t.slice(0,10))&&void 0!==l?l:"",type:"neutral",theme:"light",TrailingIcon:i.default},`${n.id}-${r.value}`)}))});if(n.type===t.FilterType.Date)return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:r.formatDate(n.value),type:"neutral",theme:"light",TrailingIcon:i.default},n.id);if(n.type===t.FilterType.DateRange)return e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:`${r.formatDate(null===(o=n.value)||void 0===o?void 0:o[0])} to ${r.formatDate(null===(d=n.value)||void 0===d?void 0:d[1])}`,type:"neutral",theme:"light",TrailingIcon:i.default},n.id);return(n.type===t.FilterType.Single?null!==(u=null===(c=n.value)||void 0===c?void 0:c.label)&&void 0!==u?u:"":null!==(h=null===(p=n.value)||void 0===p?void 0:p.toString())&&void 0!==h?h:"")?e.jsx(a.Tag,{onTrailingIconClicked:()=>s(n.id,n.value),style:{cursor:"pointer"},tagText:n.type===t.FilterType.Single?null!==(v=null===(y=n.value)||void 0===y?void 0:y.label)&&void 0!==v?v:"":null!==(g=null===(j=n.value)||void 0===j?void 0:j.toString())&&void 0!==g?g:"",type:"neutral",theme:"light",TrailingIcon:i.default},n.id):e.jsx(e.Fragment,{})}))})};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../tooltips/Tooltip.js"),require("../../../constants/Theme.js"),require("../../TypographyStyle.js"),require("../../analytics-chips-and-dropdowns/CommonStyles.js");var r=require("../../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("react"),require("../../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../../utils/DateUtils.js"),require("../../tag/Tag.js"),require("../../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js"),require("../../dropdown/DropdownPopover/index.js");var t=require("../../dropdown/Dropdown.js"),a=require("../../dropdown/ChipDropdown.js");require("../../zeroState/ZeroState.js"),require("../../../_virtual/_tslib.js"),require("lodash/debounce"),require("../../dropdown/OpenedDropdown/components/description/Description.styled.js"),require("../../checkBox/CheckBox.styled.js"),require("../../list-item/ListItem.js"),require("../../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js"),require("../../dropdown/OpenedDropdown/components/menu/MenuItem.js"),require("../../dropdown/OpenedDropdown/components/menu/MenuList.styled.js"),require("../../button/Button.js"),require("../../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js"),require("../../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js"),require("../../icon-button/IconButton.js"),require("../../input/Input.js"),require("../../dropdown/MenuItem/MenuItem.js");var n=require("../types/SearchFilter.type.js"),o=require("./DatePickerButton.js"),i=require("./DateRangeOnlyButton.js");const s=[{label:"Last 7 days",value:"7 days",key:7,noOfDays:7},{label:"Last 30 days",value:"30 days",key:30,noOfDays:30},{label:"Custom range",value:"calender",key:"custom",isCustom:!0,dateRangeSelectionOptions:{selectRange:!0}}];exports.SearchFilterItem=d=>{var p,c,l;return d.type===n.FilterType.Date?e.jsx(o.DatePickerButton,Object.assign({},d,{variant:d.variant,onSelect:e=>d.onChange(e)})):d.type===n.FilterType.DateRange?d.rangePickerDateOnly?e.jsx(i.DateRangeOnlyButton,Object.assign({},d,{variant:d.variant,onSelect:e=>d.onChange(e)})):e.jsx(r.AnalyticsDropdown,{datePickerPlacement:d.datePickerPlacement,variant:d.variant,placeholder:d.text,options:d.preset?s:null!==(p=d.options)&&void 0!==p?p:[],onOptionSelected:function(e){var r,t;e.selectedRange&&d.onChange([null===(r=e.selectedRange)||void 0===r?void 0:r[0],null===(t=e.selectedRange)||void 0===t?void 0:t[1]])}},d.id):"small"===d.variant?e.jsx(a.ChipDropdown,{isMultiSelect:d.type===n.FilterType.Multiple,options:null!==(c=d.options)&&void 0!==c?c:[],defaultOptions:d.defaultValue,onSelect:d.onChange,placeHolder:d.text}):e.jsx(t.Dropdown,{isMultiSelect:d.type===n.FilterType.Multiple,size:"small",options:null!==(l=d.options)&&void 0!==l?l:[],defaultOptions:d.defaultValue,onSelect:d.onChange,placeHolder:d.text,width:10*d.text.length+"px"})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("../../tooltips/Tooltip.js"),require("../../../constants/Theme.js"),require("../../TypographyStyle.js"),require("../../analytics-chips-and-dropdowns/CommonStyles.js");var r=require("../../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("react"),require("../../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../../utils/DateUtils.js"),require("../../tag/Tag.js"),require("../../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../../half-doughnut-chart/HalfDoughnutChart.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js"),require("../../dropdown/DropdownPopover/index.js");var t=require("../../dropdown/Dropdown.js"),a=require("../../dropdown/ChipDropdown.js");require("../../zeroState/ZeroState.js"),require("../../../_virtual/_tslib.js"),require("lodash/debounce"),require("../../dropdown/OpenedDropdown/components/description/Description.styled.js"),require("../../checkBox/CheckBox.styled.js"),require("../../list-item/ListItem.js"),require("../../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js"),require("../../dropdown/OpenedDropdown/components/menu/MenuItem.js"),require("../../dropdown/OpenedDropdown/components/menu/MenuList.styled.js"),require("../../button/Button.js"),require("../../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js"),require("../../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js"),require("../../icon-button/IconButton.js"),require("../../input/Input.js"),require("../../dropdown/MenuItem/MenuItem.js");var n=require("../types/SearchFilter.type.js"),o=require("./DatePickerButton.js"),i=require("./DateRangeOnlyButton.js");const s=[{label:"Last 7 days",value:"7 days",key:7,noOfDays:7},{label:"Last 30 days",value:"30 days",key:30,noOfDays:30},{label:"Custom range",value:"calender",key:"custom",isCustom:!0,dateRangeSelectionOptions:{selectRange:!0}}];exports.SearchFilterItem=d=>{var p,c,l;return d.type===n.FilterType.Date?e.jsx(o.DatePickerButton,Object.assign({},d,{variant:d.variant,onSelect:e=>d.onChange(e)})):d.type===n.FilterType.DateRange?d.rangePickerDateOnly?e.jsx(i.DateRangeOnlyButton,Object.assign({},d,{variant:d.variant,onSelect:e=>d.onChange(e)})):e.jsx(r.AnalyticsDropdown,{datePickerPlacement:d.datePickerPlacement,variant:d.variant,placeholder:d.text,options:d.preset?s:null!==(p=d.options)&&void 0!==p?p:[],onOptionSelected:function(e){var r,t;e.selectedRange&&d.onChange([null===(r=e.selectedRange)||void 0===r?void 0:r[0],null===(t=e.selectedRange)||void 0===t?void 0:t[1]])}},d.id):"small"===d.variant?e.jsx(a.ChipDropdown,{isMultiSelect:d.type===n.FilterType.Multiple,options:null!==(c=d.options)&&void 0!==c?c:[],defaultOptions:d.defaultValue,onSelect:d.onChange,placeHolder:d.text}):e.jsx(t.Dropdown,{isMultiSelect:d.type===n.FilterType.Multiple,size:"small",options:null!==(l=d.options)&&void 0!==l?l:[],defaultOptions:d.defaultValue,onSelect:d.onChange,placeHolder:d.text,width:10*d.text.length+"px"})};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DropdownOption } from "../dropdown/type";
3
3
  export type TablePaginationProps = {
4
- pageSize: 5 | 10 | 20;
4
+ pageSize: number;
5
5
  pageNumber: number;
6
6
  totalRows: number;
7
7
  hidePageSizeOptions?: boolean;
@@ -11,5 +11,11 @@ export type TablePaginationProps = {
11
11
  totalTextAlignment?: 'left' | 'right';
12
12
  removeBorder?: boolean;
13
13
  containerStyle?: React.CSSProperties;
14
+ /**
15
+ * Optional override for the rows-per-page dropdown options. Defaults to
16
+ * [5, 10, 20] to preserve existing behaviour. Pass e.g. [10, 50, 100] to
17
+ * widen the page size choices for large tables.
18
+ */
19
+ pageSizeOptions?: number[];
14
20
  };
15
21
  export declare const TablePagination: React.FC<TablePaginationProps>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/chevronLeft.svg.js"),o=require("../../assets/icons/chevronRight.svg.js");require("../dropdown/DropdownPopover/index.js");var n=require("../dropdown/Dropdown.js");require("../dropdown/ChipDropdown.js"),require("react"),require("../zeroState/ZeroState.js");var r=require("../../constants/Theme.js");require("../../_virtual/_tslib.js"),require("lodash/debounce");var s=require("../TypographyStyle.js");require("../dropdown/OpenedDropdown/components/description/Description.styled.js"),require("../checkBox/CheckBox.styled.js"),require("../list-item/ListItem.js"),require("../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js"),require("../dropdown/OpenedDropdown/components/menu/MenuItem.js"),require("../dropdown/OpenedDropdown/components/menu/MenuList.styled.js"),require("../button/Button.js"),require("../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js"),require("../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js"),require("../icon-button/IconButton.js"),require("../input/Input.js"),require("../dropdown/MenuItem/MenuItem.js");var i=require("./TablePagination.styled.js");const a=t=>{let{pageStart:o,pageEnd:n,totalRows:i,shouldShow:a}=t;if(!a)return null;const d=r.DEFAULT_THEME.colorsV2;return e.jsxs(s.BodySecondary,Object.assign({style:{color:d.content.placeholder}},{children:["Showing ",o,"-",n>i?i:n," of"," ",i," results"]}))};exports.TablePagination=d=>{let{pageNumber:l,pageSize:c,totalRows:p,updatePageNumber:u,updatePageSize:j,hidePageSizeOptions:g,showTotalText:h,totalTextAlignment:w="right",containerStyle:m={}}=d;const y=r.DEFAULT_THEME.colorsV2,q=(l-1)*c+1,x=(l-1)*c+c,b=Math.ceil(p/c),S=1==b;let v=[];v=b>=5?l===b?[l-4,l-3,l-2,l-1,l]:1===l?[l,l+1,l+2,l+3,l+4]:2===l?[l-1,l,l+1,l+2,l+3]:l===b-1?[l-3,l-2,l-1,l,l+1]:[l-2,l-1,l,l+1,l+2]:Array.from({length:b},((e,t)=>t+1));const O=[{label:"5 rows per page",value:"5",selected:5===c},{label:"10 rows per page",value:"10",selected:10===c},{label:"20 rows per page",value:"20",selected:20===c}];return e.jsxs(i.StyledTablePaginationContainer,Object.assign({style:m},{children:[!g&&e.jsx("div",{children:e.jsx(n.Dropdown,{size:"small",options:O,onSelect:j,width:"162px"})}),e.jsxs("div",Object.assign({className:"paging__container"},{children:[e.jsx(a,{pageStart:q,pageEnd:x,totalRows:p,shouldShow:!!(!g&&p>0||g&&p>0&&h&&"left"===w)}),e.jsxs("div",Object.assign({className:"pages__buttons-container"},{children:[!S&&e.jsx(i.StyledPagingContainer,Object.assign({active:!1,onClick:()=>{1!==l&&u(Math.max(l-1,1))},disabled:1===l},{children:e.jsx(t.default,{color:y.content.secondary,height:14,width:14})})),v.map((t=>e.jsx(i.StyledPagingContainer,Object.assign({active:t==l,onClick:()=>u(t),style:{display:1==t&&p<=c?"none":"flex"}},{children:e.jsx(s.BodySecondary,Object.assign({style:{color:t==l?y.content.primaryInverse:y.content.secondary}},{children:t}))}),t))),!S&&e.jsx(i.StyledPagingContainer,Object.assign({isLast:!0,active:!1,onClick:()=>{l!==b&&u(Math.min(l+1,b))},disabled:l===b},{children:e.jsx(o.default,{color:y.content.secondary,height:14,width:14})}))]})),e.jsx(a,{pageStart:q,pageEnd:x,totalRows:p,shouldShow:!!(g&&p>0&&h&&"right"===w)})]}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/chevronLeft.svg.js"),o=require("../../assets/icons/chevronRight.svg.js");require("../dropdown/DropdownPopover/index.js");var n=require("../dropdown/Dropdown.js");require("../dropdown/ChipDropdown.js"),require("react"),require("../zeroState/ZeroState.js");var r=require("../../constants/Theme.js");require("../../_virtual/_tslib.js"),require("lodash/debounce");var s=require("../TypographyStyle.js");require("../dropdown/OpenedDropdown/components/description/Description.styled.js"),require("../checkBox/CheckBox.styled.js"),require("../list-item/ListItem.js"),require("../dropdown/OpenedDropdown/components/menu/FreeFormMenu.styled.js"),require("../dropdown/OpenedDropdown/components/menu/MenuItem.js"),require("../dropdown/OpenedDropdown/components/menu/MenuList.styled.js"),require("../button/Button.js"),require("../dropdown/OpenedDropdown/components/multiSelect/MultiSelectDropdownBottomBar.styled.js"),require("../dropdown/OpenedDropdown/components/OpennedDropdown.styled.js"),require("../icon-button/IconButton.js"),require("../input/Input.js"),require("../dropdown/MenuItem/MenuItem.js");var i=require("./TablePagination.styled.js");const a=t=>{let{pageStart:o,pageEnd:n,totalRows:i,shouldShow:a}=t;if(!a)return null;const d=r.DEFAULT_THEME.colorsV2;return e.jsxs(s.BodySecondary,Object.assign({style:{color:d.content.placeholder}},{children:["Showing ",o,"-",n>i?i:n," of"," ",i," results"]}))},d=[5,10,20];exports.TablePagination=l=>{let{pageNumber:c,pageSize:p,totalRows:u,updatePageNumber:j,updatePageSize:g,hidePageSizeOptions:h,showTotalText:w,totalTextAlignment:m="right",containerStyle:y={},pageSizeOptions:q=d}=l;const x=r.DEFAULT_THEME.colorsV2,S=(c-1)*p+1,b=(c-1)*p+p,v=Math.ceil(u/p),O=1==v;let D=[];D=v>=5?c===v?[c-4,c-3,c-2,c-1,c]:1===c?[c,c+1,c+2,c+3,c+4]:2===c?[c-1,c,c+1,c+2,c+3]:c===v-1?[c-3,c-2,c-1,c,c+1]:[c-2,c-1,c,c+1,c+2]:Array.from({length:v},((e,t)=>t+1));const M=q.map((e=>({label:`${e} rows per page`,value:String(e),selected:p===e})));return e.jsxs(i.StyledTablePaginationContainer,Object.assign({style:y},{children:[!h&&e.jsx("div",{children:e.jsx(n.Dropdown,{size:"small",options:M,onSelect:g,width:"162px"})}),e.jsxs("div",Object.assign({className:"paging__container"},{children:[e.jsx(a,{pageStart:S,pageEnd:b,totalRows:u,shouldShow:!!(!h&&u>0||h&&u>0&&w&&"left"===m)}),e.jsxs("div",Object.assign({className:"pages__buttons-container"},{children:[!O&&e.jsx(i.StyledPagingContainer,Object.assign({active:!1,onClick:()=>{1!==c&&j(Math.max(c-1,1))},disabled:1===c},{children:e.jsx(t.default,{color:x.content.secondary,height:14,width:14})})),D.map((t=>e.jsx(i.StyledPagingContainer,Object.assign({active:t==c,onClick:()=>j(t),style:{display:1==t&&u<=p?"none":"flex"}},{children:e.jsx(s.BodySecondary,Object.assign({style:{color:t==c?x.content.primaryInverse:x.content.secondary}},{children:t}))}),t))),!O&&e.jsx(i.StyledPagingContainer,Object.assign({isLast:!0,active:!1,onClick:()=>{c!==v&&j(Math.min(c+1,v))},disabled:c===v},{children:e.jsx(o.default,{color:x.content.secondary,height:14,width:14})}))]})),e.jsx(a,{pageStart:S,pageEnd:b,totalRows:u,shouldShow:!!(h&&u>0&&w&&"right"===m)})]}))]}))};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react-bootstrap");var t=require("./Chip.js"),i=require("./HorizontalBar.js"),a=require("./ScoreBlock.styled.js");exports.ScoreBlock=r=>{let{customTrailingIcon:o,showEmojiIcon:n,plainText:s,showPercentage:l,separator:u,CustomStyledChip:p,chipValues:c,formatVal:v}=r;return e.jsxs(a.Container,Object.assign({separator:u},{children:[e.jsxs(a.Row,Object.assign({style:{marginTop:8,gap:16}},{children:[e.jsx(t.Chip,{formatVal:v,type:"positive",text:c.positive.text,value:c.positive.val,durationValue:c.positive.durationValue,durationUnit:c.positive.durationUnit,progress:c.positive.progress,plainText:s,showEmojiIcon:n,CustomStyledChip:p,customTrailingIcon:o}),e.jsx(t.Chip,{formatVal:v,type:"neutral",text:c.neutral.text,value:c.neutral.val,durationValue:c.neutral.durationValue,durationUnit:c.neutral.durationUnit,progress:c.neutral.progress,plainText:s,showEmojiIcon:n,CustomStyledChip:p,customTrailingIcon:o}),e.jsx(t.Chip,{formatVal:v,type:"negative",text:c.negative.text,value:c.negative.val,durationValue:c.negative.durationValue,durationUnit:c.negative.durationUnit,progress:c.negative.progress,plainText:s,showEmojiIcon:n,CustomStyledChip:p,customTrailingIcon:o})]})),e.jsx("div",Object.assign({style:{marginTop:24,width:"100%"}},{children:e.jsx(i.HorinzontalBar,{showPercentage:l,positive:c.positive.val,neutral:c.neutral.val,negative:c.negative.val})}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react-bootstrap");var t=require("../../../../assets/icons/expressionless_emoji.svg.js"),i=require("../../../../assets/icons/sad_emoji.svg.js"),o=require("../../../../assets/icons/smiley_emoji.svg.js"),a=require("../../../half-doughnut-chart/HalfDoughnutChart.js"),r=require("./Chip.js"),s=require("./HorizontalBar.js"),n=require("./ScoreBlock.styled.js");const l="#5F9C58",u="#F8C347",p="#C85151";exports.ScoreBlock=c=>{let{type:v,customTrailingIcon:g,showEmojiIcon:d,plainText:j,showPercentage:h,separator:m,CustomStyledChip:x,chipValues:C,formatVal:b}=c;return"doughnut"===v?e.jsx(a.HalfDoughnutChart,{segments:[{label:C.positive.text,value:C.positive.val,description:C.positive.description,tooltipLabel:C.positive.tooltipLabel,color:l,emojiIcon:o.default},{label:C.neutral.text,value:C.neutral.val,description:C.neutral.description,tooltipLabel:C.neutral.tooltipLabel,color:u,emojiIcon:t.default},{label:C.negative.text,value:C.negative.val,description:C.negative.description,tooltipLabel:C.negative.tooltipLabel,color:p,emojiIcon:i.default}]}):"chip"!==v&&v?null:e.jsxs(n.Container,Object.assign({separator:m},{children:[e.jsxs(n.Row,Object.assign({style:{marginTop:8,gap:16}},{children:[e.jsx(r.Chip,{formatVal:b,type:"positive",text:C.positive.text,value:C.positive.val,durationValue:C.positive.durationValue,durationUnit:C.positive.durationUnit,progress:C.positive.progress,plainText:j,showEmojiIcon:d,CustomStyledChip:x,customTrailingIcon:g}),e.jsx(r.Chip,{formatVal:b,type:"neutral",text:C.neutral.text,value:C.neutral.val,durationValue:C.neutral.durationValue,durationUnit:C.neutral.durationUnit,progress:C.neutral.progress,plainText:j,showEmojiIcon:d,CustomStyledChip:x,customTrailingIcon:g}),e.jsx(r.Chip,{formatVal:b,type:"negative",text:C.negative.text,value:C.negative.val,durationValue:C.negative.durationValue,durationUnit:C.negative.durationUnit,progress:C.negative.progress,plainText:j,showEmojiIcon:d,CustomStyledChip:x,customTrailingIcon:g})]})),e.jsx("div",Object.assign({style:{marginTop:24,width:"100%"}},{children:e.jsx(s.HorinzontalBar,{showPercentage:h,positive:C.positive.val,neutral:C.neutral.val,negative:C.negative.val})}))]}))};
@@ -4,7 +4,18 @@ export declare enum DurationUnit {
4
4
  DAY = "day",
5
5
  WEEK = "week"
6
6
  }
7
+ export type ChipData = {
8
+ text: string;
9
+ val: number;
10
+ description?: string;
11
+ tooltipLabel?: string;
12
+ progress?: number;
13
+ durationValue?: number;
14
+ durationUnit?: DurationUnit;
15
+ };
7
16
  export interface ScoreBlockProps {
17
+ /** When set to 'doughnut', renders the half-doughnut chart variant */
18
+ type?: 'chip' | 'doughnut';
8
19
  plainText?: boolean;
9
20
  formatVal?: boolean;
10
21
  showPercentage?: boolean;
@@ -13,27 +24,9 @@ export interface ScoreBlockProps {
13
24
  CustomStyledChip?: typeof DefaultStyledChip;
14
25
  customTrailingIcon?: React.ReactNode;
15
26
  chipValues: {
16
- positive: {
17
- text: string;
18
- val: number;
19
- progress?: number;
20
- durationValue?: number;
21
- durationUnit?: DurationUnit;
22
- };
23
- neutral: {
24
- text: string;
25
- val: number;
26
- progress?: number;
27
- durationValue?: number;
28
- durationUnit?: DurationUnit;
29
- };
30
- negative: {
31
- text: string;
32
- val: number;
33
- progress?: number;
34
- durationValue?: number;
35
- durationUnit?: DurationUnit;
36
- };
27
+ positive: ChipData;
28
+ neutral: ChipData;
29
+ negative: ChipData;
37
30
  };
38
31
  }
39
32
  export interface ChipProps {
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { HalfDoughnutChartProps } from './model';
3
+ export declare const HalfDoughnutChart: React.FC<HalfDoughnutChartProps>;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("chart.js"),t=require("react"),o=require("react-chartjs-2"),n=require("../TypographyStyle.js"),l=require("../../constants/Theme.js"),a=require("./HalfDoughnutChart.styled.js");r.Chart.register(r.ArcElement,r.Tooltip);exports.HalfDoughnutChart=r=>{let{segments:i}=r;var s;const c=t.useRef(null),[d,u]=t.useState(480),h=t.useRef(i);h.current=i;const b=t.useRef(0);t.useEffect((()=>{const e=c.current;if(!e)return;const r=new ResizeObserver((e=>{var r;const t=null===(r=e[0])||void 0===r?void 0:r.contentRect.width;t&&u(t)}));return r.observe(e),u(e.offsetWidth),()=>r.disconnect()}),[]);const v=i.reduce(((e,r)=>e+(Number(r.value)||0)),0);b.current=v;const g=i.length>0?i.reduce(((e,r)=>(Number(r.value)||0)>=(Number(e.value)||0)?r:e),i[0]):void 0,j=v>0&&g?Math.round(100*(Number(g.value)||0)/v):0,p=v>0?i.map((e=>Number(e.value)||0)):i.map((()=>1)),f=i.map((e=>e===g?e.color:e.color+"8F")),x={datasets:[{data:p,backgroundColor:f,borderColor:l.COLORS.surface.standard,borderWidth:3,hoverBackgroundColor:f,hoverOffset:0}]},m=t.useRef({rotation:-90,circumference:180,cutout:"80%",maintainAspectRatio:!1,animation:{duration:600},plugins:{legend:{display:!1},tooltip:{enabled:!0,backgroundColor:"#212121",titleColor:"#ffffff",bodyColor:"rgba(255,255,255,0.7)",cornerRadius:8,padding:12,caretSize:6,displayColors:!0,boxWidth:12,boxHeight:12,boxPadding:6,callbacks:{title:e=>{var r,t;const o=null!==(t=null===(r=e[0])||void 0===r?void 0:r.dataIndex)&&void 0!==t?t:-1;if(o<0)return"";const n=h.current[o],l=Number(n.value)||0;return(b.current>0?Math.round(100*l/b.current):0)+"% "+n.label},label:e=>{var r;const t=h.current[e.dataIndex];return null!==(r=null==t?void 0:t.tooltipLabel)&&void 0!==r?r:""},labelColor:e=>{var r,t;const o=h.current[e.dataIndex];return{borderColor:null!==(r=null==o?void 0:o.color)&&void 0!==r?r:"#fff",backgroundColor:null!==(t=null==o?void 0:o.color)&&void 0!==t?t:"#fff",borderRadius:3}}}}}}).current,C=0===v,O=null!==(s=null==g?void 0:g.emojiIcon)&&void 0!==s?s:null;return e.jsxs(a.Wrapper,{children:[!C&&e.jsx(a.Legend,{children:i.map(((r,t)=>{let{label:o,color:i}=r;return e.jsxs(a.LegendItem,{children:[e.jsx(a.LegendDot,{color:i}),e.jsx(n.BodySmall,Object.assign({color:l.COLORS.content.secondary},{children:o}))]},`${o}-${t}`)}))}),e.jsxs(a.ChartWrapper,Object.assign({ref:c},{children:[e.jsx(a.CanvasClip,Object.assign({style:{height:d/2,overflow:"hidden"}},{children:e.jsx(o.Doughnut,{data:x,options:m,width:d,height:d})})),C?e.jsx(a.ElementWrapper,{children:e.jsx(a.PercentageLabel,{children:e.jsx(n.TitleLarge,Object.assign({color:"#212121"},{children:"--"}))})}):O&&e.jsxs(a.ElementWrapper,{children:[e.jsx(O,{width:36,height:36}),e.jsx(a.PercentageLabel,{children:e.jsxs(n.TitleLarge,Object.assign({color:"#212121"},{children:[j,"% ",e.jsx("span",{children:null==g?void 0:g.label})]}))})]})]})),(null==g?void 0:g.description)&&e.jsx(a.DescriptionText,{children:e.jsx(n.BodyCaption,Object.assign({color:l.COLORS.content.secondary},{children:null==g?void 0:g.description}))})]})};
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const Legend: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const LegendItem: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
+ export declare const LegendDot: import("@emotion/styled").StyledComponent<{
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
+ } & {
18
+ color: string;
19
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
+ /**
21
+ * Contains the Doughnut canvas. Width is fluid; height is set inline to
22
+ * canvasSize/2 so only the top semicircle of the square canvas is visible.
23
+ * overflow:hidden clips the bottom half away.
24
+ */
25
+ export declare const ChartWrapper: import("@emotion/styled").StyledComponent<{
26
+ theme?: import("@emotion/react").Theme | undefined;
27
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
+ export declare const CanvasClip: import("@emotion/styled").StyledComponent<{
30
+ theme?: import("@emotion/react").Theme | undefined;
31
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
+ export declare const ElementWrapper: import("@emotion/styled").StyledComponent<{
34
+ theme?: import("@emotion/react").Theme | undefined;
35
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
36
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
37
+ export declare const PercentageLabel: import("@emotion/styled").StyledComponent<{
38
+ theme?: import("@emotion/react").Theme | undefined;
39
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
41
+ export declare const DescriptionText: import("@emotion/styled").StyledComponent<{
42
+ theme?: import("@emotion/react").Theme | undefined;
43
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1 @@
1
+ "use strict";function c(c){return c&&"object"==typeof c&&"default"in c?c:{default:c}}Object.defineProperty(exports,"__esModule",{value:!0});var G=c(require("@emotion/styled/base"));function l(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}const b=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha08"}:{target:"epd4ha08",label:"Wrapper"})("production"===process.env.NODE_ENV?{name:"u74tly",styles:"display:flex;flex-direction:column;align-items:center;width:100%;gap:12px"}:{name:"u74tly",styles:"display:flex;flex-direction:column;align-items:center;width:100%;gap:12px",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDa0MiLCJmaWxlIjoiSGFsZkRvdWdobnV0Q2hhcnQuc3R5bGVkLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xyXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYgYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHR3aWR0aDogMTAwJTtcblx0Z2FwOiAxMnB4O1xuYDtcclxuZXhwb3J0IGNvbnN0IExlZ2VuZCA9IHN0eWxlZC5kaXYgYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRnYXA6IDEycHg7XG5cdGFsaWduLXNlbGY6IGZsZXgtZW5kO1xuYDtcclxuZXhwb3J0IGNvbnN0IExlZ2VuZEl0ZW0gPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0Z2FwOiA0cHg7XG5gO1xyXG5leHBvcnQgY29uc3QgTGVnZW5kRG90ID0gc3R5bGVkLmRpdiBgXG5cdHdpZHRoOiAxMHB4O1xuXHRoZWlnaHQ6IDEwcHg7XG5cdGJvcmRlci1yYWRpdXM6IDJweDtcblx0YmFja2dyb3VuZC1jb2xvcjogJHsocHJvcHMpID0+IHByb3BzLmNvbG9yfTtcblx0ZmxleC1zaHJpbms6IDA7XG5gO1xyXG5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V4dC1hbGlnbjogY2VudGVyO1xuXHR3aWR0aDogZml0LWNvbnRlbnQ7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5cdHdoaXRlLXNwYWNlOiBub3dyYXA7XG5gO1xyXG5leHBvcnQgY29uc3QgRGVzY3JpcHRpb25UZXh0ID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0bWF4LXdpZHRoOiAke21heFdpZHRofTtcbmA7XHJcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPUhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC5qcy5tYXAiXX0= */",toString:l}),d=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha07"}:{target:"epd4ha07",label:"Legend"})("production"===process.env.NODE_ENV?{name:"m4vuiv",styles:"display:flex;gap:12px;align-self:flex-end"}:{name:"m4vuiv",styles:"display:flex;gap:12px;align-self:flex-end",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRaUMiLCJmaWxlIjoiSGFsZkRvdWdobnV0Q2hhcnQuc3R5bGVkLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xyXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYgYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHR3aWR0aDogMTAwJTtcblx0Z2FwOiAxMnB4O1xuYDtcclxuZXhwb3J0IGNvbnN0IExlZ2VuZCA9IHN0eWxlZC5kaXYgYFxuXHRkaXNwbGF5OiBmbGV4O1xuXHRnYXA6IDEycHg7XG5cdGFsaWduLXNlb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VtZW50V3JhcHBlciA9IHN0eWxlZC5kaXYgYFxuXHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdGJvdHRvbTogMDtcblx0bGVmdDogNTAlO1xuXHR0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTUwJSk7XG5cdGRpc3BsYXk6IGZsZXg7XG5cdGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGp1c3RpZnktY29udGVudDogY2VudGVyO1xuXHRnYXA6IDhweDtcblx0ei1pbmRleDogNTtcbmA7XHJcbmV4cG9ydCBjb25zdCBQZXJjZW50YWdlTGFiZWwgPSBzdHlsZWQuZGl2IGBcblx0dGV4dC1hbGlnbjogY2VudGVyO1xuXHR3aWR0aDogZml0LWNvbnRlbnQ7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5cdHdoaXRlLXNwYWNlOiBub3dyYXA7XG5gO1xyXG5leHBvcnQgY29uc3QgRGVzY3JpcHRpb25UZXh0ID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0bWF4LXdpZHRoOiAke21heFdpZHRofTtcbmA7XHJcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPUhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC5qcy5tYXAiXX0= */",toString:l}),X=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha06"}:{target:"epd4ha06",label:"LegendItem"})("production"===process.env.NODE_ENV?{name:"1j5vobt",styles:"display:flex;align-items:center;gap:4px"}:{name:"1j5vobt",styles:"display:flex;align-items:center;gap:4px",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhcUMiLCJmaWxlIjoiSGFsZkRvdWdobnV0Q2hhcnQuc3R5bGVk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dENoYXJ0LnN0eWxlZC5qcy5tYXAiXX0= */",toString:l}),Z=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha05"}:{target:"epd4ha05",label:"LegendDot"})("width:10px;height:10px;border-radius:2px;background-color:",(c=>c.color),";flex-shrink:0;"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQm9DIiwiZmlsZSI6IkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0ZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0d2lkdGg6IDEwMCU7XG5cdGdhcDogMTJweDtcbmA7XHJcbmV4cG9ydCBjb25zdCBMZWdlbmQgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0Z2FwOiAxMnB4O1xuXHRhbGlnbi1zZWxmOiBmbGV4LWVuZDtcbmA7XHJcbmV4cG9ydCBjb25zdCBMZWdlbmRJdGVtID0gc3R5bGVkLmRpdiBgXG5cdGRpc3BsYXk6IGZsZXg7XG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGdhcDogNHB4O1xuYDtcclxuZXhwb3J0IGNvbnN0IExlZ2VuZERvdCA9IHN0eWxlZC5kaXYgYFxuXHR3aWR0aDogMTBweDtcblx0aGVpZ2h0OiAxMHB4O1xuXHRib3JkZXItcmFkaXVzOiAycHg7XG5cdGJhY2tncm91bmQtY29sb3I6ICR7KHByb3BzKSA9PiBwc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leHBvcnQgY29uc3QgUGVyY2VudGFnZUxhYmVsID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0d2lkdGg6IGZpdC1jb250ZW50O1xuXHRtYXgtd2lkdGg6ICR7bWF4V2lkdGh9O1xuXHR3aGl0ZS1zcGFjZTogbm93cmFwO1xuYDtcclxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uVGV4dCA9IHN0eWxlZC5kaXYgYFxuXHR0ZXh0LWFsaWduOiBjZW50ZXI7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */")),x="380px",a=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha04"}:{target:"epd4ha04",label:"ChartWrapper"})("position:relative;width:100%;max-width:",x,";overflow:visible;"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUErQnVDIiwiZmlsZSI6IkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0ZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0d2lkdGg6IDEwMCU7XG5cdGdhcDogMTJweDtcbmA7XHJcbmV4cG9ydCBjb25zdCBMZWdlbmQgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0Z2FwOiAxMnB4O1xuX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1xyXG5leHBvcnQgY29uc3QgRWxlbWVudFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRib3R0b206IDA7XG5cdGxlZnQ6IDUwJTtcblx0dHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpO1xuXHRkaXNwbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0Z2FwOiA4cHg7XG5cdHotaW5kZXg6IDU7XG5gO1xyXG5leHBvcnQgY29uc3QgUGVyY2VudGFnZUxhYmVsID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0d2lkdGg6IGZpdC1jb250ZW50O1xuXHRtYXgtd2lkdGg6ICR7bWF4V2lkdGh9O1xuXHR3aGl0ZS1zcGFjZTogbm93cmFwO1xuYDtcclxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uVGV4dCA9IHN0eWxlZC5kaXYgYFxuXHR0ZXh0LWFsaWduOiBjZW50ZXI7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */")),g=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha03"}:{target:"epd4ha03",label:"CanvasClip"})("production"===process.env.NODE_ENV?{name:"m8s0jy",styles:"width:100%;overflow:hidden;z-index:10;position:relative"}:{name:"m8s0jy",styles:"width:100%;overflow:hidden;z-index:10;position:relative",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQ3FDIiwiZmls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O1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */",toString:l}),t=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha02"}:{target:"epd4ha02",label:"ElementWrapper"})("production"===process.env.NODE_ENV?{name:"1onsjbq",styles:"position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:5"}:{name:"1onsjbq",styles:"position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:5",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQ3lDIiwiZmlsZSI6IkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0ZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblx0YWxpZ24taXRlbXM6IGNlbnRlcjtcblx0d2lkdGg6IDEwMCU7XG5cdGdhcDogMTJweDtcbmA7XHJcbmV4cG9ydCBjb25zdCBMZWdlbmQgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0Z2FwOiAxMnB4O1xuXHRhbGlnbi1zZWxmOiBmbGV4LWVuZDtcbmA7XHJcbmV4cG9ydCBjb25zdCBMZWdlbmRJdGVtID0gc3R5bGVkLmRpdiBgXG5cdGRpc3BsYXk6IGZsZXg7XG5cdGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cdGdhcDogNHB4O1xuYDtcclx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wbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0Z2FwOiA4cHg7XG5cdHotaW5kZXg6IDU7XG5gO1xyXG5leHBvcnQgY29uc3QgUGVyY2VudGFnZUxhYmVsID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0d2lkdGg6IGZpdC1jb250ZW50O1xuXHRtYXgtd2lkdGg6ICR7bWF4V2lkdGh9O1xuXHR3aGl0ZS1zcGFjZTogbm93cmFwO1xuYDtcclxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uVGV4dCA9IHN0eWxlZC5kaXYgYFxuXHR0ZXh0LWFsaWduOiBjZW50ZXI7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */",toString:l}),I=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha01"}:{target:"epd4ha01",label:"PercentageLabel"})("text-align:center;width:fit-content;max-width:",x,";white-space:nowrap;"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1RDBDIiwiZmlsZSI6IkhhbGZEb3VnaG51dENoYXJ0LnN0eWxlZC50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcclxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0ZGlzcGxheTogZmxleDtcblx0ZmxleC1kaXJlY3Rpb246IGNvbH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aXNpYmxlO1xuYDtcclxuZXhwb3J0IGNvbnN0IENhbnZhc0NsaXAgPSBzdHlsZWQuZGl2IGBcblx0d2lkdGg6IDEwMCU7XG5cdG92ZXJmbG93OiBoaWRkZW47XG5cdHotaW5kZXg6IDEwO1xuXHRwb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xyXG5leHBvcnQgY29uc3QgRWxlbWVudFdyYXBwZXIgPSBzdHlsZWQuZGl2IGBcblx0cG9zaXRpb246IGFic29sdXRlO1xuXHRib3R0b206IDA7XG5cdGxlZnQ6IDUwJTtcblx0dHJhbnNmb3JtOiB0cmFuc2xhdGVYKC01MCUpO1xuXHRkaXNwbGF5OiBmbGV4O1xuXHRmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXHRhbGlnbi1pdGVtczogY2VudGVyO1xuXHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0Z2FwOiA4cHg7XG5cdHotaW5kZXg6IDU7XG5gO1xyXG5leHBvcnQgY29uc3QgUGVyY2VudGFnZUxhYmVsID0gc3R5bGVkLmRpdiBgXG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0d2lkdGg6IGZpdC1jb250ZW50O1xuXHRtYXgtd2lkdGg6ICR7bWF4V2lkdGh9O1xuXHR3aGl0ZS1zcGFjZTogbm93cmFwO1xuYDtcclxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uVGV4dCA9IHN0eWxlZC5kaXYgYFxuXHR0ZXh0LWFsaWduOiBjZW50ZXI7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */")),W=G.default("div","production"===process.env.NODE_ENV?{target:"epd4ha00"}:{target:"epd4ha00",label:"DescriptionText"})("text-align:center;max-width:",x,";"+("production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW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IERlc2NyaXB0aW9uVGV4dCA9IHN0eWxlZC5kaXYgYFxuXHR0ZXh0LWFsaWduOiBjZW50ZXI7XG5cdG1heC13aWR0aDogJHttYXhXaWR0aH07XG5gO1xyXG4vLyMgc291cmNlTWFwcGluZ1VSTD1IYWxmRG91Z2hudXRDaGFydC5zdHlsZWQuanMubWFwIl19 */"));exports.CanvasClip=g,exports.ChartWrapper=a,exports.DescriptionText=W,exports.ElementWrapper=t,exports.Legend=d,exports.LegendDot=Z,exports.LegendItem=X,exports.PercentageLabel=I,exports.Wrapper=b;
@@ -0,0 +1,2 @@
1
+ export * from './HalfDoughnutChart';
2
+ export * from './model';
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ export interface HalfDoughnutSegment {
3
+ /** Display label shown in the legend and as the dominant label */
4
+ label: string;
5
+ /** Numeric value used to compute proportional arc width */
6
+ value: number;
7
+ /** Fill colour for this segment's arc and legend dot */
8
+ color: string;
9
+ /** Optional description rendered below the percentage when this segment is dominant */
10
+ description?: string;
11
+ /** Secondary line shown in the tooltip, e.g. "7,456 Conversations" */
12
+ tooltipLabel?: string;
13
+ /**
14
+ * Optional icon rendered at the centre of the arc when this segment is dominant.
15
+ * Compatible with inline SVG components (e.g. imported `.svg` files).
16
+ */
17
+ emojiIcon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
18
+ }
19
+ export interface HalfDoughnutChartProps {
20
+ /** Ordered list of segments — left to right across the arc */
21
+ segments: HalfDoughnutSegment[];
22
+ }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/searchIcon.js"),a=require("react"),s=require("./PostPicker.styled.js"),r=require("../tag/Tag.js"),i=require("../TypographyStyle.js"),n=require("../../utils/unCamelCase.js"),o=require("../../constants/colors.js"),l=require("../../constants/Theme.js"),d=require("../../assets/icons/instagram.svg.js"),c=require("../../assets/icons/warning.svg.js");require("../tooltips/Tooltip.js"),require("../analytics-chips-and-dropdowns/CommonStyles.js");var p=require("../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../utils/DateUtils.js"),require("../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js");var h,u,y=require("../modals/styledModal.js"),m=require("../shimmer/ShimmerComponent/BikShimmer.js"),j=require("../shimmer-image/ShimmerImage.js"),g=require("../states/StateComponent.js");require("../../_virtual/_tslib.js"),exports.MEDIA_TYPES=void 0,(h=exports.MEDIA_TYPES||(exports.MEDIA_TYPES={})).STORY="story",h.POST="post",h.REEL="reel",exports.DateKeys=void 0,(u=exports.DateKeys||(exports.DateKeys={})).Today="Today",u["7_Days"]="7",u["30_Days"]="30",u.custom="custom",u.Yesterday="Yesterday";const x=[{label:"Today",value:"today",key:exports.DateKeys.Today,typeValue:[new Date,new Date]},{label:"Last 7 days",value:"7 days",key:exports.DateKeys["7_Days"],typeValue:[new Date((new Date).setDate((new Date).getDate()-6)),new Date]},{label:"Last 30 days",value:"30 days",key:exports.DateKeys["30_Days"],typeValue:[new Date((new Date).setDate((new Date).getDate()-29)),new Date]},{label:"Custom range",value:"calender",key:exports.DateKeys.custom,isCustom:!0,dateRangeSelectionOptions:{selectRange:!0,maxDate:new Date((new Date).setMonth((new Date).getMonth()+3))}}];exports.PostPicker=h=>{var u,S;const[w,D]=a.useState(null!==(u=h.previouslySelected)&&void 0!==u?u:[]),[v,C]=a.useState(""),[T,b]=a.useState(!1),[f,O]=a.useState(h.media),[q,k]=a.useState(!1),[B,P]=a.useState(!1),[E,I]=a.useState(!1),_=a.useRef(null);a.useEffect((()=>{h.media.length||(b(!0),setTimeout((()=>{b(!1)}),2e3)),D(h.selected||[])}),[]),a.useEffect((()=>{h.media.length>0&&(O(h.media),b(!1))}),[null===(S=null==h?void 0:h.media)||void 0===S?void 0:S.length]),a.useEffect((()=>{w.length>0&&C("")}),[w.length]),a.useEffect((()=>{q&&(O(h.media),P(!1))}),[q]),a.useEffect((()=>{const e=e=>{document.getElementById("analytic-dropdown").contains(e.target)||I(!E)},t=document.getElementById("post-picker");return t&&t.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e)}}));return e.jsx("div",Object.assign({ref:_},{children:e.jsxs(y.StyledModal,Object.assign({zIndex:201,open:h.showModal,headingTitle:h.title,onClose:h.onClose,centralContainerStyles:{width:1071,height:h.showFilter?650:564},primaryButton:{disabled:!f.length,buttonType:"primary",buttonText:`Select ${n.unCamelCase(h.mediaType)}`,onClick:()=>{w.length?h.onSelect(w):C(`Please select a ${h.mediaType} to proceed`)}},secondaryButton:{buttonType:"secondary",buttonText:"Back",onClick:()=>h.onClose()},footerLeftCustomElement:v?e.jsx(r.Tag,{tagText:v,type:"negative",LeadingIcon:c.default}):w.length?e.jsxs(i.BodySecondary,{children:[w.length," selected"]}):null,id:"post-picker"},{children:[h.showFilter&&e.jsxs("div",Object.assign({style:{marginTop:24,marginBottom:24,padding:"0 24px",display:"flex",flexDirection:"row",gap:8,alignItems:"center"}},{children:[e.jsx(p.AnalyticsDropdown,{options:x,placeholder:"posted on",resetDropdown:q,onOptionSelected:e=>{var t,a;let s=null,r=null;"Custom range"===e.label?(s=(null===(t=null==e?void 0:e.selectedRange)||void 0===t?void 0:t[0])||new Date,r=(null===(a=null==e?void 0:e.selectedRange)||void 0===a?void 0:a[1])||new Date):(s=e.typeValue[0],r=e.typeValue[1]);const i=h.media.filter((e=>function(e,t,a){const s=new Date(e),r=new Date(t),i=new Date(a);return s>=r&&s<=i}(e.timestamp,s,r)));O(i),P(!0),k(!1)},closeDropdown:E}),B&&e.jsx(i.ButtonRegular,Object.assign({color:l.COLORS.content.secondary,onClick:()=>k(!0),style:{cursor:"pointer"}},{children:"Clear"}))]})),T?e.jsx("div",Object.assign({style:{padding:"0 24px"}},{children:e.jsx(m.BikShimmer,{boxes:[{width:(h.mediaType==exports.MEDIA_TYPES.POST?148:104)+"px",height:(h.mediaType==exports.MEDIA_TYPES.POST?148:172)+"px"}]})})):e.jsx(e.Fragment,{children:f&&f.length?e.jsx(s.StyledProductGrid,Object.assign({mediaType:h.mediaType},{children:f.map((t=>{return e.jsxs(s.StyledProduct,Object.assign({mediaType:h.mediaType,className:""+(a=t,r=w,r.some((e=>e.id===a.id))?"selected":""),onClick:()=>{return e=t,void D((()=>w.find((t=>t.id===e.id))?w.filter((t=>t.id!==e.id)):!h.limit||w.length<h.limit?[...w,e]:(C(`Only ${h.limit} ${h.mediaType}s can be selected`),w)));var e}},{children:[e.jsx(j.ShimmerImage,{imageUrl:t.imageUrl,width:h.mediaType==exports.MEDIA_TYPES.POST?148:104,height:h.mediaType==exports.MEDIA_TYPES.POST?148:172,alt:t.overlayCaption}),e.jsxs("div",Object.assign({className:"overlay"},{children:[e.jsx("a",Object.assign({target:"_blank",rel:"noreferrer",href:t.redirectionUrl},{children:e.jsxs("div",Object.assign({className:"overlay__redirection"},{children:[e.jsx(d.default,{height:22,width:22}),e.jsx(i.BodyPrimary,Object.assign({color:o.PRIMARY,style:{fontWeight:500}},{children:"View"}))]}))})),e.jsx("div",Object.assign({className:"overlay__caption"},{children:e.jsx(i.BodyCaption,Object.assign({color:l.COLORS.content.placeholder},{children:t.overlayCaption}))}))]}))]}),t.id);var a,r}))})):e.jsx("div",Object.assign({style:{justifyContent:"center",alignItems:"center",display:"flex",height:422}},{children:h.media.length?f.length?e.jsx(e.Fragment,{}):e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"}},{children:[e.jsx("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",backgroundColor:`${l.COLORS.background.inverse}`,borderRadius:"50%"}},{children:e.jsx(t.SearchIcon,{color:l.COLORS.content.primaryInverse})})),e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px"}},{children:[e.jsx(i.TitleMedium,{children:"No results found"}),e.jsx(i.BodyPrimary,{children:"Sorry we could not find any results for the selected filter"})]})),e.jsx("div",Object.assign({onClick:()=>{k(!0)},style:{cursor:"pointer"}},{children:e.jsx(i.ButtonLarge,Object.assign({color:`${l.COLORS.content.brand}`},{children:"Clear Filter"}))}))]})):e.jsx(g.StateComponent,{states:g.StateInterface.WARNING,heading:`No ${h.mediaType}s on your account`,subline:`There seems to be no ${h.mediaType}s on your account`,isButtonEnabled:!1,width:400})}))})]}))}))},exports.dateOptions=x;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/searchIcon.js"),a=require("react"),s=require("./PostPicker.styled.js"),r=require("../tag/Tag.js"),i=require("../TypographyStyle.js"),n=require("../../utils/unCamelCase.js"),o=require("../../constants/colors.js"),l=require("../../constants/Theme.js"),d=require("../../assets/icons/instagram.svg.js"),c=require("../../assets/icons/warning.svg.js");require("../tooltips/Tooltip.js"),require("../analytics-chips-and-dropdowns/CommonStyles.js");var p=require("../analytics-chips-and-dropdowns/AnalyticsDropdown.js");require("../analytics-chips-and-dropdowns/AnalyticsMetric.js"),require("../shimmer/ShimmerComponent/ShimmerStyled.js"),require("../../utils/DateUtils.js"),require("../analytics-chips-and-dropdowns/chart/utils/calcPercentage.js"),require("../analytics-chips-and-dropdowns/chart/LineChart/LineChart.js"),require("react-bootstrap"),require("../half-doughnut-chart/HalfDoughnutChart.js"),require("../analytics-chips-and-dropdowns/chart/scoreBlock/ScoreBlock.styled.js"),require("../analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.js"),require("../analytics-chips-and-dropdowns/chart/scoreBlock/types.js"),require("../analytics-chips-and-dropdowns/chart/Pie/PieChartAnalytics.js"),require("../analytics-chips-and-dropdowns/chart/Pie/PieChart.js"),require("../analytics-chips-and-dropdowns/chart/HorizontalBarGraph/HorizontalGraph.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarChart.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.js"),require("../analytics-chips-and-dropdowns/chart/StackedBarChart/StackedBarDistributionChart.model.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarGraph/VerticalGraph.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarGraph/FunnelVerticalBarGraph.js"),require("../analytics-chips-and-dropdowns/chart/heatmap/HeatMap.js"),require("../analytics-chips-and-dropdowns/chart/heatmap/HeatMapVertical.js"),require("../analytics-chips-and-dropdowns/chart/VerticalBarAndLinearGraph/VerticalBarAndLinearGraph.js");var h,u,y=require("../modals/styledModal.js"),m=require("../shimmer/ShimmerComponent/BikShimmer.js"),j=require("../shimmer-image/ShimmerImage.js"),g=require("../states/StateComponent.js");require("../../_virtual/_tslib.js"),exports.MEDIA_TYPES=void 0,(h=exports.MEDIA_TYPES||(exports.MEDIA_TYPES={})).STORY="story",h.POST="post",h.REEL="reel",exports.DateKeys=void 0,(u=exports.DateKeys||(exports.DateKeys={})).Today="Today",u["7_Days"]="7",u["30_Days"]="30",u.custom="custom",u.Yesterday="Yesterday";const x=[{label:"Today",value:"today",key:exports.DateKeys.Today,typeValue:[new Date,new Date]},{label:"Last 7 days",value:"7 days",key:exports.DateKeys["7_Days"],typeValue:[new Date((new Date).setDate((new Date).getDate()-6)),new Date]},{label:"Last 30 days",value:"30 days",key:exports.DateKeys["30_Days"],typeValue:[new Date((new Date).setDate((new Date).getDate()-29)),new Date]},{label:"Custom range",value:"calender",key:exports.DateKeys.custom,isCustom:!0,dateRangeSelectionOptions:{selectRange:!0,maxDate:new Date((new Date).setMonth((new Date).getMonth()+3))}}];exports.PostPicker=h=>{var u,S;const[w,D]=a.useState(null!==(u=h.previouslySelected)&&void 0!==u?u:[]),[v,C]=a.useState(""),[T,b]=a.useState(!1),[f,q]=a.useState(h.media),[O,k]=a.useState(!1),[B,P]=a.useState(!1),[E,I]=a.useState(!1),_=a.useRef(null);a.useEffect((()=>{h.media.length||(b(!0),setTimeout((()=>{b(!1)}),2e3)),D(h.selected||[])}),[]),a.useEffect((()=>{h.media.length>0&&(q(h.media),b(!1))}),[null===(S=null==h?void 0:h.media)||void 0===S?void 0:S.length]),a.useEffect((()=>{w.length>0&&C("")}),[w.length]),a.useEffect((()=>{O&&(q(h.media),P(!1))}),[O]),a.useEffect((()=>{const e=e=>{document.getElementById("analytic-dropdown").contains(e.target)||I(!E)},t=document.getElementById("post-picker");return t&&t.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e)}}));return e.jsx("div",Object.assign({ref:_},{children:e.jsxs(y.StyledModal,Object.assign({zIndex:201,open:h.showModal,headingTitle:h.title,onClose:h.onClose,centralContainerStyles:{width:1071,height:h.showFilter?650:564},primaryButton:{disabled:!f.length,buttonType:"primary",buttonText:`Select ${n.unCamelCase(h.mediaType)}`,onClick:()=>{w.length?h.onSelect(w):C(`Please select a ${h.mediaType} to proceed`)}},secondaryButton:{buttonType:"secondary",buttonText:"Back",onClick:()=>h.onClose()},footerLeftCustomElement:v?e.jsx(r.Tag,{tagText:v,type:"negative",LeadingIcon:c.default}):w.length?e.jsxs(i.BodySecondary,{children:[w.length," selected"]}):null,id:"post-picker"},{children:[h.showFilter&&e.jsxs("div",Object.assign({style:{marginTop:24,marginBottom:24,padding:"0 24px",display:"flex",flexDirection:"row",gap:8,alignItems:"center"}},{children:[e.jsx(p.AnalyticsDropdown,{options:x,placeholder:"posted on",resetDropdown:O,onOptionSelected:e=>{var t,a;let s=null,r=null;"Custom range"===e.label?(s=(null===(t=null==e?void 0:e.selectedRange)||void 0===t?void 0:t[0])||new Date,r=(null===(a=null==e?void 0:e.selectedRange)||void 0===a?void 0:a[1])||new Date):(s=e.typeValue[0],r=e.typeValue[1]);const i=h.media.filter((e=>function(e,t,a){const s=new Date(e),r=new Date(t),i=new Date(a);return s>=r&&s<=i}(e.timestamp,s,r)));q(i),P(!0),k(!1)},closeDropdown:E}),B&&e.jsx(i.ButtonRegular,Object.assign({color:l.COLORS.content.secondary,onClick:()=>k(!0),style:{cursor:"pointer"}},{children:"Clear"}))]})),T?e.jsx("div",Object.assign({style:{padding:"0 24px"}},{children:e.jsx(m.BikShimmer,{boxes:[{width:(h.mediaType==exports.MEDIA_TYPES.POST?148:104)+"px",height:(h.mediaType==exports.MEDIA_TYPES.POST?148:172)+"px"}]})})):e.jsx(e.Fragment,{children:f&&f.length?e.jsx(s.StyledProductGrid,Object.assign({mediaType:h.mediaType},{children:f.map((t=>{return e.jsxs(s.StyledProduct,Object.assign({mediaType:h.mediaType,className:""+(a=t,r=w,r.some((e=>e.id===a.id))?"selected":""),onClick:()=>{return e=t,void D((()=>w.find((t=>t.id===e.id))?w.filter((t=>t.id!==e.id)):!h.limit||w.length<h.limit?[...w,e]:(C(`Only ${h.limit} ${h.mediaType}s can be selected`),w)));var e}},{children:[e.jsx(j.ShimmerImage,{imageUrl:t.imageUrl,width:h.mediaType==exports.MEDIA_TYPES.POST?148:104,height:h.mediaType==exports.MEDIA_TYPES.POST?148:172,alt:t.overlayCaption}),e.jsxs("div",Object.assign({className:"overlay"},{children:[e.jsx("a",Object.assign({target:"_blank",rel:"noreferrer",href:t.redirectionUrl},{children:e.jsxs("div",Object.assign({className:"overlay__redirection"},{children:[e.jsx(d.default,{height:22,width:22}),e.jsx(i.BodyPrimary,Object.assign({color:o.PRIMARY,style:{fontWeight:500}},{children:"View"}))]}))})),e.jsx("div",Object.assign({className:"overlay__caption"},{children:e.jsx(i.BodyCaption,Object.assign({color:l.COLORS.content.placeholder},{children:t.overlayCaption}))}))]}))]}),t.id);var a,r}))})):e.jsx("div",Object.assign({style:{justifyContent:"center",alignItems:"center",display:"flex",height:422}},{children:h.media.length?f.length?e.jsx(e.Fragment,{}):e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"}},{children:[e.jsx("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",backgroundColor:`${l.COLORS.background.inverse}`,borderRadius:"50%"}},{children:e.jsx(t.SearchIcon,{color:l.COLORS.content.primaryInverse})})),e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px"}},{children:[e.jsx(i.TitleMedium,{children:"No results found"}),e.jsx(i.BodyPrimary,{children:"Sorry we could not find any results for the selected filter"})]})),e.jsx("div",Object.assign({onClick:()=>{k(!0)},style:{cursor:"pointer"}},{children:e.jsx(i.ButtonLarge,Object.assign({color:`${l.COLORS.content.brand}`},{children:"Clear Filter"}))}))]})):e.jsx(g.StateComponent,{states:g.StateInterface.WARNING,heading:`No ${h.mediaType}s on your account`,subline:`There seems to be no ${h.mediaType}s on your account`,isButtonEnabled:!1,width:400})}))})]}))}))},exports.dateOptions=x;
@@ -32,6 +32,7 @@ export * from './components/dropdown';
32
32
  export * from './components/analytics-card';
33
33
  export * from './components/input';
34
34
  export * from './components/analytics-chips-and-dropdowns';
35
+ export * from './components/half-doughnut-chart';
35
36
  export * from './components/avatar';
36
37
  export * from './components/alerts';
37
38
  export * from './components/thumbnail';