se-design 0.0.95 → 0.0.97

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 (231) hide show
  1. package/dist/assets/colors.css +1 -0
  2. package/dist/assets/icons/back.svg +4 -0
  3. package/dist/assets/icons/close.svg +4 -0
  4. package/dist/assets/icons/down.svg +3 -0
  5. package/dist/assets/icons/hamburger.svg +5 -0
  6. package/dist/assets/icons/kebab-menu-blue.svg +8 -0
  7. package/dist/assets/icons/kebab-menu.svg +8 -0
  8. package/dist/assets/icons/pages.svg +4 -0
  9. package/dist/assets/icons/tick.svg +3 -0
  10. package/dist/assets/src/components/SidebarOverlay/style.css +1 -0
  11. package/dist/assets/src/components/TableContentLoader/style.css +1 -0
  12. package/dist/assets/style.css +1 -1
  13. package/dist/components/Button/Button.stories.d.ts +2 -2
  14. package/dist/components/Button/index.d.ts +2 -3
  15. package/dist/components/Checkbox/index.d.ts +9 -0
  16. package/dist/components/ColorCodedLabel/index.d.ts +8 -0
  17. package/dist/components/Dropdown/index.d.ts +19 -0
  18. package/dist/components/HamburgerMenu/HamburgerMenu.stories.d.ts +6 -0
  19. package/dist/components/HamburgerMenu/index.d.ts +10 -0
  20. package/dist/components/Header/index.d.ts +8 -0
  21. package/dist/components/Icon/Icon.stories.d.ts +1 -2
  22. package/dist/components/Icon/{Icon.d.ts → index.d.ts} +0 -1
  23. package/dist/components/KebabMenu/KebabMenu.stories.d.ts +8 -0
  24. package/dist/components/KebabMenu/index.d.ts +11 -0
  25. package/dist/components/LabelChip/index.d.ts +10 -0
  26. package/dist/components/MenuItem/index.d.ts +5 -2
  27. package/dist/components/MenuList/index.d.ts +1 -2
  28. package/dist/components/Modal/Modal.stories.d.ts +1 -2
  29. package/dist/components/Modal/{Modal.d.ts → index.d.ts} +0 -1
  30. package/dist/components/Popover/index.d.ts +19 -0
  31. package/dist/components/SidebarOverlay/index.d.ts +17 -0
  32. package/dist/components/SplitButton/SplitButton.stories.d.ts +1 -2
  33. package/dist/components/SplitButton/{SplitButton.d.ts → index.d.ts} +1 -2
  34. package/dist/components/TableContentLoader/index.d.ts +7 -0
  35. package/dist/components/TableLayout/index.d.ts +24 -0
  36. package/dist/components/Tag/{Tag.d.ts → index.d.ts} +0 -1
  37. package/dist/components/Toggle/{Toggle.d.ts → index.d.ts} +0 -2
  38. package/dist/components/index.d.ts +17 -6
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +39 -17
  41. package/dist/index.js.map +1 -1
  42. package/dist/index10.js +23 -15
  43. package/dist/index10.js.map +1 -1
  44. package/dist/index11.js +31 -4
  45. package/dist/index11.js.map +1 -1
  46. package/dist/index12.js +22 -6
  47. package/dist/index12.js.map +1 -1
  48. package/dist/index13.js +5 -155
  49. package/dist/index13.js.map +1 -1
  50. package/dist/index14.js +63 -7
  51. package/dist/index14.js.map +1 -1
  52. package/dist/index15.js +12 -2
  53. package/dist/index15.js.map +1 -1
  54. package/dist/index16.js +38 -26
  55. package/dist/index16.js.map +1 -1
  56. package/dist/index17.js +33 -605
  57. package/dist/index17.js.map +1 -1
  58. package/dist/index18.js +10 -10
  59. package/dist/index18.js.map +1 -1
  60. package/dist/index19.js +18 -9
  61. package/dist/index19.js.map +1 -1
  62. package/dist/index20.js +32 -5
  63. package/dist/index20.js.map +1 -1
  64. package/dist/index21.js +45 -167
  65. package/dist/index21.js.map +1 -1
  66. package/dist/index22.js +7 -11
  67. package/dist/index22.js.map +1 -1
  68. package/dist/index23.js +23 -2
  69. package/dist/index23.js.map +1 -1
  70. package/dist/index24.js +6 -2
  71. package/dist/index24.js.map +1 -1
  72. package/dist/index25.js +1 -5
  73. package/dist/index25.js.map +1 -1
  74. package/dist/index26.js +2 -6
  75. package/dist/index26.js.map +1 -1
  76. package/dist/index27.js +2 -38
  77. package/dist/index27.js.map +1 -1
  78. package/dist/index28.js +2 -2
  79. package/dist/index28.js.map +1 -1
  80. package/dist/index29.js +2 -8
  81. package/dist/index29.js.map +1 -1
  82. package/dist/index30.js +2 -327
  83. package/dist/index30.js.map +1 -1
  84. package/dist/index31.js +2 -50
  85. package/dist/index31.js.map +1 -1
  86. package/dist/index32.js +2 -2
  87. package/dist/index32.js.map +1 -1
  88. package/dist/index33.js +147 -74
  89. package/dist/index33.js.map +1 -1
  90. package/dist/index36.js +2 -8
  91. package/dist/index36.js.map +1 -1
  92. package/dist/index37.js +32 -4
  93. package/dist/index37.js.map +1 -1
  94. package/dist/index38.js +397 -44
  95. package/dist/index38.js.map +1 -1
  96. package/dist/index4.js +41 -7
  97. package/dist/index4.js.map +1 -1
  98. package/dist/index41.js +13 -0
  99. package/dist/index41.js.map +1 -0
  100. package/dist/index42.js +13 -0
  101. package/dist/index42.js.map +1 -0
  102. package/dist/index43.js +8 -0
  103. package/dist/index43.js.map +1 -0
  104. package/dist/index44.js +173 -0
  105. package/dist/index44.js.map +1 -0
  106. package/dist/index45.js +14 -0
  107. package/dist/index45.js.map +1 -0
  108. package/dist/index46.js +9 -0
  109. package/dist/index46.js.map +1 -0
  110. package/dist/index47.js +9 -0
  111. package/dist/index47.js.map +1 -0
  112. package/dist/index48.js +41 -0
  113. package/dist/index48.js.map +1 -0
  114. package/dist/index49.js +5 -0
  115. package/dist/index49.js.map +1 -0
  116. package/dist/index5.js +14 -36
  117. package/dist/index5.js.map +1 -1
  118. package/dist/index50.js +11 -0
  119. package/dist/index50.js.map +1 -0
  120. package/dist/index51.js +330 -0
  121. package/dist/index51.js.map +1 -0
  122. package/dist/index52.js +53 -0
  123. package/dist/index52.js.map +1 -0
  124. package/dist/index53.js +5 -0
  125. package/dist/index53.js.map +1 -0
  126. package/dist/index54.js +79 -0
  127. package/dist/index54.js.map +1 -0
  128. package/dist/{index34.js → index55.js} +9 -9
  129. package/dist/{index34.js.map → index55.js.map} +1 -1
  130. package/dist/{index35.js → index56.js} +1 -1
  131. package/dist/{index35.js.map → index56.js.map} +1 -1
  132. package/dist/index57.js +11 -0
  133. package/dist/index57.js.map +1 -0
  134. package/dist/index58.js +8 -0
  135. package/dist/index58.js.map +1 -0
  136. package/dist/index59.js +55 -0
  137. package/dist/index59.js.map +1 -0
  138. package/dist/index6.js +35 -38
  139. package/dist/index6.js.map +1 -1
  140. package/dist/index60.js +5 -0
  141. package/dist/index60.js.map +1 -0
  142. package/dist/index61.js +5 -0
  143. package/dist/index61.js.map +1 -0
  144. package/dist/index7.js +40 -3
  145. package/dist/index7.js.map +1 -1
  146. package/dist/index8.js +3 -23
  147. package/dist/index8.js.map +1 -1
  148. package/dist/index9.js +23 -29
  149. package/dist/index9.js.map +1 -1
  150. package/package.json +11 -5
  151. package/dist/index.cjs +0 -2
  152. package/dist/index.cjs.map +0 -1
  153. package/dist/index10.cjs +0 -2
  154. package/dist/index10.cjs.map +0 -1
  155. package/dist/index11.cjs +0 -2
  156. package/dist/index11.cjs.map +0 -1
  157. package/dist/index12.cjs +0 -2
  158. package/dist/index12.cjs.map +0 -1
  159. package/dist/index13.cjs +0 -2
  160. package/dist/index13.cjs.map +0 -1
  161. package/dist/index14.cjs +0 -2
  162. package/dist/index14.cjs.map +0 -1
  163. package/dist/index15.cjs +0 -2
  164. package/dist/index15.cjs.map +0 -1
  165. package/dist/index16.cjs +0 -10
  166. package/dist/index16.cjs.map +0 -1
  167. package/dist/index17.cjs +0 -23
  168. package/dist/index17.cjs.map +0 -1
  169. package/dist/index18.cjs +0 -2
  170. package/dist/index18.cjs.map +0 -1
  171. package/dist/index19.cjs +0 -2
  172. package/dist/index19.cjs.map +0 -1
  173. package/dist/index20.cjs +0 -2
  174. package/dist/index20.cjs.map +0 -1
  175. package/dist/index21.cjs +0 -2
  176. package/dist/index21.cjs.map +0 -1
  177. package/dist/index22.cjs +0 -2
  178. package/dist/index22.cjs.map +0 -1
  179. package/dist/index23.cjs +0 -2
  180. package/dist/index23.cjs.map +0 -1
  181. package/dist/index24.cjs +0 -2
  182. package/dist/index24.cjs.map +0 -1
  183. package/dist/index25.cjs +0 -2
  184. package/dist/index25.cjs.map +0 -1
  185. package/dist/index26.cjs +0 -2
  186. package/dist/index26.cjs.map +0 -1
  187. package/dist/index27.cjs +0 -6
  188. package/dist/index27.cjs.map +0 -1
  189. package/dist/index28.cjs +0 -2
  190. package/dist/index28.cjs.map +0 -1
  191. package/dist/index29.cjs +0 -2
  192. package/dist/index29.cjs.map +0 -1
  193. package/dist/index3.cjs +0 -2
  194. package/dist/index3.cjs.map +0 -1
  195. package/dist/index3.js +0 -36
  196. package/dist/index3.js.map +0 -1
  197. package/dist/index30.cjs +0 -3
  198. package/dist/index30.cjs.map +0 -1
  199. package/dist/index31.cjs +0 -2
  200. package/dist/index31.cjs.map +0 -1
  201. package/dist/index32.cjs +0 -2
  202. package/dist/index32.cjs.map +0 -1
  203. package/dist/index33.cjs +0 -9
  204. package/dist/index33.cjs.map +0 -1
  205. package/dist/index34.cjs +0 -9
  206. package/dist/index34.cjs.map +0 -1
  207. package/dist/index35.cjs +0 -6
  208. package/dist/index35.cjs.map +0 -1
  209. package/dist/index36.cjs +0 -2
  210. package/dist/index36.cjs.map +0 -1
  211. package/dist/index37.cjs +0 -2
  212. package/dist/index37.cjs.map +0 -1
  213. package/dist/index38.cjs +0 -2
  214. package/dist/index38.cjs.map +0 -1
  215. package/dist/index39.cjs +0 -2
  216. package/dist/index39.cjs.map +0 -1
  217. package/dist/index4.cjs +0 -2
  218. package/dist/index4.cjs.map +0 -1
  219. package/dist/index40.cjs +0 -2
  220. package/dist/index40.cjs.map +0 -1
  221. package/dist/index5.cjs +0 -2
  222. package/dist/index5.cjs.map +0 -1
  223. package/dist/index6.cjs +0 -5
  224. package/dist/index6.cjs.map +0 -1
  225. package/dist/index7.cjs +0 -2
  226. package/dist/index7.cjs.map +0 -1
  227. package/dist/index8.cjs +0 -2
  228. package/dist/index8.cjs.map +0 -1
  229. package/dist/index9.cjs +0 -5
  230. package/dist/index9.cjs.map +0 -1
  231. /package/dist/components/Tooltip/{Tooltip.d.ts → index.d.ts} +0 -0
