@xyo-network/react-property 2.82.0 → 2.83.0

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 (228) hide show
  1. package/dist/browser/index.d.ts +63 -2
  2. package/package.json +8 -24
  3. package/xy.config.ts +12 -0
  4. package/dist/browser/components/Action.d.cts +0 -8
  5. package/dist/browser/components/Action.d.cts.map +0 -1
  6. package/dist/browser/components/Action.d.mts +0 -8
  7. package/dist/browser/components/Action.d.mts.map +0 -1
  8. package/dist/browser/components/Action.d.ts +0 -8
  9. package/dist/browser/components/Action.d.ts.map +0 -1
  10. package/dist/browser/components/Actions.d.cts +0 -4
  11. package/dist/browser/components/Actions.d.cts.map +0 -1
  12. package/dist/browser/components/Actions.d.mts +0 -4
  13. package/dist/browser/components/Actions.d.mts.map +0 -1
  14. package/dist/browser/components/Actions.d.ts +0 -4
  15. package/dist/browser/components/Actions.d.ts.map +0 -1
  16. package/dist/browser/components/ActionsMenu.d.cts +0 -4
  17. package/dist/browser/components/ActionsMenu.d.cts.map +0 -1
  18. package/dist/browser/components/ActionsMenu.d.mts +0 -4
  19. package/dist/browser/components/ActionsMenu.d.mts.map +0 -1
  20. package/dist/browser/components/ActionsMenu.d.ts +0 -4
  21. package/dist/browser/components/ActionsMenu.d.ts.map +0 -1
  22. package/dist/browser/components/ActionsProps.d.cts +0 -7
  23. package/dist/browser/components/ActionsProps.d.cts.map +0 -1
  24. package/dist/browser/components/ActionsProps.d.mts +0 -7
  25. package/dist/browser/components/ActionsProps.d.mts.map +0 -1
  26. package/dist/browser/components/ActionsProps.d.ts +0 -7
  27. package/dist/browser/components/ActionsProps.d.ts.map +0 -1
  28. package/dist/browser/components/Group.d.cts +0 -4
  29. package/dist/browser/components/Group.d.cts.map +0 -1
  30. package/dist/browser/components/Group.d.mts +0 -4
  31. package/dist/browser/components/Group.d.mts.map +0 -1
  32. package/dist/browser/components/Group.d.ts +0 -4
  33. package/dist/browser/components/Group.d.ts.map +0 -1
  34. package/dist/browser/components/IdenticonCorner.d.cts +0 -7
  35. package/dist/browser/components/IdenticonCorner.d.cts.map +0 -1
  36. package/dist/browser/components/IdenticonCorner.d.mts +0 -7
  37. package/dist/browser/components/IdenticonCorner.d.mts.map +0 -1
  38. package/dist/browser/components/IdenticonCorner.d.ts +0 -7
  39. package/dist/browser/components/IdenticonCorner.d.ts.map +0 -1
  40. package/dist/browser/components/Property.d.cts +0 -4
  41. package/dist/browser/components/Property.d.cts.map +0 -1
  42. package/dist/browser/components/Property.d.mts +0 -4
  43. package/dist/browser/components/Property.d.mts.map +0 -1
  44. package/dist/browser/components/Property.d.ts +0 -4
  45. package/dist/browser/components/Property.d.ts.map +0 -1
  46. package/dist/browser/components/Props.d.cts +0 -35
  47. package/dist/browser/components/Props.d.cts.map +0 -1
  48. package/dist/browser/components/Props.d.mts +0 -35
  49. package/dist/browser/components/Props.d.mts.map +0 -1
  50. package/dist/browser/components/Props.d.ts +0 -35
  51. package/dist/browser/components/Props.d.ts.map +0 -1
  52. package/dist/browser/components/Title.d.cts +0 -13
  53. package/dist/browser/components/Title.d.cts.map +0 -1
  54. package/dist/browser/components/Title.d.mts +0 -13
  55. package/dist/browser/components/Title.d.mts.map +0 -1
  56. package/dist/browser/components/Title.d.ts +0 -13
  57. package/dist/browser/components/Title.d.ts.map +0 -1
  58. package/dist/browser/components/Value.d.cts +0 -9
  59. package/dist/browser/components/Value.d.cts.map +0 -1
  60. package/dist/browser/components/Value.d.mts +0 -9
  61. package/dist/browser/components/Value.d.mts.map +0 -1
  62. package/dist/browser/components/Value.d.ts +0 -9
  63. package/dist/browser/components/Value.d.ts.map +0 -1
  64. package/dist/browser/components/index.d.cts +0 -7
  65. package/dist/browser/components/index.d.cts.map +0 -1
  66. package/dist/browser/components/index.d.mts +0 -7
  67. package/dist/browser/components/index.d.mts.map +0 -1
  68. package/dist/browser/components/index.d.ts +0 -7
  69. package/dist/browser/components/index.d.ts.map +0 -1
  70. package/dist/browser/index.cjs +0 -303
  71. package/dist/browser/index.cjs.map +0 -1
  72. package/dist/browser/index.d.cts +0 -2
  73. package/dist/browser/index.d.cts.map +0 -1
  74. package/dist/browser/index.d.mts +0 -2
  75. package/dist/browser/index.d.mts.map +0 -1
  76. package/dist/browser/index.d.ts.map +0 -1
  77. package/dist/neutral/components/Action.d.cts +0 -8
  78. package/dist/neutral/components/Action.d.cts.map +0 -1
  79. package/dist/neutral/components/Action.d.mts +0 -8
  80. package/dist/neutral/components/Action.d.mts.map +0 -1
  81. package/dist/neutral/components/Action.d.ts +0 -8
  82. package/dist/neutral/components/Action.d.ts.map +0 -1
  83. package/dist/neutral/components/Actions.d.cts +0 -4
  84. package/dist/neutral/components/Actions.d.cts.map +0 -1
  85. package/dist/neutral/components/Actions.d.mts +0 -4
  86. package/dist/neutral/components/Actions.d.mts.map +0 -1
  87. package/dist/neutral/components/Actions.d.ts +0 -4
  88. package/dist/neutral/components/Actions.d.ts.map +0 -1
  89. package/dist/neutral/components/ActionsMenu.d.cts +0 -4
  90. package/dist/neutral/components/ActionsMenu.d.cts.map +0 -1
  91. package/dist/neutral/components/ActionsMenu.d.mts +0 -4
  92. package/dist/neutral/components/ActionsMenu.d.mts.map +0 -1
  93. package/dist/neutral/components/ActionsMenu.d.ts +0 -4
  94. package/dist/neutral/components/ActionsMenu.d.ts.map +0 -1
  95. package/dist/neutral/components/ActionsProps.d.cts +0 -7
  96. package/dist/neutral/components/ActionsProps.d.cts.map +0 -1
  97. package/dist/neutral/components/ActionsProps.d.mts +0 -7
  98. package/dist/neutral/components/ActionsProps.d.mts.map +0 -1
  99. package/dist/neutral/components/ActionsProps.d.ts +0 -7
  100. package/dist/neutral/components/ActionsProps.d.ts.map +0 -1
  101. package/dist/neutral/components/Group.d.cts +0 -4
  102. package/dist/neutral/components/Group.d.cts.map +0 -1
  103. package/dist/neutral/components/Group.d.mts +0 -4
  104. package/dist/neutral/components/Group.d.mts.map +0 -1
  105. package/dist/neutral/components/Group.d.ts +0 -4
  106. package/dist/neutral/components/Group.d.ts.map +0 -1
  107. package/dist/neutral/components/IdenticonCorner.d.cts +0 -7
  108. package/dist/neutral/components/IdenticonCorner.d.cts.map +0 -1
  109. package/dist/neutral/components/IdenticonCorner.d.mts +0 -7
  110. package/dist/neutral/components/IdenticonCorner.d.mts.map +0 -1
  111. package/dist/neutral/components/IdenticonCorner.d.ts +0 -7
  112. package/dist/neutral/components/IdenticonCorner.d.ts.map +0 -1
  113. package/dist/neutral/components/Property.d.cts +0 -4
  114. package/dist/neutral/components/Property.d.cts.map +0 -1
  115. package/dist/neutral/components/Property.d.mts +0 -4
  116. package/dist/neutral/components/Property.d.mts.map +0 -1
  117. package/dist/neutral/components/Property.d.ts +0 -4
  118. package/dist/neutral/components/Property.d.ts.map +0 -1
  119. package/dist/neutral/components/Props.d.cts +0 -35
  120. package/dist/neutral/components/Props.d.cts.map +0 -1
  121. package/dist/neutral/components/Props.d.mts +0 -35
  122. package/dist/neutral/components/Props.d.mts.map +0 -1
  123. package/dist/neutral/components/Props.d.ts +0 -35
  124. package/dist/neutral/components/Props.d.ts.map +0 -1
  125. package/dist/neutral/components/Title.d.cts +0 -13
  126. package/dist/neutral/components/Title.d.cts.map +0 -1
  127. package/dist/neutral/components/Title.d.mts +0 -13
  128. package/dist/neutral/components/Title.d.mts.map +0 -1
  129. package/dist/neutral/components/Title.d.ts +0 -13
  130. package/dist/neutral/components/Title.d.ts.map +0 -1
  131. package/dist/neutral/components/Value.d.cts +0 -9
  132. package/dist/neutral/components/Value.d.cts.map +0 -1
  133. package/dist/neutral/components/Value.d.mts +0 -9
  134. package/dist/neutral/components/Value.d.mts.map +0 -1
  135. package/dist/neutral/components/Value.d.ts +0 -9
  136. package/dist/neutral/components/Value.d.ts.map +0 -1
  137. package/dist/neutral/components/index.d.cts +0 -7
  138. package/dist/neutral/components/index.d.cts.map +0 -1
  139. package/dist/neutral/components/index.d.mts +0 -7
  140. package/dist/neutral/components/index.d.mts.map +0 -1
  141. package/dist/neutral/components/index.d.ts +0 -7
  142. package/dist/neutral/components/index.d.ts.map +0 -1
  143. package/dist/neutral/index.cjs +0 -303
  144. package/dist/neutral/index.cjs.map +0 -1
  145. package/dist/neutral/index.d.cts +0 -2
  146. package/dist/neutral/index.d.cts.map +0 -1
  147. package/dist/neutral/index.d.mts +0 -2
  148. package/dist/neutral/index.d.mts.map +0 -1
  149. package/dist/neutral/index.d.ts +0 -2
  150. package/dist/neutral/index.d.ts.map +0 -1
  151. package/dist/neutral/index.mjs +0 -272
  152. package/dist/neutral/index.mjs.map +0 -1
  153. package/dist/node/components/Action.d.cts +0 -8
  154. package/dist/node/components/Action.d.cts.map +0 -1
  155. package/dist/node/components/Action.d.mts +0 -8
  156. package/dist/node/components/Action.d.mts.map +0 -1
  157. package/dist/node/components/Action.d.ts +0 -8
  158. package/dist/node/components/Action.d.ts.map +0 -1
  159. package/dist/node/components/Actions.d.cts +0 -4
  160. package/dist/node/components/Actions.d.cts.map +0 -1
  161. package/dist/node/components/Actions.d.mts +0 -4
  162. package/dist/node/components/Actions.d.mts.map +0 -1
  163. package/dist/node/components/Actions.d.ts +0 -4
  164. package/dist/node/components/Actions.d.ts.map +0 -1
  165. package/dist/node/components/ActionsMenu.d.cts +0 -4
  166. package/dist/node/components/ActionsMenu.d.cts.map +0 -1
  167. package/dist/node/components/ActionsMenu.d.mts +0 -4
  168. package/dist/node/components/ActionsMenu.d.mts.map +0 -1
  169. package/dist/node/components/ActionsMenu.d.ts +0 -4
  170. package/dist/node/components/ActionsMenu.d.ts.map +0 -1
  171. package/dist/node/components/ActionsProps.d.cts +0 -7
  172. package/dist/node/components/ActionsProps.d.cts.map +0 -1
  173. package/dist/node/components/ActionsProps.d.mts +0 -7
  174. package/dist/node/components/ActionsProps.d.mts.map +0 -1
  175. package/dist/node/components/ActionsProps.d.ts +0 -7
  176. package/dist/node/components/ActionsProps.d.ts.map +0 -1
  177. package/dist/node/components/Group.d.cts +0 -4
  178. package/dist/node/components/Group.d.cts.map +0 -1
  179. package/dist/node/components/Group.d.mts +0 -4
  180. package/dist/node/components/Group.d.mts.map +0 -1
  181. package/dist/node/components/Group.d.ts +0 -4
  182. package/dist/node/components/Group.d.ts.map +0 -1
  183. package/dist/node/components/IdenticonCorner.d.cts +0 -7
  184. package/dist/node/components/IdenticonCorner.d.cts.map +0 -1
  185. package/dist/node/components/IdenticonCorner.d.mts +0 -7
  186. package/dist/node/components/IdenticonCorner.d.mts.map +0 -1
  187. package/dist/node/components/IdenticonCorner.d.ts +0 -7
  188. package/dist/node/components/IdenticonCorner.d.ts.map +0 -1
  189. package/dist/node/components/Property.d.cts +0 -4
  190. package/dist/node/components/Property.d.cts.map +0 -1
  191. package/dist/node/components/Property.d.mts +0 -4
  192. package/dist/node/components/Property.d.mts.map +0 -1
  193. package/dist/node/components/Property.d.ts +0 -4
  194. package/dist/node/components/Property.d.ts.map +0 -1
  195. package/dist/node/components/Props.d.cts +0 -35
  196. package/dist/node/components/Props.d.cts.map +0 -1
  197. package/dist/node/components/Props.d.mts +0 -35
  198. package/dist/node/components/Props.d.mts.map +0 -1
  199. package/dist/node/components/Props.d.ts +0 -35
  200. package/dist/node/components/Props.d.ts.map +0 -1
  201. package/dist/node/components/Title.d.cts +0 -13
  202. package/dist/node/components/Title.d.cts.map +0 -1
  203. package/dist/node/components/Title.d.mts +0 -13
  204. package/dist/node/components/Title.d.mts.map +0 -1
  205. package/dist/node/components/Title.d.ts +0 -13
  206. package/dist/node/components/Title.d.ts.map +0 -1
  207. package/dist/node/components/Value.d.cts +0 -9
  208. package/dist/node/components/Value.d.cts.map +0 -1
  209. package/dist/node/components/Value.d.mts +0 -9
  210. package/dist/node/components/Value.d.mts.map +0 -1
  211. package/dist/node/components/Value.d.ts +0 -9
  212. package/dist/node/components/Value.d.ts.map +0 -1
  213. package/dist/node/components/index.d.cts +0 -7
  214. package/dist/node/components/index.d.cts.map +0 -1
  215. package/dist/node/components/index.d.mts +0 -7
  216. package/dist/node/components/index.d.mts.map +0 -1
  217. package/dist/node/components/index.d.ts +0 -7
  218. package/dist/node/components/index.d.ts.map +0 -1
  219. package/dist/node/index.cjs +0 -312
  220. package/dist/node/index.cjs.map +0 -1
  221. package/dist/node/index.d.cts +0 -2
  222. package/dist/node/index.d.cts.map +0 -1
  223. package/dist/node/index.d.mts +0 -2
  224. package/dist/node/index.d.mts.map +0 -1
  225. package/dist/node/index.d.ts +0 -2
  226. package/dist/node/index.d.ts.map +0 -1
  227. package/dist/node/index.mjs +0 -274
  228. package/dist/node/index.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './components/index.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -1,272 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/components/Group.tsx
