component-shared 1.0.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 (283) hide show
  1. package/Components/Charts/AreaChart.d.ts +19 -0
  2. package/Components/Charts/AreaChart.js +59 -0
  3. package/Components/Charts/AreaChart.js.map +1 -0
  4. package/Components/Charts/BarChart.d.ts +20 -0
  5. package/Components/Charts/BarChart.js +81 -0
  6. package/Components/Charts/BarChart.js.map +1 -0
  7. package/Components/Charts/DoughnutChart.d.ts +12 -0
  8. package/Components/Charts/DoughnutChart.js +81 -0
  9. package/Components/Charts/DoughnutChart.js.map +1 -0
  10. package/Components/Charts/HorizontalBarChart.d.ts +38 -0
  11. package/Components/Charts/HorizontalBarChart.js +83 -0
  12. package/Components/Charts/HorizontalBarChart.js.map +1 -0
  13. package/Components/Charts/LineChart.d.ts +21 -0
  14. package/Components/Charts/LineChart.js +133 -0
  15. package/Components/Charts/LineChart.js.map +1 -0
  16. package/Components/Charts/PieChart.d.ts +20 -0
  17. package/Components/Charts/PieChart.js +123 -0
  18. package/Components/Charts/PieChart.js.map +1 -0
  19. package/Components/Charts/index.d.ts +5 -0
  20. package/Components/Charts/index.js +6 -0
  21. package/Components/Charts/index.js.map +1 -0
  22. package/Components/Charts/type.d.ts +6 -0
  23. package/Components/Charts/type.js +2 -0
  24. package/Components/Charts/type.js.map +1 -0
  25. package/Components/CopyToClipboard/index.d.ts +23 -0
  26. package/Components/CopyToClipboard/index.js +54 -0
  27. package/Components/CopyToClipboard/index.js.map +1 -0
  28. package/Components/CopyToClipboard/indexv2.d.ts +30 -0
  29. package/Components/CopyToClipboard/indexv2.js +63 -0
  30. package/Components/CopyToClipboard/indexv2.js.map +1 -0
  31. package/Components/DropZone/components/DropzoneArea.d.ts +31 -0
  32. package/Components/DropZone/components/DropzoneArea.js +221 -0
  33. package/Components/DropZone/components/DropzoneArea.js.map +1 -0
  34. package/Components/DropZone/components/DropzoneAreaBase.d.ts +4 -0
  35. package/Components/DropZone/components/DropzoneAreaBase.js +555 -0
  36. package/Components/DropZone/components/DropzoneAreaBase.js.map +1 -0
  37. package/Components/DropZone/components/DropzoneDialog.d.ts +33 -0
  38. package/Components/DropZone/components/DropzoneDialog.js +222 -0
  39. package/Components/DropZone/components/DropzoneDialog.js.map +1 -0
  40. package/Components/DropZone/components/DropzoneDialogBase.d.ts +27 -0
  41. package/Components/DropZone/components/DropzoneDialogBase.js +152 -0
  42. package/Components/DropZone/components/DropzoneDialogBase.js.map +1 -0
  43. package/Components/DropZone/components/PreviewList.d.ts +3 -0
  44. package/Components/DropZone/components/PreviewList.js +132 -0
  45. package/Components/DropZone/components/PreviewList.js.map +1 -0
  46. package/Components/DropZone/components/SnackbarContentWrapper.d.ts +3 -0
  47. package/Components/DropZone/components/SnackbarContentWrapper.js +94 -0
  48. package/Components/DropZone/components/SnackbarContentWrapper.js.map +1 -0
  49. package/Components/DropZone/helpers.d.ts +5 -0
  50. package/Components/DropZone/helpers.js +64 -0
  51. package/Components/DropZone/helpers.js.map +1 -0
  52. package/Components/DropZone/index.d.ts +120 -0
  53. package/Components/EditAvatar/index.d.ts +26 -0
  54. package/Components/EditAvatar/index.js +137 -0
  55. package/Components/EditAvatar/index.js.map +1 -0
  56. package/Components/FlexInfiniteScroll/index.d.ts +26 -0
  57. package/Components/FlexInfiniteScroll/index.js +82 -0
  58. package/Components/FlexInfiniteScroll/index.js.map +1 -0
  59. package/Components/Helper/LazySpinner.d.ts +5 -0
  60. package/Components/Helper/LazySpinner.js +33 -0
  61. package/Components/Helper/LazySpinner.js.map +1 -0
  62. package/Components/Helper/RoleKey.d.ts +9 -0
  63. package/Components/Helper/RoleKey.js +15 -0
  64. package/Components/Helper/RoleKey.js.map +1 -0
  65. package/Components/Helper/index.d.ts +41 -0
  66. package/Components/Helper/index.js +247 -0
  67. package/Components/Helper/index.js.map +1 -0
  68. package/Components/HocLazyView/index.d.ts +51 -0
  69. package/Components/HocLazyView/index.js +123 -0
  70. package/Components/HocLazyView/index.js.map +1 -0
  71. package/Components/HtmlTooltip/index.d.ts +3 -0
  72. package/Components/HtmlTooltip/index.js +28 -0
  73. package/Components/HtmlTooltip/index.js.map +1 -0
  74. package/Components/Icons/index.d.ts +6 -0
  75. package/Components/Icons/index.js +52 -0
  76. package/Components/Icons/index.js.map +1 -0
  77. package/Components/LazySpinner.css +6 -0
  78. package/Components/MapLayout/index.d.ts +33 -0
  79. package/Components/MapLayout/index.js +80 -0
  80. package/Components/MapLayout/index.js.map +1 -0
  81. package/Components/MessageBox/index.d.ts +28 -0
  82. package/Components/MessageBox/index.js +93 -0
  83. package/Components/MessageBox/index.js.map +1 -0
  84. package/Components/Models/index.d.ts +641 -0
  85. package/Components/Models/index.js +87 -0
  86. package/Components/Models/index.js.map +1 -0
  87. package/Components/Redux/core/CRUDSlice.d.ts +20 -0
  88. package/Components/Redux/core/CRUDSlice.js +62 -0
  89. package/Components/Redux/core/CRUDSlice.js.map +1 -0
  90. package/Components/Redux/core/type.d.ts +11 -0
  91. package/Components/Redux/core/type.js +9 -0
  92. package/Components/Redux/core/type.js.map +1 -0
  93. package/Components/SkeletonLazyView/index.d.ts +9 -0
  94. package/Components/SkeletonLazyView/index.js +38 -0
  95. package/Components/SkeletonLazyView/index.js.map +1 -0
  96. package/Components/SkeletonService/index.d.ts +15 -0
  97. package/Components/SkeletonService/index.js +57 -0
  98. package/Components/SkeletonService/index.js.map +1 -0
  99. package/Components/SubComponent/index.d.ts +151 -0
  100. package/Components/SubComponent/index.js +883 -0
  101. package/Components/SubComponent/index.js.map +1 -0
  102. package/Components/SubComponent/v2/index.d.ts +20 -0
  103. package/Components/SubComponent/v2/index.js +58 -0
  104. package/Components/SubComponent/v2/index.js.map +1 -0
  105. package/Components/SubUserInputModels/ContactInfoForm/index.d.ts +11 -0
  106. package/Components/SubUserInputModels/ContactInfoForm/index.js +130 -0
  107. package/Components/SubUserInputModels/ContactInfoForm/index.js.map +1 -0
  108. package/Components/SubUserInputModels/index.d.ts +59 -0
  109. package/Components/SubUserInputModels/index.js +928 -0
  110. package/Components/SubUserInputModels/index.js.map +1 -0
  111. package/Components/SwitchComponent/index.d.ts +21 -0
  112. package/Components/SwitchComponent/index.js +71 -0
  113. package/Components/SwitchComponent/index.js.map +1 -0
  114. package/Components/TemplateModal/index.d.ts +29 -0
  115. package/Components/TemplateModal/index.js +94 -0
  116. package/Components/TemplateModal/index.js.map +1 -0
  117. package/Components/TemplateTable/FormTest/index.d.ts +4 -0
  118. package/Components/TemplateTable/FormTest/index.js +22 -0
  119. package/Components/TemplateTable/FormTest/index.js.map +1 -0
  120. package/Components/TemplateTable/InputFormBase/index.d.ts +23 -0
  121. package/Components/TemplateTable/InputFormBase/index.js +111 -0
  122. package/Components/TemplateTable/InputFormBase/index.js.map +1 -0
  123. package/Components/TemplateTable/InputFormModal/index.d.ts +22 -0
  124. package/Components/TemplateTable/InputFormModal/index.js +103 -0
  125. package/Components/TemplateTable/InputFormModal/index.js.map +1 -0
  126. package/Components/TemplateTable/ItemRowMenu/index.d.ts +13 -0
  127. package/Components/TemplateTable/ItemRowMenu/index.js +49 -0
  128. package/Components/TemplateTable/ItemRowMenu/index.js.map +1 -0
  129. package/Components/TemplateTable/PanelAction/index.d.ts +11 -0
  130. package/Components/TemplateTable/PanelAction/index.js +51 -0
  131. package/Components/TemplateTable/PanelAction/index.js.map +1 -0
  132. package/Components/TemplateTable/TableContext/index.d.ts +1 -0
  133. package/Components/TemplateTable/TableContext/index.js +2 -0
  134. package/Components/TemplateTable/TableContext/index.js.map +1 -0
  135. package/Components/TemplateTable/helper.d.ts +3 -0
  136. package/Components/TemplateTable/helper.js +20 -0
  137. package/Components/TemplateTable/helper.js.map +1 -0
  138. package/Components/TemplateTable/index.d.ts +49 -0
  139. package/Components/TemplateTable/index.js +208 -0
  140. package/Components/TemplateTable/index.js.map +1 -0
  141. package/Components/UploadLayout/ProgressItem.d.ts +27 -0
  142. package/Components/UploadLayout/ProgressItem.js +210 -0
  143. package/Components/UploadLayout/ProgressItem.js.map +1 -0
  144. package/Components/UploadLayout/UploadArea.d.ts +9 -0
  145. package/Components/UploadLayout/UploadArea.js +58 -0
  146. package/Components/UploadLayout/UploadArea.js.map +1 -0
  147. package/Components/UploadLayout/UploadMonitor.d.ts +42 -0
  148. package/Components/UploadLayout/UploadMonitor.js +259 -0
  149. package/Components/UploadLayout/UploadMonitor.js.map +1 -0
  150. package/Components/UploadLayout/UploadPannel.d.ts +4 -0
  151. package/Components/UploadLayout/UploadPannel.js +20 -0
  152. package/Components/UploadLayout/UploadPannel.js.map +1 -0
  153. package/Components/UploadLayout/UploadStatus.d.ts +21 -0
  154. package/Components/UploadLayout/UploadStatus.js +184 -0
  155. package/Components/UploadLayout/UploadStatus.js.map +1 -0
  156. package/Components/UploadLayout/index.d.ts +69 -0
  157. package/Components/UploadLayout/index.js +265 -0
  158. package/Components/UploadLayout/index.js.map +1 -0
  159. package/Components/UploadLayout/types.d.ts +10 -0
  160. package/Components/UploadLayout/types.js +2 -0
  161. package/Components/UploadLayout/types.js.map +1 -0
  162. package/Components/Views/Billing/BillingForm/index.d.ts +16 -0
  163. package/Components/Views/Billing/BillingForm/index.js +49 -0
  164. package/Components/Views/Billing/BillingForm/index.js.map +1 -0
  165. package/Components/Views/Billing/ItemBillingRowMenu/index.d.ts +23 -0
  166. package/Components/Views/Billing/ItemBillingRowMenu/index.js +153 -0
  167. package/Components/Views/Billing/ItemBillingRowMenu/index.js.map +1 -0
  168. package/Components/Views/Billing/MenuMore/index.d.ts +6 -0
  169. package/Components/Views/Billing/MenuMore/index.js +89 -0
  170. package/Components/Views/Billing/MenuMore/index.js.map +1 -0
  171. package/Components/Views/Billing/SubBillingFormComponent/index.d.ts +14 -0
  172. package/Components/Views/Billing/SubBillingFormComponent/index.js +306 -0
  173. package/Components/Views/Billing/SubBillingFormComponent/index.js.map +1 -0
  174. package/Components/Views/BillingDetail/BillingDetailForm/index.d.ts +16 -0
  175. package/Components/Views/BillingDetail/BillingDetailForm/index.js +49 -0
  176. package/Components/Views/BillingDetail/BillingDetailForm/index.js.map +1 -0
  177. package/Components/Views/BillingDetail/SubComponent/index.d.ts +10 -0
  178. package/Components/Views/BillingDetail/SubComponent/index.js +152 -0
  179. package/Components/Views/BillingDetail/SubComponent/index.js.map +1 -0
  180. package/Components/Views/DashBoard/Common/index.d.ts +18 -0
  181. package/Components/Views/DashBoard/Common/index.js +55 -0
  182. package/Components/Views/DashBoard/Common/index.js.map +1 -0
  183. package/Components/Views/DashBoard/DeliveryInfo/index.d.ts +17 -0
  184. package/Components/Views/DashBoard/DeliveryInfo/index.js +92 -0
  185. package/Components/Views/DashBoard/DeliveryInfo/index.js.map +1 -0
  186. package/Components/Views/DashBoard/OverViewInfo/index.d.ts +29 -0
  187. package/Components/Views/DashBoard/OverViewInfo/index.js +237 -0
  188. package/Components/Views/DashBoard/OverViewInfo/index.js.map +1 -0
  189. package/Components/Views/DashBoard/PanelIntro/index.d.ts +4 -0
  190. package/Components/Views/DashBoard/PanelIntro/index.js +76 -0
  191. package/Components/Views/DashBoard/PanelIntro/index.js.map +1 -0
  192. package/Components/Views/DashBoard/SummaryPanel/index.d.ts +20 -0
  193. package/Components/Views/DashBoard/SummaryPanel/index.js +229 -0
  194. package/Components/Views/DashBoard/SummaryPanel/index.js.map +1 -0
  195. package/Components/Views/DashBoard/TopChannel/index.d.ts +13 -0
  196. package/Components/Views/DashBoard/TopChannel/index.js +89 -0
  197. package/Components/Views/DashBoard/TopChannel/index.js.map +1 -0
  198. package/Components/Views/DashBoard/TopViewTable/index.d.ts +12 -0
  199. package/Components/Views/DashBoard/TopViewTable/index.js +79 -0
  200. package/Components/Views/DashBoard/TopViewTable/index.js.map +1 -0
  201. package/Components/Views/DashBoard/type.d.ts +9 -0
  202. package/Components/Views/DashBoard/type.js +2 -0
  203. package/Components/Views/DashBoard/type.js.map +1 -0
  204. package/Components/Views/Helper/index.d.ts +2 -0
  205. package/Components/Views/Helper/index.js +10 -0
  206. package/Components/Views/Helper/index.js.map +1 -0
  207. package/Components/YoutubeImage/index.d.ts +45 -0
  208. package/Components/YoutubeImage/index.js +52 -0
  209. package/Components/YoutubeImage/index.js.map +1 -0
  210. package/Components/excel-icon-disabled.svg +16 -0
  211. package/Components/excel-icon.svg +9 -0
  212. package/Components/index.css +0 -0
  213. package/Components/index.d.ts +120 -0
  214. package/ComponentsV2/GlobalModal/index.d.ts +37 -0
  215. package/ComponentsV2/GlobalModal/index.js +100 -0
  216. package/ComponentsV2/GlobalModal/index.js.map +1 -0
  217. package/ComponentsV2/HeightEqualWidth/index.d.ts +8 -0
  218. package/ComponentsV2/HeightEqualWidth/index.js +41 -0
  219. package/ComponentsV2/HeightEqualWidth/index.js.map +1 -0
  220. package/ComponentsV2/LazyView/index.d.ts +6 -0
  221. package/ComponentsV2/LazyView/index.js +30 -0
  222. package/ComponentsV2/LazyView/index.js.map +1 -0
  223. package/ComponentsV2/LoadingAnimation/LoadingSquare.d.ts +3 -0
  224. package/ComponentsV2/LoadingAnimation/LoadingSquare.js +203 -0
  225. package/ComponentsV2/LoadingAnimation/LoadingSquare.js.map +1 -0
  226. package/ComponentsV2/LoadingAnimation/index.d.ts +9 -0
  227. package/ComponentsV2/LoadingAnimation/index.js +25 -0
  228. package/ComponentsV2/LoadingAnimation/index.js.map +1 -0
  229. package/ComponentsV2/TableTemplate/CRUDPannel.d.ts +22 -0
  230. package/ComponentsV2/TableTemplate/CRUDPannel.js +199 -0
  231. package/ComponentsV2/TableTemplate/CRUDPannel.js.map +1 -0
  232. package/ComponentsV2/TableTemplate/CreateTableTemplate.d.ts +60 -0
  233. package/ComponentsV2/TableTemplate/CreateTableTemplate.js +330 -0
  234. package/ComponentsV2/TableTemplate/CreateTableTemplate.js.map +1 -0
  235. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.d.ts +6 -0
  236. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.js +71 -0
  237. package/ComponentsV2/TableTemplate/CustomGridFilterPanel.js.map +1 -0
  238. package/ComponentsV2/TableTemplate/CustomerGridToolbar.d.ts +2 -0
  239. package/ComponentsV2/TableTemplate/CustomerGridToolbar.js +45 -0
  240. package/ComponentsV2/TableTemplate/CustomerGridToolbar.js.map +1 -0
  241. package/ComponentsV2/TableTemplate/ItemRowMenu/index.d.ts +14 -0
  242. package/ComponentsV2/TableTemplate/ItemRowMenu/index.js +49 -0
  243. package/ComponentsV2/TableTemplate/ItemRowMenu/index.js.map +1 -0
  244. package/ComponentsV2/TableTemplate/MapOperators.d.ts +5 -0
  245. package/ComponentsV2/TableTemplate/MapOperators.js +49 -0
  246. package/ComponentsV2/TableTemplate/MapOperators.js.map +1 -0
  247. package/ComponentsV2/TableTemplate/NoRowsOverlay.d.ts +5 -0
  248. package/ComponentsV2/TableTemplate/NoRowsOverlay.js +39 -0
  249. package/ComponentsV2/TableTemplate/NoRowsOverlay.js.map +1 -0
  250. package/ComponentsV2/TableTemplate/TableConverter.d.ts +33 -0
  251. package/ComponentsV2/TableTemplate/TableConverter.js +112 -0
  252. package/ComponentsV2/TableTemplate/TableConverter.js.map +1 -0
  253. package/ComponentsV2/TableTemplate/TableFormatter.d.ts +10 -0
  254. package/ComponentsV2/TableTemplate/TableFormatter.js +122 -0
  255. package/ComponentsV2/TableTemplate/TableFormatter.js.map +1 -0
  256. package/ComponentsV2/TableTemplate/TableTemplateContext.d.ts +16 -0
  257. package/ComponentsV2/TableTemplate/TableTemplateContext.js +6 -0
  258. package/ComponentsV2/TableTemplate/TableTemplateContext.js.map +1 -0
  259. package/ComponentsV2/TableTemplate/index.d.ts +14 -0
  260. package/ComponentsV2/TableTemplate/index.js +9 -0
  261. package/ComponentsV2/TableTemplate/index.js.map +1 -0
  262. package/ComponentsV2/TableTemplate/type.d.ts +59 -0
  263. package/ComponentsV2/TableTemplate/type.js +14 -0
  264. package/ComponentsV2/TableTemplate/type.js.map +1 -0
  265. package/ComponentsV2/index.css +4 -0
  266. package/ComponentsV2/index.d.ts +4 -0
  267. package/ComponentsV2/index.js +6 -0
  268. package/ComponentsV2/index.js.map +1 -0
  269. package/Services/Getway/RequestHelper.d.ts +2 -0
  270. package/Services/Getway/RequestHelper.js +51 -0
  271. package/Services/Getway/RequestHelper.js.map +1 -0
  272. package/Services/Getway/index.d.ts +3 -0
  273. package/Services/Getway/index.js +14 -0
  274. package/Services/Getway/index.js.map +1 -0
  275. package/Services/ServiceBase.d.ts +32 -0
  276. package/Services/ServiceBase.js +523 -0
  277. package/Services/ServiceBase.js.map +1 -0
  278. package/_virtual/_rollupPluginBabelHelpers.js +393 -0
  279. package/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  280. package/index.css +2 -0
  281. package/index.css.map +1 -0
  282. package/package.json +118 -0
  283. package/types/clipboard-copy.d.ts +6 -0
