@openelement/ui 1.0.0-alpha.1 → 1.0.0-alpha.10

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.
@@ -1,198 +1,169 @@
1
- import { OpenElement, type StyleSheetLike } from '@openelement/element';
1
+ import { OpenElement, StyleSheetLike } from "@openelement/element";
2
+ //#region src/open-tabs.d.ts
2
3
  declare const __partProgram: {
3
- readonly "version": number;
4
- readonly "tag": string;
5
- readonly "root": {
6
- readonly "id": string;
7
- readonly "kind": string;
8
- readonly "nodes": readonly [string];
4
+ version: number;
5
+ tag: string;
6
+ root: {
7
+ id: string;
8
+ kind: string;
9
+ nodes: string[];
9
10
  };
10
- readonly "template": readonly [{
11
- readonly "k": string;
12
- readonly "id": string;
13
- readonly "tag": string;
14
- readonly "attrs": readonly [];
15
- readonly "children": readonly [{
16
- readonly "k": string;
17
- readonly "id": string;
18
- readonly "tag": string;
19
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
20
- readonly "children": readonly [{
21
- readonly "k": string;
22
- readonly "id": string;
23
- readonly "tag": string;
24
- readonly "attrs": readonly [readonly [string, string]];
25
- readonly "children": readonly [];
26
- }];
27
- }, {
28
- readonly "k": string;
29
- readonly "id": string;
30
- readonly "tag": string;
31
- readonly "attrs": readonly [readonly [string, string]];
32
- readonly "children": readonly [];
33
- }];
34
- }];
35
- readonly "parts": readonly [{
36
- readonly "k": string;
37
- readonly "event": string;
38
- readonly "handler": string;
39
- readonly "action": {
40
- readonly "kind": string;
41
- readonly "name": string;
42
- };
43
- readonly "path": readonly [number, number];
44
- readonly "index": number;
45
- readonly "location": {
46
- readonly "id": string;
47
- readonly "kind": string;
48
- readonly "path": readonly [number, number];
49
- readonly "node": string;
50
- };
51
- }];
52
- readonly "regions": readonly [];
53
- readonly "dependencies": readonly [];
54
- readonly "locations": readonly [{
55
- readonly "id": string;
56
- readonly "kind": string;
57
- readonly "tag": string;
58
- readonly "path": readonly [number];
59
- }, {
60
- readonly "id": string;
61
- readonly "kind": string;
62
- readonly "tag": string;
63
- readonly "path": readonly [number, number];
64
- }, {
65
- readonly "id": string;
66
- readonly "kind": string;
67
- readonly "part": number;
68
- readonly "node": string;
69
- readonly "path": readonly [number, number];
70
- }, {
71
- readonly "id": string;
72
- readonly "kind": string;
73
- readonly "tag": string;
74
- readonly "path": readonly [number, number, number];
75
- }, {
76
- readonly "id": string;
77
- readonly "kind": string;
78
- readonly "tag": string;
79
- readonly "path": readonly [number, number];
80
- }];
81
- readonly "metadata": {
82
- readonly "tag": string;
83
- readonly "className": string;
84
- readonly "sourceFile": string;
85
- readonly "properties": readonly [{
86
- readonly "name": string;
87
- readonly "attribute": null;
88
- readonly "type": string;
89
- readonly "converter": string;
90
- readonly "reflect": boolean;
91
- readonly "default": number;
92
- }, {
93
- readonly "name": string;
94
- readonly "attribute": null;
95
- readonly "type": string;
96
- readonly "converter": string;
97
- readonly "reflect": boolean;
98
- readonly "default": string;
99
- }];
100
- readonly "observedAttributes": readonly [];
101
- readonly "cem": {
102
- readonly "tagName": string;
103
- readonly "className": string;
104
- readonly "declaration": {
105
- readonly "name": string;
106
- readonly "module": string;
11
+ template: {
12
+ k: string;
13
+ id: string;
14
+ tag: string;
15
+ attrs: never[];
16
+ children: {
17
+ k: string;
18
+ id: string;
19
+ tag: string;
20
+ attrs: string[][];
21
+ children: {
22
+ k: string;
23
+ id: string;
24
+ tag: string;
25
+ attrs: string[][];
26
+ children: never[];
27
+ }[];
28
+ }[];
29
+ }[];
30
+ parts: {
31
+ k: string;
32
+ event: string;
33
+ handler: string;
34
+ action: {
35
+ kind: string;
36
+ name: string;
37
+ };
38
+ path: number[];
39
+ index: number;
40
+ location: {
41
+ id: string;
42
+ kind: string;
43
+ path: number[];
44
+ node: string;
45
+ };
46
+ }[];
47
+ regions: never[];
48
+ dependencies: never[];
49
+ locations: ({
50
+ id: string;
51
+ kind: string;
52
+ tag: string;
53
+ path: number[];
54
+ part?: undefined;
55
+ node?: undefined;
56
+ } | {
57
+ id: string;
58
+ kind: string;
59
+ part: number;
60
+ node: string;
61
+ path: number[];
62
+ tag?: undefined;
63
+ })[];
64
+ metadata: {
65
+ tag: string;
66
+ className: string;
67
+ sourceFile: string;
68
+ properties: ({
69
+ name: string;
70
+ attribute: null;
71
+ type: string;
72
+ converter: string;
73
+ reflect: boolean;
74
+ default: number;
75
+ } | {
76
+ name: string;
77
+ attribute: null;
78
+ type: string;
79
+ converter: string;
80
+ reflect: boolean;
81
+ default: string;
82
+ })[];
83
+ observedAttributes: never[];
84
+ cem: {
85
+ tagName: string;
86
+ className: string;
87
+ declaration: {
88
+ name: string;
89
+ module: string;
107
90
  };
108
- readonly "attributes": readonly [];
109
- readonly "members": readonly [{
110
- readonly "name": string;
111
- readonly "fieldName": string;
112
- readonly "type": string;
113
- readonly "attribute": null;
114
- readonly "reflect": boolean;
115
- }, {
116
- readonly "name": string;
117
- readonly "fieldName": string;
118
- readonly "type": string;
119
- readonly "attribute": null;
120
- readonly "reflect": boolean;
121
- }];
91
+ attributes: never[];
92
+ members: {
93
+ name: string;
94
+ fieldName: string;
95
+ type: string;
96
+ attribute: null;
97
+ reflect: boolean;
98
+ }[];
122
99
  };
123
100
  };
124
101
  };
125
- declare const __compiledProperties: readonly [{
126
- readonly "name": string;
127
- readonly "attribute": null;
128
- readonly "type": string;
129
- readonly "converter": string;
130
- readonly "reflect": boolean;
131
- readonly "default": number;
132
- }, {
133
- readonly "name": string;
134
- readonly "attribute": null;
135
- readonly "type": string;
136
- readonly "converter": string;
137
- readonly "reflect": boolean;
138
- readonly "default": string;
139
- }];
102
+ declare const __compiledProperties: ({
103
+ name: string;
104
+ attribute: null;
105
+ type: string;
106
+ converter: string;
107
+ reflect: boolean;
108
+ default: number;
109
+ } | {
110
+ name: string;
111
+ attribute: null;
112
+ type: string;
113
+ converter: string;
114
+ reflect: boolean;
115
+ default: string;
116
+ })[];
140
117
  declare const __elementMetadata: {
141
- readonly "tag": string;
142
- readonly "className": string;
143
- readonly "sourceFile": string;
144
- readonly "properties": readonly [{
145
- readonly "name": string;
146
- readonly "attribute": null;
147
- readonly "type": string;
148
- readonly "converter": string;
149
- readonly "reflect": boolean;
150
- readonly "default": number;
151
- }, {
152
- readonly "name": string;
153
- readonly "attribute": null;
154
- readonly "type": string;
155
- readonly "converter": string;
156
- readonly "reflect": boolean;
157
- readonly "default": string;
158
- }];
159
- readonly "observedAttributes": readonly [];
160
- readonly "cem": {
161
- readonly "tagName": string;
162
- readonly "className": string;
163
- readonly "declaration": {
164
- readonly "name": string;
165
- readonly "module": string;
118
+ tag: string;
119
+ className: string;
120
+ sourceFile: string;
121
+ properties: ({
122
+ name: string;
123
+ attribute: null;
124
+ type: string;
125
+ converter: string;
126
+ reflect: boolean;
127
+ default: number;
128
+ } | {
129
+ name: string;
130
+ attribute: null;
131
+ type: string;
132
+ converter: string;
133
+ reflect: boolean;
134
+ default: string;
135
+ })[];
136
+ observedAttributes: never[];
137
+ cem: {
138
+ tagName: string;
139
+ className: string;
140
+ declaration: {
141
+ name: string;
142
+ module: string;
166
143
  };
167
- readonly "attributes": readonly [];
168
- readonly "members": readonly [{
169
- readonly "name": string;
170
- readonly "fieldName": string;
171
- readonly "type": string;
172
- readonly "attribute": null;
173
- readonly "reflect": boolean;
174
- }, {
175
- readonly "name": string;
176
- readonly "fieldName": string;
177
- readonly "type": string;
178
- readonly "attribute": null;
179
- readonly "reflect": boolean;
180
- }];
144
+ attributes: never[];
145
+ members: {
146
+ name: string;
147
+ fieldName: string;
148
+ type: string;
149
+ attribute: null;
150
+ reflect: boolean;
151
+ }[];
181
152
  };
182
153
  };
183
154
  declare const __observedAttributes: string[];
184
155
  declare const __compiledProps: {
185
- readonly active: {
186
- readonly type;
187
- readonly default: number;
188
- readonly reflect: boolean;
189
- readonly attribute: boolean;
156
+ active: {
157
+ type: NumberConstructor;
158
+ default: number;
159
+ reflect: boolean;
160
+ attribute: boolean;
190
161
  };
191
- readonly tabsId: {
192
- readonly type;
193
- readonly default: string;
194
- readonly reflect: boolean;
195
- readonly attribute: boolean;
162
+ tabsId: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ reflect: boolean;
166
+ attribute: boolean;
196
167
  };
197
168
  };
198
169
  export declare class OpenTabs extends OpenElement {
@@ -204,15 +175,16 @@ export declare class OpenTabs extends OpenElement {
204
175
  static styles: StyleSheetLike[];
205
176
  active: number;
206
177
  tabsId: string;
207
- override onDsdHydrated(): void;
208
- override onCsrRendered(): void;
209
- override disconnectedCallback(): void;
210
- private activate: any;
211
- private tabs: any;
212
- private count: any;
178
+ onDsdHydrated(): void;
179
+ onCsrRendered(): void;
180
+ disconnectedCallback(): void;
181
+ private activate;
182
+ private tabs;
183
+ private count;
213
184
  select(idx: number): void;
214
- private onKeydown: any;
215
- private decorate: any;
185
+ private onKeydown;
186
+ private decorate;
216
187
  render(): never;
217
188
  }
218
- export { __partProgram, __elementMetadata };
189
+ //#endregion
190
+ export { __elementMetadata, __partProgram };