@bundle-stats/ui 4.4.0 → 4.5.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/header/header.module.css +1 -0
- package/lib/assets/icons.svg +17 -11
- package/lib/assets/icons.svg.js +15 -11
- package/lib/assets/icons.svg.js.map +1 -1
- package/lib/components/bundle-assets/bundle-assets.js +3 -11
- package/lib/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib/components/bundle-assets/bundle-assets.utils.js +8 -20
- package/lib/components/bundle-assets/bundle-assets.utils.js.map +1 -1
- package/lib/components/bundle-assets/index.js +0 -2
- package/lib/components/bundle-assets/index.js.map +1 -1
- package/lib/components/bundle-modules/bundle-modules.js +2 -10
- package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib/components/bundle-modules/bundle-modules.utils.js +1 -13
- package/lib/components/bundle-modules/bundle-modules.utils.js.map +1 -1
- package/lib/components/bundle-modules/index.js +2 -4
- package/lib/components/bundle-modules/index.js.map +1 -1
- package/lib/components/bundle-packages/bundle-packages.js +2 -10
- package/lib/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib/components/bundle-packages/bundle-packages.utils.js +1 -13
- package/lib/components/bundle-packages/bundle-packages.utils.js.map +1 -1
- package/lib/components/bundle-packages/index.js +2 -4
- package/lib/components/bundle-packages/index.js.map +1 -1
- package/lib/components/jobs-header/jobs-header.js +2 -2
- package/lib/components/jobs-header/jobs-header.js.map +1 -1
- package/lib/components/metrics-table/metrics-table.js +47 -104
- package/lib/components/metrics-table/metrics-table.js.map +1 -1
- package/lib/components/metrics-table/metrics-table.module.css +18 -17
- package/lib/components/metrics-table-search/metrics-table-search.js +1 -1
- package/lib/components/metrics-table-search/metrics-table-search.js.map +1 -1
- package/lib/components/metrics-table-title/metrics-table-title.js +2 -2
- package/lib/components/metrics-table-title/metrics-table-title.js.map +1 -1
- package/lib/components/metrics-table-title/metrics-table-title.module.css +3 -1
- package/lib/components/{job-header → sort-button}/index.js +1 -1
- package/lib/components/sort-button/index.js.map +1 -0
- package/lib/components/sort-button/sort-button.js +73 -0
- package/lib/components/sort-button/sort-button.js.map +1 -0
- package/lib/components/sort-button/sort-button.module.css +89 -0
- package/lib/components/total-size-type-title/total-size-type-title.js +1 -1
- package/lib/components/total-size-type-title/total-size-type-title.js.map +1 -1
- package/lib/constants.js +5 -1
- package/lib/constants.js.map +1 -1
- package/lib/hooks/rows-sort.js +13 -5
- package/lib/hooks/rows-sort.js.map +1 -1
- package/lib/ui/icon/icon.js +2 -0
- package/lib/ui/icon/icon.js.map +1 -1
- package/lib/ui/index.js +1 -3
- package/lib/ui/index.js.map +1 -1
- package/lib-esm/app/header/header.module.css +1 -0
- package/lib-esm/assets/icons.svg +17 -11
- package/lib-esm/assets/icons.svg.js +15 -11
- package/lib-esm/assets/icons.svg.js.map +1 -1
- package/lib-esm/components/bundle-assets/bundle-assets.js +3 -11
- package/lib-esm/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib-esm/components/bundle-assets/bundle-assets.utils.js +8 -21
- package/lib-esm/components/bundle-assets/bundle-assets.utils.js.map +1 -1
- package/lib-esm/components/bundle-assets/index.js +0 -2
- package/lib-esm/components/bundle-assets/index.js.map +1 -1
- package/lib-esm/components/bundle-modules/bundle-modules.js +2 -10
- package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib-esm/components/bundle-modules/bundle-modules.utils.js +1 -14
- package/lib-esm/components/bundle-modules/bundle-modules.utils.js.map +1 -1
- package/lib-esm/components/bundle-modules/index.js +2 -4
- package/lib-esm/components/bundle-modules/index.js.map +1 -1
- package/lib-esm/components/bundle-packages/bundle-packages.js +2 -10
- package/lib-esm/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib-esm/components/bundle-packages/bundle-packages.utils.js +1 -14
- package/lib-esm/components/bundle-packages/bundle-packages.utils.js.map +1 -1
- package/lib-esm/components/bundle-packages/index.js +2 -4
- package/lib-esm/components/bundle-packages/index.js.map +1 -1
- package/lib-esm/components/jobs-header/jobs-header.js +2 -2
- package/lib-esm/components/jobs-header/jobs-header.js.map +1 -1
- package/lib-esm/components/metrics-table/metrics-table.js +47 -81
- package/lib-esm/components/metrics-table/metrics-table.js.map +1 -1
- package/lib-esm/components/metrics-table/metrics-table.module.css +18 -17
- package/lib-esm/components/metrics-table-search/metrics-table-search.js +1 -1
- package/lib-esm/components/metrics-table-search/metrics-table-search.js.map +1 -1
- package/lib-esm/components/metrics-table-title/metrics-table-title.js +2 -2
- package/lib-esm/components/metrics-table-title/metrics-table-title.js.map +1 -1
- package/lib-esm/components/metrics-table-title/metrics-table-title.module.css +3 -1
- package/lib-esm/components/sort-button/index.js +2 -0
- package/lib-esm/components/sort-button/index.js.map +1 -0
- package/lib-esm/components/sort-button/sort-button.js +43 -0
- package/lib-esm/components/sort-button/sort-button.js.map +1 -0
- package/lib-esm/components/sort-button/sort-button.module.css +89 -0
- package/lib-esm/components/total-size-type-title/total-size-type-title.js +1 -1
- package/lib-esm/components/total-size-type-title/total-size-type-title.js.map +1 -1
- package/lib-esm/constants.js +4 -0
- package/lib-esm/constants.js.map +1 -1
- package/lib-esm/hooks/rows-sort.js +11 -4
- package/lib-esm/hooks/rows-sort.js.map +1 -1
- package/lib-esm/ui/icon/icon.js +2 -0
- package/lib-esm/ui/icon/icon.js.map +1 -1
- package/lib-esm/ui/index.js +0 -1
- package/lib-esm/ui/index.js.map +1 -1
- package/package.json +5 -5
- package/src/app/header/header.module.css +1 -0
- package/src/assets/icons/chevron-down.svg +1 -0
- package/src/assets/icons/chevron-up.svg +1 -0
- package/src/assets/icons/github.svg +1 -1
- package/src/assets/icons.svg +17 -11
- package/src/assets/icons.svg.jsx +25 -11
- package/src/components/bundle-assets/bundle-assets.jsx +3 -10
- package/src/components/bundle-assets/bundle-assets.utils.js +8 -24
- package/src/components/bundle-assets/index.jsx +0 -2
- package/src/components/bundle-modules/bundle-modules.jsx +2 -14
- package/src/components/bundle-modules/bundle-modules.utils.js +1 -17
- package/src/components/bundle-modules/index.jsx +2 -4
- package/src/components/bundle-packages/bundle-packages.jsx +2 -9
- package/src/components/bundle-packages/bundle-packages.utils.js +1 -17
- package/src/components/bundle-packages/index.jsx +2 -4
- package/src/components/jobs-header/jobs-header.tsx +2 -2
- package/src/components/metrics-table/metrics-table.jsx +142 -132
- package/src/components/metrics-table/metrics-table.module.css +18 -17
- package/src/components/metrics-table-search/metrics-table-search.jsx +1 -1
- package/src/components/metrics-table-title/metrics-table-title.jsx +2 -2
- package/src/components/metrics-table-title/metrics-table-title.module.css +3 -1
- package/src/components/sort-button/index.ts +1 -0
- package/src/components/sort-button/sort-button.module.css +89 -0
- package/src/components/sort-button/sort-button.tsx +108 -0
- package/src/components/total-size-type-title/total-size-type-title.jsx +1 -1
- package/src/constants.js +5 -0
- package/src/hooks/rows-sort.ts +48 -0
- package/src/types.d.ts +4 -0
- package/src/ui/icon/icon.tsx +2 -0
- package/src/ui/index.js +0 -1
- package/types/components/bundle-assets/bundle-assets.d.ts +0 -1
- package/types/components/bundle-assets/bundle-assets.utils.d.ts +1 -1
- package/types/components/bundle-modules/bundle-modules.d.ts +1 -3
- package/types/components/bundle-modules/bundle-modules.utils.d.ts +1 -1
- package/types/components/bundle-packages/bundle-packages.d.ts +0 -1
- package/types/components/bundle-packages/bundle-packages.utils.d.ts +1 -1
- package/types/components/metrics-table/metrics-table.d.ts +3 -7
- package/types/components/sort-button/index.d.ts +1 -0
- package/types/components/sort-button/sort-button.d.ts +11 -0
- package/types/constants.d.ts +4 -0
- package/types/hooks/rows-sort.d.ts +14 -11
- package/types/ui/icon/icon.d.ts +4 -0
- package/types/ui/index.d.ts +0 -1
- package/lib/components/bundle-assets/bundle-assets.constants.js +0 -21
- package/lib/components/bundle-assets/bundle-assets.constants.js.map +0 -1
- package/lib/components/bundle-modules/bundle-modules.constants.js +0 -21
- package/lib/components/bundle-modules/bundle-modules.constants.js.map +0 -1
- package/lib/components/bundle-packages/bundle-packages.constants.js +0 -21
- package/lib/components/bundle-packages/bundle-packages.constants.js.map +0 -1
- package/lib/components/job-header/index.js.map +0 -1
- package/lib/components/job-header/job-header.js +0 -54
- package/lib/components/job-header/job-header.js.map +0 -1
- package/lib/components/job-header/job-header.module.css +0 -19
- package/lib/ui/sort-dropdown/index.js +0 -18
- package/lib/ui/sort-dropdown/index.js.map +0 -1
- package/lib/ui/sort-dropdown/sort-dropdown.js +0 -101
- package/lib/ui/sort-dropdown/sort-dropdown.js.map +0 -1
- package/lib/ui/sort-dropdown/sort-dropdown.module.css +0 -22
- package/lib-esm/components/bundle-assets/bundle-assets.constants.js +0 -18
- package/lib-esm/components/bundle-assets/bundle-assets.constants.js.map +0 -1
- package/lib-esm/components/bundle-modules/bundle-modules.constants.js +0 -18
- package/lib-esm/components/bundle-modules/bundle-modules.constants.js.map +0 -1
- package/lib-esm/components/bundle-packages/bundle-packages.constants.js +0 -18
- package/lib-esm/components/bundle-packages/bundle-packages.constants.js.map +0 -1
- package/lib-esm/components/job-header/index.js +0 -2
- package/lib-esm/components/job-header/index.js.map +0 -1
- package/lib-esm/components/job-header/job-header.js +0 -47
- package/lib-esm/components/job-header/job-header.js.map +0 -1
- package/lib-esm/components/job-header/job-header.module.css +0 -19
- package/lib-esm/ui/sort-dropdown/index.js +0 -2
- package/lib-esm/ui/sort-dropdown/index.js.map +0 -1
- package/lib-esm/ui/sort-dropdown/sort-dropdown.js +0 -71
- package/lib-esm/ui/sort-dropdown/sort-dropdown.js.map +0 -1
- package/lib-esm/ui/sort-dropdown/sort-dropdown.module.css +0 -22
- package/src/components/bundle-assets/bundle-assets.constants.js +0 -18
- package/src/components/bundle-modules/bundle-modules.constants.js +0 -18
- package/src/components/bundle-packages/bundle-packages.constants.js +0 -18
- package/src/components/job-header/index.js +0 -1
- package/src/components/job-header/job-header.jsx +0 -69
- package/src/components/job-header/job-header.module.css +0 -19
- package/src/hooks/rows-sort.js +0 -24
- package/src/ui/sort-dropdown/index.js +0 -1
- package/src/ui/sort-dropdown/sort-dropdown.jsx +0 -121
- package/src/ui/sort-dropdown/sort-dropdown.module.css +0 -22
- package/types/components/bundle-assets/bundle-assets.constants.d.ts +0 -21
- package/types/components/bundle-modules/bundle-modules.constants.d.ts +0 -21
- package/types/components/bundle-packages/bundle-packages.constants.d.ts +0 -21
- package/types/components/job-header/index.d.ts +0 -1
- package/types/components/job-header/job-header.d.ts +0 -26
- package/types/ui/sort-dropdown/index.d.ts +0 -1
- package/types/ui/sort-dropdown/sort-dropdown.d.ts +0 -24
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SortButton = void 0;
|
|
30
|
+
const react_1 = __importStar(require("react"));
|
|
31
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
32
|
+
const constants_1 = require("../../constants");
|
|
33
|
+
const icon_1 = require("../../ui/icon");
|
|
34
|
+
const tooltip_1 = require("../../ui/tooltip");
|
|
35
|
+
const sort_button_module_css_1 = __importDefault(require("./sort-button.module.css"));
|
|
36
|
+
const getToggleAction = (sort, field, label) => {
|
|
37
|
+
if (sort?.field !== field) {
|
|
38
|
+
return { direction: constants_1.SORT.DESC, title: `Order ${label} descending` };
|
|
39
|
+
}
|
|
40
|
+
if (sort?.direction === constants_1.SORT.DESC) {
|
|
41
|
+
return { direction: constants_1.SORT.ASC, title: `Order ${label} ascending` };
|
|
42
|
+
}
|
|
43
|
+
return { direction: '', title: 'Reset order' };
|
|
44
|
+
};
|
|
45
|
+
const getAscAction = (label) => {
|
|
46
|
+
return { direction: constants_1.SORT.ASC, title: `Order ${label} ascending` };
|
|
47
|
+
};
|
|
48
|
+
const getDescAction = (label) => {
|
|
49
|
+
return { direction: constants_1.SORT.DESC, title: `Order ${label} descending` };
|
|
50
|
+
};
|
|
51
|
+
const SortButton = (props) => {
|
|
52
|
+
const { className = '', children, fieldPath, fieldName, label, sort, updateSort } = props;
|
|
53
|
+
const field = `${fieldPath}.${fieldName}`;
|
|
54
|
+
const toggleAction = getToggleAction(sort, field, label);
|
|
55
|
+
const ascAction = getAscAction(label);
|
|
56
|
+
const descAction = getDescAction(label);
|
|
57
|
+
const isSorted = sort.field === field;
|
|
58
|
+
const getOrderOnClick = (0, react_1.useCallback)((action) => () => {
|
|
59
|
+
if (action.direction) {
|
|
60
|
+
updateSort({ field, direction: action.direction });
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
updateSort({ field: '', direction: '' });
|
|
64
|
+
}, [field, updateSort, toggleAction]);
|
|
65
|
+
return (react_1.default.createElement("div", { className: (0, classnames_1.default)(sort_button_module_css_1.default.root, className, isSorted && sort_button_module_css_1.default.active) },
|
|
66
|
+
react_1.default.createElement(tooltip_1.Tooltip, { title: toggleAction.title, as: "button", type: "button", onClick: getOrderOnClick(toggleAction), className: (0, classnames_1.default)(sort_button_module_css_1.default.button, sort_button_module_css_1.default.toggle) }, children),
|
|
67
|
+
react_1.default.createElement(tooltip_1.Tooltip, { title: ascAction.title, as: "button", type: "button", onClick: getOrderOnClick(ascAction), className: (0, classnames_1.default)(sort_button_module_css_1.default.button, sort_button_module_css_1.default.direction, sort_button_module_css_1.default.directionAsc, isSorted && sort.direction === constants_1.SORT.ASC && sort_button_module_css_1.default.directionActive) },
|
|
68
|
+
react_1.default.createElement(icon_1.Icon, { glyph: icon_1.Icon.ICONS.CHEVRON_UP, size: "small", className: sort_button_module_css_1.default.directionIcon })),
|
|
69
|
+
react_1.default.createElement(tooltip_1.Tooltip, { title: descAction.title, as: "button", type: "button", onClick: getOrderOnClick(descAction), className: (0, classnames_1.default)(sort_button_module_css_1.default.button, sort_button_module_css_1.default.direction, sort_button_module_css_1.default.directionDesc, isSorted && sort.direction === constants_1.SORT.DESC && sort_button_module_css_1.default.directionActive) },
|
|
70
|
+
react_1.default.createElement(icon_1.Icon, { glyph: icon_1.Icon.ICONS.CHEVRON_DOWN, size: "small", className: sort_button_module_css_1.default.directionIcon }))));
|
|
71
|
+
};
|
|
72
|
+
exports.SortButton = SortButton;
|
|
73
|
+
//# sourceMappingURL=sort-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-button.js","sourceRoot":"","sources":["../../../src/components/sort-button/sort-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA2C;AAC3C,4DAA4B;AAE5B,+CAAuC;AAEvC,wCAAqC;AACrC,8CAA2C;AAC3C,sFAA2C;AAO3C,MAAM,eAAe,GAAG,C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I,EAAC,OAAO,EAAC,SAAS,EAAE,gCAAG,CAAC,aAAa,GAAI,CACzE;QACV,8BAAC,iBAAO,IACN,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,EAAE,EAAC,QAAQ,EACX,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,eAAe,CAAC,UAAU,CAAC,EACpC,SAAS,EAAE,IAAA,oBAAE,EACX,gCAAG,CAAC,MAAM,EACV,gCAAG,CAAC,SAAS,EACb,gCAAG,CAAC,aAAa,EACjB,QAAQ,IAAI,IAAI,CAAC,SAAS,KAAK,gBAAI,CAAC,IAAI,IAAI,gCAAG,CAAC,eAAe,CAChE;YAED,8BAAC,WAAI,IAAC,KAAK,EAAE,WAAI,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,gCAAG,CAAC,aAAa,GAAI,CAC3E,CACN,CACP,CAAC;AACJ,CAAC,CAAC;AA9DW,QAAA,UAAU,cA8DrB"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
--icon-dimension: 15px;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
margin: calc(0px - var(--space-xxxsmall));
|
|
5
|
+
margin-right: calc(0px - 1px - var(--icon-dimension));
|
|
6
|
+
border-radius: var(--radius-small);
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.button {
|
|
11
|
+
appearance: none;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
border: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: 0;
|
|
16
|
+
background: transparent;
|
|
17
|
+
transition: var(--transition-out);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.toggle {
|
|
21
|
+
padding: var(--space-xxxsmall);
|
|
22
|
+
padding-right: calc(1px + var(--icon-dimension));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.direction {
|
|
26
|
+
position: absolute;
|
|
27
|
+
padding: 2px;
|
|
28
|
+
display: block;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
right: -2px; /* compensate for the button padding */
|
|
31
|
+
color: var(--color-text-ultra-light);
|
|
32
|
+
transition: var(--transition-out);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.directionIcon {
|
|
36
|
+
display: block;
|
|
37
|
+
width: var(--icon-dimension);
|
|
38
|
+
height: var(--icon-dimension);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.directionActive {
|
|
42
|
+
color: var(--color-text);
|
|
43
|
+
transition: var(--transition-in);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.direction:hover,
|
|
47
|
+
.direction:active,
|
|
48
|
+
.direction:focus {
|
|
49
|
+
color: var(--color-text-dark);
|
|
50
|
+
transition: var(--transition-in);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.directionAsc {
|
|
54
|
+
padding-bottom: 0;
|
|
55
|
+
bottom: 50%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.directionAsc .directionIcon {
|
|
59
|
+
transform: translateY(3px);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.directionDesc {
|
|
63
|
+
padding-top: 0;
|
|
64
|
+
top: 50%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.directionDesc .directionIcon {
|
|
68
|
+
transform: translateY(-5px);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.root:hover,
|
|
72
|
+
.root:active,
|
|
73
|
+
.root:focus {
|
|
74
|
+
background: var(--color-outline);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.direction {
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.active .direction,
|
|
83
|
+
.root:hover .direction,
|
|
84
|
+
.root:active .direction,
|
|
85
|
+
.root:focus .direction {
|
|
86
|
+
pointer-events: auto;
|
|
87
|
+
opacity: 1;
|
|
88
|
+
transition: var(--transition-in);
|
|
89
|
+
}
|
|
@@ -16,7 +16,7 @@ const hover_card_1 = require("../../ui/hover-card");
|
|
|
16
16
|
const total_size_type_title_module_css_1 = __importDefault(require("./total-size-type-title.module.css"));
|
|
17
17
|
const TotalSizeTypeTitle = ({ className }) => (react_1.default.createElement(flex_stack_1.FlexStack, { space: "xxxsmall", alignItems: "center", className: (0, classnames_1.default)(total_size_type_title_module_css_1.default.root, className) },
|
|
18
18
|
react_1.default.createElement("span", { className: total_size_type_title_module_css_1.default.text }, i18n_1.default.ASSET_TOTALS),
|
|
19
|
-
react_1.default.createElement(hover_card_1.HoverCard, { label: react_1.default.createElement(icon_1.Icon, { glyph:
|
|
19
|
+
react_1.default.createElement(hover_card_1.HoverCard, { label: react_1.default.createElement(icon_1.Icon, { glyph: icon_1.Icon.ICONS.HELP }), anchorClassName: total_size_type_title_module_css_1.default.anchor },
|
|
20
20
|
react_1.default.createElement(stack_1.Stack, { space: "xxxsmall" },
|
|
21
21
|
react_1.default.createElement("p", null, i18n_1.default.ASSET_TOTALS_INFO),
|
|
22
22
|
react_1.default.createElement("p", null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"total-size-type-title.js","sourceRoot":"","sources":["../../../src/components/total-size-type-title/total-size-type-title.jsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAmC;AACnC,4DAA4B;AAE5B,oEAAuC;AACvC,sDAA8B;AAC9B,wDAAoD;AACpD,8CAA2C;AAC3C,wCAAqC;AACrC,oDAAgD;AAChD,0GAAqD;AAE9C,MAAM,kBAAkB,GAAG,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACnD,8BAAC,sBAAS,IAAC,KAAK,EAAC,UAAU,EAAC,UAAU,EAAC,QAAQ,EAAC,SAAS,EAAE,IAAA,oBAAE,EAAC,0CAAG,CAAC,IAAI,EAAE,SAAS,CAAC;IAChF,wCAAM,SAAS,EAAE,0CAAG,CAAC,IAAI,IAAG,cAAI,CAAC,YAAY,CAAQ;IACrD,8BAAC,sBAAS,IAAC,KAAK,EAAE,8BAAC,WAAI,IAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"total-size-type-title.js","sourceRoot":"","sources":["../../../src/components/total-size-type-title/total-size-type-title.jsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAAmC;AACnC,4DAA4B;AAE5B,oEAAuC;AACvC,sDAA8B;AAC9B,wDAAoD;AACpD,8CAA2C;AAC3C,wCAAqC;AACrC,oDAAgD;AAChD,0GAAqD;AAE9C,MAAM,kBAAkB,GAAG,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACnD,8BAAC,sBAAS,IAAC,KAAK,EAAC,UAAU,EAAC,UAAU,EAAC,QAAQ,EAAC,SAAS,EAAE,IAAA,oBAAE,EAAC,0CAAG,CAAC,IAAI,EAAE,SAAS,CAAC;IAChF,wCAAM,SAAS,EAAE,0CAAG,CAAC,IAAI,IAAG,cAAI,CAAC,YAAY,CAAQ;IACrD,8BAAC,sBAAS,IAAC,KAAK,EAAE,8BAAC,WAAI,IAAC,KAAK,EAAE,WAAI,CAAC,KAAK,CAAC,IAAI,GAAI,EAAE,eAAe,EAAE,0CAAG,CAAC,MAAM;QAC7E,8BAAC,aAAK,IAAC,KAAK,EAAC,UAAU;YACrB,yCAAI,cAAI,CAAC,iBAAiB,CAAK;YAC/B;gBACE,0CACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAM,CAAC,aAAa,CAAC,MAAM,CAAC,EACvD,SAAS,EAAE,0CAAG,CAAC,YAAY,IAE1B,cAAI,CAAC,SAAS,CACR,CACP,CACE,CACE,CACF,CACb,CAAC;AAlBW,QAAA,kBAAkB,sBAkB7B;AAEF,0BAAkB,CAAC,SAAS,GAAG;IAC7B,SAAS,EAAE,oBAAS,CAAC,MAAM;CAC5B,CAAC;AAEF,0BAAkB,CAAC,YAAY,GAAG;IAChC,SAAS,EAAE,EAAE;CACd,CAAC"}
|
package/lib/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.METRICS_WEBPACK_PACKAGES = exports.METRICS_WEBPACK_MODULES = exports.METRICS_WEBPACK_ASSETS = exports.METRICS_WEBPACK_GENERAL = exports.ASSETS_SIZES_FILE_TYPE_MAP = exports.SECTION_URLS = exports.URLS = void 0;
|
|
3
|
+
exports.SORT = exports.METRICS_WEBPACK_PACKAGES = exports.METRICS_WEBPACK_MODULES = exports.METRICS_WEBPACK_ASSETS = exports.METRICS_WEBPACK_GENERAL = exports.ASSETS_SIZES_FILE_TYPE_MAP = exports.SECTION_URLS = exports.URLS = void 0;
|
|
4
4
|
const utils_1 = require("@bundle-stats/utils");
|
|
5
5
|
exports.URLS = {
|
|
6
6
|
OVERVIEW: '/',
|
|
@@ -31,4 +31,8 @@ exports.METRICS_WEBPACK_MODULES = [
|
|
|
31
31
|
'webpack.duplicateCode',
|
|
32
32
|
];
|
|
33
33
|
exports.METRICS_WEBPACK_PACKAGES = ['webpack.packageCount', 'webpack.duplicatePackagesCount'];
|
|
34
|
+
exports.SORT = {
|
|
35
|
+
ASC: 'asc',
|
|
36
|
+
DESC: 'desc',
|
|
37
|
+
};
|
|
34
38
|
//# sourceMappingURL=constants.js.map
|
package/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.js"],"names":[],"mappings":";;;AAAA,+CAA2D;AAE9C,QAAA,IAAI,GAAG;IAClB,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,CAAC,gBAAQ,CAAC,MAAM,CAAC,EAAE,YAAI,CAAC,QAAQ;IAChC,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C;AAEW,QAAA,0BAA0B,GAAG,kBAAU,CAAC,MAAM,CACzD,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,GAAG;IACN,CAAC,gCAAgC,QAAQ,EAAE,CAAC,EAAE,QAAQ;CACvD,CAAC,EACF,EAAE,CACH,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,4BAA4B;IAC5B,4BAA4B;IAC5B,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC;AACW,QAAA,sBAAsB,GAAG,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC;AACtE,QAAA,uBAAuB,GAAG;IACrC,qBAAqB;IACrB,+BAA+B;IAC/B,uBAAuB;CACxB,CAAC;AACW,QAAA,wBAAwB,GAAG,CAAC,sBAAsB,EAAE,gCAAgC,CAAC,CAAC;AAEtF,QAAA,IAAI,GAAG;IAClB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAC"}
|
package/lib/hooks/rows-sort.js
CHANGED
|
@@ -3,14 +3,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useRowsSort = void 0;
|
|
6
|
+
exports.useRowsSort = exports.getSortFn = void 0;
|
|
7
7
|
const react_1 = require("react");
|
|
8
|
+
const get_1 = __importDefault(require("lodash/get"));
|
|
8
9
|
const orderBy_1 = __importDefault(require("lodash/orderBy"));
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const constants_1 = require("../constants");
|
|
11
|
+
const getSortFn = (fieldPath, getCustomSort) => (item) => {
|
|
12
|
+
if (!fieldPath) {
|
|
13
|
+
return getCustomSort(item);
|
|
14
|
+
}
|
|
15
|
+
return Math.abs((0, get_1.default)(item, fieldPath) || 0);
|
|
16
|
+
};
|
|
17
|
+
exports.getSortFn = getSortFn;
|
|
18
|
+
const useRowsSort = ({ rows, fieldPath = 'runs[0].delta', direction = 'desc', getCustomSort, }) => {
|
|
19
|
+
const [sort, updateSort] = (0, react_1.useState)({ field: fieldPath, direction });
|
|
20
|
+
const orderedRows = (0, react_1.useMemo)(() => (0, orderBy_1.default)(rows, (0, exports.getSortFn)(sort.field, getCustomSort), direction !== '' ? direction : constants_1.SORT.ASC), [rows, sort]);
|
|
12
21
|
return {
|
|
13
|
-
sortFields,
|
|
14
22
|
sort,
|
|
15
23
|
updateSort,
|
|
16
24
|
items: orderedRows,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rows-sort.js","sourceRoot":"","sources":["../../src/hooks/rows-sort.
|
|
1
|
+
{"version":3,"file":"rows-sort.js","sourceRoot":"","sources":["../../src/hooks/rows-sort.ts"],"names":[],"mappings":";;;;;;AAAA,iCAA0C;AAC1C,qDAA6B;AAC7B,6DAAqC;AAGrC,4CAAoC;AAS7B,MAAM,SAAS,GACpB,CAAC,SAAiB,EAAE,aAAiD,EAAE,EAAE,CAAC,CAAC,IAAa,EAAE,EAAE;IAC1F,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC;KAC5B;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,IAAA,aAAG,EAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7C,CAAC,CAAC;AAPS,QAAA,SAAS,aAOlB;AAEG,MAAM,WAAW,GAAG,CAAC,EAC1B,IAAI,EACJ,SAAS,GAAG,eAAe,EAC3B,SAAS,GAAG,MAAM,EAClB,aAAa,GACK,EAAE,EAAE;IACtB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;IAErE,MAAM,WAAW,GAAG,IAAA,eAAO,EACzB,GAAG,EAAE,CACH,IAAA,iBAAO,EACL,IAAI,EACJ,IAAA,iBAAS,EAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,EAEpC,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAE,gBAAI,CAAC,GAAW,CACjD,EACH,CAAC,IAAI,EAAE,IAAI,CAAC,CACb,CAAC;IAEF,OAAO;QACL,IAAI;QACJ,UAAU;QACV,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,WAAW,eAwBtB"}
|
package/lib/ui/icon/icon.js
CHANGED
package/lib/ui/icon/icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/ui/icon/icon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAE5B,wEAAoC;AAEpC,MAAM,KAAK,GAAG;IACZ,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,oBAAoB;IACxC,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACV,CAAC;AAEX,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAUJ,MAAM,IAAI,GAAG,CAAC,KAA+C,EAAE,EAAE;IACtE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,GAAG,MAAM,EAAE,IAAI,GAAG,IAAI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EAAE,SAAS;CACV,CAAC;AAEX,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAUJ,MAAM,IAAI,GAAG,CAAC,KAA+C,EAAE,EAAE;IACtE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,GAAG,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAElG,OAAO,CACL,8BAAC,SAAS,IAAC,SAAS,EAAE,IAAA,oBAAE,EAAC,yBAAG,CAAC,IAAI,EAAE,SAAS,EAAE,yBAAG,CAAC,IAAI,CAAC,CAAC,KAAM,SAAS;QACrE,uCAAK,SAAS,EAAE,yBAAG,CAAC,IAAI;YACtB,uCAAK,SAAS,EAAE,IAAI,KAAK,EAAE,GAAI,CAC3B,CACI,CACb,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,IAAI,QAUf;AAEF,YAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAEnB,YAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;AAC7B,YAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;AAC/B,YAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;AAC7B,YAAI,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC"}
|
package/lib/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Tooltip = exports.Tag = exports.Tabs = exports.Table = exports.
|
|
3
|
+
exports.Tooltip = exports.Tag = exports.Tabs = exports.Table = exports.Skeleton = exports.Loader = exports.Input = exports.Icon = exports.HoverCard = exports.HorizontalBarChart = exports.Filters = exports.FileName = exports.EmptySet = exports.Dropdown = exports.Container = exports.Alert = void 0;
|
|
4
4
|
var alert_1 = require("./alert");
|
|
5
5
|
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return alert_1.Alert; } });
|
|
6
6
|
var container_1 = require("./container");
|
|
@@ -25,8 +25,6 @@ var loader_1 = require("./loader");
|
|
|
25
25
|
Object.defineProperty(exports, "Loader", { enumerable: true, get: function () { return loader_1.Loader; } });
|
|
26
26
|
var skeleton_1 = require("./skeleton");
|
|
27
27
|
Object.defineProperty(exports, "Skeleton", { enumerable: true, get: function () { return skeleton_1.Skeleton; } });
|
|
28
|
-
var sort_dropdown_1 = require("./sort-dropdown");
|
|
29
|
-
Object.defineProperty(exports, "SortDropdown", { enumerable: true, get: function () { return sort_dropdown_1.SortDropdown; } });
|
|
30
28
|
var table_1 = require("./table");
|
|
31
29
|
Object.defineProperty(exports, "Table", { enumerable: true, get: function () { return table_1.Table; } });
|
|
32
30
|
var tabs_1 = require("./tabs");
|
package/lib/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.js"],"names":[],"mappings":";;;AAAA,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.js"],"names":[],"mappings":";;;AAAA,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
package/lib-esm/assets/icons.svg
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
<svg width="0" height="0" style="position:absolute">
|
|
2
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
2
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="arrow" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M12 5v14M19 12l-7 7-7-7"/>
|
|
4
4
|
</symbol>
|
|
5
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
5
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="arrow-right-circle" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<circle cx="12" cy="12" r="10"/>
|
|
7
7
|
<path d="M12 16l4-4-4-4M8 12h8"/>
|
|
8
8
|
</symbol>
|
|
9
|
-
<symbol
|
|
9
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="chevron-down" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
+
<path d="M6 9l6 6 6-6"/>
|
|
11
|
+
</symbol>
|
|
12
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="chevron-up" xmlns="http://www.w3.org/2000/svg">
|
|
13
|
+
<path d="M18 15l-6-6-6 6"/>
|
|
14
|
+
</symbol>
|
|
15
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="clock" xmlns="http://www.w3.org/2000/svg">
|
|
10
16
|
<circle cx="12" cy="12" r="10"/>
|
|
11
17
|
<path d="M12 6v6l4 2"/>
|
|
12
18
|
</symbol>
|
|
13
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
19
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="close" xmlns="http://www.w3.org/2000/svg">
|
|
14
20
|
<circle cx="12" cy="12" r="10"/>
|
|
15
21
|
<path d="M15 9l-6 6M9 9l6 6"/>
|
|
16
22
|
</symbol>
|
|
17
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
23
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="commit" xmlns="http://www.w3.org/2000/svg">
|
|
18
24
|
<circle cx="12" cy="12" r="4"/>
|
|
19
25
|
<path d="M1.05 12H7M17.01 12h5.95"/>
|
|
20
26
|
</symbol>
|
|
@@ -22,16 +28,16 @@
|
|
|
22
28
|
<circle cx="12" cy="12" r="10"/>
|
|
23
29
|
<path d="M12 8v4M12 16h.01"/>
|
|
24
30
|
</symbol>
|
|
25
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
31
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="external-link" xmlns="http://www.w3.org/2000/svg">
|
|
26
32
|
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3"/>
|
|
27
33
|
</symbol>
|
|
28
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
34
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="filter" xmlns="http://www.w3.org/2000/svg">
|
|
29
35
|
<path d="M12 20V10M18 20V4M6 20v-4"/>
|
|
30
36
|
</symbol>
|
|
31
37
|
<symbol viewBox="0 0 98 96" id="github" xmlns="http://www.w3.org/2000/svg">
|
|
32
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0112.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="
|
|
38
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0112.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="currentColor"/>
|
|
33
39
|
</symbol>
|
|
34
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
40
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="help" xmlns="http://www.w3.org/2000/svg">
|
|
35
41
|
<circle cx="12" cy="12" r="10"/>
|
|
36
42
|
<path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01"/>
|
|
37
43
|
</symbol>
|
|
@@ -39,7 +45,7 @@
|
|
|
39
45
|
<circle cx="12" cy="12" r="10"/>
|
|
40
46
|
<path d="M12 16v-4M12 8h.01"/>
|
|
41
47
|
</symbol>
|
|
42
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
48
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="menu" xmlns="http://www.w3.org/2000/svg">
|
|
43
49
|
<path d="M3 12h18M3 6h18M3 18h18"/>
|
|
44
50
|
</symbol>
|
|
45
51
|
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="more-vertical" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -51,7 +57,7 @@
|
|
|
51
57
|
<path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/>
|
|
52
58
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
53
59
|
</symbol>
|
|
54
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
60
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="warning" xmlns="http://www.w3.org/2000/svg">
|
|
55
61
|
<path d="M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01"/>
|
|
56
62
|
</symbol>
|
|
57
63
|
</svg>
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export const SvgIcons = (props) => (React.createElement("svg", { width: "0", height: "0", style: { position: 'absolute' }, ...props },
|
|
3
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
3
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "arrow", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
4
|
React.createElement("path", { d: "M12 5v14M19 12l-7 7-7-7" })),
|
|
5
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
5
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "arrow-right-circle", xmlns: "http://www.w3.org/2000/svg" },
|
|
6
6
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
7
7
|
React.createElement("path", { d: "M12 16l4-4-4-4M8 12h8" })),
|
|
8
|
-
React.createElement("symbol", {
|
|
8
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "chevron-down", xmlns: "http://www.w3.org/2000/svg" },
|
|
9
|
+
React.createElement("path", { d: "M6 9l6 6 6-6" })),
|
|
10
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "chevron-up", xmlns: "http://www.w3.org/2000/svg" },
|
|
11
|
+
React.createElement("path", { d: "M18 15l-6-6-6 6" })),
|
|
12
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "clock", xmlns: "http://www.w3.org/2000/svg" },
|
|
9
13
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
10
14
|
React.createElement("path", { d: "M12 6v6l4 2" })),
|
|
11
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
15
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "close", xmlns: "http://www.w3.org/2000/svg" },
|
|
12
16
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
13
17
|
React.createElement("path", { d: "M15 9l-6 6M9 9l6 6" })),
|
|
14
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
18
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "commit", xmlns: "http://www.w3.org/2000/svg" },
|
|
15
19
|
React.createElement("circle", { cx: "12", cy: "12", r: "4" }),
|
|
16
20
|
React.createElement("path", { d: "M1.05 12H7M17.01 12h5.95" })),
|
|
17
21
|
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "error", xmlns: "http://www.w3.org/2000/svg" },
|
|
18
22
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
19
23
|
React.createElement("path", { d: "M12 8v4M12 16h.01" })),
|
|
20
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
24
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "external-link", xmlns: "http://www.w3.org/2000/svg" },
|
|
21
25
|
React.createElement("path", { d: "M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3" })),
|
|
22
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
26
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "filter", xmlns: "http://www.w3.org/2000/svg" },
|
|
23
27
|
React.createElement("path", { d: "M12 20V10M18 20V4M6 20v-4" })),
|
|
24
28
|
React.createElement("symbol", { viewBox: "0 0 98 96", id: "github", xmlns: "http://www.w3.org/2000/svg" },
|
|
25
|
-
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0112.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z", fill: "
|
|
26
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
29
|
+
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0112.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z", fill: "currentColor" })),
|
|
30
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "help", xmlns: "http://www.w3.org/2000/svg" },
|
|
27
31
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
28
32
|
React.createElement("path", { d: "M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01" })),
|
|
29
33
|
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "info", xmlns: "http://www.w3.org/2000/svg" },
|
|
30
34
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
31
35
|
React.createElement("path", { d: "M12 16v-4M12 8h.01" })),
|
|
32
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
36
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "menu", xmlns: "http://www.w3.org/2000/svg" },
|
|
33
37
|
React.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })),
|
|
34
38
|
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "more-vertical", xmlns: "http://www.w3.org/2000/svg" },
|
|
35
39
|
React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
|
|
@@ -38,6 +42,6 @@ export const SvgIcons = (props) => (React.createElement("svg", { width: "0", hei
|
|
|
38
42
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "currentColor", id: "sort", xmlns: "http://www.w3.org/2000/svg" },
|
|
39
43
|
React.createElement("path", { d: "M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" }),
|
|
40
44
|
React.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })),
|
|
41
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round",
|
|
45
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", id: "warning", xmlns: "http://www.w3.org/2000/svg" },
|
|
42
46
|
React.createElement("path", { d: "M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0zM12 9v4M12 17h.01" }))));
|
|
43
47
|
//# sourceMappingURL=icons.svg.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.svg.js","sourceRoot":"","sources":["../../src/assets/icons.svg.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CACjC,6BAAK,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAM,KAAK;IAClE,gCACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,
|
|
1
|
+
{"version":3,"file":"icons.svg.js","sourceRoot":"","sources":["../../src/assets/icons.svg.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CACjC,6BAAK,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAM,KAAK;IAClE,gCACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,EAAE,EAAC,OAAO,EACV,KAAK,EAAC,4BAA4B;QAElC,8BAAM,CAAC,EAAC,yBAAyB,GAAG,CAC7B;IACT,gCACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,oBAAoB,EACvB,KAAK,EAAC,4BAA4B;QAElC,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG;QACjC,8BAAM,CAAC,EAAC,uBAAuB,GAAG,CAC3B;IACT,gCACE,IAA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,oBACD,OAAO,qBACN,OAAO,EACvB,EAAE,EAAC,SAAS,EACZ,KAAK,EAAC,4BAA4B;QAElC,8BAAM,CAAC,EAAC,sGAAsG,GAAG,CAC1G,CACL,CACP,CAAC"}
|
|
@@ -11,7 +11,6 @@ import { FileName } from '../../ui/file-name';
|
|
|
11
11
|
import { HoverCard } from '../../ui/hover-card';
|
|
12
12
|
import { Tag } from '../../ui/tag';
|
|
13
13
|
import { Filters } from '../../ui/filters';
|
|
14
|
-
import { SortDropdown } from '../../ui/sort-dropdown';
|
|
15
14
|
import { EmptySet } from '../../ui/empty-set';
|
|
16
15
|
import { Toolbar } from '../../ui/toolbar';
|
|
17
16
|
import { AssetInfo } from '../asset-info';
|
|
@@ -69,7 +68,7 @@ const getFilters = ({ compareMode, filters }) => ({
|
|
|
69
68
|
const RowHeader = ({ row, customComponentLink: CustomComponentLink, filters, search }) => {
|
|
70
69
|
const { label, isNotPredictive, runs, isChunk, isEntry, isInitial } = row;
|
|
71
70
|
return (React.createElement("span", { className: css.assetNameWrapper },
|
|
72
|
-
isNotPredictive && (React.createElement(HoverCard, { label: React.createElement(Icon, { className: css.notPredictiveIcon, glyph:
|
|
71
|
+
isNotPredictive && (React.createElement(HoverCard, { label: React.createElement(Icon, { className: css.notPredictiveIcon, glyph: Icon.ICONS.WARNING }), className: css.notPredictive, anchorClassName: css.notPredictiveAnchor },
|
|
73
72
|
React.createElement(AssetNotPredictive, { runs: runs, labels: RUNS_LABELS }))),
|
|
74
73
|
React.createElement(CustomComponentLink, { section: SECTIONS.ASSETS, params: { [COMPONENT.BUNDLE_ASSETS]: { filters, search, entryId: row.key } }, className: css.assetName },
|
|
75
74
|
React.createElement("span", { className: css.assetNameTags },
|
|
@@ -99,7 +98,7 @@ RowHeader.defaultProps = {
|
|
|
99
98
|
};
|
|
100
99
|
export const BundleAssets = (props) => {
|
|
101
100
|
var _a, _b, _c;
|
|
102
|
-
const { className, jobs, items, allItems, updateFilters, resetFilters, resetAllFilters, totalRowCount, filters, entryId, hasActiveFilters,
|
|
101
|
+
const { className, jobs, items, allItems, updateFilters, resetFilters, resetAllFilters, totalRowCount, filters, entryId, hasActiveFilters, sort, updateSort, search, updateSearch, customComponentLink: CustomComponentLink, hideEntryInfo, } = props;
|
|
103
102
|
const dropdownFilters = useMemo(() => getFilters({ compareMode: (jobs === null || jobs === void 0 ? void 0 : jobs.length) > 1, filters }), [jobs, filters]);
|
|
104
103
|
const metricsTableTitle = useMemo(() => (React.createElement(MetricsTableTitle, { title: I18N.ASSETS, info: `${items.length}/${totalRowCount}`, popoverInfo: I18N.ASSETS_INFO, popoverHref: config.documentation.assets })), [items, totalRowCount]);
|
|
105
104
|
const renderRowHeader = useCallback((row) => (React.createElement(RowHeader, { row: row, customComponentLink: CustomComponentLink, filters: filters, search: search })), [CustomComponentLink, filters, search]);
|
|
@@ -107,13 +106,12 @@ export const BundleAssets = (props) => {
|
|
|
107
106
|
return (React.createElement(React.Fragment, null,
|
|
108
107
|
React.createElement("section", { className: cx(css.root, className) },
|
|
109
108
|
React.createElement(Toolbar, { className: css.toolbar, renderActions: ({ actionClassName }) => (React.createElement(FlexStack, { space: "xxsmall", className: cx(css.dropdown, actionClassName) },
|
|
110
|
-
React.createElement(SortDropdown, { fields: sortFields, ...sort, onChange: updateSort }),
|
|
111
109
|
React.createElement(MetricsTableOptions, { handleViewAll: resetAllFilters, handleResetFilters: resetFilters }))) },
|
|
112
110
|
React.createElement(FlexStack, { space: "xxsmall" },
|
|
113
111
|
React.createElement(MetricsTableSearch, { className: css.toolbarSearch, placeholder: "Search by name", search: search, updateSearch: updateSearch }),
|
|
114
112
|
React.createElement(Filters, { className: css.toolbarFilters, filters: dropdownFilters, hasActiveFilters: hasActiveFilters, onChange: updateFilters }))),
|
|
115
113
|
React.createElement("main", null,
|
|
116
|
-
React.createElement(MetricsTable, { runs: jobs, items: items, renderRowHeader: renderRowHeader, emptyMessage: emptyMessage, showHeaderSum: true, title: metricsTableTitle }))),
|
|
114
|
+
React.createElement(MetricsTable, { runs: jobs, items: items, renderRowHeader: renderRowHeader, emptyMessage: emptyMessage, showHeaderSum: true, title: metricsTableTitle, sort: sort, updateSort: updateSort }))),
|
|
117
115
|
entryId && (React.createElement(AssetInfo, { className: css.assetInfo, item: allItems.find(({ key }) => key === entryId), labels: jobs === null || jobs === void 0 ? void 0 : jobs.map(({ label }) => label), chunks: ((_c = (_b = (_a = jobs[0]) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.webpack) === null || _c === void 0 ? void 0 : _c.chunks) || [], customComponentLink: CustomComponentLink, onClose: hideEntryInfo }))));
|
|
118
116
|
};
|
|
119
117
|
BundleAssets.defaultProps = {
|
|
@@ -152,12 +150,6 @@ BundleAssets.propTypes = {
|
|
|
152
150
|
}).isRequired,
|
|
153
151
|
entryId: PropTypes.string,
|
|
154
152
|
hasActiveFilters: PropTypes.bool,
|
|
155
|
-
sortFields: PropTypes.shape({
|
|
156
|
-
[PropTypes.string]: PropTypes.shape({
|
|
157
|
-
label: PropTypes.string,
|
|
158
|
-
defaultDirection: PropTypes.bool,
|
|
159
|
-
}),
|
|
160
|
-
}).isRequired,
|
|
161
153
|
search: PropTypes.string.isRequired,
|
|
162
154
|
updateSearch: PropTypes.func.isRequired,
|
|
163
155
|
sort: PropTypes.shape({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-assets.js","sourceRoot":"","sources":["../../../src/components/bundle-assets/bundle-assets.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,QAAQ,GACT,MAAM,qBAAqB,CAAC;AAE7B,O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