@hybridcore/ui 1.5.90 → 1.6.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-DhriPVPP.js → AccordionSummary-CMg08YSA.js} +91 -95
- package/dist/{Add-CMz4N2zT.js → Add-DuVVJeQU.js} +35 -36
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-sObABYY2.js} +62 -58
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-fBLhTHbF.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-CGJ7alb8.js} +10 -13
- package/dist/FormControl-BCurCxRj.js +1294 -0
- package/dist/FormControlLabel-BkRfrhNy.js +601 -0
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-_opV1iNK.js} +18 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-C7PEvvYr.js} +17 -19
- package/dist/InputLabel-rEwwnD4_.js +354 -0
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-DrE50M_p.js} +92 -69
- package/dist/Modal-DlB6GH-f.js +1659 -0
- package/dist/Paper-q9kKjAKx.js +527 -0
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/TextField-DSDIEEKu.js +3161 -0
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-B-Z5Y0Xq.js} +48 -50
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-quqpGCFu.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +8 -15
- package/dist/components/access/logic.js +25 -0
- package/dist/components/card/index.js +158 -498
- package/dist/components/card/logic.js +24 -0
- package/dist/components/card/styled.js +226 -51
- package/dist/components/card-alternate/index.js +111 -139
- package/dist/components/card-alternate/logic.js +17 -0
- package/dist/components/card-alternate/styled.js +113 -19
- package/dist/components/charts/_common/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +28 -269
- package/dist/components/container/logic.js +12 -0
- package/dist/components/container/styled.js +29 -0
- package/dist/components/context-menu/index.js +25 -557
- package/dist/components/context-menu/logic.js +14 -0
- package/dist/components/context-menu/styled.js +40 -0
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +36 -91
- package/dist/components/data-security-selectors/security-level/logic.js +73 -0
- package/dist/components/data-security-selectors/security-level/styled.js +47 -0
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +8 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +7 -9
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-form/index.js +1 -1
- package/dist/components/instance-hierarchy-table/index.js +32 -37
- package/dist/components/instance-hierarchy-table/logic.js +16 -0
- package/dist/components/instance-hierarchy-table/styled.js +53 -12
- package/dist/components/instance-table/index.js +30 -135
- package/dist/components/instance-table/logic.js +122 -0
- package/dist/components/instance-table/styled.js +53 -11
- package/dist/components/instance-variable-list/index.js +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/key-protection/index.js +45 -2
- package/dist/components/key-protection/logic.js +40 -0
- package/dist/components/key-protection/styled.js +45 -0
- package/dist/components/key-protection/utils.js +1 -1
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- package/dist/components/loading/index.js +15 -9
- package/dist/components/loading/logic.js +15 -0
- package/dist/components/loading/styled.js +26 -19
- package/dist/components/map/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- package/dist/components/phone-input/index.js +18 -22
- package/dist/components/phone-input/logic.js +14 -0
- package/dist/components/phone-input/styled.js +12 -4
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
- package/dist/components/range-selector/components/date-range/index.js +148 -7
- package/dist/components/range-selector/components/geometry-range/index.js +11 -17
- package/dist/components/range-selector/components/number-range/index.js +48 -53
- package/dist/components/range-selector/components/string-range/index.js +15 -17
- package/dist/components/range-selector/index.js +63 -57
- package/dist/components/range-selector/logic.js +12 -0
- package/dist/components/range-selector/styled.js +4222 -0
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- package/dist/components/template-filters/components/filter/index.js +13 -18
- package/dist/components/template-filters/components/tab-panel/index.js +8 -16
- package/dist/components/template-filters/index.js +21 -29
- package/dist/components/template-filters/logic.js +18 -0
- package/dist/components/template-filters/styled.js +44 -1
- package/dist/components/template-form/components/property-list/index.js +8 -8
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +8 -10
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +8 -9
- package/dist/components/template-form/index.js +32 -33
- package/dist/components/template-property-filters/index.js +45 -95
- package/dist/components/template-property-filters/logic.js +27 -0
- package/dist/components/template-property-filters/property.js +105 -165
- package/dist/components/template-property-filters/styled.js +121 -20
- package/dist/components/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -0
- package/dist/components/tree-select/index.js +52 -67
- package/dist/components/tree-select/logic.js +59 -0
- package/dist/components/tree-select/styled.js +45 -62
- package/dist/components/treeview-filter/index.js +43 -65
- package/dist/components/treeview-filter/item/index.js +43 -42
- package/dist/components/treeview-filter/item-label/index.js +17 -37
- package/dist/components/treeview-filter/logic.js +28 -0
- package/dist/components/treeview-filter/styled.js +86 -0
- package/dist/components/uploader/index.js +532 -567
- package/dist/components/uploader/logic.js +74 -0
- package/dist/components/uploader/styled.js +93 -46
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BM3-TsGy.js} +33 -36
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DX-SqL8M.js} +24 -26
- package/dist/{dialog-BE4D6swf.js → dialog-cf4HUXXl.js} +27 -28
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C8C3YXle.js +1932 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-DPKUmQnz.js} +11 -13
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/isMuiElement-BkJ72LB3.js +26 -0
- package/dist/main.d.ts +1869 -565
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-DL_dEoNn.js} +57 -62
- package/dist/{createTheme-CNnKNxwL.js → styled-Bsjp3kFh.js} +275 -278
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-B-M3dnTn.js +7993 -0
- package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
- package/package.json +11 -2
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/Button-eqWvpDuh.js +0 -356
- package/dist/CardContent-DsYqqPeJ.js +0 -74
- package/dist/Checkbox-CrU2hpWB.js +0 -420
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/FormControlLabel-BrdX4R71.js +0 -195
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/List-DOD5kSk3.js +0 -121
- package/dist/ListItem-r8PbsvCz.js +0 -429
- package/dist/Modal-CkcFEpHa.js +0 -1284
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Paper-CjqLScHA.js +0 -163
- package/dist/Select-t3ewnSdf.js +0 -2180
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/TextField-BQ8a50fA.js +0 -459
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/key-protection/menu.js +0 -85
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/components/treeview-filter/item/styled.js +0 -39
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-CxT3_ACP.js +0 -13
- package/dist/listItemTextClasses-CNjn41Of.js +0 -16
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
- package/dist/utils-CsOZUsQj.js +0 -365
|
@@ -1,378 +1,105 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { LandscapeCardRoot as A, LandscapeInfoBox as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { g as E } from "../../createTheme-CNnKNxwL.js";
|
|
10
|
-
import { C as O } from "../../CardContent-DsYqqPeJ.js";
|
|
11
|
-
import { T as g } from "../../Typography-D1t7XuLN.js";
|
|
12
|
-
function D(t) {
|
|
13
|
-
return E("MuiCardActions", t);
|
|
14
|
-
}
|
|
15
|
-
N("MuiCardActions", ["root", "spacing"]);
|
|
16
|
-
const z = ["disableSpacing", "className"], $ = (t) => {
|
|
17
|
-
const {
|
|
18
|
-
classes: n,
|
|
19
|
-
disableSpacing: s
|
|
20
|
-
} = t;
|
|
21
|
-
return j({
|
|
22
|
-
root: ["root", !s && "spacing"]
|
|
23
|
-
}, D, n);
|
|
24
|
-
}, F = R("div", {
|
|
25
|
-
name: "MuiCardActions",
|
|
26
|
-
slot: "Root",
|
|
27
|
-
overridesResolver: (t, n) => {
|
|
28
|
-
const {
|
|
29
|
-
ownerState: s
|
|
30
|
-
} = t;
|
|
31
|
-
return [n.root, !s.disableSpacing && n.spacing];
|
|
32
|
-
}
|
|
33
|
-
})(({
|
|
34
|
-
ownerState: t
|
|
35
|
-
}) => x({
|
|
36
|
-
display: "flex",
|
|
37
|
-
alignItems: "center",
|
|
38
|
-
padding: 8
|
|
39
|
-
}, !t.disableSpacing && {
|
|
40
|
-
"& > :not(:first-of-type)": {
|
|
41
|
-
marginLeft: 8
|
|
42
|
-
}
|
|
43
|
-
})), W = /* @__PURE__ */ S.forwardRef(function(n, s) {
|
|
44
|
-
const c = k({
|
|
45
|
-
props: n,
|
|
46
|
-
name: "MuiCardActions"
|
|
47
|
-
}), {
|
|
48
|
-
disableSpacing: l = !1,
|
|
49
|
-
className: w
|
|
50
|
-
} = c, h = T(c, z), m = x({}, c, {
|
|
51
|
-
disableSpacing: l
|
|
52
|
-
}), b = $(m);
|
|
53
|
-
return /* @__PURE__ */ e(F, x({
|
|
54
|
-
className: B(b.root, w),
|
|
55
|
-
ownerState: m,
|
|
56
|
-
ref: s
|
|
57
|
-
}, h));
|
|
58
|
-
});
|
|
59
|
-
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
60
|
-
// ----------------------------- Warning --------------------------------
|
|
61
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
62
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
63
|
-
// ----------------------------------------------------------------------
|
|
64
|
-
/**
|
|
65
|
-
* The content of the component.
|
|
66
|
-
*/
|
|
67
|
-
children: i.node,
|
|
68
|
-
/**
|
|
69
|
-
* Override or extend the styles applied to the component.
|
|
70
|
-
*/
|
|
71
|
-
classes: i.object,
|
|
72
|
-
/**
|
|
73
|
-
* @ignore
|
|
74
|
-
*/
|
|
75
|
-
className: i.string,
|
|
76
|
-
/**
|
|
77
|
-
* If `true`, the actions do not have additional margin.
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
disableSpacing: i.bool,
|
|
81
|
-
/**
|
|
82
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
83
|
-
*/
|
|
84
|
-
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
85
|
-
});
|
|
86
|
-
function V(t) {
|
|
87
|
-
return E("MuiCardMedia", t);
|
|
88
|
-
}
|
|
89
|
-
N("MuiCardMedia", ["root", "media", "img"]);
|
|
90
|
-
const G = ["children", "className", "component", "image", "src", "style"], q = (t) => {
|
|
91
|
-
const {
|
|
92
|
-
classes: n,
|
|
93
|
-
isMediaComponent: s,
|
|
94
|
-
isImageComponent: c
|
|
95
|
-
} = t;
|
|
96
|
-
return j({
|
|
97
|
-
root: ["root", s && "media", c && "img"]
|
|
98
|
-
}, V, n);
|
|
99
|
-
}, J = R("div", {
|
|
100
|
-
name: "MuiCardMedia",
|
|
101
|
-
slot: "Root",
|
|
102
|
-
overridesResolver: (t, n) => {
|
|
103
|
-
const {
|
|
104
|
-
ownerState: s
|
|
105
|
-
} = t, {
|
|
106
|
-
isMediaComponent: c,
|
|
107
|
-
isImageComponent: l
|
|
108
|
-
} = s;
|
|
109
|
-
return [n.root, c && n.media, l && n.img];
|
|
110
|
-
}
|
|
111
|
-
})(({
|
|
112
|
-
ownerState: t
|
|
113
|
-
}) => x({
|
|
114
|
-
display: "block",
|
|
115
|
-
backgroundSize: "cover",
|
|
116
|
-
backgroundRepeat: "no-repeat",
|
|
117
|
-
backgroundPosition: "center"
|
|
118
|
-
}, t.isMediaComponent && {
|
|
119
|
-
width: "100%"
|
|
120
|
-
}, t.isImageComponent && {
|
|
121
|
-
// ⚠️ object-fit is not supported by IE11.
|
|
122
|
-
objectFit: "cover"
|
|
123
|
-
})), K = ["video", "audio", "picture", "iframe", "img"], Q = ["picture", "img"], C = /* @__PURE__ */ S.forwardRef(function(n, s) {
|
|
124
|
-
const c = k({
|
|
125
|
-
props: n,
|
|
126
|
-
name: "MuiCardMedia"
|
|
127
|
-
}), {
|
|
128
|
-
children: l,
|
|
129
|
-
className: w,
|
|
130
|
-
component: h = "div",
|
|
131
|
-
image: m,
|
|
132
|
-
src: b,
|
|
133
|
-
style: y
|
|
134
|
-
} = c, a = T(c, G), d = K.indexOf(h) !== -1, f = !d && m ? x({
|
|
135
|
-
backgroundImage: `url("${m}")`
|
|
136
|
-
}, y) : y, v = x({}, c, {
|
|
137
|
-
component: h,
|
|
138
|
-
isMediaComponent: d,
|
|
139
|
-
isImageComponent: Q.indexOf(h) !== -1
|
|
140
|
-
}), I = q(v);
|
|
141
|
-
return /* @__PURE__ */ e(J, x({
|
|
142
|
-
className: B(I.root, w),
|
|
143
|
-
as: h,
|
|
144
|
-
role: !d && m ? "img" : void 0,
|
|
145
|
-
ref: s,
|
|
146
|
-
style: f,
|
|
147
|
-
ownerState: v,
|
|
148
|
-
src: d ? m || b : void 0
|
|
149
|
-
}, a, {
|
|
150
|
-
children: l
|
|
151
|
-
}));
|
|
152
|
-
});
|
|
153
|
-
process.env.NODE_ENV !== "production" && (C.propTypes = {
|
|
154
|
-
// ----------------------------- Warning --------------------------------
|
|
155
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
156
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
157
|
-
// ----------------------------------------------------------------------
|
|
158
|
-
/**
|
|
159
|
-
* The content of the component.
|
|
160
|
-
*/
|
|
161
|
-
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),
|
|
162
|
-
/**
|
|
163
|
-
* Override or extend the styles applied to the component.
|
|
164
|
-
*/
|
|
165
|
-
classes: i.object,
|
|
166
|
-
/**
|
|
167
|
-
* @ignore
|
|
168
|
-
*/
|
|
169
|
-
className: i.string,
|
|
170
|
-
/**
|
|
171
|
-
* The component used for the root node.
|
|
172
|
-
* Either a string to use a HTML element or a component.
|
|
173
|
-
*/
|
|
174
|
-
component: i.elementType,
|
|
175
|
-
/**
|
|
176
|
-
* Image to be displayed as a background image.
|
|
177
|
-
* Either `image` or `src` prop must be specified.
|
|
178
|
-
* Note that caller must specify height otherwise the image will not be visible.
|
|
179
|
-
*/
|
|
180
|
-
image: i.string,
|
|
181
|
-
/**
|
|
182
|
-
* An alias for `image` property.
|
|
183
|
-
* Available only with media components.
|
|
184
|
-
* Media components: `video`, `audio`, `picture`, `iframe`, `img`.
|
|
185
|
-
*/
|
|
186
|
-
src: i.string,
|
|
187
|
-
/**
|
|
188
|
-
* @ignore
|
|
189
|
-
*/
|
|
190
|
-
style: i.object,
|
|
191
|
-
/**
|
|
192
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
193
|
-
*/
|
|
194
|
-
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
195
|
-
});
|
|
196
|
-
const se = ({
|
|
197
|
-
title: t,
|
|
198
|
-
text: n,
|
|
199
|
-
image: s,
|
|
200
|
-
orientation: c = "portrait",
|
|
201
|
-
avatar: l,
|
|
202
|
-
actions: w,
|
|
203
|
-
menu: h,
|
|
204
|
-
extraActions: m,
|
|
205
|
-
extraInfo: b,
|
|
206
|
-
stats: y,
|
|
207
|
-
loading: a = !1,
|
|
208
|
-
onClick: d
|
|
209
|
-
}) => {
|
|
210
|
-
const f = () => {
|
|
211
|
-
d && d();
|
|
212
|
-
};
|
|
213
|
-
return c === "landscape" ? /* @__PURE__ */ r(A, { children: [
|
|
214
|
-
a ? /* @__PURE__ */ e(
|
|
215
|
-
o,
|
|
1
|
+
import { jsxs as t, jsx as a, Fragment as l } from "react/jsx-runtime";
|
|
2
|
+
import { useCardLogic as k } from "./logic.js";
|
|
3
|
+
import { LandscapeCardRoot as A, MediaSkeleton as d, CardMedia as o, LandscapeContent as S, MenuContainer as b, ContentBody as L, ContentColumn as f, SkeletonLine as v, SkeletonLineSubtle as r, Title as m, Text as w, Stats as T, LandscapeInfoBox as B, SkeletonAvatarCircle as u, CardAvatarLarge as E, AvatarTitle as C, AvatarSubTitle as g, LandscapeCardExtraActions as I, SkeletonExtraIcon as c, ExtraInfo as M, ActionsContainer as R, SkeletonActions as W, PortraitCardRoot as j, CardContent as P, CardActions as y, AvatarRow as F, CardAvatar as N, AvatarLabel as q, PortraitCardExtraActions as z } from "./styled.js";
|
|
4
|
+
const J = (i) => {
|
|
5
|
+
const { state: s, actions: h } = k(i), { ownerState: e, orientation: x, loading: n } = s;
|
|
6
|
+
return x === "landscape" ? /* @__PURE__ */ t(A, { ownerState: e, sx: i.sx, children: [
|
|
7
|
+
n ? /* @__PURE__ */ a(
|
|
8
|
+
d,
|
|
216
9
|
{
|
|
217
|
-
|
|
10
|
+
ownerState: e,
|
|
218
11
|
animation: "wave",
|
|
219
12
|
variant: "rounded"
|
|
220
13
|
}
|
|
221
|
-
) : /* @__PURE__ */
|
|
222
|
-
|
|
14
|
+
) : /* @__PURE__ */ a(
|
|
15
|
+
o,
|
|
223
16
|
{
|
|
224
|
-
|
|
225
|
-
alt:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
width: 330,
|
|
229
|
-
height: 200,
|
|
230
|
-
cursor: d ? "pointer" : "default"
|
|
231
|
-
},
|
|
232
|
-
onClick: f
|
|
17
|
+
ownerState: e,
|
|
18
|
+
alt: i.title,
|
|
19
|
+
src: i.image,
|
|
20
|
+
onClick: h.handleClick
|
|
233
21
|
}
|
|
234
22
|
),
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
cursor: d ? "pointer" : "default"
|
|
285
|
-
},
|
|
286
|
-
onClick: f,
|
|
287
|
-
children: t
|
|
288
|
-
}
|
|
289
|
-
),
|
|
290
|
-
/* @__PURE__ */ e(
|
|
291
|
-
g,
|
|
292
|
-
{
|
|
293
|
-
variant: "caption",
|
|
294
|
-
component: "p",
|
|
295
|
-
sx: {
|
|
296
|
-
color: "text.secondary",
|
|
297
|
-
overflow: "hidden",
|
|
298
|
-
textOverflow: "ellipsis",
|
|
299
|
-
display: "-webkit-box",
|
|
300
|
-
WebkitLineClamp: 4,
|
|
301
|
-
WebkitBoxOrient: "vertical",
|
|
302
|
-
lineHeight: "16px",
|
|
303
|
-
cursor: d ? "pointer" : "default"
|
|
304
|
-
},
|
|
305
|
-
onClick: f,
|
|
306
|
-
children: /* @__PURE__ */ e("small", { children: n })
|
|
307
|
-
}
|
|
308
|
-
)
|
|
309
|
-
] }) }),
|
|
310
|
-
/* @__PURE__ */ e(u, { children: a ? /* @__PURE__ */ e(
|
|
311
|
-
o,
|
|
312
|
-
{
|
|
313
|
-
animation: "wave",
|
|
314
|
-
height: 10,
|
|
315
|
-
width: "40%",
|
|
316
|
-
style: { marginBottom: 6 }
|
|
317
|
-
}
|
|
318
|
-
) : y })
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
) }),
|
|
322
|
-
/* @__PURE__ */ r(P, { children: [
|
|
323
|
-
a ? /* @__PURE__ */ e(
|
|
324
|
-
o,
|
|
23
|
+
/* @__PURE__ */ t(S, { children: [
|
|
24
|
+
i.menu ? /* @__PURE__ */ a(b, { children: i.menu }) : null,
|
|
25
|
+
/* @__PURE__ */ a(L, { children: /* @__PURE__ */ t(f, { children: [
|
|
26
|
+
/* @__PURE__ */ a("div", { children: n ? /* @__PURE__ */ t(l, { children: [
|
|
27
|
+
/* @__PURE__ */ a(v, { animation: "wave", height: 10 }),
|
|
28
|
+
/* @__PURE__ */ a(r, { animation: "wave", height: 10 }),
|
|
29
|
+
/* @__PURE__ */ a(
|
|
30
|
+
r,
|
|
31
|
+
{
|
|
32
|
+
animation: "wave",
|
|
33
|
+
height: 10,
|
|
34
|
+
width: "80%"
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
] }) : /* @__PURE__ */ t(l, { children: [
|
|
38
|
+
/* @__PURE__ */ a(
|
|
39
|
+
m,
|
|
40
|
+
{
|
|
41
|
+
ownerState: e,
|
|
42
|
+
gutterBottom: !0,
|
|
43
|
+
variant: "subtitle1",
|
|
44
|
+
as: "h3",
|
|
45
|
+
onClick: h.handleClick,
|
|
46
|
+
children: i.title
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ a(
|
|
50
|
+
w,
|
|
51
|
+
{
|
|
52
|
+
ownerState: e,
|
|
53
|
+
variant: "caption",
|
|
54
|
+
as: "p",
|
|
55
|
+
onClick: h.handleClick,
|
|
56
|
+
children: /* @__PURE__ */ a("small", { children: i.text })
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] }) }),
|
|
60
|
+
/* @__PURE__ */ a(T, { children: n ? /* @__PURE__ */ a(
|
|
61
|
+
r,
|
|
62
|
+
{
|
|
63
|
+
animation: "wave",
|
|
64
|
+
height: 10,
|
|
65
|
+
width: "40%"
|
|
66
|
+
}
|
|
67
|
+
) : i.stats })
|
|
68
|
+
] }) }),
|
|
69
|
+
/* @__PURE__ */ t(B, { children: [
|
|
70
|
+
n ? /* @__PURE__ */ a(
|
|
71
|
+
u,
|
|
325
72
|
{
|
|
326
73
|
animation: "wave",
|
|
327
74
|
variant: "circular",
|
|
328
75
|
width: 42,
|
|
329
76
|
height: 42
|
|
330
77
|
}
|
|
331
|
-
) : /* @__PURE__ */
|
|
332
|
-
|
|
333
|
-
/* @__PURE__ */
|
|
334
|
-
|
|
78
|
+
) : /* @__PURE__ */ a(E, { src: i.avatar.image }),
|
|
79
|
+
n ? /* @__PURE__ */ t(l, { children: [
|
|
80
|
+
/* @__PURE__ */ a(
|
|
81
|
+
r,
|
|
335
82
|
{
|
|
336
83
|
animation: "wave",
|
|
337
84
|
height: 10,
|
|
338
|
-
width: "40%"
|
|
339
|
-
sx: { mb: 0.25, mt: 0.35 }
|
|
85
|
+
width: "40%"
|
|
340
86
|
}
|
|
341
87
|
),
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
|
|
88
|
+
/* @__PURE__ */ a(
|
|
89
|
+
r,
|
|
344
90
|
{
|
|
345
91
|
animation: "wave",
|
|
346
92
|
height: 10,
|
|
347
|
-
width: "60%"
|
|
348
|
-
sx: { mb: 0.25 }
|
|
349
|
-
}
|
|
350
|
-
)
|
|
351
|
-
] }) : /* @__PURE__ */ r(p, { children: [
|
|
352
|
-
/* @__PURE__ */ e(
|
|
353
|
-
g,
|
|
354
|
-
{
|
|
355
|
-
variant: "subtitle2",
|
|
356
|
-
sx: {
|
|
357
|
-
fontWeight: "normal",
|
|
358
|
-
lineHeight: "14px",
|
|
359
|
-
fontSize: "13px"
|
|
360
|
-
},
|
|
361
|
-
children: l.title
|
|
362
|
-
}
|
|
363
|
-
),
|
|
364
|
-
/* @__PURE__ */ e(
|
|
365
|
-
g,
|
|
366
|
-
{
|
|
367
|
-
variant: "caption",
|
|
368
|
-
sx: { color: "text.secondary", lineHeight: "12px" },
|
|
369
|
-
children: /* @__PURE__ */ e("small", { children: l.subTitle })
|
|
93
|
+
width: "60%"
|
|
370
94
|
}
|
|
371
95
|
)
|
|
96
|
+
] }) : /* @__PURE__ */ t(l, { children: [
|
|
97
|
+
/* @__PURE__ */ a(C, { variant: "subtitle2", children: i.avatar.title }),
|
|
98
|
+
/* @__PURE__ */ a(g, { variant: "caption", children: /* @__PURE__ */ a("small", { children: i.avatar.subTitle }) })
|
|
372
99
|
] }),
|
|
373
|
-
/* @__PURE__ */
|
|
374
|
-
/* @__PURE__ */
|
|
375
|
-
|
|
100
|
+
/* @__PURE__ */ a(I, { children: n ? /* @__PURE__ */ t(l, { children: [
|
|
101
|
+
/* @__PURE__ */ a(
|
|
102
|
+
c,
|
|
376
103
|
{
|
|
377
104
|
animation: "wave",
|
|
378
105
|
variant: "circular",
|
|
@@ -380,8 +107,8 @@ const se = ({
|
|
|
380
107
|
height: 32
|
|
381
108
|
}
|
|
382
109
|
),
|
|
383
|
-
/* @__PURE__ */
|
|
384
|
-
|
|
110
|
+
/* @__PURE__ */ a(
|
|
111
|
+
c,
|
|
385
112
|
{
|
|
386
113
|
animation: "wave",
|
|
387
114
|
variant: "circular",
|
|
@@ -389,8 +116,8 @@ const se = ({
|
|
|
389
116
|
height: 32
|
|
390
117
|
}
|
|
391
118
|
),
|
|
392
|
-
/* @__PURE__ */
|
|
393
|
-
|
|
119
|
+
/* @__PURE__ */ a(
|
|
120
|
+
c,
|
|
394
121
|
{
|
|
395
122
|
animation: "wave",
|
|
396
123
|
variant: "circular",
|
|
@@ -398,172 +125,105 @@ const se = ({
|
|
|
398
125
|
height: 32
|
|
399
126
|
}
|
|
400
127
|
)
|
|
401
|
-
] }) :
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
animation: "wave",
|
|
406
|
-
height: 10,
|
|
407
|
-
width: "40%",
|
|
408
|
-
sx: { mb: 0.05, mt: 0.35 }
|
|
409
|
-
}
|
|
410
|
-
) : /* @__PURE__ */ e(
|
|
411
|
-
g,
|
|
412
|
-
{
|
|
413
|
-
variant: "caption",
|
|
414
|
-
sx: { color: "text.secondary", lineHeight: "12px" },
|
|
415
|
-
children: /* @__PURE__ */ e("small", { children: b })
|
|
416
|
-
}
|
|
417
|
-
),
|
|
418
|
-
/* @__PURE__ */ e(u, { display: "flex", mt: 1, width: "100%", children: a ? /* @__PURE__ */ e(
|
|
419
|
-
o,
|
|
128
|
+
] }) : i.extraActions }),
|
|
129
|
+
n ? /* @__PURE__ */ a(r, { animation: "wave", height: 10, width: "40%" }) : /* @__PURE__ */ a(M, { variant: "caption", children: /* @__PURE__ */ a("small", { children: i.extraInfo }) }),
|
|
130
|
+
/* @__PURE__ */ a(R, { children: n ? /* @__PURE__ */ a(
|
|
131
|
+
W,
|
|
420
132
|
{
|
|
421
133
|
variant: "rounded",
|
|
422
134
|
animation: "wave",
|
|
423
135
|
height: 36,
|
|
424
|
-
width: "100%"
|
|
425
|
-
sx: { borderRadius: (v) => v.shape.borderRadius }
|
|
136
|
+
width: "100%"
|
|
426
137
|
}
|
|
427
|
-
) :
|
|
138
|
+
) : i.actions })
|
|
428
139
|
] })
|
|
429
140
|
] })
|
|
430
|
-
] }) : /* @__PURE__ */
|
|
431
|
-
|
|
432
|
-
|
|
141
|
+
] }) : /* @__PURE__ */ t(j, { ownerState: e, sx: i.sx, children: [
|
|
142
|
+
n ? /* @__PURE__ */ a(
|
|
143
|
+
d,
|
|
144
|
+
{
|
|
145
|
+
ownerState: e,
|
|
146
|
+
animation: "wave",
|
|
147
|
+
variant: "rectangular"
|
|
148
|
+
}
|
|
149
|
+
) : /* @__PURE__ */ a(
|
|
150
|
+
o,
|
|
433
151
|
{
|
|
434
|
-
|
|
435
|
-
alt:
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
sx: { cursor: d ? "pointer" : "default" },
|
|
439
|
-
onClick: f
|
|
152
|
+
ownerState: e,
|
|
153
|
+
alt: i.title,
|
|
154
|
+
src: i.image,
|
|
155
|
+
onClick: h.handleClick
|
|
440
156
|
}
|
|
441
157
|
),
|
|
442
|
-
/* @__PURE__ */
|
|
443
|
-
/* @__PURE__ */
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
),
|
|
451
|
-
/* @__PURE__ */ e(
|
|
452
|
-
o,
|
|
453
|
-
{
|
|
454
|
-
animation: "wave",
|
|
455
|
-
height: 10,
|
|
456
|
-
style: { marginBottom: 6 }
|
|
457
|
-
}
|
|
458
|
-
),
|
|
459
|
-
/* @__PURE__ */ e(
|
|
460
|
-
o,
|
|
461
|
-
{
|
|
462
|
-
animation: "wave",
|
|
463
|
-
height: 10,
|
|
464
|
-
width: "80%",
|
|
465
|
-
style: { marginBottom: 8 }
|
|
466
|
-
}
|
|
467
|
-
)
|
|
468
|
-
] }) : /* @__PURE__ */ r(p, { children: [
|
|
469
|
-
/* @__PURE__ */ e(
|
|
470
|
-
g,
|
|
158
|
+
/* @__PURE__ */ a(P, { children: n ? /* @__PURE__ */ t(l, { children: [
|
|
159
|
+
/* @__PURE__ */ a(v, { animation: "wave", height: 10 }),
|
|
160
|
+
/* @__PURE__ */ a(r, { animation: "wave", height: 10 }),
|
|
161
|
+
/* @__PURE__ */ a(r, { animation: "wave", height: 10, width: "80%" })
|
|
162
|
+
] }) : /* @__PURE__ */ t(l, { children: [
|
|
163
|
+
/* @__PURE__ */ a(
|
|
164
|
+
m,
|
|
471
165
|
{
|
|
166
|
+
ownerState: e,
|
|
472
167
|
gutterBottom: !0,
|
|
473
168
|
variant: "subtitle1",
|
|
474
|
-
|
|
169
|
+
as: "h3",
|
|
475
170
|
noWrap: !0,
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
children: t
|
|
171
|
+
onClick: h.handleClick,
|
|
172
|
+
children: i.title
|
|
479
173
|
}
|
|
480
174
|
),
|
|
481
|
-
/* @__PURE__ */
|
|
482
|
-
|
|
175
|
+
/* @__PURE__ */ a(
|
|
176
|
+
w,
|
|
483
177
|
{
|
|
178
|
+
ownerState: e,
|
|
484
179
|
variant: "caption",
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
overflow: "hidden",
|
|
489
|
-
textOverflow: "ellipsis",
|
|
490
|
-
display: "-webkit-box",
|
|
491
|
-
WebkitLineClamp: 2,
|
|
492
|
-
WebkitBoxOrient: "vertical",
|
|
493
|
-
lineHeight: "16px",
|
|
494
|
-
cursor: d ? "pointer" : "default"
|
|
495
|
-
},
|
|
496
|
-
onClick: f,
|
|
497
|
-
children: /* @__PURE__ */ e("small", { children: n })
|
|
180
|
+
as: "p",
|
|
181
|
+
onClick: h.handleClick,
|
|
182
|
+
children: /* @__PURE__ */ a("small", { children: i.text })
|
|
498
183
|
}
|
|
499
184
|
)
|
|
500
185
|
] }) }),
|
|
501
|
-
/* @__PURE__ */
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
lineHeight: "14px",
|
|
540
|
-
fontSize: "13px"
|
|
541
|
-
},
|
|
542
|
-
noWrap: !0,
|
|
543
|
-
children: l.title
|
|
544
|
-
}
|
|
545
|
-
),
|
|
546
|
-
/* @__PURE__ */ e(
|
|
547
|
-
g,
|
|
548
|
-
{
|
|
549
|
-
variant: "caption",
|
|
550
|
-
sx: { color: "text.secondary" },
|
|
551
|
-
noWrap: !0,
|
|
552
|
-
children: /* @__PURE__ */ e("small", { children: l.subTitle })
|
|
553
|
-
}
|
|
554
|
-
)
|
|
555
|
-
] }) })
|
|
556
|
-
] }),
|
|
557
|
-
!a && /* @__PURE__ */ e(u, { display: "flex", children: w })
|
|
558
|
-
]
|
|
559
|
-
}
|
|
560
|
-
),
|
|
561
|
-
a === !1 && (m !== void 0 || h !== m) && /* @__PURE__ */ r(U, { className: "extra-actions", children: [
|
|
562
|
-
m,
|
|
563
|
-
h
|
|
186
|
+
/* @__PURE__ */ t(y, { children: [
|
|
187
|
+
/* @__PURE__ */ t(F, { children: [
|
|
188
|
+
n ? /* @__PURE__ */ a(
|
|
189
|
+
u,
|
|
190
|
+
{
|
|
191
|
+
animation: "wave",
|
|
192
|
+
variant: "circular",
|
|
193
|
+
width: 29,
|
|
194
|
+
height: 29
|
|
195
|
+
}
|
|
196
|
+
) : /* @__PURE__ */ a(N, { src: i.avatar.image }),
|
|
197
|
+
/* @__PURE__ */ a(q, { children: n ? /* @__PURE__ */ t(l, { children: [
|
|
198
|
+
/* @__PURE__ */ a(
|
|
199
|
+
r,
|
|
200
|
+
{
|
|
201
|
+
animation: "wave",
|
|
202
|
+
height: 10,
|
|
203
|
+
width: "40%"
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
/* @__PURE__ */ a(
|
|
207
|
+
r,
|
|
208
|
+
{
|
|
209
|
+
animation: "wave",
|
|
210
|
+
height: 10,
|
|
211
|
+
width: "60%"
|
|
212
|
+
}
|
|
213
|
+
)
|
|
214
|
+
] }) : /* @__PURE__ */ t(l, { children: [
|
|
215
|
+
/* @__PURE__ */ a(C, { variant: "subtitle2", noWrap: !0, children: i.avatar.title }),
|
|
216
|
+
/* @__PURE__ */ a(g, { variant: "caption", noWrap: !0, children: /* @__PURE__ */ a("small", { children: i.avatar.subTitle }) })
|
|
217
|
+
] }) })
|
|
218
|
+
] }),
|
|
219
|
+
!n && /* @__PURE__ */ a("div", { children: i.actions })
|
|
220
|
+
] }),
|
|
221
|
+
n === !1 && (i.extraActions !== void 0 || i.menu !== i.extraActions) && /* @__PURE__ */ t(z, { className: "extra-actions", children: [
|
|
222
|
+
i.extraActions,
|
|
223
|
+
i.menu
|
|
564
224
|
] })
|
|
565
225
|
] });
|
|
566
226
|
};
|
|
567
227
|
export {
|
|
568
|
-
|
|
228
|
+
J as Card
|
|
569
229
|
};
|