@openelement/ui 1.0.0-alpha.5 → 1.0.0-alpha.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.
@@ -1,428 +1,244 @@
1
- import { OpenElement, type StyleSheetLike } from '@openelement/element';
1
+ import { OpenElement, StyleSheetLike } from "@openelement/element";
2
+ //#region src/open-dialog.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 [readonly [string, string]];
15
- readonly "children": readonly [{
16
- readonly "k": string;
17
- readonly "id": string;
18
- readonly "tag": string;
19
- readonly "attrs": readonly [readonly [string, string]];
20
- readonly "children": readonly [];
21
- }, {
22
- readonly "k": string;
23
- readonly "id": string;
24
- readonly "tag": string;
25
- readonly "attrs": readonly [readonly [string, string]];
26
- readonly "children": readonly [{
27
- readonly "k": string;
28
- readonly "id": string;
29
- readonly "tag": string;
30
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
31
- readonly "children": readonly [{
32
- readonly "k": string;
33
- readonly "id": string;
34
- readonly "tag": string;
35
- readonly "attrs": readonly [readonly [string, string]];
36
- readonly "children": readonly [{
37
- readonly "k": string;
38
- readonly "id": string;
39
- readonly "index": number;
40
- }];
41
- }, {
42
- readonly "k": string;
43
- readonly "id": string;
44
- readonly "tag": string;
45
- readonly "attrs": readonly [readonly [string, string], readonly [string, string], readonly [string, string], readonly [string, string]];
46
- readonly "children": readonly [{
47
- readonly "k": string;
48
- readonly "value": string;
49
- }];
50
- }];
51
- }, {
52
- readonly "k": string;
53
- readonly "id": string;
54
- readonly "tag": string;
55
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
56
- readonly "children": readonly [{
57
- readonly "k": string;
58
- readonly "id": string;
59
- readonly "tag": string;
60
- readonly "attrs": readonly [];
61
- readonly "children": readonly [];
62
- }];
63
- }, {
64
- readonly "k": string;
65
- readonly "id": string;
66
- readonly "tag": string;
67
- readonly "attrs": readonly [readonly [string, string], readonly [string, string]];
68
- readonly "children": readonly [{
69
- readonly "k": string;
70
- readonly "id": string;
71
- readonly "tag": string;
72
- readonly "attrs": readonly [readonly [string, string]];
73
- readonly "children": readonly [];
74
- }];
75
- }];
76
- }];
77
- }];
78
- readonly "parts": readonly [{
79
- readonly "k": string;
80
- readonly "event": string;
81
- readonly "handler": string;
82
- readonly "action": {
83
- readonly "kind": string;
84
- readonly "name": string;
85
- };
86
- readonly "path": readonly [number, number];
87
- readonly "index": number;
88
- readonly "location": {
89
- readonly "id": string;
90
- readonly "kind": string;
91
- readonly "path": readonly [number, number];
92
- readonly "node": string;
93
- };
94
- }, {
95
- readonly "k": string;
96
- readonly "signal": string;
97
- readonly "name": string;
98
- readonly "path": readonly [number, number];
99
- readonly "index": number;
100
- readonly "location": {
101
- readonly "id": string;
102
- readonly "kind": string;
103
- readonly "path": readonly [number, number];
104
- readonly "node": string;
105
- };
106
- }, {
107
- readonly "k": string;
108
- readonly "signal": string;
109
- readonly "name": string;
110
- readonly "path": readonly [number, number];
111
- readonly "index": number;
112
- readonly "location": {
113
- readonly "id": string;
114
- readonly "kind": string;
115
- readonly "path": readonly [number, number];
116
- readonly "node": string;
117
- };
118
- }, {
119
- readonly "k": string;
120
- readonly "event": string;
121
- readonly "handler": string;
122
- readonly "action": {
123
- readonly "kind": string;
124
- readonly "name": string;
125
- };
126
- readonly "path": readonly [number, number];
127
- readonly "index": number;
128
- readonly "location": {
129
- readonly "id": string;
130
- readonly "kind": string;
131
- readonly "path": readonly [number, number];
132
- readonly "node": string;
133
- };
134
- }, {
135
- readonly "k": string;
136
- readonly "event": string;
137
- readonly "handler": string;
138
- readonly "action": {
139
- readonly "kind": string;
140
- readonly "name": string;
141
- };
142
- readonly "path": readonly [number, number];
143
- readonly "index": number;
144
- readonly "location": {
145
- readonly "id": string;
146
- readonly "kind": string;
147
- readonly "path": readonly [number, number];
148
- readonly "node": string;
149
- };
150
- }, {
151
- readonly "k": string;
152
- readonly "signal": string;
153
- readonly "index": number;
154
- readonly "location": {
155
- readonly "id": string;
156
- readonly "kind": string;
157
- readonly "path": readonly [number, number, number, number, number];
158
- };
159
- }, {
160
- readonly "k": string;
161
- readonly "event": string;
162
- readonly "handler": string;
163
- readonly "action": {
164
- readonly "kind": string;
165
- readonly "name": string;
166
- };
167
- readonly "path": readonly [number, number, number, number];
168
- readonly "index": number;
169
- readonly "location": {
170
- readonly "id": string;
171
- readonly "kind": string;
172
- readonly "path": readonly [number, number, number, number];
173
- readonly "node": string;
174
- };
175
- }];
176
- readonly "regions": readonly [];
177
- readonly "dependencies": readonly [{
178
- readonly "signal": string;
179
- readonly "owner": {
180
- readonly "kind": string;
181
- readonly "index": number;
182
- };
183
- readonly "location": string;
184
- }, {
185
- readonly "signal": string;
186
- readonly "owner": {
187
- readonly "kind": string;
188
- readonly "index": number;
189
- };
190
- readonly "location": string;
191
- }, {
192
- readonly "signal": string;
193
- readonly "owner": {
194
- readonly "kind": string;
195
- readonly "index": number;
196
- };
197
- readonly "location": string;
198
- }];
199
- readonly "locations": readonly [{
200
- readonly "id": string;
201
- readonly "kind": string;
202
- readonly "tag": string;
203
- readonly "path": readonly [number];
204
- }, {
205
- readonly "id": string;
206
- readonly "kind": string;
207
- readonly "tag": string;
208
- readonly "path": readonly [number, number];
209
- }, {
210
- readonly "id": string;
211
- readonly "kind": string;
212
- readonly "part": number;
213
- readonly "node": string;
214
- readonly "path": readonly [number, number];
215
- }, {
216
- readonly "id": string;
217
- readonly "kind": string;
218
- readonly "tag": string;
219
- readonly "path": readonly [number, number];
220
- }, {
221
- readonly "id": string;
222
- readonly "kind": string;
223
- readonly "part": number;
224
- readonly "node": string;
225
- readonly "path": readonly [number, number];
226
- }, {
227
- readonly "id": string;
228
- readonly "kind": string;
229
- readonly "part": number;
230
- readonly "node": string;
231
- readonly "path": readonly [number, number];
232
- }, {
233
- readonly "id": string;
234
- readonly "kind": string;
235
- readonly "part": number;
236
- readonly "node": string;
237
- readonly "path": readonly [number, number];
238
- }, {
239
- readonly "id": string;
240
- readonly "kind": string;
241
- readonly "part": number;
242
- readonly "node": string;
243
- readonly "path": readonly [number, number];
244
- }, {
245
- readonly "id": string;
246
- readonly "kind": string;
247
- readonly "tag": string;
248
- readonly "path": readonly [number, number, number];
249
- }, {
250
- readonly "id": string;
251
- readonly "kind": string;
252
- readonly "tag": string;
253
- readonly "path": readonly [number, number, number, number];
254
- }, {
255
- readonly "id": string;
256
- readonly "kind": string;
257
- readonly "part": number;
258
- readonly "path": readonly [number, number, number, number, number];
259
- }, {
260
- readonly "id": string;
261
- readonly "kind": string;
262
- readonly "tag": string;
263
- readonly "path": readonly [number, number, number, number];
264
- }, {
265
- readonly "id": string;
266
- readonly "kind": string;
267
- readonly "part": number;
268
- readonly "node": string;
269
- readonly "path": readonly [number, number, number, number];
270
- }, {
271
- readonly "id": string;
272
- readonly "kind": string;
273
- readonly "tag": string;
274
- readonly "path": readonly [number, number, number];
275
- }, {
276
- readonly "id": string;
277
- readonly "kind": string;
278
- readonly "tag": string;
279
- readonly "path": readonly [number, number, number, number];
280
- }, {
281
- readonly "id": string;
282
- readonly "kind": string;
283
- readonly "tag": string;
284
- readonly "path": readonly [number, number, number];
285
- }, {
286
- readonly "id": string;
287
- readonly "kind": string;
288
- readonly "tag": string;
289
- readonly "path": readonly [number, number, number, number];
290
- }];
291
- readonly "metadata": {
292
- readonly "tag": string;
293
- readonly "className": string;
294
- readonly "sourceFile": string;
295
- readonly "properties": readonly [{
296
- readonly "name": string;
297
- readonly "attribute": string;
298
- readonly "type": string;
299
- readonly "converter": string;
300
- readonly "reflect": boolean;
301
- readonly "default": boolean;
302
- }, {
303
- readonly "name": string;
304
- readonly "attribute": string;
305
- readonly "type": string;
306
- readonly "converter": string;
307
- readonly "reflect": boolean;
308
- readonly "default": string;
309
- }];
310
- readonly "observedAttributes": readonly [string, string];
311
- readonly "cem": {
312
- readonly "tagName": string;
313
- readonly "className": string;
314
- readonly "declaration": {
315
- readonly "name": string;
316
- readonly "module": string;
11
+ template: {
12
+ k: string;
13
+ id: string;
14
+ tag: string;
15
+ attrs: string[][];
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: ({
27
+ k: string;
28
+ id: string;
29
+ tag: string;
30
+ attrs: string[][];
31
+ children: {
32
+ k: string;
33
+ id: string;
34
+ index: number;
35
+ }[];
36
+ } | {
37
+ k: string;
38
+ id: string;
39
+ tag: string;
40
+ attrs: string[][];
41
+ children: {
42
+ k: string;
43
+ value: string;
44
+ }[];
45
+ })[];
46
+ }[];
47
+ }[];
48
+ }[];
49
+ parts: ({
50
+ k: string;
51
+ event: string;
52
+ handler: string;
53
+ action: {
54
+ kind: string;
55
+ name: string;
56
+ };
57
+ path: number[];
58
+ index: number;
59
+ location: {
60
+ id: string;
61
+ kind: string;
62
+ path: number[];
63
+ node: string;
64
+ };
65
+ signal?: undefined;
66
+ name?: undefined;
67
+ } | {
68
+ k: string;
69
+ signal: string;
70
+ name: string;
71
+ path: number[];
72
+ index: number;
73
+ location: {
74
+ id: string;
75
+ kind: string;
76
+ path: number[];
77
+ node: string;
78
+ };
79
+ event?: undefined;
80
+ handler?: undefined;
81
+ action?: undefined;
82
+ } | {
83
+ k: string;
84
+ signal: string;
85
+ index: number;
86
+ location: {
87
+ id: string;
88
+ kind: string;
89
+ path: number[];
90
+ node?: undefined;
91
+ };
92
+ event?: undefined;
93
+ handler?: undefined;
94
+ action?: undefined;
95
+ path?: undefined;
96
+ name?: undefined;
97
+ })[];
98
+ regions: never[];
99
+ dependencies: {
100
+ signal: string;
101
+ owner: {
102
+ kind: string;
103
+ index: number;
104
+ };
105
+ location: string;
106
+ }[];
107
+ locations: ({
108
+ id: string;
109
+ kind: string;
110
+ tag: string;
111
+ path: number[];
112
+ part?: undefined;
113
+ node?: undefined;
114
+ } | {
115
+ id: string;
116
+ kind: string;
117
+ part: number;
118
+ node: string;
119
+ path: number[];
120
+ tag?: undefined;
121
+ } | {
122
+ id: string;
123
+ kind: string;
124
+ part: number;
125
+ path: number[];
126
+ tag?: undefined;
127
+ node?: undefined;
128
+ })[];
129
+ metadata: {
130
+ tag: string;
131
+ className: string;
132
+ sourceFile: string;
133
+ properties: ({
134
+ name: string;
135
+ attribute: string;
136
+ type: string;
137
+ converter: string;
138
+ reflect: boolean;
139
+ default: boolean;
140
+ } | {
141
+ name: string;
142
+ attribute: string;
143
+ type: string;
144
+ converter: string;
145
+ reflect: boolean;
146
+ default: string;
147
+ })[];
148
+ observedAttributes: string[];
149
+ cem: {
150
+ tagName: string;
151
+ className: string;
152
+ declaration: {
153
+ name: string;
154
+ module: string;
317
155
  };
318
- readonly "attributes": readonly [{
319
- readonly "name": string;
320
- readonly "fieldName": string;
321
- readonly "type": string;
322
- readonly "reflect": boolean;
323
- }, {
324
- readonly "name": string;
325
- readonly "fieldName": string;
326
- readonly "type": string;
327
- readonly "reflect": boolean;
328
- }];
329
- readonly "members": readonly [{
330
- readonly "name": string;
331
- readonly "fieldName": string;
332
- readonly "type": string;
333
- readonly "attribute": string;
334
- readonly "reflect": boolean;
335
- }, {
336
- readonly "name": string;
337
- readonly "fieldName": string;
338
- readonly "type": string;
339
- readonly "attribute": string;
340
- readonly "reflect": boolean;
341
- }];
156
+ attributes: {
157
+ name: string;
158
+ fieldName: string;
159
+ type: string;
160
+ reflect: boolean;
161
+ }[];
162
+ members: {
163
+ name: string;
164
+ fieldName: string;
165
+ type: string;
166
+ attribute: string;
167
+ reflect: boolean;
168
+ }[];
342
169
  };
343
170
  };
344
171
  };
