@hybridcore/ui 1.3.7 → 1.4.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 (126) hide show
  1. package/dist/AccordionDetails-CGs6GZQK.js +454 -0
  2. package/dist/Add-eepk2WTM.js +379 -0
  3. package/dist/Box-BPyg-Ybm.js +70 -0
  4. package/dist/Button-DLwB_sKd.js +354 -0
  5. package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
  6. package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
  7. package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
  8. package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
  9. package/dist/Delete-OHEw9lDi.js +22 -0
  10. package/dist/DialogContent-CxOSq6h9.js +519 -0
  11. package/dist/FormControlLabel-D9KFjcIx.js +193 -0
  12. package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
  13. package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
  14. package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
  15. package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
  16. package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
  17. package/dist/ListItem-CZbZ91vp.js +428 -0
  18. package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
  19. package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
  20. package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
  21. package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
  22. package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
  23. package/dist/Tabs-BzelDJKy.js +787 -0
  24. package/dist/TextField-D87qTh1k.js +457 -0
  25. package/dist/Typography-Bm7PFqUT.js +176 -0
  26. package/dist/assets/index.css +1 -1
  27. package/dist/assets/index2.css +1 -1
  28. package/dist/components/card/index.js +6 -6
  29. package/dist/components/card/styled.js +1 -1
  30. package/dist/components/collapsible-card/style.js +20 -466
  31. package/dist/components/confirm/dialog.js +8 -149
  32. package/dist/components/confirm/index.js +1 -1
  33. package/dist/components/container/index.js +7 -7
  34. package/dist/components/context-menu/index.js +191 -604
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  36. package/dist/components/data-security-selectors/security-level/index.js +42 -40
  37. package/dist/components/date-time-picker/index.js +18 -19
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +16 -16
  40. package/dist/components/geometry-picker/geometry/index.js +35 -35
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +14 -14
  43. package/dist/components/geometry-picker/map/index.js +1 -1
  44. package/dist/components/geometry-picker/map/logic.js +38 -37
  45. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
  46. package/dist/components/geometry-picker/parser/logic.js +33 -32
  47. package/dist/components/icon-button/index.js +1 -1
  48. package/dist/components/icon-button/styled.js +0 -2
  49. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  50. package/dist/components/instance-form/components/variable/index.js +19 -0
  51. package/dist/components/instance-form/components/variables/index.js +40 -0
  52. package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
  53. package/dist/components/instance-hierarchy-table/index.js +58 -0
  54. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  55. package/dist/components/instance-table/index.js +125 -0
  56. package/dist/components/instance-table/styled.js +13 -0
  57. package/dist/components/map/helpers/ol.js +1 -1
  58. package/dist/components/map/index.js +1 -1
  59. package/dist/components/map/logic.js +1 -1
  60. package/dist/components/map/styled.js +1 -1
  61. package/dist/components/phone-input/index.js +1 -1
  62. package/dist/components/property-mapping/index.js +558 -0
  63. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  64. package/dist/components/range-selector/components/date-range/index.js +9 -0
  65. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  66. package/dist/components/range-selector/components/number-range/index.js +86 -0
  67. package/dist/components/range-selector/components/string-range/index.js +31 -0
  68. package/dist/components/range-selector/index.js +59 -0
  69. package/dist/components/search-input/index.js +4 -4
  70. package/dist/components/tabs/appleTabs.style.js +55 -0
  71. package/dist/components/tabs/index.js +93 -0
  72. package/dist/components/tabs/tab-panel.js +18 -0
  73. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  74. package/dist/components/template-form/components/property-list/index.js +72 -0
  75. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  76. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  77. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  78. package/dist/components/template-form/components/property-list/types.js +8 -0
  79. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  80. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  81. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  83. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  84. package/dist/components/template-form/components/select-icon/index.js +186 -0
  85. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  86. package/dist/components/template-form/index.js +338 -0
  87. package/dist/components/template-property-filters/property.js +48 -46
  88. package/dist/components/tree-select/index.js +16 -15
  89. package/dist/components/tree-select/styled.js +2 -2
  90. package/dist/components/treeview-filter/index.js +8 -8
  91. package/dist/components/treeview-filter/item/index.js +1 -1
  92. package/dist/components/treeview-filter/item-label/index.js +18 -17
  93. package/dist/constants/index.js +41 -0
  94. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  95. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  96. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  97. package/dist/dialog-v5-nL5yy.js +153 -0
  98. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  99. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  100. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  101. package/dist/index-C1fczHEW.js +11042 -0
  102. package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
  103. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  104. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  105. package/dist/main.d.ts +561 -78
  106. package/dist/main.js +157 -157
  107. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  108. package/dist/property-list-form-BfP9gzSo.js +391 -0
  109. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  110. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  111. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  112. package/dist/useControlled-BYdyS7Pn.js +31 -0
  113. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  114. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  115. package/dist/utils/ontology.js +52 -30
  116. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  117. package/package.json +2 -1
  118. package/dist/DialogContent-BCYm_d1s.js +0 -864
  119. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  120. package/dist/Typography-Dg-ROiTA.js +0 -201
  121. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  122. package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
  123. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  124. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
  125. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  126. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -0,0 +1,457 @@
