@emuanalytics/flow-rdf-ui 4.1.23 → 4.1.25

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.
@@ -5,6 +5,7 @@ import { boolean } from '../../internal/boolean.mjs';
5
5
  import FlowRdfElement from '../../internal/flow-ui-rdf-element.mjs';
6
6
  import { watch } from '../../internal/watch.mjs';
7
7
  import styles from './list.styles.mjs';
8
+ import { isArrayFull } from '@emuanalytics/flow-rdf-core/utils';
8
9
 
9
10
  var __defProp = Object.defineProperty;
10
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -107,7 +108,7 @@ class FlowUiList extends FlowRdfElement {
107
108
  item.reorder = this.reorder;
108
109
  item.selectable = this.selectable;
109
110
  });
110
- if (!items.some((item) => item.checked)) {
111
+ if (isArrayFull(items) && !items.some((item) => item.checked)) {
111
112
  items[0].tabIndex = 0;
112
113
  }
113
114
  } else {
@@ -81,8 +81,9 @@ class FlowUiPanel extends FlowRdfElement {
81
81
  }
82
82
  }
83
83
  FlowUiPanel.styles = styles;
84
+ // @queryAssignedElements({ selector: '.flow-ui-form-control[borders]' })
84
85
  __decorateClass([
85
- queryAssignedElements({ selector: ".flow-ui-form-control[borders]" })
86
+ queryAssignedElements({ selector: ".flow-ui-form-control[borders], form:has(>.flow-ui-form-control[borders])" })
86
87
  ], FlowUiPanel.prototype, "formElements", 2);
87
88
  __decorateClass([
88
89
  property({ type: Boolean, reflect: true })