suada-components 1.2.1 → 1.4.0

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 (76) hide show
  1. package/dist/components/Button/Button.js +1 -1
  2. package/dist/components/Button/Button.js.map +1 -1
  3. package/dist/components/{DailyMotion-C87ZJeRt.js → DailyMotion-QLITiLX6.js} +1 -1
  4. package/dist/components/{DailyMotion-DbDeP0dq.esm.js → DailyMotion-dJVL9e3H.esm.js} +1 -1
  5. package/dist/components/{Facebook-DigX8u_u.js → Facebook-DUSQsxT0.js} +1 -1
  6. package/dist/components/{Facebook-B1XpGyBt.esm.js → Facebook-oiv7CRN4.esm.js} +1 -1
  7. package/dist/components/{FilePlayer-BSL_U8r8.esm.js → FilePlayer-B0iX_VuG.esm.js} +1 -1
  8. package/dist/components/{FilePlayer-BTuFK59w.js → FilePlayer-YziZ0BSF.js} +1 -1
  9. package/dist/components/{Kaltura-DAkp5nY0.esm.js → Kaltura-D84ZFqY1.esm.js} +1 -1
  10. package/dist/components/{Kaltura-CKV92aVd.js → Kaltura-uXGe7isE.js} +1 -1
  11. package/dist/components/{Mixcloud-CtWhrXiZ.esm.js → Mixcloud-BTbWN-a0.esm.js} +1 -1
  12. package/dist/components/{Mixcloud-CAgtZPq5.js → Mixcloud-D7KPYi8f.js} +1 -1
  13. package/dist/components/{Mux-BRYGMFV_.js → Mux-DRlgrJfr.js} +1 -1
  14. package/dist/components/{Mux-C0xOzOps.esm.js → Mux-s9nPEsa_.esm.js} +1 -1
  15. package/dist/components/Pagination/Pagination.d.ts +1 -1
  16. package/dist/components/Pagination/Pagination.js +2 -2
  17. package/dist/components/Pagination/Pagination.js.map +1 -1
  18. package/dist/components/Pagination/Pagination.stories.js +2 -0
  19. package/dist/components/Pagination/Pagination.stories.js.map +1 -1
  20. package/dist/components/Pagination/pagination.interface.d.ts +1 -0
  21. package/dist/components/Pagination/styled-components.d.ts +3 -1
  22. package/dist/components/Pagination/styled-components.js +7 -1
  23. package/dist/components/Pagination/styled-components.js.map +1 -1
  24. package/dist/components/{Preview-DSBoVsm9.js → Preview-C-BGR8lx.js} +1 -1
  25. package/dist/components/{Preview-Crcz-S0c.esm.js → Preview-rhSMz_hY.esm.js} +1 -1
  26. package/dist/components/{SoundCloud-1V8ahw7A.js → SoundCloud-B00ur_Qj.js} +1 -1
  27. package/dist/components/{SoundCloud-BC8iiobM.esm.js → SoundCloud-DrNeCiTx.esm.js} +1 -1
  28. package/dist/components/{Streamable-BhhnBO_c.js → Streamable-B-JUOMxP.js} +1 -1
  29. package/dist/components/{Streamable-CGxErYVF.esm.js → Streamable-Dffnss84.esm.js} +1 -1
  30. package/dist/components/{Twitch-E9YQS4X8.js → Twitch-DSAnP3JT.js} +1 -1
  31. package/dist/components/{Twitch-8quL43Fw.esm.js → Twitch-DvucdzzS.esm.js} +1 -1
  32. package/dist/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  33. package/dist/components/VideoPlayer/Controls/Controls.js +97 -13
  34. package/dist/components/VideoPlayer/Controls/Controls.js.map +1 -1
  35. package/dist/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  36. package/dist/components/VideoPlayer/Controls/Controls.styles.js +9 -7
  37. package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
  38. package/dist/components/VideoPlayer/Player.d.ts +1 -1
  39. package/dist/components/VideoPlayer/Player.interface.d.ts +4 -0
  40. package/dist/components/VideoPlayer/Player.js +3 -3
  41. package/dist/components/VideoPlayer/Player.js.map +1 -1
  42. package/dist/components/VideoPlayer/VideoPlayer.stories.d.ts +3 -0
  43. package/dist/components/VideoPlayer/VideoPlayer.stories.js +35 -0
  44. package/dist/components/VideoPlayer/VideoPlayer.stories.js.map +1 -1
  45. package/dist/components/{Vidyard-DsG0WHnh.esm.js → Vidyard--Qb_wLtp.esm.js} +1 -1
  46. package/dist/components/{Vidyard-B3v7M2i3.js → Vidyard-BFd5mrx4.js} +1 -1
  47. package/dist/components/{Vimeo-ddQ8CMRR.js → Vimeo-CIc5nmCA.js} +1 -1
  48. package/dist/components/{Vimeo-CXKbdxkV.esm.js → Vimeo-CR7Tdpoi.esm.js} +1 -1
  49. package/dist/components/{Wistia-B93lpDSs.js → Wistia-CH6tXv5E.js} +1 -1
  50. package/dist/components/{Wistia-CJDzE0TP.esm.js → Wistia-QMqy-uQw.esm.js} +1 -1
  51. package/dist/components/{YouTube-631v_AIH.js → YouTube-kg1XVxyv.js} +1 -1
  52. package/dist/components/{YouTube-CdjuPIIO.esm.js → YouTube-yMeWWl4H.esm.js} +1 -1
  53. package/dist/components/components/Pagination/Pagination.d.ts +1 -1
  54. package/dist/components/components/Pagination/pagination.interface.d.ts +1 -0
  55. package/dist/components/components/Pagination/styled-components.d.ts +3 -1
  56. package/dist/components/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  57. package/dist/components/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  58. package/dist/components/components/VideoPlayer/Player.d.ts +1 -1
  59. package/dist/components/components/VideoPlayer/Player.interface.d.ts +4 -0
  60. package/dist/components/{index-CyUx723z.esm.js → index-7zJZUuRi.esm.js} +184 -76
  61. package/dist/components/{index-Ciqeqnts.js → index-CDSxMyXo.js} +184 -76
  62. package/dist/components/index.esm.js +1 -1
  63. package/dist/icons/DownloadIcon.js +2 -2
  64. package/dist/icons/DownloadIcon.js.map +1 -1
  65. package/dist/icons/VolumeUpIcon.js +2 -2
  66. package/dist/icons/VolumeUpIcon.js.map +1 -1
  67. package/dist/icons/components/Pagination/Pagination.d.ts +1 -1
  68. package/dist/icons/components/Pagination/pagination.interface.d.ts +1 -0
  69. package/dist/icons/components/Pagination/styled-components.d.ts +3 -1
  70. package/dist/icons/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  71. package/dist/icons/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  72. package/dist/icons/components/VideoPlayer/Player.d.ts +1 -1
  73. package/dist/icons/components/VideoPlayer/Player.interface.d.ts +4 -0
  74. package/dist/icons/index.esm.js +8 -9
  75. package/dist/main.js.map +1 -1
  76. package/package.json +1 -1
