@hybridcore/ui 1.6.1 → 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 (231) 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-C5yquWAB.js +357 -0
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
  12. package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
  13. package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
  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-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
  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/logic.js +1 -1
  26. package/dist/components/button/index.js +10 -0
  27. package/dist/components/button/logic.js +26 -0
  28. package/dist/components/button/styled.js +9 -0
  29. package/dist/components/charts/_common/chart-error.js +19 -0
  30. package/dist/components/charts/candlestick/index.js +3 -3
  31. package/dist/components/charts/candlestick/logic.js +123 -113
  32. package/dist/components/charts/chart-wrapper/index.js +5 -5
  33. package/dist/components/charts/column-line-mix/index.js +9 -8
  34. package/dist/components/charts/column-line-mix/logic.js +68 -71
  35. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  36. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  37. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  38. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  39. package/dist/components/charts/heatmap/index.js +9 -8
  40. package/dist/components/charts/heatmap/logic.js +167 -173
  41. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  42. package/dist/components/charts/line/index.js +9 -8
  43. package/dist/components/charts/line/logic.js +74 -79
  44. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  45. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  46. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  47. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  48. package/dist/components/charts/nested-pie/index.js +9 -8
  49. package/dist/components/charts/nested-pie/logic.js +62 -68
  50. package/dist/components/charts/packed-circles/index.js +7 -6
  51. package/dist/components/charts/packed-circles/logic.js +50 -56
  52. package/dist/components/charts/pie-chart/index.js +9 -8
  53. package/dist/components/charts/pie-chart/logic.js +49 -54
  54. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  55. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  56. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  57. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  58. package/dist/components/charts/xy-chart/index.js +9 -8
  59. package/dist/components/charts/xy-chart/logic.js +56 -60
  60. package/dist/components/collapsible-card/index.js +11 -10
  61. package/dist/components/collapsible-card/styled.js +1 -1
  62. package/dist/components/color-picker/index.js +7120 -0
  63. package/dist/components/color-picker/logic.js +18 -0
  64. package/dist/components/color-picker/styled.js +7 -0
  65. package/dist/components/confirm/dialog.js +3 -3
  66. package/dist/components/confirm/index.js +1 -1
  67. package/dist/components/data-grid/index.js +22 -0
  68. package/dist/components/data-grid/logic.js +15 -0
  69. package/dist/components/data-grid/styled.js +20 -0
  70. package/dist/components/data-map/components/controls/index.js +4 -6
  71. package/dist/components/data-map/index.js +11 -11
  72. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  73. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  74. package/dist/components/data-security-selectors/security-level/index.js +18 -15
  75. package/dist/components/data-security-selectors/security-level/logic.js +18 -63
  76. package/dist/components/data-security-selectors/security-level/styled.js +23 -17
  77. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  78. package/dist/components/date-range-picker/index.js +2748 -0
  79. package/dist/components/date-range-picker/styled.js +14 -0
  80. package/dist/components/date-time-picker/index.js +45 -46
  81. package/dist/components/divider/index.js +11 -11
  82. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  83. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  84. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  85. package/dist/components/document-viewer/index.js +31 -39
  86. package/dist/components/document-viewer/logic.js +41 -34
  87. package/dist/components/document-viewer/styled.js +115 -27
  88. package/dist/components/duration-select/index.js +27 -0
  89. package/dist/components/duration-select/logic.js +21 -0
  90. package/dist/components/duration-select/styled.js +26 -0
  91. package/dist/components/editable-text/index.js +20 -0
  92. package/dist/components/editable-text/logic.js +18 -0
  93. package/dist/components/editable-text/styled.js +22 -0
  94. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  95. package/dist/components/geometry-picker/edit/index.js +18 -18
  96. package/dist/components/geometry-picker/geometry/index.js +67 -67
  97. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  98. package/dist/components/geometry-picker/index.js +69 -86
  99. package/dist/components/geometry-picker/kml/index.js +16 -16
  100. package/dist/components/geometry-picker/logic.js +50 -57
  101. package/dist/components/geometry-picker/map/index.js +8 -8
  102. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  103. package/dist/components/geometry-picker/parser/index.js +46 -50
  104. package/dist/components/geometry-picker/parser/styled.js +22 -4
  105. package/dist/components/geometry-picker/styled.js +97 -37
  106. package/dist/components/geometry-picker/wkt/index.js +13 -13
  107. package/dist/components/heat-map/components/controls/index.js +4 -6
  108. package/dist/components/heat-map/components/legend/index.js +15 -17
  109. package/dist/components/heat-map/index.js +7 -7
  110. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  111. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  112. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  113. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  114. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  115. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  116. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  117. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  118. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  119. package/dist/components/instance-form/components/variable/index.js +6 -9
  120. package/dist/components/instance-form/components/variables/index.js +48 -55
  121. package/dist/components/instance-form/helpers.js +9 -0
  122. package/dist/components/instance-form/index.js +402 -518
  123. package/dist/components/instance-form/logic.js +115 -0
  124. package/dist/components/instance-form/styled.js +487 -0
  125. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  126. package/dist/components/instance-variable-list/index.js +11 -11
  127. package/dist/components/map/index.js +28 -6
  128. package/dist/components/map/styled.js +1 -1
  129. package/dist/components/notification/index.js +67 -0
  130. package/dist/components/notification/logic.js +30 -0
  131. package/dist/components/notification/store.js +23 -0
  132. package/dist/components/notification/styled.js +52 -0
  133. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  134. package/dist/components/object-profile-card/index.js +19 -20
  135. package/dist/components/paginated-list/index.js +2 -3
  136. package/dist/components/placeholder/index.js +10 -0
  137. package/dist/components/placeholder/logic.js +12 -0
  138. package/dist/components/placeholder/styled.js +32 -0
  139. package/dist/components/positional-tooltip/index.js +24 -0
  140. package/dist/components/positional-tooltip/styled.js +17 -0
  141. package/dist/components/property-mapping/index.js +204 -423
  142. package/dist/components/property-mapping/logic.js +156 -0
  143. package/dist/components/property-mapping/styled.js +199 -0
  144. package/dist/components/prr-map/components/controls/index.js +4 -6
  145. package/dist/components/prr-map/components/legend/index.js +26 -28
  146. package/dist/components/prr-map/index.js +5 -5
  147. package/dist/components/range-selector/styled.js +1106 -1034
  148. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  149. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  150. package/dist/components/raster-grid-map/index.js +5 -5
  151. package/dist/components/scroll-drag/index.js +22 -0
  152. package/dist/components/scroll-drag/logic.js +39 -0
  153. package/dist/components/scroll-drag/styled.js +17 -0
  154. package/dist/components/search-input/logic.js +35 -33
  155. package/dist/components/simple-pivot-table/index.js +12 -12
  156. package/dist/components/sortable-list/index.js +599 -0
  157. package/dist/components/sortable-list/logic.js +18 -0
  158. package/dist/components/sortable-list/styled.js +38 -0
  159. package/dist/components/static-text/index.js +6 -6
  160. package/dist/components/stats-box/index.js +12 -0
  161. package/dist/components/stats-box/styled.js +36 -0
  162. package/dist/components/template-form/components/property-list/index.js +27 -26
  163. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  164. package/dist/components/template-form/components/property-list/property-list-form.js +758 -12
  165. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  166. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  167. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -22
  168. package/dist/components/template-form/components/select-icon/index.js +24 -24
  169. package/dist/components/template-form/helpers.js +17 -0
  170. package/dist/components/template-form/index.js +270 -308
  171. package/dist/components/template-form/logic.js +69 -0
  172. package/dist/components/template-form/styled.js +84 -0
  173. package/dist/components/text-overflow/index.js +6 -0
  174. package/dist/components/text-overflow/styled.js +13 -0
  175. package/dist/components/timeline/index.js +12 -12
  176. package/dist/components/toggle-view-button/index.js +35 -0
  177. package/dist/components/toggle-view-button/logic.js +22 -0
  178. package/dist/components/toggle-view-button/styled.js +11 -0
  179. package/dist/components/tree-select/index.js +1 -1
  180. package/dist/components/visually-hidden-input/index.js +4 -0
  181. package/dist/components/visually-hidden-input/styled.js +18 -0
  182. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  183. package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
  184. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  185. package/dist/debounce-46wSf_lW.js +15 -0
  186. package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
  187. package/dist/formControlState-vgaj2ksH.js +10 -0
  188. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  189. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  190. package/dist/index-BtlzPygz.js +470 -0
  191. package/dist/index-DH6qsPBn.js +153 -0
  192. package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
  193. package/dist/main.d.ts +1054 -330
  194. package/dist/main.js +163 -130
  195. package/dist/ownerWindow-wg6foiOE.js +10 -0
  196. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  197. package/dist/styled-Db1RdcPA.js +323 -0
  198. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  199. package/dist/useFormControl-CatNKXAi.js +10 -0
  200. package/dist/useId-BW-oWmul.js +19 -0
  201. package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
  202. package/dist/useSlot-B_Q4vnX5.js +42 -0
  203. package/package.json +15 -7
  204. package/dist/AccordionSummary-CMg08YSA.js +0 -739
  205. package/dist/Add-DuVVJeQU.js +0 -380
  206. package/dist/ButtonBase-sObABYY2.js +0 -965
  207. package/dist/FormControl-BCurCxRj.js +0 -1294
  208. package/dist/FormControlLabel-BkRfrhNy.js +0 -601
  209. package/dist/InputAdornment-C7PEvvYr.js +0 -155
  210. package/dist/Modal-DlB6GH-f.js +0 -1659
  211. package/dist/Paper-q9kKjAKx.js +0 -527
  212. package/dist/TextField-DSDIEEKu.js +0 -3161
  213. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  214. package/dist/capitalize-quqpGCFu.js +0 -9
  215. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  216. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  217. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  218. package/dist/components/key-protection/index.js +0 -47
  219. package/dist/components/key-protection/logic.js +0 -40
  220. package/dist/components/key-protection/styled.js +0 -45
  221. package/dist/components/key-protection/utils.js +0 -10
  222. package/dist/createSvgIcon-BM3-TsGy.js +0 -70
  223. package/dist/index-BMS1Otro.js +0 -183
  224. package/dist/index-DPKUmQnz.js +0 -501
  225. package/dist/index-kCJ_Zvl8.js +0 -34
  226. package/dist/isMuiElement-BkJ72LB3.js +0 -26
  227. package/dist/property-list-form-DL_dEoNn.js +0 -381
  228. package/dist/styled-Bsjp3kFh.js +0 -668
  229. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  230. package/dist/useId-B4-oF9Mq.js +0 -34
  231. package/dist/utils-Cxu-fHjQ.js +0 -115