5
- import { Paper, useTheme as useTheme2 } from "@mui/material";
6
- import { FlexCol, FlexGrowRow, FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
7
- import { typeOf } from "@xyo-network/typeof";
8
- import React2 from "react";
9
-
10
- // src/components/Title.tsx
11
- import { darken, lighten, Typography, useTheme } from "@mui/material";
12
- import { FlexRow } from "@xylabs/react-flexbox";
13
- import { QuickTipButton } from "@xylabs/react-quick-tip-button";
14
- import React from "react";
15
- var PropertyTitle = /* @__PURE__ */ __name(({ elevation = 1, size = "medium", tip, more, title, ...props }) => {
16
- const sizeVariants = {
17
- full: "caption",
18
- large: "caption",
19
- medium: "caption",
20
- small: "caption"
21
- };
22
- const sizeTitleHeight = {
23
- full: void 0,
24
- large: 32,
25
- medium: 20,
26
- small: 16
27
- };
28
- const sizeFontSize = {
29
- full: 16,
30
- large: 16,
31
- medium: 14,
32
- small: 10
33
- };
34
- const quickTipSize = sizeFontSize[size] < 16 ? sizeFontSize[size] : 16;
35
- const theme = useTheme();
36
- return /* @__PURE__ */ React.createElement(FlexRow, {
37
- bgcolor: theme.palette.mode === "dark" ? lighten(theme.palette.background.paper, 0.05 * elevation) : darken(theme.palette.background.paper, 0.025 * elevation),
38
- alignItems: "center",
39
- height: sizeTitleHeight[size],
40
- justifyContent: "space-between",
41
- ...props
42
- }, /* @__PURE__ */ React.createElement(FlexRow, {
43
- paddingX: 1,
44
- paddingY: 0.5
45
- }, /* @__PURE__ */ React.createElement(Typography, {
46
- fontWeight: 500,
47
- noWrap: true,
48
- variant: sizeVariants[size],
49
- fontSize: sizeFontSize[size]
50
- }, /* @__PURE__ */ React.createElement("small", null, /* @__PURE__ */ React.createElement("strong", null, title))), tip ? /* @__PURE__ */ React.createElement(QuickTipButton, {
51
- style: {
52
- fontSize: quickTipSize
53
- },
54
- color: "inherit",
55
- title: title ?? ""
56
- }, tip) : null), more);
57
- }, "PropertyTitle");
58
-
59
- // src/components/Group.tsx
60
- var PropertyGroupBox = /* @__PURE__ */ __name(({ titleProps, children, title, tip, ...props }) => {
61
- const theme = useTheme2();
62
- const childrenArray = typeOf(children) === "array" ? children : void 0;
63
- return /* @__PURE__ */ React2.createElement(FlexCol, {
64
- alignItems: "stretch",
65
- overflow: "hidden",
66
- ...props
67
- }, /* @__PURE__ */ React2.createElement(FlexRow2, {
68
- overflow: "hidden",
69
- justifyContent: "stretch",
70
- alignItems: "stretch"
71
- }, /* @__PURE__ */ React2.createElement(PropertyTitle, {
72
- alignItems: "flex-start",
73
- size: "full",
74
- title,
75
- tip,
76
- ...titleProps
77
- }), childrenArray ? /* @__PURE__ */ React2.createElement(FlexGrowRow, null, childrenArray?.map((child, index) => {
78
- return child ? /* @__PURE__ */ React2.createElement(FlexGrowRow, {
79
- key: index,
80
- borderLeft: 1,
81
- borderColor: theme.palette.divider
82
- }, child) : null;
83
- })) : /* @__PURE__ */ React2.createElement(FlexGrowRow, {
84
- overflow: "hidden"
85
- }, children)));
86
- }, "PropertyGroupBox");
87
- var PropertyGroupPaper = /* @__PURE__ */ __name(({ style, variant, elevation, square, ...props }) => {
88
- return /* @__PURE__ */ React2.createElement(Paper, {
89
- style: {
90
- minWidth: 0,
91
- overflow: "hidden",
92
- ...style
93
- },
94
- variant,
95
- elevation,
96
- square
97
- }, /* @__PURE__ */ React2.createElement(PropertyGroupBox, {
98
- ...props,
99
- paper: false
100
- }));
101
- }, "PropertyGroupPaper");
102
- var PropertyGroup = /* @__PURE__ */ __name((props) => {
103
- return props.paper ? /* @__PURE__ */ React2.createElement(PropertyGroupPaper, props) : /* @__PURE__ */ React2.createElement(PropertyGroupBox, props);
104
- }, "PropertyGroup");
105
-
106
- // src/components/Property.tsx
107
- import { CircularProgress, Paper as Paper2 } from "@mui/material";
108
- import { FlexRow as FlexRow5 } from "@xylabs/react-flexbox";
109
- import React6, { forwardRef as forwardRef2 } from "react";
110
-
111
- // src/components/ActionsMenu.tsx
112
- import { MoreHoriz as MoreHorizIcon } from "@mui/icons-material";
113
- import { IconButton, Menu, MenuItem } from "@mui/material";
114
- import { FlexRow as FlexRow3 } from "@xylabs/react-flexbox";
115
- import React3, { useState } from "react";
116
- var PropertyActionsMenu = /* @__PURE__ */ __name(({ actions, ...props }) => {
117
- const [anchorEl, setAnchorEl] = useState(null);
118
- const open = !!anchorEl;
119
- const handleClick = /* @__PURE__ */ __name((event) => {
120
- setAnchorEl(event.currentTarget);
121
- }, "handleClick");
122
- const handleClose = /* @__PURE__ */ __name(() => {
123
- setAnchorEl(null);
124
- }, "handleClose");
125
- return actions && actions?.length > 0 ? /* @__PURE__ */ React3.createElement(FlexRow3, props, /* @__PURE__ */ React3.createElement(IconButton, {
126
- size: "small",
127
- color: "inherit",
128
- onClick: handleClick
129
- }, /* @__PURE__ */ React3.createElement(MoreHorizIcon, {
130
- fontSize: "inherit"
131
- })), /* @__PURE__ */ React3.createElement(Menu, {
132
- anchorEl,
133
- open,
134
- onClose: handleClose
135
- }, actions?.map((action) => {
136
- return /* @__PURE__ */ React3.createElement(MenuItem, {
137
- key: action.name,
138
- onClick: /* @__PURE__ */ __name(() => {
139
- action?.onClick?.();
140
- handleClose();
141
- }, "onClick")
142
- }, action.name);
143
- }))) : null;
144
- }, "PropertyActionsMenu");
145
-
146
- // src/components/IdenticonCorner.tsx
147
- import { useTheme as useTheme3 } from "@mui/material";
148
- import { FlexRow as FlexRow4 } from "@xylabs/react-flexbox";
149
- import { Identicon } from "@xylabs/react-identicon";
150
- import React4, { useEffect, useRef, useState as useState2 } from "react";
151
- var IdenticonCorner = /* @__PURE__ */ __name(({ value, ...props }) => {
152
- const theme = useTheme3();
153
- const [parentHeight, setParentHeight] = useState2();
154
- const ref = useRef(null);
155
- useEffect(() => {
156
- setParentHeight(ref.current?.parentElement?.parentElement?.clientHeight);
157
- }, []);
158
- const calculatedHeight = parentHeight ?? 0;
159
- return /* @__PURE__ */ React4.createElement(FlexRow4, {
160
- alignItems: "flex-start",
161
- height: "100%"
162
- }, /* @__PURE__ */ React4.createElement(FlexRow4, {
163
- background: true,
164
- height: calculatedHeight,
165
- width: calculatedHeight,
166
- borderLeft: `1px solid ${theme.palette.divider}`
167
- }, /* @__PURE__ */ React4.createElement("div", {
168
- ref
169
- }, /* @__PURE__ */ React4.createElement(Identicon, {
170
- size: calculatedHeight * 0.6,
171
- value: `${value}`,
172
- sx: {
173
- padding: `${calculatedHeight * 0.2}px`
174
- },
175
- ...props
176
- }))));
177
- }, "IdenticonCorner");
178
-
179
- // src/components/Value.tsx
180
- import { EllipsizeBox } from "@xyo-network/react-shared";
181
- import React5, { forwardRef } from "react";
182
- var PropertyValue = /* @__PURE__ */ forwardRef(({ typographyVariant = "body1", value, ...props }, ref) => {
183
- return value === void 0 ? null : /* @__PURE__ */ React5.createElement(EllipsizeBox, {
184
- typographyProps: {
185
- component: void 0,
186
- title: value?.toString(),
187
- variant: typographyVariant
188
- },
189
- width: "100%",
190
- ref,
191
- ...props
192
- }, value);
193
- });
194
- PropertyValue.displayName = "PropertyValue";
195
-
196
- // src/components/Property.tsx
197
- var PropertyBox = /* @__PURE__ */ forwardRef2(({ titleProps, title, value, children, size = "medium", tip, actions, required, badge = false, ...props }, ref) => {
198
- const sizeValueHeight = {
199
- large: 48,
200
- medium: 36,
201
- small: 24
202
- };
203
- const sizeVariants = {
204
- large: "h6",
205
- medium: "body1",
206
- small: "body2"
207
- };
208
- return /* @__PURE__ */ React6.createElement(FlexRow5, {
209
- ref,
210
- flexDirection: "column",
211
- minWidth: 0,
212
- alignItems: "stretch",
213
- overflow: "hidden",
214
- ...props
215
- }, title === void 0 ? null : /* @__PURE__ */ React6.createElement(PropertyTitle, {
216
- tip,
217
- title: required ? `${title}*` : title,
218
- size,
219
- more: /* @__PURE__ */ React6.createElement(PropertyActionsMenu, {
220
- actions
221
- }),
222
- ...titleProps
223
- }), /* @__PURE__ */ React6.createElement(FlexRow5, {
224
- pl: 1,
225
- columnGap: 1,
226
- justifyContent: value === void 0 ? "center" : "space-between",
227
- overflow: "hidden",
228
- height: sizeValueHeight[size]
229
- }, children ?? value === void 0 ? /* @__PURE__ */ React6.createElement(CircularProgress, {
230
- size: 16
231
- }) : /* @__PURE__ */ React6.createElement(PropertyValue, {
232
- value,
233
- typographyVariant: sizeVariants[size]
234
- }), value === void 0 ? null : badge ? /* @__PURE__ */ React6.createElement(IdenticonCorner, {
235
- value
236
- }) : null));
237
- });
238
- PropertyBox.displayName = "PropertyBox";
239
- var PropertyPaper = /* @__PURE__ */ forwardRef2(({ style, variant, elevation = 2, square, ...props }, ref) => {
240
- return /* @__PURE__ */ React6.createElement(Paper2, {
241
- ref,
242
- style: {
243
- minWidth: 0,
244
- overflow: "hidden",
245
- ...style
246
- },
247
- variant,
248
- elevation,
249
- square
250
- }, /* @__PURE__ */ React6.createElement(PropertyBox, {
251
- ...props,
252
- paper: false
253
- }));
254
- });
255
- PropertyPaper.displayName = "PropertyPaper";
256
- var Property = /* @__PURE__ */ forwardRef2((props, ref) => {
257
- return props.paper ? /* @__PURE__ */ React6.createElement(PropertyPaper, {
258
- ref,
259
- ...props
260
- }) : /* @__PURE__ */ React6.createElement(PropertyBox, {
261
- ref,
262
- ...props
263
- });
264
- });
265
- Property.displayName = "Property";
266
- export {
267
- Property,
268
- PropertyGroup,
269
- PropertyTitle,
270
- PropertyValue
271
- };
272
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/Group.tsx","../../src/components/Title.tsx","../../src/components/Property.tsx","../../src/components/ActionsMenu.tsx","../../src/components/IdenticonCorner.tsx","../../src/components/Value.tsx"],"sourcesContent":["import { Paper, useTheme } from '@mui/material'\nimport { FlexCol, FlexGrowRow, FlexRow } from '@xylabs/react-flexbox'\nimport { typeOf } from '@xyo-network/typeof'\nimport React, { ReactElement } from 'react'\n\nimport { PropertyGroupBoxProps, PropertyGroupPaperProps, PropertyGroupProps } from './Props.ts'\nimport { PropertyTitle } from './Title.tsx'\n\nconst PropertyGroupBox: React.FC<PropertyGroupBoxProps> = ({ titleProps, children, title, tip, ...props }) => {\n const theme = useTheme()\n const childrenArray = typeOf(children) === 'array' ? (children as ReactElement[]) : undefined\n return (\n <FlexCol alignItems=\"stretch\" overflow=\"hidden\" {...props}>\n <FlexRow overflow=\"hidden\" justifyContent=\"stretch\" alignItems=\"stretch\">\n <PropertyTitle alignItems=\"flex-start\" size=\"full\" title={title} tip={tip} {...titleProps} />\n {childrenArray\n ? (\n <FlexGrowRow>\n {childrenArray?.map((child, index) => {\n return child\n ? (\n <FlexGrowRow key={index} borderLeft={1} borderColor={theme.palette.divider}>\n {child}\n </FlexGrowRow>\n )\n : null\n })}\n </FlexGrowRow>\n )\n : <FlexGrowRow overflow=\"hidden\">{children}</FlexGrowRow>}\n </FlexRow>\n </FlexCol>\n )\n}\n\nconst PropertyGroupPaper: React.FC<PropertyGroupPaperProps> = ({ style, variant, elevation, square, ...props }) => {\n return (\n <Paper style={{ minWidth: 0, overflow: 'hidden', ...style }} variant={variant} elevation={elevation} square={square}>\n <PropertyGroupBox {...props} paper={false} />\n </Paper>\n )\n}\n\nexport const PropertyGroup: React.FC<PropertyGroupProps> = (props) => {\n return props.paper ? <PropertyGroupPaper {...props} /> : <PropertyGroupBox {...props} />\n}\n","import { darken, lighten, Typography, TypographyVariant, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { QuickTipButton } from '@xylabs/react-quick-tip-button'\nimport { SizeProp } from '@xyo-network/react-shared'\nimport React, { ReactNode } from 'react'\n\nexport type TitleSizeProp = SizeProp | 'full'\n\nexport interface PropertyTitleProps extends FlexBoxProps {\n elevation?: number\n more?: ReactNode\n size?: TitleSizeProp\n tip?: ReactNode\n title?: string\n}\n\nexport const PropertyTitle: React.FC<PropertyTitleProps> = ({ elevation = 1, size = 'medium', tip, more, title, ...props }) => {\n const sizeVariants: Record<TitleSizeProp, TypographyVariant> = {\n full: 'caption',\n large: 'caption',\n medium: 'caption',\n small: 'caption',\n }\n\n const sizeTitleHeight: Record<TitleSizeProp, number | undefined> = {\n full: undefined,\n large: 32,\n medium: 20,\n small: 16,\n }\n\n const sizeFontSize: Record<TitleSizeProp, number> = {\n full: 16,\n large: 16,\n medium: 14,\n small: 10,\n }\n\n const quickTipSize = sizeFontSize[size] < 16 ? sizeFontSize[size] : 16\n\n const theme = useTheme()\n\n return (\n <FlexRow\n bgcolor={\n theme.palette.mode === 'dark'\n ? lighten(theme.palette.background.paper, 0.05 * elevation)\n : darken(theme.palette.background.paper, 0.025 * elevation)\n }\n alignItems=\"center\"\n height={sizeTitleHeight[size]}\n justifyContent=\"space-between\"\n {...props}\n >\n <FlexRow paddingX={1} paddingY={0.5}>\n <Typography fontWeight={500} noWrap variant={sizeVariants[size]} fontSize={sizeFontSize[size]}>\n <small>\n <strong>{title}</strong>\n </small>\n </Typography>\n {tip\n ? (\n <QuickTipButton style={{ fontSize: quickTipSize }} color=\"inherit\" title={title ?? ''}>\n {tip}\n </QuickTipButton>\n )\n : null}\n </FlexRow>\n {more}\n </FlexRow>\n )\n}\n","import { CircularProgress, Paper, TypographyVariant } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport { SizeProp } from '@xyo-network/react-shared'\nimport React, { forwardRef } from 'react'\n\nimport { PropertyActionsMenu } from './ActionsMenu.tsx'\nimport { IdenticonCorner } from './IdenticonCorner.tsx'\nimport { PropertyBoxProps, PropertyPaperProps, PropertyProps } from './Props.ts'\nimport { PropertyTitle } from './Title.tsx'\nimport { PropertyValue } from './Value.tsx'\n\nconst PropertyBox = forwardRef<HTMLDivElement, PropertyBoxProps>(\n ({ titleProps, title, value, children, size = 'medium', tip, actions, required, badge = false, ...props }, ref) => {\n const sizeValueHeight: Record<SizeProp, number> = {\n large: 48,\n medium: 36,\n small: 24,\n }\n\n const sizeVariants: Record<SizeProp, TypographyVariant> = {\n large: 'h6',\n medium: 'body1',\n small: 'body2',\n }\n\n return (\n <FlexRow ref={ref} flexDirection=\"column\" minWidth={0} alignItems=\"stretch\" overflow=\"hidden\" {...props}>\n {title === undefined\n ? null\n : (\n <PropertyTitle\n tip={tip}\n title={required ? `${title}*` : title}\n size={size}\n more={<PropertyActionsMenu actions={actions} />}\n {...titleProps}\n />\n )}\n <FlexRow\n pl={1}\n columnGap={1}\n justifyContent={value === undefined ? 'center' : 'space-between'}\n overflow=\"hidden\"\n height={sizeValueHeight[size]}\n >\n {(children ?? value === undefined)\n ? <CircularProgress size={16} />\n : <PropertyValue value={value} typographyVariant={sizeVariants[size]} />}\n {value === undefined\n ? null\n : badge\n ? <IdenticonCorner value={value} />\n : null}\n </FlexRow>\n </FlexRow>\n )\n },\n)\nPropertyBox.displayName = 'PropertyBox'\n\nconst PropertyPaper = forwardRef<HTMLDivElement, PropertyPaperProps>(({ style, variant, elevation = 2, square, ...props }, ref) => {\n return (\n <Paper ref={ref} style={{ minWidth: 0, overflow: 'hidden', ...style }} variant={variant} elevation={elevation} square={square}>\n <PropertyBox {...props} paper={false} />\n </Paper>\n )\n})\nPropertyPaper.displayName = 'PropertyPaper'\n\nexport const Property = forwardRef<HTMLDivElement, PropertyProps>((props, ref) => {\n return props.paper ? <PropertyPaper ref={ref} {...props} /> : <PropertyBox ref={ref} {...props} />\n})\nProperty.displayName = 'Property'\n","import { MoreHoriz as MoreHorizIcon } from '@mui/icons-material'\nimport { IconButton, Menu, MenuItem } from '@mui/material'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React, { useState } from 'react'\n\nimport { PropertyActionsProps } from './ActionsProps.ts'\n\nexport const PropertyActionsMenu: React.FC<PropertyActionsProps> = ({ actions, ...props }) => {\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n const open = !!anchorEl\n\n const handleClick = (event: React.MouseEvent<HTMLElement>) => {\n setAnchorEl(event.currentTarget)\n }\n const handleClose = () => {\n setAnchorEl(null)\n }\n\n return actions && actions?.length > 0\n ? (\n <FlexRow {...props}>\n <IconButton size=\"small\" color=\"inherit\" onClick={handleClick}>\n <MoreHorizIcon fontSize=\"inherit\" />\n </IconButton>\n <Menu anchorEl={anchorEl} open={open} onClose={handleClose}>\n {actions?.map((action) => {\n return (\n <MenuItem\n key={action.name}\n onClick={() => {\n action?.onClick?.()\n handleClose()\n }}\n >\n {action.name}\n </MenuItem>\n )\n })}\n </Menu>\n </FlexRow>\n )\n : null\n}\n","import { useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { Identicon } from '@xylabs/react-identicon'\nimport React, { useEffect, useRef, useState } from 'react'\n\nexport interface IdenticonCornerProps extends FlexBoxProps {\n value?: string | number | boolean | null\n}\n\nexport const IdenticonCorner: React.FC<IdenticonCornerProps> = ({ value, ...props }) => {\n const theme = useTheme()\n const [parentHeight, setParentHeight] = useState<number>()\n const ref = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n setParentHeight(ref.current?.parentElement?.parentElement?.clientHeight)\n }, [])\n\n const calculatedHeight = parentHeight ?? 0\n\n return (\n <FlexRow alignItems=\"flex-start\" height=\"100%\">\n <FlexRow background height={calculatedHeight} width={calculatedHeight} borderLeft={`1px solid ${theme.palette.divider}`}>\n <div ref={ref}>\n <Identicon size={calculatedHeight * 0.6} value={`${value}`} sx={{ padding: `${calculatedHeight * 0.2}px` }} {...props} />\n </div>\n </FlexRow>\n </FlexRow>\n )\n}\n","// eslint-disable-next-line import/no-internal-modules\nimport { Variant } from '@mui/material/styles/createTypography.js'\nimport { EllipsizeBox, EllipsizeBoxProps } from '@xyo-network/react-shared'\nimport React, { forwardRef } from 'react'\n\nexport interface PropertyValueProps extends Omit<EllipsizeBoxProps, 'ref'> {\n typographyVariant?: Variant\n value?: string | number | boolean | null\n}\n\nexport const PropertyValue = forwardRef<HTMLDivElement, PropertyValueProps>(({ typographyVariant = 'body1', value, ...props }, ref) => {\n return value === undefined\n ? null\n : (\n <EllipsizeBox\n typographyProps={{ component: undefined, title: value?.toString(), variant: typographyVariant }}\n width=\"100%\"\n ref={ref}\n {...props}\n >\n {value}\n </EllipsizeBox>\n )\n})\n\nPropertyValue.displayName = 'PropertyValue'\n"],"mappings":";;;;AAAA,SAASA,OAAOC,YAAAA,iBAAgB;AAChC,SAASC,SAASC,aAAaC,WAAAA,gBAAe;AAC9C,SAASC,cAAc;AACvB,OAAOC,YAA6B;;;ACHpC,SAASC,QAAQC,SAASC,YAA+BC,gBAAgB;AACzE,SAAuBC,eAAe;AACtC,SAASC,sBAAsB;AAE/B,OAAOC,WAA0B;AAY1B,IAAMC,gBAA8C,wBAAC,EAAEC,YAAY,GAAGC,OAAO,UAAUC,KAAKC,MAAMC,OAAO,GAAGC,MAAAA,MAAO;AACxH,QAAMC,eAAyD;IAC7DC,MAAM;IACNC,OAAO;IACPC,QAAQ;IACRC,OAAO;EACT;AAEA,QAAMC,kBAA6D;IACjEJ,MAAMK;IACNJ,OAAO;IACPC,QAAQ;IACRC,O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D,UAAS;IACTQ,QAAQlB,gBAAgBP,IAAAA;KAEtBD,YAAYD,UAAUoB,SACpB,gBAAAN,OAAA,cAACc,kBAAAA;IAAiB1B,MAAM;OACxB,gBAAAY,OAAA,cAACe,eAAAA;IAAc7B;IAAc8B,mBAAmBjB,aAAaX,IAAAA;MAChEF,UAAUoB,SACP,OACAd,QACE,gBAAAQ,OAAA,cAACiB,iBAAAA;IAAgB/B;OACjB,IAAA,CAAA;AAId,CAAA;AAEFJ,YAAYoC,cAAc;AAE1B,IAAMC,gBAAgBpC,gBAAAA,YAA+C,CAAC,EAAEqC,OAAOC,SAASC,YAAY,GAAGC,QAAQ,GAAG9B,MAAAA,GAASC,QAAAA;AACzH,SACE,gBAAAM,OAAA,cAACwB,QAAAA;IAAM9B;IAAU0B,OAAO;MAAEjB,UAAU;MAAGE,UAAU;MAAU,GAAGe;IAAM;IAAGC;IAAkBC;IAAsBC;KAC7G,gBAAAvB,OAAA,cAAClB,aAAAA;IAAa,GAAGW;IAAOgC,OAAO;;AAGrC,CAAA;AACAN,cAAcD,cAAc;AAErB,IAAMQ,WAAW3C,gBAAAA,YAA0C,CAACU,OAAOC,QAAAA;AACxE,SAAOD,MAAMgC,QAAQ,gBAAAzB,OAAA,cAACmB,eAAAA;IAAczB;IAAW,GAAGD;OAAY,gBAAAO,OAAA,cAAClB,aAAAA;IAAYY;IAAW,GAAGD;;AAC3F,CAAA;AACAiC,SAASR,cAAc;","names":["Paper","useTheme","FlexCol","FlexGrowRow","FlexRow","typeOf","React","darken","lighten","Typography","useTheme","FlexRow","QuickTipButton","React","PropertyTitle","elevation","size","tip","more","title","props","sizeVariants","full","large","medium","small","sizeTitleHeight","undefined","sizeFontSize","quickTipSize","theme","useTheme","FlexRow","bgcolor","palette","mode","lighten","background","paper","darken","alignItems","height","justifyContent","paddingX","paddingY","Typography","fontWeight","noWrap","variant","fontSize","strong","QuickTipButton","style","color","PropertyGroupBox","titleProps","children","title","tip","props","theme","useTheme","childrenArray","typeOf","undefined","React","FlexCol","alignItems","overflow","FlexRow","justifyContent","PropertyTitle","size","FlexGrowRow","map","child","index","key","borderLeft","borderColor","palette","divider","PropertyGroupPaper","style","variant","elevation","square","Paper","minWidth","paper","PropertyGroup","CircularProgress","Paper","FlexRow","React","forwardRef","MoreHoriz","MoreHorizIcon","IconButton","Menu","MenuItem","FlexRow","React","useState","PropertyActionsMenu","actions","props","anchorEl","setAnchorEl","useState","open","handleClick","event","currentTarget","handleClose","length","React","FlexRow","IconButton","size","color","onClick","MoreHorizIcon","fontSize","Menu","onClose","map","action","MenuItem","key","name","useTheme","FlexRow","Identicon","React","useEffect","useRef","useState","IdenticonCorner","value","props","theme","useTheme","parentHeight","setParentHeight","useState","ref","useRef","useEffect","current","parentElement","clientHeight","calculatedHeight","React","FlexRow","alignItems","height","background","width","borderLeft","palette","divider","div","Identicon","size","sx","padding","EllipsizeBox","React","forwardRef","PropertyValue","typographyVariant","value","props","ref","undefined","typographyProps","component","title","toString","variant","width","displayName","PropertyBox","forwardRef","titleProps","title","value","children","size","tip","actions","required","badge","props","ref","sizeValueHeight","large","medium","small","sizeVariants","React","FlexRow","flexDirection","minWidth","alignItems","overflow","undefined","PropertyTitle","more","PropertyActionsMenu","pl","columnGap","justifyContent","height","CircularProgress","PropertyValue","typographyVariant","IdenticonCorner","displayName","PropertyPaper","style","variant","elevation","square","Paper","paper","Property"]}
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface PropertyAction {
3
- disabled?: boolean;
4
- icon?: ReactNode;
5
- name: string;
6
- onClick?: () => void;
7
- }
8
- //# sourceMappingURL=Action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/components/Action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface PropertyAction {
3
- disabled?: boolean;
4
- icon?: ReactNode;
5
- name: string;
6
- onClick?: () => void;
7
- }
8
- //# sourceMappingURL=Action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/components/Action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface PropertyAction {
3
- disabled?: boolean;
4
- icon?: ReactNode;
5
- name: string;
6
- onClick?: () => void;
7
- }
8
- //# sourceMappingURL=Action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/components/Action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActions: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=Actions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/components/Actions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActions: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=Actions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/components/Actions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActions: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=Actions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/components/Actions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActionsMenu: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=ActionsMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC9D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActionsMenu: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=ActionsMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC9D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyActionsProps } from './ActionsProps.ts';
3
- export declare const PropertyActionsMenu: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=ActionsMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmC9D,CAAA"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import { PropertyAction } from './Action.ts';
3
- export interface PropertyActionsProps extends FlexBoxProps {
4
- actions?: PropertyAction[];
5
- buttons?: boolean;
6
- }
7
- //# sourceMappingURL=ActionsProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsProps.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import { PropertyAction } from './Action.ts';
3
- export interface PropertyActionsProps extends FlexBoxProps {
4
- actions?: PropertyAction[];
5
- buttons?: boolean;
6
- }
7
- //# sourceMappingURL=ActionsProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsProps.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import { PropertyAction } from './Action.ts';
3
- export interface PropertyActionsProps extends FlexBoxProps {
4
- actions?: PropertyAction[];
5
- buttons?: boolean;
6
- }
7
- //# sourceMappingURL=ActionsProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionsProps.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyGroupProps } from './Props.ts';
3
- export declare const PropertyGroup: React.FC<PropertyGroupProps>;
4
- //# sourceMappingURL=Group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Group.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAuB,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAkD,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAsC/F,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyGroupProps } from './Props.ts';
3
- export declare const PropertyGroup: React.FC<PropertyGroupProps>;
4
- //# sourceMappingURL=Group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Group.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAuB,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAkD,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAsC/F,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyGroupProps } from './Props.ts';
3
- export declare const PropertyGroup: React.FC<PropertyGroupProps>;
4
- //# sourceMappingURL=Group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Group.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAuB,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAkD,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAsC/F,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import React from 'react';
3
- export interface IdenticonCornerProps extends FlexBoxProps {
4
- value?: string | number | boolean | null;
5
- }
6
- export declare const IdenticonCorner: React.FC<IdenticonCornerProps>;
7
- //# sourceMappingURL=IdenticonCorner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdenticonCorner.d.ts","sourceRoot":"","sources":["../../../src/components/IdenticonCorner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoB1D,CAAA"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import React from 'react';
3
- export interface IdenticonCornerProps extends FlexBoxProps {
4
- value?: string | number | boolean | null;
5
- }
6
- export declare const IdenticonCorner: React.FC<IdenticonCornerProps>;
7
- //# sourceMappingURL=IdenticonCorner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdenticonCorner.d.ts","sourceRoot":"","sources":["../../../src/components/IdenticonCorner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoB1D,CAAA"}
@@ -1,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import React from 'react';
3
- export interface IdenticonCornerProps extends FlexBoxProps {
4
- value?: string | number | boolean | null;
5
- }
6
- export declare const IdenticonCorner: React.FC<IdenticonCornerProps>;
7
- //# sourceMappingURL=IdenticonCorner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdenticonCorner.d.ts","sourceRoot":"","sources":["../../../src/components/IdenticonCorner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoB1D,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyBoxProps, PropertyPaperProps } from './Props.ts';
3
- export declare const Property: React.ForwardRefExoticComponent<(PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
4
- //# sourceMappingURL=Property.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../../src/components/Property.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,YAAY,CAAA;AA8DhF,eAAO,MAAM,QAAQ,6HAEnB,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyBoxProps, PropertyPaperProps } from './Props.ts';
3
- export declare const Property: React.ForwardRefExoticComponent<(PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
4
- //# sourceMappingURL=Property.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../../src/components/Property.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,YAAY,CAAA;AA8DhF,eAAO,MAAM,QAAQ,6HAEnB,CAAA"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { PropertyBoxProps, PropertyPaperProps } from './Props.ts';
3
- export declare const Property: React.ForwardRefExoticComponent<(PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
4
- //# sourceMappingURL=Property.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../../src/components/Property.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,YAAY,CAAA;AA8DhF,eAAO,MAAM,QAAQ,6HAEnB,CAAA"}
@@ -1,35 +0,0 @@
1
- import { PaperProps } from '@mui/material';
2
- import { FlexBoxProps } from '@xylabs/react-flexbox';
3
- import { SizeProp } from '@xyo-network/react-shared';
4
- import { ReactNode } from 'react';
5
- import { PropertyAction } from './Action.ts';
6
- import { PropertyTitleProps } from './Title.tsx';
7
- export interface PropertyBaseProps {
8
- paper?: boolean;
9
- tip?: ReactNode;
10
- title?: string;
11
- titleProps?: PropertyTitleProps;
12
- }
13
- export type PropertyFieldBaseProps = PropertyBaseProps & {
14
- actions?: PropertyAction[];
15
- badge?: boolean;
16
- required?: boolean;
17
- size?: SizeProp;
18
- value?: string | number | boolean | null;
19
- };
20
- export type PropertyBoxProps = PropertyFieldBaseProps & FlexBoxProps & {
21
- paper?: false;
22
- };
23
- export type PropertyPaperProps = PropertyFieldBaseProps & PaperProps & {
24
- paper: true;
25
- };
26
- export type PropertyProps = PropertyBoxProps | PropertyPaperProps;
27
- export type PropertyGroupBaseProps = PropertyBaseProps;
28
- export type PropertyGroupBoxProps = PropertyGroupBaseProps & FlexBoxProps & {
29
- paper?: false;
30
- };
31
- export type PropertyGroupPaperProps = PropertyGroupBaseProps & PaperProps & {
32
- paper: true;
33
- };
34
- export type PropertyGroupProps = PropertyGroupBoxProps | PropertyGroupPaperProps;
35
- //# sourceMappingURL=Props.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/components/Props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,YAAY,GAAG;IACb,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAEH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GACrD,UAAU,GAAG;IACX,KAAK,EAAE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