@@ -2445,7 +2445,7 @@ var Button$1 = function Button(_a) {
2445
2445
  style: customStyles,
2446
2446
  onClick: onClick,
2447
2447
  type: htmlType,
2448
- className: className,
2448
+ className: "".concat(className, " button-theme-color"),
2449
2449
  children: [iconLeft, label, iconRight]
2450
2450
  });
2451
2451
  };
@@ -32391,11 +32391,11 @@ var StylesCardWrapper = dt.div(templateObject_10$2 || (templateObject_10$2 = __m
32391
32391
  });
32392
32392
  var StyledChecked = dt.div(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n background-color: rgb(0 0 0 / 23%);\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n background-color: rgb(0 0 0 / 23%);\n"])));
32393
32393
  dt.div(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n .icon_button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"], ["\n position: relative;\n cursor: pointer;\n .icon_button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
32394
- var CourseStatusContainer = dt.div(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
32394
+ var CourseStatusContainer = dt.div(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
32395
32395
  var $status = _a.$status;
32396
32396
  return !$status ? '#EA382A' : '#00905E';
32397
32397
  });
32398
- dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
32398
+ dt.div(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
32399
32399
  var TooltipContent = dt.div(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"])));
32400
32400
  var StyledCardBottomContainer = dt.div(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"], ["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
32401
32401
  var StyledActionsContainer = dt.div(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
@@ -32446,7 +32446,7 @@ var GridItem = dt.div(templateObject_32 || (templateObject_32 = __makeTemplateOb
32446
32446
  var $isFromUser = _a.$isFromUser;
32447
32447
  return $isFromUser && "\n figure {\n position: relative;\n &:after {\n content: 'View Analytics';\n position: absolute;\n top: 0;\n opacity: 0;\n color: #06c68f;\n left: 0;\n font-size: 24px;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.9);\n width: 100%;\n height: 100%;\n transition: opacity 0.3s ease;\n z-index: 10;\n }\n }\n\n &:hover {\n figure {\n &:after {\n opacity: 1;\n }\n }\n }\n " || '';
32448
32448
  });
32449
- var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
32449
+ var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
32450
32450
 
32451
32451
  var TooltipHeight$1 = function TooltipHeight(_a) {
32452
32452
  var text = _a.text,
@@ -34760,7 +34760,9 @@ DocumentAttachment.displayName = 'DocumentAttachment';
34760
34760
  var DownloadIcon = /*#__PURE__*/React.forwardRef(function (_a, ref) {
34761
34761
  var className = _a.className,
34762
34762
  onClick = _a.onClick,
34763
- props = __rest(_a, ["className", "onClick"]);
34763
+ _b = _a.fill,
34764
+ fill = _b === void 0 ? '#FFFFFF' : _b,
34765
+ props = __rest(_a, ["className", "onClick", "fill"]);
34764
34766
  return jsxRuntimeExports.jsxs("svg", __assign({
34765
34767
  ref: ref,
34766
34768
  width: '24',
@@ -34773,10 +34775,10 @@ var DownloadIcon = /*#__PURE__*/React.forwardRef(function (_a, ref) {
34773
34775
  }, props, {
34774
34776
  children: [jsxRuntimeExports.jsx("path", {
34775
34777
  d: 'M19.5 18V21H4.5V18H3V21C3 21.3978 3.15804 21.7794 3.43934 22.0607C3.72064 22.342 4.10218 22.5 4.5 22.5H19.5C19.8978 22.5 20.2794 22.342 20.5607 22.0607C20.842 21.7794 21 21.3978 21 21V18H19.5Z',
34776
- fill: '#020210'
34778
+ fill: fill
34777
34779
  }), jsxRuntimeExports.jsx("path", {
34778
34780
  d: 'M19.5 10.5L18.4425 9.4425L12.75 15.1275V1.5H11.25V15.1275L5.5575 9.4425L4.5 10.5L12 18L19.5 10.5Z',
34779
- fill: '#020210'
34781
+ fill: fill
34780
34782
  })]
34781
34783
  }));
34782
34784
  });
@@ -37694,7 +37696,7 @@ var VolumeUpIcon = /*#__PURE__*/React.forwardRef(function (_a, ref) {
37694
37696
  _b = _a.fill,
37695
37697
  fill = _b === void 0 ? '#68707A' : _b,
37696
37698
  props = __rest(_a, ["className", "onClick", "fill"]);
37697
- return jsxRuntimeExports.jsxs("svg", __assign({
37699
+ return jsxRuntimeExports.jsx("svg", __assign({
37698
37700
  ref: ref,
37699
37701
  width: '24',
37700
37702
  height: '24',
@@ -37704,13 +37706,10 @@ var VolumeUpIcon = /*#__PURE__*/React.forwardRef(function (_a, ref) {
37704
37706
  className: className,
37705
37707
  onClick: onClick
37706
37708
  }, props, {
37707
- children: [jsxRuntimeExports.jsx("path", {
37708
- d: 'M0 0h24v24H0V0z',
37709
- fill: 'none'
37710
- }), jsxRuntimeExports.jsx("path", {
37709
+ children: jsxRuntimeExports.jsx("path", {
37711
37710
  d: 'M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z',
37712
37711
  fill: fill
37713
- })]
37712
+ })
37714
37713
  }));
37715
37714
  });
37716
37715
  VolumeUpIcon.displayName = 'VolumeUpIcon';
@@ -42830,14 +42829,14 @@ var ItemContainer = dt.div(templateObject_11$1 || (templateObject_11$1 = __makeT
42830
42829
  return width || '100%';
42831
42830
  });
42832
42831
  dt.div(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n width: 390px;\n"], ["\n width: 390px;\n"])));
42833
- var CancelButton = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"], ["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_a) {
42832
+ var CancelButton = dt.div(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"], ["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_a) {
42834
42833
  var right = _a.right;
42835
42834
  return right || '-13px';
42836
42835
  }, function (_a) {
42837
42836
  var top = _a.top;
42838
42837
  return top || '5px';
42839
42838
  });
42840
- var InputFileContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
42839
+ var InputFileContainer = dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
42841
42840
  var UploadInput = dt.input(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"], ["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
42842
42841
  dt.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"], ["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"])));
42843
42842
  var ImagePlaceholder = dt.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"], ["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"])), function (_a) {
@@ -42861,7 +42860,7 @@ var Title = dt.h2(templateObject_24 || (templateObject_24 = __makeTemplateObject
42861
42860
  var $required = _a.$required;
42862
42861
  return $required ? "\n &::after {\n content: '*';\n color: red;\n margin-left: 3px;\n }\n " : '';
42863
42862
  });
42864
- var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
42863
+ var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
42865
42864
 
42866
42865
  var InsertDriveFile = {};
42867
42866
 
@@ -61157,7 +61156,13 @@ var Checkbox = function Checkbox(_a) {
61157
61156
  });
61158
61157
  };
61159
61158
 
61160
- var PaginationWrapper = dt.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: #08c694;\n color: white;\n\n &:hover {\n background: #08c694;\n border: none;\n }\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: #08c694;\n color: white;\n\n &:hover {\n background: #08c694;\n border: none;\n }\n }\n }\n"])));
61159
+ var PaginationWrapper = dt.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: ", ";\n color: white;\n\n &:hover {\n background: ", ";\n border: none;\n }\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: ", ";\n color: white;\n\n &:hover {\n background: ", ";\n border: none;\n }\n }\n }\n"])), function (_a) {
61160
+ var $themeColor = _a.$themeColor;
61161
+ return $themeColor || '#08c694';
61162
+ }, function (_a) {
61163
+ var $themeColor = _a.$themeColor;
61164
+ return $themeColor || '#08c694';
61165
+ });
61161
61166
  var templateObject_1$e;
61162
61167
 
61163
61168
  var Pagination = function Pagination(_a) {
@@ -61165,8 +61170,10 @@ var Pagination = function Pagination(_a) {
61165
61170
  totalPages = _a.totalPages,
61166
61171
  handleChange = _a.handleChange,
61167
61172
  perPage = _a.perPage,
61173
+ themeColor = _a.themeColor,
61168
61174
  handlePerPageChange = _a.handlePerPageChange;
61169
61175
  return jsxRuntimeExports.jsxs(PaginationWrapper, {
61176
+ "$themeColor": themeColor,
61170
61177
  children: [perPage && jsxRuntimeExports.jsxs(Select$1, {
61171
61178
  variant: 'standard',
61172
61179
  "native": true,
@@ -81409,7 +81416,7 @@ function requirePlayers () {
81409
81416
  canPlay: import_patterns.canPlay.youtube,
81410
81417
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81411
81418
  /* webpackChunkName: 'reactPlayerYouTube' */
81412
- './YouTube-631v_AIH.js'
81419
+ './YouTube-kg1XVxyv.js'
81413
81420
  ); }).then(function (n) { return n.YouTube; }))
81414
81421
  },
81415
81422
  {
@@ -81418,7 +81425,7 @@ function requirePlayers () {
81418
81425
  canPlay: import_patterns.canPlay.soundcloud,
81419
81426
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81420
81427
  /* webpackChunkName: 'reactPlayerSoundCloud' */
81421
- './SoundCloud-1V8ahw7A.js'
81428
+ './SoundCloud-B00ur_Qj.js'
81422
81429
  ); }).then(function (n) { return n.SoundCloud; }))
81423
81430
  },
81424
81431
  {
@@ -81427,7 +81434,7 @@ function requirePlayers () {
81427
81434
  canPlay: import_patterns.canPlay.vimeo,
81428
81435
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81429
81436
  /* webpackChunkName: 'reactPlayerVimeo' */
81430
- './Vimeo-ddQ8CMRR.js'
81437
+ './Vimeo-CIc5nmCA.js'
81431
81438
  ); }).then(function (n) { return n.Vimeo; }))
81432
81439
  },
81433
81440
  {
@@ -81436,7 +81443,7 @@ function requirePlayers () {
81436
81443
  canPlay: import_patterns.canPlay.mux,
81437
81444
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81438
81445
  /* webpackChunkName: 'reactPlayerMux' */
81439
- './Mux-BRYGMFV_.js'
81446
+ './Mux-DRlgrJfr.js'
81440
81447
  ); }).then(function (n) { return n.Mux; }))
81441
81448
  },
81442
81449
  {
@@ -81445,7 +81452,7 @@ function requirePlayers () {
81445
81452
  canPlay: import_patterns.canPlay.facebook,
81446
81453
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81447
81454
  /* webpackChunkName: 'reactPlayerFacebook' */
81448
- './Facebook-DigX8u_u.js'
81455
+ './Facebook-DUSQsxT0.js'
81449
81456
  ); }).then(function (n) { return n.Facebook; }))
81450
81457
  },
