@next-core/brick-kit 2.142.0 → 2.143.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
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.143.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.142.0...@next-core/brick-kit@2.143.0) (2022-09-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* target/ targetRef 能够获取事件信息 ([c7cbd24](https://github.com/easyops-cn/next-core/commit/c7cbd24aa335a68d582ec183b3c600b6e41ca127))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* bootstrap add standaloneMode field ([676cd23](https://github.com/easyops-cn/next-core/commit/676cd238e49713afe885feec5f73d5ff3ffaa8d1))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [2.142.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.141.2...@next-core/brick-kit@2.142.0) (2022-09-20)
|
|
7
23
|
|
|
8
24
|
|
package/dist/index.bundle.js
CHANGED
|
@@ -6716,7 +6716,9 @@
|
|
|
6716
6716
|
var computedTarget = rawTarget; // Allow `target` to be set as evaluable string.
|
|
6717
6717
|
|
|
6718
6718
|
if (typeof rawTarget === "string" ? brickUtils.isEvaluable(rawTarget) : isPreEvaluated(rawTarget)) {
|
|
6719
|
-
computedTarget = computeRealValue(rawTarget, context)
|
|
6719
|
+
computedTarget = computeRealValue(rawTarget, _objectSpread__default["default"](_objectSpread__default["default"]({}, context), {}, {
|
|
6720
|
+
event
|
|
6721
|
+
}));
|
|
6720
6722
|
}
|
|
6721
6723
|
|
|
6722
6724
|
if (typeof computedTarget === "string") {
|
|
@@ -6742,7 +6744,9 @@
|
|
|
6742
6744
|
var computedTargetRef = rawTargetRef; // Allow `targetRef` to be set as evaluable string.
|
|
6743
6745
|
|
|
6744
6746
|
if (typeof rawTargetRef === "string" ? brickUtils.isEvaluable(rawTargetRef) : isPreEvaluated(rawTargetRef)) {
|
|
6745
|
-
computedTargetRef = computeRealValue(rawTargetRef, context,
|
|
6747
|
+
computedTargetRef = computeRealValue(rawTargetRef, _objectSpread__default["default"](_objectSpread__default["default"]({}, context), {}, {
|
|
6748
|
+
event
|
|
6749
|
+
}), true);
|
|
6746
6750
|
}
|
|
6747
6751
|
|
|
6748
6752
|
var tpl = getTplContext(context.tplContextId).getBrick().element;
|
|
@@ -9194,7 +9198,7 @@
|
|
|
9194
9198
|
|
|
9195
9199
|
return _asyncToGenerator__default["default"](function* () {
|
|
9196
9200
|
var data = yield window.STANDALONE_MICRO_APPS ? standaloneBootstrap() : BootstrapV2Api_bootstrapV2(_objectSpread__default["default"]({
|
|
9197
|
-
appFields: "defaultConfig,userConfig,locales,name,homepage,id,currentVersion,installStatus,internal,status,icons",
|
|
9201
|
+
appFields: "defaultConfig,userConfig,locales,name,homepage,id,currentVersion,installStatus,internal,status,icons,standaloneMode",
|
|
9198
9202
|
ignoreTemplateFields: "templates",
|
|
9199
9203
|
ignoreBrickFields: "bricks,processors,providers,editors"
|
|
9200
9204
|
}, params), {
|