@zydon/common 2.8.63 → 2.8.65

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 (152) hide show
  1. package/dist/{chunk-M3IIWN6P.js → chunk-2MCLMTFV.js} +2 -2
  2. package/dist/chunk-2MCLMTFV.js.map +1 -0
  3. package/dist/{chunk-NR6PQELF.js → chunk-3ELMAXMX.js} +2 -2
  4. package/dist/chunk-5PUQMKA5.js +27 -0
  5. package/dist/chunk-5PUQMKA5.js.map +1 -0
  6. package/dist/{chunk-CMNW65VY.js → chunk-7JCGMZ6E.js} +2 -2
  7. package/dist/{chunk-AVPFUSEB.js → chunk-7LBBLVDC.js} +1 -1
  8. package/dist/{chunk-AVPFUSEB.js.map → chunk-7LBBLVDC.js.map} +1 -1
  9. package/dist/{chunk-EDO23OCC.js → chunk-DGCPCUVB.js} +2 -2
  10. package/dist/chunk-DGCPCUVB.js.map +1 -0
  11. package/dist/{chunk-H3SS73NK.js → chunk-EPMAHRQO.js} +2 -2
  12. package/dist/chunk-FBVAHVU3.js +11 -0
  13. package/dist/chunk-FBVAHVU3.js.map +1 -0
  14. package/dist/{chunk-DRJ5UDF6.js → chunk-FQOV5EGQ.js} +2 -2
  15. package/dist/{chunk-V7EE5E2H.js → chunk-GODJQLB7.js} +3 -3
  16. package/dist/chunk-JSL5OEWZ.js +7 -0
  17. package/dist/chunk-JSL5OEWZ.js.map +1 -0
  18. package/dist/chunk-KZFKHQ5P.js +14 -0
  19. package/dist/chunk-KZFKHQ5P.js.map +1 -0
  20. package/dist/{chunk-KYV74QIT.js → chunk-LNESYSHP.js} +1 -1
  21. package/dist/chunk-LNESYSHP.js.map +1 -0
  22. package/dist/{chunk-BNBE2OMA.js → chunk-LZQ7OFKO.js} +1 -1
  23. package/dist/{chunk-BNBE2OMA.js.map → chunk-LZQ7OFKO.js.map} +1 -1
  24. package/dist/{chunk-HVH6MGHX.js → chunk-N2UR3W55.js} +2 -2
  25. package/dist/{chunk-IDFJFFIV.js → chunk-NMGWHSNZ.js} +2 -2
  26. package/dist/{chunk-LJ5JKDMG.js → chunk-NWT5TUJO.js} +2 -2
  27. package/dist/chunk-NWT5TUJO.js.map +1 -0
  28. package/dist/{chunk-EFAF33PQ.js → chunk-PODYWSY7.js} +2 -2
  29. package/dist/{chunk-ESDQCHJR.js → chunk-PWR4GBUH.js} +2 -2
  30. package/dist/{chunk-3WFLKIPF.js → chunk-Q2AVS24Z.js} +2 -2
  31. package/dist/{chunk-SKFBUMRN.js → chunk-QMFFV7WM.js} +3 -3
  32. package/dist/{chunk-UOR22KQX.js → chunk-SDS77DQQ.js} +3 -3
  33. package/dist/{chunk-OFOIKKG2.js → chunk-T53CFFZY.js} +2 -2
  34. package/dist/chunk-TBFQ5PEL.js +34 -0
  35. package/dist/chunk-TBFQ5PEL.js.map +1 -0
  36. package/dist/{chunk-7OV7UPWM.js → chunk-U4I7JPER.js} +1 -1
  37. package/dist/{chunk-7OV7UPWM.js.map → chunk-U4I7JPER.js.map} +1 -1
  38. package/dist/{chunk-T6UNWMMX.js → chunk-UJMWTYPH.js} +2 -2
  39. package/dist/{chunk-PVI5BAUW.js → chunk-Y3TJIK6E.js} +2 -2
  40. package/dist/chunk-YJQVENY7.js +18 -0
  41. package/dist/chunk-YJQVENY7.js.map +1 -0
  42. package/dist/{chunk-YG74GZPD.js → chunk-YKLRB3EJ.js} +2 -2
  43. package/dist/components/ActionButton/index.js +3 -3
  44. package/dist/components/Autocomplete/index.js +3 -3
  45. package/dist/components/AutocompleteDetailed/index.js +1 -1
  46. package/dist/components/AvatarButton/index.js +7 -7
  47. package/dist/components/BuilderLayout/index.js +3 -3
  48. package/dist/components/BuilderSidebar/index.js +2 -2
  49. package/dist/components/BulkEditModal/index.js +4 -4
  50. package/dist/components/CardBrand/index.js +2 -2
  51. package/dist/components/Common/index.js +5 -5
  52. package/dist/components/Common/index.js.map +1 -1
  53. package/dist/components/CopyButton/index.js +4 -4
  54. package/dist/components/DataCards/index.js +1 -1
  55. package/dist/components/DataGrid/index.js +2 -2
  56. package/dist/components/DataView/index.js +6 -6
  57. package/dist/components/DragButton/index.js +3 -3
  58. package/dist/components/Drawer/index.js +5 -5
  59. package/dist/components/Drawer/index.js.map +1 -1
  60. package/dist/components/DynamicDataView/index.js +8 -8
  61. package/dist/components/DynamicDataView/index.js.map +1 -1
  62. package/dist/components/EasyCropModal/index.js +4 -4
  63. package/dist/components/EmptyContent/index.js +1 -1
  64. package/dist/components/Error/index.js +2 -2
  65. package/dist/components/ExpandableGroup/index.js +2 -2
  66. package/dist/components/FileUpload/index.js +8 -8
  67. package/dist/components/FrameSkeleton/index.js +2 -2
  68. package/dist/components/HelpButton/index.js +3 -3
  69. package/dist/components/Icon/index.js +2 -2
  70. package/dist/components/IconButton/index.js +3 -3
  71. package/dist/components/ImageCropModal/index.js +3 -3
  72. package/dist/components/Incrementer/index.js +3 -3
  73. package/dist/components/InfoCircle/index.js +3 -3
  74. package/dist/components/Label/index.js +1 -1
  75. package/dist/components/ListBundles/index.js +3 -3
  76. package/dist/components/MenuItem/index.js +2 -2
  77. package/dist/components/Modal/index.js +3 -3
  78. package/dist/components/MoreMenu/index.js +2 -2
  79. package/dist/components/NotFound/index.js +2 -2
  80. package/dist/components/PasswordRules/index.js +2 -2
  81. package/dist/components/PopoverSelect/index.js +2 -2
  82. package/dist/components/SearchInput/index.js +3 -3
  83. package/dist/components/SelectList/index.js +5 -5
  84. package/dist/components/SelectableCards/index.js +4 -4
  85. package/dist/components/SeoPreview/index.js +2 -2
  86. package/dist/components/SplashScreen/index.js.map +1 -1
  87. package/dist/components/StateDisplay/index.js +3 -3
  88. package/dist/components/Steps/index.js +2 -2
  89. package/dist/components/StyledTab/index.js +2 -2
  90. package/dist/components/SwapList/index.js +3 -3
  91. package/dist/components/ToggleTheme/index.js +5 -5
  92. package/dist/components/Tooltip/index.js +1 -1
  93. package/dist/components/WebhookCard/index.js +7 -7
  94. package/dist/components/WebhookCard/index.js.map +1 -1
  95. package/dist/components/carousel/index.js +3 -3
  96. package/dist/components/form/Address/index.js +4 -4
  97. package/dist/components/form/Autocomplete/index.js +4 -4
  98. package/dist/components/form/AutocompleteDetailed/index.js +1 -1
  99. package/dist/components/form/Codes/index.js +2 -2
  100. package/dist/components/form/Codes/index.js.map +1 -1
  101. package/dist/components/form/FileUpload/index.js +8 -8
  102. package/dist/components/form/Incrementer/index.js +3 -3
  103. package/dist/components/form/Password/index.js +2 -2
  104. package/dist/components/form/SelectList/index.js +5 -5
  105. package/dist/components/form/SelectableCards/index.js +4 -4
  106. package/dist/components/form/Webhook/index.js +5 -5
  107. package/dist/components/lightbox/index.js +2 -2
  108. package/dist/components/table/index.js +3 -3
  109. package/dist/contexts/PushNotifications/index.js.map +1 -1
  110. package/dist/hooks/useThemeToggle.js +4 -4
  111. package/dist/index.js +4 -4
  112. package/dist/theme/theme-provider.js +3 -3
  113. package/dist/theme/with-settings/index.js +2 -2
  114. package/dist/types/icon.d.ts +2 -0
  115. package/dist/types/icon.js +1 -1
  116. package/dist/utils/color.js +1 -1
  117. package/eslint-shared-rules.cjs +25 -0
  118. package/package.json +11 -5
  119. package/scripts/eslint-rules/mui-icon-button-has-label.cjs +71 -0
  120. package/scripts/eslint-rules/tooltip-child-has-wrapper.cjs +101 -0
  121. package/dist/chunk-3C7RDPW6.js +0 -18
  122. package/dist/chunk-3C7RDPW6.js.map +0 -1
  123. package/dist/chunk-EDO23OCC.js.map +0 -1
  124. package/dist/chunk-FBN7HCBY.js +0 -8
  125. package/dist/chunk-FBN7HCBY.js.map +0 -1
  126. package/dist/chunk-HHX5J5QV.js +0 -34
  127. package/dist/chunk-HHX5J5QV.js.map +0 -1
  128. package/dist/chunk-KYV74QIT.js.map +0 -1
  129. package/dist/chunk-LJ5JKDMG.js.map +0 -1
  130. package/dist/chunk-M3IIWN6P.js.map +0 -1
  131. package/dist/chunk-VURAUMLN.js +0 -11
  132. package/dist/chunk-VURAUMLN.js.map +0 -1
  133. package/dist/chunk-XLNJJJ7D.js +0 -27
  134. package/dist/chunk-XLNJJJ7D.js.map +0 -1
  135. package/dist/chunk-ZXK32CSF.js +0 -14
  136. package/dist/chunk-ZXK32CSF.js.map +0 -1
  137. /package/dist/{chunk-NR6PQELF.js.map → chunk-3ELMAXMX.js.map} +0 -0
  138. /package/dist/{chunk-CMNW65VY.js.map → chunk-7JCGMZ6E.js.map} +0 -0
  139. /package/dist/{chunk-H3SS73NK.js.map → chunk-EPMAHRQO.js.map} +0 -0
  140. /package/dist/{chunk-DRJ5UDF6.js.map → chunk-FQOV5EGQ.js.map} +0 -0
  141. /package/dist/{chunk-V7EE5E2H.js.map → chunk-GODJQLB7.js.map} +0 -0
  142. /package/dist/{chunk-HVH6MGHX.js.map → chunk-N2UR3W55.js.map} +0 -0
  143. /package/dist/{chunk-IDFJFFIV.js.map → chunk-NMGWHSNZ.js.map} +0 -0
  144. /package/dist/{chunk-EFAF33PQ.js.map → chunk-PODYWSY7.js.map} +0 -0
  145. /package/dist/{chunk-ESDQCHJR.js.map → chunk-PWR4GBUH.js.map} +0 -0
  146. /package/dist/{chunk-3WFLKIPF.js.map → chunk-Q2AVS24Z.js.map} +0 -0
  147. /package/dist/{chunk-SKFBUMRN.js.map → chunk-QMFFV7WM.js.map} +0 -0
  148. /package/dist/{chunk-UOR22KQX.js.map → chunk-SDS77DQQ.js.map} +0 -0
  149. /package/dist/{chunk-OFOIKKG2.js.map → chunk-T53CFFZY.js.map} +0 -0
  150. /package/dist/{chunk-T6UNWMMX.js.map → chunk-UJMWTYPH.js.map} +0 -0
  151. /package/dist/{chunk-PVI5BAUW.js.map → chunk-Y3TJIK6E.js.map} +0 -0
  152. /package/dist/{chunk-YG74GZPD.js.map → chunk-YKLRB3EJ.js.map} +0 -0