81451
81458
  {
@@ -81454,7 +81461,7 @@ function requirePlayers () {
81454
81461
  canPlay: import_patterns.canPlay.streamable,
81455
81462
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81456
81463
  /* webpackChunkName: 'reactPlayerStreamable' */
81457
- './Streamable-BhhnBO_c.js'
81464
+ './Streamable-B-JUOMxP.js'
81458
81465
  ); }).then(function (n) { return n.Streamable; }))
81459
81466
  },
81460
81467
  {
@@ -81463,7 +81470,7 @@ function requirePlayers () {
81463
81470
  canPlay: import_patterns.canPlay.wistia,
81464
81471
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81465
81472
  /* webpackChunkName: 'reactPlayerWistia' */
81466
- './Wistia-B93lpDSs.js'
81473
+ './Wistia-CH6tXv5E.js'
81467
81474
  ); }).then(function (n) { return n.Wistia; }))
81468
81475
  },
81469
81476
  {
@@ -81472,7 +81479,7 @@ function requirePlayers () {
81472
81479
  canPlay: import_patterns.canPlay.twitch,
81473
81480
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81474
81481
  /* webpackChunkName: 'reactPlayerTwitch' */
81475
- './Twitch-E9YQS4X8.js'
81482
+ './Twitch-DSAnP3JT.js'
81476
81483
  ); }).then(function (n) { return n.Twitch; }))
