datastake-daf 0.6.181 → 0.6.183
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 +24 -34
- package/package.json +1 -1
- package/src/@daf/core/components/Dashboard/Globe/style.js +0 -11
- package/.env +0 -8
- package/.vscode/settings.json +0 -13
package/dist/components/index.js
CHANGED
|
@@ -12448,26 +12448,27 @@ function Loading(_ref) {
|
|
|
12448
12448
|
const {
|
|
12449
12449
|
Paragraph: Paragraph$1
|
|
12450
12450
|
} = antd.Typography;
|
|
12451
|
-
const useHeader =
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12457
|
-
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12451
|
+
const useHeader = _ref => {
|
|
12452
|
+
let {
|
|
12453
|
+
title = '',
|
|
12454
|
+
tooltip = '',
|
|
12455
|
+
supportText = '',
|
|
12456
|
+
tags = [],
|
|
12457
|
+
actionButtons: _actionButtons = [],
|
|
12458
|
+
titleTooltip,
|
|
12459
|
+
className,
|
|
12460
|
+
addedHeader = null,
|
|
12461
|
+
addedHeaderFirst,
|
|
12462
|
+
extraButtons: _extraButtons = [],
|
|
12463
|
+
onDownload,
|
|
12464
|
+
downloadDisabled,
|
|
12465
|
+
goBackTo,
|
|
12466
|
+
loading,
|
|
12467
|
+
renderExtraComponents,
|
|
12468
|
+
app = '',
|
|
12469
|
+
isViewMode = false,
|
|
12470
|
+
filtersConfig = {}
|
|
12471
|
+
} = _ref;
|
|
12471
12472
|
const [showFilters, setShowFilters] = React.useState(false);
|
|
12472
12473
|
const hasFilters = filtersConfig && Object.keys(filtersConfig).length > 0;
|
|
12473
12474
|
const downloadButtonAction = app && app === 'sbg' && isViewMode ? null : {
|
|
@@ -12504,9 +12505,9 @@ const useHeader = ({
|
|
|
12504
12505
|
const buttonCont = React.useRef();
|
|
12505
12506
|
const [mainContWidth, setMainContWidth] = React.useState(600);
|
|
12506
12507
|
const [buttonContWidth, setButtonContWidth] = React.useState(0);
|
|
12507
|
-
const hasSupportText = !!supportText
|
|
12508
|
-
const hasTags = !!tags
|
|
12509
|
-
const hasButtons = !!(actionButtons
|
|
12508
|
+
const hasSupportText = !!(supportText !== null && supportText !== void 0 && supportText.length);
|
|
12509
|
+
const hasTags = !!(tags !== null && tags !== void 0 && tags.length);
|
|
12510
|
+
const hasButtons = !!(actionButtons !== null && actionButtons !== void 0 && actionButtons.length || extraButtons !== null && extraButtons !== void 0 && extraButtons.length);
|
|
12510
12511
|
React.useEffect(() => {
|
|
12511
12512
|
const mainContObserver = new ResizeObserver(entries => {
|
|
12512
12513
|
const _mainEntry = entries[0];
|
|
@@ -18678,17 +18679,6 @@ const Style$A = dt.div`
|
|
|
18678
18679
|
position: relative;
|
|
18679
18680
|
width: 100%;
|
|
18680
18681
|
height: 472px;
|
|
18681
|
-
min-height: 300px;
|
|
18682
|
-
|
|
18683
|
-
@media (max-width: 768px) {
|
|
18684
|
-
height: 350px;
|
|
18685
|
-
min-height: 250px;
|
|
18686
|
-
}
|
|
18687
|
-
|
|
18688
|
-
@media (max-width: 480px) {
|
|
18689
|
-
height: 300px;
|
|
18690
|
-
min-height: 200px;
|
|
18691
|
-
}
|
|
18692
18682
|
|
|
18693
18683
|
.filter-cont {
|
|
18694
18684
|
position: absolute;
|
package/package.json
CHANGED
|
@@ -6,17 +6,6 @@ const Style = styled.div`
|
|
|
6
6
|
position: relative;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 472px;
|
|
9
|
-
min-height: 300px;
|
|
10
|
-
|
|
11
|
-
@media (max-width: 768px) {
|
|
12
|
-
height: 350px;
|
|
13
|
-
min-height: 250px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media (max-width: 480px) {
|
|
17
|
-
height: 300px;
|
|
18
|
-
min-height: 200px;
|
|
19
|
-
}
|
|
20
9
|
|
|
21
10
|
.filter-cont {
|
|
22
11
|
position: absolute;
|
package/.env
DELETED
package/.vscode/settings.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cSpell.words": ["cukura"],
|
|
3
|
-
"files.autoSave": "afterDelay",
|
|
4
|
-
"editor.wordWrap": "on",
|
|
5
|
-
"editor.autoClosingBrackets": "always",
|
|
6
|
-
"editor.autoClosingComments": "always",
|
|
7
|
-
"editor.autoClosingQuotes": "always",
|
|
8
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
9
|
-
"editor.formatOnPaste": true,
|
|
10
|
-
"editor.formatOnSave": true,
|
|
11
|
-
"notebook.defaultFormatter": "esbenp.prettier-vscode",
|
|
12
|
-
"javascript.format.semicolons": "insert"
|
|
13
|
-
}
|