@@ -0,0 +1,393 @@
1
+ function _arrayLikeToArray(r, a) {
2
+ (null == a || a > r.length) && (a = r.length);
3
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
4
+ return n;
5
+ }
6
+ function _arrayWithHoles(r) {
7
+ if (Array.isArray(r)) return r;
8
+ }
9
+ function _arrayWithoutHoles(r) {
10
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
11
+ }
12
+ function _assertThisInitialized(e) {
13
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14
+ return e;
15
+ }
16
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
17
+ try {
18
+ var i = n[a](c),
19
+ u = i.value;
20
+ } catch (n) {
21
+ return void e(n);
22
+ }
23
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
24
+ }
25
+ function _asyncToGenerator(n) {
26
+ return function () {
27
+ var t = this,
28
+ e = arguments;
29
+ return new Promise(function (r, o) {
30
+ var a = n.apply(t, e);
31
+ function _next(n) {
32
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
33
+ }
34
+ function _throw(n) {
35
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
36
+ }
37
+ _next(void 0);
38
+ });
39
+ };
40
+ }
41
+ function _callSuper(t, o, e) {
42
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
43
+ }
44
+ function _classCallCheck(a, n) {
45
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
46
+ }
47
+ function _construct(t, e, r) {
48
+ if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
49
+ var o = [null];
50
+ o.push.apply(o, e);
51
+ var p = new (t.bind.apply(t, o))();
52
+ return r && _setPrototypeOf(p, r.prototype), p;
53
+ }
54
+ function _defineProperties(e, r) {
55
+ for (var t = 0; t < r.length; t++) {
56
+ var o = r[t];
57
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
58
+ }
59
+ }
60
+ function _createClass(e, r, t) {
61
+ return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
62
+ writable: false
63
+ }), e;
64
+ }
65
+ function _defineProperty(e, r, t) {
66
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
67
+ value: t,
68
+ enumerable: true,
69
+ configurable: true,
70
+ writable: true
71
+ }) : e[r] = t, e;
72
+ }
73
+ function _extends() {
74
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
75
+ for (var e = 1; e < arguments.length; e++) {
76
+ var t = arguments[e];
77
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
78
+ }
79
+ return n;
80
+ }, _extends.apply(null, arguments);
81
+ }
82
+ function _get() {
83
+ return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
84
+ var p = _superPropBase(e, t);
85
+ if (p) {
86
+ var n = Object.getOwnPropertyDescriptor(p, t);
87
+ return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
88
+ }
89
+ }, _get.apply(null, arguments);
90
+ }
91
+ function _getPrototypeOf(t) {
92
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
93
+ return t.__proto__ || Object.getPrototypeOf(t);
94
+ }, _getPrototypeOf(t);
95
+ }
96
+ function _inherits(t, e) {
97
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
98
+ t.prototype = Object.create(e && e.prototype, {
99
+ constructor: {
100
+ value: t,
101
+ writable: true,
102
+ configurable: true
103
+ }
104
+ }), Object.defineProperty(t, "prototype", {
105
+ writable: false
106
+ }), e && _setPrototypeOf(t, e);
107
+ }
108
+ function _isNativeFunction(t) {
109
+ try {
110
+ return -1 !== Function.toString.call(t).indexOf("[native code]");
111
+ } catch (n) {
112
+ return "function" == typeof t;
113
+ }
114
+ }
115
+ function _isNativeReflectConstruct() {
116
+ try {
117
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
118
+ } catch (t) {}
119
+ return (_isNativeReflectConstruct = function () {
120
+ return !!t;
121
+ })();
122
+ }
123
+ function _iterableToArray(r) {
124
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
125
+ }
126
+ function _iterableToArrayLimit(r, l) {
127
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
128
+ if (null != t) {
129
+ var e,
130
+ n,
131
+ i,
132
+ u,
133
+ a = [],
134
+ f = true,
135
+ o = false;
136
+ try {
137
+ if (i = (t = t.call(r)).next, 0 === l) {
138
+ if (Object(t) !== t) return;
139
+ f = !1;
140
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
141
+ } catch (r) {
142
+ o = true, n = r;
143
+ } finally {
144
+ try {
145
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
146
+ } finally {
147
+ if (o) throw n;
148
+ }
149
+ }
150
+ return a;
151
+ }
152
+ }
153
+ function _nonIterableRest() {
154
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
155
+ }
156
+ function _nonIterableSpread() {
157
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
158
+ }
159
+ function _objectDestructuringEmpty(t) {
160
+ if (null == t) throw new TypeError("Cannot destructure " + t);
161
+ }
162
+ function ownKeys(e, r) {
163
+ var t = Object.keys(e);
164
+ if (Object.getOwnPropertySymbols) {
165
+ var o = Object.getOwnPropertySymbols(e);
166
+ r && (o = o.filter(function (r) {
167
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
168
+ })), t.push.apply(t, o);
169
+ }
170
+ return t;
171
+ }
172
+ function _objectSpread2(e) {
173
+ for (var r = 1; r < arguments.length; r++) {
174
+ var t = null != arguments[r] ? arguments[r] : {};
175
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
176
+ _defineProperty(e, r, t[r]);
177
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
178
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
179
+ });
180
+ }
181
+ return e;
182
+ }
183
+ function _objectWithoutProperties(e, t) {
184
+ if (null == e) return {};
185
+ var o,
186
+ r,
187
+ i = _objectWithoutPropertiesLoose(e, t);
188
+ if (Object.getOwnPropertySymbols) {
189
+ var n = Object.getOwnPropertySymbols(e);
190
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
191
+ }
192
+ return i;
193
+ }
194
+ function _objectWithoutPropertiesLoose(r, e) {
195
+ if (null == r) return {};
196
+ var t = {};
197
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
198
+ if (-1 !== e.indexOf(n)) continue;
199
+ t[n] = r[n];
200
+ }
201
+ return t;
202
+ }
203
+ function _possibleConstructorReturn(t, e) {
204
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
205
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
206
+ return _assertThisInitialized(t);
207
+ }
208
+ function _regenerator() {
209
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
210
+ var e,
211
+ t,
212
+ r = "function" == typeof Symbol ? Symbol : {},
213
+ n = r.iterator || "@@iterator",
214
+ o = r.toStringTag || "@@toStringTag";
215
+ function i(r, n, o, i) {
216
+ var c = n && n.prototype instanceof Generator ? n : Generator,
217
+ u = Object.create(c.prototype);
218
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
219
+ var i,
220
+ c,
221
+ u,
222
+ f = 0,
223
+ p = o || [],
224
+ y = false,
225
+ G = {
226
+ p: 0,
227
+ n: 0,
228
+ v: e,
229
+ a: d,
230
+ f: d.bind(e, 4),
231
+ d: function (t, r) {
232
+ return i = t, c = 0, u = e, G.n = r, a;
233
+ }
234
+ };
235
+ function d(r, n) {
236
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
237
+ var o,
238
+ i = p[t],
239
+ d = G.p,
240
+ l = i[2];
241
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
242
+ }
243
+ if (o || r > 1) return a;
244
+ throw y = true, n;
245
+ }
246
+ return function (o, p, l) {
247
+ if (f > 1) throw TypeError("Generator is already running");
248
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
249
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
250
+ try {
251
+ if (f = 2, i) {
252
+ if (c || (o = "next"), t = i[o]) {
253
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
254
+ if (!t.done) return t;
255
+ u = t.value, c < 2 && (c = 0);
256
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
257
+ i = e;
258
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
259
+ } catch (t) {
260
+ i = e, c = 1, u = t;
261
+ } finally {
262
+ f = 1;
263
+ }
264
+ }
265
+ return {
266
+ value: t,
267
+ done: y
268
+ };
269
+ };
270
+ }(r, o, i), true), u;
271
+ }
272
+ var a = {};
273
+ function Generator() {}
274
+ function GeneratorFunction() {}
275
+ function GeneratorFunctionPrototype() {}
276
+ t = Object.getPrototypeOf;
277
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
278
+ return this;
279
+ }), t),
280
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
281
+ function f(e) {
282
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
283
+ }
284
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
285
+ return this;
286
+ }), _regeneratorDefine(u, "toString", function () {
287
+ return "[object Generator]";
288
+ }), (_regenerator = function () {
289
+ return {
290
+ w: i,
291
+ m: f
292
+ };
293
+ })();
294
+ }
295
+ function _regeneratorDefine(e, r, n, t) {
296
+ var i = Object.defineProperty;
297
+ try {
298
+ i({}, "", {});
299
+ } catch (e) {
300
+ i = 0;
301
+ }
302
+ _regeneratorDefine = function (e, r, n, t) {
303
+ if (r) i ? i(e, r, {
304
+ value: n,
305
+ enumerable: !t,
306
+ configurable: !t,
307
+ writable: !t
308
+ }) : e[r] = n;else {
309
+ function o(r, n) {
310
+ _regeneratorDefine(e, r, function (e) {
311
+ return this._invoke(r, n, e);
312
+ });
313
+ }
314
+ o("next", 0), o("throw", 1), o("return", 2);
315
+ }
316
+ }, _regeneratorDefine(e, r, n, t);
317
+ }
318
+ function _setPrototypeOf(t, e) {
319
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
320
+ return t.__proto__ = e, t;
321
+ }, _setPrototypeOf(t, e);
322
+ }
323
+ function _slicedToArray(r, e) {
324
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
325
+ }
326
+ function _superPropBase(t, o) {
327
+ for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
328
+ return t;
329
+ }
330
+ function _superPropGet(t, o, e, r) {
331
+ var p = _get(_getPrototypeOf(t.prototype ), o, e);
332
+ return "function" == typeof p ? function (t) {
333
+ return p.apply(e, t);
334
+ } : p;
335
+ }
336
+ function _toConsumableArray(r) {
337
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
338
+ }
339
+ function _toPrimitive(t, r) {
340
+ if ("object" != typeof t || !t) return t;
341
+ var e = t[Symbol.toPrimitive];
342
+ if (void 0 !== e) {
343
+ var i = e.call(t, r);
344
+ if ("object" != typeof i) return i;
345
+ throw new TypeError("@@toPrimitive must return a primitive value.");
346
+ }
347
+ return ("string" === r ? String : Number)(t);
348
+ }
349
+ function _toPropertyKey(t) {
350
+ var i = _toPrimitive(t, "string");
351
+ return "symbol" == typeof i ? i : i + "";
352
+ }
353
+ function _typeof(o) {
354
+ "@babel/helpers - typeof";
355
+
356
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
357
+ return typeof o;
358
+ } : function (o) {
359
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
360
+ }, _typeof(o);
361
+ }
362
+ function _unsupportedIterableToArray(r, a) {
363
+ if (r) {
364
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
365
+ var t = {}.toString.call(r).slice(8, -1);
366
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
367
+ }
368
+ }
369
+ function _wrapNativeSuper(t) {
370
+ var r = "function" == typeof Map ? new Map() : void 0;
371
+ return _wrapNativeSuper = function (t) {
372
+ if (null === t || !_isNativeFunction(t)) return t;
373
+ if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
374
+ if (void 0 !== r) {
375
+ if (r.has(t)) return r.get(t);
376
+ r.set(t, Wrapper);
377
+ }
378
+ function Wrapper() {
379
+ return _construct(t, arguments, _getPrototypeOf(this).constructor);
380
+ }
381
+ return Wrapper.prototype = Object.create(t.prototype, {
382
+ constructor: {
383
+ value: Wrapper,
384
+ enumerable: false,
385
+ writable: true,
386
+ configurable: true
387
+ }
388
+ }), _setPrototypeOf(Wrapper, t);
389
+ }, _wrapNativeSuper(t);
390
+ }
391
+
392
+ export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _assertThisInitialized as assertThisInitialized, _asyncToGenerator as asyncToGenerator, _callSuper as callSuper, _classCallCheck as classCallCheck, _construct as construct, _createClass as createClass, _defineProperty as defineProperty, _extends as extends, _get as get, _getPrototypeOf as getPrototypeOf, _inherits as inherits, _isNativeFunction as isNativeFunction, _isNativeReflectConstruct as isNativeReflectConstruct, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _objectDestructuringEmpty as objectDestructuringEmpty, _objectSpread2 as objectSpread2, _objectWithoutProperties as objectWithoutProperties, _objectWithoutPropertiesLoose as objectWithoutPropertiesLoose, _possibleConstructorReturn as possibleConstructorReturn, _regenerator as regenerator, _regeneratorDefine as regeneratorDefine, _setPrototypeOf as setPrototypeOf, _slicedToArray as slicedToArray, _superPropBase as superPropBase, _superPropGet as superPropGet, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _typeof as typeof, _unsupportedIterableToArray as unsupportedIterableToArray, _wrapNativeSuper as wrapNativeSuper };
393
+ //# sourceMappingURL=_rollupPluginBabelHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_rollupPluginBabelHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.css ADDED
@@ -0,0 +1,2 @@
1
+ .overlay-edit{align-items:center;background-color:rgba(0,0,0,.22);cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.container-edit:hover .overlay-edit{display:flex}.container-spinner{align-items:center;display:flex;flex:1;justify-content:center}.wrap-title-video .title{text-align:left;width:100%}
2
+ /*# sourceMappingURL=index.css.map */
package/index.css.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.css","LazySpinner.css"],"names":[],"mappings":"AAAA,cAKE,kBAAmB,CAEnB,gCAAkC,CAGlC,cAAe,CARf,YAAa,CAEb,WAAY,CAEZ,sBAAuB,CAGvB,MAAO,CARP,iBAAkB,CAOlB,KAAM,CALN,UAQF,CACA,oCACE,YACF,CCdA,mBAIE,kBAAmB,CAFnB,YAAa,CADb,MAAO,CAEP,sBAEF,CDLA,yBAEE,eAAgB,CADhB,UAEF","file":"index.css","sourcesContent":[".wrap-title-video .title {\r\n width: 100%;\r\n text-align: left;\r\n}\r\n",".container-spinner {\r\n flex: 1;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n"]}
package/package.json ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "component-shared",
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "license": "MIT",
7
+ "dependencies": {
8
+ "@fortawesome/fontawesome-svg-core": "^6.1.1",
9
+ "@fortawesome/free-brands-svg-icons": "^6.1.1",
10
+ "@fortawesome/free-solid-svg-icons": "^6.1.1",
11
+ "@fortawesome/react-fontawesome": "^0.1.18",
12
+ "@mui/icons-material": "^5.8.0",
13
+ "@mui/material": "^5.8.0",
14
+ "@mui/styled-engine": "^5.14.17",
15
+ "@mui/styles": "^5.8.0",
16
+ "@mui/system": "7.1.1",
17
+ "@mui/x-data-grid": "^5.11.1",
18
+ "@mui/x-date-pickers": "^5.0.0-beta.0",
19
+ "@reduxjs/toolkit": "^1.8.1",
20
+ "axios": "^0.27.2",
21
+ "chart.js": "^3.0.0",
22
+ "clipboard-copy": "^4.0.1",
23
+ "crypto-js": "^4.1.1",
24
+ "events": "^3.3.0",
25
+ "partner-local-lib": "1.0.0",
26
+ "partner-oidc-auth": "1.0.0",
27
+ "partner-oidc-auth-ui": "1.0.1",
28
+ "query-string": "^7.1.1",
29
+ "react": "^17.0.2",
30
+ "react-avatar-edit": "^1.2.0",
31
+ "react-chartjs-2": "^4.3.1",
32
+ "react-dom": "^17.0.2",
33
+ "react-dropzone": "^14.2.1",
34
+ "react-spring": "^9.4.5",
35
+ "reactstrap": "^9.0.2",
36
+ "redux": "^4.2.0",
37
+ "typescript": "^4.6.4",
38
+ "@faker-js/faker": "^7.5.0"
39
+ },
40
+ "peerDependencies": {
41
+ "@fortawesome/fontawesome-svg-core": "^6.1.1",
42
+ "@fortawesome/free-brands-svg-icons": "^6.1.1",
43
+ "@fortawesome/free-solid-svg-icons": "^6.1.1",
44
+ "@fortawesome/react-fontawesome": "^0.1.18",
45
+ "@mui/icons-material": "^5.8.0",
46
+ "@mui/material": "^5.8.0",
47
+ "@mui/styled-engine": "^5.14.17",
48
+ "@mui/styles": "^5.8.0",
49
+ "@mui/system": "7.1.1",
50
+ "@mui/x-data-grid": "^5.11.1",
51
+ "@mui/x-date-pickers": "^5.0.0-beta.0",
52
+ "@reduxjs/toolkit": "^1.8.1",
53
+ "axios": "^0.27.2",
54
+ "chart.js": "^3.0.0",
55
+ "clipboard-copy": "^4.0.1",
56
+ "crypto-js": "^4.1.1",
57
+ "events": "^3.3.0",
58
+ "partner-local-lib": "1.0.0",
59
+ "partner-oidc-auth": "1.0.0",
60
+ "partner-oidc-auth-ui": "1.0.1",
61
+ "query-string": "^7.1.1",
62
+ "react": "^17.0.2",
63
+ "react-avatar-edit": "^1.2.0",
64
+ "react-chartjs-2": "^4.3.1",
65
+ "react-dom": "^17.0.2",
66
+ "react-dropzone": "^14.2.1",
67
+ "react-spring": "^9.4.5",
68
+ "reactstrap": "^9.0.2",
69
+ "redux": "^4.2.0",
70
+ "typescript": "^4.6.4"
71
+ },
72
+ "devDependencies": {
73
+ "@babel/core": "7.27.4",
74
+ "@babel/preset-env": "7.27.2",
75
+ "@babel/preset-react": "7.27.1",
76
+ "@mui/types": "7.4.3",
77
+ "@react-spring/types": "10.0.1",
78
+ "@rollup/plugin-alias": "5.1.1",
79
+ "@rollup/plugin-babel": "6.0.4",
80
+ "@rollup/plugin-commonjs": "28.0.3",
81
+ "@rollup/plugin-node-resolve": "16.0.1",
82
+ "@rollup/plugin-typescript": "12.1.2",
83
+ "@testing-library/jest-dom": "^5.14.1",
84
+ "@testing-library/react": "^11.1.0",
85
+ "@testing-library/user-event": "^12.1.10",
86
+ "@types/crypto-js": "^4.1.1",
87
+ "@types/jest": "^27.0.1",
88
+ "@types/node": "^16.7.13",
89
+ "@types/react": "17.0.69",
90
+ "@types/react-dom": "^17.0.2",
91
+ "@types/react-router-dom": "^5.3.3",
92
+ "babel-loader": "^9.1.3",
93
+ "concurrently": "^8.2.1",
94
+ "eslint-plugin-unused-imports": "^2.0.0",
95
+ "external-remotes-plugin": "^1.0.0",
96
+ "husky": "^8.0.3",
97
+ "lint-staged": "^14.0.1",
98
+ "prettier": "^3.0.3",
99
+ "rimraf": "6.0.1",
100
+ "rollup": "4.41.1",
101
+ "rollup-plugin-copy": "3.5.0",
102
+ "rollup-plugin-peer-deps-external": "2.2.4",
103
+ "rollup-plugin-postcss": "4.0.2",
104
+ "webpack-cli": "^5.1.4",
105
+ "webpack-dev-server": "^4.15.1"
106
+ },
107
+ "eslintConfig": {
108
+ "extends": [
109
+ "react-app",
110
+ "react-app/jest"
111
+ ]
112
+ },
113
+ "scripts": {
114
+ "clean": "rimraf dist",
115
+ "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist --rootDir src",
116
+ "build": "npm run clean && rollup -c && npm run build:types"
117
+ }
118
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * See https://www.npmjs.com/package/clipboard-copy
3
+ */
4
+ declare module 'clipboard-copy' {
5
+ export default function copy(content: string): Promise<any>
6
+ }