@@ -1,15 +1,15 @@
1
- export { r as ContentType, s as FileContentType, k as FileThumbnail, a as HelperText, b as MultiFilePreview, u as MultipleFileUpload, v as MultipleImageUpload, c as SingleFilePreview, w as SingleFileUpload, x as SingleImageUpload, y as UploadAvatar, z as UploadSimpleBox, n as compressImageWithoutCrop, m as convertToWebP, p as encodeFilenameForHeader, f as fileFormat, d as fileFormatByMimeType, e as fileFormatByName, i as fileNameByUrl, g as fileThumb, j as fileThumbnailClasses, h as fileTypeByUrl, o as getFileNameFromContentDisposition, l as isImageFile, q as useDropzoneUploader, t as useFileUploadService } from '../../chunk-HHX5J5QV.js';
2
- import '../../chunk-NR6PQELF.js';
3
- import '../../chunk-ESDQCHJR.js';
1
+ export { r as ContentType, s as FileContentType, k as FileThumbnail, a as HelperText, b as MultiFilePreview, u as MultipleFileUpload, v as MultipleImageUpload, c as SingleFilePreview, w as SingleFileUpload, x as SingleImageUpload, y as UploadAvatar, z as UploadSimpleBox, n as compressImageWithoutCrop, m as convertToWebP, p as encodeFilenameForHeader, f as fileFormat, d as fileFormatByMimeType, e as fileFormatByName, i as fileNameByUrl, g as fileThumb, j as fileThumbnailClasses, h as fileTypeByUrl, o as getFileNameFromContentDisposition, l as isImageFile, q as useDropzoneUploader, t as useFileUploadService } from '../../chunk-TBFQ5PEL.js';
2
+ import '../../chunk-3ELMAXMX.js';
3
+ import '../../chunk-PWR4GBUH.js';
4
4
  import '../../chunk-KGLU4CR2.js';
5
- import '../../chunk-ZXK32CSF.js';
6
- import '../../chunk-YG74GZPD.js';
5
+ import '../../chunk-KZFKHQ5P.js';
6
+ import '../../chunk-YKLRB3EJ.js';
7
7
  import '../../chunk-OF6623HG.js';
8
8
  import '../../chunk-6U5LS7MP.js';
9
- import '../../chunk-FBN7HCBY.js';
9
+ import '../../chunk-JSL5OEWZ.js';
10
10
  import '../../chunk-2A4XOLBZ.js';
11
- import '../../chunk-VURAUMLN.js';
12
- import '../../chunk-EDO23OCC.js';
11
+ import '../../chunk-FBVAHVU3.js';
12
+ import '../../chunk-DGCPCUVB.js';
13
13
  import '../../chunk-RPO7AI5K.js';
14
14
  import '../../chunk-SVX7EWV4.js';
15
15
  import '../../chunk-XNKYJHNL.js';
@@ -1,7 +1,7 @@
1
1
  import { a } from '../../chunk-UVPQR2Q2.js';
2
2
  import { a as a$2 } from '../../chunk-F65ZXAGV.js';
3
- import { a as a$3 } from '../../chunk-VURAUMLN.js';
4
- import '../../chunk-EDO23OCC.js';
3
+ import { a as a$3 } from '../../chunk-FBVAHVU3.js';
4
+ import '../../chunk-DGCPCUVB.js';
5
5
  import { a as a$1 } from '../../chunk-CWRUW77O.js';
6
6
  import '../../chunk-CYWFK4OE.js';
7
7
  import '../../chunk-XNKYJHNL.js';
@@ -1,4 +1,4 @@
1
- export { a as default } from '../../chunk-EFAF33PQ.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-PODYWSY7.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-VURAUMLN.js';
2
- export { a as IconEnum } from '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-FBVAHVU3.js';
2
+ export { a as IconEnum } from '../../chunk-DGCPCUVB.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { a as default } from '../../chunk-NR6PQELF.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-3ELMAXMX.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import { a as a$2 } from '../../chunk-ESFOFEVL.js';
2
- import { a } from '../../chunk-ZXK32CSF.js';
3
- import { a as a$3 } from '../../chunk-VURAUMLN.js';
4
- import '../../chunk-EDO23OCC.js';
2
+ import { a } from '../../chunk-KZFKHQ5P.js';
3
+ import { a as a$3 } from '../../chunk-FBVAHVU3.js';
4
+ import '../../chunk-DGCPCUVB.js';
5
5
  import { useState } from 'react';
6
6
  import M from '@mui/lab/LoadingButton';
7
7
  import r from '@mui/material/Button';
@@ -1,6 +1,6 @@
1
- export { a as default } from '../../chunk-DRJ5UDF6.js';
1
+ export { a as default } from '../../chunk-FQOV5EGQ.js';
2
2
  import '../../chunk-W3CK33IH.js';
3
3
  import '../../chunk-OF6623HG.js';
4
- import '../../chunk-VURAUMLN.js';
5
- import '../../chunk-EDO23OCC.js';
4
+ import '../../chunk-FBVAHVU3.js';
5
+ import '../../chunk-DGCPCUVB.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import { a } from '../../chunk-FBN7HCBY.js';
2
- import { a as a$1 } from '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ import { a } from '../../chunk-JSL5OEWZ.js';
2
+ import { a as a$1 } from '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  var f=({text:i,icon:l="INFO_CIRCLE",width:p,color:c="text.secondary",...e})=>jsx(a,{title:i,...e,children:jsx(a$1,{icon:l,width:p,color:c})}),m=f;
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-AVPFUSEB.js';
1
+ export { a as default } from '../../chunk-7LBBLVDC.js';
2
2
  import '../../chunk-GLRLKFPS.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
1
  import { a as a$2 } from '../../chunk-RUABKHIV.js';
2
2
  import { a as a$1 } from '../../chunk-IJZCVZ32.js';
3
- import { o, a, f, k as k$1 } from '../../chunk-M3IIWN6P.js';
4
- import '../../chunk-VURAUMLN.js';
5
- import '../../chunk-EDO23OCC.js';
3
+ import { o, a, f, k as k$1 } from '../../chunk-2MCLMTFV.js';
4
+ import '../../chunk-FBVAHVU3.js';
5
+ import '../../chunk-DGCPCUVB.js';
6
6
  import '../../chunk-GLRLKFPS.js';
7
7
  import { Fragment } from 'react';
8
8
  import k from '@mui/material/Stack';
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-VURAUMLN.js';
2
- import '../../chunk-EDO23OCC.js';
1
+ import { a } from '../../chunk-FBVAHVU3.js';
2
+ import '../../chunk-DGCPCUVB.js';
3
3
  import c from '@mui/material/CircularProgress';
4
4
  import d from '@mui/material/MenuItem';
5
5
  import p from '@mui/material/Stack';
@@ -1,4 +1,4 @@
1
- export { a as default } from '../../chunk-ZXK32CSF.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-KZFKHQ5P.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { a as a$2 } from '../../chunk-CO2KQFUN.js';
2
- import { a as a$1 } from '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
2
+ import { a as a$1 } from '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import { a } from '../../chunk-LQRRMVFN.js';
5
5
  import M from '@mui/material/IconButton';
6
6
  import s from '@mui/material/Stack';
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-VURAUMLN.js';
2
- import '../../chunk-EDO23OCC.js';
1
+ import { a } from '../../chunk-FBVAHVU3.js';
2
+ import '../../chunk-DGCPCUVB.js';
3
3
  import { memo } from 'react';
4
4
  import N from '@mui/material/Stack';
5
5
  import r from '@mui/material/Typography';
@@ -1,6 +1,6 @@
1
1
  import { d } from '../../chunk-A3QLGMSB.js';
2
- import { a as a$1 } from '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
2
+ import { a as a$1 } from '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import a from '@mui/material/Typography';
5
5
  import i from '@mui/material/Stack';
6
6
  import { styled, alpha } from '@mui/material/styles';
@@ -1,6 +1,6 @@
1
1
  import { a as a$3 } from '../../chunk-CO2KQFUN.js';
