@next-core/brick-kit 2.84.2 → 2.87.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/CHANGELOG.md +46 -131
- package/dist/index.bundle.js +372 -271
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +373 -272
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/Kernel.d.ts +1 -2
- package/dist/types/core/Kernel.d.ts.map +1 -1
- package/dist/types/core/LocationContext.d.ts +1 -0
- package/dist/types/core/LocationContext.d.ts.map +1 -1
- package/dist/types/core/Router.d.ts.map +1 -1
- package/dist/types/core/standaloneBootstrap.d.ts +3 -0
- package/dist/types/core/standaloneBootstrap.d.ts.map +1 -0
- package/dist/types/internal/evaluate.d.ts.map +1 -1
- package/dist/types/internal/images.d.ts +8 -0
- package/dist/types/internal/images.d.ts.map +1 -0
- package/package.json +12 -12
- package/dist/types/internal/image.d.ts +0 -3
- package/dist/types/internal/image.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,284 +3,199 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @next-core/brick-kit
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
# [2.87.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.86.1...@next-core/brick-kit@2.87.0) (2021-11-23)
|
|
11
7
|
|
|
12
8
|
|
|
9
|
+
### Features
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
* **locationContext:** add noCurrentApp ([8efc245](https://github.com/easyops-cn/next-core/commit/8efc245513f8e9ebf0aadcabfedd15647333d318))
|
|
15
12
|
|
|
16
13
|
|
|
17
|
-
### Bug Fixes
|
|
18
14
|
|
|
19
|
-
* **brick-kit:** update user_id of analytics when logout and login ([82ac205](https://github.com/easyops-cn/next-core/commit/82ac205b1ff525a60d2a7b63ddccd958e663b0fb))
|
|
20
15
|
|
|
21
16
|
|
|
17
|
+
## [2.86.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.86.0...@next-core/brick-kit@2.86.1) (2021-11-23)
|
|
22
18
|
|
|
19
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
23
20
|
|
|
24
21
|
|
|
25
|
-
# [2.84.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.83.0...@next-core/brick-kit@2.84.0) (2021-11-11)
|
|
26
22
|
|
|
27
23
|
|
|
28
|
-
### Bug Fixes
|
|
29
24
|
|
|
30
|
-
|
|
25
|
+
# [2.86.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.85.0...@next-core/brick-kit@2.86.0) (2021-11-18)
|
|
31
26
|
|
|
32
27
|
|
|
33
28
|
### Features
|
|
34
29
|
|
|
35
|
-
*
|
|
30
|
+
* use a single build for standalone apps ([cb5db11](https://github.com/easyops-cn/next-core/commit/cb5db11829952fedfa9cf3898de3e62cfe647a16))
|
|
36
31
|
|
|
37
32
|
|
|
38
33
|
|
|
39
34
|
|
|
40
35
|
|
|
41
|
-
# [2.
|
|
36
|
+
# [2.85.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.84.2...@next-core/brick-kit@2.85.0) (2021-11-18)
|
|
42
37
|
|
|
43
38
|
|
|
44
39
|
### Features
|
|
45
40
|
|
|
46
|
-
*
|
|
41
|
+
* fetch conf in standalone micro-apps ([6175855](https://github.com/easyops-cn/next-core/commit/61758554f23ca685cd29f01130e46805c7674433))
|
|
42
|
+
* support getting images by static files ([c23d88a](https://github.com/easyops-cn/next-core/commit/c23d88aa70f5009453a1d3c58e7f4a0d6249c719))
|
|
47
43
|
|
|
48
44
|
|
|
49
45
|
|
|
50
46
|
|
|
51
47
|
|
|
52
|
-
## [2.
|
|
48
|
+
## [2.84.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.84.1...@next-core/brick-kit@2.84.2) (2021-11-12)
|
|
53
49
|
|
|
54
50
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
55
51
|
|
|
52
|
+
## [2.84.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.84.0...@next-core/brick-kit@2.84.1) (2021-11-12)
|
|
56
53
|
|
|
54
|
+
### Bug Fixes
|
|
57
55
|
|
|
56
|
+
- **brick-kit:** update user_id of analytics when logout and login ([82ac205](https://github.com/easyops-cn/next-core/commit/82ac205b1ff525a60d2a7b63ddccd958e663b0fb))
|
|
58
57
|
|
|
58
|
+
# [2.84.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.83.0...@next-core/brick-kit@2.84.0) (2021-11-11)
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
### Bug Fixes
|
|
61
61
|
|
|
62
|
-
**
|
|
62
|
+
- **websocket:** refine get base url ([337bfc6](https://github.com/easyops-cn/next-core/commit/337bfc608e8cd3257e1c36840f365483cde8761a))
|
|
63
63
|
|
|
64
|
+
### Features
|
|
64
65
|
|
|
66
|
+
- support standalone micro-apps ([a08d9e8](https://github.com/easyops-cn/next-core/commit/a08d9e8502de5e4a5bd4adb00cf2c247696c5dd2))
|
|
65
67
|
|
|
68
|
+
# [2.83.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.82.2...@next-core/brick-kit@2.83.0) (2021-11-10)
|
|
66
69
|
|
|
70
|
+
### Features
|
|
67
71
|
|
|
68
|
-
|
|
72
|
+
- **Kernel:** init analytics add userId and debugMode options ([7fa6ae8](https://github.com/easyops-cn/next-core/commit/7fa6ae8192f5dae7ac7b436ce588537e503fd53d))
|
|
69
73
|
|
|
74
|
+
## [2.82.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.82.1...@next-core/brick-kit@2.82.2) (2021-11-09)
|
|
70
75
|
|
|
71
|
-
|
|
76
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
72
77
|
|
|
73
|
-
|
|
74
|
-
* **developHelper:** rename _dev_only_checkoutContext to _dev_only_checkoutTplContext ([e67d4dc](https://github.com/easyops-cn/next-core/commit/e67d4dc854b013ad12ce8d2d210a7e01ac638332))
|
|
78
|
+
## [2.82.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.82.0...@next-core/brick-kit@2.82.1) (2021-11-08)
|
|
75
79
|
|
|
80
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
76
81
|
|
|
82
|
+
# [2.82.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.81.2...@next-core/brick-kit@2.82.0) (2021-11-08)
|
|
77
83
|
|
|
84
|
+
### Features
|
|
78
85
|
|
|
86
|
+
- **developHelper:** add checkoutContext api ([7d02acf](https://github.com/easyops-cn/next-core/commit/7d02acf41f4665f2068f5066cf6e288251d9ea6d))
|
|
87
|
+
- **developHelper:** rename \_dev_only_checkoutContext to \_dev_only_checkoutTplContext ([e67d4dc](https://github.com/easyops-cn/next-core/commit/e67d4dc854b013ad12ce8d2d210a7e01ac638332))
|
|
79
88
|
|
|
80
89
|
## [2.81.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.81.1...@next-core/brick-kit@2.81.2) (2021-11-08)
|
|
81
90
|
|
|
82
|
-
|
|
83
91
|
### Bug Fixes
|
|
84
92
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
- window.open should follow base href ([0444f63](https://github.com/easyops-cn/next-core/commit/0444f63130ae58c9a8033eb79658387f8256aece))
|
|
90
94
|
|
|
91
95
|
## [2.81.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.81.0...@next-core/brick-kit@2.81.1) (2021-11-04)
|
|
92
96
|
|
|
93
|
-
|
|
94
97
|
### Bug Fixes
|
|
95
98
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
- update args during polling ([c892a21](https://github.com/easyops-cn/next-core/commit/c892a21c24e1deb66a0b1a2707918d382ef810a9))
|
|
101
100
|
|
|
102
101
|
# [2.81.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.80.3...@next-core/brick-kit@2.81.0) (2021-11-04)
|
|
103
102
|
|
|
104
|
-
|
|
105
103
|
### Features
|
|
106
104
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
- support getting misc settings in storyboard ([e661336](https://github.com/easyops-cn/next-core/commit/e661336015a970edebae053c9220f2df6527969e))
|
|
112
106
|
|
|
113
107
|
## [2.80.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.80.2...@next-core/brick-kit@2.80.3) (2021-11-02)
|
|
114
108
|
|
|
115
109
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
116
110
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
111
|
## [2.80.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.80.1...@next-core/brick-kit@2.80.2) (2021-11-01)
|
|
122
112
|
|
|
123
113
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
124
114
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
115
|
## [2.80.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.80.0...@next-core/brick-kit@2.80.1) (2021-11-01)
|
|
130
116
|
|
|
131
117
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
132
118
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
119
|
# [2.80.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.79.2...@next-core/brick-kit@2.80.0) (2021-10-29)
|
|
138
120
|
|
|
139
|
-
|
|
140
121
|
### Features
|
|
141
122
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
123
|
+
- **analytics:** event add micro_app_id and route_alias parameters ([693ede0](https://github.com/easyops-cn/next-core/commit/693ede08e704e5586afbb36be82a67889a796d42))
|
|
147
124
|
|
|
148
125
|
## [2.79.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.79.1...@next-core/brick-kit@2.79.2) (2021-10-29)
|
|
149
126
|
|
|
150
|
-
|
|
151
127
|
### Bug Fixes
|
|
152
128
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
129
|
+
- fix no contract data ([2282ae8](https://github.com/easyops-cn/next-core/commit/2282ae818092750747fc6fefefe1af72bb8ae194))
|
|
158
130
|
|
|
159
131
|
## [2.79.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.79.0...@next-core/brick-kit@2.79.1) (2021-10-28)
|
|
160
132
|
|
|
161
|
-
|
|
162
133
|
### Bug Fixes
|
|
163
134
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
135
|
+
- **useBrick:** fix useBrick accpet object data ([6c84290](https://github.com/easyops-cn/next-core/commit/6c84290959c8ab624a6ffd675a62d800c84caaab))
|
|
169
136
|
|
|
170
137
|
# [2.79.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.78.4...@next-core/brick-kit@2.79.0) (2021-10-28)
|
|
171
138
|
|
|
172
|
-
|
|
173
139
|
### Features
|
|
174
140
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
141
|
+
- **analytics:** send page_view after mount tree and add support for extra parameters ([eb0faad](https://github.com/easyops-cn/next-core/commit/eb0faadf368617a48aaa1cf6ef76802e828ca8ce))
|
|
180
142
|
|
|
181
143
|
## [2.78.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.78.3...@next-core/brick-kit@2.78.4) (2021-10-28)
|
|
182
144
|
|
|
183
145
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
184
146
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
147
|
## [2.78.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.78.2...@next-core/brick-kit@2.78.3) (2021-10-27)
|
|
190
148
|
|
|
191
|
-
|
|
192
149
|
### Bug Fixes
|
|
193
150
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
151
|
+
- modify field ([81703e7](https://github.com/easyops-cn/next-core/commit/81703e7925087f2937c780363c22369ea67cfa44))
|
|
199
152
|
|
|
200
153
|
## [2.78.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.78.1...@next-core/brick-kit@2.78.2) (2021-10-27)
|
|
201
154
|
|
|
202
|
-
|
|
203
155
|
### Bug Fixes
|
|
204
156
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
157
|
+
- replace cmdb provider with new provider ([d7b33bd](https://github.com/easyops-cn/next-core/commit/d7b33bd6a653bb73f2ae2d112a8eee5b49434ee5))
|
|
210
158
|
|
|
211
159
|
## [2.78.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.78.0...@next-core/brick-kit@2.78.1) (2021-10-22)
|
|
212
160
|
|
|
213
161
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
214
162
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
163
|
# [2.78.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.77.0...@next-core/brick-kit@2.78.0) (2021-10-21)
|
|
220
164
|
|
|
221
|
-
|
|
222
165
|
### Features
|
|
223
166
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
167
|
+
- **bindListeners:** add analytics.send builtin handler ([bd16412](https://github.com/easyops-cn/next-core/commit/bd164129a1e95b73867be9504c0704beb14fe581))
|
|
229
168
|
|
|
230
169
|
# [2.77.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.76.0...@next-core/brick-kit@2.77.0) (2021-10-20)
|
|
231
170
|
|
|
232
|
-
|
|
233
171
|
### Features
|
|
234
172
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
173
|
+
- support checking version of installed apps ([220aed5](https://github.com/easyops-cn/next-core/commit/220aed501758a047743ecf6fa1485a09358ecadb))
|
|
240
174
|
|
|
241
175
|
# [2.76.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.75.1...@next-core/brick-kit@2.76.0) (2021-10-20)
|
|
242
176
|
|
|
243
|
-
|
|
244
177
|
### Features
|
|
245
178
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
179
|
+
- support widget functions ([a5a5cff](https://github.com/easyops-cn/next-core/commit/a5a5cff7b183b971e434506e531d0fddbbf5e597))
|
|
251
180
|
|
|
252
181
|
## [2.75.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.75.0...@next-core/brick-kit@2.75.1) (2021-10-15)
|
|
253
182
|
|
|
254
|
-
|
|
255
183
|
### Bug Fixes
|
|
256
184
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
185
|
+
- window.open action the third parameter is missing ([e2e8e27](https://github.com/easyops-cn/next-core/commit/e2e8e278e080c6c0f157168e10d0e97d66e22ccf))
|
|
262
186
|
|
|
263
187
|
# [2.75.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.74.1...@next-core/brick-kit@2.75.0) (2021-10-13)
|
|
264
188
|
|
|
265
|
-
|
|
266
189
|
### Features
|
|
267
190
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
191
|
+
- update BrickAsComponent unit test ([1c77a83](https://github.com/easyops-cn/next-core/commit/1c77a83d361f208d0fefd5b9296a8fdd7d7c3086))
|
|
192
|
+
- update BrickAsComponent unit test ([0aed68d](https://github.com/easyops-cn/next-core/commit/0aed68d566b4a50d08fdb817124f8f648f7704ca))
|
|
193
|
+
- update useBrick if condition, and support widget to expand ([df4b47a](https://github.com/easyops-cn/next-core/commit/df4b47ad3337c7723d50ee81e7bb1b86076bc5b2))
|
|
275
194
|
|
|
276
195
|
## [2.74.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.74.0...@next-core/brick-kit@2.74.1) (2021-10-12)
|
|
277
196
|
|
|
278
197
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
279
198
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
199
|
# [2.74.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.73.2...@next-core/brick-kit@2.74.0) (2021-10-11)
|
|
285
200
|
|
|
286
201
|
### Features
|