@m4l/components 3.0.0 → 3.0.2

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 (225) hide show
  1. package/@types/types.d.ts +31 -8
  2. package/components/AccountPopover/{index.af5aae0e.js → index-vXlaw69C.js} +7 -5
  3. package/components/AppBar/{index.b8f22046.js → index-3gXtikUI.js} +7 -5
  4. package/components/BaseModule/{index.f7a04fe7.js → index-CtN6b__U.js} +1 -1
  5. package/components/CommonActions/components/ActionCancel/{index.e67885bc.js → index-D_42VfUR.js} +2 -2
  6. package/components/CommonActions/components/ActionFormCancel/{index.92988013.js → index-DL7fDBi6.js} +5 -5
  7. package/components/CommonActions/components/ActionFormIntro/{index.f8867ae9.js → index-i3HmOpoU.js} +2 -2
  8. package/components/CommonActions/components/ActionIntro/{index.e58eb0c4.js → index-i5875EXe.js} +3 -3
  9. package/components/CommonActions/components/Actions/{index.f674be30.js → index-ChW1FuFf.js} +5 -3
  10. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.89a59c52.js → index-BjkuIa7y.js} +1 -1
  11. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.d619d1db.js → index-CWQp1KWU.js} +1 -1
  12. package/components/DataGrid/formatters/ColumnDateFormatter/{index.e00d0cf2.js → index-CKg8CJ6A.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.557bc8a5.js → index-DggW8-4n.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnNestedValueFormatter/{index.880e743b.js → index-BslXGK-A.js} +1 -1
  15. package/components/DataGrid/formatters/ColumnPointsFormatter/{index.ab152484.js → index-BXGW2CsK.js} +1 -1
  16. package/components/DataGrid/formatters/ColumnPriceFormatter/{index.bf9d9e60.js → index-O11tBykn.js} +1 -1
  17. package/components/DataGrid/formatters/ColumnSetCheckFormatter/{index.4045b2f2.js → index-BaCawLr1.js} +1 -1
  18. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/{index.a87302d1.js → index-Cq7a-jnE.js} +1 -1
  19. package/components/DataGrid/formatters/{index.06c18753.js → index-B3AsHKeD.js} +2 -2
  20. package/components/DataGrid/{index.b37d6cab.js → index-EgaRUtbL.js} +33 -26
  21. package/components/DataGrid/subcomponents/Actions/{index.c3b1c1e2.js → index-BF4pV_-K.js} +22 -26
  22. package/components/DataGrid/subcomponents/editors/TextEditor/{index.3f0d9e28.js → index-BIFm8akr.js} +4 -0
  23. package/components/DragResizeWindow/{index.a4bcaab8.js → index-D2jLYExo.js} +25 -6
  24. package/components/DynamicFilter/{dictionary.94a74eb3.js → dictionary-B2qYGLOx.js} +2 -2
  25. package/components/DynamicFilter/{index.b07b567a.js → index-BLjn97jC.js} +7 -8
  26. package/components/DynamicFilter/slots/{dynamicFilterSlots.dd5824d5.js → dynamicFilterSlots-CaFVu7xW.js} +8 -8
  27. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
  28. package/components/DynamicFilter/store/{index.49d1b77f.js → index-EW1sL9gf.js} +3 -3
  29. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.9e8fcc8c.js → index-DjgwIwH9.js} +3 -3
  30. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3e52c5d7.js → index-Cfcgzcw7.js} +4 -4
  31. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.68d855e9.js → index-BFcVswNb.js} +8 -8
  32. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.11f588b4.js → index-B4mhUk9e.js} +4 -3
  33. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.77555163.js → index-CA3JDlD0.js} +10 -9
  34. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.1c8454db.js → index-B4R83Pyi.js} +5 -4
  35. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.cb31333a.js → index-1XC3u2dm.js} +6 -6
  36. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.0ae3d439.js → index-BEMRO3Ng.js} +5 -4
  37. package/components/DynamicFilter/subcomponents/FieldTypes/{index.5a0c7b12.js → index-Cfs28hud.js} +5 -5
  38. package/components/DynamicFilter/subcomponents/FilterActions/{index.50c175e7.js → index-CYY3cjbX.js} +3 -3
  39. package/components/DynamicFilter/subcomponents/InputFilter/{index.82d4ac5a.js → index-CAdtxARw.js} +33 -13
  40. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.fa62a6c3.js → index-COoNIh4L.js} +7 -6
  41. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.e5e439f1.js → index-Kz-jfM3o.js} +2 -2
  42. package/components/FieldLabel/{index.9a979def.js → index-DCAMDJoJ.js} +6 -4
  43. package/components/GridLayout/{index.dd291886.js → index-DUfp2sP_.js} +51 -72
  44. package/components/GridLayout/subcomponents/Griditem/{index.10278655.js → index-DEi0Ai1D.js} +11 -13
  45. package/components/GridLayout/subcomponents/Responsive/{index.24857a52.js → index-B7v5X9un.js} +7 -7
  46. package/components/GridLayout/subcomponents/SizeProvider/{index.2f762118.js → index-BsKaLKRl.js} +15 -9
  47. package/components/HelperText/{index.6818980e.js → index-DVV5Jfc8.js} +10 -3
  48. package/components/Icon/{index.c06685f4.js → index-CueLDD9j.js} +9 -4
  49. package/components/Image/{index.ae542f70.js → index-By5vsRzf.js} +40 -31
  50. package/components/LanguagePopover/index-Dn2JPzf1.js +179 -0
  51. package/components/LinearProgressIndeterminate/{index.ca78fd37.js → index-CTlvokQp.js} +5 -3
  52. package/components/Loadable/{index.e83cdb4e.js → index-BMbi9ISF.js} +1 -1
  53. package/components/LoadingError/{index.765ff885.js → index-CXVOiscg.js} +8 -6
  54. package/components/MFIsolationApp/{index.677d9e93.js → index-BfFMo2Q2.js} +5 -5
  55. package/components/MFLoader/{index.6af7729c.js → index-CCtU6zwR.js} +36 -15
  56. package/components/ModalDialog/{index.a57ee020.js → index-KryIxH_j.js} +6 -6
  57. package/components/NavLink/{index.dd723dfd.js → index-D6eiKlc0.js} +5 -3
  58. package/components/NoItemSelected/{index.b3e365b1.js → index-DKhhgTAH.js} +3 -1
  59. package/components/ObjectLogs/{index.54fdee14.js → index-CpBmanv0.js} +19 -12
  60. package/components/PDFViewer/{index.7932d07b.js → index-3PBUibum.js} +4 -2
  61. package/components/Page/{index.5f2963f3.js → index-PXQkJn7v.js} +11 -8
  62. package/components/PaperForm/{index.cdb1f846.js → index-B6a3-CZt.js} +4 -2
  63. package/components/Period/{index.b0b2a03b.js → index-DtFWU3y5.js} +20 -31
  64. package/components/PrintingSystem/{index.800a7957.js → index-DJmGF2SQ.js} +16 -14
  65. package/components/PrintingSystem/subcomponents/BodyNode/{index.60ad80bd.js → index-DorXm6AO.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/ChartNode/{index.d4aa116e.js → index-Cd9H-_3i.js} +3 -1
  67. package/components/PrintingSystem/subcomponents/DividerNode/{index.142bbf1a.js → index-Dm-RAH_l.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/FooterNode/{index.d16d2c5e.js → index-BPg-NpDf.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/GridNode/{index.044363bf.js → index-u0ZSP6s4.js} +6 -2
  70. package/components/PrintingSystem/subcomponents/HeaderNode/{index.5581a84d.js → index-C7eFFsTN.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/PaperNode/{index.2994c128.js → index-D7M4YL4C.js} +1 -1
  72. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.166d7264.js → index-Drjfhq-n.js} +1 -1
  73. package/components/PrintingSystem/subcomponents/SectionNode/{index.642ab1b7.js → index-Banh4UxX.js} +1 -1
  74. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d8a2a0af.js → index-OBnZLPEc.js} +1 -1
  75. package/components/PropertyValue/{index.d81eae0a.js → index-Cc7y20oI.js} +7 -5
  76. package/components/Resizeable/{index.df2f3bb8.js → index-BwQ6EKCK.js} +1 -1
  77. package/components/ScrollBar/{index.11feff65.js → index-P3SkjYOy.js} +3 -1
  78. package/components/SideBar/{index.990e8667.js → index-Ddxe1VvL.js} +100 -74
  79. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
  80. package/components/SplitLayout/{index.b247de95.js → index-CwmZT1x6.js} +5 -3
  81. package/components/ToastContainer/{index.c1657bde.js → index-DN3ZHpBT.js} +3 -3
  82. package/components/animate/LoadingScreen/{index.36a63311.js → index-CcjW-mkl.js} +1 -1
  83. package/components/animate/MotionContainer/{index.3032bd8f.js → index-eartnWyO.js} +1 -1
  84. package/components/animate/MotionLazyContainer/{index.d2902a6c.js → index-Be8osTiG.js} +1 -1
  85. package/components/animate/PropagateLoader/{index.a9da8d00.js → index-Bkq8V2SN.js} +1 -1
  86. package/components/animate/{index.ceb7669a.js → index-DsolrzTC.js} +1 -1
  87. package/components/animate/variants/{bounce.784aaaaa.js → bounce-DanQqHAX.js} +3 -1
  88. package/components/animate/variants/{fade.b561c0fc.js → fade-CAOJNn06.js} +3 -1
  89. package/components/areas/components/AreasAdmin/{index.b232384d.js → index-Y6S0Q7TN.js} +21 -19
  90. package/components/areas/components/AreasViewer/{index.d45bfcd2.js → index-DfcpQwSl.js} +67 -64
  91. package/components/areas/contexts/AreasContext/{index.9edd84c3.js → index-spCQnOlk.js} +180 -16
  92. package/components/areas/contexts/AreasContext/types.d.ts +1 -0
  93. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +5 -0
  94. package/components/areas/hooks/index.d.ts +1 -0
  95. package/components/areas/hooks/useAreas/{index.5a57ab76.js → index-D6DaWBIP.js} +2 -3
  96. package/components/areas/hooks/useDynamicMFParameters/{index.9e09e1e3.js → index-DhbcZPs9.js} +1 -1
  97. package/components/areas/hooks/useSetWindowsTitle/index.d.ts +1 -0
  98. package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +31 -0
  99. package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle.d.ts +3 -0
  100. package/components/areas/hooks/useWindowToolsMF/{index.2fbae9dc.js → index-BECQfhbC.js} +2 -3
  101. package/components/commercial/AppBarCommercial/{index.b4f6147e.js → index-D1jIOw7M.js} +4 -2
  102. package/components/commercial/SectionCommercial/{index.a250338c.js → index-C9THYik8.js} +4 -2
  103. package/components/commercial/TopBar/{index.4fdd66e5.js → index-DLn3yEcX.js} +13 -11
  104. package/components/commercial/{index.be1af158.js → index-D1bCIF7p.js} +4 -4
  105. package/components/formatters/BooleanFormatter/{index.91435984.js → index-Bc2l6GTX.js} +3 -3
  106. package/components/formatters/DateFormatter/{index.2ef6f261.js → index-CGcRZ8BA.js} +1 -1
  107. package/components/formatters/PointsFormatter/{index.51cd6774.js → index-C7sR8iqk.js} +1 -1
  108. package/components/formatters/PriceFormatter/{index.97f75b4b.js → index-CsvRawmc.js} +1 -1
  109. package/components/formatters/UncertaintyFormatter/{index.c3ffdebc.js → index-B9ESVEVp.js} +4 -4
  110. package/components/formatters/{index.64017cc1.js → index-Botdzyt2.js} +13 -19
  111. package/components/hook-form/HelperError/{index.360f8fb7.js → index-J-C5u9AH.js} +1 -1
  112. package/components/hook-form/RHFAutocomplete/{index.089af1b8.js → index-erpzYu8W.js} +20 -20
  113. package/components/hook-form/RHFAutocompleteAsync/{index.f05b6fe3.js → index-BV0f25eK.js} +5 -3
  114. package/components/hook-form/RHFCheckbox/{index.4cefbad2.js → index-Duf51-pS.js} +53 -46
  115. package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
  116. package/components/hook-form/RHFColorPicker/{index.ed380b30.js → index-C-tITRAx.js} +8 -6
  117. package/components/hook-form/RHFDateTime/{index.118ebe6d.js → index-OdXKdhJS.js} +7 -5
  118. package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +1 -0
  119. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +9 -0
  120. package/components/hook-form/RHFInputNumberSpinner/types.d.ts +21 -0
  121. package/components/hook-form/RHFPeriod/{index.404ba4c6.js → index-CjkIGYUY.js} +6 -4
  122. package/components/hook-form/RHFRadioGroup/{index.591f779d.js → index-Da_2zFu3.js} +1 -1
  123. package/components/hook-form/RHFTextField/index-BWZWPFn5.js +337 -0
  124. package/components/hook-form/RHFUpload/{index.7b7ee732.js → index-D4nrnFFT.js} +10 -8
  125. package/components/maps/components/GpsTools/{index.c1198f79.js → index-DPY-BjB8.js} +102 -32
  126. package/components/maps/components/Map/{index.8c947175.js → index-BRrVIyA-.js} +263 -73
  127. package/components/modal/{WindowBase.00b9e5f1.js → WindowBase-Ce6yRLcN.js} +4 -4
  128. package/components/modal/{WindowConfirm.abf49573.js → WindowConfirm-BaB3Ojgu.js} +8 -7
  129. package/components/modal/{index.81eb6def.js → index-CydPIpKZ.js} +2 -0
  130. package/components/mui_extended/Accordion/{index.26524ecd.js → index-D1775s1J.js} +8 -6
  131. package/components/mui_extended/Avatar/{index.e7bcc850.js → index-n5hK7nJD.js} +5 -2
  132. package/components/mui_extended/Badge/{index.48948839.js → index-Dfdw5Iaq.js} +4 -2
  133. package/components/mui_extended/Breadcrumbs/{index.4a44883c.js → index-DTS7rOZH.js} +1 -2
  134. package/components/mui_extended/Button/{index.3d14e3e9.js → index-CksGG1B8.js} +33 -13
  135. package/components/mui_extended/Button/styles.d.ts +1 -1
  136. package/components/mui_extended/{CheckBox.5dc01b37.js → CheckBox-CjxjIrmN.js} +4 -2
  137. package/components/mui_extended/IconButton/{index.7b6c1ee3.js → index-OMq0pPK0.js} +42 -22
  138. package/components/mui_extended/IconButton/types.d.ts +18 -0
  139. package/components/mui_extended/MenuActions/MenuActions.d.ts +5 -0
  140. package/components/mui_extended/MenuActions/constant.d.ts +5 -0
  141. package/components/mui_extended/MenuActions/dictionary.d.ts +7 -0
  142. package/components/mui_extended/MenuActions/index-De7dpdBH.js +202 -0
  143. package/components/mui_extended/MenuActions/index.d.ts +2 -5
  144. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +9 -0
  145. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +24 -0
  146. package/components/mui_extended/MenuActions/slots/index.d.ts +2 -0
  147. package/components/mui_extended/MenuActions/types.d.ts +11 -2
  148. package/components/mui_extended/Pager/{index.b28a2103.js → index-k7SRq6Jo.js} +8 -5
  149. package/components/mui_extended/Popover/{index.a7da93f1.js → index-BnKsmvtw.js} +39 -27
  150. package/components/mui_extended/Stack/{index.99de8138.js → index-C9YEChZB.js} +3 -1
  151. package/components/mui_extended/Tab/{index.5c6a6801.js → index-CpdHav0V.js} +9 -3
  152. package/components/mui_extended/Tabs/styles.d.ts +1 -1
  153. package/components/mui_extended/ToggleButton/{index.86098567.js → index-CS1mz-lH.js} +2 -2
  154. package/components/mui_extended/ToggleIconButton/{index.cbfe1cad.js → index-BNQrQ6-b.js} +3 -2
  155. package/components/mui_extended/Tooltip/{index.49bb5ee1.js → index-B8QUytCK.js} +2 -0
  156. package/components/mui_extended/Typography/{index.8c0801e4.js → index-W88rbpsJ.js} +4 -2
  157. package/components/popups/PopupsProvider/{index.9a23e1d0.js → index-DhSxmtfJ.js} +1 -2
  158. package/components/popups/PopupsViewer/{index.52653047.js → index-Dn0XOI6q.js} +10 -7
  159. package/components/popups/PopupsViewer/slots/{popupsViewerSlots.69dd2614.js → popupsViewerSlots-Db8QAmEE.js} +4 -4
  160. package/contexts/ModalContext/{index.799110fe.js → index-DkUBXDpR.js} +1 -1
  161. package/contexts/RHFormContext/{index.f9d41b99.js → index-Ct48jRjb.js} +3 -1
  162. package/hooks/index.d.ts +1 -0
  163. package/hooks/useFormAddEdit/{index.8947ee59.js → index-BkBJNq8b.js} +2 -2
  164. package/hooks/useInterval/index.d.ts +7 -0
  165. package/hooks/useModal/{index.eb857f6e.js → index-CTAwKk5D.js} +2 -3
  166. package/hooks/useSizeContainer/{index.3c48670c.js → index-D4hDjM1P.js} +2 -0
  167. package/hooks/useTab/{index.9ad15247.js → index-PXnpiLMx.js} +1 -1
  168. package/index.js +153 -244
  169. package/package.json +1 -1
  170. package/{react-data-grid.c5377916.js → react-data-grid-BfYuZ6AK.js} +59 -110
  171. package/{react-draggable.079122b0.js → react-draggable-DsCPdgQP.js} +238 -57
  172. package/{react-json-view.57125fcf.js → react-json-view-bhqIAaNg.js} +277 -467
  173. package/{react-resizable.330f1499.js → react-resizable-eBbFl2dX.js} +75 -37
  174. package/{react-spinners.342a6578.js → react-spinners-TpKN9lZg.js} +6 -8
  175. package/{react-splitter-layout.8b1655c8.js → react-splitter-layout-C-JTsNGs.js} +14 -23
  176. package/style.css +1 -65
  177. package/styles/{DynamicFilter.0713a406.js → DynamicFilter-CJFsIegc.js} +1 -1
  178. package/styles/MenuActions.styles.d.ts +2 -0
  179. package/styles/{index.db9e7ddb.js → index-C-MsxWtr.js} +90 -25
  180. package/utils/{index.f77cc2ab.js → index-DiMrtgIu.js} +26 -51
  181. package/components/LanguagePopover/index.2a7e40fc.js +0 -168
  182. package/components/hook-form/RHFTextField/index.80b98b98.js +0 -296
  183. package/components/mui_extended/MenuActions/classes/constants.d.ts +0 -1
  184. package/components/mui_extended/MenuActions/classes/index.d.ts +0 -7
  185. package/components/mui_extended/MenuActions/classes/types.d.ts +0 -7
  186. package/components/mui_extended/MenuActions/icons.d.ts +0 -3
  187. package/components/mui_extended/MenuActions/index.11d777bb.js +0 -167
  188. package/components/mui_extended/MenuActions/styles.d.ts +0 -5
  189. /package/{commonjs.565e6834.js → commonjs-BfYxJMv3.js} +0 -0
  190. /package/components/DataGrid/{constants.e334cd50.js → constants-8L7QgBKi.js} +0 -0
  191. /package/components/DynamicFilter/{constants.095f1dbb.js → constants-ByqmFATV.js} +0 -0
  192. /package/components/DynamicFilter/slots/{SlotsEnum.104a03d4.js → SlotsEnum-cawFeNzx.js} +0 -0
  193. /package/components/DynamicFilter/slots/{index.36b12be1.js → index-l0sNRNKZ.js} +0 -0
  194. /package/components/ScrollToTop/{index.e06f98f6.js → index-TxORk5dB.js} +0 -0
  195. /package/components/WrapperComponent/{index.57964195.js → index-BHV-CsDU.js} +0 -0
  196. /package/components/animate/{features.0fbf41e1.js → features-BbnE33u3.js} +0 -0
  197. /package/components/animate/variants/{container.11f82b76.js → container-Dmpr6tg5.js} +0 -0
  198. /package/components/animate/variants/{index.7a912140.js → index-l0sNRNKZ.js} +0 -0
  199. /package/components/animate/variants/{transition.bd46b9ce.js → transition-B9W5SWTa.js} +0 -0
  200. /package/components/areas/components/{index.558684b3.js → index-l0sNRNKZ.js} +0 -0
  201. /package/components/areas/{constants.66529246.js → constants-rqODZNZe.js} +0 -0
  202. /package/components/areas/contexts/DynamicMFParmsContext/{index.3d9ad0ad.js → index-22c6E7vK.js} +0 -0
  203. /package/components/areas/contexts/WindowToolsMFContext/{index.992ae7a3.js → index-DkE30fhm.js} +0 -0
  204. /package/components/areas/contexts/{index.24025b97.js → index-l0sNRNKZ.js} +0 -0
  205. /package/components/areas/{dictionary.08cfc4c9.js → dictionary-YUsP9beq.js} +0 -0
  206. /package/components/areas/hooks/{index.d9dc1e21.js → index-l0sNRNKZ.js} +0 -0
  207. /package/components/areas/{icons.01fa3bcc.js → icons-CwFr-alN.js} +0 -0
  208. /package/components/areas/{index.4cc6a221.js → index-B_Odny9h.js} +0 -0
  209. /package/components/hook-form/RHFMultiCheckbox/{index.437e6ba3.js → index-BARudV1A.js} +0 -0
  210. /package/components/hook-form/RHFSelect/{index.c6c60ecc.js → index-LdwRuFz-.js} +0 -0
  211. /package/components/maps/{index.13bb982c.js → index-Ci-7-FHg.js} +0 -0
  212. /package/components/mui_extended/BoxIcon/{index.d61e7ac5.js → index-BUTJ2tKw.js} +0 -0
  213. /package/components/mui_extended/CircularProgress/{index.967e70b7.js → index-Bnnti_G6.js} +0 -0
  214. /package/components/mui_extended/LinearProgress/{index.4092bb69.js → index-CGgW8jq2.js} +0 -0
  215. /package/components/mui_extended/LinkWithRoute/{index.288c51f3.js → index-BC2miUjR.js} +0 -0
  216. /package/components/mui_extended/{index.b606cd9d.js → index-l0sNRNKZ.js} +0 -0
  217. /package/components/popups/PopupsViewer/{constants.29247547.js → constants-DuyD7aCn.js} +0 -0
  218. /package/components/popups/PopupsViewer/{icons.066abd43.js → icons-BUujqqbu.js} +0 -0
  219. /package/components/popups/PopupsViewer/slots/{index.37ef2263.js → index-B98CiRLa.js} +0 -0
  220. /package/components/popups/{index.c5eae682.js → index-l0sNRNKZ.js} +0 -0
  221. /package/hocs/withToggle/{index.548aeace.js → index-C1_DMZD3.js} +0 -0
  222. /package/hooks/useFormReadyForUpdate/{index.f60f500e.js → index-B3HygFCM.js} +0 -0
  223. /package/hooks/useStateRef/{index.538edb89.js → index-C3P6ZK3m.js} +0 -0
  224. /package/test/{constants_no_mock.86c553a9.js → constants_no_mock-CF-669v-.js} +0 -0
  225. /package/test/{getNameDataTestId.0faeade8.js → getNameDataTestId-BaBTWhBr.js} +0 -0
@@ -1,10 +1,11 @@
1
+ import { g as getDefaultExportFromCjs } from "./commonjs-BfYxJMv3.js";
1
2
  import React__default from "react";
2
3
  import require$$1 from "prop-types";
3
4
  import require$$2 from "react-dom";
4
5
  import clsx from "clsx";
5
- import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index.f77cc2ab.js";
6
+ import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index-DiMrtgIu.js";
6
7
  var cjs = { exports: {} };
7
- var Draggable$1 = {};
8
+ var Draggable$2 = {};
8
9
  var DraggableCore$2 = {};
9
10
  Object.defineProperty(DraggableCore$2, "__esModule", {
10
11
  value: true
@@ -21,8 +22,7 @@ function _interopRequireDefault(obj) {
21
22
  return obj && obj.__esModule ? obj : { default: obj };
22
23
  }
23
24
  function _getRequireWildcardCache(nodeInterop) {
24
- if (typeof WeakMap !== "function")
25
- return null;
25
+ if (typeof WeakMap !== "function") return null;
26
26
  var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
27
27
  var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
28
28
  return (_getRequireWildcardCache = function(nodeInterop2) {
@@ -30,7 +30,7 @@ function _getRequireWildcardCache(nodeInterop) {
30
30
  })(nodeInterop);
31
31
  }
32
32
  function _interopRequireWildcard(obj, nodeInterop) {
33
- if (!nodeInterop && obj && obj.__esModule) {
33
+ if (obj && obj.__esModule) {
34
34
  return obj;
35
35
  }
36
36
  if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
@@ -72,13 +72,11 @@ function _toPropertyKey(arg) {
72
72
  return typeof key === "symbol" ? key : String(key);
73
73
  }
74
74
  function _toPrimitive(input, hint) {
75
- if (typeof input !== "object" || input === null)
76
- return input;
75
+ if (typeof input !== "object" || input === null) return input;
77
76
  var prim = input[Symbol.toPrimitive];
78
77
  if (prim !== void 0) {
79
78
  var res = prim.call(input, hint || "default");
80
- if (typeof res !== "object")
81
- return res;
79
+ if (typeof res !== "object") return res;
82
80
  throw new TypeError("@@toPrimitive must return a primitive value.");
83
81
  }
84
82
  return (hint === "string" ? String : Number)(input);
@@ -96,7 +94,7 @@ const eventsFor = {
96
94
  }
97
95
  };
98
96
  let dragEventFor = eventsFor.mouse;
99
- class DraggableCore$1 extends React.Component {
97
+ let DraggableCore$1 = class DraggableCore extends React.Component {
100
98
  constructor() {
101
99
  super(...arguments);
102
100
  _defineProperty(this, "dragging", false);
@@ -106,8 +104,7 @@ class DraggableCore$1 extends React.Component {
106
104
  _defineProperty(this, "mounted", false);
107
105
  _defineProperty(this, "handleDragStart", (e) => {
108
106
  this.props.onMouseDown(e);
109
- if (!this.props.allowAnyClick && typeof e.button === "number" && e.button !== 0)
110
- return false;
107
+ if (!this.props.allowAnyClick && typeof e.button === "number" && e.button !== 0) return false;
111
108
  const thisNode = this.findDOMNode();
112
109
  if (!thisNode || !thisNode.ownerDocument || !thisNode.ownerDocument.body) {
113
110
  throw new Error("<DraggableCore> not mounted on DragStart!");
@@ -118,13 +115,11 @@ class DraggableCore$1 extends React.Component {
118
115
  if (this.props.disabled || !(e.target instanceof ownerDocument.defaultView.Node) || this.props.handle && !(0, _domFns.matchesSelectorAndParentsTo)(e.target, this.props.handle, thisNode) || this.props.cancel && (0, _domFns.matchesSelectorAndParentsTo)(e.target, this.props.cancel, thisNode)) {
119
116
  return;
120
117
  }
121
- if (e.type === "touchstart")
122
- e.preventDefault();
118
+ if (e.type === "touchstart") e.preventDefault();
123
119
  const touchIdentifier = (0, _domFns.getTouchIdentifier)(e);
124
120
  this.touchIdentifier = touchIdentifier;
125
121
  const position = (0, _positionFns.getControlPosition)(e, touchIdentifier, this);
126
- if (position == null)
127
- return;
122
+ if (position == null) return;
128
123
  const {
129
124
  x,
130
125
  y
@@ -133,10 +128,8 @@ class DraggableCore$1 extends React.Component {
133
128
  (0, _log.default)("DraggableCore: handleDragStart: %j", coreEvent);
134
129
  (0, _log.default)("calling", this.props.onStart);
135
130
  const shouldUpdate = this.props.onStart(e, coreEvent);
136
- if (shouldUpdate === false || this.mounted === false)
137
- return;
138
- if (this.props.enableUserSelectHack)
139
- (0, _domFns.addUserSelectStyles)(ownerDocument);
131
+ if (shouldUpdate === false || this.mounted === false) return;
132
+ if (this.props.enableUserSelectHack) (0, _domFns.addUserSelectStyles)(ownerDocument);
140
133
  this.dragging = true;
141
134
  this.lastX = x;
142
135
  this.lastY = y;
@@ -145,8 +138,7 @@ class DraggableCore$1 extends React.Component {
145
138
  });
146
139
  _defineProperty(this, "handleDrag", (e) => {
147
140
  const position = (0, _positionFns.getControlPosition)(e, this.touchIdentifier, this);
148
- if (position == null)
149
- return;
141
+ if (position == null) return;
150
142
  let {
151
143
  x,
152
144
  y
@@ -154,8 +146,7 @@ class DraggableCore$1 extends React.Component {
154
146
  if (Array.isArray(this.props.grid)) {
155
147
  let deltaX = x - this.lastX, deltaY = y - this.lastY;
156
148
  [deltaX, deltaY] = (0, _positionFns.snapToGrid)(this.props.grid, deltaX, deltaY);
157
- if (!deltaX && !deltaY)
158
- return;
149
+ if (!deltaX && !deltaY) return;
159
150
  x = this.lastX + deltaX, y = this.lastY + deltaY;
160
151
  }
161
152
  const coreEvent = (0, _positionFns.createCoreData)(this, x, y);
@@ -175,11 +166,9 @@ class DraggableCore$1 extends React.Component {
175
166
  this.lastY = y;
176
167
  });
177
168
  _defineProperty(this, "handleDragStop", (e) => {
178
- if (!this.dragging)
179
- return;
169
+ if (!this.dragging) return;
180
170
  const position = (0, _positionFns.getControlPosition)(e, this.touchIdentifier, this);
181
- if (position == null)
182
- return;
171
+ if (position == null) return;
183
172
  let {
184
173
  x,
185
174
  y
@@ -192,12 +181,10 @@ class DraggableCore$1 extends React.Component {
192
181
  }
193
182
  const coreEvent = (0, _positionFns.createCoreData)(this, x, y);
194
183
  const shouldContinue = this.props.onStop(e, coreEvent);
195
- if (shouldContinue === false || this.mounted === false)
196
- return false;
184
+ if (shouldContinue === false || this.mounted === false) return false;
197
185
  const thisNode = this.findDOMNode();
198
186
  if (thisNode) {
199
- if (this.props.enableUserSelectHack)
200
- (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument);
187
+ if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument);
201
188
  }
202
189
  (0, _log.default)("DraggableCore: handleDragStop: %j", coreEvent);
203
190
  this.dragging = false;
@@ -249,49 +236,157 @@ class DraggableCore$1 extends React.Component {
249
236
  (0, _domFns.removeEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, {
250
237
  passive: false
251
238
  });
252
- if (this.props.enableUserSelectHack)
253
- (0, _domFns.removeUserSelectStyles)(ownerDocument);
239
+ if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(ownerDocument);
254
240
  }
255
241
  }
242
+ // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
243
+ // the underlying DOM node ourselves. See the README for more information.
256
244
  findDOMNode() {
257
245
  var _this$props, _this$props2;
258
246
  return (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.nodeRef ? (_this$props2 = this.props) === null || _this$props2 === void 0 || (_this$props2 = _this$props2.nodeRef) === null || _this$props2 === void 0 ? void 0 : _this$props2.current : _reactDom.default.findDOMNode(this);
259
247
  }
260
248
  render() {
261
249
  return /* @__PURE__ */ React.cloneElement(React.Children.only(this.props.children), {
250
+ // Note: mouseMove handler is attached to document so it will still function
251
+ // when the user drags quickly and leaves the bounds of the element.
262
252
  onMouseDown: this.onMouseDown,
263
253
  onMouseUp: this.onMouseUp,
254
+ // onTouchStart is added on `componentDidMount` so they can be added with
255
+ // {passive: false}, which allows it to cancel. See
256
+ // https://developers.google.com/web/updates/2017/01/scrolling-intervention
264
257
  onTouchEnd: this.onTouchEnd
265
258
  });
266
259
  }
267
- }
260
+ };
268
261
  DraggableCore$2.default = DraggableCore$1;
269
262
  _defineProperty(DraggableCore$1, "displayName", "DraggableCore");
270
263
  _defineProperty(DraggableCore$1, "propTypes", {
264
+ /**
265
+ * `allowAnyClick` allows dragging using any mouse button.
266
+ * By default, we only accept the left button.
267
+ *
268
+ * Defaults to `false`.
269
+ */
271
270
  allowAnyClick: _propTypes.default.bool,
272
271
  children: _propTypes.default.node.isRequired,
272
+ /**
273
+ * `disabled`, if true, stops the <Draggable> from dragging. All handlers,
274
+ * with the exception of `onMouseDown`, will not fire.
275
+ */
273
276
  disabled: _propTypes.default.bool,
277
+ /**
278
+ * By default, we add 'user-select:none' attributes to the document body
279
+ * to prevent ugly text selection during drag. If this is causing problems
280
+ * for your app, set this to `false`.
281
+ */
274
282
  enableUserSelectHack: _propTypes.default.bool,
283
+ /**
284
+ * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
285
+ * instead of using the parent node.
286
+ */
275
287
  offsetParent: function(props, propName) {
276
288
  if (props[propName] && props[propName].nodeType !== 1) {
277
289
  throw new Error("Draggable's offsetParent must be a DOM Node.");
278
290
  }
279
291
  },
292
+ /**
293
+ * `grid` specifies the x and y that dragging should snap to.
294
+ */
280
295
  grid: _propTypes.default.arrayOf(_propTypes.default.number),
296
+ /**
297
+ * `handle` specifies a selector to be used as the handle that initiates drag.
298
+ *
299
+ * Example:
300
+ *
301
+ * ```jsx
302
+ * let App = React.createClass({
303
+ * render: function () {
304
+ * return (
305
+ * <Draggable handle=".handle">
306
+ * <div>
307
+ * <div className="handle">Click me to drag</div>
308
+ * <div>This is some other content</div>
309
+ * </div>
310
+ * </Draggable>
311
+ * );
312
+ * }
313
+ * });
314
+ * ```
315
+ */
281
316
  handle: _propTypes.default.string,
317
+ /**
318
+ * `cancel` specifies a selector to be used to prevent drag initialization.
319
+ *
320
+ * Example:
321
+ *
322
+ * ```jsx
323
+ * let App = React.createClass({
324
+ * render: function () {
325
+ * return(
326
+ * <Draggable cancel=".cancel">
327
+ * <div>
328
+ * <div className="cancel">You can't drag from here</div>
329
+ * <div>Dragging here works fine</div>
330
+ * </div>
331
+ * </Draggable>
332
+ * );
333
+ * }
334
+ * });
335
+ * ```
336
+ */
282
337
  cancel: _propTypes.default.string,
338
+ /* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated.
339
+ * Unfortunately, in order for <Draggable> to work properly, we need raw access
340
+ * to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef`
341
+ * as in this example:
342
+ *
343
+ * function MyComponent() {
344
+ * const nodeRef = React.useRef(null);
345
+ * return (
346
+ * <Draggable nodeRef={nodeRef}>
347
+ * <div ref={nodeRef}>Example Target</div>
348
+ * </Draggable>
349
+ * );
350
+ * }
351
+ *
352
+ * This can be used for arbitrarily nested components, so long as the ref ends up
353
+ * pointing to the actual child DOM node and not a custom component.
354
+ */
283
355
  nodeRef: _propTypes.default.object,
356
+ /**
357
+ * Called when dragging starts.
358
+ * If this function returns the boolean false, dragging will be canceled.
359
+ */
284
360
  onStart: _propTypes.default.func,
361
+ /**
362
+ * Called while dragging.
363
+ * If this function returns the boolean false, dragging will be canceled.
364
+ */
285
365
  onDrag: _propTypes.default.func,
366
+ /**
367
+ * Called when dragging stops.
368
+ * If this function returns the boolean false, the drag will remain active.
369
+ */
286
370
  onStop: _propTypes.default.func,
371
+ /**
372
+ * A workaround option which can be passed if onMouseDown needs to be accessed,
373
+ * since it'll always be blocked (as there is internal use of onMouseDown)
374
+ */
287
375
  onMouseDown: _propTypes.default.func,
376
+ /**
377
+ * `scale`, if set, applies scaling while dragging an element
378
+ */
288
379
  scale: _propTypes.default.number,
380
+ /**
381
+ * These properties should be defined on the child, not here.
382
+ */
289
383
  className: _shims.dontSetMe,
290
384
  style: _shims.dontSetMe,
291
385
  transform: _shims.dontSetMe
292
386
  });
293
387
  _defineProperty(DraggableCore$1, "defaultProps", {
294
388
  allowAnyClick: false,
389
+ // by default only accept left click
295
390
  disabled: false,
296
391
  enableUserSelectHack: true,
297
392
  onStart: function() {
@@ -328,8 +423,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
328
423
  return obj && obj.__esModule ? obj : { default: obj };
329
424
  }
330
425
  function _getRequireWildcardCache2(nodeInterop) {
331
- if (typeof WeakMap !== "function")
332
- return null;
426
+ if (typeof WeakMap !== "function") return null;
333
427
  var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
334
428
  var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
335
429
  return (_getRequireWildcardCache2 = function(nodeInterop2) {
@@ -337,7 +431,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
337
431
  })(nodeInterop);
338
432
  }
339
433
  function _interopRequireWildcard2(obj, nodeInterop) {
340
- if (!nodeInterop && obj && obj.__esModule) {
434
+ if (obj && obj.__esModule) {
341
435
  return obj;
342
436
  }
343
437
  if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
@@ -393,18 +487,18 @@ _defineProperty(DraggableCore$1, "defaultProps", {
393
487
  return typeof key === "symbol" ? key : String(key);
394
488
  }
395
489
  function _toPrimitive2(input, hint) {
396
- if (typeof input !== "object" || input === null)
397
- return input;
490
+ if (typeof input !== "object" || input === null) return input;
398
491
  var prim = input[Symbol.toPrimitive];
399
492
  if (prim !== void 0) {
400
493
  var res = prim.call(input, hint || "default");
401
- if (typeof res !== "object")
402
- return res;
494
+ if (typeof res !== "object") return res;
403
495
  throw new TypeError("@@toPrimitive must return a primitive value.");
404
496
  }
405
497
  return (hint === "string" ? String : Number)(input);
406
498
  }
407
499
  class Draggable2 extends React2.Component {
500
+ // React 16.3+
501
+ // Arity (props, state)
408
502
  static getDerivedStateFromProps(_ref, _ref2) {
409
503
  let {
410
504
  position
@@ -432,16 +526,14 @@ _defineProperty(DraggableCore$1, "defaultProps", {
432
526
  _defineProperty2(this, "onDragStart", (e, coreData) => {
433
527
  (0, _log2.default)("Draggable: onDragStart: %j", coreData);
434
528
  const shouldStart = this.props.onStart(e, (0, _positionFns2.createDraggableData)(this, coreData));
435
- if (shouldStart === false)
436
- return false;
529
+ if (shouldStart === false) return false;
437
530
  this.setState({
438
531
  dragging: true,
439
532
  dragged: true
440
533
  });
441
534
  });
442
535
  _defineProperty2(this, "onDrag", (e, coreData) => {
443
- if (!this.state.dragging)
444
- return false;
536
+ if (!this.state.dragging) return false;
445
537
  (0, _log2.default)("Draggable: onDrag: %j", coreData);
446
538
  const uiData = (0, _positionFns2.createDraggableData)(this, coreData);
447
539
  const newState = {
@@ -468,16 +560,13 @@ _defineProperty(DraggableCore$1, "defaultProps", {
468
560
  uiData.deltaY = newState.y - this.state.y;
469
561
  }
470
562
  const shouldUpdate = this.props.onDrag(e, uiData);
471
- if (shouldUpdate === false)
472
- return false;
563
+ if (shouldUpdate === false) return false;
473
564
  this.setState(newState);
474
565
  });
475
566
  _defineProperty2(this, "onDragStop", (e, coreData) => {
476
- if (!this.state.dragging)
477
- return false;
567
+ if (!this.state.dragging) return false;
478
568
  const shouldContinue = this.props.onStop(e, (0, _positionFns2.createDraggableData)(this, coreData));
479
- if (shouldContinue === false)
480
- return false;
569
+ if (shouldContinue === false) return false;
481
570
  (0, _log2.default)("Draggable: onDragStop: %j", coreData);
482
571
  const newState = {
483
572
  dragging: false,
@@ -496,15 +585,20 @@ _defineProperty(DraggableCore$1, "defaultProps", {
496
585
  this.setState(newState);
497
586
  });
498
587
  this.state = {
588
+ // Whether or not we are currently dragging.
499
589
  dragging: false,
590
+ // Whether or not we have been dragged before.
500
591
  dragged: false,
592
+ // Current transform x and y.
501
593
  x: props.position ? props.position.x : props.defaultPosition.x,
502
594
  y: props.position ? props.position.y : props.defaultPosition.y,
503
595
  prevPropsPosition: {
504
596
  ...props.position
505
597
  },
598
+ // Used for compensating for out-of-bounds drags
506
599
  slackX: 0,
507
600
  slackY: 0,
601
+ // Can only determine if SVG after mounting
508
602
  isElementSVG: false
509
603
  };
510
604
  if (props.position && !(props.onDrag || props.onStop)) {
@@ -523,6 +617,8 @@ _defineProperty(DraggableCore$1, "defaultProps", {
523
617
  dragging: false
524
618
  });
525
619
  }
620
+ // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
621
+ // the underlying DOM node ourselves. See the README for more information.
526
622
  findDOMNode() {
527
623
  var _this$props$nodeRef$c, _this$props;
528
624
  return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.nodeRef) === null || _this$props === void 0 ? void 0 : _this$props.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom2.default.findDOMNode(this);
@@ -547,7 +643,9 @@ _defineProperty(DraggableCore$1, "defaultProps", {
547
643
  const draggable = !controlled || this.state.dragging;
548
644
  const validPosition = position || defaultPosition;
549
645
  const transformOpts = {
646
+ // Set left if horizontal drag is enabled
550
647
  x: (0, _positionFns2.canDragX)(this) && draggable ? this.state.x : validPosition.x,
648
+ // Set top if vertical drag is enabled
551
649
  y: (0, _positionFns2.canDragY)(this) && draggable ? this.state.y : validPosition.y
552
650
  };
553
651
  if (this.state.isElementSVG) {
@@ -576,8 +674,48 @@ _defineProperty(DraggableCore$1, "defaultProps", {
576
674
  exports.default = Draggable2;
577
675
  _defineProperty2(Draggable2, "displayName", "Draggable");
578
676
  _defineProperty2(Draggable2, "propTypes", {
677
+ // Accepts all props <DraggableCore> accepts.
579
678
  ..._DraggableCore.default.propTypes,
679
+ /**
680
+ * `axis` determines which axis the draggable can move.
681
+ *
682
+ * Note that all callbacks will still return data as normal. This only
683
+ * controls flushing to the DOM.
684
+ *
685
+ * 'both' allows movement horizontally and vertically.
686
+ * 'x' limits movement to horizontal axis.
687
+ * 'y' limits movement to vertical axis.
688
+ * 'none' limits all movement.
689
+ *
690
+ * Defaults to 'both'.
691
+ */
580
692
  axis: _propTypes2.default.oneOf(["both", "x", "y", "none"]),
693
+ /**
694
+ * `bounds` determines the range of movement available to the element.
695
+ * Available values are:
696
+ *
697
+ * 'parent' restricts movement within the Draggable's parent node.
698
+ *
699
+ * Alternatively, pass an object with the following properties, all of which are optional:
700
+ *
701
+ * {left: LEFT_BOUND, right: RIGHT_BOUND, bottom: BOTTOM_BOUND, top: TOP_BOUND}
702
+ *
703
+ * All values are in px.
704
+ *
705
+ * Example:
706
+ *
707
+ * ```jsx
708
+ * let App = React.createClass({
709
+ * render: function () {
710
+ * return (
711
+ * <Draggable bounds={{right: 300, bottom: 300}}>
712
+ * <div>Content</div>
713
+ * </Draggable>
714
+ * );
715
+ * }
716
+ * });
717
+ * ```
718
+ */
581
719
  bounds: _propTypes2.default.oneOfType([_propTypes2.default.shape({
582
720
  left: _propTypes2.default.number,
583
721
  right: _propTypes2.default.number,
@@ -587,6 +725,23 @@ _defineProperty(DraggableCore$1, "defaultProps", {
587
725
  defaultClassName: _propTypes2.default.string,
588
726
  defaultClassNameDragging: _propTypes2.default.string,
589
727
  defaultClassNameDragged: _propTypes2.default.string,
728
+ /**
729
+ * `defaultPosition` specifies the x and y that the dragged item should start at
730
+ *
731
+ * Example:
732
+ *
733
+ * ```jsx
734
+ * let App = React.createClass({
735
+ * render: function () {
736
+ * return (
737
+ * <Draggable defaultPosition={{x: 25, y: 25}}>
738
+ * <div>I start with transformX: 25px and transformY: 25px;</div>
739
+ * </Draggable>
740
+ * );
741
+ * }
742
+ * });
743
+ * ```
744
+ */
590
745
  defaultPosition: _propTypes2.default.shape({
591
746
  x: _propTypes2.default.number,
592
747
  y: _propTypes2.default.number
@@ -595,10 +750,33 @@ _defineProperty(DraggableCore$1, "defaultProps", {
595
750
  x: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
596
751
  y: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string])
597
752
  }),
753
+ /**
754
+ * `position`, if present, defines the current position of the element.
755
+ *
756
+ * This is similar to how form elements in React work - if no `position` is supplied, the component
757
+ * is uncontrolled.
758
+ *
759
+ * Example:
760
+ *
761
+ * ```jsx
762
+ * let App = React.createClass({
763
+ * render: function () {
764
+ * return (
765
+ * <Draggable position={{x: 25, y: 25}}>
766
+ * <div>I start with transformX: 25px and transformY: 25px;</div>
767
+ * </Draggable>
768
+ * );
769
+ * }
770
+ * });
771
+ * ```
772
+ */
598
773
  position: _propTypes2.default.shape({
599
774
  x: _propTypes2.default.number,
600
775
  y: _propTypes2.default.number
601
776
  }),
777
+ /**
778
+ * These properties should be defined on the child, not here.
779
+ */
602
780
  className: _shims2.dontSetMe,
603
781
  style: _shims2.dontSetMe,
604
782
  transform: _shims2.dontSetMe
@@ -616,15 +794,18 @@ _defineProperty(DraggableCore$1, "defaultProps", {
616
794
  },
617
795
  scale: 1
618
796
  });
619
- })(Draggable$1);
797
+ })(Draggable$2);
620
798
  const {
621
799
  default: Draggable,
622
- DraggableCore
623
- } = Draggable$1;
800
+ DraggableCore: DraggableCore2
801
+ } = Draggable$2;
624
802
  cjs.exports = Draggable;
625
803
  cjs.exports.default = Draggable;
626
- var DraggableCore_1 = cjs.exports.DraggableCore = DraggableCore;
804
+ var DraggableCore_1 = cjs.exports.DraggableCore = DraggableCore2;
805
+ var cjsExports = cjs.exports;
806
+ const Draggable$1 = /* @__PURE__ */ getDefaultExportFromCjs(cjsExports);
627
807
  export {
628
808
  DraggableCore_1 as D,
629
- cjs as c
809
+ Draggable$1 as a,
810
+ cjsExports as c
630
811
  };