@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.umd.js CHANGED
@@ -62855,8 +62855,8 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
62855
62855
  var columns = this.model.attrs.filter(function (attr) {
62856
62856
  return !['all', 'list'].includes(attr.hidden) && !hide.includes(attr.name) && attr.name !== idName && attr.metaType !== 'model' && attr.type !== 'link';
62857
62857
  }).filter(function (attr) {
62858
- var _this$params, _this$params2;
62859
- var showConfig = attr.configs.find(function (config) {
62858
+ var _attr$configs, _this$params, _this$params2;
62859
+ var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
62860
62860
  return config.key === 'visibleWhenParent';
62861
62861
  });
62862
62862
  if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
@@ -62867,7 +62867,7 @@ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
62867
62867
  var expressionFn = new Function(Object.keys(data), "return ".concat(showConfig.value));
62868
62868
  return expressionFn.apply(void 0, _toConsumableArray(Object.values(data)));
62869
62869
  }).map(function (attr) {
62870
- var configs = Object.fromEntries(attr.configs.map(function (c) {
62870
+ var configs = Object.fromEntries((attr.configs || []).map(function (c) {
62871
62871
  return [c.key, c.value];
62872
62872
  }));
62873
62873
  return {
@@ -66761,8 +66761,8 @@ function profile_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.
66761
66761
  show = _attr$params2.show;
66762
66762
  return !['all'].includes(attr.hidden) && attr.metaType !== 'model' && attr.type !== 'link' && (show ? Object(every["a" /* default */])(show, _this.profile) : true);
66763
66763
  }).filter(function (attr) {
66764
- var _this$params, _this$params2;
66765
- var showConfig = attr.configs.find(function (config) {
66764
+ var _attr$configs, _this$params, _this$params2;
66765
+ var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
66766
66766
  return config.key === 'visibleWhenParent';
66767
66767
  });
66768
66768
  if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {
@@ -68038,8 +68038,8 @@ var form_ACTION_ACCESS = {
68038
68038
  return attrs.filter(function (attr) {
68039
68039
  return form_ACTION_ACCESS[editType].includes(attr.access) && !hide.includes(attr.name) && attr.metaType !== 'collection' && attr.metaType !== 'model' && attr.type !== 'link';
68040
68040
  }).filter(function (attr) {
68041
- var _this$params, _this$params2;
68042
- var showConfig = attr.configs.find(function (config) {
68041
+ var _attr$configs, _this$params, _this$params2;
68042
+ var showConfig = (_attr$configs = attr.configs) === null || _attr$configs === void 0 ? void 0 : _attr$configs.find(function (config) {
68043
68043
  return config.key === 'visibleWhenParent';
68044
68044
  });
68045
68045
  if (!((_this$params = _this.params) !== null && _this$params !== void 0 && _this$params.$parent) || !showConfig) {