1
+ import { _ as l, a as H } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
+ import * as M from "react";
3
+ import { a as S, P as e } from "./createStyled-BzvgQjjR.js";
4
+ import { g as _, u as L, c as $, a as E } from "./useThemeProps-uYx_RkOH.js";
5
+ import { g as U, s as V } from "./styled-LNCprp4n.js";
6
+ import { jsx as p, jsxs as le } from "react/jsx-runtime";
7
+ import { f as ie, F as ae, I as de } from "./InputLabel-CWkW8NtU.js";
8
+ import { u as ce } from "./useId-BHG98T5I.js";
9
+ import { S as ue, F as pe } from "./Select-ClaBvSqf.js";
10
+ import { u as fe } from "./useFormControl-CatNKXAi.js";
11
+ import { r as me } from "./ButtonBase-D0qccOVb.js";
12
+ import { I as be } from "./Input-CmCkXczh.js";
13
+ import { O as Te } from "./OutlinedInput-DkIUD30e.js";
14
+ function xe(o) {
15
+ return U("MuiFormHelperText", o);
16
+ }
17
+ const z = _("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
18
+ var q;
19
+ const ge = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], he = (o) => {
20
+ const {
21
+ classes: r,
22
+ contained: s,
23
+ size: n,
24
+ disabled: d,
25
+ error: c,
26
+ filled: i,
27
+ focused: f,
28
+ required: u
29
+ } = o, t = {
30
+ root: ["root", d && "disabled", c && "error", n && `size${S(n)}`, s && "contained", f && "focused", i && "filled", u && "required"]
31
+ };
32
+ return E(t, xe, r);
33
+ }, ye = V("p", {
34
+ name: "MuiFormHelperText",
35
+ slot: "Root",
36
+ overridesResolver: (o, r) => {
37
+ const {
38
+ ownerState: s
39
+ } = o;
40
+ return [r.root, s.size && r[`size${S(s.size)}`], s.contained && r.contained, s.filled && r.filled];
41
+ }
42
+ })(({
43
+ theme: o,
44
+ ownerState: r
45
+ }) => l({
46
+ color: (o.vars || o).palette.text.secondary
47
+ }, o.typography.caption, {
48
+ textAlign: "left",
49
+ marginTop: 3,
50
+ marginRight: 0,
51
+ marginBottom: 0,
52
+ marginLeft: 0,
53
+ [`&.${z.disabled}`]: {
54
+ color: (o.vars || o).palette.text.disabled
55
+ },
56
+ [`&.${z.error}`]: {
57
+ color: (o.vars || o).palette.error.main
58
+ }
59
+ }, r.size === "small" && {
60
+ marginTop: 4
61
+ }, r.contained && {
62
+ marginLeft: 14,
63
+ marginRight: 14
64
+ })), B = /* @__PURE__ */ M.forwardRef(function(r, s) {
65
+ const n = L({
66
+ props: r,
67
+ name: "MuiFormHelperText"
68
+ }), {
69
+ children: d,
70
+ className: c,
71
+ component: i = "p"
72
+ } = n, f = H(n, ge), u = fe(), t = ie({
73
+ props: n,
74
+ muiFormControl: u,
75
+ states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
76
+ }), m = l({}, n, {
77
+ component: i,
78
+ contained: t.variant === "filled" || t.variant === "outlined",
79
+ variant: t.variant,
80
+ size: t.size,
81
+ disabled: t.disabled,
82
+ error: t.error,
83
+ filled: t.filled,
84
+ focused: t.focused,
85
+ required: t.required
86
+ }), x = he(m);
87
+ return /* @__PURE__ */ p(ye, l({
88
+ as: i,
89
+ ownerState: m,
90
+ className: $(x.root, c),
91
+ ref: s
92
+ }, f, {
93
+ children: d === " " ? (
94
+ // notranslate needed while Google Translate will not fix zero-width space issue
95
+ q || (q = /* @__PURE__ */ p("span", {
96
+ className: "notranslate",
97
+ children: "​"
98
+ }))
99
+ ) : d
100
+ }));
101
+ });
102
+ process.env.NODE_ENV !== "production" && (B.propTypes = {
103
+ // ----------------------------- Warning --------------------------------
104
+ // | These PropTypes are generated from the TypeScript type definitions |
105
+ // | To update them edit the d.ts file and run "yarn proptypes" |
106
+ // ----------------------------------------------------------------------
107
+ /**
108
+ * The content of the component.
109
+ *
110
+ * If `' '` is provided, the component reserves one line height for displaying a future message.
111
+ */
112
+ children: e.node,
113
+ /**
114
+ * Override or extend the styles applied to the component.
115
+ */
116
+ classes: e.object,
117
+ /**
118
+ * @ignore
119
+ */
120
+ className: e.string,
121
+ /**
122
+ * The component used for the root node.
123
+ * Either a string to use a HTML element or a component.
124
+ */
125
+ component: e.elementType,
126
+ /**
127
+ * If `true`, the helper text should be displayed in a disabled state.
128
+ */
129
+ disabled: e.bool,
130
+ /**
131
+ * If `true`, helper text should be displayed in an error state.
132
+ */
133
+ error: e.bool,
134
+ /**
135
+ * If `true`, the helper text should use filled classes key.
136
+ */
137
+ filled: e.bool,
138
+ /**
139
+ * If `true`, the helper text should use focused classes key.
140
+ */
141
+ focused: e.bool,
142
+ /**
143
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
144
+ * FormControl.
145
+ */
146
+ margin: e.oneOf(["dense"]),
147
+ /**
148
+ * If `true`, the helper text should use required classes key.
149
+ */
150
+ required: e.bool,
151
+ /**
152
+ * The system prop that allows defining system overrides as well as additional CSS styles.
153
+ */
154
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
155
+ /**
156
+ * The variant to use.
157
+ */
158
+ variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
159
+ });
160
+ function Fe(o) {
161
+ return U("MuiTextField", o);
162
+ }
163
+ _("MuiTextField", ["root"]);
164
+ const ve = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], Oe = {
165
+ standard: be,
166
+ filled: pe,
167
+ outlined: Te
168
+ }, Re = (o) => {
169
+ const {
170
+ classes: r
171
+ } = o;
172
+ return E({
173
+ root: ["root"]
174
+ }, Fe, r);
175
+ }, Ce = V(ae, {
176
+ name: "MuiTextField",
177
+ slot: "Root",
178
+ overridesResolver: (o, r) => r.root
179
+ })({}), we = /* @__PURE__ */ M.forwardRef(function(r, s) {
180
+ const n = L({
181
+ props: r,
182
+ name: "MuiTextField"
183
+ }), {
184
+ autoComplete: d,
185
+ autoFocus: c = !1,
186
+ children: i,
187
+ className: f,
188
+ color: u = "primary",
189
+ defaultValue: t,
190
+ disabled: m = !1,
191
+ error: x = !1,
192
+ FormHelperTextProps: W,
193
+ fullWidth: F = !1,
194
+ helperText: v,
195
+ id: D,
196
+ InputLabelProps: g,
197
+ inputProps: k,
198
+ InputProps: A,
199
+ inputRef: G,
200
+ label: b,
201
+ maxRows: J,
202
+ minRows: K,
203
+ multiline: C = !1,
204
+ name: Q,
205
+ onBlur: X,
206
+ onChange: Y,
207
+ onFocus: Z,
208
+ placeholder: ee,
209
+ required: w = !1,
210
+ rows: oe,
211
+ select: h = !1,
212
+ SelectProps: O,
213
+ type: re,
214
+ value: I,
215
+ variant: y = "outlined"
216
+ } = n, te = H(n, ve), P = l({}, n, {
217
+ autoFocus: c,
218
+ color: u,
219
+ disabled: m,
220
+ error: x,
221
+ fullWidth: F,
222
+ multiline: C,
223
+ required: w,
224
+ select: h,
225
+ variant: y
226
+ }), se = Re(P);
227
+ process.env.NODE_ENV !== "production" && h && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
228
+ const T = {};
229
+ y === "outlined" && (g && typeof g.shrink < "u" && (T.notched = g.shrink), T.label = b), h && ((!O || !O.native) && (T.id = void 0), T["aria-describedby"] = void 0);
230
+ const a = ce(D), R = v && a ? `${a}-helper-text` : void 0, N = b && a ? `${a}-label` : void 0, ne = Oe[y], j = /* @__PURE__ */ p(ne, l({
231
+ "aria-describedby": R,
232
+ autoComplete: d,
233
+ autoFocus: c,
234
+ defaultValue: t,
235
+ fullWidth: F,
236
+ multiline: C,
237
+ name: Q,
238
+ rows: oe,
239
+ maxRows: J,
240
+ minRows: K,
241
+ type: re,
242
+ value: I,
243
+ id: a,
244
+ inputRef: G,
245
+ onBlur: X,
246
+ onChange: Y,
247
+ onFocus: Z,
248
+ placeholder: ee,
249
+ inputProps: k
250
+ }, T, A));
251
+ return /* @__PURE__ */ le(Ce, l({
252
+ className: $(se.root, f),
253
+ disabled: m,
254
+ error: x,
255
+ fullWidth: F,
256
+ ref: s,
257
+ required: w,
258
+ color: u,
259
+ variant: y,
260
+ ownerState: P
261
+ }, te, {
262
+ children: [b != null && b !== "" && /* @__PURE__ */ p(de, l({
263
+ htmlFor: a,
264
+ id: N
265
+ }, g, {
266
+ children: b
267
+ })), h ? /* @__PURE__ */ p(ue, l({
268
+ "aria-describedby": R,
269
+ id: a,
270
+ labelId: N,
271
+ value: I,
272
+ input: j
273
+ }, O, {
274
+ children: i
275
+ })) : j, v && /* @__PURE__ */ p(B, l({
276
+ id: R
277
+ }, W, {
278
+ children: v
279
+ }))]
280
+ }));
281
+ });
282
+ process.env.NODE_ENV !== "production" && (we.propTypes = {
283
+ // ----------------------------- Warning --------------------------------
284
+ // | These PropTypes are generated from the TypeScript type definitions |
285
+ // | To update them edit the d.ts file and run "yarn proptypes" |
286
+ // ----------------------------------------------------------------------
287
+ /**
288
+ * This prop helps users to fill forms faster, especially on mobile devices.
289
+ * The name can be confusing, as it's more like an autofill.
290
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
291
+ */
292
+ autoComplete: e.string,
293
+ /**
294
+ * If `true`, the `input` element is focused during the first mount.
295
+ * @default false
296
+ */
297
+ autoFocus: e.bool,
298
+ /**
299
+ * @ignore
300
+ */
301
+ children: e.node,
302
+ /**
303
+ * Override or extend the styles applied to the component.
304
+ */
305
+ classes: e.object,
306
+ /**
307
+ * @ignore
308
+ */
309
+ className: e.string,
310
+ /**
311
+ * The color of the component.
312
+ * It supports both default and custom theme colors, which can be added as shown in the
313
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
314
+ * @default 'primary'
315
+ */
316
+ color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
317
+ /**
318
+ * The default value. Use when the component is not controlled.
319
+ */
320
+ defaultValue: e.any,
321
+ /**
322
+ * If `true`, the component is disabled.
323
+ * @default false
324
+ */
325
+ disabled: e.bool,
326
+ /**
327
+ * If `true`, the label is displayed in an error state.
328
+ * @default false
329
+ */
330
+ error: e.bool,
331
+ /**
332
+ * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
333
+ */
334
+ FormHelperTextProps: e.object,
335
+ /**
336
+ * If `true`, the input will take up the full width of its container.
337
+ * @default false
338
+ */
339
+ fullWidth: e.bool,
340
+ /**
341
+ * The helper text content.
342
+ */
343
+ helperText: e.node,
344
+ /**
345
+ * The id of the `input` element.
346
+ * Use this prop to make `label` and `helperText` accessible for screen readers.
347
+ */
348
+ id: e.string,
349
+ /**
350
+ * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
351
+ * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
352
+ */
353
+ InputLabelProps: e.object,
354
+ /**
355
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
356
+ */
357
+ inputProps: e.object,
358
+ /**
359
+ * Props applied to the Input element.
360
+ * It will be a [`FilledInput`](/material-ui/api/filled-input/),
361
+ * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
362
+ * component depending on the `variant` prop value.
363
+ */
364
+ InputProps: e.object,
365
+ /**
366
+ * Pass a ref to the `input` element.
367
+ */
368
+ inputRef: me,
369
+ /**
370
+ * The label content.
371
+ */
372
+ label: e.node,
373
+ /**
374
+ * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
375
+ * @default 'none'
376
+ */
377
+ margin: e.oneOf(["dense", "none", "normal"]),
378
+ /**
379
+ * Maximum number of rows to display when multiline option is set to true.
380
+ */
381
+ maxRows: e.oneOfType([e.number, e.string]),
382
+ /**
383
+ * Minimum number of rows to display when multiline option is set to true.
384
+ */
385
+ minRows: e.oneOfType([e.number, e.string]),
386
+ /**
387
+ * If `true`, a `textarea` element is rendered instead of an input.
388
+ * @default false
389
+ */
390
+ multiline: e.bool,
391
+ /**
392
+ * Name attribute of the `input` element.
393
+ */
394
+ name: e.string,
395
+ /**
396
+ * @ignore
397
+ */
398
+ onBlur: e.func,
399
+ /**
400
+ * Callback fired when the value is changed.
401
+ *
402
+ * @param {object} event The event source of the callback.
403
+ * You can pull out the new value by accessing `event.target.value` (string).
404
+ */
405
+ onChange: e.func,
406
+ /**
407
+ * @ignore
408
+ */
409
+ onFocus: e.func,
410
+ /**
411
+ * The short hint displayed in the `input` before the user enters a value.
412
+ */
413
+ placeholder: e.string,
414
+ /**
415
+ * If `true`, the label is displayed as required and the `input` element is required.
416
+ * @default false
417
+ */
418
+ required: e.bool,
419
+ /**
420
+ * Number of rows to display when multiline option is set to true.
421
+ */
422
+ rows: e.oneOfType([e.number, e.string]),
423
+ /**
424
+ * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
425
+ * If this option is set you must pass the options of the select as children.
426
+ * @default false
427
+ */
428
+ select: e.bool,
429
+ /**
430
+ * Props applied to the [`Select`](/material-ui/api/select/) element.
431
+ */
432
+ SelectProps: e.object,
433
+ /**
434
+ * The size of the component.
435
+ */
436
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
437
+ /**
438
+ * The system prop that allows defining system overrides as well as additional CSS styles.
439
+ */
440
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
441
+ /**
442
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
443
+ */
444
+ type: e.string,
445
+ /**
446
+ * The value of the `input` element, required for a controlled component.
447
+ */
448
+ value: e.any,
449
+ /**
450
+ * The variant to use.
451
+ * @default 'outlined'
452
+ */
453
+ variant: e.oneOf(["filled", "outlined", "standard"])
454
+ });
455
+ export {
456
+ we as T
457
+ };
@@ -0,0 +1,176 @@
1
+ import { _ as s, a as B } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
+ import * as W from "react";
3
+ import { a as f, P as o } from "./createStyled-BzvgQjjR.js";
4
+ import { g as C, u as M, c as O, a as j } from "./useThemeProps-uYx_RkOH.js";
5
+ import { g as P, s as N } from "./styled-LNCprp4n.js";
6
+ import { jsx as R } from "react/jsx-runtime";
7
+ import { e as _ } from "./extendSxProp-qqdkfHzS.js";
8
+ function U(a) {
9
+ return P("MuiTypography", a);
10
+ }
11
+ C("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
12
+ const D = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], E = (a) => {
13
+ const {
14
+ align: t,
15
+ gutterBottom: r,
16
+ noWrap: n,
17
+ paragraph: i,
18
+ variant: e,
19
+ classes: h
20
+ } = a, p = {
21
+ root: ["root", e, a.align !== "inherit" && `align${f(t)}`, r && "gutterBottom", n && "noWrap", i && "paragraph"]
22
+ };
23
+ return j(p, U, h);
24
+ }, L = N("span", {
25
+ name: "MuiTypography",
26
+ slot: "Root",
27
+ overridesResolver: (a, t) => {
28
+ const {
29
+ ownerState: r
30
+ } = a;
31
+ return [t.root, r.variant && t[r.variant], r.align !== "inherit" && t[`align${f(r.align)}`], r.noWrap && t.noWrap, r.gutterBottom && t.gutterBottom, r.paragraph && t.paragraph];
32
+ }
33
+ })(({
34
+ theme: a,
35
+ ownerState: t
36
+ }) => s({
37
+ margin: 0
38
+ }, t.variant && a.typography[t.variant], t.align !== "inherit" && {
39
+ textAlign: t.align
40
+ }, t.noWrap && {
41
+ overflow: "hidden",
42
+ textOverflow: "ellipsis",
43
+ whiteSpace: "nowrap"
44
+ }, t.gutterBottom && {
45
+ marginBottom: "0.35em"
46
+ }, t.paragraph && {
47
+ marginBottom: 16
48
+ })), u = {
49
+ h1: "h1",
50
+ h2: "h2",
51
+ h3: "h3",
52
+ h4: "h4",
53
+ h5: "h5",
54
+ h6: "h6",
55
+ subtitle1: "h6",
56
+ subtitle2: "h6",
57
+ body1: "p",
58
+ body2: "p",
59
+ inherit: "p"
60
+ }, V = {
61
+ primary: "primary.main",
62
+ textPrimary: "text.primary",
63
+ secondary: "secondary.main",
64
+ textSecondary: "text.secondary",
65
+ error: "error.main"
66
+ }, $ = (a) => V[a] || a, w = /* @__PURE__ */ W.forwardRef(function(t, r) {
67
+ const n = M({
68
+ props: t,
69
+ name: "MuiTypography"
70
+ }), i = $(n.color), e = _(s({}, n, {
71
+ color: i
72
+ })), {
73
+ align: h = "inherit",
74
+ className: p,
75
+ component: g,
76
+ gutterBottom: d = !1,
77
+ noWrap: b = !1,
78
+ paragraph: c = !1,
79
+ variant: l = "body1",
80
+ variantMapping: m = u
81
+ } = e, v = B(e, D), y = s({}, e, {
82
+ align: h,
83
+ color: i,
84
+ className: p,
85
+ component: g,
86
+ gutterBottom: d,
87
+ noWrap: b,
88
+ paragraph: c,
89
+ variant: l,
90
+ variantMapping: m
91
+ }), T = g || (c ? "p" : m[l] || u[l]) || "span", x = E(y);
92
+ return /* @__PURE__ */ R(L, s({
93
+ as: T,
94
+ ref: r,
95
+ ownerState: y,
96
+ className: O(x.root, p)
97
+ }, v));
98
+ });
99
+ process.env.NODE_ENV !== "production" && (w.propTypes = {
100
+ // ----------------------------- Warning --------------------------------
101
+ // | These PropTypes are generated from the TypeScript type definitions |
102
+ // | To update them edit the d.ts file and run "yarn proptypes" |
103
+ // ----------------------------------------------------------------------
104
+ /**
105
+ * Set the text-align on the component.
106
+ * @default 'inherit'
107
+ */
108
+ align: o.oneOf(["center", "inherit", "justify", "left", "right"]),
109
+ /**
110
+ * The content of the component.
111
+ */
112
+ children: o.node,
113
+ /**
114
+ * Override or extend the styles applied to the component.
115
+ */
116
+ classes: o.object,
117
+ /**
118
+ * @ignore
119
+ */
120
+ className: o.string,
121
+ /**
122
+ * The component used for the root node.
123
+ * Either a string to use a HTML element or a component.
124
+ */
125
+ component: o.elementType,
126
+ /**
127
+ * If `true`, the text will have a bottom margin.
128
+ * @default false
129
+ */
130
+ gutterBottom: o.bool,
131
+ /**
132
+ * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
133
+ *
134
+ * Note that text overflow can only happen with block or inline-block level elements
135
+ * (the element needs to have a width in order to overflow).
136
+ * @default false
137
+ */
138
+ noWrap: o.bool,
139
+ /**
140
+ * If `true`, the element will be a paragraph element.
141
+ * @default false
142
+ */
143
+ paragraph: o.bool,
144
+ /**
145
+ * The system prop that allows defining system overrides as well as additional CSS styles.
146
+ */
147
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
148
+ /**
149
+ * Applies the theme typography styles.
150
+ * @default 'body1'
151
+ */
152
+ variant: o.oneOfType([o.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), o.string]),
153
+ /**
154
+ * The component maps the variant prop to a range of different HTML element types.
155
+ * For instance, subtitle1 to `<h6>`.
156
+ * If you wish to change that mapping, you can provide your own.
157
+ * Alternatively, you can use the `component` prop.
158
+ * @default {
159
+ * h1: 'h1',
160
+ * h2: 'h2',
161
+ * h3: 'h3',
162
+ * h4: 'h4',
163
+ * h5: 'h5',
164
+ * h6: 'h6',
165
+ * subtitle1: 'h6',
166
+ * subtitle2: 'h6',
167
+ * body1: 'p',
168
+ * body2: 'p',
169
+ * inherit: 'p',
170
+ * }
171
+ */
172
+ variantMapping: o.object
173
+ });
174
+ export {
175
+ w as T
176
+ };
@@ -1 +1 @@
1
- :root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}
1
+ :root{--PhoneInput-color--focus: #03b2cb;--PhoneInputInternationalIconPhone-opacity: .8;--PhoneInputInternationalIconGlobe-opacity: .65;--PhoneInputCountrySelect-marginRight: .35em;--PhoneInputCountrySelectArrow-width: .3em;--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth: 1px;--PhoneInputCountrySelectArrow-opacity: .45;--PhoneInputCountrySelectArrow-color: currentColor;--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform: rotate(45deg);--PhoneInputCountryFlag-aspectRatio: 1.5;--PhoneInputCountryFlag-height: 1em;--PhoneInputCountryFlag-borderWidth: 1px;--PhoneInputCountryFlag-borderColor: rgba(0,0,0,.5);--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,.1)}.PhoneInput{display:flex;align-items:center}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;width:100%;height:100%}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{position:relative;align-self:stretch;display:flex;align-items:center;margin-right:var(--PhoneInputCountrySelect-marginRight)}.PhoneInputCountrySelect{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;border:0;opacity:0;cursor:pointer}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{display:block;content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}