2
- import { a as a$1 } from '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
2
+ import { a as a$1 } from '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import { a as a$2 } from '../../chunk-LQRRMVFN.js';
5
5
  import S from '@mui/material/MenuItem';
6
6
  import a from '@mui/material/Box';
@@ -1,4 +1,4 @@
1
- export { a as default } from '../../chunk-PVI5BAUW.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-Y3TJIK6E.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
- export { a as default } from '../../chunk-V7EE5E2H.js';
1
+ export { a as default } from '../../chunk-GODJQLB7.js';
2
2
  import '../../chunk-RUABKHIV.js';
3
- import '../../chunk-PVI5BAUW.js';
3
+ import '../../chunk-Y3TJIK6E.js';
4
4
  import '../../chunk-IJZCVZ32.js';
5
5
  import '../../chunk-6U5LS7MP.js';
6
- import '../../chunk-HVH6MGHX.js';
7
- import '../../chunk-VURAUMLN.js';
8
- import '../../chunk-EDO23OCC.js';
6
+ import '../../chunk-N2UR3W55.js';
7
+ import '../../chunk-FBVAHVU3.js';
8
+ import '../../chunk-DGCPCUVB.js';
9
9
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,9 @@
1
- export { a as default } from '../../chunk-UOR22KQX.js';
1
+ export { a as default } from '../../chunk-SDS77DQQ.js';
2
2
  import '../../chunk-6ZSTKYGL.js';
3
- import '../../chunk-PVI5BAUW.js';
3
+ import '../../chunk-Y3TJIK6E.js';
4
4
  import '../../chunk-IJZCVZ32.js';
5
5
  import '../../chunk-NIQW2J3M.js';
6
6
  import '../../chunk-F65ZXAGV.js';
7
- import '../../chunk-VURAUMLN.js';
8
- import '../../chunk-EDO23OCC.js';
7
+ import '../../chunk-FBVAHVU3.js';
8
+ import '../../chunk-DGCPCUVB.js';
9
9
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { a as a$1 } from '../../chunk-O7SN6FIA.js';
2
- import { a } from '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
2
+ import { a } from '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import '../../chunk-RPO7AI5K.js';
5
5
  import p from '@mui/material/Box';
6
6
  import o from '@mui/material/Stack';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/SplashScreen/index.tsx"],"names":["Box","m","jsx","jsxs","SplashScreen","children","sx","other","theme","varAlpha","SplashScreen_default"],"mappings":"4CAEA,OAAOA,MAAS,oBAChB,OAAS,KAAAC,MAAS,gBA4BV,OAaE,OAAAC,EAbF,QAAAC,MAAA,oBAxBR,IAAMC,EAAe,CAAC,CACpB,SAAAC,EACA,GAAAC,EACA,GAAGC,CACL,IAEIL,EAACF,EAAA,CAAI,GAAI,CAAE,SAAU,QAAS,EAC5B,SAAAE,EAACF,EAAA,CACC,cAAY,mBACZ,GAAI,CACF,MAAO,EACP,MAAO,EACP,OAAQ,EACR,OAAQ,EACR,OAAQ,KACR,QAAS,OACT,SAAU,QACV,WAAY,SACZ,eAAgB,SAChB,QAAS,qBACT,GAAGM,CACL,EACC,GAAGC,EAEJ,SAAAJ,EAACH,EAAA,CACC,cAAY,mBACZ,GAAI,CACF,MAAO,IACP,OAAQ,IACR,WAAY,SACZ,SAAU,WACV,QAAS,cACT,eAAgB,SAChB,GAAGM,CACL,EACC,GAAGC,EAEJ,UAAAL,EAACD,EAAE,IAAF,CACC,QAAS,CACP,MAAO,CAAC,EAAG,GAAK,GAAK,EAAG,CAAC,EACzB,QAAS,CAAC,EAAG,IAAM,IAAM,EAAG,CAAC,CAC/B,EACA,WAAY,CACV,SAAU,EACV,YAAa,EACb,OAAQ,IACR,KAAM,WACR,EACA,MAAO,CAAE,QAAS,aAAc,EAE/B,SAAAI,EACH,EAEAH,EAACF,EAAA,CACC,UAAWC,EAAE,IACb,QAAS,CACP,MAAO,CAAC,IAAK,EAAG,EAAG,IAAK,GAAG,EAC3B,OAAQ,CAAC,IAAK,EAAG,EAAG,IAAK,GAAG,EAC5B,QAAS,CAAC,IAAM,EAAG,EAAG,EAAG,GAAI,EAC7B,aAAc,CAAC,MAAO,MAAO,MAAO,MAAO,KAAK,CAClD,EACA,WAAY,CAAE,KAAM,SAAU,SAAU,IAAK,OAAQ,GAAS,EAC9D,GAAI,CACF,SAAU,WACV,MAAO,oBACP,OAAQ,oBACR,OAAQO,GACN,aAAaC,EAASD,EAAM,KAAK,QAAQ,QAAQ,YAAa,GAAI,GACtE,EACF,EAEAN,EAACF,EAAA,CACC,UAAWC,EAAE,IACb,QAAS,CACP,MAAO,CAAC,EAAG,IAAK,IAAK,EAAG,CAAC,EACzB,OAAQ,CAAC,EAAG,IAAK,IAAK,EAAG,CAAC,EAC1B,QAAS,CAAC,EAAG,IAAM,IAAM,IAAM,CAAC,EAChC,aAAc,CAAC,MAAO,MAAO,MAAO,MAAO,KAAK,CAClD,EACA,WAAY,CAAE,KAAM,SAAU,SAAU,IAAK,OAAQ,GAAS,EAC9D,GAAI,CACF,MAAO,EACP,OAAQ,EACR,SAAU,WACV,OAAQO,GACN,aAAaC,EAASD,EAAM,KAAK,QAAQ,QAAQ,YAAa,GAAI,GACtE,EACF,GACF,EACF,EACF,EAIGE,EAAQN","sourcesContent":["import { PropsWithChildren } from 'react';\nimport type { BoxProps } from '@mui/material/Box';\nimport Box from '@mui/material/Box';\nimport { m } from 'framer-motion';\n\nimport { varAlpha } from 'theme/styles';\n\nconst SplashScreen = ({\n children,\n sx,\n ...other\n}: PropsWithChildren<BoxProps>) => {\n return (\n <Box sx={{ overflow: 'hidden' }}>\n <Box\n data-testid=\"splash-outer-box\"\n sx={{\n right: 0,\n width: 1,\n bottom: 0,\n height: 1,\n zIndex: 9998,\n display: 'flex',\n position: 'fixed',\n alignItems: 'center',\n justifyContent: 'center',\n bgcolor: 'background.default',\n ...sx,\n }}\n {...other}\n >\n <Box\n data-testid=\"splash-inner-box\"\n sx={{\n width: 120,\n height: 120,\n alignItems: 'center',\n position: 'relative',\n display: 'inline-flex',\n justifyContent: 'center',\n ...sx,\n }}\n {...other}\n >\n <m.div\n animate={{\n scale: [1, 0.9, 0.9, 1, 1],\n opacity: [1, 0.48, 0.48, 1, 1],\n }}\n transition={{\n duration: 2,\n repeatDelay: 1,\n repeat: Infinity,\n ease: 'easeInOut',\n }}\n style={{ display: 'inline-flex' }}\n >\n {children}\n </m.div>\n\n <Box\n component={m.div}\n animate={{\n scale: [1.6, 1, 1, 1.6, 1.6],\n rotate: [270, 0, 0, 270, 270],\n opacity: [0.25, 1, 1, 1, 0.25],\n borderRadius: ['25%', '25%', '50%', '50%', '25%'],\n }}\n transition={{ ease: 'linear', duration: 3.2, repeat: Infinity }}\n sx={{\n position: 'absolute',\n width: 'calc(100% - 20px)',\n height: 'calc(100% - 20px)',\n border: theme =>\n `solid 3px ${varAlpha(theme.vars.palette.primary.darkChannel, 0.24)}`,\n }}\n />\n\n <Box\n component={m.div}\n animate={{\n scale: [1, 1.2, 1.2, 1, 1],\n rotate: [0, 270, 270, 0, 0],\n opacity: [1, 0.25, 0.25, 0.25, 1],\n borderRadius: ['25%', '25%', '50%', '50%', '25%'],\n }}\n transition={{ ease: 'linear', duration: 3.2, repeat: Infinity }}\n sx={{\n width: 1,\n height: 1,\n position: 'absolute',\n border: theme =>\n `solid 8px ${varAlpha(theme.vars.palette.primary.darkChannel, 0.24)}`,\n }}\n />\n </Box>\n </Box>\n </Box>\n );\n};\n\nexport default SplashScreen;\n"]}