81477
81484
  },
81478
81485
  {
@@ -81481,7 +81488,7 @@ function requirePlayers () {
81481
81488
  canPlay: import_patterns.canPlay.dailymotion,
81482
81489
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81483
81490
  /* webpackChunkName: 'reactPlayerDailyMotion' */
81484
- './DailyMotion-C87ZJeRt.js'
81491
+ './DailyMotion-QLITiLX6.js'
81485
81492
  ); }).then(function (n) { return n.DailyMotion; }))
81486
81493
  },
81487
81494
  {
@@ -81490,7 +81497,7 @@ function requirePlayers () {
81490
81497
  canPlay: import_patterns.canPlay.mixcloud,
81491
81498
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81492
81499
  /* webpackChunkName: 'reactPlayerMixcloud' */
81493
- './Mixcloud-CAgtZPq5.js'
81500
+ './Mixcloud-D7KPYi8f.js'
81494
81501
  ); }).then(function (n) { return n.Mixcloud; }))
81495
81502
  },
81496
81503
  {
@@ -81499,7 +81506,7 @@ function requirePlayers () {
81499
81506
  canPlay: import_patterns.canPlay.vidyard,
81500
81507
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81501
81508
  /* webpackChunkName: 'reactPlayerVidyard' */
81502
- './Vidyard-B3v7M2i3.js'
81509
+ './Vidyard-BFd5mrx4.js'
81503
81510
  ); }).then(function (n) { return n.Vidyard; }))
81504
81511
  },
81505
81512
  {
@@ -81508,7 +81515,7 @@ function requirePlayers () {
81508
81515
  canPlay: import_patterns.canPlay.kaltura,
81509
81516
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81510
81517
  /* webpackChunkName: 'reactPlayerKaltura' */
81511
- './Kaltura-CKV92aVd.js'
81518
+ './Kaltura-uXGe7isE.js'
81512
81519
  ); }).then(function (n) { return n.Kaltura; }))
81513
81520
  },
