@next-core/brick-kit 2.103.7 → 2.104.1
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 +52 -131
- package/dist/index.bundle.js +3446 -3044
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +3445 -3043
- package/dist/index.esm.js.map +1 -1
- package/dist/types/BrickAsComponent.d.ts +3 -5
- package/dist/types/BrickAsComponent.d.ts.map +1 -1
- package/dist/types/EasyopsEmpty/EmptySvg.d.ts.map +1 -1
- package/dist/types/checkIf.d.ts +2 -4
- package/dist/types/checkIf.d.ts.map +1 -1
- package/dist/types/core/BrickNode.d.ts +3 -1
- package/dist/types/core/BrickNode.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/CustomTemplateContext.d.ts +10 -7
- package/dist/types/core/CustomTemplates/CustomTemplateContext.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/constants.d.ts +1 -9
- package/dist/types/core/CustomTemplates/constants.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/expandCustomTemplate.d.ts +2 -2
- package/dist/types/core/CustomTemplates/expandCustomTemplate.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/handleProxyOfCustomTemplate.d.ts +1 -1
- package/dist/types/core/CustomTemplates/handleProxyOfCustomTemplate.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/index.d.ts +0 -1
- package/dist/types/core/CustomTemplates/index.d.ts.map +1 -1
- package/dist/types/core/CustomTemplates/setupUseBrickInTemplate.d.ts +2 -0
- package/dist/types/core/CustomTemplates/setupUseBrickInTemplate.d.ts.map +1 -0
- package/dist/types/core/Kernel.d.ts.map +1 -1
- package/dist/types/core/LocationContext.d.ts +5 -7
- package/dist/types/core/LocationContext.d.ts.map +1 -1
- package/dist/types/core/Router.d.ts +2 -2
- package/dist/types/core/Router.d.ts.map +1 -1
- package/dist/types/core/Runtime.d.ts +2 -3
- package/dist/types/core/Runtime.d.ts.map +1 -1
- package/dist/types/core/StoryboardContext.d.ts +15 -0
- package/dist/types/core/StoryboardContext.d.ts.map +1 -0
- package/dist/types/core/interfaces.d.ts.map +1 -1
- package/dist/types/developHelper.d.ts +3 -2
- package/dist/types/developHelper.d.ts.map +1 -1
- package/dist/types/internal/bindListeners.d.ts +1 -1
- package/dist/types/internal/bindListeners.d.ts.map +1 -1
- package/dist/types/internal/evaluate.d.ts +1 -1
- package/dist/types/internal/evaluate.d.ts.map +1 -1
- package/dist/types/internal/injected.d.ts.map +1 -1
- package/dist/types/internal/listenOnTrackingContext.d.ts +2 -1
- package/dist/types/internal/listenOnTrackingContext.d.ts.map +1 -1
- package/dist/types/internal/setProperties.d.ts +1 -0
- package/dist/types/internal/setProperties.d.ts.map +1 -1
- package/dist/types/transformProperties.d.ts +2 -2
- package/dist/types/transformProperties.d.ts.map +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,282 +3,203 @@
|
|
|
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
|
-
## [2.
|
|
6
|
+
## [2.104.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.104.0...@next-core/brick-kit@2.104.1) (2022-02-14)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
*
|
|
12
|
-
|
|
11
|
+
* resume getTplContext for compatibility ([e6c40cf](https://github.com/easyops-cn/next-core/commit/e6c40cfec328776ace36cd917195da526451bad4))
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
|
|
17
|
-
## [2.103.6](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.5...@next-core/brick-kit@2.103.6) (2022-01-26)
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
# [2.104.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.9...@next-core/brick-kit@2.104.0) (2022-02-14)
|
|
20
18
|
|
|
21
19
|
|
|
20
|
+
### Features
|
|
22
21
|
|
|
22
|
+
* support template scoped state ([d736f85](https://github.com/easyops-cn/next-core/commit/d736f8550b4b645851e2b0a99bb2f99eee4378a2))
|
|
23
|
+
* support tpl-scoped context ([783b060](https://github.com/easyops-cn/next-core/commit/783b0605d3c74ac653120689d467384a71aaf79a))
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
## [2.103.5](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.4...@next-core/brick-kit@2.103.5) (2022-01-26)
|
|
26
26
|
|
|
27
|
-
**Note:** Version bump only for package @next-core/brick-kit
|
|
28
27
|
|
|
29
28
|
|
|
29
|
+
## [2.103.9](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.8...@next-core/brick-kit@2.103.9) (2022-01-28)
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
### Bug Fixes
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
* empty image ([61d1d1e](https://github.com/easyops-cn/next-core/commit/61d1d1e751ea6a07afd6805c950ce740e52642e9))
|
|
34
35
|
|
|
35
|
-
**Note:** Version bump only for package @next-core/brick-kit
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
+
## [2.103.8](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.7...@next-core/brick-kit@2.103.8) (2022-01-28)
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
42
43
|
|
|
43
44
|
|
|
44
|
-
### Bug Fixes
|
|
45
45
|
|
|
46
|
-
* fix history push in standalone apps ([65219cf](https://github.com/easyops-cn/next-core/commit/65219cf133d2166ca9b3c612ff1a81be71bb069b))
|
|
47
46
|
|
|
48
47
|
|
|
48
|
+
## [2.103.7](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.6...@next-core/brick-kit@2.103.7) (2022-01-27)
|
|
49
49
|
|
|
50
|
+
### Bug Fixes
|
|
50
51
|
|
|
52
|
+
- fix the bug that the svg files cannot be displayed completely when in the same page ([e8f26b1](https://github.com/easyops-cn/next-core/commit/e8f26b1b018e94b8cddb6f180fe8e74282e7d876)), closes [Refs#INSTANCE-2161](https://github.com/Refs/issues/INSTANCE-2161)
|
|
51
53
|
|
|
52
|
-
## [2.103.
|
|
54
|
+
## [2.103.6](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.5...@next-core/brick-kit@2.103.6) (2022-01-26)
|
|
53
55
|
|
|
54
56
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
55
57
|
|
|
58
|
+
## [2.103.5](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.4...@next-core/brick-kit@2.103.5) (2022-01-26)
|
|
56
59
|
|
|
60
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
57
61
|
|
|
62
|
+
## [2.103.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.3...@next-core/brick-kit@2.103.4) (2022-01-21)
|
|
58
63
|
|
|
64
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
59
65
|
|
|
60
|
-
## [2.103.
|
|
66
|
+
## [2.103.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.2...@next-core/brick-kit@2.103.3) (2022-01-20)
|
|
61
67
|
|
|
62
|
-
|
|
68
|
+
### Bug Fixes
|
|
63
69
|
|
|
70
|
+
- fix history push in standalone apps ([65219cf](https://github.com/easyops-cn/next-core/commit/65219cf133d2166ca9b3c612ff1a81be71bb069b))
|
|
64
71
|
|
|
72
|
+
## [2.103.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.1...@next-core/brick-kit@2.103.2) (2022-01-13)
|
|
65
73
|
|
|
74
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
66
75
|
|
|
76
|
+
## [2.103.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.103.0...@next-core/brick-kit@2.103.1) (2022-01-13)
|
|
67
77
|
|
|
68
|
-
|
|
78
|
+
**Note:** Version bump only for package @next-core/brick-kit
|
|
69
79
|
|
|
80
|
+
# [2.103.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.102.1...@next-core/brick-kit@2.103.0) (2022-01-12)
|
|
70
81
|
|
|
71
82
|
### Bug Fixes
|
|
72
83
|
|
|
73
|
-
|
|
74
|
-
|
|
84
|
+
- refine theme ([7d6480b](https://github.com/easyops-cn/next-core/commit/7d6480bffd738676a0c04865991c6cad796b7379))
|
|
75
85
|
|
|
76
86
|
### Features
|
|
77
87
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
- add button style ([ebf1377](https://github.com/easyops-cn/next-core/commit/ebf1377805306600dbf96a6c05164f295d04f9af))
|
|
89
|
+
- chart style ([8d3f04b](https://github.com/easyops-cn/next-core/commit/8d3f04b342f79f62c65696ef82337b06d881aafd))
|
|
84
90
|
|
|
85
91
|
## [2.102.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.102.0...@next-core/brick-kit@2.102.1) (2022-01-12)
|
|
86
92
|
|
|
87
|
-
|
|
88
93
|
### Bug Fixes
|
|
89
94
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
- do not redirect to login page while NO_AUTH_GUARD is enabled ([02b69b1](https://github.com/easyops-cn/next-core/commit/02b69b19b98b1ba4aa4e0d2405d28444f3c05def))
|
|
95
96
|
|
|
96
97
|
# [2.102.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.101.2...@next-core/brick-kit@2.102.0) (2022-01-07)
|
|
97
98
|
|
|
98
|
-
|
|
99
99
|
### Features
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
- **FlowApi:** update size-limit.js ([7b61a08](https://github.com/easyops-cn/next-core/commit/7b61a088ed6e0f2bd7ecd3bcb80fd2fa8b918bc7))
|
|
102
|
+
- **FlowApi:** update unit test ([059f6b6](https://github.com/easyops-cn/next-core/commit/059f6b612d5e90cb5facaa6285c8340f046ce4b0))
|
|
103
|
+
- **FlowApi:** update unit test ([a4bcc9d](https://github.com/easyops-cn/next-core/commit/a4bcc9d654039616a3889c142e5bd37c8ee987bc))
|
|
104
|
+
- **FlowApi:** useMock in flow api ([05a5751](https://github.com/easyops-cn/next-core/commit/05a5751e33aedfaae73c80a040081c2b4d2f2a73))
|
|
109
105
|
|
|
110
106
|
## [2.101.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.101.1...@next-core/brick-kit@2.101.2) (2022-01-06)
|
|
111
107
|
|
|
112
|
-
|
|
113
108
|
### Bug Fixes
|
|
114
109
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
110
|
+
- dark theme refine ([db6d4e5](https://github.com/easyops-cn/next-core/commit/db6d4e58c98779329e9dad99ee0fcde22631e44b))
|
|
120
111
|
|
|
121
112
|
## [2.101.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.101.0...@next-core/brick-kit@2.101.1) (2022-01-05)
|
|
122
113
|
|
|
123
|
-
|
|
124
114
|
### Bug Fixes
|
|
125
115
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
116
|
+
- fix `_.isEmpty(QUERY)` ([3202979](https://github.com/easyops-cn/next-core/commit/3202979a524a512423b9ce1f698c265ce650755c))
|
|
131
117
|
|
|
132
118
|
# [2.101.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.100.0...@next-core/brick-kit@2.101.0) (2022-01-05)
|
|
133
119
|
|
|
134
|
-
|
|
135
120
|
### Bug Fixes
|
|
136
121
|
|
|
137
|
-
|
|
138
|
-
|
|
122
|
+
- fix building ([ad86f04](https://github.com/easyops-cn/next-core/commit/ad86f04310b8264a3a22a5296e71beff620978db))
|
|
139
123
|
|
|
140
124
|
### Features
|
|
141
125
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
126
|
+
- apply color theme ([0998f5f](https://github.com/easyops-cn/next-core/commit/0998f5fc1e662cde1eeedb7bc30bd7a5e1e8fe85))
|
|
127
|
+
- support custom style ([4cdbbf5](https://github.com/easyops-cn/next-core/commit/4cdbbf524bf89bb402d945694c29066ce78b4f4e))
|
|
148
128
|
|
|
149
129
|
# [2.100.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.99.2...@next-core/brick-kit@2.100.0) (2022-01-04)
|
|
150
130
|
|
|
151
|
-
|
|
152
131
|
### Features
|
|
153
132
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
133
|
+
- **MockRegistry:** remove version in mock url ([e291d52](https://github.com/easyops-cn/next-core/commit/e291d52626e5565a9ebd8cf6370cb6cf7dd33903))
|
|
134
|
+
- **MockRegistry:** update RegExp ([423be36](https://github.com/easyops-cn/next-core/commit/423be36023068c1ebf07215d15117af4299ec039))
|
|
160
135
|
|
|
161
136
|
## [2.99.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.99.1...@next-core/brick-kit@2.99.2) (2022-01-04)
|
|
162
137
|
|
|
163
|
-
|
|
164
138
|
### Bug Fixes
|
|
165
139
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
140
|
+
- **Router:** render call scrollTo before life cycle handler ([92279de](https://github.com/easyops-cn/next-core/commit/92279de483cf623a7bc116d2813ff86fef29695d))
|
|
171
141
|
|
|
172
142
|
## [2.99.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.99.0...@next-core/brick-kit@2.99.1) (2021-12-31)
|
|
173
143
|
|
|
174
144
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
175
145
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
146
|
# [2.99.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.98.0...@next-core/brick-kit@2.99.0) (2021-12-31)
|
|
181
147
|
|
|
182
|
-
|
|
183
148
|
### Features
|
|
184
149
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
150
|
+
- dark theme ([c6709a7](https://github.com/easyops-cn/next-core/commit/c6709a7a30a8860a6cb3e0245967c9bcfd5e78f5))
|
|
190
151
|
|
|
191
152
|
# [2.98.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.97.0...@next-core/brick-kit@2.98.0) (2021-12-30)
|
|
192
153
|
|
|
193
|
-
|
|
194
154
|
### Features
|
|
195
155
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
156
|
+
- support dark-v2 ([0434b7e](https://github.com/easyops-cn/next-core/commit/0434b7e34c441c28ceb75ba753f46e3cd5ccc5c8))
|
|
201
157
|
|
|
202
158
|
# [2.97.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.96.0...@next-core/brick-kit@2.97.0) (2021-12-29)
|
|
203
159
|
|
|
204
|
-
|
|
205
160
|
### Bug Fixes
|
|
206
161
|
|
|
207
|
-
|
|
208
|
-
|
|
162
|
+
- fix accessing not-existed property of QUERY ([edcf0b1](https://github.com/easyops-cn/next-core/commit/edcf0b168e27f7b89ba2debde5a779c89500a0dd))
|
|
209
163
|
|
|
210
164
|
### Features
|
|
211
165
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
166
|
+
- **MockRegistry:** update mocks data ([10fed90](https://github.com/easyops-cn/next-core/commit/10fed9053e62af9cc52d994772343d629f45afac))
|
|
217
167
|
|
|
218
168
|
# [2.96.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.95.1...@next-core/brick-kit@2.96.0) (2021-12-29)
|
|
219
169
|
|
|
220
|
-
|
|
221
170
|
### Features
|
|
222
171
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
172
|
+
- some adjustment for EasyopsEmpty's empty image ([cc5af32](https://github.com/easyops-cn/next-core/commit/cc5af32a93d7497ff236c2189e730a3f771d3866)), closes [Refs#MONITOR-2681](https://github.com/Refs/issues/MONITOR-2681)
|
|
228
173
|
|
|
229
174
|
## [2.95.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.95.0...@next-core/brick-kit@2.95.1) (2021-12-28)
|
|
230
175
|
|
|
231
176
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
232
177
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
178
|
# [2.95.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.94.0...@next-core/brick-kit@2.95.0) (2021-12-28)
|
|
238
179
|
|
|
239
|
-
|
|
240
180
|
### Bug Fixes
|
|
241
181
|
|
|
242
|
-
|
|
243
|
-
|
|
182
|
+
- refine globals display in devtools ([6f42a1a](https://github.com/easyops-cn/next-core/commit/6f42a1ad37979a2dd6cdaabea8a55518131b35a9))
|
|
244
183
|
|
|
245
184
|
### Features
|
|
246
185
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
186
|
+
- refine storyboard functions and expressions ([6626c61](https://github.com/easyops-cn/next-core/commit/6626c61bd910864daaa81be946f765630cfb8103))
|
|
252
187
|
|
|
253
188
|
# [2.94.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.93.1...@next-core/brick-kit@2.94.0) (2021-12-24)
|
|
254
189
|
|
|
255
|
-
|
|
256
190
|
### Features
|
|
257
191
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
192
|
+
- support request use mock ([#1293](https://github.com/easyops-cn/next-core/issues/1293)) ([9989c66](https://github.com/easyops-cn/next-core/commit/9989c663f1e5340c68853d4b158dc169484a7e1a))
|
|
263
193
|
|
|
264
194
|
## [2.93.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.93.0...@next-core/brick-kit@2.93.1) (2021-12-23)
|
|
265
195
|
|
|
266
196
|
**Note:** Version bump only for package @next-core/brick-kit
|
|
267
197
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
198
|
# [2.93.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.92.2...@next-core/brick-kit@2.93.0) (2021-12-17)
|
|
273
199
|
|
|
274
|
-
|
|
275
200
|
### Features
|
|
276
201
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
202
|
+
- add new constant BASE_URL in evaluations ([80451fe](https://github.com/easyops-cn/next-core/commit/80451fe3c9e6f80488e207f6c164db2ace7191ac))
|
|
282
203
|
|
|
283
204
|
## [2.92.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.92.1...@next-core/brick-kit@2.92.2) (2021-12-15)
|
|
284
205
|
|