@@ -1,18 +1,18 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as a } from "@mui/x-data-grid";
3
- import { A as n, a as d, d as s } from "../../../../Add-DuVVJeQU.js";
3
+ import { A as n, a as d, d as s } from "../../../../Add-CqcD1PWb.js";
4
4
  import m from "./recognition-property-list-columns.js";
5
5
  import c from "./recognition-property-list-form.js";
6
6
  import p from "./recognition-property-list-logic.js";
7
- import { B as g } from "../../../../MenuItem-DrE50M_p.js";
8
- import { T as u } from "../../../../Typography-B-Z5Y0Xq.js";
9
- import { B as h } from "../../../../Modal-DlB6GH-f.js";
10
- import { D as f, a as y } from "../../../../DialogContent-CGJ7alb8.js";
11
- import { a as b } from "../../../../dialog-cf4HUXXl.js";
12
- function L(i) {
7
+ import { B as g } from "../../../../Box-DqUMmZjL.js";
8
+ import { T as h } from "../../../../Typography-DgsSLCFC.js";
9
+ import { B as u } from "../../../../Button-C5yquWAB.js";
10
+ import { D as f, a as y } from "../../../../DialogContent-BvVjD9z3.js";
11
+ import { a as b } from "../../../../dialog-BYRnCztH.js";
12
+ const L = (i) => {
13
13
  const { state: l, action: t } = p(i);
14
14
  return /* @__PURE__ */ r(g, { children: [
15
- /* @__PURE__ */ e(u, { variant: "h6", marginY: 2, children: "Recognition Property List" }),
15
+ /* @__PURE__ */ e(h, { variant: "h6", marginY: 2, children: "Recognition Property List" }),
16
16
  i.list.length > 0 ? /* @__PURE__ */ e(
17
17
  a,
18
18
  {
@@ -29,7 +29,7 @@ function L(i) {
29
29
  "Add least one recognition property before save the template!"
30
30
  ] }),
31
31
  /* @__PURE__ */ e(
32
- h,
32
+ u,
33
33
  {
34
34
  color: "primary",
35
35
  onClick: t.handleOnAddClick,
@@ -63,7 +63,7 @@ function L(i) {
63
63
  }
64
64
  )
65
65
  ] });
66
- }
66
+ };
67
67
  export {
68
- L as default
68
+ L as RecognitionPropertyList
69
69
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
2
- import { d as o, a as l } from "../../../../Delete-fBLhTHbF.js";
3
- import { I as d } from "../../../../IconButton-_opV1iNK.js";
2
+ import { d as o, a as l } from "../../../../Delete-BdyYpINH.js";
3
+ import { I as d } from "../../../../IconButton-BoGwbvrP.js";
4
4
  const h = (r) => [
5
5
  { field: "ownerType", headerName: "Owner Type", width: 120 },
6
6
  { field: "owner", headerName: "Owner", width: 120 },
@@ -1,21 +1,23 @@
1
- import V, { jsxs as i, Fragment as S, jsx as t } from "react/jsx-runtime";
2
- import o from "react";
3
- import { r as C, i as g } from "../../../../createSvgIcon-BM3-TsGy.js";
1
+ import V, { jsxs as o, Fragment as S, jsx as t } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { i as C } from "../../../../generateUtilityClasses-C3ivN9Ie.js";
4
+ import { r as g } from "../../../../createSvgIcon-DuDuASu1.js";
4
5
  import { RECOGNITION_PROPERTY_OWNER_TYPE as h, RECOGNITION_PROPERTY_TYPE as T, RECOGNITION_PROPERTY_TERM_MATCH as v } from "../../../../constants/index.js";
5
- import { F as c } from "../../../../FormControl-BCurCxRj.js";
6
- import { I as u } from "../../../../InputLabel-rEwwnD4_.js";
7
- import { S as d, T as b } from "../../../../TextField-DSDIEEKu.js";
8
- import { M as m, B as M } from "../../../../MenuItem-DrE50M_p.js";
9
- import { B as y } from "../../../../Modal-DlB6GH-f.js";
10
- var p = {}, q = g;
6
+ import { F as c, T as b } from "../../../../TextField-e2oKaUN1.js";
7
+ import { I as u } from "../../../../InputLabel-Dd8RrneV.js";
8
+ import { S as d } from "../../../../Select-DHUl_uG3.js";
9
+ import { M as m } from "../../../../MenuItem-DwqJqzuM.js";
10
+ import { B as M } from "../../../../Box-DqUMmZjL.js";
11
+ import { B as y } from "../../../../Button-C5yquWAB.js";
12
+ var p = {}, q = C;
11
13
  Object.defineProperty(p, "__esModule", {
12
14
  value: !0
13
15
  });
14
- var w = p.default = void 0, N = q(C()), W = V;
16
+ var w = p.default = void 0, N = q(g()), W = V;
15
17
  w = p.default = (0, N.default)(/* @__PURE__ */ (0, W.jsx)("path", {
16
18
  d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"
17
19
  }), "Save");
18
- function $({
20
+ function L({
19
21
  defaultValues: x = {
20
22
  owner: "",
21
23
  ownerType: h[0],
@@ -28,7 +30,7 @@ function $({
28
30
  onSubmit: E,
29
31
  onCancel: O
30
32
  }) {
31
- const [r, f] = o.useState(x), [I, _] = o.useState([]), [l, s] = o.useState({
33
+ const [r, f] = i.useState(x), [I, _] = i.useState([]), [l, s] = i.useState({
32
34
  termValue: !1,
33
35
  score: !1
34
36
  }), n = (e) => {
@@ -47,9 +49,9 @@ function $({
47
49
  }
48
50
  E(r);
49
51
  };
50
- return o.useEffect(() => (l.termValue && r.termValue && s({ ...l, termValue: !1 }), () => {
51
- }), [r.termValue]), o.useEffect(() => (l.score && r.score && s({ ...l, score: !1 }), () => {
52
- }), [r.score]), o.useEffect(() => {
52
+ return i.useEffect(() => (l.termValue && r.termValue && s({ ...l, termValue: !1 }), () => {
53
+ }), [r.termValue]), i.useEffect(() => (l.score && r.score && s({ ...l, score: !1 }), () => {
54
+ }), [r.score]), i.useEffect(() => {
53
55
  if (r.ownerType === "PROPERTY") {
54
56
  const e = R("properties");
55
57
  _(e);
@@ -59,8 +61,8 @@ function $({
59
61
  owner: ""
60
62
  })), () => {
61
63
  };
62
- }, [r.ownerType]), /* @__PURE__ */ i(S, { children: [
63
- /* @__PURE__ */ i(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
64
+ }, [r.ownerType]), /* @__PURE__ */ o(S, { children: [
65
+ /* @__PURE__ */ o(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
64
66
  /* @__PURE__ */ t(u, { id: "owner-type-select-label", children: "Owner Type" }),
65
67
  /* @__PURE__ */ t(
66
68
  d,
@@ -75,7 +77,7 @@ function $({
75
77
  }
76
78
  )
77
79
  ] }),
78
- r.ownerType === "PROPERTY" && /* @__PURE__ */ i(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
80
+ r.ownerType === "PROPERTY" && /* @__PURE__ */ o(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
79
81
  /* @__PURE__ */ t(u, { id: "owner-select-label", children: "Owner" }),
80
82
  /* @__PURE__ */ t(
81
83
  d,
@@ -90,7 +92,7 @@ function $({
90
92
  }
91
93
  )
92
94
  ] }),
93
- /* @__PURE__ */ i(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
95
+ /* @__PURE__ */ o(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
94
96
  /* @__PURE__ */ t(u, { id: "type-select-label", children: "Type" }),
95
97
  /* @__PURE__ */ t(
96
98
  d,
@@ -105,7 +107,7 @@ function $({
105
107
  }
106
108
  )
107
109
  ] }),
108
- /* @__PURE__ */ i(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
110
+ /* @__PURE__ */ o(c, { fullWidth: !0, variant: "standard", sx: { mb: 2 }, children: [
109
111
  /* @__PURE__ */ t(u, { id: "term-match-select-label", children: "Term Match" }),
110
112
  /* @__PURE__ */ t(
111
113
  d,
@@ -154,7 +156,7 @@ function $({
154
156
  }
155
157
  }
156
158
  ),
157
- /* @__PURE__ */ i(M, { display: "flex", justifyContent: "flex-end", children: [
159
+ /* @__PURE__ */ o(M, { display: "flex", justifyContent: "flex-end", children: [
158
160
  /* @__PURE__ */ t(y, { variant: "contained", onClick: O, sx: { marginRight: 2 }, children: "Cancel" }),
159
161
  /* @__PURE__ */ t(
160
162
  y,
@@ -169,5 +171,5 @@ function $({
169
171
  ] });
170
172
  }
171
173
  export {
172
- $ as default
174
+ L as default
173
175
  };
@@ -1,39 +1,39 @@
1
1
  import { jsxs as n, Fragment as C, jsx as e } from "react/jsx-runtime";
2
2
  import { AddPhotoAlternate as I, Delete as W, Search as j, CheckBox as E, CloudUpload as P, Add as _ } from "@mui/icons-material";
3
- import { IconButton as S, Dialog as N, DialogContent as O, Box as u, TextField as q, InputAdornment as z, Button as d, DialogActions as G } from "@mui/material";
4
- import s from "react";
3
+ import { IconButton as S, Dialog as N, DialogContent as O, Box as u, TextField as q, InputAdornment as z, Button as a, DialogActions as G } from "@mui/material";
4
+ import d from "react";
5
5
  import H from "../../../../hooks/useToggle.js";
6
6
  import { Tabs as J } from "../../../tabs/index.js";
7
7
  import i from "./styled.js";
8
- function Z({
9
- value: p,
8
+ const Z = ({
9
+ value: s,
10
10
  list: A,
11
11
  newIcon: o,
12
12
  loading: m,
13
13
  onChange: f,
14
14
  onFileUpload: y
15
- }) {
16
- const { state: b, action: g } = H(!1), [x, k] = s.useState(""), [l, r] = s.useState(null), [h, B] = s.useState();
17
- s.useEffect(() => (o && r(o), () => {
15
+ }) => {
16
+ const { state: b, action: g } = H(!1), [x, k] = d.useState(""), [l, r] = d.useState(null), [p, B] = d.useState();
17
+ d.useEffect(() => (o && r(o), () => {
18
18
  }), [o]);
19
19
  const F = (t) => {
20
20
  k(t.target.value);
21
21
  }, U = (t) => () => {
22
22
  r(t);
23
23
  }, v = () => {
24
- l && (f(l), c());
24
+ l && (f(l), h());
25
25
  }, D = () => {
26
26
  r(null), f("");
27
- }, c = () => {
27
+ }, h = () => {
28
28
  g.close(), r(null);
29
29
  }, R = (t) => {
30
30
  t.target.files && B(t.target.files[0]);
31
31
  }, T = () => {
32
- h && (y(h.name), c());
32
+ p && y(p);
33
33
  };
34
34
  return /* @__PURE__ */ n(C, { children: [
35
35
  /* @__PURE__ */ n(i.Container, { children: [
36
- p ? /* @__PURE__ */ e(i.Img, { src: p }) : /* @__PURE__ */ e(I, { color: "action" }),
36
+ s ? /* @__PURE__ */ e(i.Img, { src: s }) : /* @__PURE__ */ e(I, { color: "action" }),
37
37
  /* @__PURE__ */ n(i.Actions, { children: [
38
38
  /* @__PURE__ */ e(
39
39
  S,
@@ -44,7 +44,7 @@ function Z({
44
44
  children: /* @__PURE__ */ e(I, {})
45
45
  }
46
46
  ),
47
- !!p && /* @__PURE__ */ e(
47
+ !!s && /* @__PURE__ */ e(
48
48
  S,
49
49
  {
50
50
  title: "Remove Icon",
@@ -59,7 +59,7 @@ function Z({
59
59
  N,
60
60
  {
61
61
  open: b.isOpen,
62
- onClose: c,
62
+ onClose: h,
63
63
  maxWidth: "sm",
64
64
  fullWidth: !0,
65
65
  scroll: "paper",
@@ -85,15 +85,15 @@ function Z({
85
85
  }
86
86
  ),
87
87
  A.filter((t) => {
88
- const a = t.split("/ontology-icon/");
89
- return !(a[1] && a[1].includes("/"));
88
+ const c = t.split("/ontology-icon/");
89
+ return !(c[1] && c[1].includes("/"));
90
90
  }).filter((t) => {
91
91
  if (x) {
92
92
  if (t.search(new RegExp(x, "i")) !== -1)
93
93
  return !0;
94
94
  } else return !0;
95
95
  return !1;
96
- }).map((t, a) => /* @__PURE__ */ n(
96
+ }).map((t, c) => /* @__PURE__ */ n(
97
97
  i.SelectButton,
98
98
  {
99
99
  variant: l === t ? "outlined" : "text",
@@ -104,7 +104,7 @@ function Z({
104
104
  l === t ? /* @__PURE__ */ e(E, {}) : null
105
105
  ]
106
106
  },
107
- a
107
+ c
108
108
  ))
109
109
  ] })
110
110
  },
@@ -117,7 +117,7 @@ function Z({
117
117
  p: 1,
118
118
  display: "inline-block",
119
119
  className: "iconSelection",
120
- children: /* @__PURE__ */ e(d, { variant: "outlined", color: "secondary", children: /* @__PURE__ */ e(
120
+ children: /* @__PURE__ */ e(a, { variant: "outlined", color: "secondary", children: /* @__PURE__ */ e(
121
121
  "img",
122
122
  {
123
123
  src: o,
@@ -144,13 +144,13 @@ function Z({
144
144
  }
145
145
  ),
146
146
  /* @__PURE__ */ e(
147
- d,
147
+ a,
148
148
  {
149
149
  onClick: T,
150
150
  variant: "contained",
151
151
  color: "primary",
152
152
  startIcon: /* @__PURE__ */ e(P, {}),
153
- disabled: m || h === null,
153
+ disabled: m || p === null,
154
154
  children: m ? "Uploading..." : "Upload!"
155
155
  }
156
156
  )
@@ -163,9 +163,9 @@ function Z({
163
163
  }
164
164
  ) }),
165
165
  /* @__PURE__ */ n(G, { style: { padding: "5px 15px 15px 15px" }, children: [
166
- /* @__PURE__ */ e(d, { onClick: c, variant: "contained", children: "Cancel" }),
166
+ /* @__PURE__ */ e(a, { onClick: h, variant: "contained", children: "Cancel" }),
167
167
  /* @__PURE__ */ e(
168
- d,
168
+ a,
169
169
  {
170
170
  onClick: v,
171
171
  color: "primary",
@@ -180,7 +180,7 @@ function Z({
180
180
  }
181
181
  )
182
182
  ] });
183
- }
183
+ };
184
184
  export {
185
- Z as default
185
+ Z as SelectIcon
186
186
  };
@@ -0,0 +1,17 @@
1
+ import { jsxs as p, jsx as e, Fragment as f } from "react/jsx-runtime";
2
+ import { TemplateFormLeftLayout as n, TemplateFormLeftLabel as a, TemplateFormLeftContent as l, TemplateFormTopLabel as L } from "./styled.js";
3
+ const i = ({
4
+ label: r,
5
+ required: m,
6
+ labelPosition: o,
7
+ children: t
8
+ }) => o === "left" ? /* @__PURE__ */ p(n, { children: [
9
+ /* @__PURE__ */ e(a, { required: m, children: r }),
10
+ /* @__PURE__ */ e(l, { children: t })
11
+ ] }) : o === "top" ? /* @__PURE__ */ p(f, { children: [
12
+ /* @__PURE__ */ e(L, { required: m, children: r }),
13
+ t
14
+ ] }) : /* @__PURE__ */ e(f, { children: t });
15
+ export {
16
+ i as LabeledField
17
+ };