@hybridcore/ui 1.6.0 → 1.6.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 (291) hide show
  1. package/CATALOG.md +179 -0
  2. package/README.md +1 -2
  3. package/dist/AccordionSummary-CJppWeqF.js +781 -0
  4. package/dist/Add-CqcD1PWb.js +403 -0
  5. package/dist/Box-DqUMmZjL.js +31 -0
  6. package/dist/{Button-CvE2gnly.js → Button-C5yquWAB.js} +120 -133
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-CW0UZv1m.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-B3nbEbuv.js → DialogContent-BvVjD9z3.js} +127 -124
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-CHwRQF-g.js → IconButton-BoGwbvrP.js} +41 -43
  12. package/dist/InputLabel-Dd8RrneV.js +341 -0
  13. package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DwqJqzuM.js} +51 -53
  14. package/dist/Modal-MUZygjmQ.js +1158 -0
  15. package/dist/Paper-BkQLdsCI.js +582 -0
  16. package/dist/Select-DHUl_uG3.js +3916 -0
  17. package/dist/SwitchBase-DTndTqI8.js +235 -0
  18. package/dist/TextField-e2oKaUN1.js +669 -0
  19. package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
  20. package/dist/{Typography-CxbneZy_.js → Typography-DgsSLCFC.js} +53 -53
  21. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  22. package/dist/assets/index4.css +1 -0
  23. package/dist/clsx-OuTLNxxd.js +16 -0
  24. package/dist/components/access/helpers.js +1 -1
  25. package/dist/components/access/index.js +8 -15
  26. package/dist/components/access/logic.js +25 -0
  27. package/dist/components/button/index.js +10 -0
  28. package/dist/components/button/logic.js +26 -0
  29. package/dist/components/button/styled.js +9 -0
  30. package/dist/components/card/index.js +158 -498
  31. package/dist/components/card/logic.js +24 -0
  32. package/dist/components/card/styled.js +226 -51
  33. package/dist/components/card-alternate/index.js +111 -139
  34. package/dist/components/card-alternate/logic.js +17 -0
  35. package/dist/components/card-alternate/styled.js +113 -19
  36. package/dist/components/charts/_common/chart-error.js +19 -0
  37. package/dist/components/charts/candlestick/index.js +3 -3
  38. package/dist/components/charts/candlestick/logic.js +123 -113
  39. package/dist/components/charts/chart-wrapper/index.js +5 -5
  40. package/dist/components/charts/column-line-mix/index.js +9 -8
  41. package/dist/components/charts/column-line-mix/logic.js +68 -71
  42. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  43. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  44. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  45. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  46. package/dist/components/charts/heatmap/index.js +9 -8
  47. package/dist/components/charts/heatmap/logic.js +167 -173
  48. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  49. package/dist/components/charts/line/index.js +9 -8
  50. package/dist/components/charts/line/logic.js +74 -79
  51. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  52. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  53. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  54. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  55. package/dist/components/charts/nested-pie/index.js +9 -8
  56. package/dist/components/charts/nested-pie/logic.js +62 -68
  57. package/dist/components/charts/packed-circles/index.js +7 -6
  58. package/dist/components/charts/packed-circles/logic.js +50 -56
  59. package/dist/components/charts/pie-chart/index.js +9 -8
  60. package/dist/components/charts/pie-chart/logic.js +49 -54
  61. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  62. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  63. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  64. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  65. package/dist/components/charts/xy-chart/index.js +9 -8
  66. package/dist/components/charts/xy-chart/logic.js +56 -60
  67. package/dist/components/collapsible-card/index.js +11 -10
  68. package/dist/components/collapsible-card/styled.js +1 -1
  69. package/dist/components/color-picker/index.js +7120 -0
  70. package/dist/components/color-picker/logic.js +18 -0
  71. package/dist/components/color-picker/styled.js +7 -0
  72. package/dist/components/confirm/dialog.js +3 -3
  73. package/dist/components/confirm/index.js +1 -1
  74. package/dist/components/container/index.js +28 -269
  75. package/dist/components/container/logic.js +12 -0
  76. package/dist/components/container/styled.js +29 -0
  77. package/dist/components/context-menu/index.js +25 -457
  78. package/dist/components/context-menu/logic.js +14 -0
  79. package/dist/components/context-menu/styled.js +40 -0
  80. package/dist/components/data-grid/index.js +22 -0
  81. package/dist/components/data-grid/logic.js +15 -0
  82. package/dist/components/data-grid/styled.js +20 -0
  83. package/dist/components/data-map/components/controls/index.js +4 -6
  84. package/dist/components/data-map/index.js +11 -11
  85. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  86. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  87. package/dist/components/data-security-selectors/security-level/index.js +39 -91
  88. package/dist/components/data-security-selectors/security-level/logic.js +28 -0
  89. package/dist/components/data-security-selectors/security-level/styled.js +53 -0
  90. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  91. package/dist/components/date-range-picker/index.js +2748 -0
  92. package/dist/components/date-range-picker/styled.js +14 -0
  93. package/dist/components/date-time-picker/index.js +45 -46
  94. package/dist/components/divider/index.js +11 -11
  95. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  96. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  97. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  98. package/dist/components/document-viewer/index.js +31 -39
  99. package/dist/components/document-viewer/logic.js +41 -34
  100. package/dist/components/document-viewer/styled.js +115 -27
  101. package/dist/components/duration-select/index.js +27 -0
  102. package/dist/components/duration-select/logic.js +21 -0
  103. package/dist/components/duration-select/styled.js +26 -0
  104. package/dist/components/editable-text/index.js +20 -0
  105. package/dist/components/editable-text/logic.js +18 -0
  106. package/dist/components/editable-text/styled.js +22 -0
  107. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  108. package/dist/components/geometry-picker/edit/index.js +18 -18
  109. package/dist/components/geometry-picker/geometry/index.js +67 -67
  110. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  111. package/dist/components/geometry-picker/index.js +69 -85
  112. package/dist/components/geometry-picker/kml/index.js +16 -16
  113. package/dist/components/geometry-picker/logic.js +50 -57
  114. package/dist/components/geometry-picker/map/index.js +8 -8
  115. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  116. package/dist/components/geometry-picker/parser/index.js +46 -50
  117. package/dist/components/geometry-picker/parser/styled.js +22 -4
  118. package/dist/components/geometry-picker/styled.js +97 -37
  119. package/dist/components/geometry-picker/wkt/index.js +13 -13
  120. package/dist/components/heat-map/components/controls/index.js +4 -6
  121. package/dist/components/heat-map/components/legend/index.js +15 -17
  122. package/dist/components/heat-map/index.js +7 -7
  123. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  124. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  125. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  126. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  127. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  128. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  129. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  130. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  131. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  132. package/dist/components/instance-form/components/variable/index.js +6 -11
  133. package/dist/components/instance-form/components/variables/index.js +48 -55
  134. package/dist/components/instance-form/helpers.js +9 -0
  135. package/dist/components/instance-form/index.js +402 -518
  136. package/dist/components/instance-form/logic.js +115 -0
  137. package/dist/components/instance-form/styled.js +487 -0
  138. package/dist/components/instance-hierarchy-table/index.js +32 -37
  139. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  140. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  141. package/dist/components/instance-table/index.js +30 -135
  142. package/dist/components/instance-table/logic.js +122 -0
  143. package/dist/components/instance-table/styled.js +53 -11
  144. package/dist/components/instance-variable-list/index.js +11 -11
  145. package/dist/components/loading/index.js +15 -9
  146. package/dist/components/loading/logic.js +15 -0
  147. package/dist/components/loading/styled.js +26 -19
  148. package/dist/components/map/index.js +28 -6
  149. package/dist/components/map/styled.js +1 -1
  150. package/dist/components/notification/index.js +67 -0
  151. package/dist/components/notification/logic.js +30 -0
  152. package/dist/components/notification/store.js +23 -0
  153. package/dist/components/notification/styled.js +52 -0
  154. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  155. package/dist/components/object-profile-card/index.js +19 -20
  156. package/dist/components/paginated-list/index.js +2 -3
  157. package/dist/components/phone-input/index.js +18 -22
  158. package/dist/components/phone-input/logic.js +14 -0
  159. package/dist/components/phone-input/styled.js +12 -4
  160. package/dist/components/placeholder/index.js +10 -0
  161. package/dist/components/placeholder/logic.js +12 -0
  162. package/dist/components/placeholder/styled.js +32 -0
  163. package/dist/components/positional-tooltip/index.js +24 -0
  164. package/dist/components/positional-tooltip/styled.js +17 -0
  165. package/dist/components/property-mapping/index.js +204 -423
  166. package/dist/components/property-mapping/logic.js +156 -0
  167. package/dist/components/property-mapping/styled.js +199 -0
  168. package/dist/components/prr-map/components/controls/index.js +4 -6
  169. package/dist/components/prr-map/components/legend/index.js +26 -28
  170. package/dist/components/prr-map/index.js +5 -5
  171. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  172. package/dist/components/range-selector/components/date-range/index.js +87 -4221
  173. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  174. package/dist/components/range-selector/components/number-range/index.js +48 -53
  175. package/dist/components/range-selector/components/string-range/index.js +15 -17
  176. package/dist/components/range-selector/index.js +63 -57
  177. package/dist/components/range-selector/logic.js +12 -0
  178. package/dist/components/range-selector/styled.js +4294 -0
  179. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  180. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  181. package/dist/components/raster-grid-map/index.js +5 -5
  182. package/dist/components/scroll-drag/index.js +22 -0
  183. package/dist/components/scroll-drag/logic.js +39 -0
  184. package/dist/components/scroll-drag/styled.js +17 -0
  185. package/dist/components/search-input/logic.js +35 -33
  186. package/dist/components/simple-pivot-table/index.js +12 -12
  187. package/dist/components/sortable-list/index.js +599 -0
  188. package/dist/components/sortable-list/logic.js +18 -0
  189. package/dist/components/sortable-list/styled.js +38 -0
  190. package/dist/components/static-text/index.js +6 -6
  191. package/dist/components/stats-box/index.js +12 -0
  192. package/dist/components/stats-box/styled.js +36 -0
  193. package/dist/components/template-filters/components/filter/index.js +13 -18
  194. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  195. package/dist/components/template-filters/index.js +21 -29
  196. package/dist/components/template-filters/logic.js +18 -0
  197. package/dist/components/template-filters/styled.js +44 -1
  198. package/dist/components/template-form/components/property-list/index.js +27 -26
  199. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  200. package/dist/components/template-form/components/property-list/property-list-form.js +758 -14
  201. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  202. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  203. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -23
  204. package/dist/components/template-form/components/select-icon/index.js +24 -24
  205. package/dist/components/template-form/helpers.js +17 -0
  206. package/dist/components/template-form/index.js +270 -309
  207. package/dist/components/template-form/logic.js +69 -0
  208. package/dist/components/template-form/styled.js +84 -0
  209. package/dist/components/template-property-filters/index.js +45 -95
  210. package/dist/components/template-property-filters/logic.js +27 -0
  211. package/dist/components/template-property-filters/property.js +105 -165
  212. package/dist/components/template-property-filters/styled.js +121 -20
  213. package/dist/components/text-overflow/index.js +6 -0
  214. package/dist/components/text-overflow/styled.js +13 -0
  215. package/dist/components/timeline/index.js +12 -12
  216. package/dist/components/toggle-view-button/index.js +35 -0
  217. package/dist/components/toggle-view-button/logic.js +22 -0
  218. package/dist/components/toggle-view-button/styled.js +11 -0
  219. package/dist/components/tree-select/index.js +52 -67
  220. package/dist/components/tree-select/logic.js +59 -0
  221. package/dist/components/tree-select/styled.js +45 -62
  222. package/dist/components/treeview-filter/index.js +43 -65
  223. package/dist/components/treeview-filter/item/index.js +43 -42
  224. package/dist/components/treeview-filter/item-label/index.js +17 -37
  225. package/dist/components/treeview-filter/logic.js +28 -0
  226. package/dist/components/treeview-filter/styled.js +86 -0
  227. package/dist/components/uploader/index.js +532 -567
  228. package/dist/components/uploader/logic.js +74 -0
  229. package/dist/components/uploader/styled.js +93 -46
  230. package/dist/components/visually-hidden-input/index.js +4 -0
  231. package/dist/components/visually-hidden-input/styled.js +18 -0
  232. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  233. package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-Ch_cT8az.js} +69 -68
  234. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  235. package/dist/{dialog-DcwXug9J.js → dialog-BYRnCztH.js} +18 -18
  236. package/dist/formControlState-vgaj2ksH.js +10 -0
  237. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  238. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  239. package/dist/index-BtlzPygz.js +470 -0
  240. package/dist/index-DH6qsPBn.js +153 -0
  241. package/dist/{index-syTc6m_V.js → index-e9xTIYWt.js} +87 -87
  242. package/dist/main.d.ts +1722 -562
  243. package/dist/main.js +161 -128
  244. package/dist/ownerWindow-wg6foiOE.js +10 -0
  245. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  246. package/dist/styled-Db1RdcPA.js +323 -0
  247. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  248. package/dist/useId-BW-oWmul.js +19 -0
  249. package/dist/useMobilePicker-CY8ndYRL.js +8279 -0
  250. package/dist/useSlot-B_Q4vnX5.js +42 -0
  251. package/package.json +15 -7
  252. package/dist/AccordionSummary-DgAwVTk8.js +0 -742
  253. package/dist/Add-DJLrrVHm.js +0 -382
  254. package/dist/Box-p6OtTUEo.js +0 -30
  255. package/dist/ButtonBase-2bPw77UP.js +0 -961
  256. package/dist/CardContent-CSHh-ZlM.js +0 -74
  257. package/dist/Checkbox-CWRMFTBp.js +0 -421
  258. package/dist/FormControl-BLbrq4C7.js +0 -1636
  259. package/dist/FormControlLabel-C8SPv14J.js +0 -195
  260. package/dist/InputAdornment-DLxWUE6H.js +0 -157
  261. package/dist/List-tqElle9C.js +0 -121
  262. package/dist/ListItem-CfjsIg4B.js +0 -430
  263. package/dist/Modal-DhPpOoGB.js +0 -1299
  264. package/dist/Paper-2B03OBmZ.js +0 -169
  265. package/dist/Select-BgYwkZgI.js +0 -2613
  266. package/dist/TextField-1yCesIbH.js +0 -457
  267. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  268. package/dist/capitalize-ciszXJ7R.js +0 -9
  269. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  270. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  271. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  272. package/dist/components/key-protection/index.js +0 -4
  273. package/dist/components/key-protection/menu.js +0 -85
  274. package/dist/components/key-protection/utils.js +0 -10
  275. package/dist/components/treeview-filter/item/styled.js +0 -39
  276. package/dist/createSvgIcon-BjpIhJ30.js +0 -71
  277. package/dist/createTheme-DYxDnE9u.js +0 -612
  278. package/dist/index-BMS1Otro.js +0 -183
  279. package/dist/index-CcdvNlgr.js +0 -503
  280. package/dist/index-kCJ_Zvl8.js +0 -34
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  283. package/dist/listItemTextClasses-C3lndiXO.js +0 -16
  284. package/dist/property-list-form-zZQfpR0X.js +0 -386
  285. package/dist/styled-eZwjUruw.js +0 -12
  286. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  287. package/dist/useId-B4-oF9Mq.js +0 -34
  288. package/dist/useMobilePicker-BLg3Blg8.js +0 -7589
  289. package/dist/useThemeProps-BzzHcQyd.js +0 -58
  290. package/dist/utils-BDNynJcd.js +0 -365
  291. package/dist/utils-Bq0ye5vf.js +0 -115