1
+ {"version":3,"sources":["../../../src/components/SplashScreen/index.tsx"],"names":["Box","m","jsx","jsxs","SplashScreen","children","sx","other","theme","varAlpha","SplashScreen_default"],"mappings":"4CAEA,OAAOA,MAAS,oBAChB,OAAS,KAAAC,MAA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,IACb,QAAS,CACP,MAAO,CAAC,EAAG,IAAK,IAAK,EAAG,CAAC,EACzB,OAAQ,CAAC,EAAG,IAAK,IAAK,EAAG,CAAC,EAC1B,QAAS,CAAC,EAAG,IAAM,IAAM,IAAM,CAAC,EAChC,aAAc,CAAC,MAAO,MAAO,MAAO,MAAO,KAAK,CAClD,EACA,WAAY,CAAE,KAAM,SAAU,SAAU,IAAK,OAAQ,GAAS,EAC9D,GAAI,CACF,MAAO,EACP,OAAQ,EACR,SAAU,WACV,OAAQO,GACN,aAAaC,EAASD,EAAM,KAAK,QAAQ,QAAQ,YAAa,GAAI,GACtE,EACF,GACF,EACF,EACF,EAIGE,EAAQN","sourcesContent":["import { PropsWithChildren } from 'react';\nimport type { BoxProps } from '@mui/material/Box';\nimport Box from '@mui/material/Box';\nimport { m } from 'framer-motion';\nimport { varAlpha } from 'theme/styles';\n\nconst SplashScreen = ({\n children,\n sx,\n ...other\n}: PropsWithChildren<BoxProps>) => {\n return (\n <Box sx={{ overflow: 'hidden' }}>\n <Box\n data-testid=\"splash-outer-box\"\n sx={{\n right: 0,\n width: 1,\n bottom: 0,\n height: 1,\n zIndex: 9998,\n display: 'flex',\n position: 'fixed',\n alignItems: 'center',\n justifyContent: 'center',\n bgcolor: 'background.default',\n ...sx,\n }}\n {...other}\n >\n <Box\n data-testid=\"splash-inner-box\"\n sx={{\n width: 120,\n height: 120,\n alignItems: 'center',\n position: 'relative',\n display: 'inline-flex',\n justifyContent: 'center',\n ...sx,\n }}\n {...other}\n >\n <m.div\n animate={{\n scale: [1, 0.9, 0.9, 1, 1],\n opacity: [1, 0.48, 0.48, 1, 1],\n }}\n transition={{\n duration: 2,\n repeatDelay: 1,\n repeat: Infinity,\n ease: 'easeInOut',\n }}\n style={{ display: 'inline-flex' }}\n >\n {children}\n </m.div>\n\n <Box\n component={m.div}\n animate={{\n scale: [1.6, 1, 1, 1.6, 1.6],\n rotate: [270, 0, 0, 270, 270],\n opacity: [0.25, 1, 1, 1, 0.25],\n borderRadius: ['25%', '25%', '50%', '50%', '25%'],\n }}\n transition={{ ease: 'linear', duration: 3.2, repeat: Infinity }}\n sx={{\n position: 'absolute',\n width: 'calc(100% - 20px)',\n height: 'calc(100% - 20px)',\n border: theme =>\n `solid 3px ${varAlpha(theme.vars.palette.primary.darkChannel, 0.24)}`,\n }}\n />\n\n <Box\n component={m.div}\n animate={{\n scale: [1, 1.2, 1.2, 1, 1],\n rotate: [0, 270, 270, 0, 0],\n opacity: [1, 0.25, 0.25, 0.25, 1],\n borderRadius: ['25%', '25%', '50%', '50%', '25%'],\n }}\n transition={{ ease: 'linear', duration: 3.2, repeat: Infinity }}\n sx={{\n width: 1,\n height: 1,\n position: 'absolute',\n border: theme =>\n `solid 8px ${varAlpha(theme.vars.palette.primary.darkChannel, 0.24)}`,\n }}\n />\n </Box>\n </Box>\n </Box>\n );\n};\n\nexport default SplashScreen;\n"]}
@@ -1,4 +1,4 @@
1
- export { a as default } from '../../chunk-CMNW65VY.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../chunk-7JCGMZ6E.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-VURAUMLN.js';
2
- import '../../chunk-EDO23OCC.js';
1
+ import { a } from '../../chunk-FBVAHVU3.js';
2
+ import '../../chunk-DGCPCUVB.js';
3
3
  import s from '@mui/material/Box';
4
4
  import S from '@mui/material/Stack';
5
5
  import d from '@mui/material/Step';
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-VURAUMLN.js';
2
- import '../../chunk-EDO23OCC.js';
1
+ import { a } from '../../chunk-FBVAHVU3.js';
2
+ import '../../chunk-DGCPCUVB.js';
3
3
  import n from '@mui/material/Stack';
4
4
  import { styled, alpha } from '@mui/material/styles';
5
5
  import b from '@mui/material/Tab';
@@ -1,10 +1,10 @@
1
1
  import { a as a$2 } from '../../chunk-6ZSTKYGL.js';
2
- import { a } from '../../chunk-PVI5BAUW.js';
2
+ import { a } from '../../chunk-Y3TJIK6E.js';
3
3
  import { a as a$1 } from '../../chunk-IJZCVZ32.js';
4
4
  import '../../chunk-NIQW2J3M.js';
5
5
  import { a as a$3 } from '../../chunk-F65ZXAGV.js';
6
- import { a as a$4 } from '../../chunk-VURAUMLN.js';
7
- import '../../chunk-EDO23OCC.js';
6
+ import { a as a$4 } from '../../chunk-FBVAHVU3.js';
7
+ import '../../chunk-DGCPCUVB.js';
8
8
  import { useState } from 'react';
9
9
  import h from '@mui/material/Checkbox';
10
10
  import T from '@mui/material/CircularProgress';
@@ -1,11 +1,11 @@
1
- export { a as default } from '../../chunk-T6UNWMMX.js';
2
- import '../../chunk-7OV7UPWM.js';
3
- import '../../chunk-LJ5JKDMG.js';
1
+ export { a as default } from '../../chunk-UJMWTYPH.js';
2
+ import '../../chunk-U4I7JPER.js';
3
+ import '../../chunk-NWT5TUJO.js';
4
4
  import '../../chunk-373WGZZL.js';
5
5
  import '../../chunk-BX2DSNRV.js';
6
6
  import '../../chunk-X4F3O7PX.js';
7
- import '../../chunk-3WFLKIPF.js';
8
- import '../../chunk-KYV74QIT.js';
7
+ import '../../chunk-Q2AVS24Z.js';
8
+ import '../../chunk-LNESYSHP.js';
9
9
  import '../../chunk-YPL4KIKN.js';
10
10
  import '../../chunk-HBOBTNB5.js';
11
11
  import '../../chunk-WUFEPE2G.js';
@@ -1,2 +1,2 @@
1
- export { a as default } from '../../chunk-FBN7HCBY.js';
1
+ export { a as default } from '../../chunk-JSL5OEWZ.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1,22 +1,22 @@
1
1
  import { d } from '../../chunk-JNDZPNQJ.js';
2
- import { a as a$3 } from '../../chunk-AVPFUSEB.js';
2
+ import { a as a$3 } from '../../chunk-7LBBLVDC.js';
3
3
  import { a as a$2 } from '../../chunk-UVPQR2Q2.js';
4
4
  import { a } from '../../chunk-CO2KQFUN.js';
5
- import { a as a$4 } from '../../chunk-VURAUMLN.js';
6
- import '../../chunk-EDO23OCC.js';
5
+ import { a as a$4 } from '../../chunk-FBVAHVU3.js';
6
+ import '../../chunk-DGCPCUVB.js';
7
7
  import { a as a$1 } from '../../chunk-LQRRMVFN.js';
8
8
  import '../../chunk-GLRLKFPS.js';
9
9
  import E from '@mui/material/Button';
10
- import O from '@mui/material/FormControlLabel';
11
- import W from '@mui/material/IconButton';
12
- import w from '@mui/material/Link';
10
+ import N from '@mui/material/FormControlLabel';
11
+ import O from '@mui/material/IconButton';
12
+ import W from '@mui/material/Link';
13
13
  import l from '@mui/material/Stack';
14
14
  import z from '@mui/material/Switch';
15
15
  import m from '@mui/material/Typography';
16
16
  import { styled } from '@mui/material/styles';
17
17
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
18
18
 
