@xatlas/rainbow-core 2.7.6 → 2.7.7
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/dist/core.common.js +7 -7
- package/dist/core.common.js.map +1 -1
- package/dist/core.umd.js +7 -7
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +1 -1
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.common.js
CHANGED
|
@@ -62846,8 +62846,8 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
62846
62846
|
var columns = this.model.attrs.filter(function (attr) {
|
|
62847
62847
|
return !['all', 'list'].includes(attr.hidden) && !hide.includes(attr.name) && attr.name !== idName && attr.metaType !== 'model' && attr.type !== 'link';
|
|
62848
62848
|
}).filter(function (attr) {
|
|
62849
|
-
var _this$params, _this$params2;
|
|
62850
|
-
var showConfig = attr.configs.find(function (config) {
|
|
62849
|
+
var _attr$configs, _this$params, _this$params2;
|
|
62850
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
62851
62851
|
return config.key === 'visibleWhenParent';
|
|
62852
62852
|
});
|
|
62853
62853
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|
|
@@ -62858,7 +62858,7 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
|
|
|
62858
62858
|
var expressionFn = new Function(Object.keys(data), "return ".concat(showConfig.value));
|
|
62859
62859
|
return expressionFn.apply(void 0, _toConsumableArray(Object.values(data)));
|
|
62860
62860
|
}).map(function (attr) {
|
|
62861
|
-
var configs = Object.fromEntries(attr.configs.map(function (c) {
|
|
62861
|
+
var configs = Object.fromEntries((attr.configs || []).map(function (c) {
|
|
62862
62862
|
return [c.key, c.value];
|
|
62863
62863
|
}));
|
|
62864
62864
|
return {
|
|
@@ -66752,8 +66752,8 @@ function profile_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.
|
|
|
66752
66752
|
show = _attr$params2.show;
|
|
66753
66753
|
return !['all'].includes(attr.hidden) && attr.metaType !== 'model' && attr.type !== 'link' && (show ? Object(every["a" /* default */])(show, _this.profile) : true);
|
|
66754
66754
|
}).filter(function (attr) {
|
|
66755
|
-
var _this$params, _this$params2;
|
|
66756
|
-
var showConfig = attr.configs.find(function (config) {
|
|
66755
|
+
var _attr$configs, _this$params, _this$params2;
|
|
66756
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
66757
66757
|
return config.key === 'visibleWhenParent';
|
|
66758
66758
|
});
|
|
66759
66759
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|
|
@@ -68029,8 +68029,8 @@ var form_ACTION_ACCESS = {
|
|
|
68029
68029
|
return attrs.filter(function (attr) {
|
|
68030
68030
|
return form_ACTION_ACCESS[editType].includes(attr.access) && !hide.includes(attr.name) && attr.metaType !== 'collection' && attr.metaType !== 'model' && attr.type !== 'link';
|
|
68031
68031
|
}).filter(function (attr) {
|
|
68032
|
-
var _this$params, _this$params2;
|
|
68033
|
-
var showConfig = attr.configs.find(function (config) {
|
|
68032
|
+
var _attr$configs, _this$params, _this$params2;
|
|
68033
|
+
var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
|
|
68034
68034
|
return config.key === 'visibleWhenParent';
|
|
68035
68035
|
});
|
|
68036
68036
|
if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
|