81514
81521
  {
@@ -81520,7 +81527,7 @@ function requirePlayers () {
81520
81527
  },
81521
81528
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
81522
81529
  /* webpackChunkName: 'reactPlayerFilePlayer' */
81523
- './FilePlayer-BTuFK59w.js'
81530
+ './FilePlayer-YziZ0BSF.js'
81524
81531
  ); }).then(function (n) { return n.FilePlayer; }))
81525
81532
  }
81526
81533
  ];
@@ -82341,7 +82348,7 @@ function requireReactPlayer () {
82341
82348
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
82342
82349
  const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
82343
82350
  /* webpackChunkName: 'reactPlayerPreview' */
82344
- './Preview-DSBoVsm9.js'
82351
+ './Preview-C-BGR8lx.js'
82345
82352
  ); }).then(function (n) { return n.Preview; }));
82346
82353
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
82347
82354
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -82597,15 +82604,17 @@ var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __
82597
82604
  });
82598
82605
  var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n"])));
82599
82606
  var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
82600
- var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: var(--neutral-colors-light);\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: var(--neutral-colors-light);\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
82607
+ var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
82601
82608
  fontStyle: 'descriptor'
82602
82609
  });
82603
- var StyledHeartIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg > path {\n fill: var(--neutral-colors-light);\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg > path {\n fill: var(--neutral-colors-light);\n }\n"])));
82604
- var StyledSubtitlesIconContainer = dt.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
82605
- var StyledFullscreenIconContainer = dt.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82606
- var StyledVolumeIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82607
- var StyledPlayPauseIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82608
- var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
82610
+ var StyledHeartIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82611
+ var StyledDownloadIconContainer = dt.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82612
+ var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82613
+ var StyledFullscreenIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82614
+ var StyledVolumeIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82615
+ var StyledPlayPauseIconContainer = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82616
+ var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
82617
+ var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
82609
82618
 
82610
82619
  var PLAYBACK_SPEED_LIST = [{
82611
82620
  label: 'playback_speed.2x',
@@ -82819,7 +82828,60 @@ var Controls = function Controls(_a) {
82819
82828
  handleSkipForward = _a.handleSkipForward,
82820
82829
  isNextVideo = _a.isNextVideo,
82821
82830
  isPreviousVideo = _a.isPreviousVideo,
82822
- showFavorite = _a.showFavorite;
82831
+ showFavorite = _a.showFavorite,
82832
+ showDownload = _a.showDownload,
82833
+ downloadUrl = _a.downloadUrl,
82834
+ downloadFileName = _a.downloadFileName,
82835
+ onDownload = _a.onDownload;
82836
+ var handleDownloadClick = function handleDownloadClick() {
82837
+ return __awaiter(void 0, void 0, void 0, function () {
82838
+ var response, blob, blobUrl, link, error_1, link;
82839
+ return __generator(this, function (_a) {
82840
+ switch (_a.label) {
82841
+ case 0:
82842
+ if (!onDownload) return [3 /*break*/, 1];
82843
+ onDownload();
82844
+ return [3 /*break*/, 6];
82845
+ case 1:
82846
+ if (!downloadUrl) return [3 /*break*/, 6];
82847
+ _a.label = 2;
82848
+ case 2:
82849
+ _a.trys.push([2, 5,, 6]);
82850
+ return [4 /*yield*/, fetch(downloadUrl)];
82851
+ case 3:
82852
+ response = _a.sent();
82853
+ if (!response.ok) throw new Error('Download failed');
82854
+ return [4 /*yield*/, response.blob()];
82855
+ case 4:
82856
+ blob = _a.sent();
82857
+ blobUrl = window.URL.createObjectURL(blob);
82858
+ link = document.createElement('a');
82859
+ link.href = blobUrl;
82860
+ link.download = downloadFileName || 'video-download';
82861
+ link.style.display = 'none';
82862
+ document.body.appendChild(link);
82863
+ link.click();
82864
+ document.body.removeChild(link);
82865
+ // Clean up blob URL
82866
+ window.URL.revokeObjectURL(blobUrl);
82867
+ return [3 /*break*/, 6];
82868
+ case 5:
82869
+ error_1 = _a.sent();
82870
+ console.error('Download failed:', error_1);
82871
+ link = document.createElement('a');
82872
+ link.href = downloadUrl;
82873
+ link.download = downloadFileName || 'video-download';
82874
+ link.style.display = 'none';
82875
+ document.body.appendChild(link);
82876
+ link.click();
82877
+ document.body.removeChild(link);
82878
+ return [3 /*break*/, 6];
82879
+ case 6:
82880
+ return [2 /*return*/];
82881
+ }
82882
+ });
82883
+ });
82884
+ };
82823
82885
  return jsxRuntimeExports.jsxs(StyledControls, {
82824
82886
  children: [jsxRuntimeExports.jsx(StyledSlider, {
82825
82887
  type: 'range',
@@ -82830,18 +82892,34 @@ var Controls = function Controls(_a) {
82830
82892
  onChange: seekHandler,
82831
82893
  onMouseUp: seekMouseUpHandler
82832
82894
  }), jsxRuntimeExports.jsxs(StyledControllerLeft, {
82833
- children: [jsxRuntimeExports.jsx(StyledPlayPauseIconContainer, {
82834
- onClick: playPauseHandler,
82835
- children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
82836
- }), jsxRuntimeExports.jsx(RewindIcon, {
82837
- onClick: rewindHandler
82838
- }), jsxRuntimeExports.jsx(RewindIcon, {
82839
- forward: true,
82840
- onClick: handleFastForward
82895
+ children: [jsxRuntimeExports.jsx(CustomTooltip, {
82896
+ title: playing ? 'Pause' : 'Play',
82897
+ children: jsxRuntimeExports.jsx(StyledPlayPauseIconContainer, {
82898
+ onClick: playPauseHandler,
82899
+ children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
82900
+ })
82901
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82902
+ title: "Rewind 10 seconds",
82903
+ children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
82904
+ children: jsxRuntimeExports.jsx(RewindIcon, {
82905
+ onClick: rewindHandler
82906
+ })
82907
+ })
82908
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82909
+ title: "Forward 10 seconds",
82910
+ children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
82911
+ children: jsxRuntimeExports.jsx(RewindIcon, {
82912
+ forward: true,
82913
+ onClick: handleFastForward
82914
+ })
82915
+ })
82841
82916
  }), jsxRuntimeExports.jsxs(StyledVolumeWrapper, {
82842
- children: [jsxRuntimeExports.jsx(StyledVolumeIconContainer, {
82843
- onClick: muteHandler,
82844
- children: muted ? jsxRuntimeExports.jsx(VolumeMuteIcon, {}) : jsxRuntimeExports.jsx(VolumeUpIcon, {})
82917
+ children: [jsxRuntimeExports.jsx(CustomTooltip, {
82918
+ title: muted ? 'Unmute' : 'Mute',
82919
+ children: jsxRuntimeExports.jsx(StyledVolumeIconContainer, {
82920
+ onClick: muteHandler,
82921
+ children: muted ? jsxRuntimeExports.jsx(VolumeMuteIcon, {}) : jsxRuntimeExports.jsx(VolumeUpIcon, {})
82922
+ })
82845
82923
  }), jsxRuntimeExports.jsx(StyledVolumeSlider, {
82846
82924
  type: 'range',
82847
82925
  value: volume * 100,
@@ -82851,23 +82929,39 @@ var Controls = function Controls(_a) {
82851
82929
  children: [formatCurrentTime, " /", formatDuration]
82852
82930
  })]
82853
82931
  }), jsxRuntimeExports.jsxs(StyledControllerRight, {
82854
- children: [handleSkipBackward && jsxRuntimeExports.jsx(SkipIcon, {
82855
- onClick: function onClick() {
82856
- if (!isPreviousVideo) return;
82857
- handleSkipBackward();
82858
- },
82859
- className: isPreviousVideo ? '' : 'skip-icon-disabled'
82860
- }), handleSkipForward && jsxRuntimeExports.jsx(SkipIcon, {
82861
- forward: true,
82862
- onClick: function onClick() {
82863
- if (!isNextVideo) return;
82864
- handleSkipForward();
82865
- },
82866
- className: isNextVideo ? '' : 'skip-icon-disabled'
82867
- }), showFavorite && jsxRuntimeExports.jsx(StyledHeartIconContainer, {
82868
- children: jsxRuntimeExports.jsx(HeartIcon, {
82869
- active: isFavorite,
82870
- onClick: toggleIsFavorite
82932
+ children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
82933
+ title: "Previous video",
82934
+ children: jsxRuntimeExports.jsx(SkipIcon, {
82935
+ onClick: function onClick() {
82936
+ if (!isPreviousVideo) return;
82937
+ handleSkipBackward();
82938
+ },
82939
+ className: isPreviousVideo ? '' : 'skip-icon-disabled'
82940
+ })
82941
+ }), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
82942
+ title: "Next video",
82943
+ children: jsxRuntimeExports.jsx(SkipIcon, {
82944
+ forward: true,
82945
+ onClick: function onClick() {
82946
+ if (!isNextVideo) return;
82947
+ handleSkipForward();
82948
+ },
82949
+ className: isNextVideo ? '' : 'skip-icon-disabled'
82950
+ })
82951
+ }), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
82952
+ title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
82953
+ children: jsxRuntimeExports.jsx(StyledHeartIconContainer, {
82954
+ children: jsxRuntimeExports.jsx(HeartIcon, {
82955
+ active: isFavorite,
82956
+ onClick: toggleIsFavorite
82957
+ })
82958
+ })
82959
+ }), showDownload && downloadUrl && jsxRuntimeExports.jsx(CustomTooltip, {
82960
+ title: "Download video",
82961
+ children: jsxRuntimeExports.jsx(StyledDownloadIconContainer, {
82962
+ children: jsxRuntimeExports.jsx(DownloadIcon, {
82963
+ onClick: handleDownloadClick
82964
+ })
82871
82965
  })
82872
82966
  }), jsxRuntimeExports.jsx(PlaybackSpeedMenu, {
82873
82967
  playbackSpeed: playbackRate,
@@ -82885,14 +82979,20 @@ var Controls = function Controls(_a) {
82885
82979
  right: '8px',
82886
82980
  left: 'auto'
82887
82981
  }
82888
- }), subtitle && jsxRuntimeExports.jsx(StyledSubtitlesIconContainer, {
82889
- children: jsxRuntimeExports.jsx(SubtitlesIcon, {
82890
- active: isSubtitlesChecked,
82891
- onClick: toggleSubtitlesCheck
82982
+ }), subtitle && jsxRuntimeExports.jsx(CustomTooltip, {
82983
+ title: isSubtitlesChecked ? 'Hide subtitles' : 'Show subtitles',
82984
+ children: jsxRuntimeExports.jsx(StyledSubtitlesIconContainer, {
82985
+ children: jsxRuntimeExports.jsx(SubtitlesIcon, {
82986
+ active: isSubtitlesChecked,
82987
+ onClick: toggleSubtitlesCheck
82988
+ })
82989
+ })
82990
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82991
+ title: isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen',
82992
+ children: jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
82993
+ onClick: handleFullScreen,
82994
+ children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
82892
82995
  })
82893
- }), jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
82894
- onClick: handleFullScreen,
82895
- children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
82896
82996
  })]
82897
82997
  })]
82898
82998
  });
@@ -89137,7 +89237,11 @@ var VideoPlayer = function VideoPlayer(_a) {
89137
89237
  return [2 /*return*/];
89138
89238
  });
89139
89239
  });
89140
- } : _h;
89240
+ } : _h,
89241
+ showDownload = _a.showDownload,
89242
+ downloadUrl = _a.downloadUrl,
89243
+ downloadFileName = _a.downloadFileName,
89244
+ onDownload = _a.onDownload;
89141
89245
  var videoRef = React.useRef(null);
89142
89246
  var _j = usePlayerControls({
89143
89247
  startTime: startTime,
@@ -89289,7 +89393,11 @@ var VideoPlayer = function VideoPlayer(_a) {
89289
89393
  handleSkipForward: handleNextVideo,
89290
89394
  isNextVideo: isNextVideo,
89291
89395
  isPreviousVideo: isPreviousVideo,
89292
- showFavorite: showFavorite
89396
+ showFavorite: showFavorite,
89397
+ showDownload: showDownload,
89398
+ downloadUrl: downloadUrl,
89399
+ downloadFileName: downloadFileName,
89400
+ onDownload: onDownload
89293
89401
  })
89294
89402
  })]
