dotdata_widgets 0.0.28-dev.70.bfd2f27f
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/README.md +86 -0
- package/css/colors.css +124 -0
- package/css/typography.css +44 -0
- package/css/widget.css +87 -0
- package/dist/index.js +76 -0
- package/lib/components/accordion/Accordion.js +51 -0
- package/lib/components/accordion/index.js +18 -0
- package/lib/extension.js +31 -0
- package/lib/feature/feature-details/FeatureCorrelatedFeaturesTable.js +22 -0
- package/lib/feature/feature-details/FeatureDistributionChart.js +218 -0
- package/lib/feature/feature-details/FeatureStatisticsTable.js +44 -0
- package/lib/feature/feature-details/index.js +20 -0
- package/lib/feature/feature-explanation/FeatureExplanation.js +52 -0
- package/lib/feature/feature-explanation/components/ColoredExplanationBlock.js +30 -0
- package/lib/feature/feature-explanation/components/ColumnExplanationBlock.js +11 -0
- package/lib/feature/feature-explanation/components/DataSlotExplanationBlock.js +11 -0
- package/lib/feature/feature-explanation/components/PetExplanationBlock.js +11 -0
- package/lib/feature/feature-explanation/components/TextExplanationBlock.js +12 -0
- package/lib/feature/feature-explanation/components/TextWithDataSlotContextExplanationBlock.js +10 -0
- package/lib/feature/feature-explanation/components/TopicExplanationBlock.js +10 -0
- package/lib/feature/feature-explanation/components/UnknownExplanationBlock.js +10 -0
- package/lib/feature/feature-likes/feature-likes.js +44 -0
- package/lib/feature/feature-likes/index.js +18 -0
- package/lib/feature-descriptor/domains-descriptions-tree/components/column-tree-item.js +16 -0
- package/lib/feature-descriptor/domains-descriptions-tree/components/descriptions-tree-item.js +51 -0
- package/lib/feature-descriptor/domains-descriptions-tree/components/index.js +18 -0
- package/lib/feature-descriptor/domains-descriptions-tree/components/tree-item-label.js +54 -0
- package/lib/feature-descriptor/domains-descriptions-tree/components/type-tree-item.js +19 -0
- package/lib/feature-descriptor/domains-descriptions-tree/config/index.js +11 -0
- package/lib/feature-descriptor/domains-descriptions-tree/context/domains-descriptions-selection-context.js +54 -0
- package/lib/feature-descriptor/domains-descriptions-tree/context/domains-descriptions-tree-config-context.js +42 -0
- package/lib/feature-descriptor/domains-descriptions-tree/context/domains-descriptions-tree-item-selection-context.js +56 -0
- package/lib/feature-descriptor/domains-descriptions-tree/context/index.js +20 -0
- package/lib/feature-descriptor/domains-descriptions-tree/domains-descriptions-tree.js +44 -0
- package/lib/feature-descriptor/domains-descriptions-tree/index.js +21 -0
- package/lib/feature-descriptor/domains-descriptions-tree/models/domains-descriptions-tree.model.js +37 -0
- package/lib/feature-descriptor/domains-descriptions-tree/models/index.js +18 -0
- package/lib/feature-descriptor/domains-descriptions-tree/utils/create-domain-predicate.js +16 -0
- package/lib/feature-descriptor/domains-descriptions-tree/utils/filter-domains-descriptions-tree.js +23 -0
- package/lib/feature-descriptor/domains-descriptions-tree/utils/index.js +19 -0
- package/lib/feature-descriptor/feature-exploration-path/exploration-path-header.js +38 -0
- package/lib/feature-descriptor/feature-exploration-path/exploration-path-join-list.js +28 -0
- package/lib/feature-descriptor/feature-exploration-path/index.js +19 -0
- package/lib/index.js +21 -0
- package/lib/models/column/column.js +3 -0
- package/lib/models/column/index.js +18 -0
- package/lib/models/feature/feature-histogram.js +20 -0
- package/lib/models/feature/feature-metric.js +16 -0
- package/lib/models/feature/feature.js +3 -0
- package/lib/models/feature/index.js +20 -0
- package/lib/models/feature-descriptor-domain/fd-domains-description.js +15 -0
- package/lib/models/feature-descriptor-domain/fd-join-description.js +3 -0
- package/lib/models/feature-descriptor-domain/index.js +19 -0
- package/lib/models/feature-explanation/feature-explanation.model.js +30 -0
- package/lib/models/feature-explanation/index.js +18 -0
- package/lib/models/feature-leaderboard/feature-leaderboard.js +3 -0
- package/lib/models/feature-leaderboard/index.js +18 -0
- package/lib/models/feature-space/exploration-path.js +3 -0
- package/lib/models/feature-space/feature-space.js +3 -0
- package/lib/models/feature-space/grouped-domains-descriptions.js +3 -0
- package/lib/models/feature-space/index.js +20 -0
- package/lib/plugin.js +54 -0
- package/lib/utils/asserations.js +10 -0
- package/lib/utils/index.js +20 -0
- package/lib/utils/localize.js +18 -0
- package/lib/utils/model-transform-hook.js +21 -0
- package/lib/utils/object/extract-property.js +11 -0
- package/lib/utils/object/index.js +19 -0
- package/lib/utils/object/is-set.js +12 -0
- package/lib/utils/set.js +14 -0
- package/lib/utils/transducer.js +16 -0
- package/lib/utils/widget-model/index.js +19 -0
- package/lib/utils/widget-model/widget-model-context.js +42 -0
- package/lib/utils/widget-model/widget-model.js +30 -0
- package/lib/utils/widget-theme/index.js +18 -0
- package/lib/utils/widget-theme/widget-theme.js +99 -0
- package/lib/version.js +21 -0
- package/lib/widgets/FeatureLeaderboardWidget.js +61 -0
- package/lib/widgets/FeatureSpaceWidget.js +64 -0
- package/lib/widgets/feature-leaderboard/FeatureLeaderboardOverview.js +25 -0
- package/lib/widgets/feature-leaderboard/FeatureLeaderboardView.js +45 -0
- package/lib/widgets/feature-leaderboard/components/leaderboard-feature-likes.js +50 -0
- package/lib/widgets/feature-leaderboard/leaderboard-entry/FeatureLeaderboardEntry.js +19 -0
- package/lib/widgets/feature-leaderboard/leaderboard-entry/FeatureLeaderboardEntryDetails.js +23 -0
- package/lib/widgets/feature-leaderboard/leaderboard-entry/FeatureLeaderboardEntryRow.js +23 -0
- package/lib/widgets/feature-leaderboard/leaderboard-overview/overview-slider.js +62 -0
- package/lib/widgets/feature-space/FeatureDomainsDescriptions.js +74 -0
- package/lib/widgets/feature-space/FeatureExplorationPaths.js +16 -0
- package/lib/widgets/feature-space/FeatureSpaceView.js +52 -0
- package/lib/widgets/index.js +21 -0
- package/package.json +119 -0
|
@@ -0,0 +1,21 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Import the CSS
|
|
18
|
+
require("../../css/widget.css");
|
|
19
|
+
__exportStar(require("./FeatureLeaderboardWidget"), exports);
|
|
20
|
+
__exportStar(require("./FeatureSpaceWidget"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dotdata_widgets",
|
|
3
|
+
"version": "0.0.28-dev.70.bfd2f27f",
|
|
4
|
+
"description": "A dotdata widget",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dotdata",
|
|
7
|
+
"widgets",
|
|
8
|
+
"jupyter",
|
|
9
|
+
"jupyterlab",
|
|
10
|
+
"jupyterlab-extension"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"lib/**/*.js",
|
|
14
|
+
"dist/*.js",
|
|
15
|
+
"css/*.css"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/ramencloud/dotdata-core",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/ramencloud/dotdata-core/issues"
|
|
20
|
+
},
|
|
21
|
+
"license": "BSD-3-Clause",
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "dotdata",
|
|
24
|
+
"email": "dotdata@dotdata.com"
|
|
25
|
+
},
|
|
26
|
+
"main": "lib/index.js",
|
|
27
|
+
"types": "./lib/index.d.ts",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/ramencloud/dotdata-core"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension:dev",
|
|
34
|
+
"build:prod": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension",
|
|
35
|
+
"build:labextension": "jupyter labextension build . && touch dotdata_widgets/labextension/static/__init__.py && touch dotdata_widgets/labextension/__init__.py",
|
|
36
|
+
"build:labextension:dev": "jupyter labextension build --development True .",
|
|
37
|
+
"build:lib": "tsc && tsc-alias",
|
|
38
|
+
"build:nbextension": "webpack",
|
|
39
|
+
"clean": "yarn run clean:lib && yarn run clean:nbextension && yarn run clean:labextension",
|
|
40
|
+
"clean:lib": "rimraf lib",
|
|
41
|
+
"clean:labextension": "rimraf dotdata_widgets/labextension",
|
|
42
|
+
"clean:nbextension": "rimraf dotdata_widgets/nbextension/static/index.js",
|
|
43
|
+
"lint": "eslint . --ext .ts,.tsx --fix",
|
|
44
|
+
"lint:check": "eslint . --ext .ts,.tsx",
|
|
45
|
+
"prepack": "yarn run build:lib",
|
|
46
|
+
"test": "jest",
|
|
47
|
+
"watch": "npm-run-all -p watch:*",
|
|
48
|
+
"watch:lib": "concurrently \"tsc -w\" \"tsc-alias -w\"",
|
|
49
|
+
"watch:nbextension": "webpack --watch --mode=development",
|
|
50
|
+
"watch:labextension": "jupyter labextension watch ."
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@emotion/react": "^11.10.6",
|
|
54
|
+
"@emotion/styled": "^11.10.6",
|
|
55
|
+
"@jupyter-widgets/base": "^6.0.2",
|
|
56
|
+
"@mui/icons-material": "^5.11.9",
|
|
57
|
+
"@mui/lab": "^5.0.0-alpha.120",
|
|
58
|
+
"@mui/material": "^5.11.9",
|
|
59
|
+
"@tanstack/react-virtual": "^3.0.0-beta.48",
|
|
60
|
+
"lodash": "^4.17.21",
|
|
61
|
+
"react": "17.0.2",
|
|
62
|
+
"react-dom": "17.0.2",
|
|
63
|
+
"vega": "^5.22.1"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@babel/core": "^7.20.12",
|
|
67
|
+
"@babel/preset-env": "^7.20.2",
|
|
68
|
+
"@babel/preset-react": "^7.18.6",
|
|
69
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
70
|
+
"@jupyterlab/builder": "^3.6.1",
|
|
71
|
+
"@types/jest": "^29.4.0",
|
|
72
|
+
"@types/react": "17.0.53",
|
|
73
|
+
"@types/react-dom": "17.0.18",
|
|
74
|
+
"@types/webpack-env": "^1.18.0",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^5.52.0",
|
|
76
|
+
"@typescript-eslint/parser": "^5.52.0",
|
|
77
|
+
"acorn": "^8.8.2",
|
|
78
|
+
"babel-loader": "^9.1.2",
|
|
79
|
+
"concurrently": "^7.6.0",
|
|
80
|
+
"css-loader": "^6.7.3",
|
|
81
|
+
"eslint": "^8.34.0",
|
|
82
|
+
"eslint-config-prettier": "^8.6.0",
|
|
83
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
84
|
+
"file-loader": "^6.2.0",
|
|
85
|
+
"fs-extra": "^11.1.0",
|
|
86
|
+
"identity-obj-proxy": "^3.0.0",
|
|
87
|
+
"jest": "^29.4.2",
|
|
88
|
+
"mkdirp": "^2.1.3",
|
|
89
|
+
"npm-run-all": "^4.1.5",
|
|
90
|
+
"prettier": "^2.8.4",
|
|
91
|
+
"rimraf": "^4.1.2",
|
|
92
|
+
"source-map-loader": "^4.0.1",
|
|
93
|
+
"style-loader": "^3.3.1",
|
|
94
|
+
"ts-jest": "^29.0.5",
|
|
95
|
+
"ts-loader": "^9.4.2",
|
|
96
|
+
"tsc-alias": "^1.8.2",
|
|
97
|
+
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
98
|
+
"typescript": "~4.9.5",
|
|
99
|
+
"webpack": "^5.69.1",
|
|
100
|
+
"webpack-cli": "^5.0.1"
|
|
101
|
+
},
|
|
102
|
+
"babel": {
|
|
103
|
+
"presets": [
|
|
104
|
+
"@babel/preset-env",
|
|
105
|
+
"@babel/preset-react",
|
|
106
|
+
"@babel/preset-typescript"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"jupyterlab": {
|
|
110
|
+
"extension": "lib/plugin",
|
|
111
|
+
"outputDir": "dotdata_widgets/labextension/",
|
|
112
|
+
"sharedPackages": {
|
|
113
|
+
"@jupyter-widgets/base": {
|
|
114
|
+
"bundled": false,
|
|
115
|
+
"singleton": true
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|