19
- var u=styled(l)(({theme:t})=>({flexDirection:"row",padding:12,backgroundColor:t.palette.grey[100],borderTopLeftRadius:"8px",borderTopRightRadius:"8px",borderBottom:`1px solid ${t.palette.grey[300]}`,button:{marginLeft:"auto"}})),b=styled(m)(({theme:t})=>({color:t.palette.grey[500],textTransform:"uppercase",fontSize:12,span:{color:t.palette.text.primary,fontWeight:700}})),h=styled(l)({padding:12}),x=styled(l)({padding:12,alignItems:"center",textAlign:"center"}),C=styled(l)(({theme:t})=>({flexDirection:"row",alignItems:"center",gap:8,fontSize:t.typography.body2.fontSize,color:t.palette.grey[500],padding:"8px 0"})),k=styled(a)(()=>({"& .MuiPopover-paper":{width:"144px",padding:"16px"},"& button":{justifyContent:"flex-start"}}));var B=({onCreate:t,data:r,name:v,onChangeActive:s,onDelete:I,onEdit:L})=>{let{active:i=!1}=r||{},p=a$1(),P=()=>{L(),p.onClose();},S=()=>{I(),p.onClose();};return jsxs(a$2,{padding:0,gap:0,sx:{opacity:r&&!i?.55:1},children:[jsxs(u,{children:[jsxs(l,{direction:"row",alignItems:"center",gap:2,children:[jsxs(b,{children:["EVENTO: ",jsx("span",{children:v||"NOME DO EVENTO"})]}),s&&r&&jsx(O,{control:jsx(z,{checked:i,onChange:(D,M)=>s(M),size:"small"}),label:jsx(a$3,{color:i?"success":"error",children:i?"Ativo":"Inativo"})})]}),r&&jsxs(Fragment,{children:[jsx(W,{"aria-label":"Mais op\xE7\xF5es",onClick:p.onOpen,children:jsx(a$4,{icon:"MORE_OPTIONS_VERTICAL",color:"primary.grey",width:24})}),jsx(k,{open:p.open,onClose:p.onClose,children:jsxs(l,{gap:1,children:[jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",startIcon:jsx(a$4,{icon:"PENCIL_EDIT",color:"grey"}),onClick:P,children:jsx(m,{variant:"body2",children:"Editar"})}),jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",onClick:S,startIcon:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",color:"grey"}),children:jsx(m,{variant:"body2",children:"Limpar"})})]})})]})]}),jsx(h,{children:r?jsxs(C,{children:[jsx(a$3,{color:d[r.method],children:r.method}),r.url]}):jsxs(x,{children:[jsx(m,{variant:"caption",color:"text.disabled",children:"Ainda n\xE3o h\xE1 webhook vinculado."}),jsx(w,{component:"button",fontSize:12,underline:"always",onClick:t,type:"button",children:"Clique aqui para adicionar"})]})})]})},ro=B;
19
+ var u=styled(l)(({theme:t})=>({flexDirection:"row",padding:12,backgroundColor:t.palette.grey[100],borderTopLeftRadius:"8px",borderTopRightRadius:"8px",borderBottom:`1px solid ${t.palette.grey[300]}`,button:{marginLeft:"auto"}})),b=styled(m)(({theme:t})=>({color:t.palette.grey[500],textTransform:"uppercase",fontSize:12,span:{color:t.palette.text.primary,fontWeight:700}})),h=styled(l)({padding:12}),x=styled(l)({padding:12,alignItems:"center",textAlign:"center"}),k=styled(l)(({theme:t})=>({flexDirection:"row",alignItems:"center",gap:8,fontSize:t.typography.body2.fontSize,color:t.palette.grey[500],padding:"8px 0"})),C=styled(a)(()=>({"& .MuiPopover-paper":{width:"144px",padding:"16px"},"& button":{justifyContent:"flex-start"}}));var B=({onCreate:t,data:r,name:v,onChangeActive:s,onDelete:I,onEdit:L})=>{let{active:i=!1}=r||{},p=a$1(),P=()=>{L(),p.onClose();},S=()=>{I(),p.onClose();};return jsxs(a$2,{padding:0,gap:0,sx:{opacity:r&&!i?.55:1},children:[jsxs(u,{children:[jsxs(l,{direction:"row",alignItems:"center",gap:2,children:[jsxs(b,{children:["EVENTO: ",jsx("span",{children:v||"NOME DO EVENTO"})]}),s&&r&&jsx(N,{control:jsx(z,{checked:i,onChange:(D,w)=>s(w),size:"small"}),label:jsx(a$3,{color:i?"success":"error",children:i?"Ativo":"Inativo"})})]}),r&&jsxs(Fragment,{children:[jsx(O,{"aria-label":"Mais op\xE7\xF5es do webhook","data-testid":"webhook-more-options-btn",onClick:p.onOpen,children:jsx(a$4,{icon:"MORE_OPTIONS_VERTICAL",color:"primary.grey",width:24})}),jsx(C,{open:p.open,onClose:p.onClose,children:jsxs(l,{gap:1,children:[jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",startIcon:jsx(a$4,{icon:"PENCIL_EDIT",color:"grey"}),onClick:P,children:jsx(m,{variant:"body2",children:"Editar"})}),jsx(E,{variant:"text",size:"small",fullWidth:!0,color:"inherit",onClick:S,startIcon:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",color:"grey"}),children:jsx(m,{variant:"body2",children:"Limpar"})})]})})]})]}),jsx(h,{children:r?jsxs(k,{children:[jsx(a$3,{color:d[r.method],children:r.method}),r.url]}):jsxs(x,{children:[jsx(m,{variant:"caption",color:"text.disabled",children:"Ainda n\xE3o h\xE1 webhook vinculado."}),jsx(W,{component:"button",fontSize:12,underline:"always",onClick:t,type:"button",children:"Clique aqui para adicionar"})]})})]})},ro=B;
20
20
 
21
21
  export { ro as default };
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/WebhookCard/index.tsx","../../../src/components/WebhookCard/styles.ts"],"names":["Button","FormControlLabel","IconButton","Link","Stack","Switch","Typography","styled","Header","theme","Name","Content","Empty","Webhook","MenuPopover","MenuPopover_default","Fragment","jsx","jsxs","WebhookCard","onCreate","data","name","onChangeActive","onDelete","onEdit","active","popover","usePopover_default","handleEdit","handleDelete","Panel_default","_","v","Label_default","Icon_default","HttpConfigLabelMethodStatus","WebhookCard_default"],"mappings":"mUAAA,OAAOA,MAAY,uBACnB,OAAOC,MAAsB,iCAC7B,OAAOC,MAAgB,2BACvB,OAAOC,MAAU,qBACjB,OAAOC,MAAW,sBAClB,OAAOC,MAAY,uBACnB,OAAOC,MAAgB,2BCNvB,OAAOF,MAAW,sBAClB,OAAS,UAAAG,MAAc,uBACvB,OAAOD,MAAgB,2BAIhB,IAAME,EAASD,EAAOH,CAAK,EAAE,CAAC,CAAE,MAAAK,CAAM,KAAO,CAClD,cAAe,MACf,QAAS,GACT,gBAAiBA,EAAM,QAAQ,KAAK,GAAG,EACvC,oBAAqB,MACrB,qBAAsB,MACtB,aAAc,aAAaA,EAAM,QAAQ,KAAK,GAAG,IAEjD,OAAQ,CACN,WAAY,MACd,CACF,EAAE,EAEWC,EAAOH,EAAOD,CAAU,EAAE,CAAC,CAAE,MAAAG,CAAM,KAAO,CACrD,MAAOA,EAAM,QAAQ,KAAK,GAAG,EAC7B,cAAe,YACf,SAAU,GAEV,KAAM,CACJ,MAAOA,EAAM,QAAQ,KAAK,QAC1B,WAAY,GACd,CACF,EAAE,EAEWE,EAAUJ,EAAOH,CAAK,EAAE,CACnC,QAAS,EACX,CAAC,EAEYQ,EAAQL,EAAOH,CAAK,EAAE,CACjC,QAAS,GACT,WAAY,SACZ,UAAW,QACb,CAAC,EAEYS,EAAUN,EAAOH,CAAK,EAAE,CAAC,CAAE,MAAAK,CAAM,KAAO,CACnD,cAAe,MACf,WAAY,SACZ,IAAK,EACL,SAAUA,EAAM,WAAW,MAAM,SACjC,MAAOA,EAAM,QAAQ,KAAK,GAAG,EAC7B,QAAS,OACX,EAAE,EAEW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AAK,EACV,UAAAa,EAACjB,EAAA,CACC,QAAQ,OACR,KAAK,QACL,UAAS,GACT,MAAM,UACN,UAAWiB,EAACkB,EAAA,CAAK,KAAK,cAAc,MAAM,OAAO,EACjD,QAASN,EAET,SAAAZ,EAACX,EAAA,CAAW,QAAQ,QAAQ,kBAAM,EACpC,EACAW,EAACjB,EAAA,CACC,QAAQ,OACR,KAAK,QACL,UAAS,GACT,MAAM,UACN,QAAS8B,EACT,UAAWb,EAACkB,EAAA,CAAK,KAAK,wBAAwB,MAAM,OAAO,EAE3D,SAAAlB,EAACX,EAAA,CAAW,QAAQ,QAAQ,kBAAM,EACpC,GACF,EACF,GACF,GAEJ,EAEAW,EAACN,EAAA,CACE,SAAAU,EACCH,EAACL,EAAA,CACC,UAAAI,EAACiB,EAAA,CAAM,MAAOE,EAA4Bf,EAAK,MAAM,EAClD,SAAAA,EAAK,OACR,EACCA,EAAK,KACR,EAEAH,EAACN,EAAA,CACC,UAAAK,EAACX,EAAA,CAAW,QAAQ,UAAU,MAAM,gBAAgB,iDAEpD,EACAW,EAACd,EAAA,CACC,UAAU,SACV,SAAU,GACV,UAAU,SACV,QAASiB,EACT,KAAK,SACN,sCAED,GACF,EAEJ,GACF,CAEJ,EAEOiB,GAAQlB","sourcesContent":["import Button from '@mui/material/Button';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport IconButton from '@mui/material/IconButton';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\nimport Switch from '@mui/material/Switch';\nimport Typography from '@mui/material/Typography';\n\nimport Icon from 'components/Icon';\nimport Label from 'components/Label';\nimport Panel from 'components/Panel';\nimport usePopover from 'hooks/usePopover';\nimport { HttpConfigLabelMethodStatus } from 'types/webhook';\n\nimport { WebhookCardProps } from './props';\nimport { Content, Empty, Header, MenuPopover, Name, Webhook } from './styles';\n\nconst WebhookCard = ({\n onCreate,\n data,\n name,\n onChangeActive,\n onDelete,\n onEdit,\n}: WebhookCardProps) => {\n const { active = false } = data || {};\n\n const popover = usePopover();\n\n const handleEdit = () => {\n onEdit();\n popover.onClose();\n };\n\n const handleDelete = () => {\n onDelete();\n popover.onClose();\n };\n\n return (\n <Panel padding={0} gap={0} sx={{ opacity: data && !active ? 0.55 : 1 }}>\n <Header>\n <Stack direction=\"row\" alignItems=\"center\" gap={2}>\n <Name>\n EVENTO: <span>{name || 'NOME DO EVENTO'}</span>\n </Name>\n\n {onChangeActive && data && (\n <FormControlLabel\n control={\n <Switch\n checked={active}\n onChange={(_, v) => onChangeActive(v)}\n size=\"small\"\n />\n }\n label={\n <Label color={active ? 'success' : 'error'}>\n {active ? 'Ativo' : 'Inativo'}\n </Label>\n }\n />\n )}\n </Stack>\n\n {data && (\n <>\n <IconButton aria-label=\"Mais opções\" onClick={popover.onOpen}>\n <Icon\n icon=\"MORE_OPTIONS_VERTICAL\"\n color=\"primary.grey\"\n width={24}\n />\n </IconButton>\n\n <MenuPopover open={popover.open} onClose={popover.onClose}>\n <Stack gap={1}>\n <Button\n variant=\"text\"\n size=\"small\"\n fullWidth\n color=\"inherit\"\n startIcon={<Icon icon=\"PENCIL_EDIT\" color=\"grey\" />}\n onClick={handleEdit}\n >\n <Typography variant=\"body2\">Editar</Typography>\n </Button>\n <Button\n variant=\"text\"\n size=\"small\"\n fullWidth\n color=\"inherit\"\n onClick={handleDelete}\n startIcon={<Icon icon=\"DELETE_MARK_BUTTON_02\" color=\"grey\" />}\n >\n <Typography variant=\"body2\">Limpar</Typography>\n </Button>\n </Stack>\n </MenuPopover>\n </>\n )}\n </Header>\n\n <Content>\n {data ? (\n <Webhook>\n <Label color={HttpConfigLabelMethodStatus[data.method]}>\n {data.method}\n </Label>\n {data.url}\n </Webhook>\n ) : (\n <Empty>\n <Typography variant=\"caption\" color=\"text.disabled\">\n Ainda não há webhook vinculado.\n </Typography>\n <Link\n component=\"button\"\n fontSize={12}\n underline=\"always\"\n onClick={onCreate}\n type=\"button\"\n >\n Clique aqui para adicionar\n </Link>\n </Empty>\n )}\n </Content>\n </Panel>\n );\n};\n\nexport default WebhookCard;\n","import Stack from '@mui/material/Stack';\nimport { styled } from '@mui/material/styles';\nimport Typography from '@mui/material/Typography';\n\nimport Popover from 'components/MenuPopover';\n\nexport const Header = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n padding: 12,\n backgroundColor: theme.palette.grey[100],\n borderTopLeftRadius: '8px',\n borderTopRightRadius: '8px',\n borderBottom: `1px solid ${theme.palette.grey[300]}`,\n\n button: {\n marginLeft: 'auto',\n },\n}));\n\nexport const Name = styled(Typography)(({ theme }) => ({\n color: theme.palette.grey[500],\n textTransform: 'uppercase',\n fontSize: 12,\n\n span: {\n color: theme.palette.text.primary,\n fontWeight: 700,\n },\n}));\n\nexport const Content = styled(Stack)({\n padding: 12,\n});\n\nexport const Empty = styled(Stack)({\n padding: 12,\n alignItems: 'center',\n textAlign: 'center',\n});\n\nexport const Webhook = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n fontSize: theme.typography.body2.fontSize,\n color: theme.palette.grey[500],\n padding: '8px 0',\n}));\n\nexport const MenuPopover = styled(Popover)(() => ({\n '& .MuiPopover-paper': {\n width: '144px',\n padding: '16px',\n },\n\n '& button': {\n justifyContent: 'flex-start',\n },\n}));\n"]}
1
+ {"version":3,"sources":["../../../src/components/WebhookCard/index.tsx","../../../src/components/WebhookCard/styles.ts"],"names":["Button","FormControlLabel","IconButton","Link","Stack","Switch","Typography","styled","Header","theme","Name","Content","Empty","Webhook","MenuPopover","MenuPopover_default","Fragment","jsx","jsxs","WebhookCard","onCreate","data","name","onChangeActive","onDelete","onEdit","active","popover","usePopover_default","handleEdit","handleDelete","Panel_default","_","v","Label_default","Icon_default","HttpConfigLabelMethodStatus","WebhookCard_default"],"mappings":"mUAAA,OAAOA,MAAY,uBACnB,OAAOC,MAAsB,iCAC7B,OAAOC,MAAgB,2BACvB,OAAOC,MAAU,qBACjB,OAAOC,MAAW,sBAClB,OAAOC,MAAY,u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AAAlB,EAACX,EAAA,CAAW,QAAQ,QAAQ,kBAAM,EACpC,GACF,EACF,GACF,GAEJ,EAEAW,EAACN,EAAA,CACE,SAAAU,EACCH,EAACL,EAAA,CACC,UAAAI,EAACiB,EAAA,CAAM,MAAOE,EAA4Bf,EAAK,MAAM,EAClD,SAAAA,EAAK,OACR,EACCA,EAAK,KACR,EAEAH,EAACN,EAAA,CACC,UAAAK,EAACX,EAAA,CAAW,QAAQ,UAAU,MAAM,gBAAgB,iDAEpD,EACAW,EAACd,EAAA,CACC,UAAU,SACV,SAAU,GACV,UAAU,SACV,QAASiB,EACT,KAAK,SACN,sCAED,GACF,EAEJ,GACF,CAEJ,EAEOiB,GAAQlB","sourcesContent":["import Button from '@mui/material/Button';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport IconButton from '@mui/material/IconButton';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\nimport Switch from '@mui/material/Switch';\nimport Typography from '@mui/material/Typography';\n\nimport Icon from 'components/Icon';\nimport Label from 'components/Label';\nimport Panel from 'components/Panel';\nimport usePopover from 'hooks/usePopover';\nimport { HttpConfigLabelMethodStatus } from 'types/webhook';\n\nimport { WebhookCardProps } from './props';\nimport { Content, Empty, Header, MenuPopover, Name, Webhook } from './styles';\n\nconst WebhookCard = ({\n onCreate,\n data,\n name,\n onChangeActive,\n onDelete,\n onEdit,\n}: WebhookCardProps) => {\n const { active = false } = data || {};\n\n const popover = usePopover();\n\n const handleEdit = () => {\n onEdit();\n popover.onClose();\n };\n\n const handleDelete = () => {\n onDelete();\n popover.onClose();\n };\n\n return (\n <Panel padding={0} gap={0} sx={{ opacity: data && !active ? 0.55 : 1 }}>\n <Header>\n <Stack direction=\"row\" alignItems=\"center\" gap={2}>\n <Name>\n EVENTO: <span>{name || 'NOME DO EVENTO'}</span>\n </Name>\n\n {onChangeActive && data && (\n <FormControlLabel\n control={\n <Switch\n checked={active}\n onChange={(_, v) => onChangeActive(v)}\n size=\"small\"\n />\n }\n label={\n <Label color={active ? 'success' : 'error'}>\n {active ? 'Ativo' : 'Inativo'}\n </Label>\n }\n />\n )}\n </Stack>\n\n {data && (\n <>\n <IconButton\n aria-label=\"Mais opções do webhook\"\n data-testid=\"webhook-more-options-btn\"\n onClick={popover.onOpen}\n >\n <Icon\n icon=\"MORE_OPTIONS_VERTICAL\"\n color=\"primary.grey\"\n width={24}\n />\n </IconButton>\n\n <MenuPopover open={popover.open} onClose={popover.onClose}>\n <Stack gap={1}>\n <Button\n variant=\"text\"\n size=\"small\"\n fullWidth\n color=\"inherit\"\n startIcon={<Icon icon=\"PENCIL_EDIT\" color=\"grey\" />}\n onClick={handleEdit}\n >\n <Typography variant=\"body2\">Editar</Typography>\n </Button>\n <Button\n variant=\"text\"\n size=\"small\"\n fullWidth\n color=\"inherit\"\n onClick={handleDelete}\n startIcon={<Icon icon=\"DELETE_MARK_BUTTON_02\" color=\"grey\" />}\n >\n <Typography variant=\"body2\">Limpar</Typography>\n </Button>\n </Stack>\n </MenuPopover>\n </>\n )}\n </Header>\n\n <Content>\n {data ? (\n <Webhook>\n <Label color={HttpConfigLabelMethodStatus[data.method]}>\n {data.method}\n </Label>\n {data.url}\n </Webhook>\n ) : (\n <Empty>\n <Typography variant=\"caption\" color=\"text.disabled\">\n Ainda não há webhook vinculado.\n </Typography>\n <Link\n component=\"button\"\n fontSize={12}\n underline=\"always\"\n onClick={onCreate}\n type=\"button\"\n >\n Clique aqui para adicionar\n </Link>\n </Empty>\n )}\n </Content>\n </Panel>\n );\n};\n\nexport default WebhookCard;\n","import Stack from '@mui/material/Stack';\nimport { styled } from '@mui/material/styles';\nimport Typography from '@mui/material/Typography';\n\nimport Popover from 'components/MenuPopover';\n\nexport const Header = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n padding: 12,\n backgroundColor: theme.palette.grey[100],\n borderTopLeftRadius: '8px',\n borderTopRightRadius: '8px',\n borderBottom: `1px solid ${theme.palette.grey[300]}`,\n\n button: {\n marginLeft: 'auto',\n },\n}));\n\nexport const Name = styled(Typography)(({ theme }) => ({\n color: theme.palette.grey[500],\n textTransform: 'uppercase',\n fontSize: 12,\n\n span: {\n color: theme.palette.text.primary,\n fontWeight: 700,\n },\n}));\n\nexport const Content = styled(Stack)({\n padding: 12,\n});\n\nexport const Empty = styled(Stack)({\n padding: 12,\n alignItems: 'center',\n textAlign: 'center',\n});\n\nexport const Webhook = styled(Stack)(({ theme }) => ({\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n fontSize: theme.typography.body2.fontSize,\n color: theme.palette.grey[500],\n padding: '8px 0',\n}));\n\nexport const MenuPopover = styled(Popover)(() => ({\n '& .MuiPopover-paper': {\n width: '144px',\n padding: '16px',\n },\n\n '& button': {\n justifyContent: 'flex-start',\n },\n}));\n"]}
@@ -1,5 +1,5 @@
1
- export { j as ArrowButton, f as Carousel, g as CarouselArrowBasicButtons, i as CarouselArrowFloatButtons, h as CarouselArrowNumberButtons, k as CarouselDotButtons, l as CarouselProgressBar, c as CarouselSlide, n as CarouselThumb, m as CarouselThumbs, e as StyledContainer, d as StyledRoot, a as carouselBreakpoints, b as carouselClasses, o as useCarousel } from '../../chunk-M3IIWN6P.js';
2
- import '../../chunk-VURAUMLN.js';
3
- import '../../chunk-EDO23OCC.js';
1
+ export { j as ArrowButton, f as Carousel, g as CarouselArrowBasicButtons, i as CarouselArrowFloatButtons, h as CarouselArrowNumberButtons, k as CarouselDotButtons, l as CarouselProgressBar, c as CarouselSlide, n as CarouselThumb, m as CarouselThumbs, e as StyledContainer, d as StyledRoot, a as carouselBreakpoints, b as carouselClasses, o as useCarousel } from '../../chunk-2MCLMTFV.js';
2
+ import '../../chunk-FBVAHVU3.js';
3
+ import '../../chunk-DGCPCUVB.js';
4
4
  import '../../chunk-GLRLKFPS.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -2,10 +2,10 @@ import { a as a$3 } from '../../../chunk-MSCOIJQ5.js';
2
2
  import { a } from '../../../chunk-X64QHBVQ.js';
3
3
  import { a as a$1 } from '../../../chunk-YXRL4O4H.js';
4
4
  import '../../../chunk-RTC7H5E5.js';
5
- import { a as a$2 } from '../../../chunk-OFOIKKG2.js';
6
- import '../../../chunk-H3SS73NK.js';
7
- import '../../../chunk-VURAUMLN.js';
8
- import '../../../chunk-EDO23OCC.js';
5
+ import { a as a$2 } from '../../../chunk-T53CFFZY.js';
6
+ import '../../../chunk-EPMAHRQO.js';
7
+ import '../../../chunk-FBVAHVU3.js';
8
+ import '../../../chunk-DGCPCUVB.js';
9
9
  import L from '@mui/material/CircularProgress';
10
10
  import g from '@mui/material/InputAdornment';
11
11
  import s from '@mui/material/Stack';
@@ -1,5 +1,5 @@
1
- export { a as default } from '../../../chunk-OFOIKKG2.js';
2
- import '../../../chunk-H3SS73NK.js';
3
- import '../../../chunk-VURAUMLN.js';
4
- import '../../../chunk-EDO23OCC.js';
1
+ export { a as default } from '../../../chunk-T53CFFZY.js';
2
+ import '../../../chunk-EPMAHRQO.js';
3
+ import '../../../chunk-FBVAHVU3.js';
4
+ import '../../../chunk-DGCPCUVB.js';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { a } from '../../../chunk-3C7RDPW6.js';
1
+ import { a } from '../../../chunk-YJQVENY7.js';
2
2
  import '../../../chunk-VR3K2Y2C.js';
3
3
  import '../../../chunk-RPO7AI5K.js';
4
4
  import { useFormContext, Controller } from 'react-hook-form';
@@ -8,7 +8,7 @@ import u from '@mui/material/Stack';
8
8
  import S from '@mui/material/TextField';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
10
10
 
11
- var $=({keyName:a$1,inputs:s=[],rules:d,tabIndex:f,autoFocusFirst:g=!1,...h})=>{let m=useRef(null),{control:C,setValue:x,formState:{errors:E}}=useFormContext(),v=e=>{let t=e.clipboardData?.getData("text").split("")||[];s.map((n,o)=>x(n,t[o])),e.preventDefault();},T=(e,r)=>{let{maxLength:t,value:n,name:o}=e.target,F=o.replace(a$1,""),p=Number(F),c=document.querySelector(`input[name=${a$1}${p+1}]`);n.length>t&&(e.target.value=n[0]),n.length>=t&&p<6&&c!==null&&c.focus(),r(e);};a("paste",v,m);let L=s.some(e=>E[e]);return jsxs(u,{children:[jsx(u,{direction:"row",spacing:2,justifyContent:"center",ref:m,children:s.map((e,r)=>jsx(Controller,{name:`${a$1}${r+1}`,control:C,rules:d,render:({field:t,fieldState:{error:n}})=>jsx(S,{...h,...t,autoComplete:"none",error:!!n,autoFocus:g&&r===0,placeholder:"-",onChange:o=>{T(o,t.onChange);},onFocus:o=>o.currentTarget.select(),InputProps:{sx:{width:{xs:36,sm:56},height:{xs:36,sm:56},"& input":{p:0,textAlign:"center"}}},inputProps:{maxLength:1,type:"number",name:`${a$1}${r+1}`,tabIndex:f}})},e))}),L&&jsx(M,{error:!0,sx:{px:2},children:"C\xF3digo \xE9 obrigat\xF3rio"})]})},V=$;
11
+ var $=({keyName:a$1,inputs:s=[],rules:d,tabIndex:f,autoFocusFirst:g=!1,...h})=>{let i=useRef(null),{control:x,setValue:C,formState:{errors:E}}=useFormContext(),v=e=>{let t=e.clipboardData?.getData("text").split("")||[];s.map((n,o)=>C(n,t[o])),e.preventDefault();},T=(e,r)=>{let{maxLength:t,value:n,name:o}=e.target,b=o.replace(a$1,""),m=Number(b),p=document.querySelector(`input[name=${a$1}${m+1}]`);n.length>t&&(e.target.value=n[0]),n.length>=t&&m<6&&p!==null&&p.focus(),r(e);};a("paste",v,i);let L=s.some(e=>E[e]);return jsxs(u,{children:[jsx(u,{direction:"row",spacing:2,justifyContent:"center",ref:i,children:s.map((e,r)=>jsx(Controller,{name:`${a$1}${r+1}`,control:x,rules:d,render:({field:t,fieldState:{error:n}})=>jsx(S,{...h,...t,autoComplete:"none",error:!!n,autoFocus:g&&r===0,placeholder:"-",onChange:o=>{T(o,t.onChange);},onFocus:o=>o.currentTarget.select(),InputProps:{sx:{width:{xs:36,sm:56},height:{xs:36,sm:56},"& input":{p:0,textAlign:"center"}}},inputProps:{maxLength:1,type:"number",name:`${a$1}${r+1}`,tabIndex:f}})},e))}),L&&jsx(M,{error:!0,sx:{px:2},children:"C\xF3digo \xE9 obrigat\xF3rio"})]})},A=$;
12
12
 
13
- export { V as default };
13
+ export { A as default };
14
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/form/Codes/index.tsx"],"names":["useRef","Controller","useFormContext","FormHelperText","Stack","TextField","jsx","jsxs","Codes","keyName","inputs","rules","tabIndex","autoFocusFirst","other","codesRef","control","setValue","errors","handlePaste","event","data","input","index","handleChangeWithNextField","handleChange","maxLength","value","name","fieldIndex","fieldIntIndex","nextfield","useEventListener_default","hasCodeNotFilled","field","error","Codes_default"],"mappings":"qHAAA,OAAsB,UAAAA,MAAc,QACpC,OAAS,cAAAC,EAAY,kBAAAC,MAAsB,kBAC3C,OAAOC,MAAoB,+BAC3B,OAAOC,MAAW,sBAClB,OAAOC,MAAe,0BA6DlB,OASU,OAAAC,EATV,QAAAC,MAAA,oBAvDJ,IAAMC,EAAQ,CAAC,CACb,QAAAC,EACA,OAAAC,EAAS,CAAC,EACV,MAAAC,EACA,SAAAC,EACA,eAAAC,EAAiB,GACjB,GAAGC,CACL,IAAkB,CAChB,IAAMC,EAAWf,EAAuB,IAAI,EAEtC,CACJ,QAAAgB,EACA,SAAAC,EACA,UAAW,CAAE,OAAAC,CAAO,CACtB,EAAIhB,EAAe,EAEbiB,EAAeC,GAAiB,CAEpC,IAAMC,EADiBD,EACK,eAAe,QAAQ,MAAM,EAAE,MAAM,EAAE,GAAK,CAAC,EAEzEV,EAAO,IAAI,CAACY,EAAOC,IAAUN,EAASK,EAAOD,EAAKE,CAAK,CAAC,CAAC,EAEzDH,EAAM,eAAe,CACvB,EAEMI,EAA4B,CAChCJ,EACAK,IACG,CACH,GAAM,CAAE,UAAAC,EAAW,MAAAC,EAAO,KAAAC,CAAK,EAAIR,EAAM,OAEnCS,EAAaD,EAAK,QAAQnB,EAAS,EAAE,EAErCqB,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sourcesContent":["import { ChangeEvent, useRef } from 'react';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport Stack from '@mui/material/Stack';\nimport TextField from '@mui/material/TextField';\n\nimport useEventListener from 'hooks/useEventListener';\n\nimport { CodesProps } from './props';\n\nconst Codes = ({\n keyName,\n inputs = [],\n rules,\n tabIndex,\n autoFocusFirst = false,\n ...other\n}: CodesProps) => {\n const codesRef = useRef<HTMLDivElement>(null);\n\n const {\n control,\n setValue,\n formState: { errors },\n } = useFormContext();\n\n const handlePaste = (event: Event) => {\n const clipboardEvent = event as unknown as ClipboardEvent;\n const data = clipboardEvent.clipboardData?.getData('text').split('') || [];\n\n inputs.map((input, index) => setValue(input, data[index]));\n\n event.preventDefault();\n };\n\n const handleChangeWithNextField = (\n event: ChangeEvent<HTMLInputElement>,\n handleChange: (event: ChangeEvent<HTMLInputElement>) => void,\n ) => {\n const { maxLength, value, name } = event.target;\n\n const fieldIndex = name.replace(keyName, '');\n\n const fieldIntIndex = Number(fieldIndex);\n\n const nextfield: HTMLElement | null = document.querySelector(\n `input[name=${keyName}${fieldIntIndex + 1}]`,\n );\n\n if (value.length > maxLength) {\n event.target.value = value[0];\n }\n\n if (value.length >= maxLength && fieldIntIndex < 6 && nextfield !== null) {\n (nextfield as HTMLElement).focus();\n }\n\n handleChange(event);\n };\n\n useEventListener('paste', handlePaste, codesRef);\n\n const hasCodeNotFilled = inputs.some(input => errors[input]);\n\n return (\n <Stack>\n <Stack direction=\"row\" spacing={2} justifyContent=\"center\" ref={codesRef}>\n {inputs.map((name, index) => (\n <Controller\n key={name}\n name={`${keyName}${index + 1}`}\n control={control}\n rules={rules}\n render={({ field, fieldState: { error } }) => (\n <TextField\n {...other}\n {...field}\n autoComplete=\"none\"\n error={!!error}\n autoFocus={autoFocusFirst && index === 0}\n placeholder=\"-\"\n onChange={(event: ChangeEvent<HTMLInputElement>) => {\n handleChangeWithNextField(event, field.onChange);\n }}\n onFocus={event => event.currentTarget.select()}\n InputProps={{\n sx: {\n width: { xs: 36, sm: 56 },\n height: { xs: 36, sm: 56 },\n '& input': { p: 0, textAlign: 'center' },\n },\n }}\n inputProps={{\n maxLength: 1,\n type: 'number',\n name: `${keyName}${index + 1}`,\n tabIndex,\n }}\n />\n )}\n />\n ))}\n </Stack>\n\n {hasCodeNotFilled && (\n <FormHelperText error sx={{ px: 2 }}>\n Código é obrigatório\n </FormHelperText>\n )}\n </Stack>\n );\n};\n\nexport default Codes;\n"]}
1
+ {"version":3,"sources":["../../../../src/components/form/Codes/index.tsx"],"names":["useRef","Controller","useFormContext","FormHelperText","Stack","TextField","jsx","jsxs","Codes","keyName","inputs","rules","tabIndex","autoFocusFirst","other","codesRef","control","setValue","errors","handlePaste","event","data","input","index","handleChangeWithNextField","handleChange","maxLength","value","name","fieldIndex","fieldIntIndex","nextfield","useEventListener_default","hasCodeNotFilled","field","error","Codes_default"],"mappings":"qHAAA,OAAsB,UAAAA,MAAc,QACpC,OAAS,cAAAC,EAAY,kBAAAC,MAAsB,kBAC3C,OAAOC,MAAoB,+BAC3B,OAAOC,MAAW,sBAClB,OAAOC,MAAe,0BA6DlB,OASU,OAAAC,EATV,QAAAC,MAAA,oBAvDJ,IAAMC,EAAQ,CAAC,CACb,QAAAC,EACA,OAAAC,EAAS,CAAC,EACV,MAAAC,EACA,SAAAC,EACA,eAAAC,EAAiB,GACjB,GAAGC,CACL,IAAkB,CAChB,IAAMC,EAAWf,EAAuB,IAAI,EAEtC,CACJ,QAAAgB,EACA,SAAAC,EACA,UAAW,CAAE,OAAAC,CAAO,CACtB,EAAIhB,EAAe,EAEbiB,EAAeC,GAAiB,CAEpC,IAAMC,EADiBD,EACK,eAAe,QAAQ,MAAM,EAAE,MAAM,EAAE,GAAK,CAAC,EAEzEV,EAAO,IAAI,CAACY,EAAOC,IAAUN,EAASK,EAAOD,EAAKE,CAAK,CAAC,CAAC,EAEzDH,EAAM,eAAe,CACvB,EAEMI,EAA4B,CAChCJ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gB,CAgCP,CACD,EACH,EAECK,GACC3B,EAACH,EAAA,CAAe,MAAK,GAAC,GAAI,CAAE,GAAI,CAAE,EAAG,yCAErC,GAEJ,CAEJ,EAEOiC,EAAQ5B","sourcesContent":["import { ChangeEvent, useRef } from 'react';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport FormHelperText from '@mui/material/FormHelperText';\nimport Stack from '@mui/material/Stack';\nimport TextField from '@mui/material/TextField';\n\nimport useEventListener from 'hooks/useEventListener';\n\nimport { CodesProps } from './props';\n\nconst Codes = ({\n keyName,\n inputs = [],\n rules,\n tabIndex,\n autoFocusFirst = false,\n ...other\n}: CodesProps) => {\n const codesRef = useRef<HTMLDivElement>(null);\n\n const {\n control,\n setValue,\n formState: { errors },\n } = useFormContext();\n\n const handlePaste = (event: Event) => {\n const clipboardEvent = event as unknown as ClipboardEvent;\n const data = clipboardEvent.clipboardData?.getData('text').split('') || [];\n\n inputs.map((input, index) => setValue(input, data[index]));\n\n event.preventDefault();\n };\n\n const handleChangeWithNextField = (\n event: ChangeEvent<HTMLInputElement>,\n handleChange: (event: ChangeEvent<HTMLInputElement>) => void,\n ) => {\n const { maxLength, value, name } = event.target;\n\n const fieldIndex = name.replace(keyName, '');\n\n const fieldIntIndex = Number(fieldIndex);\n\n const nextfield: HTMLElement | null = document.querySelector(\n `input[name=${keyName}${fieldIntIndex + 1}]`,\n );\n\n if (value.length > maxLength) {\n event.target.value = value[0];\n }\n\n if (value.length >= maxLength && fieldIntIndex < 6 && nextfield !== null) {\n (nextfield as HTMLElement).focus();\n }\n\n handleChange(event);\n };\n\n useEventListener('paste', handlePaste, codesRef);\n\n const hasCodeNotFilled = inputs.some(input => errors[input]);\n\n return (\n <Stack>\n <Stack direction=\"row\" spacing={2} justifyContent=\"center\" ref={codesRef}>\n {inputs.map((name, index) => (\n <Controller\n key={name}\n name={`${keyName}${index + 1}`}\n control={control}\n rules={rules}\n render={({ field, fieldState: { error } }) => (\n <TextField\n {...other}\n {...field}\n autoComplete=\"none\"\n error={!!error}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocusFirst && index === 0}\n placeholder=\"-\"\n onChange={(event: ChangeEvent<HTMLInputElement>) => {\n handleChangeWithNextField(event, field.onChange);\n }}\n onFocus={event => event.currentTarget.select()}\n InputProps={{\n sx: {\n width: { xs: 36, sm: 56 },\n height: { xs: 36, sm: 56 },\n '& input': { p: 0, textAlign: 'center' },\n },\n }}\n inputProps={{\n maxLength: 1,\n type: 'number',\n name: `${keyName}${index + 1}`,\n tabIndex,\n }}\n />\n )}\n />\n ))}\n </Stack>\n\n {hasCodeNotFilled && (\n <FormHelperText error sx={{ px: 2 }}>\n Código é obrigatório\n </FormHelperText>\n )}\n </Stack>\n );\n};\n\nexport default Codes;\n"]}
@@ -1,15 +1,15 @@
1
- import { x, u, v, w } from '../../../chunk-HHX5J5QV.js';
2
- import '../../../chunk-NR6PQELF.js';
3
- import '../../../chunk-ESDQCHJR.js';
1
+ import { x, u, v, w } from '../../../chunk-TBFQ5PEL.js';
2
+ import '../../../chunk-3ELMAXMX.js';
3
+ import '../../../chunk-PWR4GBUH.js';
4
4
  import '../../../chunk-KGLU4CR2.js';
5
- import '../../../chunk-ZXK32CSF.js';
6
- import '../../../chunk-YG74GZPD.js';
5
+ import '../../../chunk-KZFKHQ5P.js';
6
+ import '../../../chunk-YKLRB3EJ.js';
7
7
  import '../../../chunk-OF6623HG.js';
8
8
  import '../../../chunk-6U5LS7MP.js';
9
- import '../../../chunk-FBN7HCBY.js';
9
+ import '../../../chunk-JSL5OEWZ.js';
10
10
  import '../../../chunk-2A4XOLBZ.js';
11
- import '../../../chunk-VURAUMLN.js';
12
- import '../../../chunk-EDO23OCC.js';
11
+ import '../../../chunk-FBVAHVU3.js';
12
+ import '../../../chunk-DGCPCUVB.js';
13
13
  import '../../../chunk-RPO7AI5K.js';
14
14
  import '../../../chunk-SVX7EWV4.js';
15
15
  import '../../../chunk-XNKYJHNL.js';
@@ -1,8 +1,8 @@
1
- import { a } from '../../../chunk-DRJ5UDF6.js';
1
+ import { a } from '../../../chunk-FQOV5EGQ.js';
2
2
  import '../../../chunk-W3CK33IH.js';
3
3
  import '../../../chunk-OF6623HG.js';
4
- import '../../../chunk-VURAUMLN.js';
5
- import '../../../chunk-EDO23OCC.js';
4
+ import '../../../chunk-FBVAHVU3.js';
5
+ import '../../../chunk-DGCPCUVB.js';
6
6
  import { useFormContext, Controller } from 'react-hook-form';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { a } from '../../../chunk-YXRL4O4H.js';
2
2
  import { d } from '../../../chunk-A3QLGMSB.js';
3
- import { a as a$1 } from '../../../chunk-VURAUMLN.js';
4
- import '../../../chunk-EDO23OCC.js';
3
+ import { a as a$1 } from '../../../chunk-FBVAHVU3.js';
4
+ import '../../../chunk-DGCPCUVB.js';
5
5
  import { useState } from 'react';
6
6
  import { useFormContext } from 'react-hook-form';
7
7
  import y from '@mui/material/IconButton';
@@ -1,11 +1,11 @@
1
- import { a } from '../../../chunk-V7EE5E2H.js';
1
+ import { a } from '../../../chunk-GODJQLB7.js';
2
2
  import '../../../chunk-RUABKHIV.js';
3
- import '../../../chunk-PVI5BAUW.js';
3
+ import '../../../chunk-Y3TJIK6E.js';
4
4
  import '../../../chunk-IJZCVZ32.js';
5
5
  import '../../../chunk-6U5LS7MP.js';
6
- import '../../../chunk-HVH6MGHX.js';
7
- import '../../../chunk-VURAUMLN.js';
8
- import '../../../chunk-EDO23OCC.js';
6
+ import '../../../chunk-N2UR3W55.js';
7
+ import '../../../chunk-FBVAHVU3.js';
8
+ import '../../../chunk-DGCPCUVB.js';
9
9
  import { useFormContext, Controller } from 'react-hook-form';
10
10
  import { jsx } from 'react/jsx-runtime';
11
11
 
@@ -1,11 +1,11 @@
1
- import { a } from '../../../chunk-UOR22KQX.js';
1
+ import { a } from '../../../chunk-SDS77DQQ.js';
2
2
  import '../../../chunk-6ZSTKYGL.js';
3
- import '../../../chunk-PVI5BAUW.js';
3
+ import '../../../chunk-Y3TJIK6E.js';
4
4
  import '../../../chunk-IJZCVZ32.js';
5
5
  import '../../../chunk-NIQW2J3M.js';
6
6
  import '../../../chunk-F65ZXAGV.js';
7
- import '../../../chunk-VURAUMLN.js';
8
- import '../../../chunk-EDO23OCC.js';
7
+ import '../../../chunk-FBVAHVU3.js';
8
+ import '../../../chunk-DGCPCUVB.js';
9
9
  import { useFormContext, Controller } from 'react-hook-form';
10
10
  import { jsx } from 'react/jsx-runtime';
11
11