@proximus/lavender-ag-grid-table 2.0.0-alpha.228 → 2.0.0-alpha.229
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/AgGridTableThButton.d.ts +69 -0
- package/dist/AgGridTableThContent.d.ts +1 -1
- package/dist/custom-elements.json +334 -0
- package/dist/index.es.js +35 -28
- package/dist/vscode.html-custom-data.json +85 -1
- package/dist/web-types.json +114 -2
- package/package.json +1 -1
|
@@ -1,8 +1,41 @@
|
|
|
1
1
|
import { PxElement } from '@proximus/lavender-common';
|
|
2
2
|
export declare const sortingValues: string[];
|
|
3
|
+
/**
|
|
4
|
+
* @attr {string} form - The ID of the associated form; the form property is the native form reference.
|
|
5
|
+
* @attr {string} popovertarget - The ID of the target popover.
|
|
6
|
+
* @attr {string} commandfor - The ID of the command target.
|
|
7
|
+
*/
|
|
3
8
|
export declare class AgGridTableThButton extends PxElement<HTMLButtonElement> {
|
|
4
9
|
protected static readonly template: HTMLTemplateElement;
|
|
5
10
|
static nativeName: string;
|
|
11
|
+
static nativeProperties: {
|
|
12
|
+
form: "readonly";
|
|
13
|
+
labels: "readonly";
|
|
14
|
+
popoverTargetElement: "writable";
|
|
15
|
+
commandForElement: "writable";
|
|
16
|
+
validity: "readonly";
|
|
17
|
+
validationMessage: "readonly";
|
|
18
|
+
willValidate: "readonly";
|
|
19
|
+
};
|
|
20
|
+
static nativeMethods: ("checkValidity" | "reportValidity" | "setCustomValidity")[];
|
|
21
|
+
static nativeAttributes: {
|
|
22
|
+
disabled: "disabled"[];
|
|
23
|
+
name: "name"[];
|
|
24
|
+
value: "value"[];
|
|
25
|
+
type: "type"[];
|
|
26
|
+
formaction: "formAction"[];
|
|
27
|
+
formenctype: "formEnctype"[];
|
|
28
|
+
formmethod: "formMethod"[];
|
|
29
|
+
formnovalidate: "formNoValidate"[];
|
|
30
|
+
formtarget: "formTarget"[];
|
|
31
|
+
form: never[];
|
|
32
|
+
autofocus: "autofocus"[];
|
|
33
|
+
title: "title"[];
|
|
34
|
+
popovertarget: never[];
|
|
35
|
+
popovertargetaction: "popoverTargetAction"[];
|
|
36
|
+
command: "command"[];
|
|
37
|
+
commandfor: never[];
|
|
38
|
+
};
|
|
6
39
|
constructor();
|
|
7
40
|
connectedCallback(): void;
|
|
8
41
|
static get observedAttributes(): string[];
|
|
@@ -23,4 +56,40 @@ export declare class AgGridTableThButton extends PxElement<HTMLButtonElement> {
|
|
|
23
56
|
set sorting(value: string | null);
|
|
24
57
|
get columnHeaderLabel(): string | null;
|
|
25
58
|
set columnHeaderLabel(value: string | null);
|
|
59
|
+
/** @attr {boolean} disabled - Whether the native control is disabled. */
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
/** @attr {string} name - The native element name. */
|
|
62
|
+
name: string;
|
|
63
|
+
/** @attr {string} value - The initial native value; use value for live state. */
|
|
64
|
+
value: string;
|
|
65
|
+
/** @attr {"submit" | "reset" | "button"} type - The native element type. */
|
|
66
|
+
type: 'submit' | 'reset' | 'button';
|
|
67
|
+
/** @attr {string} formaction - The submission URL override. */
|
|
68
|
+
formAction: string;
|
|
69
|
+
/** @attr {string} formenctype - The submission encoding override. */
|
|
70
|
+
formEnctype: string;
|
|
71
|
+
/** @attr {string} formmethod - The submission method override. */
|
|
72
|
+
formMethod: string;
|
|
73
|
+
/** @attr {boolean} formnovalidate - Whether submission bypasses validation. */
|
|
74
|
+
formNoValidate: boolean;
|
|
75
|
+
/** @attr {string} formtarget - The submission target override. */
|
|
76
|
+
formTarget: string;
|
|
77
|
+
/** @attr {boolean} autofocus - Whether the native element requests autofocus. */
|
|
78
|
+
autofocus: boolean;
|
|
79
|
+
/** @attr {string} title - The native element tooltip. */
|
|
80
|
+
title: string;
|
|
81
|
+
/** @attr {string} popovertargetaction - The action for the target popover. */
|
|
82
|
+
popoverTargetAction: string;
|
|
83
|
+
/** @attr {string} command - The command for the target element, where supported. */
|
|
84
|
+
command: string;
|
|
85
|
+
readonly form: HTMLFormElement | null;
|
|
86
|
+
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
87
|
+
popoverTargetElement: Element | null;
|
|
88
|
+
commandForElement: Element | null;
|
|
89
|
+
readonly validity: ValidityState;
|
|
90
|
+
readonly validationMessage: string;
|
|
91
|
+
readonly willValidate: boolean;
|
|
92
|
+
readonly checkValidity: HTMLButtonElement['checkValidity'];
|
|
93
|
+
readonly reportValidity: HTMLButtonElement['reportValidity'];
|
|
94
|
+
readonly setCustomValidity: HTMLButtonElement['setCustomValidity'];
|
|
26
95
|
}
|
|
@@ -2,9 +2,9 @@ import { PxElement } from '@proximus/lavender-common';
|
|
|
2
2
|
export declare class AgGridTableThContent extends PxElement<HTMLSpanElement> {
|
|
3
3
|
protected static readonly template: HTMLTemplateElement;
|
|
4
4
|
static nativeName: string;
|
|
5
|
+
static nativeAttributes: {};
|
|
5
6
|
constructor();
|
|
6
7
|
static get observedAttributes(): string[];
|
|
7
|
-
attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
|
|
8
8
|
get inverted(): boolean;
|
|
9
9
|
set inverted(value: boolean);
|
|
10
10
|
}
|
|
@@ -88,6 +88,24 @@
|
|
|
88
88
|
"static": true,
|
|
89
89
|
"default": "'button'"
|
|
90
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "field",
|
|
93
|
+
"name": "nativeProperties",
|
|
94
|
+
"static": true,
|
|
95
|
+
"default": "nativeButtonProperties"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "field",
|
|
99
|
+
"name": "nativeMethods",
|
|
100
|
+
"static": true,
|
|
101
|
+
"default": "nativeButtonMethods"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "field",
|
|
105
|
+
"name": "nativeAttributes",
|
|
106
|
+
"static": true,
|
|
107
|
+
"default": "nativeButtonAttributes"
|
|
108
|
+
},
|
|
91
109
|
{
|
|
92
110
|
"kind": "method",
|
|
93
111
|
"name": "updateSorting",
|
|
@@ -201,6 +219,188 @@
|
|
|
201
219
|
{
|
|
202
220
|
"kind": "field",
|
|
203
221
|
"name": "columnHeaderLabel"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "field",
|
|
225
|
+
"name": "disabled",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "boolean"
|
|
228
|
+
},
|
|
229
|
+
"attribute": "disabled"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"kind": "field",
|
|
233
|
+
"name": "name",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "string"
|
|
236
|
+
},
|
|
237
|
+
"attribute": "name"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"kind": "field",
|
|
241
|
+
"name": "value",
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "string"
|
|
244
|
+
},
|
|
245
|
+
"attribute": "value"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "type",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
252
|
+
},
|
|
253
|
+
"attribute": "type"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "field",
|
|
257
|
+
"name": "formAction",
|
|
258
|
+
"type": {
|
|
259
|
+
"text": "string"
|
|
260
|
+
},
|
|
261
|
+
"attribute": "formaction"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"kind": "field",
|
|
265
|
+
"name": "formEnctype",
|
|
266
|
+
"type": {
|
|
267
|
+
"text": "string"
|
|
268
|
+
},
|
|
269
|
+
"attribute": "formenctype"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "formMethod",
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "string"
|
|
276
|
+
},
|
|
277
|
+
"attribute": "formmethod"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "field",
|
|
281
|
+
"name": "formNoValidate",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"attribute": "formnovalidate"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "formTarget",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "string"
|
|
292
|
+
},
|
|
293
|
+
"attribute": "formtarget"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"kind": "field",
|
|
297
|
+
"name": "autofocus",
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "boolean"
|
|
300
|
+
},
|
|
301
|
+
"attribute": "autofocus"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "title",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "string"
|
|
308
|
+
},
|
|
309
|
+
"attribute": "title"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "field",
|
|
313
|
+
"name": "popoverTargetAction",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "string"
|
|
316
|
+
},
|
|
317
|
+
"attribute": "popovertargetaction"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "command",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "string"
|
|
324
|
+
},
|
|
325
|
+
"attribute": "command"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "form",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "HTMLFormElement | null"
|
|
332
|
+
},
|
|
333
|
+
"readonly": true
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"kind": "field",
|
|
337
|
+
"name": "labels",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "NodeListOf<HTMLLabelElement>"
|
|
340
|
+
},
|
|
341
|
+
"readonly": true
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"kind": "field",
|
|
345
|
+
"name": "popoverTargetElement",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "Element | null"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "field",
|
|
352
|
+
"name": "commandForElement",
|
|
353
|
+
"type": {
|
|
354
|
+
"text": "Element | null"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"kind": "field",
|
|
359
|
+
"name": "validity",
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "ValidityState"
|
|
362
|
+
},
|
|
363
|
+
"readonly": true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"kind": "field",
|
|
367
|
+
"name": "validationMessage",
|
|
368
|
+
"type": {
|
|
369
|
+
"text": "string"
|
|
370
|
+
},
|
|
371
|
+
"readonly": true
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"kind": "field",
|
|
375
|
+
"name": "willValidate",
|
|
376
|
+
"type": {
|
|
377
|
+
"text": "boolean"
|
|
378
|
+
},
|
|
379
|
+
"readonly": true
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "field",
|
|
383
|
+
"name": "checkValidity",
|
|
384
|
+
"type": {
|
|
385
|
+
"text": "HTMLButtonElement['checkValidity']"
|
|
386
|
+
},
|
|
387
|
+
"readonly": true
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"kind": "field",
|
|
391
|
+
"name": "reportValidity",
|
|
392
|
+
"type": {
|
|
393
|
+
"text": "HTMLButtonElement['reportValidity']"
|
|
394
|
+
},
|
|
395
|
+
"readonly": true
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"kind": "field",
|
|
399
|
+
"name": "setCustomValidity",
|
|
400
|
+
"type": {
|
|
401
|
+
"text": "HTMLButtonElement['setCustomValidity']"
|
|
402
|
+
},
|
|
403
|
+
"readonly": true
|
|
204
404
|
}
|
|
205
405
|
],
|
|
206
406
|
"events": [
|
|
@@ -220,6 +420,131 @@
|
|
|
220
420
|
},
|
|
221
421
|
{
|
|
222
422
|
"name": "column-header-aria-label"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "disabled",
|
|
426
|
+
"type": {
|
|
427
|
+
"text": "boolean"
|
|
428
|
+
},
|
|
429
|
+
"fieldName": "disabled",
|
|
430
|
+
"description": "Whether the native control is disabled."
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "name",
|
|
434
|
+
"type": {
|
|
435
|
+
"text": "string"
|
|
436
|
+
},
|
|
437
|
+
"fieldName": "name",
|
|
438
|
+
"description": "The native element name."
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "value",
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "string"
|
|
444
|
+
},
|
|
445
|
+
"fieldName": "value",
|
|
446
|
+
"description": "The initial native value; use value for live state."
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "type",
|
|
450
|
+
"type": {
|
|
451
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
452
|
+
},
|
|
453
|
+
"fieldName": "type",
|
|
454
|
+
"description": "The native element type."
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "formaction",
|
|
458
|
+
"type": {
|
|
459
|
+
"text": "string"
|
|
460
|
+
},
|
|
461
|
+
"fieldName": "formAction",
|
|
462
|
+
"description": "The submission URL override."
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "formenctype",
|
|
466
|
+
"type": {
|
|
467
|
+
"text": "string"
|
|
468
|
+
},
|
|
469
|
+
"fieldName": "formEnctype",
|
|
470
|
+
"description": "The submission encoding override."
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "formmethod",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "string"
|
|
476
|
+
},
|
|
477
|
+
"fieldName": "formMethod",
|
|
478
|
+
"description": "The submission method override."
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "formnovalidate",
|
|
482
|
+
"type": {
|
|
483
|
+
"text": "boolean"
|
|
484
|
+
},
|
|
485
|
+
"fieldName": "formNoValidate",
|
|
486
|
+
"description": "Whether submission bypasses validation."
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "formtarget",
|
|
490
|
+
"type": {
|
|
491
|
+
"text": "string"
|
|
492
|
+
},
|
|
493
|
+
"fieldName": "formTarget",
|
|
494
|
+
"description": "The submission target override."
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "autofocus",
|
|
498
|
+
"type": {
|
|
499
|
+
"text": "boolean"
|
|
500
|
+
},
|
|
501
|
+
"fieldName": "autofocus",
|
|
502
|
+
"description": "Whether the native element requests autofocus."
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "title",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "string"
|
|
508
|
+
},
|
|
509
|
+
"fieldName": "title",
|
|
510
|
+
"description": "The native element tooltip."
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "popovertargetaction",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "string"
|
|
516
|
+
},
|
|
517
|
+
"fieldName": "popoverTargetAction",
|
|
518
|
+
"description": "The action for the target popover."
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "command",
|
|
522
|
+
"type": {
|
|
523
|
+
"text": "string"
|
|
524
|
+
},
|
|
525
|
+
"fieldName": "command",
|
|
526
|
+
"description": "The command for the target element, where supported."
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"type": {
|
|
530
|
+
"text": "string"
|
|
531
|
+
},
|
|
532
|
+
"description": "The ID of the associated form; the form property is the native form reference.",
|
|
533
|
+
"name": "form"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": {
|
|
537
|
+
"text": "string"
|
|
538
|
+
},
|
|
539
|
+
"description": "The ID of the target popover.",
|
|
540
|
+
"name": "popovertarget"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "string"
|
|
545
|
+
},
|
|
546
|
+
"description": "The ID of the command target.",
|
|
547
|
+
"name": "commandfor"
|
|
223
548
|
}
|
|
224
549
|
],
|
|
225
550
|
"superclass": {
|
|
@@ -282,6 +607,15 @@
|
|
|
282
607
|
"static": true,
|
|
283
608
|
"default": "'span'"
|
|
284
609
|
},
|
|
610
|
+
{
|
|
611
|
+
"kind": "field",
|
|
612
|
+
"name": "nativeAttributes",
|
|
613
|
+
"type": {
|
|
614
|
+
"text": "object"
|
|
615
|
+
},
|
|
616
|
+
"static": true,
|
|
617
|
+
"default": "{}"
|
|
618
|
+
},
|
|
285
619
|
{
|
|
286
620
|
"kind": "field",
|
|
287
621
|
"name": "inverted"
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PxElement as e, WithExtraAttributes as t, checkName as n, createTemplate as r, log as i,
|
|
1
|
+
import { PxElement as e, WithExtraAttributes as t, checkName as n, createTemplate as r, log as i, nativeButtonAttributes as a, nativeButtonMethods as o, nativeButtonProperties as s, renderTemplate as c } from "@proximus/lavender-common";
|
|
2
2
|
//#region src/ag-grid-table.css?inline
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
var
|
|
3
|
+
var l = ":host{--ag-font-family:var(--px-font-family);--ag-font-size:var(--px-font-size-base);--ag-data-font-size:var(--px-font-size-base);--ag-accent-color:var(--px-color-text-brand-default);--ag-background-color:var(--px-color-background-container-light-default);--ag-foreground-color:var(--px-color-text-neutral-default);--ag-cell-text-color:var(--px-color-text-neutral-default);--ag-border-color:var(--px-color-border-main-default);--ag-border-radius:var(--px-radius-main);--ag-wrapper-border-radius:var(--px-radius-main);--ag-spacing:var(--px-padding-xs-mobile);--ag-header-background-color:var(--px-color-background-container-default-default);--ag-header-font-weight:var(--px-font-weight-title);--ag-icon-size:1rem;--ag-row-hover-color:#0000000a;--ag-checkbox-border-radius:4px;--ag-checkbox-indeterminate-background-color:var(--px-color-background-surface-brand);--ag-checkbox-indeterminate-border-color:var(--px-color-border-brand-default);--ag-tooltip-error-text-color:var(--px-color-text-purpose-error-default);--ag-invalid-color:var(--px-color-text-purpose-error-default);--ag-value-change-delta-up-color:var(--px-color-text-purpose-success-default);--ag-value-change-delta-down-color:var(--px-color-text-purpose-error-default);--ag-button-disabled-background-color:var(--px-color-background-state-disabled-default);--ag-button-disabled-text-color:var(--px-color-text-state-disabled-default);--ag-input-disabled-background-color:var(--px-color-background-state-disabled-default);--ag-input-disabled-text-color:var(--px-color-text-state-disabled-default);--ag-selected-row-background-color:#0000000a}@media screen and (width>=48rem){:host{--ag-spacing:var(--px-padding-xs-tablet)}}@media screen and (width>=64.0625rem){:host{--ag-spacing:var(--px-padding-xs-laptop)}}@media screen and (width>=90.0625rem){:host{--ag-spacing:var(--px-padding-xs-desktop)}}:host([inverted]){--ag-accent-color:var(--px-color-text-brand-inverted);--ag-background-color:var(--px-color-background-surface-dark);--ag-foreground-color:var(--px-color-text-neutral-inverted);--ag-cell-text-color:var(--px-color-text-neutral-inverted);--ag-border-color:var(--px-color-border-main-inverted);--ag-header-background-color:var(--px-color-background-container-default-inverted);--ag-row-hover-color:#ffffff14;--ag-tooltip-error-text-color:var(--px-color-text-purpose-error-inverted);--ag-invalid-color:var(--px-color-text-purpose-error-inverted);--ag-value-change-delta-up-color:var(--px-color-text-purpose-success-inverted);--ag-value-change-delta-down-color:var(--px-color-text-purpose-error-inverted);--ag-button-disabled-background-color:var(--px-color-background-state-disabled-inverted);--ag-button-disabled-text-color:var(--px-color-text-state-disabled-inverted);--ag-input-disabled-background-color:var(--px-color-background-state-disabled-inverted);--ag-input-disabled-text-color:var(--px-color-text-state-disabled-inverted);--ag-selected-row-background-color:#ffffff14;--ag-checkbox-checked-shape-color:var(--px-color-text-brand-default);--ag-checkbox-indeterminate-shape-color:var(--px-color-text-brand-default);--ag-checkbox-indeterminate-background-color:var(--px-color-background-container-primary-inverted);--ag-checkbox-indeterminate-border-color:var(--px-color-border-brand-inverted)}", u = new CSSStyleSheet();
|
|
4
|
+
u.replaceSync(l);
|
|
5
|
+
var d = class e extends t {
|
|
6
6
|
static {
|
|
7
7
|
this.template = r("<slot></slot>");
|
|
8
8
|
}
|
|
9
9
|
constructor() {
|
|
10
|
-
super(
|
|
10
|
+
super(u), c(this.shadowRoot, e.template);
|
|
11
11
|
}
|
|
12
12
|
static get observedAttributes() {
|
|
13
13
|
return ["inverted"];
|
|
@@ -24,28 +24,37 @@ var c = class e extends t {
|
|
|
24
24
|
e ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
customElements.get("px-ag-grid-table") || customElements.define("px-ag-grid-table",
|
|
27
|
+
customElements.get("px-ag-grid-table") || customElements.define("px-ag-grid-table", d);
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/ag-grid-table-th-button.css?inline
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
var
|
|
30
|
+
var f = ":host{word-break:break-all;max-width:100%;display:inline-flex;overflow:hidden}:host *{box-sizing:border-box}.ag-grid-table-th-button{max-width:100%;font-size:var(--px-font-size-base);font-family:var(--px-font-family);gap:var(--px-spacing-xs-mobile);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;margin:0;padding:0;display:inline-flex}.ag-grid-table-th-button .sort-icon{width:var(--px-size-icon-s);height:var(--px-size-icon-s);flex-shrink:0;justify-content:center;align-items:center;display:flex}.ag-grid-table-th-button .sort-icon:after{content:\"\";width:var(--px-size-icon-s);height:var(--px-size-icon-s);color:var(--px-color-text-neutral-default);background-color:currentColor;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.71429 10.2857L12 4.28572L16.2857 10.2857H7.71429Z' fill='%235C2D91'/%3E%3Cpath d='M16.2857 13.7143L12 19.7143L7.71428 13.7143L16.2857 13.7143Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\");mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.71429 10.2857L12 4.28572L16.2857 10.2857H7.71429Z' fill='%235C2D91'/%3E%3Cpath d='M16.2857 13.7143L12 19.7143L7.71428 13.7143L16.2857 13.7143Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.ag-grid-table-th-button[sorting=ascending] .sort-icon:after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.5702 12.6927C18.1876 13.0752 17.5674 13.0752 17.1848 12.6927L12.9796 8.48739L12.9796 17.8775C12.9796 18.4186 12.541 18.8571 12 18.8571C11.459 18.8571 11.0204 18.4186 11.0204 17.8775L11.0204 8.48739L6.8151 12.6927C6.43254 13.0752 5.8123 13.0752 5.42975 12.6927C5.04719 12.3101 5.04719 11.6899 5.42975 11.3073L11.3073 5.42977C11.6899 5.04722 12.3101 5.04722 12.6926 5.42977L18.5702 11.3073C18.9528 11.6899 18.9528 12.3101 18.5702 12.6927Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\");mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.5702 12.6927C18.1876 13.0752 17.5674 13.0752 17.1848 12.6927L12.9796 8.48739L12.9796 17.8775C12.9796 18.4186 12.541 18.8571 12 18.8571C11.459 18.8571 11.0204 18.4186 11.0204 17.8775L11.0204 8.48739L6.8151 12.6927C6.43254 13.0752 5.8123 13.0752 5.42975 12.6927C5.04719 12.3101 5.04719 11.6899 5.42975 11.3073L11.3073 5.42977C11.6899 5.04722 12.3101 5.04722 12.6926 5.42977L18.5702 11.3073C18.9528 11.6899 18.9528 12.3101 18.5702 12.6927Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\")}.ag-grid-table-th-button[sorting=descending] .sort-icon:after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.4298 11.3073C5.81235 10.9248 6.4326 10.9248 6.81515 11.3073L11.0204 15.5126L11.0204 6.12245C11.0204 5.58144 11.459 5.14286 12 5.14286C12.541 5.14286 12.9796 5.58144 12.9796 6.12245L12.9796 15.5126L17.1849 11.3073C17.5675 10.9248 18.1877 10.9248 18.5703 11.3073C18.9528 11.6899 18.9528 12.3101 18.5703 12.6927L12.6927 18.5702C12.3101 18.9528 11.6899 18.9528 11.3074 18.5702L5.4298 12.6927C5.04724 12.3101 5.04724 11.6899 5.4298 11.3073Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\");mask-image:url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.4298 11.3073C5.81235 10.9248 6.4326 10.9248 6.81515 11.3073L11.0204 15.5126L11.0204 6.12245C11.0204 5.58144 11.459 5.14286 12 5.14286C12.541 5.14286 12.9796 5.58144 12.9796 6.12245L12.9796 15.5126L17.1849 11.3073C17.5675 10.9248 18.1877 10.9248 18.5703 11.3073C18.9528 11.6899 18.9528 12.3101 18.5703 12.6927L12.6927 18.5702C12.3101 18.9528 11.6899 18.9528 11.3074 18.5702L5.4298 12.6927C5.04724 12.3101 5.04724 11.6899 5.4298 11.3073Z' fill='%235C2D91'/%3E%3C/svg%3E%0A\")}@media screen and (width>=48rem){.ag-grid-table-th-button{gap:var(--px-spacing-xs-tablet)}}@media screen and (width>=64.0625rem){.ag-grid-table-th-button{gap:var(--px-spacing-xs-laptop)}}@media screen and (width>=90.0625rem){.ag-grid-table-th-button{gap:var(--px-spacing-xs-desktop)}}:host([inverted]) .ag-grid-table-th-button .sort-icon:after{color:var(--px-color-text-neutral-inverted)}", p = new CSSStyleSheet();
|
|
31
|
+
p.replaceSync(f);
|
|
32
|
+
var m = [
|
|
33
33
|
"none",
|
|
34
34
|
"ascending",
|
|
35
35
|
"descending"
|
|
36
|
-
],
|
|
36
|
+
], h = "px.lavender.ag-grid-table-th-button.click", g = class t extends e {
|
|
37
37
|
static {
|
|
38
38
|
this.template = r("<button class=\"ag-grid-table-th-button\"><slot></slot><span class=\"sort-icon\"></span></button>");
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
41
|
this.nativeName = "button";
|
|
42
42
|
}
|
|
43
|
+
static {
|
|
44
|
+
this.nativeProperties = s;
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.nativeMethods = o;
|
|
48
|
+
}
|
|
49
|
+
static {
|
|
50
|
+
this.nativeAttributes = a;
|
|
51
|
+
}
|
|
43
52
|
constructor() {
|
|
44
|
-
super(
|
|
53
|
+
super(p), this.clickHandler = (e) => {
|
|
45
54
|
this.handleSortingCycle(e);
|
|
46
55
|
}, this.keypressHandler = (e) => {
|
|
47
56
|
e.code === "Enter" && this.handleSortingCycle();
|
|
48
|
-
},
|
|
57
|
+
}, c(this.shadowRoot, t.template);
|
|
49
58
|
}
|
|
50
59
|
connectedCallback() {
|
|
51
60
|
this.sorting || (this.sorting = "none", this.$columnHeader?.setAttribute("aria-sort", "none")), this.$columnHeader?.setAttribute("aria-label", "Sortable column header, press ctrl + enter to sort"), this.addEventListener("click", this.clickHandler), this.$columnHeader?.addEventListener("keypress", this.keypressHandler);
|
|
@@ -61,7 +70,7 @@ var d = [
|
|
|
61
70
|
attributeChangedCallback(e, t, n) {
|
|
62
71
|
if (t !== n) switch (e) {
|
|
63
72
|
case "sorting":
|
|
64
|
-
this.updateSorting(t, n,
|
|
73
|
+
this.updateSorting(t, n, m);
|
|
65
74
|
break;
|
|
66
75
|
case "column-header-aria-label":
|
|
67
76
|
this.updateColumnHeaderAriaLabel(t, n);
|
|
@@ -82,7 +91,7 @@ var d = [
|
|
|
82
91
|
e !== null && e !== "" && this.$columnHeader?.setAttribute("aria-label", e), t !== null && t !== "" && this.$columnHeader?.setAttribute("aria-label", t);
|
|
83
92
|
}
|
|
84
93
|
clickAgGridTableThButton(e) {
|
|
85
|
-
this.dispatchEvent(new CustomEvent(
|
|
94
|
+
this.dispatchEvent(new CustomEvent(h, {
|
|
86
95
|
bubbles: !0,
|
|
87
96
|
composed: !0,
|
|
88
97
|
detail: { value: e }
|
|
@@ -90,8 +99,8 @@ var d = [
|
|
|
90
99
|
}
|
|
91
100
|
cycleToNextSortingValue(e) {
|
|
92
101
|
e?.stopPropagation(), e?.preventDefault();
|
|
93
|
-
let t = (
|
|
94
|
-
this.sorting =
|
|
102
|
+
let t = (m.indexOf(this.sorting ?? "none") + 1) % m.length;
|
|
103
|
+
this.sorting = m[t];
|
|
95
104
|
}
|
|
96
105
|
handleSortingCycle(e) {
|
|
97
106
|
this.cycleToNextSortingValue(e), this.clickAgGridTableThButton(this.sorting);
|
|
@@ -121,29 +130,27 @@ var d = [
|
|
|
121
130
|
super._updateAttribute("column-header-aria-label", e);
|
|
122
131
|
}
|
|
123
132
|
};
|
|
124
|
-
customElements.get("px-ag-grid-table-th-button") || customElements.define("px-ag-grid-table-th-button",
|
|
133
|
+
customElements.get("px-ag-grid-table-th-button") || customElements.define("px-ag-grid-table-th-button", g);
|
|
125
134
|
//#endregion
|
|
126
135
|
//#region src/ag-grid-table-th-content.css?inline
|
|
127
|
-
var
|
|
128
|
-
|
|
129
|
-
var
|
|
136
|
+
var _ = ":host{word-break:break-all;max-width:100%;display:inline-flex;overflow:hidden}:host *{box-sizing:border-box}.ag-grid-table-th-content{font-size:var(--px-font-size-base);font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l);word-break:break-all;flex-direction:column;max-width:100%;display:flex}.ag-grid-table-th-content ::slotted([slot=title]){font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-title);color:var(--px-color-text-neutral-default);word-break:break-all;white-space:break-spaces;max-width:100%}.ag-grid-table-th-content ::slotted([slot=subtitle]){font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-s-mobile);color:var(--px-color-icon-dimmed-default);word-break:break-all;white-space:break-spaces;max-width:100%}@media screen and (width>=48rem){.ag-grid-table-th-content ::slotted([slot=title]){font-size:var(--px-text-size-label-m-tablet)}.ag-grid-table-th-content ::slotted([slot=subtitle]){font-size:var(--px-text-size-label-s-tablet)}}@media screen and (width>=64.0625rem){.ag-grid-table-th-content ::slotted([slot=title]){font-size:var(--px-text-size-label-m-laptop)}.ag-grid-table-th-content ::slotted([slot=subtitle]){font-size:var(--px-text-size-label-s-laptop)}}@media screen and (width>=90.0625rem){.ag-grid-table-th-content ::slotted([slot=title]){font-size:var(--px-text-size-label-m-desktop)}.ag-grid-table-th-content ::slotted([slot=subtitle]){font-size:var(--px-text-size-label-s-desktop)}}:host([inverted]) .ag-grid-table-th-content ::slotted([slot=title]){color:var(--px-color-text-neutral-inverted)}:host([inverted]) .ag-grid-table-th-content ::slotted([slot=subtitle]){color:var(--px-color-icon-dimmed-inverted)}", v = new CSSStyleSheet();
|
|
137
|
+
v.replaceSync(_);
|
|
138
|
+
var y = class t extends e {
|
|
130
139
|
static {
|
|
131
140
|
this.template = r("<span class=\"ag-grid-table-th-content\"><slot name=\"title\"></slot><slot name=\"subtitle\"></slot></span>");
|
|
132
141
|
}
|
|
133
142
|
static {
|
|
134
143
|
this.nativeName = "span";
|
|
135
144
|
}
|
|
145
|
+
static {
|
|
146
|
+
this.nativeAttributes = {};
|
|
147
|
+
}
|
|
136
148
|
constructor() {
|
|
137
|
-
super(
|
|
149
|
+
super(v), c(this.shadowRoot, t.template);
|
|
138
150
|
}
|
|
139
151
|
static get observedAttributes() {
|
|
140
152
|
return [...super.observedAttributes, "inverted"];
|
|
141
153
|
}
|
|
142
|
-
attributeChangedCallback(e, t, n) {
|
|
143
|
-
if (t !== n) switch (e) {
|
|
144
|
-
default: super.attributeChangedCallback(e, t, n);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
154
|
get inverted() {
|
|
148
155
|
return this.hasAttribute("inverted");
|
|
149
156
|
}
|
|
@@ -151,6 +158,6 @@ var g = class t extends e {
|
|
|
151
158
|
super._updateBooleanAttribute("inverted", e);
|
|
152
159
|
}
|
|
153
160
|
};
|
|
154
|
-
customElements.get("px-ag-grid-table-th-content") || customElements.define("px-ag-grid-table-th-content",
|
|
161
|
+
customElements.get("px-ag-grid-table-th-content") || customElements.define("px-ag-grid-table-th-content", y);
|
|
155
162
|
//#endregion
|
|
156
|
-
export {
|
|
163
|
+
export { d as AgGridTable, g as AgGridTableThButton, y as AgGridTableThContent, m as sortingValues };
|
|
@@ -14,7 +14,91 @@
|
|
|
14
14
|
"attributes": [
|
|
15
15
|
{ "name": "sorting", "values": [] },
|
|
16
16
|
{ "name": "inverted", "values": [] },
|
|
17
|
-
{ "name": "column-header-aria-label", "values": [] }
|
|
17
|
+
{ "name": "column-header-aria-label", "values": [] },
|
|
18
|
+
{
|
|
19
|
+
"name": "disabled",
|
|
20
|
+
"description": "Whether the native control is disabled.",
|
|
21
|
+
"values": []
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "name",
|
|
25
|
+
"description": "The native element name.",
|
|
26
|
+
"values": []
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "value",
|
|
30
|
+
"description": "The initial native value; use value for live state.",
|
|
31
|
+
"values": []
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "type",
|
|
35
|
+
"description": "The native element type.",
|
|
36
|
+
"values": [
|
|
37
|
+
{ "name": "submit" },
|
|
38
|
+
{ "name": "reset" },
|
|
39
|
+
{ "name": "button" }
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "formaction",
|
|
44
|
+
"description": "The submission URL override.",
|
|
45
|
+
"values": []
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "formenctype",
|
|
49
|
+
"description": "The submission encoding override.",
|
|
50
|
+
"values": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "formmethod",
|
|
54
|
+
"description": "The submission method override.",
|
|
55
|
+
"values": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "formnovalidate",
|
|
59
|
+
"description": "Whether submission bypasses validation.",
|
|
60
|
+
"values": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "formtarget",
|
|
64
|
+
"description": "The submission target override.",
|
|
65
|
+
"values": []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "autofocus",
|
|
69
|
+
"description": "Whether the native element requests autofocus.",
|
|
70
|
+
"values": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "title",
|
|
74
|
+
"description": "The native element tooltip.",
|
|
75
|
+
"values": []
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "popovertargetaction",
|
|
79
|
+
"description": "The action for the target popover.",
|
|
80
|
+
"values": []
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "command",
|
|
84
|
+
"description": "The command for the target element, where supported.",
|
|
85
|
+
"values": []
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "form",
|
|
89
|
+
"description": "The ID of the associated form; the form property is the native form reference.",
|
|
90
|
+
"values": []
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "popovertarget",
|
|
94
|
+
"description": "The ID of the target popover.",
|
|
95
|
+
"values": []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "commandfor",
|
|
99
|
+
"description": "The ID of the command target.",
|
|
100
|
+
"values": []
|
|
101
|
+
}
|
|
18
102
|
],
|
|
19
103
|
"references": []
|
|
20
104
|
},
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@proximus/lavender-ag-grid-table",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.229",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -24,6 +24,86 @@
|
|
|
24
24
|
{
|
|
25
25
|
"name": "column-header-aria-label",
|
|
26
26
|
"value": { "type": "string" }
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "disabled",
|
|
30
|
+
"description": "Whether the native control is disabled.",
|
|
31
|
+
"value": { "type": "boolean" }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "name",
|
|
35
|
+
"description": "The native element name.",
|
|
36
|
+
"value": { "type": "string" }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "value",
|
|
40
|
+
"description": "The initial native value; use value for live state.",
|
|
41
|
+
"value": { "type": "string" }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "type",
|
|
45
|
+
"description": "The native element type.",
|
|
46
|
+
"value": { "type": "'submit' | 'reset' | 'button'" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "formaction",
|
|
50
|
+
"description": "The submission URL override.",
|
|
51
|
+
"value": { "type": "string" }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "formenctype",
|
|
55
|
+
"description": "The submission encoding override.",
|
|
56
|
+
"value": { "type": "string" }
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "formmethod",
|
|
60
|
+
"description": "The submission method override.",
|
|
61
|
+
"value": { "type": "string" }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "formnovalidate",
|
|
65
|
+
"description": "Whether submission bypasses validation.",
|
|
66
|
+
"value": { "type": "boolean" }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "formtarget",
|
|
70
|
+
"description": "The submission target override.",
|
|
71
|
+
"value": { "type": "string" }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "autofocus",
|
|
75
|
+
"description": "Whether the native element requests autofocus.",
|
|
76
|
+
"value": { "type": "boolean" }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "title",
|
|
80
|
+
"description": "The native element tooltip.",
|
|
81
|
+
"value": { "type": "string" }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "popovertargetaction",
|
|
85
|
+
"description": "The action for the target popover.",
|
|
86
|
+
"value": { "type": "string" }
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "command",
|
|
90
|
+
"description": "The command for the target element, where supported.",
|
|
91
|
+
"value": { "type": "string" }
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "form",
|
|
95
|
+
"description": "The ID of the associated form; the form property is the native form reference.",
|
|
96
|
+
"value": { "type": "string" }
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "popovertarget",
|
|
100
|
+
"description": "The ID of the target popover.",
|
|
101
|
+
"value": { "type": "string" }
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "commandfor",
|
|
105
|
+
"description": "The ID of the command target.",
|
|
106
|
+
"value": { "type": "string" }
|
|
27
107
|
}
|
|
28
108
|
],
|
|
29
109
|
"events": [{ "name": "CLICK_EVENT", "type": "CustomEvent" }],
|
|
@@ -33,7 +113,39 @@
|
|
|
33
113
|
{ "name": "$columnHeader" },
|
|
34
114
|
{ "name": "inverted" },
|
|
35
115
|
{ "name": "sorting" },
|
|
36
|
-
{ "name": "columnHeaderLabel" }
|
|
116
|
+
{ "name": "columnHeaderLabel" },
|
|
117
|
+
{ "name": "disabled", "type": "boolean" },
|
|
118
|
+
{ "name": "name", "type": "string" },
|
|
119
|
+
{ "name": "value", "type": "string" },
|
|
120
|
+
{ "name": "type", "type": "'submit' | 'reset' | 'button'" },
|
|
121
|
+
{ "name": "formAction", "type": "string" },
|
|
122
|
+
{ "name": "formEnctype", "type": "string" },
|
|
123
|
+
{ "name": "formMethod", "type": "string" },
|
|
124
|
+
{ "name": "formNoValidate", "type": "boolean" },
|
|
125
|
+
{ "name": "formTarget", "type": "string" },
|
|
126
|
+
{ "name": "autofocus", "type": "boolean" },
|
|
127
|
+
{ "name": "title", "type": "string" },
|
|
128
|
+
{ "name": "popoverTargetAction", "type": "string" },
|
|
129
|
+
{ "name": "command", "type": "string" },
|
|
130
|
+
{ "name": "form", "type": "HTMLFormElement | null" },
|
|
131
|
+
{ "name": "labels", "type": "NodeListOf<HTMLLabelElement>" },
|
|
132
|
+
{ "name": "popoverTargetElement", "type": "Element | null" },
|
|
133
|
+
{ "name": "commandForElement", "type": "Element | null" },
|
|
134
|
+
{ "name": "validity", "type": "ValidityState" },
|
|
135
|
+
{ "name": "validationMessage", "type": "string" },
|
|
136
|
+
{ "name": "willValidate", "type": "boolean" },
|
|
137
|
+
{
|
|
138
|
+
"name": "checkValidity",
|
|
139
|
+
"type": "HTMLButtonElement['checkValidity']"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "reportValidity",
|
|
143
|
+
"type": "HTMLButtonElement['reportValidity']"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "setCustomValidity",
|
|
147
|
+
"type": "HTMLButtonElement['setCustomValidity']"
|
|
148
|
+
}
|
|
37
149
|
],
|
|
38
150
|
"events": [{ "name": "CLICK_EVENT", "type": "CustomEvent" }]
|
|
39
151
|
}
|