89295
89403
  });
@@ -1,3 +1,3 @@
1
- export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, o as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, u as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, R as RadioButton, v as RangeSlider, S as SearchInput, n as SplashScreen, p as StatusIndicator, s as TabNavigation, q as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, t as activeTabClassName } from './index-CyUx723z.esm.js';
1
+ export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, o as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, u as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, R as RadioButton, v as RangeSlider, S as SearchInput, n as SplashScreen, p as StatusIndicator, s as TabNavigation, q as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, t as activeTabClassName } from './index-7zJZUuRi.esm.js';
2
2
  import 'react';
3
3
  import 'react-dom';
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  import { forwardRef } from 'react';
25
25
  export var DownloadIcon = forwardRef(function (_a, ref) {
26
- var className = _a.className, onClick = _a.onClick, props = __rest(_a, ["className", "onClick"]);
27
- return (_jsxs("svg", __assign({ ref: ref, width: '24', height: '24', viewBox: '0 0 24 24', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', className: className, onClick: onClick }, props, { children: [_jsx("path", { d: 'M19.5 18V21H4.5V18H3V21C3 21.3978 3.15804 21.7794 3.43934 22.0607C3.72064 22.342 4.10218 22.5 4.5 22.5H19.5C19.8978 22.5 20.2794 22.342 20.5607 22.0607C20.842 21.7794 21 21.3978 21 21V18H19.5Z', fill: '#020210' }), _jsx("path", { d: 'M19.5 10.5L18.4425 9.4425L12.75 15.1275V1.5H11.25V15.1275L5.5575 9.4425L4.5 10.5L12 18L19.5 10.5Z', fill: '#020210' })] })));
26
+ var className = _a.className, onClick = _a.onClick, _b = _a.fill, fill = _b === void 0 ? '#FFFFFF' : _b, props = __rest(_a, ["className", "onClick", "fill"]);
27
+ return (_jsxs("svg", __assign({ ref: ref, width: '24', height: '24', viewBox: '0 0 24 24', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', className: className, onClick: onClick }, props, { children: [_jsx("path", { d: 'M19.5 18V21H4.5V18H3V21C3 21.3978 3.15804 21.7794 3.43934 22.0607C3.72064 22.342 4.10218 22.5 4.5 22.5H19.5C19.8978 22.5 20.2794 22.342 20.5607 22.0607C20.842 21.7794 21 21.3978 21 21V18H19.5Z', fill: fill }), _jsx("path", { d: 'M19.5 10.5L18.4425 9.4425L12.75 15.1275V1.5H11.25V15.1275L5.5575 9.4425L4.5 10.5L12 18L19.5 10.5Z', fill: fill })] })));
28
28
  });
29
29
  DownloadIcon.displayName = 'DownloadIcon';
30
30
  //# sourceMappingURL=DownloadIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DownloadIcon.js","sourceRoot":"","sources":["../../src/icons/DownloadIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,MAAM,CAAC,IAAM,YAAY,GAAG,UAAU,CACpC,UAAC,EAAgC,EAAE,GAAG;IAAnC,IAAA,SAAS,eAAA,EAAE,OAAO,aAAA,EAAK,KAAK,cAA9B,wBAAgC,CAAF;IAC7B,OAAO,CACL,wBACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,IACZ,KAAK,eAET,eACE,CAAC,EAAC,kMAAkM,EACpM,IAAI,EAAC,SAAS,GACd,EACF,eACE,CAAC,EAAC,mGAAmG,EACrG,IAAI,EAAC,SAAS,GACd,KACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,YAAY,CAAC,WAAW,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"DownloadIcon.js","sourceRoot":"","sources":["../../src/icons/DownloadIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,MAAM,CAAC,IAAM,YAAY,GAAG,UAAU,CACpC,UAAC,EAAkD,EAAE,GAAG;IAArD,IAAA,SAAS,eAAA,EAAE,OAAO,aAAA,EAAE,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAAK,KAAK,cAAhD,gCAAkD,CAAF;IAC/C,OAAO,CACL,wBACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,IACZ,KAAK,eAET,eACE,CAAC,EAAC,kMAAkM,EACpM,IAAI,EAAE,IAAI,GACV,EACF,eACE,CAAC,EAAC,mGAAmG,EACrG,IAAI,EAAE,IAAI,GACV,KACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,YAAY,CAAC,WAAW,GAAG,cAAc,CAAA"}
@@ -20,11 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { forwardRef } from 'react';
25
25
  export var VolumeUpIcon = forwardRef(function (_a, ref) {
26
26
  var className = _a.className, onClick = _a.onClick, _b = _a.fill, fill = _b === void 0 ? '#68707A' : _b, props = __rest(_a, ["className", "onClick", "fill"]);
27
- return (_jsxs("svg", __assign({ ref: ref, width: '24', height: '24', viewBox: '0 0 24 24', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', className: className, onClick: onClick }, props, { children: [_jsx("path", { d: 'M0 0h24v24H0V0z', fill: 'none' }), _jsx("path", { d: 'M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z', fill: fill })] })));
27
+ return (_jsx("svg", __assign({ ref: ref, width: '24', height: '24', viewBox: '0 0 24 24', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', className: className, onClick: onClick }, props, { children: _jsx("path", { d: 'M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z', fill: fill }) })));
28
28
  });
29
29
  VolumeUpIcon.displayName = 'VolumeUpIcon';
30
30
  //# sourceMappingURL=VolumeUpIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VolumeUpIcon.js","sourceRoot":"","sources":["../../src/icons/VolumeUpIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,MAAM,CAAC,IAAM,YAAY,GAAG,UAAU,CACpC,UAAC,EAAkD,EAAE,GAAG;IAArD,IAAA,SAAS,eAAA,EAAE,OAAO,aAAA,EAAE,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAAK,KAAK,cAAhD,gCAAkD,CAAF;IAC/C,OAAO,CACL,wBACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,IACZ,KAAK,eAET,eAAM,CAAC,EAAC,iBAAiB,EAAC,IAAI,EAAC,MAAM,GAAG,EACxC,eACE,CAAC,EAAC,0OAA0O,EAC5O,IAAI,EAAE,IAAI,GACV,KACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,YAAY,CAAC,WAAW,GAAG,cAAc,CAAA"}
1
+ {"version":3,"file":"VolumeUpIcon.js","sourceRoot":"","sources":["../../src/icons/VolumeUpIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,MAAM,CAAC,IAAM,YAAY,GAAG,UAAU,CACpC,UAAC,EAAkD,EAAE,GAAG;IAArD,IAAA,SAAS,eAAA,EAAE,OAAO,aAAA,EAAE,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAAK,KAAK,cAAhD,gCAAkD,CAAF;IAC/C,OAAO,CACL,uBACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,IACZ,KAAK,cAET,eACE,CAAC,EAAC,0OAA0O,EAC5O,IAAI,EAAE,IAAI,GACV,IACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,YAAY,CAAC,WAAW,GAAG,cAAc,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IPaginationV2Props } from './pagination.interface';
3
- export declare const Pagination: ({ currentPage, totalPages, handleChange, perPage, handlePerPageChange, }: IPaginationV2Props) => ReactElement;
3
+ export declare const Pagination: ({ currentPage, totalPages, handleChange, perPage, themeColor, handlePerPageChange, }: IPaginationV2Props) => ReactElement;
@@ -4,6 +4,7 @@ export interface IPaginationV2Props {
4
4
  currentPage: number;
5
5
  totalPages: number;
6
6
  perPage?: number;
7
+ themeColor?: string;
7
8
  handleChange: (event: ChangeEvent<unknown>, value: number) => void;
8
9
  handlePerPageChange?: (event: SelectChangeEvent<number>, child: ReactNode) => void;
9
10
  }
@@ -1 +1,3 @@
1
- export declare const PaginationWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const PaginationWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ $themeColor?: string;
3
+ }>> & string;
@@ -29,4 +29,8 @@ export interface ControlsProps {
29
29
  isNextVideo?: boolean;
30
30
  isPreviousVideo?: boolean;
31
31
  showFavorite?: boolean;
32
+ showDownload?: boolean;
33
+ downloadUrl?: string;
34
+ downloadFileName?: string;
35
+ onDownload?: () => void;
32
36
  }
@@ -9,8 +9,10 @@ export declare const StyledControllerLeft: import("styled-components/dist/types"
9
9
  export declare const StyledControllerRight: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
10
  export declare const StyledTimeTrack: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
11
  export declare const StyledHeartIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
+ export declare const StyledDownloadIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
13
  export declare const StyledSubtitlesIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
14
  export declare const StyledFullscreenIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
15
  export declare const StyledVolumeIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
16
  export declare const StyledPlayPauseIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
17
+ export declare const StyledRewindIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
18
  export {};