package/dist/index3.js DELETED
@@ -1,36 +0,0 @@
1
- import { j as o } from "./index12.js";
2
- import { Icon as s } from "./index4.js";
3
- const e = "focus-visible:outline outline-2 outline-offset-2", n = "bg-gray-300 border-gray-300 text-white pointer-events-none cursor-not-allowed", b = {
4
- primary: `bg-blue-500 text-white hover:bg-blue-600 border border-blue-500 hover:border-blue-600 outline-blue-500 ${e}`,
5
- secondary: `bg-blue-50 text-blue-500 hover:bg-blue-100 border border-blue-500 hover:border-blue-600 outline-blue-500 ${e}`,
6
- purchase: `bg-purchase-300 text-white hover:bg-purchase-400 border border-purchase-300 hover:border-purchase-400 outline-purchase-300 ${e}`,
7
- "purchase-secondary": `bg-purchase-100 text-purchase-300 hover:bg-purchase-200 border border-purchase-300 hover:border-purchase-400 outline-purchase-300 ${e}`,
8
- negative: `bg-red-400 text-white hover:bg-red-700 border border-red-400 hover:border-red-700 outline-red-400 ${e}`,
9
- "negative-secondary": `bg-red-100 text-red-400 hover:bg-red-200 border border-red-400 hover:border-red-700 outline-red-400 ${e}`,
10
- sm: "px-3 py-1",
11
- md: "px-4 py-2"
12
- }, i = ({
13
- type: u = "primary",
14
- size: d = "md",
15
- label: a = "",
16
- icon: r = "",
17
- iconPosition: t = "left",
18
- disabled: l = !1,
19
- ...h
20
- }) => /* @__PURE__ */ o.jsxs(
21
- "button",
22
- {
23
- type: "button",
24
- className: `rounded font-medium flex gap-1 items-center ${b[d]} ${l ? n : b[u]}`,
25
- ...h,
26
- children: [
27
- r && t === "left" && /* @__PURE__ */ o.jsx(s, { name: r, className: "" }),
28
- a,
29
- r && t === "right" && /* @__PURE__ */ o.jsx(s, { name: r, className: "" })
30
- ]
31
- }
32
- );
33
- export {
34
- i as Button
35
- };
36
- //# sourceMappingURL=index3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index3.js","sources":["../src/components/Button/index.tsx"],"sourcesContent":["import { FC } from 'react';\nimport { Map } from '../../utils/common.types';\nimport { Icon } from '../Icon/Icon';\n\nexport interface ButtonProps {\n /**\n * Type of the button\n */\n type?: 'primary' | 'secondary' | 'negative' | 'negative-secondary' | 'purchase' | 'purchase-secondary';\n /**\n * Size of the button\n */\n size?: 'sm' | 'md';\n /**\n * Button contents\n */\n label: string;\n /**\n * Icon name\n */\n icon?: string;\n /**\n * Icon position\n */\n iconPosition?: 'left' | 'right';\n /**\n * Disabled state\n */\n disabled?: boolean;\n /**\n * Optional click handler\n */\n onClick?: () => void;\n}\n\nconst focusClass = 'focus-visible:outline outline-2 outline-offset-2';\nconst disabledClass = 'bg-gray-300 border-gray-300 text-white pointer-events-none cursor-not-allowed';\nconst classNames: Map = {\n primary: `bg-blue-500 text-white hover:bg-blue-600 border border-blue-500 hover:border-blue-600 outline-blue-500 ${focusClass}`,\n secondary: `bg-blue-50 text-blue-500 hover:bg-blue-100 border border-blue-500 hover:border-blue-600 outline-blue-500 ${focusClass}`,\n purchase: `bg-purchase-300 text-white hover:bg-purchase-400 border border-purchase-300 hover:border-purchase-400 outline-purchase-300 ${focusClass}`,\n 'purchase-secondary': `bg-purchase-100 text-purchase-300 hover:bg-purchase-200 border border-purchase-300 hover:border-purchase-400 outline-purchase-300 ${focusClass}`,\n negative: `bg-red-400 text-white hover:bg-red-700 border border-red-400 hover:border-red-700 outline-red-400 ${focusClass}`,\n 'negative-secondary': `bg-red-100 text-red-400 hover:bg-red-200 border border-red-400 hover:border-red-700 outline-red-400 ${focusClass}`,\n sm: 'px-3 py-1',\n md: 'px-4 py-2'\n};\n\nexport const Button: FC<ButtonProps> = ({\n type = 'primary',\n size = 'md',\n label = '',\n icon = '',\n iconPosition = 'left',\n disabled = false,\n ...props\n}) => {\n return (\n <button\n type=\"button\"\n className={`rounded font-medium flex gap-1 items-center ${classNames[size]} ${disabled ? disabledClass : classNames[type]}`}\n {...props}\n >\n {icon && iconPosition === 'left' && <Icon name={icon} className=\"\" />}\n {label}\n {icon && iconPosition === 'right' && <Icon name={icon} className=\"\" />}\n </button>\n );\n};\n"],"names":["focusClass","disabledClass","classNames","Button","type","size","label","icon","iconPosition","disabled","props","jsxs","jsx","Icon"],"mappings":";;AAmCA,MAAMA,IAAa,oDACbC,IAAgB,iFAChBC,IAAkB;AAAA,EACtB,SAAS,0GAA0GF,CAAU;AAAA,EAC7H,WAAW,4GAA4GA,CAAU;AAAA,EACjI,UAAU,8HAA8HA,CAAU;AAAA,EAClJ,sBAAsB,qIAAqIA,CAAU;AAAA,EACrK,UAAU,qGAAqGA,CAAU;AAAA,EACzH,sBAAsB,uGAAuGA,CAAU;AAAA,EACvI,IAAI;AAAA,EACJ,IAAI;AACN,GAEaG,IAA0B,CAAC;AAAA,EACtC,MAAAC,IAAO;AAAA,EACP,MAAAC,IAAO;AAAA,EACP,OAAAC,IAAQ;AAAA,EACR,MAAAC,IAAO;AAAA,EACP,cAAAC,IAAe;AAAA,EACf,UAAAC,IAAW;AAAA,EACX,GAAGC;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,WAAW,+CAA+CT,EAAWG,CAAI,CAAC,IAAII,IAAWR,IAAgBC,EAAWE,CAAI,CAAC;AAAA,IACxH,GAAGM;AAAA,IAEH,UAAA;AAAA,MAAAH,KAAQC,MAAiB,UAAUI,gBAAAA,MAACC,KAAK,MAAMN,GAAM,WAAU,IAAG;AAAA,MAClED;AAAA,MACAC,KAAQC,MAAiB,WAAWI,gBAAAA,MAACC,KAAK,MAAMN,GAAM,WAAU,IAAG;AAAA,IAAA;AAAA,EAAA;AAAA;"}
package/dist/index30.cjs DELETED
@@ -1,3 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index29.cjs"),N=require("./index35.cjs"),ee=require("./index36.cjs"),re=require("./index37.cjs"),ne=require("./index38.cjs");var A,C;function te(){if(C)return A;C=1;var k=F.__require(),W=N.__require(),h=ee.__require(),I=re.__require(),q=ne.__require(),T=function(){};process.env.NODE_ENV!=="production"&&(T=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function E(){return null}return A=function(x,S){var P=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function M(e){var r=e&&(P&&e[P]||e[D]);if(typeof r=="function")return r}var _="<<anonymous>>",w={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:U(),arrayOf:$,element:B(),elementType:J(),instanceOf:z,node:H(),objectOf:X,oneOf:L,oneOfType:G,shape:K,exact:Q};function Y(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function d(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}d.prototype=Error.prototype;function v(e){if(process.env.NODE_ENV!=="production")var r={},u=0;function i(f,t,a,o,s,c,y){if(o=o||_,c=c||a,y!==h){if(S){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var b=o+":"+a;!r[b]&&u<3&&(T("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+o+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[b]=!0,u++)}}return t[a]==null?f?t[a]===null?new d("The "+s+" `"+c+"` is marked as required "+("in `"+o+"`, but its value is `null`.")):new d("The "+s+" `"+c+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null:e(t,a,o,s,c)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function p(e){function r(u,i,n,f,t,a){var o=u[i],s=g(o);if(s!==e){var c=O(o);return new d("Invalid "+f+" `"+t+"` of type "+("`"+c+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return v(r)}function U(){return v(E)}function $(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=u[i];if(!Array.isArray(a)){var o=g(a);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,n,f,t+"["+s+"]",h);if(c instanceof Error)return c}return null}return v(r)}function B(){function e(r,u,i,n,f){var t=r[u];if(!x(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return v(e)}function J(){function e(r,u,i,n,f){var t=r[u];if(!k.isValidElementType(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return v(e)}function z(e){function r(u,i,n,f,t){if(!(u[i]instanceof e)){var a=e.name||_,o=V(u[i]);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return v(r)}function L(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?T("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):T("Invalid argument supplied to oneOf, expected an array.")),E;function r(u,i,n,f,t){for(var a=u[i],o=0;o<e.length;o++)if(Y(a,e[o]))return null;var s=JSON.stringify(e,function(y,l){var b=O(l);return b==="symbol"?String(l):l});return new d("Invalid "+f+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return v(r)}function X(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an object."));for(var s in a)if(I(a,s)){var c=e(a,s,n,f,t+"."+s,h);if(c instanceof Error)return c}return null}return v(r)}function G(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&T("Invalid argument supplied to oneOfType, expected an instance of array."),E;for(var r=0;r<e.length;r++){var u=e[r];if(typeof u!="function")return T("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(u)+" at index "+r+"."),E}function i(n,f,t,a,o){for(var s=[],c=0;c<e.length;c++){var y=e[c],l=y(n,f,t,a,o,h);if(l==null)return null;l.data&&I(l.data,"expectedType")&&s.push(l.data.expectedType)}var b=s.length>0?", expected one of type ["+s.join(", ")+"]":"";return new d("Invalid "+a+" `"+o+"` supplied to "+("`"+t+"`"+b+"."))}return v(i)}function H(){function e(r,u,i,n,f){return j(r[u])?null:new d("Invalid "+n+" `"+f+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return v(e)}function R(e,r,u,i,n){return new d((e||"React class")+": "+r+" type `"+u+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function K(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));for(var s in e){var c=e[s];if(typeof c!="function")return R(n,f,t,s,O(c));var y=c(a,s,n,f,t+"."+s,h);if(y)return y}return null}return v(r)}function Q(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));var s=W({},u[i],e);for(var c in s){var y=e[c];if(I(e,c)&&typeof y!="function")return R(n,f,t,c,O(y));if(!y)return new d("Invalid "+f+" `"+t+"` key `"+c+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(u[i],null," ")+`
2
- Valid keys: `+JSON.stringify(Object.keys(e),null," "));var l=y(a,c,n,f,t+"."+c,h);if(l)return l}return null}return v(r)}function j(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(j);if(e===null||x(e))return!0;var r=M(e);if(r){var u=r.call(e),i;if(r!==e.entries){for(;!(i=u.next()).done;)if(!j(i.value))return!1}else for(;!(i=u.next()).done;){var n=i.value;if(n&&!j(n[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function g(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(r,e)?"symbol":r}function O(e){if(typeof e>"u"||e===null)return""+e;var r=g(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=O(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function V(e){return!e.constructor||!e.constructor.name?_:e.constructor.name}return w.checkPropTypes=q,w.resetWarningCache=q.resetWarningCache,w.PropTypes=w,w},A}exports.__require=te;
3
- //# sourceMappingURL=index30.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index30.cjs","sources":["../node_modules/prop-types/factoryWithTypeCheckers.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactIs","require$$0","assign","require$$1","ReactPropTypesSecret","require$$2","has","require$$3","checkPropTypes","require$$4","printWarning","text","message","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","x","y","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","props","propName","componentName","location","propFullName","secret","err","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","i","error","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","key","value","type","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol"],"mappings":"wQASA,IAAIA,EAAUC,EAAAA,YACVC,EAASC,EAAAA,YAETC,EAAuBC,GAAAA,YACvBC,EAAMC,GAAAA,YACNC,EAAiBC,GAAAA,YAEjBC,EAAe,UAAW,GAE1B,QAAQ,IAAI,WAAa,eAC3BA,EAAe,SAASC,EAAM,CAC5B,IAAIC,EAAU,YAAcD,EACxB,OAAO,QAAY,KACrB,QAAQ,MAAMC,CAAO,EAEvB,GAAI,CAIF,MAAM,IAAI,MAAMA,CAAO,CAC7B,MAAgB,CAAE,CAClB,GAGA,SAASC,GAA+B,CACtC,OAAO,IACR,CAED,OAAAC,EAAiB,SAASC,EAAgBC,EAAqB,CAE7D,IAAIC,EAAkB,OAAO,QAAW,YAAc,OAAO,SACzDC,EAAuB,aAgB3B,SAASC,EAAcC,EAAe,CACpC,IAAIC,EAAaD,IAAkBH,GA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AM,CACrC,IAAIE,EAAQD,EAAK,MACjB,GAAIC,GACE,CAACN,EAAOM,EAAM,CAAC,CAAC,EAClB,MAAO,EAGZ,CAEb,KACU,OAAO,GAGT,MAAO,GACT,QACE,MAAO,EACV,CACF,CAED,SAASC,EAAS7B,EAAUD,EAAW,CAErC,OAAIC,IAAa,SACR,GAIJD,EAKDA,EAAU,eAAe,IAAM,UAK/B,OAAO,QAAW,YAAcA,aAAqB,OAThD,EAcV,CAGD,SAASE,EAAYF,EAAW,CAC9B,IAAIC,EAAW,OAAOD,EACtB,OAAI,MAAM,QAAQA,CAAS,EAClB,QAELA,aAAqB,OAIhB,SAEL8B,EAAS7B,EAAUD,CAAS,EACvB,SAEFC,CACR,CAID,SAASG,EAAeJ,EAAW,CACjC,GAAI,OAAOA,EAAc,KAAeA,IAAc,KACpD,MAAO,GAAKA,EAEd,IAAIC,EAAWC,EAAYF,CAAS,EACpC,GAAIC,IAAa,SAAU,CACzB,GAAID,aAAqB,KACvB,MAAO,OACF,GAAIA,aAAqB,OAC9B,MAAO,QAEV,CACD,OAAOC,CACR,CAID,SAASkB,EAAyBJ,EAAO,CACvC,IAAIC,EAAOZ,EAAeW,CAAK,EAC/B,OAAQC,EAAI,CACV,IAAK,QACL,IAAK,SACH,MAAO,MAAQA,EACjB,IAAK,UACL,IAAK,OACL,IAAK,SACH,MAAO,KAAOA,EAChB,QACE,OAAOA,CACV,CACF,CAGD,SAASL,EAAaX,EAAW,CAC/B,MAAI,CAACA,EAAU,aAAe,CAACA,EAAU,YAAY,KAC5CnC,EAEFmC,EAAU,YAAY,IAC9B,CAED,OAAAlC,EAAe,eAAiBf,EAChCe,EAAe,kBAAoBf,EAAe,kBAClDe,EAAe,UAAYA,EAEpBA","x_google_ignoreList":[0]}
package/dist/index31.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index36.cjs");var n,p;function y(){if(p)return n;p=1;var c=u.__require();function o(){}function i(){}return i.resetWarningCache=o,n=function(){function e(h,m,f,l,T,s){if(s!==c){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t},n}exports.__require=y;
2
- //# sourceMappingURL=index31.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index31.cjs","sources":["../node_modules/prop-types/factoryWithThrowingShims.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes"],"mappings":"wJASA,IAAIA,EAAuBC,EAAAA,YAE3B,SAASC,GAAgB,CAAE,CAC3B,SAASC,GAAyB,CAAE,CACpC,OAAAA,EAAuB,kBAAoBD,EAE3CE,EAAiB,UAAW,CAC1B,SAASC,EAAKC,EAAOC,EAAUC,EAAeC,EAAUC,EAAcC,EAAQ,CAC5E,GAAIA,IAAWX,EAIf,KAAIY,EAAM,IAAI,MACZ,iLAGN,EACI,MAAAA,EAAI,KAAO,sBACLA,EACV,CACEP,EAAK,WAAaA,EAClB,SAASQ,GAAU,CACjB,OAAOR,CAEX,CAEE,IAAIS,EAAiB,CACnB,MAAOT,EACP,OAAQA,EACR,KAAMA,EACN,KAAMA,EACN,OAAQA,EACR,OAAQA,EACR,OAAQA,EACR,OAAQA,EAER,IAAKA,EACL,QAASQ,EACT,QAASR,EACT,YAAaA,EACb,WAAYQ,EACZ,KAAMR,EACN,SAAUQ,EACV,MAAOA,EACP,UAAWA,EACX,MAAOA,EACP,MAAOA,EAEP,eAAgBV,EAChB,kBAAmBD,CACvB,EAEE,OAAAY,EAAe,UAAYA,EAEpBA","x_google_ignoreList":[0]}
package/dist/index32.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
- //# sourceMappingURL=index32.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index32.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/index33.cjs DELETED
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index39.cjs");/** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var S;function w(){if(S)return r.__exports;S=1;var t=typeof Symbol=="function"&&Symbol.for,m=t?Symbol.for("react.element"):60103,x=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,_=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,b=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,i=t?Symbol.for("react.forward_ref"):60112,u=t?Symbol.for("react.suspense"):60113,$=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,l=t?Symbol.for("react.lazy"):60116,M=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function o(e){if(typeof e=="object"&&e!==null){var d=e.$$typeof;switch(d){case m:switch(e=e.type,e){case b:case p:case n:case c:case s:case u:return e;default:switch(e=e&&e.$$typeof,e){case f:case i:case l:case y:case _:return e;default:return d}}case x:return d}}}function a(e){return o(e)===p}return r.__exports.AsyncMode=b,r.__exports.ConcurrentMode=p,r.__exports.ContextConsumer=f,r.__exports.ContextProvider=_,r.__exports.Element=m,r.__exports.ForwardRef=i,r.__exports.Fragment=n,r.__exports.Lazy=l,r.__exports.Memo=y,r.__exports.Portal=x,r.__exports.Profiler=c,r.__exports.StrictMode=s,r.__exports.Suspense=u,r.__exports.isAsyncMode=function(e){return a(e)||o(e)===b},r.__exports.isConcurrentMode=a,r.__exports.isContextConsumer=function(e){return o(e)===f},r.__exports.isContextProvider=function(e){return o(e)===_},r.__exports.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===m},r.__exports.isForwardRef=function(e){return o(e)===i},r.__exports.isFragment=function(e){return o(e)===n},r.__exports.isLazy=function(e){return o(e)===l},r.__exports.isMemo=function(e){return o(e)===y},r.__exports.isPortal=function(e){return o(e)===x},r.__exports.isProfiler=function(e){return o(e)===c},r.__exports.isStrictMode=function(e){return o(e)===s},r.__exports.isSuspense=function(e){return o(e)===u},r.__exports.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===n||e===p||e===c||e===s||e===u||e===$||typeof e=="object"&&e!==null&&(e.$$typeof===l||e.$$typeof===y||e.$$typeof===_||e.$$typeof===f||e.$$typeof===i||e.$$typeof===v||e.$$typeof===C||e.$$typeof===g||e.$$typeof===M)},r.__exports.typeOf=o,r.__exports}exports.__require=w;
9
- //# sourceMappingURL=index33.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index33.cjs","sources":["../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n"],"names":["b","c","d","e","f","g","h","k","l","m","n","p","q","r","t","v","w","x","y","z","a","u","A","reactIs_production_min"],"mappings":";;;;;;;kDASa,IAAIA,EAAe,OAAO,QAApB,YAA4B,OAAO,IAAIC,EAAED,EAAE,OAAO,IAAI,eAAe,EAAE,MAAME,EAAEF,EAAE,OAAO,IAAI,cAAc,EAAE,MAAMG,EAAEH,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAMI,EAAEJ,EAAE,OAAO,IAAI,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AC,OAAOD,EAAEC,CAAC,IAAIhB,CAAC,EAAEmB,EAAAA,UAAA,WAAmB,SAASH,EAAE,CAAC,OAAOD,EAAEC,CAAC,IAAIT,CAAC,EAChNY,EAAAA,UAAA,mBAAC,SAASH,EAAE,CAAC,OAAiB,OAAOA,GAAlB,UAAkC,OAAOA,GAApB,YAAuBA,IAAIjB,GAAGiB,IAAIX,GAAGW,IAAIf,GAAGe,IAAIhB,GAAGgB,IAAIT,GAAGS,IAAIR,GAAc,OAAOQ,GAAlB,UAA4BA,IAAP,OAAWA,EAAE,WAAWN,GAAGM,EAAE,WAAWP,GAAGO,EAAE,WAAWd,GAAGc,EAAE,WAAWb,GAAGa,EAAE,WAAWV,GAAGU,EAAE,WAAWJ,GAAGI,EAAE,WAAWH,GAAGG,EAAE,WAAWF,GAAGE,EAAE,WAAWL,EAAE,EAAEQ,EAAAA,UAAc,OAACJ","x_google_ignoreList":[0]}
package/dist/index34.cjs DELETED
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index40.cjs");/** @license React v16.13.1
2
- * react-is.development.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var S;function ee(){return S||(S=1,process.env.NODE_ENV!=="production"&&function(){var o=typeof Symbol=="function"&&Symbol.for,x=o?Symbol.for("react.element"):60103,m=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,n=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,_=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,T=o?Symbol.for("react.async_mode"):60111,i=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,u=o?Symbol.for("react.suspense"):60113,P=o?Symbol.for("react.suspense_list"):60120,E=o?Symbol.for("react.memo"):60115,d=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,A=o?Symbol.for("react.fundamental"):60117,M=o?Symbol.for("react.responder"):60118,b=o?Symbol.for("react.scope"):60119;function Y(e){return typeof e=="string"||typeof e=="function"||e===a||e===i||e===s||e===n||e===u||e===P||typeof e=="object"&&e!==null&&(e.$$typeof===d||e.$$typeof===E||e.$$typeof===_||e.$$typeof===c||e.$$typeof===f||e.$$typeof===A||e.$$typeof===M||e.$$typeof===b||e.$$typeof===y)}function t(e){if(typeof e=="object"&&e!==null){var p=e.$$typeof;switch(p){case x:var l=e.type;switch(l){case T:case i:case a:case s:case n:case u:return l;default:var R=l&&l.$$typeof;switch(R){case c:case f:case d:case E:case _:return R;default:return p}}case m:return p}}}var $=T,O=i,F=c,N=_,I=x,L=f,h=a,w=d,D=E,g=m,z=s,U=n,q=u,v=!1;function V(e){return v||(v=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),C(e)||t(e)===T}function C(e){return t(e)===i}function W(e){return t(e)===c}function k(e){return t(e)===_}function B(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function G(e){return t(e)===f}function K(e){return t(e)===a}function X(e){return t(e)===d}function Z(e){return t(e)===E}function H(e){return t(e)===m}function J(e){return t(e)===s}function Q(e){return t(e)===n}function j(e){return t(e)===u}r.__exports.AsyncMode=$,r.__exports.ConcurrentMode=O,r.__exports.ContextConsumer=F,r.__exports.ContextProvider=N,r.__exports.Element=I,r.__exports.ForwardRef=L,r.__exports.Fragment=h,r.__exports.Lazy=w,r.__exports.Memo=D,r.__exports.Portal=g,r.__exports.Profiler=z,r.__exports.StrictMode=U,r.__exports.Suspense=q,r.__exports.isAsyncMode=V,r.__exports.isConcurrentMode=C,r.__exports.isContextConsumer=W,r.__exports.isContextProvider=k,r.__exports.isElement=B,r.__exports.isForwardRef=G,r.__exports.isFragment=K,r.__exports.isLazy=X,r.__exports.isMemo=Z,r.__exports.isPortal=H,r.__exports.isProfiler=J,r.__exports.isStrictMode=Q,r.__exports.isSuspense=j,r.__exports.isValidElementType=Y,r.__exports.typeOf=t}()),r.__exports}exports.__require=ee;
9
- //# sourceMappingURL=index34.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index34.cjs","sources":["../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n"],"names":["hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","type","typeOf","object","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development"],"mappings":";;;;;;;sCAaI,QAAQ,IAAI,WAAa,cAC1B,UAAW,CAKd,IAAIA,EAAY,OAAO,QAAW,YAAc,OAAO,IACnDC,EAAqBD,EAAY,OAAO,IAAI,eAAe,EAAI,MAC/DE,EAAoBF,EAAY,OAAO,IAAI,cAAc,EAAI,MAC7DG,EAAsBH,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEI,EAAyBJ,EAAY,OAAO,IAAI,mBAAmB,EAAI,MACvEK,EAAsBL,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEM,EAAsBN,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEO,EAAqBP,EAAY,OAAO,IAAI,eAAe,EAAI,MAG/DQ,EAAwBR,EAAY,OAAO,IAAI,kBAAkB,EAAI,MACrES,EAA6BT,EAAY,OAAO,IAAI,uBAAuB,EAAI,MAC/EU,EAAyBV,EAAY,OAAO,IAAI,mBAAmB,EAAI,MACvEW,EAAsBX,EAAY,OAAO,IAAI,gBAAgB,EAAI,MACjEY,EAA2BZ,EAAY,OAAO,IAAI,qBAAqB,EAAI,MAC3Ea,EAAkBb,EAAY,OAAO,IAAI,YAAY,EAAI,MACzDc,EAAkBd,EAAY,OAAO,IAAI,YAAY,EAAI,MACzD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EACLsB,EAAA,UAAA,SAAGrB,EACPqB,EAAA,UAAA,KAAGpB,EACHoB,EAAA,UAAA,KAAGnB,EACDmB,EAAA,UAAA,OAAGlB,EACDkB,EAAA,UAAA,SAAGjB,EACDiB,EAAA,UAAA,WAAGhB,EACLgB,EAAA,UAAA,SAAGf,EACAe,EAAA,UAAA,YAAGb,EACEa,EAAA,UAAA,iBAAGZ,EACFY,EAAA,UAAA,kBAAGX,EACHW,EAAA,UAAA,kBAAGV,EACXU,EAAA,UAAA,UAAGT,EACAS,EAAA,UAAA,aAAGR,EACLQ,EAAA,UAAA,WAAGP,EACPO,EAAA,UAAA,OAAGN,EACHM,EAAA,UAAA,OAAGL,EACDK,EAAA,UAAA,SAAGJ,EACDI,EAAA,UAAA,WAAGH,EACDG,EAAA,UAAA,aAAGF,EACLE,EAAA,UAAA,WAAGD,EACKC,EAAA,UAAA,mBAAGjC,EACfiC,EAAA,UAAA,OAAG/B,CACjB","x_google_ignoreList":[0]}
package/dist/index35.cjs DELETED
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */var u,f;function j(){if(f)return u;f=1;var i=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function O(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function g(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var c={},r=0;r<10;r++)c["_"+String.fromCharCode(r)]=r;var a=Object.getOwnPropertyNames(c).map(function(e){return c[e]});if(a.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return u=g()?Object.assign:function(t,c){for(var r,a=O(t),n,e=1;e<arguments.length;e++){r=Object(arguments[e]);for(var s in r)b.call(r,s)&&(a[s]=r[s]);if(i){n=i(r);for(var o=0;o<n.length;o++)l.call(r,n[o])&&(a[n[o]]=r[n[o]])}}return a},u}exports.__require=j;
6
- //# sourceMappingURL=index35.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index35.cjs","sources":["../node_modules/object-assign/index.js"],"sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"],"names":["getOwnPropertySymbols","hasOwnProperty","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","i","order2","n","test3","letter","objectAssign","target","source","from","to","symbols","s","key"],"mappings":";;;;yCAQA,IAAIA,EAAwB,OAAO,sBAC/BC,EAAiB,OAAO,UAAU,eAClCC,EAAmB,OAAO,UAAU,qBAExC,SAASC,EAASC,EAAK,CACtB,GAAIA,GAAQ,KACX,MAAM,IAAI,UAAU,uDAAuD,EAG5E,OAAO,OAAOA,CAAG,CACjB,CAED,SAASC,GAAkB,CAC1B,GAAI,CACH,GAAI,CAAC,OAAO,OACX,MAAO,GAMR,IAAIC,EAAQ,IAAI,OAAO,KAAK,EAE5B,GADAA,EAAM,CAAC,EAAI,KACP,OAAO,oBAAoBA,CAAK,EAAE,CAAC,IAAM,IAC5C,MAAO,GAKR,QADIC,EAAQ,CAAA,EACHC,EAAI,EAAGA,EAAI,GAAIA,IACvBD,EAAM,IAAM,OAAO,aAAaC,CAAC,CAAC,EAAIA,EAEvC,IAAIC,EAAS,OAAO,oBAAoBF,CAAK,EAAE,IAAI,SAAUG,EAAG,CAC/D,OAAOH,EAAMG,CAAC,CACjB,CAAG,EACD,GAAID,EAAO,KAAK,EAAE,IAAM,aACvB,MAAO,GAIR,IAAIE,EAAQ,CAAA,EAIZ,MAHA,uBAAuB,MAAM,EAAE,EAAE,QAAQ,SAAUC,EAAQ,CAC1DD,EAAMC,CAAM,EAAIA,CACnB,CAAG,EACG,OAAO,KAAK,OAAO,OAAO,CAAE,EAAED,CAAK,CAAC,EAAE,KAAK,EAAE,IAC/C,sBAKF,MAAa,CAEb,MAAO,EACP,CACD,CAED,OAAAE,EAAiBR,EAAe,EAAK,OAAO,OAAS,SAAUS,EAAQC,EAAQ,CAK9E,QAJIC,EACAC,EAAKd,EAASW,CAAM,EACpBI,EAEKC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAC1CH,EAAO,OAAO,UAAUG,CAAC,CAAC,EAE1B,QAASC,KAAOJ,EACXf,EAAe,KAAKe,EAAMI,CAAG,IAChCH,EAAGG,CAAG,EAAIJ,EAAKI,CAAG,GAIpB,GAAIpB,EAAuB,CAC1BkB,EAAUlB,EAAsBgB,CAAI,EACpC,QAASR,EAAI,EAAGA,EAAIU,EAAQ,OAAQV,IAC/BN,EAAiB,KAAKc,EAAME,EAAQV,CAAC,CAAC,IACzCS,EAAGC,EAAQV,CAAC,CAAC,EAAIQ,EAAKE,EAAQV,CAAC,CAAC,EAGlC,CACD,CAED,OAAOS","x_google_ignoreList":[0]}
package/dist/index36.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,r;function _(){if(r)return e;r=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return e=t,e}exports.__require=_;
2
- //# sourceMappingURL=index36.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index36.cjs","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1"],"mappings":"uHASA,IAAIA,EAAuB,+CAE3B,OAAAC,EAAiBD","x_google_ignoreList":[0]}
package/dist/index37.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,r;function t(){return r||(r=1,e=Function.call.bind(Object.prototype.hasOwnProperty)),e}exports.__require=t;
2
- //# sourceMappingURL=index37.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index37.cjs","sources":["../node_modules/prop-types/lib/has.js"],"sourcesContent":["module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n"],"names":["has"],"mappings":"oHAAAA,EAAiB,SAAS,KAAK,KAAK,OAAO,UAAU,cAAc","x_google_ignoreList":[0]}
package/dist/index38.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index36.cjs"),_=require("./index37.cjs");var u,p;function O(){if(p)return u;p=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var l=E.__require(),a={},y=_.__require();o=function(r){var t="Warning: "+r;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function f(r,t,i,s,c){if(process.env.NODE_ENV!=="production"){for(var e in r)if(y(r,e)){var n;try{if(typeof r[e]!="function"){var h=Error((s||"React class")+": "+i+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}n=r[e](t,e,s,i,null,l)}catch(d){n=d}if(n&&!(n instanceof Error)&&o((s||"React class")+": type specification of "+i+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof n+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),n instanceof Error&&!(n.message in a)){a[n.message]=!0;var v=c?c():"";o("Failed "+i+" type: "+n.message+(v??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},u=f,u}exports.__require=O;
2
- //# sourceMappingURL=index38.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index38.cjs","sources":["../node_modules/prop-types/checkPropTypes.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n"],"names":["printWarning","ReactPropTypesSecret","require$$0","loggedTypeFailures","has","require$$1","text","message","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":"mLASA,IAAIA,EAAe,UAAW,GAE9B,GAAI,QAAQ,IAAI,WAAa,aAAc,CACzC,IAAIC,EAAuBC,EAAAA,YACvBC,EAAqB,CAAA,EACrBC,EAAMC,EAAAA,YAEVL,EAAe,SAASM,EAAM,CAC5B,IAAIC,EAAU,YAAcD,EACxB,OAAO,QAAY,KACrB,QAAQ,MAAMC,CAAO,EAEvB,GAAI,CAIF,MAAM,IAAI,MAAMA,CAAO,CAC7B,MAAgB,CAAQ,CACxB,CACC,CAaD,SAASC,EAAeC,EAAWC,EAAQC,EAAUC,EAAeC,EAAU,CAC5E,GAAI,QAAQ,IAAI,WAAa,cAC3B,QAASC,KAAgBL,EACvB,GAAIL,EAAIK,EAAWK,CAAY,EAAG,CAChC,IAAIC,EAIJ,GAAI,CAGF,GAAI,OAAON,EAAUK,CAAY,GAAM,WAAY,CACjD,IAAIE,EAAM,OACPJ,GAAiB,eAAiB,KAAOD,EAAW,UAAYG,EAAe,6FACC,OAAOL,EAAUK,CAAY,EAAI,iGAEhI,EACY,MAAAE,EAAI,KAAO,sBACLA,CACP,CACDD,EAAQN,EAAUK,CAAY,EAAEJ,EAAQI,EAAcF,EAAeD,EAAU,KAAMV,CAAoB,CAC1G,OAAQgB,EAAI,CACXF,EAAQE,CACT,CAWD,GAVIF,GAAS,EAAEA,aAAiB,QAC9Bf,GACGY,GAAiB,eAAiB,2BACnCD,EAAW,KAAOG,EAAe,2FAC6B,OAAOC,EAAQ,gKAIzF,EAEYA,aAAiB,OAAS,EAAEA,EAAM,WAAWZ,GAAqB,CAGpEA,EAAmBY,EAAM,OAAO,EAAI,GAEpC,IAAIG,EAAQL,EAAWA,EAAQ,EAAK,GAEpCb,EACE,UAAYW,EAAW,UAAYI,EAAM,SAAWG,GAAwB,GACxF,CACS,CACF,EAGN,CAOD,OAAAV,EAAe,kBAAoB,UAAW,CACxC,QAAQ,IAAI,WAAa,eAC3BL,EAAqB,CAAA,EAExB,EAEDgB,EAAiBX","x_google_ignoreList":[0]}
package/dist/index39.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
- //# sourceMappingURL=index39.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index39.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/index4.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index12.cjs"),c=require("./index13.cjs"),o=require("./index14.cjs"),i=o.iconNames.reduce((e,s)=>(e[s]=`icons/${s}.svg`,e),{}),u=e=>{const{name:s="",className:t=""}=e,r=i[s];return r?n.jsxRuntimeExports.jsx("div",{className:`svg-wrapper ${t}`,children:n.jsxRuntimeExports.jsx(c.ReactSVG,{src:r,wrapper:"span"})}):null};exports.Icon=u;
2
- //# sourceMappingURL=index4.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index4.cjs","sources":["../src/components/Icon/Icon.tsx"],"sourcesContent":["import { ReactSVG } from 'react-svg';\nimport { Map } from '../../utils/common.types';\nimport { IconProps } from './Icon.types';\nimport { iconNames } from 'src/utils/iconNames';\nimport { FC } from 'react';\n\nconst ICON_MAP: Map = iconNames.reduce((acc: Map, name: string) => {\n acc[name] = `icons/${name}.svg`;\n return acc;\n}, {});\n\nexport const Icon: FC<IconProps> = (props) => {\n const { name = '', className = '' } = props;\n const src = ICON_MAP[name];\n\n if (!src) {\n return null;\n }\n return (\n <div className={`svg-wrapper ${className}`}>\n <ReactSVG src={src} wrapper=\"span\" />\n </div>\n );\n};\n"],"names":["ICON_MAP","iconNames","acc","name","Icon","props","className","src","jsx","ReactSVG"],"mappings":"uKAMMA,EAAgBC,EAAAA,UAAU,OAAO,CAACC,EAAUC,KAC5CD,EAAAC,CAAI,EAAI,SAASA,CAAI,OAClBD,GACN,CAAE,CAAA,EAEQE,EAAuBC,GAAU,CAC5C,KAAM,CAAE,KAAAF,EAAO,GAAI,UAAAG,EAAY,IAAOD,EAChCE,EAAMP,EAASG,CAAI,EAEzB,OAAKI,EAIHC,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,eAAeF,CAAS,GACtC,SAAAE,EAAA,kBAAA,IAACC,EAAS,SAAA,CAAA,IAAAF,EAAU,QAAQ,MAAA,CAAO,CACrC,CAAA,EALO,IAOX"}
package/dist/index40.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
- //# sourceMappingURL=index40.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index40.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/index5.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index12.cjs"),u=require("react"),a=require("./index11.cjs"),p=s=>{const{label:n,onDropdownClick:i=()=>{},menuItems:r=[],...o}=s,[e,l]=u.useState(!1),x=()=>{l(!e),i()};return t.jsxRuntimeExports.jsxs("div",{className:"flex items-center relative",children:[t.jsxRuntimeExports.jsx("button",{type:"button",className:"px-8 py-2.5 rounded-l text-sm bg-blue-500 text-white border-r border-white",...o,children:n}),t.jsxRuntimeExports.jsx("button",{type:"button",className:"bg-blue-500 rounded-r",onClick:x,children:t.jsxRuntimeExports.jsxs("svg",{className:`${e?"rotate-180":""} transition-all`,width:"35",height:"40",viewBox:"0 0 35 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsxRuntimeExports.jsx("path",{d:"M0 0H32C33.6569 0 35 1.34315 35 3V37C35 38.6569 33.6569 40 32 40H0V0Z",fill:"transparent"}),t.jsxRuntimeExports.jsx("path",{d:"M18 23.5L14 19.5L22 19.5L18 23.5Z",fill:"white"})]})}),e&&t.jsxRuntimeExports.jsx("div",{className:"absolute top-full mt-1 w-max",children:t.jsxRuntimeExports.jsx(a.MenuList,{items:r})})]})};exports.SplitButton=p;
2
- //# sourceMappingURL=index5.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index5.cjs","sources":["../src/components/SplitButton/SplitButton.tsx"],"sourcesContent":["import { FC, useState } from 'react';\nimport { MenuItemProps } from 'src/components/MenuItem';\nimport { MenuList } from 'src/components/MenuList';\n\nexport interface SplitButtonProps {\n /**\n * Button contents\n */\n label: string;\n /**\n * Optional click handler\n */\n onClick?: () => void;\n /**\n * Optional click handler for dropdown\n */\n onDropdownClick?: () => void;\n menuItems?: MenuItemProps[];\n}\n\nexport const SplitButton: FC<SplitButtonProps> = (props) => {\n const { label, onDropdownClick = () => {}, menuItems = [], ...remainingProps } = props;\n const [isOpen, setIsOpen] = useState(false);\n\n const handleDropdownClick = () => {\n setIsOpen(!isOpen);\n onDropdownClick();\n };\n\n return (\n <div className={'flex items-center relative'}>\n <button\n type=\"button\"\n className=\"px-8 py-2.5 rounded-l text-sm bg-blue-500 text-white border-r border-white\"\n {...remainingProps}\n >\n {label}\n </button>\n <button type=\"button\" className=\"bg-blue-500 rounded-r\" onClick={handleDropdownClick}>\n <svg\n className={`${isOpen ? 'rotate-180' : ''} transition-all`}\n width=\"35\"\n height=\"40\"\n viewBox=\"0 0 35 40\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M0 0H32C33.6569 0 35 1.34315 35 3V37C35 38.6569 33.6569 40 32 40H0V0Z\" fill=\"transparent\" />\n <path d=\"M18 23.5L14 19.5L22 19.5L18 23.5Z\" fill=\"white\" />\n </svg>\n </button>\n {isOpen && (\n <div className=\"absolute top-full mt-1 w-max\">\n <MenuList items={menuItems} />\n </div>\n )}\n </div>\n );\n};\n"],"names":["SplitButton","props","label","onDropdownClick","menuItems","remainingProps","isOpen","setIsOpen","useState","handleDropdownClick","jsxs","jsx","MenuList"],"mappings":"+JAoBaA,EAAqCC,GAAU,CACpD,KAAA,CAAE,MAAAC,EAAO,gBAAAC,EAAkB,IAAM,GAAI,UAAAC,EAAY,CAAI,EAAA,GAAGC,GAAmBJ,EAC3E,CAACK,EAAQC,CAAS,EAAIC,WAAS,EAAK,EAEpCC,EAAsB,IAAM,CAChCF,EAAU,CAACD,CAAM,EACDH,GAAA,EAIhB,OAAAO,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAW,6BACd,SAAA,CAAAC,EAAA,kBAAA,IAAC,SAAA,CACC,KAAK,SACL,UAAU,6EACT,GAAGN,EAEH,SAAAH,CAAA,CACH,0BACC,SAAO,CAAA,KAAK,SAAS,UAAU,wBAAwB,QAASO,EAC/D,SAAAC,EAAA,kBAAA,KAAC,MAAA,CACC,UAAW,GAAGJ,EAAS,aAAe,EAAE,kBACxC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BAEN,SAAA,CAAAK,EAAA,kBAAA,IAAC,OAAK,CAAA,EAAE,wEAAwE,KAAK,cAAc,EAClGA,EAAA,kBAAA,IAAA,OAAA,CAAK,EAAE,oCAAoC,KAAK,QAAQ,CAAA,CAAA,CAAA,EAE7D,EACCL,2BACE,MAAI,CAAA,UAAU,+BACb,SAACK,EAAA,kBAAA,IAAAC,EAAA,SAAA,CAAS,MAAOR,CAAA,CAAW,CAC9B,CAAA,CAEJ,CAAA,CAAA,CAEJ"}
package/dist/index6.cjs DELETED
@@ -1,5 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index12.cjs"),l=require("react"),i=({initialState:r,onToggle:s,disabled:n})=>{const[e,c]=l.useState(r||!1),a=()=>{const o=!e;c(o),s&&s(o)};return t.jsxRuntimeExports.jsxs("label",{className:`block w-8 h-4 p-0.5 rounded-full cursor-pointer bg-gray-500
2
- ${e?" bg-green-600":""}
3
- ${n?" opacity-50 cursor-not-allowed":""}
4
- `,children:[t.jsxRuntimeExports.jsx("input",{className:"opacity-0 hidden",type:"checkbox",checked:e,onChange:a,disabled:n}),t.jsxRuntimeExports.jsx("span",{className:`block w-3 h-3 rounded-full bg-white transform transition-transform ${e?"translate-x-4":""}`})]})};exports.Toggle=i;
5
- //# sourceMappingURL=index6.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index6.cjs","sources":["../src/components/Toggle/Toggle.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport { ToggleProps } from \"./Toggle.types\";\n\nexport const Toggle: React.FC<ToggleProps> = ({\n initialState,\n onToggle,\n disabled,\n}) => {\n const [checked, setChecked] = useState(initialState || false);\n\n const handleToggle = () => {\n const newChecked = !checked;\n setChecked(newChecked);\n if (onToggle) {\n onToggle(newChecked);\n }\n };\n\n return (\n <label\n className={`block w-8 h-4 p-0.5 rounded-full cursor-pointer bg-gray-500\n ${checked ? \" bg-green-600\" : \"\"}\n ${disabled ? \" opacity-50 cursor-not-allowed\" : \"\"}\n `}\n >\n <input\n className=\"opacity-0 hidden\"\n type=\"checkbox\"\n checked={checked}\n onChange={handleToggle}\n disabled={disabled}\n />\n <span\n className={`block w-3 h-3 rounded-full bg-white transform transition-transform ${\n checked ? \"translate-x-4\" : \"\"\n }`}\n ></span>\n </label>\n );\n};\n"],"names":["Toggle","initialState","onToggle","disabled","checked","setChecked","useState","handleToggle","newChecked","jsxs","jsx"],"mappings":"oIAGaA,EAAgC,CAAC,CAC5C,aAAAC,EACA,SAAAC,EACA,SAAAC,CACF,IAAM,CACJ,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAASL,GAAgB,EAAK,EAEtDM,EAAe,IAAM,CACzB,MAAMC,EAAa,CAACJ,EACpBC,EAAWG,CAAU,EACjBN,GACFA,EAASM,CAAU,CACrB,EAIA,OAAAC,EAAA,kBAAA,KAAC,QAAA,CACC,UAAW;AAAA,UACPL,EAAU,gBAAkB,EAAE;AAAA,UAC9BD,EAAW,iCAAmC,EAAE;AAAA,QAGpD,SAAA,CAAAO,EAAA,kBAAA,IAAC,QAAA,CACC,UAAU,mBACV,KAAK,WACL,QAAAN,EACA,SAAUG,EACV,SAAAJ,CAAA,CACF,EACAO,EAAA,kBAAA,IAAC,OAAA,CACC,UAAW,sEACTN,EAAU,gBAAkB,EAC9B,EAAA,CACD,CAAA,CAAA,CAAA,CAGP"}
package/dist/index7.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index12.cjs"),n=({label:e})=>t.jsxRuntimeExports.jsx("span",{className:"inline-block px-1.5 py-1 text-xs font-bold rounded-sm bg-yellow-400 uppercase leading-4",children:e});exports.Tag=n;
2
- //# sourceMappingURL=index7.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index7.cjs","sources":["../src/components/Tag/Tag.tsx"],"sourcesContent":["import { FC } from 'react';\n\ntype TagProps = {\n label: string;\n};\n\nexport const Tag: FC<TagProps> = ({ label }) => {\n return (\n <span className=\"inline-block px-1.5 py-1 text-xs font-bold rounded-sm bg-yellow-400 uppercase leading-4\">\n {label}\n </span>\n );\n};\n"],"names":["Tag","label","jsx"],"mappings":"iHAMaA,EAAoB,CAAC,CAAE,MAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,OAAA,CAAK,UAAU,0FACb,SACHD,CAAA,CAAA"}
package/dist/index8.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index12.cjs"),s=require("./index3.cjs"),u=n=>{const{title:t,content:i,successButtonType:c,cancelButtonType:l,successButtonText:o,cancelButtonText:x,cancelAction:r,successAction:a}=n;return e.jsxRuntimeExports.jsx("div",{className:"fixed inset-0 flex items-start justify-center z-50 backdrop-brightness-50",children:e.jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-3 bg-white rounded shadow-lg p-8 mt-14 w-[500px]",children:[t&&e.jsxRuntimeExports.jsx("div",{className:"text-lg font-semibold",children:t}),e.jsxRuntimeExports.jsx("p",{className:"leading-normal",children:i}),e.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-end gap-4 pt-2",children:[e.jsxRuntimeExports.jsx(s.Button,{type:l,onClick:r,label:x}),e.jsxRuntimeExports.jsx(s.Button,{type:c,onClick:a,label:o})]})]})})};exports.Modal=u;
2
- //# sourceMappingURL=index8.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index8.cjs","sources":["../src/components/Modal/Modal.tsx"],"sourcesContent":["import { FC } from 'react';\nimport { Button } from '../Button';\n\nexport interface ModalProps {\n title?: string;\n content: string;\n successButtonText: string;\n cancelButtonText: string;\n successButtonType: 'primary' | 'secondary' | 'negative' | 'negative-secondary';\n cancelButtonType: 'primary' | 'secondary' | 'negative' | 'negative-secondary';\n cancelAction?: () => void;\n successAction?: () => void;\n}\n\nexport const Modal: FC<ModalProps> = (props) => {\n const {\n title,\n content,\n successButtonType,\n cancelButtonType,\n successButtonText,\n cancelButtonText,\n cancelAction,\n successAction\n } = props;\n\n return (\n <div className=\"fixed inset-0 flex items-start justify-center z-50 backdrop-brightness-50\">\n <div className=\"flex flex-col gap-3 bg-white rounded shadow-lg p-8 mt-14 w-[500px]\">\n {title && <div className=\"text-lg font-semibold\">{title}</div>}\n <p className=\"leading-normal\">{content}</p>\n <div className=\"flex items-center justify-end gap-4 pt-2\">\n <Button type={cancelButtonType} onClick={cancelAction} label={cancelButtonText} />\n <Button type={successButtonType} onClick={successAction} label={successButtonText} />\n </div>\n </div>\n </div>\n );\n};\n"],"names":["Modal","props","title","content","successButtonType","cancelButtonType","successButtonText","cancelButtonText","cancelAction","successAction","jsxs","jsx","Button"],"mappings":"2IAcaA,EAAyBC,GAAU,CACxC,KAAA,CACJ,MAAAC,EACA,QAAAC,EACA,kBAAAC,EACA,iBAAAC,EACA,kBAAAC,EACA,iBAAAC,EACA,aAAAC,EACA,cAAAC,CACE,EAAAR,EAEJ,+BACG,MAAI,CAAA,UAAU,4EACb,SAACS,EAAA,kBAAA,KAAA,MAAA,CAAI,UAAU,qEACZ,SAAA,CAAAR,GAAUS,EAAA,kBAAA,IAAA,MAAA,CAAI,UAAU,wBAAyB,SAAMT,EAAA,EACvDS,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,iBAAkB,SAAQR,EAAA,EACvCO,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,2CACb,SAAA,CAAAC,wBAACC,EAAAA,QAAO,KAAMP,EAAkB,QAASG,EAAc,MAAOD,EAAkB,0BAC/EK,EAAAA,OAAO,CAAA,KAAMR,EAAmB,QAASK,EAAe,MAAOH,EAAmB,CAAA,EACrF,CAAA,CACF,CAAA,CACF,CAAA,CAEJ"}
package/dist/index9.cjs DELETED
@@ -1,5 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index12.cjs"),s=require("react"),d=({content:l,tooltipSrc:a,position:t="bottom-center",displayOn:o="hover"})=>{const[c,f]=s.useState(o==="always-on"),r=s.useRef(null);s.useEffect(()=>{const e=r.current;e&&(t=="bottom-center"?(e.setAttribute("style","left: 50%;transform: translateX(-50%);"),e.classList.add("before:left-[calc(50%-7px)]"),e.classList.add("before:top-[-7px]")):t=="bottom-left"?(e.classList.add("before:left-[calc(10%-7px)]"),e.classList.add("before:top-[-7px]")):t=="bottom-right"?(e.setAttribute("style","right: 0;"),e.classList.add("before:right-[calc(10%+7px)]"),e.classList.add("before:top-[-7px]")):t=="left"?(e.setAttribute("style","right: calc(100% + 10px);top:0;"),e.classList.add("before:right-[-6px]"),e.classList.add("before:top-0px")):t=="right"&&(e.setAttribute("style","left: calc(100% + 10px);top:0;"),e.classList.add("before:left-[-6px]"),e.classList.add("before:top-0px")),o=="hover"&&e.classList.add("group-hover:visible"))},[l]),s.useEffect(()=>{const e=r.current;e&&(c?e.classList.remove("invisible"):e.classList.add("invisible"))},[c]);const n=()=>{o=="click"&&f(e=>!e)};return i.jsxRuntimeExports.jsxs("div",{className:"group relative",onClick:n,children:[i.jsxRuntimeExports.jsx("div",{className:"cursor-pointer",id:"tooltip-trigger",children:a}),i.jsxRuntimeExports.jsx("div",{ref:r,id:"tooltip-content",className:`flex justify-center px-3 py-2 min-w-24 max-w-60
2
- absolute top-[calc(100%+8px)] w-max bg-gray-800 text-white text-xs rounded-[3px]
3
- before:content-[' '] before:w-3.5 before:h-3.5 before:bg-gray-800 before:inline-block
4
- before:absolute before:rounded-tl-sm before:rotate-45`,children:l})]})};exports.Tooltip=d;
5
- //# sourceMappingURL=index9.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index9.cjs","sources":["../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import { useEffect, useState, useRef } from \"react\";\n\nexport interface TooltipProps {\n /**\n * Tooltip contents\n */\n content: string;\n /**\n * Tooltip position\n */\n position?: \"bottom-center\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\";\n /**\n * Display tooltip on Hover, Click or Always\n */\n displayOn?: 'hover' | 'click' | 'always-on';\n /**\n * Tooltip trigger contents\n */\n tooltipSrc?: React.ReactNode;\n}\n\nexport const Tooltip = ({ content, tooltipSrc, position = 'bottom-center', displayOn = 'hover' }: TooltipProps) => {\n const [displayTooltip, setDisplayTooltip] = useState(displayOn === 'always-on');\n const tooltipContentRef = useRef<HTMLDivElement>(null);;\n\n useEffect(() => {\n const tooltipContent = tooltipContentRef.current;\n\n if(!tooltipContent) {\n return\n }\n \n if(position == 'bottom-center') {\n tooltipContent.setAttribute(\"style\", `left: 50%;transform: translateX(-50%);`);\n tooltipContent.classList.add(`before:left-[calc(50%-7px)]`);\n tooltipContent.classList.add(`before:top-[-7px]`);\n } else if(position == 'bottom-left') {\n tooltipContent.classList.add(`before:left-[calc(10%-7px)]`);\n tooltipContent.classList.add(`before:top-[-7px]`);\n } else if(position == 'bottom-right') {\n tooltipContent.setAttribute(\"style\", `right: 0;`);\n tooltipContent.classList.add(`before:right-[calc(10%+7px)]`);\n tooltipContent.classList.add(`before:top-[-7px]`);\n } else if(position == 'left') {\n tooltipContent.setAttribute(\"style\", `right: calc(100% + 10px);top:0;`);\n tooltipContent.classList.add(`before:right-[-6px]`);\n tooltipContent.classList.add(`before:top-0px`);\n } else if(position == 'right') {\n tooltipContent.setAttribute(\"style\", `left: calc(100% + 10px);top:0;`);\n tooltipContent.classList.add(`before:left-[-6px]`);\n tooltipContent.classList.add(`before:top-0px`);\n }\n\n if(displayOn == 'hover') {\n tooltipContent.classList.add(`group-hover:visible`);\n }\n }, [content]);\n\n useEffect(() => {\n const tooltipContent = tooltipContentRef.current;\n\n if(!tooltipContent) {\n return;\n }\n if(displayTooltip) {\n tooltipContent.classList.remove(`invisible`);\n } else {\n tooltipContent.classList.add(`invisible`);\n }\n }, [displayTooltip])\n\n const onTooltipSrcClick = () => {\n if(displayOn == 'click') {\n setDisplayTooltip((displayTooltip) => !displayTooltip)\n }\n }\n\n return (\n <div className=\"group relative\" onClick={onTooltipSrcClick}>\n <div className=\"cursor-pointer\" id=\"tooltip-trigger\">\n {tooltipSrc}\n </div>\n <div\n ref={tooltipContentRef}\n id=\"tooltip-content\"\n className=\"flex justify-center px-3 py-2 min-w-24 max-w-60\n absolute top-[calc(100%+8px)] w-max bg-gray-800 text-white text-xs rounded-[3px]\n before:content-[' '] before:w-3.5 before:h-3.5 before:bg-gray-800 before:inline-block\n before:absolute before:rounded-tl-sm before:rotate-45\"\n >\n {content}\n </div>\n </div>\n );\n};\n"],"names":["Tooltip","content","tooltipSrc","position","displayOn","displayTooltip","setDisplayTooltip","useState","tooltipContentRef","useRef","useEffect","tooltipContent","onTooltipSrcClick","jsxs","jsx"],"mappings":"oIAqBaA,EAAU,CAAC,CAAE,QAAAC,EAAS,WAAAC,EAAY,SAAAC,EAAW,gBAAiB,UAAAC,EAAY,WAA4B,CACjH,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAAA,SAASH,IAAc,WAAW,EACxEI,EAAoBC,SAAuB,IAAI,EAErDC,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAiBH,EAAkB,QAErCG,IAIDR,GAAY,iBACEQ,EAAA,aAAa,QAAS,wCAAwC,EAC9DA,EAAA,UAAU,IAAI,6BAA6B,EAC3CA,EAAA,UAAU,IAAI,mBAAmB,GACxCR,GAAY,eACLQ,EAAA,UAAU,IAAI,6BAA6B,EAC3CA,EAAA,UAAU,IAAI,mBAAmB,GACxCR,GAAY,gBACLQ,EAAA,aAAa,QAAS,WAAW,EACjCA,EAAA,UAAU,IAAI,8BAA8B,EAC5CA,EAAA,UAAU,IAAI,m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