@avento-space/ts-ui 1.2.2 → 1.2.3

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.
@@ -104,6 +104,7 @@ interface ListProps {
104
104
  emptyState?: string;
105
105
  }
106
106
  declare class UList extends UElement {
107
+ static get observedAttributes(): string[];
107
108
  private _items;
108
109
  private _renderItem;
109
110
  private _emptyText;
@@ -115,6 +116,9 @@ declare class UList extends UElement {
115
116
  get emptyState(): string;
116
117
  set emptyState(val: string);
117
118
  private _renderList;
119
+ connectedCallback(): void;
120
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
121
+ private _sync;
118
122
  _mount(): void;
119
123
  }
120
124
  interface VirtualListProps {
@@ -213,6 +217,7 @@ declare class UStack extends UElement {
213
217
  private _align;
214
218
  private _justify;
215
219
  private _wrap;
220
+ protected _direction: string;
216
221
  constructor();
217
222
  get gap(): number;
218
223
  set gap(val: number);
@@ -794,6 +799,7 @@ declare class UCollection extends UElement {
794
799
  clearSelection(): void;
795
800
  connectedCallback(): void;
796
801
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
802
+ private _sync;
797
803
  private _updateItems;
798
804
  private _dispatchChange;
799
805
  _mount(): void;
@@ -814,8 +820,11 @@ declare class UTree extends UElement {
814
820
  static get observedAttributes(): string[];
815
821
  private _items;
816
822
  constructor();
823
+ connectedCallback(): void;
824
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
817
825
  get items(): TreeNodeData[];
818
826
  set items(val: TreeNodeData[]);
827
+ private _sync;
819
828
  private _render;
820
829
  private _renderNode;
821
830
  private _onClick;
@@ -848,6 +857,7 @@ declare class UTable extends UElement {
848
857
  set rows(val: Record<string, any>[]);
849
858
  connectedCallback(): void;
850
859
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
860
+ private _sync;
851
861
  private _render;
852
862
  private _renderHeader;
853
863
  private _renderBody;
@@ -884,6 +894,7 @@ declare class UBreadcrumb extends UElement {
884
894
  set separator(val: string);
885
895
  connectedCallback(): void;
886
896
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
897
+ private _sync;
887
898
  private _render;
888
899
  _mount(): void;
889
900
  }
@@ -924,7 +935,11 @@ interface VisuallyHiddenProps {
924
935
  class?: string;
925
936
  }
926
937
  declare class UVisuallyHidden extends UElement {
938
+ static get observedAttributes(): string[];
927
939
  constructor();
940
+ connectedCallback(): void;
941
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
942
+ private _sync;
928
943
  _mount(): void;
929
944
  }
930
945
 
@@ -1004,6 +1019,7 @@ declare class UPresence extends UElement {
1004
1019
  set animation(val: PresenceAnimation);
1005
1020
  connectedCallback(): void;
1006
1021
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1022
+ private _sync;
1007
1023
  private _enter;
1008
1024
  private _leave;
1009
1025
  _mount(): void;
@@ -1165,6 +1181,7 @@ declare class UPopover extends UElement {
1165
1181
  toggle(): void;
1166
1182
  connectedCallback(): void;
1167
1183
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1184
+ private _sync;
1168
1185
  private _updateOpenState;
1169
1186
  private _position;
1170
1187
  private _handleOutsideClick;
@@ -1214,6 +1231,7 @@ declare class UDropdown extends UElement {
1214
1231
  toggle(): void;
1215
1232
  connectedCallback(): void;
1216
1233
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1234
+ private _sync;
1217
1235
  private _renderItems;
1218
1236
  private _updateSelected;
1219
1237
  private _updateOpenState;
@@ -1246,6 +1264,7 @@ declare class UAccordion extends UElement {
1246
1264
  set multiple(val: boolean);
1247
1265
  connectedCallback(): void;
1248
1266
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1267
+ private _sync;
1249
1268
  private _initItems;
1250
1269
  toggle(key: string): void;
1251
1270
  private _syncItems;
@@ -1267,6 +1286,7 @@ declare class UAccordionItem extends UElement {
1267
1286
  set open(val: boolean);
1268
1287
  connectedCallback(): void;
1269
1288
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1289
+ private _sync;
1270
1290
  _mount(): void;
1271
1291
  }
1272
1292
 
@@ -1331,6 +1351,7 @@ declare class UCalendar extends UElement {
1331
1351
  set value(val: string);
1332
1352
  connectedCallback(): void;
1333
1353
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1354
+ private _sync;
1334
1355
  private _renderDayNames;
1335
1356
  private _render;
1336
1357
  private _navigate;
@@ -1377,6 +1398,7 @@ declare class UDataTable extends UElement {
1377
1398
  set pageSize(val: number);
1378
1399
  connectedCallback(): void;
1379
1400
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1401
+ private _sync;
1380
1402
  private _getProcessedData;
1381
1403
  private _getPageData;
1382
1404
  private _render;
@@ -1473,6 +1495,7 @@ interface ContextMenuProps {
1473
1495
  onSelect?: (value: string) => void;
1474
1496
  }
1475
1497
  declare class UContextMenu extends UElement {
1498
+ static get observedAttributes(): string[];
1476
1499
  private _items;
1477
1500
  private _open;
1478
1501
  private _selectedIndex;
@@ -1480,8 +1503,10 @@ declare class UContextMenu extends UElement {
1480
1503
  get items(): ContextMenuItem[];
1481
1504
  set items(val: ContextMenuItem[]);
1482
1505
  connectedCallback(): void;
1506
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1483
1507
  private _parseSlotItems;
1484
1508
  private _renderItems;
1509
+ private _sync;
1485
1510
  private _openMenu;
1486
1511
  private _closeMenu;
1487
1512
  private _focusFirst;
@@ -1507,6 +1532,7 @@ declare class USortable extends UElement {
1507
1532
  private _offsetY;
1508
1533
  private _dragClone;
1509
1534
  constructor();
1535
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1510
1536
  get disabled(): boolean;
1511
1537
  set disabled(val: boolean);
1512
1538
  get handleSelector(): string;
@@ -1517,6 +1543,8 @@ declare class USortable extends UElement {
1517
1543
  private _onPointerDown;
1518
1544
  private _onPointerMove;
1519
1545
  private _onPointerUp;
1546
+ connectedCallback(): void;
1547
+ private _sync;
1520
1548
  _mount(): void;
1521
1549
  }
1522
1550
 
@@ -1527,8 +1555,12 @@ interface FormProps {
1527
1555
  }
1528
1556
  declare class UForm extends UElement {
1529
1557
  private _fields;
1558
+ static get observedAttributes(): string[];
1530
1559
  constructor();
1560
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
1561
+ connectedCallback(): void;
1531
1562
  get form(): HTMLFormElement | null;
1563
+ private _sync;
1532
1564
  validate(): boolean;
1533
1565
  getValues(): Record<string, string>;
1534
1566
  reset(): void;