@@ -1,16 +1,760 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "lodash";
4
- import { a as b } from "../../../../property-list-form-zZQfpR0X.js";
5
- import "../../../../constants/index.js";
6
- import "../../../../TextField-1yCesIbH.js";
7
- import "../../../../FormControl-BLbrq4C7.js";
8
- import "../../../../Select-BgYwkZgI.js";
9
- import "../../../../MenuItem-xZx_w7zA.js";
10
- import "../../../../FormControlLabel-C8SPv14J.js";
11
- import "../../../../Checkbox-CWRMFTBp.js";
12
- import "../../../../Box-p6OtTUEo.js";
13
- import "../../../../Button-CvE2gnly.js";
1
+ import de, { jsx as t, jsxs as f, Fragment as pe } from "react/jsx-runtime";
2
+ import * as z from "react";
3
+ import V from "react";
4
+ import me from "lodash";
5
+ import { g as te, a as ae, s as G, r as ue, b as _, f as fe, u as Q, c as le, i as be } from "../../../../generateUtilityClasses-C3ivN9Ie.js";
6
+ import { r as he } from "../../../../createSvgIcon-DuDuASu1.js";
7
+ import { DATA_TYPES as Y, COORDINATE_FORMAT as ye, PRIVACY_PRESERVATION_METHOD as ee } from "../../../../constants/index.js";
8
+ import { LabeledField as I } from "../../helpers.js";
9
+ import { T as B, F as A } from "../../../../TextField-e2oKaUN1.js";
10
+ import { I as W } from "../../../../InputLabel-Dd8RrneV.js";
11
+ import { S as H } from "../../../../Select-DHUl_uG3.js";
12
+ import { M as U } from "../../../../MenuItem-DwqJqzuM.js";
13
+ import { F as ve } from "../../../../FormGroup-CpBsIyYR.js";
14
+ import { a as v, _ as ne } from "../../../../objectWithoutPropertiesLoose-DJteAcBH.js";
15
+ import { P as e } from "../../../../index-C__OZmYy.js";
16
+ import { c as J } from "../../../../clsx-OuTLNxxd.js";
17
+ import { f as Te } from "../../../../formControlState-vgaj2ksH.js";
18
+ import { u as Ce } from "../../../../useFormControl-CatNKXAi.js";
19
+ import { T as oe } from "../../../../Typography-DgsSLCFC.js";
20
+ import { createStack as xe } from "@mui/system";
21
+ import { r as ie } from "../../../../TransitionGroupContext-BDAp2T0O.js";
22
+ import { S as Ie } from "../../../../SwitchBase-DTndTqI8.js";
23
+ import { c as X } from "../../../../createSvgIcon-Ch_cT8az.js";
24
+ import { B as ge } from "../../../../Box-DqUMmZjL.js";
25
+ import { B as re } from "../../../../Button-C5yquWAB.js";
26
+ const ke = X(/* @__PURE__ */ t("path", {
27
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
28
+ }), "CheckBoxOutlineBlank"), Oe = X(/* @__PURE__ */ t("path", {
29
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
30
+ }), "CheckBox"), Pe = X(/* @__PURE__ */ t("path", {
31
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
32
+ }), "IndeterminateCheckBox");
33
+ function Re(r) {
34
+ return ae("MuiCheckbox", r);
35
+ }
36
+ const K = te("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Fe = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], Me = (r) => {
37
+ const {
38
+ classes: o,
39
+ indeterminate: i,
40
+ color: p,
41
+ size: d
42
+ } = r, s = {
43
+ root: ["root", i && "indeterminate", `color${_(p)}`, `size${_(d)}`]
44
+ }, a = le(s, Re, o);
45
+ return v({}, o, a);
46
+ }, Se = G(Ie, {
47
+ shouldForwardProp: (r) => ue(r) || r === "classes",
48
+ name: "MuiCheckbox",
49
+ slot: "Root",
50
+ overridesResolver: (r, o) => {
51
+ const {
52
+ ownerState: i
53
+ } = r;
54
+ return [o.root, i.indeterminate && o.indeterminate, o[`size${_(i.size)}`], i.color !== "default" && o[`color${_(i.color)}`]];
55
+ }
56
+ })(({
57
+ theme: r,
58
+ ownerState: o
59
+ }) => v({
60
+ color: (r.vars || r).palette.text.secondary
61
+ }, !o.disableRipple && {
62
+ "&:hover": {
63
+ backgroundColor: r.vars ? `rgba(${o.color === "default" ? r.vars.palette.action.activeChannel : r.vars.palette[o.color].mainChannel} / ${r.vars.palette.action.hoverOpacity})` : fe(o.color === "default" ? r.palette.action.active : r.palette[o.color].main, r.palette.action.hoverOpacity),
64
+ // Reset on touch devices, it doesn't add specificity
65
+ "@media (hover: none)": {
66
+ backgroundColor: "transparent"
67
+ }
68
+ }
69
+ }, o.color !== "default" && {
70
+ [`&.${K.checked}, &.${K.indeterminate}`]: {
71
+ color: (r.vars || r).palette[o.color].main
72
+ },
73
+ [`&.${K.disabled}`]: {
74
+ color: (r.vars || r).palette.action.disabled
75
+ }
76
+ })), qe = /* @__PURE__ */ t(Oe, {}), _e = /* @__PURE__ */ t(ke, {}), $e = /* @__PURE__ */ t(Pe, {}), P = /* @__PURE__ */ z.forwardRef(function(o, i) {
77
+ var p, d;
78
+ const s = Q({
79
+ props: o,
80
+ name: "MuiCheckbox"
81
+ }), {
82
+ checkedIcon: a = qe,
83
+ color: g = "primary",
84
+ icon: m = _e,
85
+ indeterminate: u = !1,
86
+ indeterminateIcon: n = $e,
87
+ inputProps: $,
88
+ size: T = "medium",
89
+ className: k
90
+ } = s, F = ne(s, Fe), O = u ? n : m, b = u ? n : a, C = v({}, s, {
91
+ color: g,
92
+ indeterminate: u,
93
+ size: T
94
+ }), h = Me(C);
95
+ return /* @__PURE__ */ t(Se, v({
96
+ type: "checkbox",
97
+ inputProps: v({
98
+ "data-indeterminate": u
99
+ }, $),
100
+ icon: /* @__PURE__ */ z.cloneElement(O, {
101
+ fontSize: (p = O.props.fontSize) != null ? p : T
102
+ }),
103
+ checkedIcon: /* @__PURE__ */ z.cloneElement(b, {
104
+ fontSize: (d = b.props.fontSize) != null ? d : T
105
+ }),
106
+ ownerState: C,
107
+ ref: i,
108
+ className: J(h.root, k)
109
+ }, F, {
110
+ classes: h
111
+ }));
112
+ });
113
+ process.env.NODE_ENV !== "production" && (P.propTypes = {
114
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
115
+ // │ These PropTypes are generated from the TypeScript type definitions. │
116
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
117
+ // └─────────────────────────────────────────────────────────────────────┘
118
+ /**
119
+ * If `true`, the component is checked.
120
+ */
121
+ checked: e.bool,
122
+ /**
123
+ * The icon to display when the component is checked.
124
+ * @default <CheckBoxIcon />
125
+ */
126
+ checkedIcon: e.node,
127
+ /**
128
+ * Override or extend the styles applied to the component.
129
+ */
130
+ classes: e.object,
131
+ /**
132
+ * @ignore
133
+ */
134
+ className: e.string,
135
+ /**
136
+ * The color of the component.
137
+ * It supports both default and custom theme colors, which can be added as shown in the
138
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
139
+ * @default 'primary'
140
+ */
141
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
142
+ /**
143
+ * The default checked state. Use when the component is not controlled.
144
+ */
145
+ defaultChecked: e.bool,
146
+ /**
147
+ * If `true`, the component is disabled.
148
+ * @default false
149
+ */
150
+ disabled: e.bool,
151
+ /**
152
+ * If `true`, the ripple effect is disabled.
153
+ * @default false
154
+ */
155
+ disableRipple: e.bool,
156
+ /**
157
+ * The icon to display when the component is unchecked.
158
+ * @default <CheckBoxOutlineBlankIcon />
159
+ */
160
+ icon: e.node,
161
+ /**
162
+ * The id of the `input` element.
163
+ */
164
+ id: e.string,
165
+ /**
166
+ * If `true`, the component appears indeterminate.
167
+ * This does not set the native input element to indeterminate due
168
+ * to inconsistent behavior across browsers.
169
+ * However, we set a `data-indeterminate` attribute on the `input`.
170
+ * @default false
171
+ */
172
+ indeterminate: e.bool,
173
+ /**
174
+ * The icon to display when the component is indeterminate.
175
+ * @default <IndeterminateCheckBoxIcon />
176
+ */
177
+ indeterminateIcon: e.node,
178
+ /**
179
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
180
+ */
181
+ inputProps: e.object,
182
+ /**
183
+ * Pass a ref to the `input` element.
184
+ */
185
+ inputRef: ie,
186
+ /**
187
+ * Callback fired when the state is changed.
188
+ *
189
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
190
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
191
+ */
192
+ onChange: e.func,
193
+ /**
194
+ * If `true`, the `input` element is required.
195
+ * @default false
196
+ */
197
+ required: e.bool,
198
+ /**
199
+ * The size of the component.
200
+ * `small` is equivalent to the dense checkbox styling.
201
+ * @default 'medium'
202
+ */
203
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
204
+ /**
205
+ * The system prop that allows defining system overrides as well as additional CSS styles.
206
+ */
207
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
208
+ /**
209
+ * The value of the component. The DOM API casts this to a string.
210
+ * The browser uses "on" as the default value.
211
+ */
212
+ value: e.any
213
+ });
214
+ const se = xe({
215
+ createStyledComponent: G("div", {
216
+ name: "MuiStack",
217
+ slot: "Root",
218
+ overridesResolver: (r, o) => o.root
219
+ }),
220
+ useThemeProps: (r) => Q({
221
+ props: r,
222
+ name: "MuiStack"
223
+ })
224
+ });
225
+ process.env.NODE_ENV !== "production" && (se.propTypes = {
226
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
227
+ // │ These PropTypes are generated from the TypeScript type definitions. │
228
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
229
+ // └─────────────────────────────────────────────────────────────────────┘
230
+ /**
231
+ * The content of the component.
232
+ */
233
+ children: e.node,
234
+ /**
235
+ * The component used for the root node.
236
+ * Either a string to use a HTML element or a component.
237
+ */
238
+ component: e.elementType,
239
+ /**
240
+ * Defines the `flex-direction` style property.
241
+ * It is applied for all screen sizes.
242
+ * @default 'column'
243
+ */
244
+ direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
245
+ /**
246
+ * Add an element between each child.
247
+ */
248
+ divider: e.node,
249
+ /**
250
+ * Defines the space between immediate children.
251
+ * @default 0
252
+ */
253
+ spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
254
+ /**
255
+ * The system prop, which allows defining system overrides as well as additional CSS styles.
256
+ */
257
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
258
+ /**
259
+ * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
260
+ *
261
+ * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
262
+ * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
263
+ *
264
+ * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
265
+ * @default false
266
+ */
267
+ useFlexGap: e.bool
268
+ });
269
+ function je(r) {
270
+ return ae("MuiFormControlLabel", r);
271
+ }
272
+ const E = te("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), Ee = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"], ze = (r) => {
273
+ const {
274
+ classes: o,
275
+ disabled: i,
276
+ labelPlacement: p,
277
+ error: d,
278
+ required: s
279
+ } = r, a = {
280
+ root: ["root", i && "disabled", `labelPlacement${_(p)}`, d && "error", s && "required"],
281
+ label: ["label", i && "disabled"],
282
+ asterisk: ["asterisk", d && "error"]
283
+ };
284
+ return le(a, je, o);
285
+ }, Ne = G("label", {
286
+ name: "MuiFormControlLabel",
287
+ slot: "Root",
288
+ overridesResolver: (r, o) => {
289
+ const {
290
+ ownerState: i
291
+ } = r;
292
+ return [{
293
+ [`& .${E.label}`]: o.label
294
+ }, o.root, o[`labelPlacement${_(i.labelPlacement)}`]];
295
+ }
296
+ })(({
297
+ theme: r,
298
+ ownerState: o
299
+ }) => v({
300
+ display: "inline-flex",
301
+ alignItems: "center",
302
+ cursor: "pointer",
303
+ // For correct alignment with the text.
304
+ verticalAlign: "middle",
305
+ WebkitTapHighlightColor: "transparent",
306
+ marginLeft: -11,
307
+ marginRight: 16,
308
+ // used for row presentation of radio/checkbox
309
+ [`&.${E.disabled}`]: {
310
+ cursor: "default"
311
+ }
312
+ }, o.labelPlacement === "start" && {
313
+ flexDirection: "row-reverse",
314
+ marginLeft: 16,
315
+ // used for row presentation of radio/checkbox
316
+ marginRight: -11
317
+ }, o.labelPlacement === "top" && {
318
+ flexDirection: "column-reverse",
319
+ marginLeft: 16
320
+ }, o.labelPlacement === "bottom" && {
321
+ flexDirection: "column",
322
+ marginLeft: 16
323
+ }, {
324
+ [`& .${E.label}`]: {
325
+ [`&.${E.disabled}`]: {
326
+ color: (r.vars || r).palette.text.disabled
327
+ }
328
+ }
329
+ })), Le = G("span", {
330
+ name: "MuiFormControlLabel",
331
+ slot: "Asterisk",
332
+ overridesResolver: (r, o) => o.asterisk
333
+ })(({
334
+ theme: r
335
+ }) => ({
336
+ [`&.${E.error}`]: {
337
+ color: (r.vars || r).palette.error.main
338
+ }
339
+ })), R = /* @__PURE__ */ z.forwardRef(function(o, i) {
340
+ var p, d;
341
+ const s = Q({
342
+ props: o,
343
+ name: "MuiFormControlLabel"
344
+ }), {
345
+ className: a,
346
+ componentsProps: g = {},
347
+ control: m,
348
+ disabled: u,
349
+ disableTypography: n,
350
+ label: $,
351
+ labelPlacement: T = "end",
352
+ required: k,
353
+ slotProps: F = {}
354
+ } = s, O = ne(s, Ee), b = Ce(), C = (p = u ?? m.props.disabled) != null ? p : b == null ? void 0 : b.disabled, h = k ?? m.props.required, j = {
355
+ disabled: C,
356
+ required: h
357
+ };
358
+ ["checked", "name", "onChange", "value", "inputRef"].forEach((l) => {
359
+ typeof m.props[l] > "u" && typeof s[l] < "u" && (j[l] = s[l]);
360
+ });
361
+ const N = Te({
362
+ props: s,
363
+ muiFormControl: b,
364
+ states: ["error"]
365
+ }), M = v({}, s, {
366
+ disabled: C,
367
+ labelPlacement: T,
368
+ required: h,
369
+ error: N.error
370
+ }), S = ze(M), q = (d = F.typography) != null ? d : g.typography;
371
+ let y = $;
372
+ return y != null && y.type !== oe && !n && (y = /* @__PURE__ */ t(oe, v({
373
+ component: "span"
374
+ }, q, {
375
+ className: J(S.label, q == null ? void 0 : q.className),
376
+ children: y
377
+ }))), /* @__PURE__ */ f(Ne, v({
378
+ className: J(S.root, a),
379
+ ownerState: M,
380
+ ref: i
381
+ }, O, {
382
+ children: [/* @__PURE__ */ z.cloneElement(m, j), h ? /* @__PURE__ */ f(se, {
383
+ display: "block",
384
+ children: [y, /* @__PURE__ */ f(Le, {
385
+ ownerState: M,
386
+ "aria-hidden": !0,
387
+ className: S.asterisk,
388
+ children: [" ", "*"]
389
+ })]
390
+ }) : y]
391
+ }));
392
+ });
393
+ process.env.NODE_ENV !== "production" && (R.propTypes = {
394
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
395
+ // │ These PropTypes are generated from the TypeScript type definitions. │
396
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
397
+ // └─────────────────────────────────────────────────────────────────────┘
398
+ /**
399
+ * If `true`, the component appears selected.
400
+ */
401
+ checked: e.bool,
402
+ /**
403
+ * Override or extend the styles applied to the component.
404
+ */
405
+ classes: e.object,
406
+ /**
407
+ * @ignore
408
+ */
409
+ className: e.string,
410
+ /**
411
+ * The props used for each slot inside.
412
+ * @default {}
413
+ */
414
+ componentsProps: e.shape({
415
+ typography: e.object
416
+ }),
417
+ /**
418
+ * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
419
+ */
420
+ control: e.element.isRequired,
421
+ /**
422
+ * If `true`, the control is disabled.
423
+ */
424
+ disabled: e.bool,
425
+ /**
426
+ * If `true`, the label is rendered as it is passed without an additional typography node.
427
+ */
428
+ disableTypography: e.bool,
429
+ /**
430
+ * Pass a ref to the `input` element.
431
+ */
432
+ inputRef: ie,
433
+ /**
434
+ * A text or an element to be used in an enclosing label element.
435
+ */
436
+ label: e.node,
437
+ /**
438
+ * The position of the label.
439
+ * @default 'end'
440
+ */
441
+ labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
442
+ /**
443
+ * @ignore
444
+ */
445
+ name: e.string,
446
+ /**
447
+ * Callback fired when the state is changed.
448
+ *
449
+ * @param {React.SyntheticEvent} event The event source of the callback.
450
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
451
+ */
452
+ onChange: e.func,
453
+ /**
454
+ * If `true`, the label will indicate that the `input` is required.
455
+ */
456
+ required: e.bool,
457
+ /**
458
+ * The props used for each slot inside.
459
+ * @default {}
460
+ */
461
+ slotProps: e.shape({
462
+ typography: e.object
463
+ }),
464
+ /**
465
+ * The system prop that allows defining system overrides as well as additional CSS styles.
466
+ */
467
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
468
+ /**
469
+ * The value of the component.
470
+ */
471
+ value: e.any
472
+ });
473
+ var Z = {}, we = be;
474
+ Object.defineProperty(Z, "__esModule", {
475
+ value: !0
476
+ });
477
+ var ce = Z.default = void 0, De = we(he()), Ve = de;
478
+ ce = Z.default = (0, De.default)(/* @__PURE__ */ (0, Ve.jsx)("path", {
479
+ d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
480
+ }), "Check");
481
+ function uo({
482
+ inputVariant: r,
483
+ labelPosition: o = "default",
484
+ defaultValues: i = {
485
+ name: "",
486
+ propertyId: "",
487
+ type: Y[0],
488
+ dataTypeInfo: {},
489
+ defaultValue: "",
490
+ privacyPreservationMethod: ee[0],
491
+ required: !1,
492
+ visible: !1,
493
+ editable: !1,
494
+ distinctive: !1,
495
+ temporal: !1,
496
+ unique: !1
497
+ },
498
+ disablePropertyId: p,
499
+ onSubmit: d,
500
+ onCancel: s
501
+ }) {
502
+ var T, k, F, O, b, C, h, j, N, M, S, q, y;
503
+ const [a, g] = V.useState(i), [m, u] = V.useState({
504
+ name: !1
505
+ }), n = (l) => {
506
+ var L, w;
507
+ const c = l.target.name;
508
+ let x = l.target.type === "checkbox" ? l.target.checked : l.target.value;
509
+ if (a.type === "enum" && c === "dataTypeInfo.enumValues" && (x = x.split(",")), ((w = (L = a.dataTypeInfo) == null ? void 0 : L.innerType) == null ? void 0 : w.type) === "enum" && c === "dataTypeInfo.innerType.enumValues" && (x = x.split(",")), c.includes(".")) {
510
+ let D = { ...a };
511
+ me.set(D, c, x), g(D);
512
+ return;
513
+ }
514
+ g((D) => ({
515
+ ...D,
516
+ [c]: x
517
+ }));
518
+ }, $ = () => {
519
+ if (!a.name) {
520
+ u({ ...m, name: !0 });
521
+ return;
522
+ }
523
+ d(a);
524
+ };
525
+ return V.useEffect(() => (m.name && a.name && u({ ...m, name: !1 }), () => {
526
+ }), [a.name]), V.useEffect(() => {
527
+ if (![
528
+ "date",
529
+ "coordinate",
530
+ "composite-list",
531
+ "enum",
532
+ "composite-matrix"
533
+ ].includes(a.type)) {
534
+ if (a.dataTypeInfo) {
535
+ const { coordinateFormat: l, datePattern: c, innerType: x, enumValues: L } = a.dataTypeInfo;
536
+ (l || c || x || L) && g((w) => ({ ...w, dataTypeInfo: {} }));
537
+ }
538
+ return () => {
539
+ };
540
+ }
541
+ }, [a.type]), /* @__PURE__ */ f(pe, { children: [
542
+ /* @__PURE__ */ t(I, { label: "Name", required: !0, labelPosition: o, children: /* @__PURE__ */ t(
543
+ B,
544
+ {
545
+ label: o === "default" ? "Name" : void 0,
546
+ name: "name",
547
+ variant: r,
548
+ fullWidth: !0,
549
+ sx: { mb: 2, mt: 0.5 },
550
+ value: a.name,
551
+ onChange: n,
552
+ required: !0,
553
+ ...m.name && {
554
+ error: !0,
555
+ helperText: "This field is required!"
556
+ }
557
+ }
558
+ ) }),
559
+ /* @__PURE__ */ t(I, { label: "Property ID", labelPosition: o, children: /* @__PURE__ */ t(
560
+ B,
561
+ {
562
+ label: o === "default" ? "Property ID" : void 0,
563
+ name: "propertyId",
564
+ variant: r,
565
+ fullWidth: !0,
566
+ disabled: p,
567
+ sx: { mb: 2 },
568
+ value: a.propertyId,
569
+ onChange: n
570
+ }
571
+ ) }),
572
+ /* @__PURE__ */ t(I, { label: "Type", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
573
+ o === "default" && /* @__PURE__ */ t(W, { id: "type-select-label", children: "Type" }),
574
+ /* @__PURE__ */ t(
575
+ H,
576
+ {
577
+ label: o === "default" ? "Type" : void 0,
578
+ name: "type",
579
+ labelId: "type-select-label",
580
+ id: "type-select",
581
+ value: a.type,
582
+ onChange: n,
583
+ children: Y.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
584
+ }
585
+ )
586
+ ] }) }),
587
+ a.type === "coordinate" && /* @__PURE__ */ t(I, { label: "Coordinate Format", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
588
+ o === "default" && /* @__PURE__ */ t(W, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
589
+ /* @__PURE__ */ t(
590
+ H,
591
+ {
592
+ label: o === "default" ? "Coordinate Format" : void 0,
593
+ name: "dataTypeInfo.coordinateFormat",
594
+ labelId: "coordinate-format-select-label",
595
+ id: "coordinate-format-select",
596
+ value: (T = a.dataTypeInfo) == null ? void 0 : T.coordinateFormat,
597
+ onChange: n,
598
+ children: ye.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
599
+ }
600
+ )
601
+ ] }) }),
602
+ (a.type === "composite-list" || a.type === "composite-matrix") && /* @__PURE__ */ t(I, { label: "Inner Type", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
603
+ o === "default" && /* @__PURE__ */ t(W, { id: "composite-list-select-label", children: "Inner Type" }),
604
+ /* @__PURE__ */ t(
605
+ H,
606
+ {
607
+ label: o === "default" ? "Inner Type" : void 0,
608
+ name: "dataTypeInfo.innerType.type",
609
+ labelId: "composite-list-select-label",
610
+ id: "composite-list-select",
611
+ value: (F = (k = a.dataTypeInfo) == null ? void 0 : k.innerType) == null ? void 0 : F.type,
612
+ onChange: n,
613
+ children: Y.filter(
614
+ (l) => l !== "composite-list" && l !== "list"
615
+ ).map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
616
+ }
617
+ )
618
+ ] }) }),
619
+ (a.type === "enum" || ((b = (O = a.dataTypeInfo) == null ? void 0 : O.innerType) == null ? void 0 : b.type) === "enum") && /* @__PURE__ */ t(I, { label: "Enum Values", labelPosition: o, children: /* @__PURE__ */ t(
620
+ B,
621
+ {
622
+ label: o === "default" ? "Enum Values" : void 0,
623
+ name: ((h = (C = a.dataTypeInfo) == null ? void 0 : C.innerType) == null ? void 0 : h.type) === "enum" ? "dataTypeInfo.innerType.enumValues" : "dataTypeInfo.enumValues",
624
+ variant: r,
625
+ fullWidth: !0,
626
+ sx: { mb: 2 },
627
+ value: ((N = (j = a.dataTypeInfo) == null ? void 0 : j.innerType) == null ? void 0 : N.type) === "enum" ? (S = (M = a.dataTypeInfo.innerType) == null ? void 0 : M.enumValues) == null ? void 0 : S.join(",") : (y = (q = a.dataTypeInfo) == null ? void 0 : q.enumValues) == null ? void 0 : y.join(","),
628
+ onChange: n,
629
+ helperText: "Add list values with the comma (,) separated string"
630
+ }
631
+ ) }),
632
+ /* @__PURE__ */ t(I, { label: "Default Value", labelPosition: o, children: /* @__PURE__ */ t(
633
+ B,
634
+ {
635
+ label: o === "default" ? "Default Value" : void 0,
636
+ name: "defaultValue",
637
+ variant: r,
638
+ fullWidth: !0,
639
+ sx: { mb: 2 },
640
+ value: a.defaultValue,
641
+ onChange: n
642
+ }
643
+ ) }),
644
+ /* @__PURE__ */ t(I, { label: "Privacy Preservation Method", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
645
+ o === "default" && /* @__PURE__ */ t(W, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
646
+ /* @__PURE__ */ t(
647
+ H,
648
+ {
649
+ label: o === "default" ? "Privacy Preservation Method" : void 0,
650
+ name: "privacyPreservationMethod",
651
+ labelId: "privacy-method-label",
652
+ id: "privacy-method",
653
+ value: a.privacyPreservationMethod,
654
+ onChange: n,
655
+ children: ee.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
656
+ }
657
+ )
658
+ ] }) }),
659
+ /* @__PURE__ */ f(ve, { row: !0, sx: { mb: 2 }, children: [
660
+ /* @__PURE__ */ t(
661
+ R,
662
+ {
663
+ label: "Required",
664
+ control: /* @__PURE__ */ t(
665
+ P,
666
+ {
667
+ name: "required",
668
+ checked: a.required,
669
+ onChange: n
670
+ }
671
+ ),
672
+ sx: { width: "30%" }
673
+ }
674
+ ),
675
+ /* @__PURE__ */ t(
676
+ R,
677
+ {
678
+ label: "Editable",
679
+ control: /* @__PURE__ */ t(
680
+ P,
681
+ {
682
+ name: "editable",
683
+ checked: a.editable,
684
+ onChange: n
685
+ }
686
+ ),
687
+ sx: { width: "30%" }
688
+ }
689
+ ),
690
+ /* @__PURE__ */ t(
691
+ R,
692
+ {
693
+ label: "Visible",
694
+ control: /* @__PURE__ */ t(
695
+ P,
696
+ {
697
+ name: "visible",
698
+ checked: a.visible,
699
+ onChange: n
700
+ }
701
+ ),
702
+ sx: { width: "30%" }
703
+ }
704
+ ),
705
+ /* @__PURE__ */ t(
706
+ R,
707
+ {
708
+ label: "Unique",
709
+ control: /* @__PURE__ */ t(P, { name: "unique", checked: a.unique, onChange: n }),
710
+ sx: { width: "30%" }
711
+ }
712
+ ),
713
+ /* @__PURE__ */ t(
714
+ R,
715
+ {
716
+ label: "Distinctive",
717
+ control: /* @__PURE__ */ t(
718
+ P,
719
+ {
720
+ name: "distinctive",
721
+ checked: a.distinctive,
722
+ onChange: n
723
+ }
724
+ ),
725
+ sx: { width: "30%" }
726
+ }
727
+ ),
728
+ /* @__PURE__ */ t(
729
+ R,
730
+ {
731
+ label: "Temporal",
732
+ control: /* @__PURE__ */ t(
733
+ P,
734
+ {
735
+ name: "temporal",
736
+ checked: a.temporal,
737
+ onChange: n
738
+ }
739
+ ),
740
+ sx: { width: "30%" }
741
+ }
742
+ )
743
+ ] }),
744
+ /* @__PURE__ */ f(ge, { display: "flex", justifyContent: "flex-end", children: [
745
+ /* @__PURE__ */ t(re, { variant: "contained", onClick: s, sx: { marginRight: 2 }, children: "Cancel" }),
746
+ /* @__PURE__ */ t(
747
+ re,
748
+ {
749
+ variant: "contained",
750
+ startIcon: /* @__PURE__ */ t(ce, {}),
751
+ onClick: $,
752
+ children: "OK"
753
+ }
754
+ )
755
+ ] })
756
+ ] });
757
+ }
14
758
  export {
15
- b as default
759
+ uo as default
16
760
  };