345
- declare const __compiledProperties: readonly [{
346
- readonly "name": string;
347
- readonly "attribute": string;
348
- readonly "type": string;
349
- readonly "converter": string;
350
- readonly "reflect": boolean;
351
- readonly "default": boolean;
352
- }, {
353
- readonly "name": string;
354
- readonly "attribute": string;
355
- readonly "type": string;
356
- readonly "converter": string;
357
- readonly "reflect": boolean;
358
- readonly "default": string;
359
- }];
172
+ declare const __compiledProperties: ({
173
+ name: string;
174
+ attribute: string;
175
+ type: string;
176
+ converter: string;
177
+ reflect: boolean;
178
+ default: boolean;
179
+ } | {
180
+ name: string;
181
+ attribute: string;
182
+ type: string;
183
+ converter: string;
184
+ reflect: boolean;
185
+ default: string;
186
+ })[];
360
187
  declare const __elementMetadata: {
361
- readonly "tag": string;
362
- readonly "className": string;
363
- readonly "sourceFile": string;
364
- readonly "properties": readonly [{
365
- readonly "name": string;
366
- readonly "attribute": string;
367
- readonly "type": string;
368
- readonly "converter": string;
369
- readonly "reflect": boolean;
370
- readonly "default": boolean;
371
- }, {
372
- readonly "name": string;
373
- readonly "attribute": string;
374
- readonly "type": string;
375
- readonly "converter": string;
376
- readonly "reflect": boolean;
377
- readonly "default": string;
378
- }];
379
- readonly "observedAttributes": readonly [string, string];
380
- readonly "cem": {
381
- readonly "tagName": string;
382
- readonly "className": string;
383
- readonly "declaration": {
384
- readonly "name": string;
385
- readonly "module": string;
188
+ tag: string;
189
+ className: string;
190
+ sourceFile: string;
191
+ properties: ({
192
+ name: string;
193
+ attribute: string;
194
+ type: string;
195
+ converter: string;
196
+ reflect: boolean;
197
+ default: boolean;
198
+ } | {
199
+ name: string;
200
+ attribute: string;
201
+ type: string;
202
+ converter: string;
203
+ reflect: boolean;
204
+ default: string;
205
+ })[];
206
+ observedAttributes: string[];
207
+ cem: {
208
+ tagName: string;
209
+ className: string;
210
+ declaration: {
211
+ name: string;
212
+ module: string;
386
213
  };
387
- readonly "attributes": readonly [{
388
- readonly "name": string;
389
- readonly "fieldName": string;
390
- readonly "type": string;
391
- readonly "reflect": boolean;
392
- }, {
393
- readonly "name": string;
394
- readonly "fieldName": string;
395
- readonly "type": string;
396
- readonly "reflect": boolean;
397
- }];
398
- readonly "members": readonly [{
399
- readonly "name": string;
400
- readonly "fieldName": string;
401
- readonly "type": string;
402
- readonly "attribute": string;
403
- readonly "reflect": boolean;
404
- }, {
405
- readonly "name": string;
406
- readonly "fieldName": string;
407
- readonly "type": string;
408
- readonly "attribute": string;
409
- readonly "reflect": boolean;
410
- }];
214
+ attributes: {
215
+ name: string;
216
+ fieldName: string;
217
+ type: string;
218
+ reflect: boolean;
219
+ }[];
220
+ members: {
221
+ name: string;
222
+ fieldName: string;
223
+ type: string;
224
+ attribute: string;
225
+ reflect: boolean;
226
+ }[];
411
227
  };
412
228
  };
413
229
  declare const __observedAttributes: string[];
414
230
  declare const __compiledProps: {
415
- readonly open: {
416
- readonly type;
417
- readonly default: boolean;
418
- readonly reflect: boolean;
419
- readonly attribute: string;
231
+ open: {
232
+ type: BooleanConstructor;
233
+ default: boolean;
234
+ reflect: boolean;
235
+ attribute: string;
420
236
  };
421
- readonly label: {
422
- readonly type;
423
- readonly default: string;
424
- readonly reflect: boolean;
425
- readonly attribute: string;
237
+ label: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ reflect: boolean;
241
+ attribute: string;
426
242
  };
427
243
  };
428
244
  export declare class OpenDialog extends OpenElement {
@@ -435,20 +251,21 @@ export declare class OpenDialog extends OpenElement {
435
251
  static styles: StyleSheetLike[];
436
252
  open: boolean;
437
253
  label: string;
438
- override onCsrRendered(): void;
439
- override onDsdHydrated(): void;
440
- override disconnectedCallback(): void;
441
- private syncOpenState: any;
442
- private updateStates: any;
443
- private stateSet: any;
254
+ onCsrRendered(): void;
255
+ onDsdHydrated(): void;
256
+ disconnectedCallback(): void;
257
+ private syncOpenState;
258
+ private updateStates;
259
+ private stateSet;
444
260
  show(): void;
445
261
  close(): void;
446
262
  toggle(): void;
447
- private syncDialogElement: any;
448
- private handleNativeClose: any;
449
- private handleClose: any;
450
- private handleCancel: any;
451
- private handleTrigger: any;
263
+ private syncDialogElement;
264
+ private handleNativeClose;
265
+ private handleClose;
266
+ private handleCancel;
267
+ private handleTrigger;
452
268
  render(): never;
453
269
  }
454
- export { __partProgram, __elementMetadata };
270
+ //#endregion
271
+ export { __elementMetadata, __partProgram };