datastake-daf 0.6.154 → 0.6.155
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/components/index.js
CHANGED
|
@@ -11455,7 +11455,7 @@ var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_
|
|
|
11455
11455
|
const MOBILE_W = 850;
|
|
11456
11456
|
const MOBILE_WIDTH = `max-width: ${MOBILE_W}px`;
|
|
11457
11457
|
|
|
11458
|
-
const Style$
|
|
11458
|
+
const Style$I = dt.div`
|
|
11459
11459
|
.ant-btn {
|
|
11460
11460
|
border-radius: 100px 100px 100px 0;
|
|
11461
11461
|
padding: 10px;
|
|
@@ -11516,7 +11516,7 @@ const BorderedButton = _ref => {
|
|
|
11516
11516
|
children
|
|
11517
11517
|
} = _ref,
|
|
11518
11518
|
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
11519
|
-
return /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
11519
|
+
return /*#__PURE__*/jsxRuntime.jsx(Style$I, {
|
|
11520
11520
|
className: "d-btn-cont",
|
|
11521
11521
|
children: /*#__PURE__*/jsxRuntime.jsx(antd.Button, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
11522
11522
|
children: children
|
|
@@ -11627,7 +11627,7 @@ function Badge(_ref) {
|
|
|
11627
11627
|
}, [tooltip]);
|
|
11628
11628
|
return /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
11629
11629
|
title: tooltipTitle,
|
|
11630
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
11630
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(Style$H, {
|
|
11631
11631
|
className: "".concat((_variantConfig$varian = variantConfig[variant]) === null || _variantConfig$varian === void 0 ? void 0 : _variantConfig$varian.className, " ").concat(roundedConfig[rounded], " ").concat(className ? className : ""),
|
|
11632
11632
|
style: _objectSpread2({
|
|
11633
11633
|
width: size === "icon" ? "fit-content" : isNumberSize ? "".concat(size, "px") : "100%"
|
|
@@ -11642,7 +11642,7 @@ function Badge(_ref) {
|
|
|
11642
11642
|
})
|
|
11643
11643
|
});
|
|
11644
11644
|
}
|
|
11645
|
-
const Style$
|
|
11645
|
+
const Style$H = dt.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tgap: 4px;\n\tpadding: 4px;\n\tmax-width: 100%;\n\n\toverflow: hidden;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\n\t> svg {\n\t\tflex-shrink: 0;\n\t}\n\n\t> span {\n\t\tall: unset;\n\t\tmargin-left: 4px;\n\t\tfont-weight: 600;\n\t\tfont-size: 12px;\n\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twhite-space: nowrap;\n\t\tdisplay: block;\n\t\tmax-width: 100%;\n\t}\n"])));
|
|
11646
11646
|
Badge.propTypes = {
|
|
11647
11647
|
children: PropTypes__default["default"].node,
|
|
11648
11648
|
className: PropTypes__default["default"].string,
|
|
@@ -11984,7 +11984,7 @@ GoToSelect.propTypes = {
|
|
|
11984
11984
|
|
|
11985
11985
|
const _excluded$l = ["options", "defaultSelected", "onChange", "textWhenMultiple", "withCount", "oneAlwaysSelected", "canUnselectLast", "isAvatarGroup", "maxAvatarCount", "dropDownWidth", "topAvatarValue", "isSingle", "selectionType"];
|
|
11986
11986
|
const {
|
|
11987
|
-
useToken: useToken$
|
|
11987
|
+
useToken: useToken$k
|
|
11988
11988
|
} = antd.theme;
|
|
11989
11989
|
|
|
11990
11990
|
/**
|
|
@@ -12078,7 +12078,7 @@ function Multiselect(_ref) {
|
|
|
12078
12078
|
restProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
12079
12079
|
const {
|
|
12080
12080
|
token
|
|
12081
|
-
} = useToken$
|
|
12081
|
+
} = useToken$k();
|
|
12082
12082
|
const [selectValue, setSelectValue] = React.useState(Array.isArray(defaultSelected) ? defaultSelected.length > 0 ? defaultSelected : [] : [defaultSelected]);
|
|
12083
12083
|
function onSelectChange(value) {
|
|
12084
12084
|
if (!canUnselectLast && value.length === 0) {
|
|
@@ -12582,7 +12582,7 @@ const useHeader = _ref => {
|
|
|
12582
12582
|
};
|
|
12583
12583
|
|
|
12584
12584
|
const {
|
|
12585
|
-
useToken: useToken$
|
|
12585
|
+
useToken: useToken$j
|
|
12586
12586
|
} = antd.theme;
|
|
12587
12587
|
function BreadCrumbs({
|
|
12588
12588
|
breadcrumbs = [],
|
|
@@ -12591,7 +12591,7 @@ function BreadCrumbs({
|
|
|
12591
12591
|
const [splitIndex, setSplitIndex] = React.useState(0);
|
|
12592
12592
|
const {
|
|
12593
12593
|
token
|
|
12594
|
-
} = useToken$
|
|
12594
|
+
} = useToken$j();
|
|
12595
12595
|
const _renderBreadcrumb = (b, i, isLast, noOnClickLast = false) => {
|
|
12596
12596
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
12597
12597
|
className: "flex breadcrumb-item",
|
|
@@ -15536,7 +15536,7 @@ function FlowWidget(_ref) {
|
|
|
15536
15536
|
className: "with-border-header ".concat(widgetClassname),
|
|
15537
15537
|
tabsConfig: tabConfig
|
|
15538
15538
|
}, rest), {}, {
|
|
15539
|
-
children: !isEmpty ? /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
15539
|
+
children: !isEmpty ? /*#__PURE__*/jsxRuntime.jsx(Style$G, {
|
|
15540
15540
|
children: /*#__PURE__*/jsxRuntime.jsx(antd.Steps, {
|
|
15541
15541
|
current: currentForActiveTab,
|
|
15542
15542
|
initial: initialForActiveTab,
|
|
@@ -15578,7 +15578,7 @@ function Icon(_ref2) {
|
|
|
15578
15578
|
return icon(status);
|
|
15579
15579
|
}
|
|
15580
15580
|
}
|
|
15581
|
-
const Style$
|
|
15581
|
+
const Style$G = dt.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n\toverflow-x: auto;\n\toverflow-y: hidden;\n\n\t::-webkit-scrollbar {\n\t\tdisplay: none;\n\t}\n\n\tscrollbar-width: none;\n\n\t-ms-overflow-style: none;\n\n\t@media (max-width: 532px) {\n\t\toverflow-x: hidden;\n\t}\n\n\t:where(.ant-steps-horizontal):not(.ant-steps-label-vertical) {\n\t\t.ant-steps-item-content {\n\t\t\twidth: 100%;\n\n\t\t\t.ant-steps-item-description {\n\t\t\t\tmin-width: 205px;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n"])));
|
|
15582
15582
|
FlowWidget.propTypes = {
|
|
15583
15583
|
title: PropTypes__default["default"].string,
|
|
15584
15584
|
loading: PropTypes__default["default"].bool,
|
|
@@ -15640,7 +15640,7 @@ ActionWidget.propTypes = {
|
|
|
15640
15640
|
onClick: PropTypes__default["default"].func
|
|
15641
15641
|
};
|
|
15642
15642
|
|
|
15643
|
-
const Style$
|
|
15643
|
+
const Style$F = dt.div`
|
|
15644
15644
|
overflow-x: auto;
|
|
15645
15645
|
|
|
15646
15646
|
@media (${MOBILE_WIDTH}) {
|
|
@@ -15831,7 +15831,7 @@ function KeyIndicatorsWidget$1(_ref) {
|
|
|
15831
15831
|
className: formatClassname(["flex-1 with-border-header", widgetClassName]),
|
|
15832
15832
|
title: noTitle ? undefined : t(title),
|
|
15833
15833
|
noTitle: noTitle,
|
|
15834
|
-
children: [children, /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
15834
|
+
children: [children, /*#__PURE__*/jsxRuntime.jsx(Style$F, {
|
|
15835
15835
|
className: formatClassname(["flex", className]),
|
|
15836
15836
|
children: config.map((c, i) => /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
15837
15837
|
className: "row-item",
|
|
@@ -15884,7 +15884,7 @@ function TooltipIcon(_ref) {
|
|
|
15884
15884
|
});
|
|
15885
15885
|
}
|
|
15886
15886
|
|
|
15887
|
-
const Style$
|
|
15887
|
+
const Style$E = dt.div`
|
|
15888
15888
|
display: flex;
|
|
15889
15889
|
flex-direction: row;
|
|
15890
15890
|
position: relative;
|
|
@@ -17275,7 +17275,7 @@ function LocationIcon({
|
|
|
17275
17275
|
});
|
|
17276
17276
|
}
|
|
17277
17277
|
|
|
17278
|
-
const Style$
|
|
17278
|
+
const Style$D = dt.div`
|
|
17279
17279
|
.main {
|
|
17280
17280
|
width: 24px;
|
|
17281
17281
|
height: 24px;
|
|
@@ -17417,7 +17417,7 @@ function StakeholderIcon({
|
|
|
17417
17417
|
link,
|
|
17418
17418
|
onClickLink: () => onClickLink(marker)
|
|
17419
17419
|
}),
|
|
17420
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
17420
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Style$D
|
|
17421
17421
|
// onClick={toggleOpen}
|
|
17422
17422
|
, {
|
|
17423
17423
|
className: `map-marker marker closed`,
|
|
@@ -17430,7 +17430,7 @@ function StakeholderIcon({
|
|
|
17430
17430
|
})
|
|
17431
17431
|
});
|
|
17432
17432
|
}
|
|
17433
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
17433
|
+
return /*#__PURE__*/jsxRuntime.jsxs(Style$D, {
|
|
17434
17434
|
onClick: toggleOpen,
|
|
17435
17435
|
className: `map-marker marker ${isActive ? "opened" : "closed"}`,
|
|
17436
17436
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -18152,7 +18152,7 @@ const useMap$1 = ({
|
|
|
18152
18152
|
};
|
|
18153
18153
|
|
|
18154
18154
|
var _templateObject$9;
|
|
18155
|
-
const Style$
|
|
18155
|
+
const Style$C = dt.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n\n\t.p-placeholder {\n\t\tposition: absolute;\n\t\ttop: 0px;\n\t\tleft: 0px;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: transparent;\n\t\tz-index: 100;\n\t}\n"])));
|
|
18156
18156
|
|
|
18157
18157
|
/**
|
|
18158
18158
|
* ComponentWithFocus
|
|
@@ -18212,7 +18212,7 @@ function ComponentWithFocus(_ref) {
|
|
|
18212
18212
|
setClosed(false);
|
|
18213
18213
|
}
|
|
18214
18214
|
}, [closed]);
|
|
18215
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
18215
|
+
return /*#__PURE__*/jsxRuntime.jsxs(Style$C, {
|
|
18216
18216
|
className: className,
|
|
18217
18217
|
ref: ref,
|
|
18218
18218
|
style: style,
|
|
@@ -18224,7 +18224,7 @@ function ComponentWithFocus(_ref) {
|
|
|
18224
18224
|
});
|
|
18225
18225
|
}
|
|
18226
18226
|
|
|
18227
|
-
const Style$
|
|
18227
|
+
const Style$B = dt.div`
|
|
18228
18228
|
position: absolute;
|
|
18229
18229
|
top: 24px;
|
|
18230
18230
|
left: 24px;
|
|
@@ -18283,7 +18283,7 @@ function Filters({
|
|
|
18283
18283
|
return null;
|
|
18284
18284
|
}
|
|
18285
18285
|
};
|
|
18286
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
18286
|
+
return /*#__PURE__*/jsxRuntime.jsxs(Style$B, {
|
|
18287
18287
|
children: [/*#__PURE__*/jsxRuntime.jsxs(antd.Button, {
|
|
18288
18288
|
onClick: () => setOpened(p => !p),
|
|
18289
18289
|
children: [t("Filter"), /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
@@ -18358,7 +18358,7 @@ function Map$3(_ref) {
|
|
|
18358
18358
|
isSatellite
|
|
18359
18359
|
});
|
|
18360
18360
|
return /*#__PURE__*/jsxRuntime.jsx(ComponentWithFocus, {
|
|
18361
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
18361
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(Style$E, {
|
|
18362
18362
|
className: formatClassname([showSider && activeMarker && "with-sider"]),
|
|
18363
18363
|
children: [filtersConfig ? /*#__PURE__*/jsxRuntime.jsx(Filters, {
|
|
18364
18364
|
t: t,
|
|
@@ -18464,7 +18464,7 @@ Map$3.propTypes = {
|
|
|
18464
18464
|
nameAsSiderTitle: PropTypes__default["default"].bool
|
|
18465
18465
|
};
|
|
18466
18466
|
|
|
18467
|
-
const Style$
|
|
18467
|
+
const Style$A = dt.div`
|
|
18468
18468
|
display: flex;
|
|
18469
18469
|
flex-direction: row;
|
|
18470
18470
|
position: relative;
|
|
@@ -19731,7 +19731,7 @@ function Globe(_ref) {
|
|
|
19731
19731
|
onRender === null || onRender === void 0 || onRender();
|
|
19732
19732
|
}, [onRender]);
|
|
19733
19733
|
return /*#__PURE__*/jsxRuntime.jsx(ComponentWithFocus, {
|
|
19734
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(Style$
|
|
19734
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(Style$A, {
|
|
19735
19735
|
className: formatClassname([showSider && activeMarker && "with-sider"]),
|
|
19736
19736
|
children: [filtersConfig ? /*#__PURE__*/jsxRuntime.jsx(Filters, {
|
|
19737
19737
|
t: t,
|
|
@@ -19975,7 +19975,7 @@ function DashboardLayout(_ref) {
|
|
|
19975
19975
|
});
|
|
19976
19976
|
}
|
|
19977
19977
|
|
|
19978
|
-
const Style$
|
|
19978
|
+
const Style$z = dt.div`
|
|
19979
19979
|
|
|
19980
19980
|
|
|
19981
19981
|
.card {
|
|
@@ -20055,7 +20055,7 @@ const Details = _ref => {
|
|
|
20055
20055
|
loading: loading,
|
|
20056
20056
|
title: title
|
|
20057
20057
|
}, rest), {}, {
|
|
20058
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
20058
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Style$z, {
|
|
20059
20059
|
children: config.length > 0 ? /*#__PURE__*/jsxRuntime.jsx(MapConfig, {
|
|
20060
20060
|
config: config
|
|
20061
20061
|
}) : /*#__PURE__*/jsxRuntime.jsx(antd.Empty, {
|
|
@@ -20078,7 +20078,7 @@ const KeyIndicatorsDetails = _ref => {
|
|
|
20078
20078
|
title: title,
|
|
20079
20079
|
loading: loading
|
|
20080
20080
|
}, rest), {}, {
|
|
20081
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
20081
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Style$z, {
|
|
20082
20082
|
children: /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
20083
20083
|
className: "key-info-card",
|
|
20084
20084
|
children: /*#__PURE__*/jsxRuntime.jsx(MapConfig, {
|
|
@@ -20090,7 +20090,7 @@ const KeyIndicatorsDetails = _ref => {
|
|
|
20090
20090
|
}));
|
|
20091
20091
|
};
|
|
20092
20092
|
|
|
20093
|
-
const Style$
|
|
20093
|
+
const Style$y = dt.div`
|
|
20094
20094
|
|
|
20095
20095
|
.main-details {
|
|
20096
20096
|
display: grid;
|
|
@@ -20111,7 +20111,7 @@ const DetailsSection = _ref => {
|
|
|
20111
20111
|
firstColumnWidth = "250px"
|
|
20112
20112
|
} = _ref,
|
|
20113
20113
|
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
20114
|
-
return /*#__PURE__*/jsxRuntime.jsx(Style$
|
|
20114
|
+
return /*#__PURE__*/jsxRuntime.jsx(Style$y, {
|
|
20115
20115
|
firstColumnWidth: firstColumnWidth,
|
|
20116
20116
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
20117
20117
|
className: "main-details",
|
|
@@ -20388,7 +20388,7 @@ const {
|
|
|
20388
20388
|
Meta
|
|
20389
20389
|
} = antd.Card;
|
|
20390
20390
|
const {
|
|
20391
|
-
useToken: useToken$
|
|
20391
|
+
useToken: useToken$i
|
|
20392
20392
|
} = antd.theme;
|
|
20393
20393
|
function ProjectWidget(_ref) {
|
|
20394
20394
|
let {
|
|
@@ -20407,7 +20407,7 @@ function ProjectWidget(_ref) {
|
|
|
20407
20407
|
const [isHovered, setIsHovered] = React__default["default"].useState(false);
|
|
20408
20408
|
const {
|
|
20409
20409
|
token
|
|
20410
|
-
} = useToken$
|
|
20410
|
+
} = useToken$i();
|
|
20411
20411
|
return /*#__PURE__*/jsxRuntime.jsxs(antd.Card, _objectSpread2(_objectSpread2({
|
|
20412
20412
|
style: {
|
|
20413
20413
|
flex: 1
|
|
@@ -20471,6 +20471,110 @@ function ProjectWidget(_ref) {
|
|
|
20471
20471
|
}));
|
|
20472
20472
|
}
|
|
20473
20473
|
|
|
20474
|
+
const Style$x = dt.div`
|
|
20475
|
+
.daf-widget {
|
|
20476
|
+
background-color: ${props => props.backgroundColor} !important;
|
|
20477
|
+
border-color: ${props => props.backgroundBorderColor} !important;
|
|
20478
|
+
}
|
|
20479
|
+
`;
|
|
20480
|
+
|
|
20481
|
+
const {
|
|
20482
|
+
useToken: useToken$h
|
|
20483
|
+
} = antd.theme;
|
|
20484
|
+
const WidgetCard = _ref => {
|
|
20485
|
+
let {
|
|
20486
|
+
title,
|
|
20487
|
+
backgroundColor,
|
|
20488
|
+
backgroundBorderColor,
|
|
20489
|
+
data = [],
|
|
20490
|
+
link,
|
|
20491
|
+
logoIcon,
|
|
20492
|
+
description,
|
|
20493
|
+
loading = false,
|
|
20494
|
+
iconColor,
|
|
20495
|
+
buttonIcon
|
|
20496
|
+
} = _ref;
|
|
20497
|
+
useToken$h();
|
|
20498
|
+
return /*#__PURE__*/jsxRuntime.jsx(Style$x, {
|
|
20499
|
+
backgroundColor: backgroundColor,
|
|
20500
|
+
backgroundBorderColor: backgroundBorderColor,
|
|
20501
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(Widget, {
|
|
20502
|
+
title: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
20503
|
+
style: {
|
|
20504
|
+
display: "flex",
|
|
20505
|
+
alignItems: "center"
|
|
20506
|
+
},
|
|
20507
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
20508
|
+
style: {
|
|
20509
|
+
backgroundColor: '#FFFFFF',
|
|
20510
|
+
borderRadius: "20%",
|
|
20511
|
+
width: "32px",
|
|
20512
|
+
height: "32px",
|
|
20513
|
+
display: "flex",
|
|
20514
|
+
justifyContent: "center",
|
|
20515
|
+
alignItems: "center",
|
|
20516
|
+
marginRight: "8px",
|
|
20517
|
+
border: "1px solid #E5E7EB"
|
|
20518
|
+
},
|
|
20519
|
+
children: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
20520
|
+
name: logoIcon,
|
|
20521
|
+
width: 25,
|
|
20522
|
+
height: 25
|
|
20523
|
+
})
|
|
20524
|
+
}), /*#__PURE__*/jsxRuntime.jsx(antd.Tooltip, {
|
|
20525
|
+
title: title,
|
|
20526
|
+
children: title
|
|
20527
|
+
})]
|
|
20528
|
+
}),
|
|
20529
|
+
addedHeader: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
20530
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
20531
|
+
className: "flex-1"
|
|
20532
|
+
}), /*#__PURE__*/jsxRuntime.jsx("a", {
|
|
20533
|
+
style: {
|
|
20534
|
+
backgroundColor: '#FFFFFF',
|
|
20535
|
+
borderRadius: "20%",
|
|
20536
|
+
width: "32px",
|
|
20537
|
+
height: "32px",
|
|
20538
|
+
display: "flex",
|
|
20539
|
+
justifyContent: "center",
|
|
20540
|
+
alignItems: "center",
|
|
20541
|
+
border: "1px solid #E5E7EB"
|
|
20542
|
+
},
|
|
20543
|
+
href: link,
|
|
20544
|
+
children: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
20545
|
+
className: buttonIcon,
|
|
20546
|
+
name: "Link",
|
|
20547
|
+
size: 16,
|
|
20548
|
+
color: iconColor || antd.theme.colorPrimary
|
|
20549
|
+
})
|
|
20550
|
+
})]
|
|
20551
|
+
}),
|
|
20552
|
+
loading: loading,
|
|
20553
|
+
children: [description && /*#__PURE__*/jsxRuntime.jsx("p", {
|
|
20554
|
+
children: description
|
|
20555
|
+
}), data === null || data === void 0 ? void 0 : data.map(item => /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
20556
|
+
style: {
|
|
20557
|
+
display: "flex",
|
|
20558
|
+
justifyContent: "space-between"
|
|
20559
|
+
},
|
|
20560
|
+
children: [item.isTag ? /*#__PURE__*/jsxRuntime.jsx(antd.Tag, {
|
|
20561
|
+
style: {
|
|
20562
|
+
width: '70px',
|
|
20563
|
+
textAlign: 'center',
|
|
20564
|
+
borderRadius: '10px'
|
|
20565
|
+
},
|
|
20566
|
+
color: item.tagColor || 'default',
|
|
20567
|
+
children: item.label
|
|
20568
|
+
}) : /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
20569
|
+
children: item.label
|
|
20570
|
+
}), /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
20571
|
+
children: item.value
|
|
20572
|
+
})]
|
|
20573
|
+
}, item))]
|
|
20574
|
+
})
|
|
20575
|
+
});
|
|
20576
|
+
};
|
|
20577
|
+
|
|
20474
20578
|
var Style$w = dt.div`
|
|
20475
20579
|
border: 1px solid var(--base-gray-40);
|
|
20476
20580
|
padding: 12px;
|
|
@@ -59851,6 +59955,7 @@ exports.ViewForm = Content;
|
|
|
59851
59955
|
exports.ViewFormInput = Input;
|
|
59852
59956
|
exports.ViewFormNavigation = Navigation;
|
|
59853
59957
|
exports.Widget = Widget;
|
|
59958
|
+
exports.WidgetCard = WidgetCard;
|
|
59854
59959
|
exports.WidgetImage = ImageWidget;
|
|
59855
59960
|
exports.WidgetLoader = Loader;
|
|
59856
59961
|
exports.WidgetPlaceholder = WidgetPlaceholder;
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export { default as DetailsSection } from "./@daf/core/components/Dashboard/Widg
|
|
|
71
71
|
export { default as SDGWidget } from "./@daf/core/components/Dashboard/Widget/SDGWidget/index.jsx";
|
|
72
72
|
export { default as ComponentWithFocus } from "./@daf/core/components/Dashboard/ComponentWithFocus/index.jsx";
|
|
73
73
|
export { default as ProjectWidget } from "./@daf/core/components/Dashboard/Widget/ProjectWidget/index.jsx";
|
|
74
|
+
export { default as WidgetCard } from "./@daf/core/components/Dashboard/Widget/WidgetCard/index.js";
|
|
74
75
|
// export { default as WidgetCatalogue } from "./@daf/core/components/Dashboard/Widget/WidgetCatalogue/index.jsx";
|
|
75
76
|
|
|
76
77
|
// Forms
|