@mongodb-js/compass-query-history 9.3.0 → 9.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -1
- package/dist/browser.js +1 -1
- package/dist/browser.js.LICENSE.txt +0 -6
- package/dist/index.html +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -6
- package/dist/src/actions/actions.d.ts +3 -0
- package/dist/src/actions/actions.d.ts.map +1 -0
- package/dist/src/actions/index.d.ts +3 -0
- package/dist/src/actions/index.d.ts.map +1 -0
- package/dist/src/components/favorite/favorite-list-item.d.ts +22 -0
- package/dist/src/components/favorite/favorite-list-item.d.ts.map +1 -0
- package/dist/src/components/favorite/index.d.ts +91 -0
- package/dist/src/components/favorite/index.d.ts.map +1 -0
- package/dist/src/components/list/index.d.ts +4 -0
- package/dist/src/components/list/index.d.ts.map +1 -0
- package/dist/src/components/list/list.d.ts +92 -0
- package/dist/src/components/list/list.d.ts.map +1 -0
- package/dist/src/components/query/index.d.ts +3 -0
- package/dist/src/components/query/index.d.ts.map +1 -0
- package/dist/src/components/query/query.d.ts +10 -0
- package/dist/src/components/query/query.d.ts.map +1 -0
- package/dist/src/components/query-history/index.d.ts +4 -0
- package/dist/src/components/query-history/index.d.ts.map +1 -0
- package/dist/src/components/query-history/query-history.d.ts +42 -0
- package/dist/src/components/query-history/query-history.d.ts.map +1 -0
- package/dist/src/components/recent/index.d.ts +91 -0
- package/dist/src/components/recent/index.d.ts.map +1 -0
- package/dist/src/components/recent/recent-list-item.d.ts +21 -0
- package/dist/src/components/recent/recent-list-item.d.ts.map +1 -0
- package/dist/src/components/toolbar/toolbar.d.ts +15 -0
- package/dist/src/components/toolbar/toolbar.d.ts.map +1 -0
- package/dist/src/components/zero-graphic.d.ts +4 -0
- package/dist/src/components/zero-graphic.d.ts.map +1 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/models/favorite-query-collection.d.ts +3 -0
- package/dist/src/models/favorite-query-collection.d.ts.map +1 -0
- package/dist/src/models/favorite-query.d.ts +3 -0
- package/dist/src/models/favorite-query.d.ts.map +1 -0
- package/dist/src/models/index.d.ts +7 -0
- package/dist/src/models/index.d.ts.map +1 -0
- package/dist/src/models/query.d.ts +3 -0
- package/dist/src/models/query.d.ts.map +1 -0
- package/dist/src/models/recent-query-collection.d.ts +3 -0
- package/dist/src/models/recent-query-collection.d.ts.map +1 -0
- package/dist/src/models/recent-query.d.ts +3 -0
- package/dist/src/models/recent-query.d.ts.map +1 -0
- package/dist/src/plugin.d.ts +15 -0
- package/dist/src/plugin.d.ts.map +1 -0
- package/dist/src/stores/favorite-list-store.d.ts +4 -0
- package/dist/src/stores/favorite-list-store.d.ts.map +1 -0
- package/dist/src/stores/index.d.ts +3 -0
- package/dist/src/stores/index.d.ts.map +1 -0
- package/dist/src/stores/query-history-store.d.ts +4 -0
- package/dist/src/stores/query-history-store.d.ts.map +1 -0
- package/dist/src/stores/recent-list-store.d.ts +4 -0
- package/dist/src/stores/recent-list-store.d.ts.map +1 -0
- package/dist/src/utils/comparable-query.d.ts +3 -0
- package/dist/src/utils/comparable-query.d.ts.map +1 -0
- package/dist/src/utils/favorite-query-storage.d.ts +6 -0
- package/dist/src/utils/favorite-query-storage.d.ts.map +1 -0
- package/dist/src/utils/format-query.d.ts +4 -0
- package/dist/src/utils/format-query.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/package.json +11 -12
- package/dist/index.css +0 -144
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"favorite-query-storage.d.ts","sourceRoot":"","sources":["../../../src/utils/favorite-query-storage.js"],"names":[],"mappings":"AAGA;IAME,wBASC;IAQD,0BAHW,MAAM,cACN,MAAM,gBAoBhB;IAOD,gBAFW,MAAM,gBAMhB;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"format-query.d.ts","sourceRoot":"","sources":["../../../src/utils/format-query.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,WAAW,UAAW,GAAG,KAAG,MAAuC,CAAC;AAE1E,eAAe,WAAW,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.js"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@mongodb-js/compass-query-history",
|
3
3
|
"productName": "Query History plugin",
|
4
4
|
"description": "The query history sidebar of Compass",
|
5
|
-
"version": "9.
|
5
|
+
"version": "9.4.0",
|
6
6
|
"author": {
|
7
7
|
"name": "MongoDB Inc",
|
8
8
|
"email": "compass@mongodb.com"
|
@@ -25,6 +25,7 @@
|
|
25
25
|
],
|
26
26
|
"main": "dist/index.js",
|
27
27
|
"compass:main": "src/index.ts",
|
28
|
+
"types": "dist/src/index.d.ts",
|
28
29
|
"exports": {
|
29
30
|
"browser": "./dist/browser.js",
|
30
31
|
"require": "./dist/index.js"
|
@@ -38,6 +39,7 @@
|
|
38
39
|
"compile": "npm run webpack -- --mode production",
|
39
40
|
"prewebpack": "rimraf ./dist",
|
40
41
|
"webpack": "webpack-compass",
|
42
|
+
"postcompile": "tsc --emitDeclarationOnly",
|
41
43
|
"analyze": "npm run webpack -- --mode production --analyze",
|
42
44
|
"typecheck": "tsc --noEmit",
|
43
45
|
"eslint": "eslint",
|
@@ -55,20 +57,20 @@
|
|
55
57
|
"reformat": "npm run prettier -- --write ."
|
56
58
|
},
|
57
59
|
"dependencies": {
|
58
|
-
"@mongodb-js/compass-components": "^1.
|
60
|
+
"@mongodb-js/compass-components": "^1.4.0",
|
59
61
|
"@mongodb-js/compass-logging": "^1.1.1",
|
60
|
-
"@mongodb-js/compass-utils": "^0.1.
|
62
|
+
"@mongodb-js/compass-utils": "^0.1.2",
|
61
63
|
"bson": "^4.4.1",
|
62
|
-
"hadron-react-components": "^6.
|
64
|
+
"hadron-react-components": "^6.4.0",
|
63
65
|
"react": "^16.14.0",
|
64
66
|
"storage-mixin": "^5.1.0"
|
65
67
|
},
|
66
68
|
"peerDependencies": {
|
67
|
-
"@mongodb-js/compass-components": "^1.
|
69
|
+
"@mongodb-js/compass-components": "^1.4.0",
|
68
70
|
"@mongodb-js/compass-logging": "^1.1.1",
|
69
|
-
"@mongodb-js/compass-utils": "^0.1.
|
71
|
+
"@mongodb-js/compass-utils": "^0.1.2",
|
70
72
|
"bson": "^4.4.1",
|
71
|
-
"hadron-react-components": "^6.
|
73
|
+
"hadron-react-components": "^6.4.0",
|
72
74
|
"react": "^16.14.0",
|
73
75
|
"storage-mixin": "^5.1.0"
|
74
76
|
},
|
@@ -77,16 +79,14 @@
|
|
77
79
|
"@mongodb-js/mocha-config-compass": "^1.0.1",
|
78
80
|
"@mongodb-js/prettier-config-compass": "^1.0.0",
|
79
81
|
"@mongodb-js/tsconfig-compass": "^1.0.1",
|
80
|
-
"@mongodb-js/webpack-config-compass": "^1.0.
|
82
|
+
"@mongodb-js/webpack-config-compass": "^1.0.4",
|
81
83
|
"@testing-library/react": "^12.1.4",
|
82
84
|
"@testing-library/user-event": "^13.5.0",
|
83
85
|
"ampersand-model": "^8.0.1",
|
84
86
|
"ampersand-rest-collection": "^6.0.0",
|
85
87
|
"chai": "^4.1.2",
|
86
|
-
"classnames": "^2.2.6",
|
87
88
|
"depcheck": "^1.4.1",
|
88
89
|
"electron": "^15.5.7",
|
89
|
-
"enzyme": "^3.11.0",
|
90
90
|
"eslint": "^7.25.0",
|
91
91
|
"hadron-app-registry": "^9.0.2",
|
92
92
|
"lodash": "^4.17.15",
|
@@ -96,12 +96,11 @@
|
|
96
96
|
"nyc": "^15.0.0",
|
97
97
|
"prop-types": "^15.7.2",
|
98
98
|
"react-dom": "^16.14.0",
|
99
|
-
"react-fontawesome": "^1.6.1",
|
100
99
|
"reflux": "^0.4.1",
|
101
100
|
"reflux-state-mixin": "github:mongodb-js/reflux-state-mixin",
|
102
101
|
"rimraf": "^3.0.2",
|
103
102
|
"sinon": "^9.2.3",
|
104
103
|
"uuid": "^3.1.0"
|
105
104
|
},
|
106
|
-
"gitHead": "
|
105
|
+
"gitHead": "7f786ed13b999a5c0831af6fde545154890df956"
|
107
106
|
}
|
package/dist/index.css
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
.list-module-component__3ipWR {
|
2
|
-
flex: 1;
|
3
|
-
overflow-y: scroll;
|
4
|
-
padding: 10px;
|
5
|
-
}
|
6
|
-
.list-module-items__14TBa {
|
7
|
-
list-style-type: none;
|
8
|
-
padding-left: 0;
|
9
|
-
margin: 0;
|
10
|
-
}
|
11
|
-
.list-module-item__2u_ha {
|
12
|
-
margin-bottom: 10px;
|
13
|
-
}
|
14
|
-
.list-module-item__2u_ha:last-child,
|
15
|
-
.list-module-item__2u_ha:only-child {
|
16
|
-
margin-bottom: 0;
|
17
|
-
}
|
18
|
-
.list-module-zeroState__334r- {
|
19
|
-
display: flex;
|
20
|
-
align-items: center;
|
21
|
-
justify-content: center;
|
22
|
-
height: 100px;
|
23
|
-
}
|
24
|
-
.list-module-zeroState-title__yb76z {
|
25
|
-
font-weight: bold;
|
26
|
-
font-size: 14px;
|
27
|
-
color: #3D4F58;
|
28
|
-
overflow: hidden;
|
29
|
-
height: 18px;
|
30
|
-
}
|
31
|
-
|
32
|
-
.card-module-component__1oGLQ {
|
33
|
-
display: flex;
|
34
|
-
flex-direction: column;
|
35
|
-
background: #ffffff;
|
36
|
-
box-shadow: 0 2px 20px 0 rgba(0, 30, 43, 0.1);
|
37
|
-
border-radius: 3px;
|
38
|
-
border: 1px solid transparent;
|
39
|
-
color: #3D4F58;
|
40
|
-
max-width: 314px;
|
41
|
-
}
|
42
|
-
.card-module-component__1oGLQ:hover {
|
43
|
-
border-color: #0498EC;
|
44
|
-
}
|
45
|
-
.card-module-component__1oGLQ:hover .card-module-component-header-actions__1oVkw {
|
46
|
-
display: flex;
|
47
|
-
}
|
48
|
-
.card-module-component-header__3XPnz {
|
49
|
-
padding: 10px 10px 0 10px;
|
50
|
-
}
|
51
|
-
.card-module-component-body__1M52l {
|
52
|
-
padding: 10px;
|
53
|
-
}
|
54
|
-
.card-module-component-header__3XPnz {
|
55
|
-
display: flex;
|
56
|
-
flex-direction: row;
|
57
|
-
align-items: center;
|
58
|
-
justify-content: flex-end;
|
59
|
-
position: relative;
|
60
|
-
min-height: 32px;
|
61
|
-
}
|
62
|
-
.card-module-component-header-inner__sOesY {
|
63
|
-
display: flex;
|
64
|
-
flex: 1;
|
65
|
-
}
|
66
|
-
.card-module-component-header-title__3auMQ {
|
67
|
-
flex: 1;
|
68
|
-
overflow: hidden;
|
69
|
-
text-overflow: ellipsis;
|
70
|
-
font-weight: bold;
|
71
|
-
font-size: 14px;
|
72
|
-
line-height: 1;
|
73
|
-
color: #3D4F58;
|
74
|
-
white-space: nowrap;
|
75
|
-
}
|
76
|
-
.card-module-component-header-actions__1oVkw {
|
77
|
-
display: none;
|
78
|
-
flex-direction: row;
|
79
|
-
}
|
80
|
-
.card-module-component-header-actions__1oVkw.card-module-is-visible__1_RyW {
|
81
|
-
display: flex;
|
82
|
-
}
|
83
|
-
|
84
|
-
.recent-list-item-module-button__U5Uqk {
|
85
|
-
padding: 0 !important;
|
86
|
-
width: 24px;
|
87
|
-
margin-left: 5px;
|
88
|
-
}
|
89
|
-
.recent-list-item-module-button-copy__3LUwR:focus:after {
|
90
|
-
position: absolute;
|
91
|
-
margin-top: 25px;
|
92
|
-
right: 22px;
|
93
|
-
border-radius: 3px;
|
94
|
-
color: #ffffff;
|
95
|
-
padding: 2px 10px 2px 10px;
|
96
|
-
background: rgba(0, 30, 43, 0.75);
|
97
|
-
content: 'Copied!';
|
98
|
-
text-transform: none;
|
99
|
-
font-weight: normal;
|
100
|
-
}
|
101
|
-
|
102
|
-
.favorite-list-item-module-button__24GDC {
|
103
|
-
padding: 0 !important;
|
104
|
-
width: 24px;
|
105
|
-
margin-left: 5px;
|
106
|
-
}
|
107
|
-
.favorite-list-item-module-button-copy__31Img:focus:after {
|
108
|
-
position: absolute;
|
109
|
-
margin-top: 25px;
|
110
|
-
right: 22px;
|
111
|
-
border-radius: 3px;
|
112
|
-
color: #ffffff;
|
113
|
-
padding: 2px 10px 2px 10px;
|
114
|
-
background: rgba(0, 30, 43, 0.75);
|
115
|
-
content: 'Copied!';
|
116
|
-
text-transform: none;
|
117
|
-
font-weight: normal;
|
118
|
-
}
|
119
|
-
|
120
|
-
.saving-module-form__JbpnB {
|
121
|
-
display: flex;
|
122
|
-
flex: 1;
|
123
|
-
}
|
124
|
-
.saving-module-form-input__1FeuB {
|
125
|
-
flex: 1;
|
126
|
-
border: 1px solid #C1C7C6;
|
127
|
-
border-radius: 2px;
|
128
|
-
height: 28px;
|
129
|
-
outline: 0;
|
130
|
-
padding: 0px 5px 0px 5px;
|
131
|
-
width: 100%;
|
132
|
-
}
|
133
|
-
.saving-module-form-input__1FeuB:focus {
|
134
|
-
border-color: #0498EC;
|
135
|
-
}
|
136
|
-
.saving-module-button__13nGv {
|
137
|
-
min-width: 50px;
|
138
|
-
margin-left: 5px;
|
139
|
-
}
|
140
|
-
.saving-module-button__13nGv:last-child,
|
141
|
-
.saving-module-button__13nGv:only-child {
|
142
|
-
margin-right: 0;
|
143
|
-
}
|
144
|
-
|