@hybridcore/ui 1.3.7 → 1.4.1
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.
- package/dist/AccordionDetails-CGs6GZQK.js +454 -0
- package/dist/Add-eepk2WTM.js +379 -0
- package/dist/Box-BPyg-Ybm.js +70 -0
- package/dist/Button-DLwB_sKd.js +354 -0
- package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
- package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
- package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
- package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
- package/dist/Delete-OHEw9lDi.js +22 -0
- package/dist/DialogContent-CxOSq6h9.js +519 -0
- package/dist/FormControlLabel-D9KFjcIx.js +193 -0
- package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
- package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
- package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
- package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
- package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
- package/dist/ListItem-CZbZ91vp.js +428 -0
- package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
- package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
- package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
- package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
- package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
- package/dist/Tabs-BzelDJKy.js +787 -0
- package/dist/TextField-D87qTh1k.js +457 -0
- package/dist/Typography-Bm7PFqUT.js +176 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/card/index.js +341 -179
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +20 -466
- package/dist/components/confirm/dialog.js +8 -149
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +191 -604
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/data-security-selectors/security-level/index.js +42 -40
- package/dist/components/date-time-picker/index.js +18 -19
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +16 -16
- package/dist/components/geometry-picker/geometry/index.js +35 -35
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/geometry-picker/kml/index.js +14 -14
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +38 -37
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
- package/dist/components/geometry-picker/parser/logic.js +33 -32
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button/styled.js +0 -2
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
- package/dist/components/instance-form/components/variable/index.js +19 -0
- package/dist/components/instance-form/components/variables/index.js +40 -0
- package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
- package/dist/components/instance-hierarchy-table/index.js +58 -0
- package/dist/components/instance-hierarchy-table/styled.js +29 -0
- package/dist/components/instance-table/index.js +125 -0
- package/dist/components/instance-table/styled.js +13 -0
- package/dist/components/map/helpers/ol.js +1 -1
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +1 -1
- package/dist/components/map/styled.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/property-mapping/index.js +558 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
- package/dist/components/range-selector/components/date-range/index.js +9 -0
- package/dist/components/range-selector/components/geometry-range/index.js +26 -0
- package/dist/components/range-selector/components/number-range/index.js +86 -0
- package/dist/components/range-selector/components/string-range/index.js +31 -0
- package/dist/components/range-selector/index.js +59 -0
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/tabs/appleTabs.style.js +55 -0
- package/dist/components/tabs/index.js +93 -0
- package/dist/components/tabs/tab-panel.js +18 -0
- package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
- package/dist/components/template-form/components/property-list/index.js +72 -0
- package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
- package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
- package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
- package/dist/components/template-form/components/property-list/types.js +8 -0
- package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
- package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
- package/dist/components/template-form/components/select-icon/index.js +186 -0
- package/dist/components/template-form/components/select-icon/styled.js +76 -0
- package/dist/components/template-form/index.js +338 -0
- package/dist/components/template-property-filters/property.js +48 -46
- package/dist/components/tree-select/index.js +16 -15
- package/dist/components/tree-select/styled.js +2 -2
- package/dist/components/treeview-filter/index.js +8 -8
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +18 -17
- package/dist/constants/index.js +41 -0
- package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
- package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
- package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
- package/dist/dialog-v5-nL5yy.js +153 -0
- package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
- package/dist/extendSxProp-qqdkfHzS.js +30 -0
- package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
- package/dist/index-C1fczHEW.js +11042 -0
- package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
- package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
- package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
- package/dist/main.d.ts +562 -78
- package/dist/main.js +157 -157
- package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
- package/dist/property-list-form-BfP9gzSo.js +391 -0
- package/dist/requirePropFactory-BjhhI-AW.js +18 -0
- package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
- package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
- package/dist/utils/ontology.js +52 -30
- package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
- package/package.json +2 -1
- package/dist/DialogContent-BCYm_d1s.js +0 -864
- package/dist/FormControlLabel-DENNVXWL.js +0 -639
- package/dist/Typography-Dg-ROiTA.js +0 -201
- package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
- package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
- package/dist/createSvgIcon-B2WT0K4k.js +0 -87
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
- package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
- package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Box as
|
|
3
|
-
import { LandscapeCardRoot as
|
|
4
|
-
import { _ as
|
|
5
|
-
import * as
|
|
6
|
-
import { P as
|
|
7
|
-
import { g as
|
|
8
|
-
import { g as
|
|
9
|
-
import { C as
|
|
10
|
-
import { T as
|
|
11
|
-
function
|
|
12
|
-
return
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { Skeleton as n, Box as g, Avatar as C } from "@mui/material";
|
|
3
|
+
import { LandscapeCardRoot as I, LandscapeInfoBox as P, LandscapeCardExtraActions as _, PortraitCardRoot as L, PortraitCardExtraActions as U } from "./styled.js";
|
|
4
|
+
import { _ as u, a as O } from "../../objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
5
|
+
import * as T from "react";
|
|
6
|
+
import { P as i } from "../../createStyled-BzvgQjjR.js";
|
|
7
|
+
import { g as S, u as N, c as k, a as B, b as H } from "../../useThemeProps-uYx_RkOH.js";
|
|
8
|
+
import { g as j, s as R } from "../../styled-LNCprp4n.js";
|
|
9
|
+
import { C as M } from "../../CardContent-DFsCCOWk.js";
|
|
10
|
+
import { T as p } from "../../Typography-Bm7PFqUT.js";
|
|
11
|
+
function D(t) {
|
|
12
|
+
return j("MuiCardActions", t);
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
const
|
|
14
|
+
S("MuiCardActions", ["root", "spacing"]);
|
|
15
|
+
const z = ["disableSpacing", "className"], $ = (t) => {
|
|
16
16
|
const {
|
|
17
|
-
classes:
|
|
18
|
-
disableSpacing:
|
|
19
|
-
} =
|
|
20
|
-
return
|
|
21
|
-
root: ["root", !
|
|
22
|
-
},
|
|
23
|
-
},
|
|
17
|
+
classes: o,
|
|
18
|
+
disableSpacing: s
|
|
19
|
+
} = t;
|
|
20
|
+
return B({
|
|
21
|
+
root: ["root", !s && "spacing"]
|
|
22
|
+
}, D, o);
|
|
23
|
+
}, F = R("div", {
|
|
24
24
|
name: "MuiCardActions",
|
|
25
25
|
slot: "Root",
|
|
26
|
-
overridesResolver: (
|
|
26
|
+
overridesResolver: (t, o) => {
|
|
27
27
|
const {
|
|
28
|
-
ownerState:
|
|
29
|
-
} =
|
|
30
|
-
return [
|
|
28
|
+
ownerState: s
|
|
29
|
+
} = t;
|
|
30
|
+
return [o.root, !s.disableSpacing && o.spacing];
|
|
31
31
|
}
|
|
32
32
|
})(({
|
|
33
|
-
ownerState:
|
|
34
|
-
}) =>
|
|
33
|
+
ownerState: t
|
|
34
|
+
}) => u({
|
|
35
35
|
display: "flex",
|
|
36
36
|
alignItems: "center",
|
|
37
37
|
padding: 8
|
|
38
|
-
}, !
|
|
38
|
+
}, !t.disableSpacing && {
|
|
39
39
|
"& > :not(:first-of-type)": {
|
|
40
40
|
marginLeft: 8
|
|
41
41
|
}
|
|
42
|
-
})),
|
|
43
|
-
const
|
|
44
|
-
props:
|
|
42
|
+
})), E = /* @__PURE__ */ T.forwardRef(function(o, s) {
|
|
43
|
+
const c = N({
|
|
44
|
+
props: o,
|
|
45
45
|
name: "MuiCardActions"
|
|
46
46
|
}), {
|
|
47
|
-
disableSpacing:
|
|
48
|
-
className:
|
|
49
|
-
} =
|
|
50
|
-
disableSpacing:
|
|
51
|
-
}),
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
className:
|
|
54
|
-
ownerState:
|
|
55
|
-
ref:
|
|
56
|
-
},
|
|
47
|
+
disableSpacing: l = !1,
|
|
48
|
+
className: f
|
|
49
|
+
} = c, d = O(c, z), m = u({}, c, {
|
|
50
|
+
disableSpacing: l
|
|
51
|
+
}), x = $(m);
|
|
52
|
+
return /* @__PURE__ */ e(F, u({
|
|
53
|
+
className: k(x.root, f),
|
|
54
|
+
ownerState: m,
|
|
55
|
+
ref: s
|
|
56
|
+
}, d));
|
|
57
57
|
});
|
|
58
|
-
process.env.NODE_ENV !== "production" && (
|
|
58
|
+
process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
59
59
|
// ----------------------------- Warning --------------------------------
|
|
60
60
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
61
61
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -63,93 +63,93 @@ process.env.NODE_ENV !== "production" && (k.propTypes = {
|
|
|
63
63
|
/**
|
|
64
64
|
* The content of the component.
|
|
65
65
|
*/
|
|
66
|
-
children:
|
|
66
|
+
children: i.node,
|
|
67
67
|
/**
|
|
68
68
|
* Override or extend the styles applied to the component.
|
|
69
69
|
*/
|
|
70
|
-
classes:
|
|
70
|
+
classes: i.object,
|
|
71
71
|
/**
|
|
72
72
|
* @ignore
|
|
73
73
|
*/
|
|
74
|
-
className:
|
|
74
|
+
className: i.string,
|
|
75
75
|
/**
|
|
76
76
|
* If `true`, the actions do not have additional margin.
|
|
77
77
|
* @default false
|
|
78
78
|
*/
|
|
79
|
-
disableSpacing:
|
|
79
|
+
disableSpacing: i.bool,
|
|
80
80
|
/**
|
|
81
81
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
82
82
|
*/
|
|
83
|
-
sx:
|
|
83
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
84
84
|
});
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function V(t) {
|
|
86
|
+
return j("MuiCardMedia", t);
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
const
|
|
88
|
+
S("MuiCardMedia", ["root", "media", "img"]);
|
|
89
|
+
const G = ["children", "className", "component", "image", "src", "style"], q = (t) => {
|
|
90
90
|
const {
|
|
91
|
-
classes:
|
|
92
|
-
isMediaComponent:
|
|
93
|
-
isImageComponent:
|
|
94
|
-
} =
|
|
95
|
-
return
|
|
96
|
-
root: ["root",
|
|
97
|
-
},
|
|
98
|
-
},
|
|
91
|
+
classes: o,
|
|
92
|
+
isMediaComponent: s,
|
|
93
|
+
isImageComponent: c
|
|
94
|
+
} = t;
|
|
95
|
+
return B({
|
|
96
|
+
root: ["root", s && "media", c && "img"]
|
|
97
|
+
}, V, o);
|
|
98
|
+
}, J = R("div", {
|
|
99
99
|
name: "MuiCardMedia",
|
|
100
100
|
slot: "Root",
|
|
101
|
-
overridesResolver: (
|
|
101
|
+
overridesResolver: (t, o) => {
|
|
102
102
|
const {
|
|
103
|
-
ownerState:
|
|
104
|
-
} =
|
|
105
|
-
isMediaComponent:
|
|
106
|
-
isImageComponent:
|
|
107
|
-
} =
|
|
108
|
-
return [
|
|
103
|
+
ownerState: s
|
|
104
|
+
} = t, {
|
|
105
|
+
isMediaComponent: c,
|
|
106
|
+
isImageComponent: l
|
|
107
|
+
} = s;
|
|
108
|
+
return [o.root, c && o.media, l && o.img];
|
|
109
109
|
}
|
|
110
110
|
})(({
|
|
111
|
-
ownerState:
|
|
112
|
-
}) =>
|
|
111
|
+
ownerState: t
|
|
112
|
+
}) => u({
|
|
113
113
|
display: "block",
|
|
114
114
|
backgroundSize: "cover",
|
|
115
115
|
backgroundRepeat: "no-repeat",
|
|
116
116
|
backgroundPosition: "center"
|
|
117
|
-
},
|
|
117
|
+
}, t.isMediaComponent && {
|
|
118
118
|
width: "100%"
|
|
119
|
-
},
|
|
119
|
+
}, t.isImageComponent && {
|
|
120
120
|
// ⚠️ object-fit is not supported by IE11.
|
|
121
121
|
objectFit: "cover"
|
|
122
|
-
})),
|
|
123
|
-
const
|
|
124
|
-
props:
|
|
122
|
+
})), K = ["video", "audio", "picture", "iframe", "img"], Q = ["picture", "img"], b = /* @__PURE__ */ T.forwardRef(function(o, s) {
|
|
123
|
+
const c = N({
|
|
124
|
+
props: o,
|
|
125
125
|
name: "MuiCardMedia"
|
|
126
126
|
}), {
|
|
127
|
-
children:
|
|
128
|
-
className:
|
|
129
|
-
component:
|
|
130
|
-
image:
|
|
131
|
-
src:
|
|
132
|
-
style:
|
|
133
|
-
} =
|
|
134
|
-
backgroundImage: `url("${
|
|
135
|
-
},
|
|
136
|
-
component:
|
|
137
|
-
isMediaComponent:
|
|
138
|
-
isImageComponent:
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */
|
|
141
|
-
className:
|
|
142
|
-
as:
|
|
143
|
-
role: !
|
|
144
|
-
ref:
|
|
145
|
-
style:
|
|
146
|
-
ownerState:
|
|
147
|
-
src:
|
|
148
|
-
},
|
|
149
|
-
children:
|
|
127
|
+
children: l,
|
|
128
|
+
className: f,
|
|
129
|
+
component: d = "div",
|
|
130
|
+
image: m,
|
|
131
|
+
src: x,
|
|
132
|
+
style: a
|
|
133
|
+
} = c, w = O(c, G), v = K.indexOf(d) !== -1, W = !v && m ? u({
|
|
134
|
+
backgroundImage: `url("${m}")`
|
|
135
|
+
}, a) : a, y = u({}, c, {
|
|
136
|
+
component: d,
|
|
137
|
+
isMediaComponent: v,
|
|
138
|
+
isImageComponent: Q.indexOf(d) !== -1
|
|
139
|
+
}), A = q(y);
|
|
140
|
+
return /* @__PURE__ */ e(J, u({
|
|
141
|
+
className: k(A.root, f),
|
|
142
|
+
as: d,
|
|
143
|
+
role: !v && m ? "img" : void 0,
|
|
144
|
+
ref: s,
|
|
145
|
+
style: W,
|
|
146
|
+
ownerState: y,
|
|
147
|
+
src: v ? m || x : void 0
|
|
148
|
+
}, w, {
|
|
149
|
+
children: l
|
|
150
150
|
}));
|
|
151
151
|
});
|
|
152
|
-
process.env.NODE_ENV !== "production" && (
|
|
152
|
+
process.env.NODE_ENV !== "production" && (b.propTypes = {
|
|
153
153
|
// ----------------------------- Warning --------------------------------
|
|
154
154
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
155
155
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -157,73 +157,107 @@ process.env.NODE_ENV !== "production" && (x.propTypes = {
|
|
|
157
157
|
/**
|
|
158
158
|
* The content of the component.
|
|
159
159
|
*/
|
|
160
|
-
children:
|
|
160
|
+
children: H(i.node, (t) => !t.children && !t.image && !t.src && !t.component ? new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified.") : null),
|
|
161
161
|
/**
|
|
162
162
|
* Override or extend the styles applied to the component.
|
|
163
163
|
*/
|
|
164
|
-
classes:
|
|
164
|
+
classes: i.object,
|
|
165
165
|
/**
|
|
166
166
|
* @ignore
|
|
167
167
|
*/
|
|
168
|
-
className:
|
|
168
|
+
className: i.string,
|
|
169
169
|
/**
|
|
170
170
|
* The component used for the root node.
|
|
171
171
|
* Either a string to use a HTML element or a component.
|
|
172
172
|
*/
|
|
173
|
-
component:
|
|
173
|
+
component: i.elementType,
|
|
174
174
|
/**
|
|
175
175
|
* Image to be displayed as a background image.
|
|
176
176
|
* Either `image` or `src` prop must be specified.
|
|
177
177
|
* Note that caller must specify height otherwise the image will not be visible.
|
|
178
178
|
*/
|
|
179
|
-
image:
|
|
179
|
+
image: i.string,
|
|
180
180
|
/**
|
|
181
181
|
* An alias for `image` property.
|
|
182
182
|
* Available only with media components.
|
|
183
183
|
* Media components: `video`, `audio`, `picture`, `iframe`, `img`.
|
|
184
184
|
*/
|
|
185
|
-
src:
|
|
185
|
+
src: i.string,
|
|
186
186
|
/**
|
|
187
187
|
* @ignore
|
|
188
188
|
*/
|
|
189
|
-
style:
|
|
189
|
+
style: i.object,
|
|
190
190
|
/**
|
|
191
191
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
192
192
|
*/
|
|
193
|
-
sx:
|
|
193
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
194
194
|
});
|
|
195
|
-
const
|
|
196
|
-
title:
|
|
197
|
-
text:
|
|
198
|
-
image:
|
|
199
|
-
orientation:
|
|
200
|
-
avatar:
|
|
201
|
-
actions:
|
|
202
|
-
extraActions:
|
|
203
|
-
extraInfo:
|
|
204
|
-
stats:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
195
|
+
const re = ({
|
|
196
|
+
title: t,
|
|
197
|
+
text: o,
|
|
198
|
+
image: s,
|
|
199
|
+
orientation: c = "portrait",
|
|
200
|
+
avatar: l,
|
|
201
|
+
actions: f,
|
|
202
|
+
extraActions: d,
|
|
203
|
+
extraInfo: m,
|
|
204
|
+
stats: x,
|
|
205
|
+
loading: a = !1
|
|
206
|
+
}) => c === "landscape" ? /* @__PURE__ */ r(I, { children: [
|
|
207
|
+
a ? /* @__PURE__ */ e(
|
|
208
|
+
n,
|
|
209
|
+
{
|
|
210
|
+
sx: { width: 330, height: 200 },
|
|
211
|
+
animation: "wave",
|
|
212
|
+
variant: "rounded"
|
|
213
|
+
}
|
|
214
|
+
) : /* @__PURE__ */ e(
|
|
215
|
+
b,
|
|
208
216
|
{
|
|
209
217
|
component: "img",
|
|
210
|
-
alt:
|
|
211
|
-
image:
|
|
218
|
+
alt: t,
|
|
219
|
+
image: s,
|
|
212
220
|
sx: { width: 330, height: 200 }
|
|
213
221
|
}
|
|
214
222
|
),
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */
|
|
217
|
-
|
|
223
|
+
/* @__PURE__ */ r(M, { children: [
|
|
224
|
+
/* @__PURE__ */ e(g, { flex: 1, children: /* @__PURE__ */ r(
|
|
225
|
+
g,
|
|
218
226
|
{
|
|
219
227
|
display: "flex",
|
|
220
228
|
flexDirection: "column",
|
|
221
229
|
justifyContent: "space-between",
|
|
222
230
|
height: "100%",
|
|
223
231
|
children: [
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
|
|
232
|
+
/* @__PURE__ */ e(g, { children: a ? /* @__PURE__ */ r(h, { children: [
|
|
233
|
+
/* @__PURE__ */ e(
|
|
234
|
+
n,
|
|
235
|
+
{
|
|
236
|
+
animation: "wave",
|
|
237
|
+
height: 10,
|
|
238
|
+
style: { marginBottom: 16, marginTop: 10 }
|
|
239
|
+
}
|
|
240
|
+
),
|
|
241
|
+
/* @__PURE__ */ e(
|
|
242
|
+
n,
|
|
243
|
+
{
|
|
244
|
+
animation: "wave",
|
|
245
|
+
height: 10,
|
|
246
|
+
style: { marginBottom: 6 }
|
|
247
|
+
}
|
|
248
|
+
),
|
|
249
|
+
/* @__PURE__ */ e(
|
|
250
|
+
n,
|
|
251
|
+
{
|
|
252
|
+
animation: "wave",
|
|
253
|
+
height: 10,
|
|
254
|
+
width: "80%",
|
|
255
|
+
style: { marginBottom: 6 }
|
|
256
|
+
}
|
|
257
|
+
)
|
|
258
|
+
] }) : /* @__PURE__ */ r(h, { children: [
|
|
259
|
+
/* @__PURE__ */ e(
|
|
260
|
+
p,
|
|
227
261
|
{
|
|
228
262
|
gutterBottom: !0,
|
|
229
263
|
variant: "subtitle1",
|
|
@@ -235,11 +269,11 @@ const ne = ({
|
|
|
235
269
|
WebkitLineClamp: 3,
|
|
236
270
|
WebkitBoxOrient: "vertical"
|
|
237
271
|
},
|
|
238
|
-
children:
|
|
272
|
+
children: t
|
|
239
273
|
}
|
|
240
274
|
),
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
-
|
|
275
|
+
/* @__PURE__ */ e(
|
|
276
|
+
p,
|
|
243
277
|
{
|
|
244
278
|
variant: "caption",
|
|
245
279
|
component: "p",
|
|
@@ -252,54 +286,162 @@ const ne = ({
|
|
|
252
286
|
WebkitBoxOrient: "vertical",
|
|
253
287
|
lineHeight: "16px"
|
|
254
288
|
},
|
|
255
|
-
children: /* @__PURE__ */
|
|
289
|
+
children: /* @__PURE__ */ e("small", { children: o })
|
|
256
290
|
}
|
|
257
291
|
)
|
|
258
|
-
] }),
|
|
259
|
-
/* @__PURE__ */
|
|
292
|
+
] }) }),
|
|
293
|
+
/* @__PURE__ */ e(g, { children: a ? /* @__PURE__ */ e(
|
|
294
|
+
n,
|
|
295
|
+
{
|
|
296
|
+
animation: "wave",
|
|
297
|
+
height: 10,
|
|
298
|
+
width: "40%",
|
|
299
|
+
style: { marginBottom: 6 }
|
|
300
|
+
}
|
|
301
|
+
) : x })
|
|
260
302
|
]
|
|
261
303
|
}
|
|
262
304
|
) }),
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
/* @__PURE__ */
|
|
265
|
-
|
|
266
|
-
d,
|
|
305
|
+
/* @__PURE__ */ r(P, { children: [
|
|
306
|
+
a ? /* @__PURE__ */ e(
|
|
307
|
+
n,
|
|
267
308
|
{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
fontSize: "13px"
|
|
273
|
-
},
|
|
274
|
-
children: s.title
|
|
309
|
+
animation: "wave",
|
|
310
|
+
variant: "circular",
|
|
311
|
+
width: 42,
|
|
312
|
+
height: 42
|
|
275
313
|
}
|
|
276
|
-
),
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
|
|
314
|
+
) : /* @__PURE__ */ e(C, { src: l.image, sx: { width: 42, height: 42 } }),
|
|
315
|
+
a ? /* @__PURE__ */ r(h, { children: [
|
|
316
|
+
/* @__PURE__ */ e(
|
|
317
|
+
n,
|
|
318
|
+
{
|
|
319
|
+
animation: "wave",
|
|
320
|
+
height: 10,
|
|
321
|
+
width: "40%",
|
|
322
|
+
sx: { mb: 0.25, mt: 0.35 }
|
|
323
|
+
}
|
|
324
|
+
),
|
|
325
|
+
/* @__PURE__ */ e(
|
|
326
|
+
n,
|
|
327
|
+
{
|
|
328
|
+
animation: "wave",
|
|
329
|
+
height: 10,
|
|
330
|
+
width: "60%",
|
|
331
|
+
sx: { mb: 0.25 }
|
|
332
|
+
}
|
|
333
|
+
)
|
|
334
|
+
] }) : /* @__PURE__ */ r(h, { children: [
|
|
335
|
+
/* @__PURE__ */ e(
|
|
336
|
+
p,
|
|
337
|
+
{
|
|
338
|
+
variant: "subtitle2",
|
|
339
|
+
sx: {
|
|
340
|
+
fontWeight: "normal",
|
|
341
|
+
lineHeight: "14px",
|
|
342
|
+
fontSize: "13px"
|
|
343
|
+
},
|
|
344
|
+
children: l.title
|
|
345
|
+
}
|
|
346
|
+
),
|
|
347
|
+
/* @__PURE__ */ e(
|
|
348
|
+
p,
|
|
349
|
+
{
|
|
350
|
+
variant: "caption",
|
|
351
|
+
sx: { color: "text.secondary", lineHeight: "12px" },
|
|
352
|
+
children: /* @__PURE__ */ e("small", { children: l.subTitle })
|
|
353
|
+
}
|
|
354
|
+
)
|
|
355
|
+
] }),
|
|
356
|
+
/* @__PURE__ */ e(_, { children: a ? /* @__PURE__ */ r(h, { children: [
|
|
357
|
+
/* @__PURE__ */ e(
|
|
358
|
+
n,
|
|
359
|
+
{
|
|
360
|
+
animation: "wave",
|
|
361
|
+
variant: "circular",
|
|
362
|
+
width: 32,
|
|
363
|
+
height: 32
|
|
364
|
+
}
|
|
365
|
+
),
|
|
366
|
+
/* @__PURE__ */ e(
|
|
367
|
+
n,
|
|
368
|
+
{
|
|
369
|
+
animation: "wave",
|
|
370
|
+
variant: "circular",
|
|
371
|
+
width: 32,
|
|
372
|
+
height: 32
|
|
373
|
+
}
|
|
374
|
+
),
|
|
375
|
+
/* @__PURE__ */ e(
|
|
376
|
+
n,
|
|
377
|
+
{
|
|
378
|
+
animation: "wave",
|
|
379
|
+
variant: "circular",
|
|
380
|
+
width: 32,
|
|
381
|
+
height: 32
|
|
382
|
+
}
|
|
383
|
+
)
|
|
384
|
+
] }) : d }),
|
|
385
|
+
a ? /* @__PURE__ */ e(
|
|
386
|
+
n,
|
|
279
387
|
{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
388
|
+
animation: "wave",
|
|
389
|
+
height: 10,
|
|
390
|
+
width: "40%",
|
|
391
|
+
sx: { mb: 0.05, mt: 0.35 }
|
|
283
392
|
}
|
|
284
|
-
)
|
|
285
|
-
|
|
286
|
-
/* @__PURE__ */ o(
|
|
287
|
-
d,
|
|
393
|
+
) : /* @__PURE__ */ e(
|
|
394
|
+
p,
|
|
288
395
|
{
|
|
289
396
|
variant: "caption",
|
|
290
397
|
sx: { color: "text.secondary", lineHeight: "12px" },
|
|
291
|
-
children: /* @__PURE__ */
|
|
398
|
+
children: /* @__PURE__ */ e("small", { children: m })
|
|
292
399
|
}
|
|
293
400
|
),
|
|
294
|
-
/* @__PURE__ */
|
|
401
|
+
/* @__PURE__ */ e(g, { display: "flex", mt: 1, width: "100%", children: a ? /* @__PURE__ */ e(
|
|
402
|
+
n,
|
|
403
|
+
{
|
|
404
|
+
variant: "rounded",
|
|
405
|
+
animation: "wave",
|
|
406
|
+
height: 36,
|
|
407
|
+
width: "100%",
|
|
408
|
+
sx: { borderRadius: (w) => w.shape.borderRadius }
|
|
409
|
+
}
|
|
410
|
+
) : f })
|
|
295
411
|
] })
|
|
296
412
|
] })
|
|
297
|
-
] }) : /* @__PURE__ */
|
|
298
|
-
/* @__PURE__ */
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
|
|
302
|
-
|
|
413
|
+
] }) : /* @__PURE__ */ r(L, { children: [
|
|
414
|
+
a ? /* @__PURE__ */ e(n, { sx: { height: 172 }, animation: "wave", variant: "rectangular" }) : /* @__PURE__ */ e(b, { component: "img", alt: t, height: "172", image: s }),
|
|
415
|
+
/* @__PURE__ */ e(M, { children: a ? /* @__PURE__ */ r(h, { children: [
|
|
416
|
+
/* @__PURE__ */ e(
|
|
417
|
+
n,
|
|
418
|
+
{
|
|
419
|
+
animation: "wave",
|
|
420
|
+
height: 10,
|
|
421
|
+
style: { marginBottom: 16, marginTop: 10 }
|
|
422
|
+
}
|
|
423
|
+
),
|
|
424
|
+
/* @__PURE__ */ e(
|
|
425
|
+
n,
|
|
426
|
+
{
|
|
427
|
+
animation: "wave",
|
|
428
|
+
height: 10,
|
|
429
|
+
style: { marginBottom: 6 }
|
|
430
|
+
}
|
|
431
|
+
),
|
|
432
|
+
/* @__PURE__ */ e(
|
|
433
|
+
n,
|
|
434
|
+
{
|
|
435
|
+
animation: "wave",
|
|
436
|
+
height: 10,
|
|
437
|
+
width: "80%",
|
|
438
|
+
style: { marginBottom: 8 }
|
|
439
|
+
}
|
|
440
|
+
)
|
|
441
|
+
] }) : /* @__PURE__ */ r(h, { children: [
|
|
442
|
+
/* @__PURE__ */ e(p, { gutterBottom: !0, variant: "subtitle1", component: "h3", noWrap: !0, children: t }),
|
|
443
|
+
/* @__PURE__ */ e(
|
|
444
|
+
p,
|
|
303
445
|
{
|
|
304
446
|
variant: "caption",
|
|
305
447
|
component: "p",
|
|
@@ -312,24 +454,44 @@ const ne = ({
|
|
|
312
454
|
WebkitBoxOrient: "vertical",
|
|
313
455
|
lineHeight: "16px"
|
|
314
456
|
},
|
|
315
|
-
children: /* @__PURE__ */
|
|
457
|
+
children: /* @__PURE__ */ e("small", { children: o })
|
|
316
458
|
}
|
|
317
459
|
)
|
|
318
|
-
] }),
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
|
|
460
|
+
] }) }),
|
|
461
|
+
/* @__PURE__ */ r(
|
|
462
|
+
E,
|
|
321
463
|
{
|
|
322
464
|
sx: {
|
|
323
465
|
display: "flex",
|
|
324
466
|
justifyContent: "space-between",
|
|
325
|
-
p: (
|
|
467
|
+
p: (w) => w.spacing(2)
|
|
326
468
|
},
|
|
327
469
|
children: [
|
|
328
|
-
/* @__PURE__ */
|
|
329
|
-
/* @__PURE__ */
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
470
|
+
/* @__PURE__ */ r(g, { display: "flex", justifyItems: "center", flex: 1, children: [
|
|
471
|
+
a ? /* @__PURE__ */ e(
|
|
472
|
+
n,
|
|
473
|
+
{
|
|
474
|
+
animation: "wave",
|
|
475
|
+
variant: "circular",
|
|
476
|
+
width: 29,
|
|
477
|
+
height: 29,
|
|
478
|
+
sx: { mb: 0.6 }
|
|
479
|
+
}
|
|
480
|
+
) : /* @__PURE__ */ e(C, { src: l.image, sx: { width: 29, height: 29 } }),
|
|
481
|
+
/* @__PURE__ */ e(g, { display: "flex", flexDirection: "column", ml: 1, flex: 1, children: a ? /* @__PURE__ */ r(h, { children: [
|
|
482
|
+
/* @__PURE__ */ e(
|
|
483
|
+
n,
|
|
484
|
+
{
|
|
485
|
+
animation: "wave",
|
|
486
|
+
height: 10,
|
|
487
|
+
style: { marginBottom: 2, marginTop: 3 },
|
|
488
|
+
width: "40%"
|
|
489
|
+
}
|
|
490
|
+
),
|
|
491
|
+
/* @__PURE__ */ e(n, { animation: "wave", height: 10, width: "60%" })
|
|
492
|
+
] }) : /* @__PURE__ */ r(h, { children: [
|
|
493
|
+
/* @__PURE__ */ e(
|
|
494
|
+
p,
|
|
333
495
|
{
|
|
334
496
|
variant: "subtitle2",
|
|
335
497
|
sx: {
|
|
@@ -338,26 +500,26 @@ const ne = ({
|
|
|
338
500
|
fontSize: "13px"
|
|
339
501
|
},
|
|
340
502
|
noWrap: !0,
|
|
341
|
-
children:
|
|
503
|
+
children: l.title
|
|
342
504
|
}
|
|
343
505
|
),
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
|
|
506
|
+
/* @__PURE__ */ e(
|
|
507
|
+
p,
|
|
346
508
|
{
|
|
347
509
|
variant: "caption",
|
|
348
510
|
sx: { color: "text.secondary" },
|
|
349
511
|
noWrap: !0,
|
|
350
|
-
children: /* @__PURE__ */
|
|
512
|
+
children: /* @__PURE__ */ e("small", { children: l.subTitle })
|
|
351
513
|
}
|
|
352
514
|
)
|
|
353
|
-
] })
|
|
515
|
+
] }) })
|
|
354
516
|
] }),
|
|
355
|
-
/* @__PURE__ */
|
|
517
|
+
!a && /* @__PURE__ */ e(g, { display: "flex", children: f })
|
|
356
518
|
]
|
|
357
519
|
}
|
|
358
520
|
),
|
|
359
|
-
a !== void 0 && /* @__PURE__ */
|
|
521
|
+
a === !1 && d !== void 0 && /* @__PURE__ */ e(U, { className: "extra-actions", children: d })
|
|
360
522
|
] });
|
|
361
523
|
export {
|
|
362
|
-
|
|
524
|
+
re as Card
|
|
363
525
|
};
|