@ohmygame/plugin-ui 2.4.0 → 2.35.0
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/README.md +7 -0
- package/index.d.ts +197 -2
- package/index.js +196 -0
- package/package.json +1 -1
- package/plugin-ui.css +5 -0
- package/ui/1/base.js +17 -0
- package/ui/1/controls.js +85 -2
- package/ui/1/custom-elements.json +2190 -746
- package/ui/1/data.js +238 -0
- package/ui/1/feedback.js +5 -4
- package/ui/1/floating.js +111 -0
- package/ui/1/forms.js +440 -39
- package/ui/1/index.d.ts +313 -1
- package/ui/1/index.js +2 -0
- package/ui/1/layout.js +36 -6
- package/ui/1/media.js +77 -0
- package/ui/1/overlays.js +465 -0
|
@@ -76,6 +76,92 @@
|
|
|
76
76
|
],
|
|
77
77
|
"cssProperties": []
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "class",
|
|
81
|
+
"name": "OmgDisclosure",
|
|
82
|
+
"tagName": "omg-disclosure",
|
|
83
|
+
"customElement": true,
|
|
84
|
+
"description": "`<omg-disclosure heading open disabled>`: a plain title row with a leading arrow that shows or hides content. Closing keeps the content mounted and returns focus to the button when focus was inside. Enter and Space use the button's native activation.",
|
|
85
|
+
"superclass": {
|
|
86
|
+
"name": "HTMLElement",
|
|
87
|
+
"package": "global:"
|
|
88
|
+
},
|
|
89
|
+
"attributes": [
|
|
90
|
+
{
|
|
91
|
+
"name": "disabled",
|
|
92
|
+
"description": "Disables the button, without changing the content's state.",
|
|
93
|
+
"type": {
|
|
94
|
+
"text": "boolean"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "heading",
|
|
99
|
+
"description": "The button's label.",
|
|
100
|
+
"type": {
|
|
101
|
+
"text": "string"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "open",
|
|
106
|
+
"description": "Shows the content; closed by default.",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "boolean"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"members": [
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "disabled",
|
|
116
|
+
"description": "The `disabled` attribute.",
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "boolean"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"kind": "field",
|
|
123
|
+
"name": "open",
|
|
124
|
+
"description": "The `open` attribute; setting it does not emit an event.",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "boolean"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"events": [
|
|
131
|
+
{
|
|
132
|
+
"name": "omg-toggle",
|
|
133
|
+
"description": "The person opened or closed the content; bubbles across shadow roots.",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "CustomEvent<{ open: boolean }>"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"slots": [
|
|
140
|
+
{
|
|
141
|
+
"name": "",
|
|
142
|
+
"description": "The content, retained while closed."
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"cssParts": [
|
|
146
|
+
{
|
|
147
|
+
"name": "body",
|
|
148
|
+
"description": "The content, hidden while closed."
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "button",
|
|
152
|
+
"description": "The toggle button."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "heading",
|
|
156
|
+
"description": "The button's label."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "icon",
|
|
160
|
+
"description": "The expansion arrow."
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"cssProperties": []
|
|
164
|
+
},
|
|
79
165
|
{
|
|
80
166
|
"kind": "class",
|
|
81
167
|
"name": "OmgCommandButton",
|
|
@@ -259,6 +345,14 @@
|
|
|
259
345
|
"module": "ui/1/controls.js"
|
|
260
346
|
}
|
|
261
347
|
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "custom-element-definition",
|
|
350
|
+
"name": "omg-disclosure",
|
|
351
|
+
"declaration": {
|
|
352
|
+
"name": "OmgDisclosure",
|
|
353
|
+
"module": "ui/1/controls.js"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
262
356
|
{
|
|
263
357
|
"kind": "custom-element-definition",
|
|
264
358
|
"name": "omg-command-button",
|
|
@@ -269,6 +363,180 @@
|
|
|
269
363
|
}
|
|
270
364
|
]
|
|
271
365
|
},
|
|
366
|
+
{
|
|
367
|
+
"kind": "javascript-module",
|
|
368
|
+
"path": "ui/1/data.js",
|
|
369
|
+
"declarations": [
|
|
370
|
+
{
|
|
371
|
+
"kind": "class",
|
|
372
|
+
"name": "OmgTable",
|
|
373
|
+
"tagName": "omg-table",
|
|
374
|
+
"customElement": true,
|
|
375
|
+
"description": "`<omg-table label>`: a semantic table with stable keyed rows and cells. Text is always inserted as text; a Node cell is slotted without cloning so its state, listeners and plugin styles survive updates. Callers own sorting, loading and actions. Wide tables scroll inside their labelled region.",
|
|
376
|
+
"superclass": {
|
|
377
|
+
"name": "HTMLElement",
|
|
378
|
+
"package": "global:"
|
|
379
|
+
},
|
|
380
|
+
"attributes": [
|
|
381
|
+
{
|
|
382
|
+
"name": "empty-label",
|
|
383
|
+
"description": "Message with no rows; defaults to No data.",
|
|
384
|
+
"type": {
|
|
385
|
+
"text": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "label",
|
|
390
|
+
"description": "Table and scroll-region accessible name.",
|
|
391
|
+
"type": {
|
|
392
|
+
"text": "string"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "loading",
|
|
397
|
+
"description": "Marks data busy; existing rows remain visible.",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "boolean"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"members": [
|
|
404
|
+
{
|
|
405
|
+
"kind": "field",
|
|
406
|
+
"name": "columns",
|
|
407
|
+
"description": "Unique column keys, headings, optional width and alignment.",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "Array<{ key: string; heading: string; align?: \"left\" | \"right\"; width?: string }>"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"kind": "field",
|
|
414
|
+
"name": "rows",
|
|
415
|
+
"description": "Unique row keys and cells by column key; Node cells belong to this table while mounted.",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "Array<{ key: string; cells: Record<string, string | Node> }>"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"events": [],
|
|
422
|
+
"slots": [],
|
|
423
|
+
"cssParts": [
|
|
424
|
+
{
|
|
425
|
+
"name": "empty",
|
|
426
|
+
"description": "Empty message."
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "region",
|
|
430
|
+
"description": "Focusable horizontal scroll region."
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "table",
|
|
434
|
+
"description": "Native table."
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"cssProperties": []
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"kind": "class",
|
|
441
|
+
"name": "OmgPagination",
|
|
442
|
+
"tagName": "omg-pagination",
|
|
443
|
+
"customElement": true,
|
|
444
|
+
"description": "`<omg-pagination page pages>`: controlled pagination. It requests a page; the caller updates `page` after success. Pending requests preserve focus.",
|
|
445
|
+
"superclass": {
|
|
446
|
+
"name": "HTMLElement",
|
|
447
|
+
"package": "global:"
|
|
448
|
+
},
|
|
449
|
+
"attributes": [
|
|
450
|
+
{
|
|
451
|
+
"name": "disabled",
|
|
452
|
+
"description": "Ignores requests while retaining focus.",
|
|
453
|
+
"type": {
|
|
454
|
+
"text": "boolean"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "label",
|
|
459
|
+
"description": "Navigation accessible name; defaults to Pagination.",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "string"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "next-label",
|
|
466
|
+
"description": "Next button text; defaults to Next.",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "string"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "page",
|
|
473
|
+
"description": "Current page, one-based; defaults to 1.",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "number"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "pages",
|
|
480
|
+
"description": "Number of pages; at least 1.",
|
|
481
|
+
"type": {
|
|
482
|
+
"text": "number"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "previous-label",
|
|
487
|
+
"description": "Previous button text; defaults to Previous.",
|
|
488
|
+
"type": {
|
|
489
|
+
"text": "string"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"members": [],
|
|
494
|
+
"events": [
|
|
495
|
+
{
|
|
496
|
+
"name": "omg-page-change",
|
|
497
|
+
"description": "Requested page; no state changes until the caller updates page.",
|
|
498
|
+
"type": {
|
|
499
|
+
"text": "CustomEvent<{ page: number }>"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"slots": [],
|
|
504
|
+
"cssParts": [
|
|
505
|
+
{
|
|
506
|
+
"name": "next",
|
|
507
|
+
"description": "Next button."
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "previous",
|
|
511
|
+
"description": "Previous button."
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "status",
|
|
515
|
+
"description": "Current page and total."
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"cssProperties": []
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"exports": [
|
|
522
|
+
{
|
|
523
|
+
"kind": "custom-element-definition",
|
|
524
|
+
"name": "omg-table",
|
|
525
|
+
"declaration": {
|
|
526
|
+
"name": "OmgTable",
|
|
527
|
+
"module": "ui/1/data.js"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"kind": "custom-element-definition",
|
|
532
|
+
"name": "omg-pagination",
|
|
533
|
+
"declaration": {
|
|
534
|
+
"name": "OmgPagination",
|
|
535
|
+
"module": "ui/1/data.js"
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
},
|
|
272
540
|
{
|
|
273
541
|
"kind": "javascript-module",
|
|
274
542
|
"path": "ui/1/feedback.js",
|
|
@@ -678,15 +946,22 @@
|
|
|
678
946
|
"declarations": [
|
|
679
947
|
{
|
|
680
948
|
"kind": "class",
|
|
681
|
-
"name": "
|
|
682
|
-
"tagName": "omg-
|
|
949
|
+
"name": "OmgFilePicker",
|
|
950
|
+
"tagName": "omg-file-picker",
|
|
683
951
|
"customElement": true,
|
|
684
|
-
"description": "`<omg-
|
|
952
|
+
"description": "`<omg-file-picker label accept multiple>`: choose local files or drop them. Selection stays local; callers own validation, persistence and uploads. Accept checks filenames/MIME hints, never file contents. Invalid drops retain the prior selection. Cancelling the native chooser also retains it.",
|
|
685
953
|
"superclass": {
|
|
686
954
|
"name": "HTMLElement",
|
|
687
955
|
"package": "global:"
|
|
688
956
|
},
|
|
689
957
|
"attributes": [
|
|
958
|
+
{
|
|
959
|
+
"name": "accept",
|
|
960
|
+
"description": "Comma-separated extensions or MIME types, including image/*.",
|
|
961
|
+
"type": {
|
|
962
|
+
"text": "string"
|
|
963
|
+
}
|
|
964
|
+
},
|
|
690
965
|
{
|
|
691
966
|
"name": "aria-label",
|
|
692
967
|
"description": "Its name, without a label.",
|
|
@@ -694,6 +969,20 @@
|
|
|
694
969
|
"text": "string"
|
|
695
970
|
}
|
|
696
971
|
},
|
|
972
|
+
{
|
|
973
|
+
"name": "choose-label",
|
|
974
|
+
"description": "Picker action; defaults to Choose files.",
|
|
975
|
+
"type": {
|
|
976
|
+
"text": "string"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "clear-label",
|
|
981
|
+
"description": "Clear action; defaults to Clear.",
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "string"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
697
986
|
{
|
|
698
987
|
"name": "disabled",
|
|
699
988
|
"description": "Can't be changed.",
|
|
@@ -701,6 +990,13 @@
|
|
|
701
990
|
"text": "boolean"
|
|
702
991
|
}
|
|
703
992
|
},
|
|
993
|
+
{
|
|
994
|
+
"name": "drop-label",
|
|
995
|
+
"description": "Drop hint; defaults to or drop files here.",
|
|
996
|
+
"type": {
|
|
997
|
+
"text": "string"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
704
1000
|
{
|
|
705
1001
|
"name": "error",
|
|
706
1002
|
"description": "What's wrong with its value.",
|
|
@@ -723,42 +1019,39 @@
|
|
|
723
1019
|
}
|
|
724
1020
|
},
|
|
725
1021
|
{
|
|
726
|
-
"name": "
|
|
727
|
-
"description": "
|
|
728
|
-
"type": {
|
|
729
|
-
"text": "string"
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"name": "readonly",
|
|
734
|
-
"description": "Can be read and copied, not changed.",
|
|
1022
|
+
"name": "multiple",
|
|
1023
|
+
"description": "Allows more than one file.",
|
|
735
1024
|
"type": {
|
|
736
1025
|
"text": "boolean"
|
|
737
1026
|
}
|
|
738
1027
|
},
|
|
739
1028
|
{
|
|
740
|
-
"name": "
|
|
741
|
-
"description": "
|
|
742
|
-
"type": {
|
|
743
|
-
"text": "\"text\" | \"search\" | \"password\" | \"number\" | \"email\" | \"url\""
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "value",
|
|
748
|
-
"description": "Its text; setting it replaces what was typed.",
|
|
1029
|
+
"name": "rejected-label",
|
|
1030
|
+
"description": "Rejection feedback; defaults to Check the file type and number of files.",
|
|
749
1031
|
"type": {
|
|
750
1032
|
"text": "string"
|
|
751
1033
|
}
|
|
752
1034
|
}
|
|
753
1035
|
],
|
|
754
1036
|
"members": [
|
|
1037
|
+
{
|
|
1038
|
+
"kind": "method",
|
|
1039
|
+
"name": "clear",
|
|
1040
|
+
"description": "Clears selection silently; user clearing emits change.",
|
|
1041
|
+
"return": {
|
|
1042
|
+
"type": {
|
|
1043
|
+
"text": "void"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
755
1047
|
{
|
|
756
1048
|
"kind": "field",
|
|
757
|
-
"name": "
|
|
758
|
-
"description": "
|
|
1049
|
+
"name": "files",
|
|
1050
|
+
"description": "A copy of the currently selected local files.",
|
|
759
1051
|
"type": {
|
|
760
|
-
"text": "
|
|
761
|
-
}
|
|
1052
|
+
"text": "File[]"
|
|
1053
|
+
},
|
|
1054
|
+
"readonly": true
|
|
762
1055
|
}
|
|
763
1056
|
],
|
|
764
1057
|
"events": [
|
|
@@ -775,10 +1068,25 @@
|
|
|
775
1068
|
"type": {
|
|
776
1069
|
"text": "Event"
|
|
777
1070
|
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "omg-reject",
|
|
1074
|
+
"description": "Rejected selection; previous files remain available.",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "CustomEvent<{ files: File[], reason: \"accept\" | \"multiple\" }>"
|
|
1077
|
+
}
|
|
778
1078
|
}
|
|
779
1079
|
],
|
|
780
1080
|
"slots": [],
|
|
781
1081
|
"cssParts": [
|
|
1082
|
+
{
|
|
1083
|
+
"name": "clear",
|
|
1084
|
+
"description": "Clear button."
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"name": "dropzone",
|
|
1088
|
+
"description": "Clickable drop surface."
|
|
1089
|
+
},
|
|
782
1090
|
{
|
|
783
1091
|
"name": "error",
|
|
784
1092
|
"description": "The error; hidden when empty."
|
|
@@ -787,13 +1095,17 @@
|
|
|
787
1095
|
"name": "field",
|
|
788
1096
|
"description": "The label around it."
|
|
789
1097
|
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "files",
|
|
1100
|
+
"description": "Selected filenames."
|
|
1101
|
+
},
|
|
790
1102
|
{
|
|
791
1103
|
"name": "hint",
|
|
792
1104
|
"description": "The hint; hidden when empty or when there is an error."
|
|
793
1105
|
},
|
|
794
1106
|
{
|
|
795
1107
|
"name": "input",
|
|
796
|
-
"description": "
|
|
1108
|
+
"description": "Native file input."
|
|
797
1109
|
},
|
|
798
1110
|
{
|
|
799
1111
|
"name": "label",
|
|
@@ -804,10 +1116,10 @@
|
|
|
804
1116
|
},
|
|
805
1117
|
{
|
|
806
1118
|
"kind": "class",
|
|
807
|
-
"name": "
|
|
808
|
-
"tagName": "omg-
|
|
1119
|
+
"name": "OmgSlider",
|
|
1120
|
+
"tagName": "omg-slider",
|
|
809
1121
|
"customElement": true,
|
|
810
|
-
"description": "`<omg-
|
|
1122
|
+
"description": "`<omg-slider label min max step value>`: a native range with a numeric readout. The browser bounds and steps the value. Input fires while adjusting; change fires when committed. Programmatic changes are silent.",
|
|
811
1123
|
"superclass": {
|
|
812
1124
|
"name": "HTMLElement",
|
|
813
1125
|
"package": "global:"
|
|
@@ -849,31 +1161,31 @@
|
|
|
849
1161
|
}
|
|
850
1162
|
},
|
|
851
1163
|
{
|
|
852
|
-
"name": "
|
|
853
|
-
"description": "
|
|
1164
|
+
"name": "max",
|
|
1165
|
+
"description": "Range end; defaults to 100.",
|
|
854
1166
|
"type": {
|
|
855
|
-
"text": "
|
|
1167
|
+
"text": "number"
|
|
856
1168
|
}
|
|
857
1169
|
},
|
|
858
1170
|
{
|
|
859
|
-
"name": "
|
|
860
|
-
"description": "
|
|
1171
|
+
"name": "min",
|
|
1172
|
+
"description": "Range start; defaults to 0.",
|
|
861
1173
|
"type": {
|
|
862
|
-
"text": "
|
|
1174
|
+
"text": "number"
|
|
863
1175
|
}
|
|
864
1176
|
},
|
|
865
1177
|
{
|
|
866
|
-
"name": "
|
|
867
|
-
"description": "
|
|
1178
|
+
"name": "step",
|
|
1179
|
+
"description": "Increment; defaults to 1.",
|
|
868
1180
|
"type": {
|
|
869
|
-
"text": "number"
|
|
1181
|
+
"text": "number | \"any\""
|
|
870
1182
|
}
|
|
871
1183
|
},
|
|
872
1184
|
{
|
|
873
1185
|
"name": "value",
|
|
874
|
-
"description": "
|
|
1186
|
+
"description": "Current value; defaults to the native range midpoint.",
|
|
875
1187
|
"type": {
|
|
876
|
-
"text": "
|
|
1188
|
+
"text": "number"
|
|
877
1189
|
}
|
|
878
1190
|
}
|
|
879
1191
|
],
|
|
@@ -881,9 +1193,9 @@
|
|
|
881
1193
|
{
|
|
882
1194
|
"kind": "field",
|
|
883
1195
|
"name": "value",
|
|
884
|
-
"description": "
|
|
1196
|
+
"description": "Current bounded numeric value.",
|
|
885
1197
|
"type": {
|
|
886
|
-
"text": "
|
|
1198
|
+
"text": "number"
|
|
887
1199
|
}
|
|
888
1200
|
}
|
|
889
1201
|
],
|
|
@@ -917,23 +1229,27 @@
|
|
|
917
1229
|
"name": "hint",
|
|
918
1230
|
"description": "The hint; hidden when empty or when there is an error."
|
|
919
1231
|
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "input",
|
|
1234
|
+
"description": "Native range control."
|
|
1235
|
+
},
|
|
920
1236
|
{
|
|
921
1237
|
"name": "label",
|
|
922
1238
|
"description": "The label's text."
|
|
923
1239
|
},
|
|
924
1240
|
{
|
|
925
|
-
"name": "
|
|
926
|
-
"description": "
|
|
1241
|
+
"name": "output",
|
|
1242
|
+
"description": "Current numeric value."
|
|
927
1243
|
}
|
|
928
1244
|
],
|
|
929
1245
|
"cssProperties": []
|
|
930
1246
|
},
|
|
931
1247
|
{
|
|
932
1248
|
"kind": "class",
|
|
933
|
-
"name": "
|
|
934
|
-
"tagName": "omg-
|
|
1249
|
+
"name": "OmgRadioGroup",
|
|
1250
|
+
"tagName": "omg-radio-group",
|
|
935
1251
|
"customElement": true,
|
|
936
|
-
"description": "`<omg-
|
|
1252
|
+
"description": "`<omg-radio-group label value>` with `<option>` children: visible choices, optionally explained by each option's `data-description`. Native arrows and Space select; separate groups keep independent selections.",
|
|
937
1253
|
"superclass": {
|
|
938
1254
|
"name": "HTMLElement",
|
|
939
1255
|
"package": "global:"
|
|
@@ -946,13 +1262,6 @@
|
|
|
946
1262
|
"text": "string"
|
|
947
1263
|
}
|
|
948
1264
|
},
|
|
949
|
-
{
|
|
950
|
-
"name": "checked",
|
|
951
|
-
"description": "It is on.",
|
|
952
|
-
"type": {
|
|
953
|
-
"text": "boolean"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
1265
|
{
|
|
957
1266
|
"name": "disabled",
|
|
958
1267
|
"description": "Can't be changed.",
|
|
@@ -980,15 +1289,22 @@
|
|
|
980
1289
|
"type": {
|
|
981
1290
|
"text": "string"
|
|
982
1291
|
}
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "value",
|
|
1295
|
+
"description": "The chosen option's value.",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "string"
|
|
1298
|
+
}
|
|
983
1299
|
}
|
|
984
1300
|
],
|
|
985
1301
|
"members": [
|
|
986
1302
|
{
|
|
987
1303
|
"kind": "field",
|
|
988
|
-
"name": "
|
|
989
|
-
"description": "
|
|
1304
|
+
"name": "value",
|
|
1305
|
+
"description": "The chosen option's value.",
|
|
990
1306
|
"type": {
|
|
991
|
-
"text": "
|
|
1307
|
+
"text": "string"
|
|
992
1308
|
}
|
|
993
1309
|
}
|
|
994
1310
|
],
|
|
@@ -1027,27 +1343,22 @@
|
|
|
1027
1343
|
"description": "The label's text."
|
|
1028
1344
|
},
|
|
1029
1345
|
{
|
|
1030
|
-
"name": "
|
|
1031
|
-
"description": "
|
|
1032
|
-
}
|
|
1033
|
-
],
|
|
1034
|
-
"cssProperties": [
|
|
1035
|
-
{
|
|
1036
|
-
"name": "--omg-accent",
|
|
1037
|
-
"description": "The plugin's brand colour, for the switch when on."
|
|
1346
|
+
"name": "option",
|
|
1347
|
+
"description": "One labelled choice."
|
|
1038
1348
|
},
|
|
1039
1349
|
{
|
|
1040
|
-
"name": "
|
|
1041
|
-
"description": "The
|
|
1350
|
+
"name": "options",
|
|
1351
|
+
"description": "The radio group."
|
|
1042
1352
|
}
|
|
1043
|
-
]
|
|
1353
|
+
],
|
|
1354
|
+
"cssProperties": []
|
|
1044
1355
|
},
|
|
1045
1356
|
{
|
|
1046
1357
|
"kind": "class",
|
|
1047
|
-
"name": "
|
|
1048
|
-
"tagName": "omg-
|
|
1358
|
+
"name": "OmgCombobox",
|
|
1359
|
+
"tagName": "omg-combobox",
|
|
1049
1360
|
"customElement": true,
|
|
1050
|
-
"description": "`<omg-
|
|
1361
|
+
"description": "`<omg-combobox label value>` with `<option>` children: a searchable choice. Query text never changes the committed value until an enabled option is picked. Closing discards the query. Options can be replaced asynchronously; set `manual-filter` when the caller filters them remotely.",
|
|
1051
1362
|
"superclass": {
|
|
1052
1363
|
"name": "HTMLElement",
|
|
1053
1364
|
"package": "global:"
|
|
@@ -1061,17 +1372,17 @@
|
|
|
1061
1372
|
}
|
|
1062
1373
|
},
|
|
1063
1374
|
{
|
|
1064
|
-
"name": "
|
|
1065
|
-
"description": "
|
|
1375
|
+
"name": "disabled",
|
|
1376
|
+
"description": "Can't be changed.",
|
|
1066
1377
|
"type": {
|
|
1067
1378
|
"text": "boolean"
|
|
1068
1379
|
}
|
|
1069
1380
|
},
|
|
1070
1381
|
{
|
|
1071
|
-
"name": "
|
|
1072
|
-
"description": "
|
|
1382
|
+
"name": "empty-label",
|
|
1383
|
+
"description": "Empty list message; defaults to No results.",
|
|
1073
1384
|
"type": {
|
|
1074
|
-
"text": "
|
|
1385
|
+
"text": "string"
|
|
1075
1386
|
}
|
|
1076
1387
|
},
|
|
1077
1388
|
{
|
|
@@ -1094,15 +1405,59 @@
|
|
|
1094
1405
|
"type": {
|
|
1095
1406
|
"text": "string"
|
|
1096
1407
|
}
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"name": "loading",
|
|
1411
|
+
"description": "Shows loading-label; disables picking stale options.",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "boolean"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "loading-label",
|
|
1418
|
+
"description": "Loading message; defaults to Loading….",
|
|
1419
|
+
"type": {
|
|
1420
|
+
"text": "string"
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "manual-filter",
|
|
1425
|
+
"description": "The caller filters options using omg-query.",
|
|
1426
|
+
"type": {
|
|
1427
|
+
"text": "boolean"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "placeholder",
|
|
1432
|
+
"description": "Text shown with no selection.",
|
|
1433
|
+
"type": {
|
|
1434
|
+
"text": "string"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"name": "value",
|
|
1439
|
+
"description": "The chosen option's value.",
|
|
1440
|
+
"type": {
|
|
1441
|
+
"text": "string"
|
|
1442
|
+
}
|
|
1097
1443
|
}
|
|
1098
1444
|
],
|
|
1099
1445
|
"members": [
|
|
1100
1446
|
{
|
|
1101
1447
|
"kind": "field",
|
|
1102
|
-
"name": "
|
|
1103
|
-
"description": "
|
|
1448
|
+
"name": "query",
|
|
1449
|
+
"description": "Current uncommitted search text.",
|
|
1104
1450
|
"type": {
|
|
1105
|
-
"text": "
|
|
1451
|
+
"text": "string"
|
|
1452
|
+
},
|
|
1453
|
+
"readonly": true
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"kind": "field",
|
|
1457
|
+
"name": "value",
|
|
1458
|
+
"description": "The chosen option's value.",
|
|
1459
|
+
"type": {
|
|
1460
|
+
"text": "string"
|
|
1106
1461
|
}
|
|
1107
1462
|
}
|
|
1108
1463
|
],
|
|
@@ -1120,14 +1475,17 @@
|
|
|
1120
1475
|
"type": {
|
|
1121
1476
|
"text": "Event"
|
|
1122
1477
|
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "omg-query",
|
|
1481
|
+
"description": "Search text changed, or a manual-filter list opened; caller owns fetching and stale-result protection.",
|
|
1482
|
+
"type": {
|
|
1483
|
+
"text": "CustomEvent<{ query: string }>"
|
|
1484
|
+
}
|
|
1123
1485
|
}
|
|
1124
1486
|
],
|
|
1125
1487
|
"slots": [],
|
|
1126
1488
|
"cssParts": [
|
|
1127
|
-
{
|
|
1128
|
-
"name": "checkbox",
|
|
1129
|
-
"description": "The native checkbox."
|
|
1130
|
-
},
|
|
1131
1489
|
{
|
|
1132
1490
|
"name": "error",
|
|
1133
1491
|
"description": "The error; hidden when empty."
|
|
@@ -1140,28 +1498,35 @@
|
|
|
1140
1498
|
"name": "hint",
|
|
1141
1499
|
"description": "The hint; hidden when empty or when there is an error."
|
|
1142
1500
|
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "input",
|
|
1503
|
+
"description": "Combobox input, with active-descendant keyboard navigation."
|
|
1504
|
+
},
|
|
1143
1505
|
{
|
|
1144
1506
|
"name": "label",
|
|
1145
1507
|
"description": "The label's text."
|
|
1146
|
-
}
|
|
1147
|
-
],
|
|
1148
|
-
"cssProperties": [
|
|
1508
|
+
},
|
|
1149
1509
|
{
|
|
1150
|
-
"name": "
|
|
1151
|
-
"description": "
|
|
1510
|
+
"name": "options",
|
|
1511
|
+
"description": "Listbox."
|
|
1152
1512
|
},
|
|
1153
1513
|
{
|
|
1154
|
-
"name": "
|
|
1155
|
-
"description": "
|
|
1514
|
+
"name": "panel",
|
|
1515
|
+
"description": "Floating list surface."
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "status",
|
|
1519
|
+
"description": "Loading or empty message."
|
|
1156
1520
|
}
|
|
1157
|
-
]
|
|
1521
|
+
],
|
|
1522
|
+
"cssProperties": []
|
|
1158
1523
|
},
|
|
1159
1524
|
{
|
|
1160
1525
|
"kind": "class",
|
|
1161
|
-
"name": "
|
|
1162
|
-
"tagName": "omg-
|
|
1526
|
+
"name": "OmgInput",
|
|
1527
|
+
"tagName": "omg-input",
|
|
1163
1528
|
"customElement": true,
|
|
1164
|
-
"description": "`<omg-
|
|
1529
|
+
"description": "`<omg-input label value type placeholder hint error>`: one line of text.",
|
|
1165
1530
|
"superclass": {
|
|
1166
1531
|
"name": "HTMLElement",
|
|
1167
1532
|
"package": "global:"
|
|
@@ -1202,19 +1567,71 @@
|
|
|
1202
1567
|
"text": "string"
|
|
1203
1568
|
}
|
|
1204
1569
|
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "max",
|
|
1572
|
+
"description": "Maximum for type=number.",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "number"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "min",
|
|
1579
|
+
"description": "Minimum for type=number; native validation does not clamp typed text.",
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "number"
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"name": "placeholder",
|
|
1586
|
+
"description": "Shown while it is empty.",
|
|
1587
|
+
"type": {
|
|
1588
|
+
"text": "string"
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"name": "readonly",
|
|
1593
|
+
"description": "Can be read and copied, not changed.",
|
|
1594
|
+
"type": {
|
|
1595
|
+
"text": "boolean"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"name": "step",
|
|
1600
|
+
"description": "Numeric increment; native default is 1.",
|
|
1601
|
+
"type": {
|
|
1602
|
+
"text": "number | \"any\""
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "type",
|
|
1607
|
+
"description": "What it holds; text by default.",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "\"text\" | \"search\" | \"password\" | \"number\" | \"email\" | \"url\""
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1205
1612
|
{
|
|
1206
1613
|
"name": "value",
|
|
1207
|
-
"description": "
|
|
1614
|
+
"description": "Its text; setting it replaces what was typed.",
|
|
1208
1615
|
"type": {
|
|
1209
1616
|
"text": "string"
|
|
1210
1617
|
}
|
|
1211
1618
|
}
|
|
1212
1619
|
],
|
|
1213
1620
|
"members": [
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "method",
|
|
1623
|
+
"name": "checkValidity",
|
|
1624
|
+
"description": "Whether the native input satisfies its constraints.",
|
|
1625
|
+
"return": {
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "boolean"
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1214
1631
|
{
|
|
1215
1632
|
"kind": "field",
|
|
1216
1633
|
"name": "value",
|
|
1217
|
-
"description": "
|
|
1634
|
+
"description": "Its text.",
|
|
1218
1635
|
"type": {
|
|
1219
1636
|
"text": "string"
|
|
1220
1637
|
}
|
|
@@ -1251,22 +1668,22 @@
|
|
|
1251
1668
|
"description": "The hint; hidden when empty or when there is an error."
|
|
1252
1669
|
},
|
|
1253
1670
|
{
|
|
1254
|
-
"name": "
|
|
1255
|
-
"description": "The
|
|
1671
|
+
"name": "input",
|
|
1672
|
+
"description": "The native input."
|
|
1256
1673
|
},
|
|
1257
1674
|
{
|
|
1258
|
-
"name": "
|
|
1259
|
-
"description": "The
|
|
1675
|
+
"name": "label",
|
|
1676
|
+
"description": "The label's text."
|
|
1260
1677
|
}
|
|
1261
1678
|
],
|
|
1262
1679
|
"cssProperties": []
|
|
1263
1680
|
},
|
|
1264
1681
|
{
|
|
1265
1682
|
"kind": "class",
|
|
1266
|
-
"name": "
|
|
1267
|
-
"tagName": "omg-
|
|
1683
|
+
"name": "OmgTextarea",
|
|
1684
|
+
"tagName": "omg-textarea",
|
|
1268
1685
|
"customElement": true,
|
|
1269
|
-
"description": "`<omg-
|
|
1686
|
+
"description": "`<omg-textarea label value rows placeholder hint error>`: several lines of text.",
|
|
1270
1687
|
"superclass": {
|
|
1271
1688
|
"name": "HTMLElement",
|
|
1272
1689
|
"package": "global:"
|
|
@@ -1307,9 +1724,30 @@
|
|
|
1307
1724
|
"text": "string"
|
|
1308
1725
|
}
|
|
1309
1726
|
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "placeholder",
|
|
1729
|
+
"description": "Shown while it is empty.",
|
|
1730
|
+
"type": {
|
|
1731
|
+
"text": "string"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "readonly",
|
|
1736
|
+
"description": "Can be read and copied, not changed.",
|
|
1737
|
+
"type": {
|
|
1738
|
+
"text": "boolean"
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"name": "rows",
|
|
1743
|
+
"description": "How many lines it shows; 3 by default.",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "number"
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1310
1748
|
{
|
|
1311
1749
|
"name": "value",
|
|
1312
|
-
"description": "
|
|
1750
|
+
"description": "Its text; setting it replaces what was typed.",
|
|
1313
1751
|
"type": {
|
|
1314
1752
|
"text": "string"
|
|
1315
1753
|
}
|
|
@@ -1319,7 +1757,7 @@
|
|
|
1319
1757
|
{
|
|
1320
1758
|
"kind": "field",
|
|
1321
1759
|
"name": "value",
|
|
1322
|
-
"description": "
|
|
1760
|
+
"description": "Its text.",
|
|
1323
1761
|
"type": {
|
|
1324
1762
|
"text": "string"
|
|
1325
1763
|
}
|
|
@@ -1360,594 +1798,450 @@
|
|
|
1360
1798
|
"description": "The label's text."
|
|
1361
1799
|
},
|
|
1362
1800
|
{
|
|
1363
|
-
"name": "
|
|
1364
|
-
"description": "
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"name": "segments",
|
|
1368
|
-
"description": "The row of choices."
|
|
1801
|
+
"name": "textarea",
|
|
1802
|
+
"description": "The native textarea."
|
|
1369
1803
|
}
|
|
1370
1804
|
],
|
|
1371
1805
|
"cssProperties": []
|
|
1372
|
-
}
|
|
1373
|
-
],
|
|
1374
|
-
"exports": [
|
|
1375
|
-
{
|
|
1376
|
-
"kind": "custom-element-definition",
|
|
1377
|
-
"name": "omg-input",
|
|
1378
|
-
"declaration": {
|
|
1379
|
-
"name": "OmgInput",
|
|
1380
|
-
"module": "ui/1/forms.js"
|
|
1381
|
-
}
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"kind": "custom-element-definition",
|
|
1385
|
-
"name": "omg-textarea",
|
|
1386
|
-
"declaration": {
|
|
1387
|
-
"name": "OmgTextarea",
|
|
1388
|
-
"module": "ui/1/forms.js"
|
|
1389
|
-
}
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"kind": "custom-element-definition",
|
|
1393
|
-
"name": "omg-switch",
|
|
1394
|
-
"declaration": {
|
|
1395
|
-
"name": "OmgSwitch",
|
|
1396
|
-
"module": "ui/1/forms.js"
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
"kind": "custom-element-definition",
|
|
1401
|
-
"name": "omg-checkbox",
|
|
1402
|
-
"declaration": {
|
|
1403
|
-
"name": "OmgCheckbox",
|
|
1404
|
-
"module": "ui/1/forms.js"
|
|
1405
|
-
}
|
|
1406
1806
|
},
|
|
1407
|
-
{
|
|
1408
|
-
"kind": "custom-element-definition",
|
|
1409
|
-
"name": "omg-select",
|
|
1410
|
-
"declaration": {
|
|
1411
|
-
"name": "OmgSelect",
|
|
1412
|
-
"module": "ui/1/forms.js"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"kind": "custom-element-definition",
|
|
1417
|
-
"name": "omg-segmented",
|
|
1418
|
-
"declaration": {
|
|
1419
|
-
"name": "OmgSegmented",
|
|
1420
|
-
"module": "ui/1/forms.js"
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
]
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
"kind": "javascript-module",
|
|
1427
|
-
"path": "ui/1/layout.js",
|
|
1428
|
-
"declarations": [
|
|
1429
1807
|
{
|
|
1430
1808
|
"kind": "class",
|
|
1431
|
-
"name": "
|
|
1432
|
-
"tagName": "omg-
|
|
1809
|
+
"name": "OmgSwitch",
|
|
1810
|
+
"tagName": "omg-switch",
|
|
1433
1811
|
"customElement": true,
|
|
1434
|
-
"description": "`<omg-
|
|
1812
|
+
"description": "`<omg-switch label checked hint>`: turns a setting on or off at once, with its label at the row's start and the switch at its end.",
|
|
1435
1813
|
"superclass": {
|
|
1436
1814
|
"name": "HTMLElement",
|
|
1437
1815
|
"package": "global:"
|
|
1438
1816
|
},
|
|
1439
1817
|
"attributes": [
|
|
1440
1818
|
{
|
|
1441
|
-
"name": "
|
|
1442
|
-
"description": "
|
|
1819
|
+
"name": "aria-label",
|
|
1820
|
+
"description": "Its name, without a label.",
|
|
1443
1821
|
"type": {
|
|
1444
1822
|
"text": "string"
|
|
1445
1823
|
}
|
|
1446
1824
|
},
|
|
1447
1825
|
{
|
|
1448
|
-
"name": "
|
|
1449
|
-
"description": "
|
|
1826
|
+
"name": "checked",
|
|
1827
|
+
"description": "It is on.",
|
|
1450
1828
|
"type": {
|
|
1451
|
-
"text": "
|
|
1829
|
+
"text": "boolean"
|
|
1452
1830
|
}
|
|
1453
1831
|
},
|
|
1454
1832
|
{
|
|
1455
|
-
"name": "
|
|
1456
|
-
"description": "
|
|
1833
|
+
"name": "disabled",
|
|
1834
|
+
"description": "Can't be changed.",
|
|
1457
1835
|
"type": {
|
|
1458
1836
|
"text": "boolean"
|
|
1459
1837
|
}
|
|
1460
|
-
}
|
|
1461
|
-
],
|
|
1462
|
-
"members": [],
|
|
1463
|
-
"events": [],
|
|
1464
|
-
"slots": [
|
|
1465
|
-
{
|
|
1466
|
-
"name": "",
|
|
1467
|
-
"description": "The page's sections."
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "actions",
|
|
1471
|
-
"description": "Buttons beside the heading."
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"name": "brand",
|
|
1475
|
-
"description": "A logo before the heading."
|
|
1476
|
-
}
|
|
1477
|
-
],
|
|
1478
|
-
"cssParts": [
|
|
1479
|
-
{
|
|
1480
|
-
"name": "body",
|
|
1481
|
-
"description": "The column of sections."
|
|
1482
1838
|
},
|
|
1483
1839
|
{
|
|
1484
|
-
"name": "
|
|
1485
|
-
"description": "
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
"description": "The row of the brand, titles and actions; hidden when empty."
|
|
1840
|
+
"name": "error",
|
|
1841
|
+
"description": "What's wrong with its value.",
|
|
1842
|
+
"type": {
|
|
1843
|
+
"text": "string"
|
|
1844
|
+
}
|
|
1490
1845
|
},
|
|
1491
1846
|
{
|
|
1492
|
-
"name": "
|
|
1493
|
-
"description": "
|
|
1494
|
-
}
|
|
1495
|
-
],
|
|
1496
|
-
"cssProperties": []
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"kind": "class",
|
|
1500
|
-
"name": "OmgSection",
|
|
1501
|
-
"tagName": "omg-section",
|
|
1502
|
-
"customElement": true,
|
|
1503
|
-
"description": "`<omg-section heading description>`: a titled group of content. Slots: `actions` beside the heading, and the section's content.",
|
|
1504
|
-
"superclass": {
|
|
1505
|
-
"name": "HTMLElement",
|
|
1506
|
-
"package": "global:"
|
|
1507
|
-
},
|
|
1508
|
-
"attributes": [
|
|
1509
|
-
{
|
|
1510
|
-
"name": "description",
|
|
1511
|
-
"description": "A line under the title.",
|
|
1847
|
+
"name": "hint",
|
|
1848
|
+
"description": "A line under it; an error takes its place.",
|
|
1512
1849
|
"type": {
|
|
1513
1850
|
"text": "string"
|
|
1514
1851
|
}
|
|
1515
1852
|
},
|
|
1516
1853
|
{
|
|
1517
|
-
"name": "
|
|
1518
|
-
"description": "
|
|
1854
|
+
"name": "label",
|
|
1855
|
+
"description": "Shown with it.",
|
|
1519
1856
|
"type": {
|
|
1520
1857
|
"text": "string"
|
|
1521
1858
|
}
|
|
1522
1859
|
}
|
|
1523
1860
|
],
|
|
1524
|
-
"members": [
|
|
1525
|
-
"events": [],
|
|
1526
|
-
"slots": [
|
|
1861
|
+
"members": [
|
|
1527
1862
|
{
|
|
1528
|
-
"
|
|
1529
|
-
"
|
|
1863
|
+
"kind": "field",
|
|
1864
|
+
"name": "checked",
|
|
1865
|
+
"description": "It is on.",
|
|
1866
|
+
"type": {
|
|
1867
|
+
"text": "boolean"
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
],
|
|
1871
|
+
"events": [
|
|
1872
|
+
{
|
|
1873
|
+
"name": "change",
|
|
1874
|
+
"description": "The person changed it.",
|
|
1875
|
+
"type": {
|
|
1876
|
+
"text": "Event"
|
|
1877
|
+
}
|
|
1530
1878
|
},
|
|
1531
1879
|
{
|
|
1532
|
-
"name": "
|
|
1533
|
-
"description": "
|
|
1880
|
+
"name": "input",
|
|
1881
|
+
"description": "The person is changing it.",
|
|
1882
|
+
"type": {
|
|
1883
|
+
"text": "Event"
|
|
1884
|
+
}
|
|
1534
1885
|
}
|
|
1535
1886
|
],
|
|
1887
|
+
"slots": [],
|
|
1536
1888
|
"cssParts": [
|
|
1537
1889
|
{
|
|
1538
|
-
"name": "
|
|
1539
|
-
"description": "The
|
|
1890
|
+
"name": "error",
|
|
1891
|
+
"description": "The error; hidden when empty."
|
|
1540
1892
|
},
|
|
1541
1893
|
{
|
|
1542
|
-
"name": "
|
|
1543
|
-
"description": "The
|
|
1894
|
+
"name": "field",
|
|
1895
|
+
"description": "The label around it."
|
|
1544
1896
|
},
|
|
1545
1897
|
{
|
|
1546
|
-
"name": "
|
|
1547
|
-
"description": "The
|
|
1898
|
+
"name": "hint",
|
|
1899
|
+
"description": "The hint; hidden when empty or when there is an error."
|
|
1548
1900
|
},
|
|
1549
1901
|
{
|
|
1550
|
-
"name": "
|
|
1551
|
-
"description": "The
|
|
1902
|
+
"name": "label",
|
|
1903
|
+
"description": "The label's text."
|
|
1552
1904
|
},
|
|
1553
1905
|
{
|
|
1554
|
-
"name": "
|
|
1555
|
-
"description": "The
|
|
1906
|
+
"name": "switch",
|
|
1907
|
+
"description": "The native checkbox."
|
|
1556
1908
|
}
|
|
1557
1909
|
],
|
|
1558
|
-
"cssProperties": [
|
|
1910
|
+
"cssProperties": [
|
|
1911
|
+
{
|
|
1912
|
+
"name": "--omg-accent",
|
|
1913
|
+
"description": "The plugin's brand colour, for the switch when on."
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "--omg-on-accent",
|
|
1917
|
+
"description": "The colour of the thumb when on."
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1559
1920
|
},
|
|
1560
1921
|
{
|
|
1561
1922
|
"kind": "class",
|
|
1562
|
-
"name": "
|
|
1563
|
-
"tagName": "omg-
|
|
1923
|
+
"name": "OmgCheckbox",
|
|
1924
|
+
"tagName": "omg-checkbox",
|
|
1564
1925
|
"customElement": true,
|
|
1565
|
-
"description": "`<omg-
|
|
1926
|
+
"description": "`<omg-checkbox label checked hint>`: a choice that takes effect with the rest of a form, with the box before its label.",
|
|
1566
1927
|
"superclass": {
|
|
1567
1928
|
"name": "HTMLElement",
|
|
1568
1929
|
"package": "global:"
|
|
1569
1930
|
},
|
|
1570
1931
|
"attributes": [
|
|
1571
1932
|
{
|
|
1572
|
-
"name": "
|
|
1573
|
-
"description": "
|
|
1933
|
+
"name": "aria-label",
|
|
1934
|
+
"description": "Its name, without a label.",
|
|
1574
1935
|
"type": {
|
|
1575
|
-
"text": "
|
|
1936
|
+
"text": "string"
|
|
1576
1937
|
}
|
|
1577
1938
|
},
|
|
1578
1939
|
{
|
|
1579
|
-
"name": "
|
|
1580
|
-
"description": "
|
|
1940
|
+
"name": "checked",
|
|
1941
|
+
"description": "It is on.",
|
|
1581
1942
|
"type": {
|
|
1582
|
-
"text": "
|
|
1943
|
+
"text": "boolean"
|
|
1583
1944
|
}
|
|
1584
1945
|
},
|
|
1585
1946
|
{
|
|
1586
|
-
"name": "
|
|
1587
|
-
"description": "
|
|
1947
|
+
"name": "disabled",
|
|
1948
|
+
"description": "Can't be changed.",
|
|
1588
1949
|
"type": {
|
|
1589
|
-
"text": "
|
|
1950
|
+
"text": "boolean"
|
|
1590
1951
|
}
|
|
1591
1952
|
},
|
|
1592
1953
|
{
|
|
1593
|
-
"name": "
|
|
1594
|
-
"description": "
|
|
1954
|
+
"name": "error",
|
|
1955
|
+
"description": "What's wrong with its value.",
|
|
1595
1956
|
"type": {
|
|
1596
|
-
"text": "
|
|
1957
|
+
"text": "string"
|
|
1597
1958
|
}
|
|
1598
1959
|
},
|
|
1599
1960
|
{
|
|
1600
|
-
"name": "
|
|
1601
|
-
"description": "
|
|
1961
|
+
"name": "hint",
|
|
1962
|
+
"description": "A line under it; an error takes its place.",
|
|
1602
1963
|
"type": {
|
|
1603
|
-
"text": "
|
|
1964
|
+
"text": "string"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"name": "label",
|
|
1969
|
+
"description": "Shown with it.",
|
|
1970
|
+
"type": {
|
|
1971
|
+
"text": "string"
|
|
1604
1972
|
}
|
|
1605
1973
|
}
|
|
1606
1974
|
],
|
|
1607
|
-
"members": [
|
|
1608
|
-
"events": [],
|
|
1609
|
-
"slots": [
|
|
1975
|
+
"members": [
|
|
1610
1976
|
{
|
|
1611
|
-
"
|
|
1612
|
-
"
|
|
1977
|
+
"kind": "field",
|
|
1978
|
+
"name": "checked",
|
|
1979
|
+
"description": "It is on.",
|
|
1980
|
+
"type": {
|
|
1981
|
+
"text": "boolean"
|
|
1982
|
+
}
|
|
1613
1983
|
}
|
|
1614
1984
|
],
|
|
1615
|
-
"
|
|
1616
|
-
"cssProperties": []
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"kind": "class",
|
|
1620
|
-
"name": "OmgEmpty",
|
|
1621
|
-
"tagName": "omg-empty",
|
|
1622
|
-
"customElement": true,
|
|
1623
|
-
"description": "`<omg-empty heading description>`: what a page shows when it has nothing yet. Slots: `icon`, and actions as its content.",
|
|
1624
|
-
"superclass": {
|
|
1625
|
-
"name": "HTMLElement",
|
|
1626
|
-
"package": "global:"
|
|
1627
|
-
},
|
|
1628
|
-
"attributes": [
|
|
1985
|
+
"events": [
|
|
1629
1986
|
{
|
|
1630
|
-
"name": "
|
|
1631
|
-
"description": "
|
|
1987
|
+
"name": "change",
|
|
1988
|
+
"description": "The person changed it.",
|
|
1632
1989
|
"type": {
|
|
1633
|
-
"text": "
|
|
1990
|
+
"text": "Event"
|
|
1634
1991
|
}
|
|
1635
1992
|
},
|
|
1636
1993
|
{
|
|
1637
|
-
"name": "
|
|
1638
|
-
"description": "
|
|
1994
|
+
"name": "input",
|
|
1995
|
+
"description": "The person is changing it.",
|
|
1639
1996
|
"type": {
|
|
1640
|
-
"text": "
|
|
1997
|
+
"text": "Event"
|
|
1641
1998
|
}
|
|
1642
1999
|
}
|
|
1643
2000
|
],
|
|
1644
|
-
"
|
|
1645
|
-
"
|
|
1646
|
-
"slots": [
|
|
2001
|
+
"slots": [],
|
|
2002
|
+
"cssParts": [
|
|
1647
2003
|
{
|
|
1648
|
-
"name": "",
|
|
1649
|
-
"description": "
|
|
2004
|
+
"name": "checkbox",
|
|
2005
|
+
"description": "The native checkbox."
|
|
1650
2006
|
},
|
|
1651
2007
|
{
|
|
1652
|
-
"name": "
|
|
1653
|
-
"description": "
|
|
1654
|
-
}
|
|
1655
|
-
],
|
|
1656
|
-
"cssParts": [
|
|
1657
|
-
{
|
|
1658
|
-
"name": "actions",
|
|
1659
|
-
"description": "The actions' row; hidden when empty."
|
|
2008
|
+
"name": "error",
|
|
2009
|
+
"description": "The error; hidden when empty."
|
|
1660
2010
|
},
|
|
1661
2011
|
{
|
|
1662
|
-
"name": "
|
|
1663
|
-
"description": "The
|
|
2012
|
+
"name": "field",
|
|
2013
|
+
"description": "The label around it."
|
|
1664
2014
|
},
|
|
1665
2015
|
{
|
|
1666
|
-
"name": "
|
|
1667
|
-
"description": "The
|
|
2016
|
+
"name": "hint",
|
|
2017
|
+
"description": "The hint; hidden when empty or when there is an error."
|
|
1668
2018
|
},
|
|
1669
2019
|
{
|
|
1670
|
-
"name": "
|
|
1671
|
-
"description": "The
|
|
2020
|
+
"name": "label",
|
|
2021
|
+
"description": "The label's text."
|
|
1672
2022
|
}
|
|
1673
2023
|
],
|
|
1674
|
-
"cssProperties": [
|
|
2024
|
+
"cssProperties": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "--omg-accent",
|
|
2027
|
+
"description": "The plugin's brand colour, for the box when checked."
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "--omg-on-accent",
|
|
2031
|
+
"description": "The colour of the check."
|
|
2032
|
+
}
|
|
2033
|
+
]
|
|
1675
2034
|
},
|
|
1676
2035
|
{
|
|
1677
2036
|
"kind": "class",
|
|
1678
|
-
"name": "
|
|
1679
|
-
"tagName": "omg-
|
|
2037
|
+
"name": "OmgSelect",
|
|
2038
|
+
"tagName": "omg-select",
|
|
1680
2039
|
"customElement": true,
|
|
1681
|
-
"description": "`<omg-
|
|
2040
|
+
"description": "`<omg-select label value hint error disabled>` with `<option>` children: the app's dropdown. Its list stays inside the panel and scrolls.",
|
|
1682
2041
|
"superclass": {
|
|
1683
2042
|
"name": "HTMLElement",
|
|
1684
2043
|
"package": "global:"
|
|
1685
2044
|
},
|
|
1686
2045
|
"attributes": [
|
|
1687
2046
|
{
|
|
1688
|
-
"name": "
|
|
1689
|
-
"description": "
|
|
2047
|
+
"name": "aria-label",
|
|
2048
|
+
"description": "Its name, without a label.",
|
|
1690
2049
|
"type": {
|
|
1691
|
-
"text": "
|
|
2050
|
+
"text": "string"
|
|
1692
2051
|
}
|
|
1693
2052
|
},
|
|
1694
2053
|
{
|
|
1695
|
-
"name": "
|
|
1696
|
-
"description": "
|
|
2054
|
+
"name": "disabled",
|
|
2055
|
+
"description": "Can't be changed.",
|
|
1697
2056
|
"type": {
|
|
1698
|
-
"text": "
|
|
2057
|
+
"text": "boolean"
|
|
1699
2058
|
}
|
|
1700
2059
|
},
|
|
1701
2060
|
{
|
|
1702
|
-
"name": "
|
|
1703
|
-
"description": "
|
|
2061
|
+
"name": "error",
|
|
2062
|
+
"description": "What's wrong with its value.",
|
|
1704
2063
|
"type": {
|
|
1705
|
-
"text": "
|
|
2064
|
+
"text": "string"
|
|
1706
2065
|
}
|
|
1707
|
-
}
|
|
1708
|
-
],
|
|
1709
|
-
"members": [],
|
|
1710
|
-
"events": [],
|
|
1711
|
-
"slots": [
|
|
2066
|
+
},
|
|
1712
2067
|
{
|
|
1713
|
-
"name": "",
|
|
1714
|
-
"description": "
|
|
2068
|
+
"name": "hint",
|
|
2069
|
+
"description": "A line under it; an error takes its place.",
|
|
2070
|
+
"type": {
|
|
2071
|
+
"text": "string"
|
|
2072
|
+
}
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "label",
|
|
2076
|
+
"description": "Shown with it.",
|
|
2077
|
+
"type": {
|
|
2078
|
+
"text": "string"
|
|
2079
|
+
}
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "value",
|
|
2083
|
+
"description": "The chosen option's value.",
|
|
2084
|
+
"type": {
|
|
2085
|
+
"text": "string"
|
|
2086
|
+
}
|
|
1715
2087
|
}
|
|
1716
2088
|
],
|
|
1717
|
-
"
|
|
2089
|
+
"members": [
|
|
1718
2090
|
{
|
|
1719
|
-
"
|
|
1720
|
-
"
|
|
2091
|
+
"kind": "field",
|
|
2092
|
+
"name": "value",
|
|
2093
|
+
"description": "The chosen option's value.",
|
|
2094
|
+
"type": {
|
|
2095
|
+
"text": "string"
|
|
2096
|
+
}
|
|
1721
2097
|
}
|
|
1722
2098
|
],
|
|
1723
|
-
"
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"kind": "class",
|
|
1727
|
-
"name": "OmgSplit",
|
|
1728
|
-
"tagName": "omg-split",
|
|
1729
|
-
"customElement": true,
|
|
1730
|
-
"description": "`<omg-split side side-width>`: a sidebar beside the main content, which go one above the other when there isn't room for both.",
|
|
1731
|
-
"superclass": {
|
|
1732
|
-
"name": "HTMLElement",
|
|
1733
|
-
"package": "global:"
|
|
1734
|
-
},
|
|
1735
|
-
"attributes": [
|
|
2099
|
+
"events": [
|
|
1736
2100
|
{
|
|
1737
|
-
"name": "
|
|
1738
|
-
"description": "
|
|
2101
|
+
"name": "change",
|
|
2102
|
+
"description": "The person changed it.",
|
|
1739
2103
|
"type": {
|
|
1740
|
-
"text": "
|
|
2104
|
+
"text": "Event"
|
|
1741
2105
|
}
|
|
1742
2106
|
},
|
|
1743
2107
|
{
|
|
1744
|
-
"name": "
|
|
1745
|
-
"description": "The
|
|
2108
|
+
"name": "input",
|
|
2109
|
+
"description": "The person is changing it.",
|
|
1746
2110
|
"type": {
|
|
1747
|
-
"text": "
|
|
2111
|
+
"text": "Event"
|
|
1748
2112
|
}
|
|
1749
2113
|
}
|
|
1750
2114
|
],
|
|
1751
|
-
"
|
|
1752
|
-
"
|
|
1753
|
-
"slots": [
|
|
2115
|
+
"slots": [],
|
|
2116
|
+
"cssParts": [
|
|
1754
2117
|
{
|
|
1755
|
-
"name": "",
|
|
1756
|
-
"description": "The
|
|
2118
|
+
"name": "error",
|
|
2119
|
+
"description": "The error; hidden when empty."
|
|
1757
2120
|
},
|
|
1758
2121
|
{
|
|
1759
|
-
"name": "
|
|
1760
|
-
"description": "The
|
|
1761
|
-
}
|
|
1762
|
-
],
|
|
1763
|
-
"cssParts": [
|
|
2122
|
+
"name": "field",
|
|
2123
|
+
"description": "The label around it."
|
|
2124
|
+
},
|
|
1764
2125
|
{
|
|
1765
|
-
"name": "
|
|
1766
|
-
"description": "The
|
|
2126
|
+
"name": "hint",
|
|
2127
|
+
"description": "The hint; hidden when empty or when there is an error."
|
|
1767
2128
|
},
|
|
1768
2129
|
{
|
|
1769
|
-
"name": "
|
|
1770
|
-
"description": "The
|
|
2130
|
+
"name": "label",
|
|
2131
|
+
"description": "The label's text."
|
|
1771
2132
|
},
|
|
1772
2133
|
{
|
|
1773
|
-
"name": "
|
|
1774
|
-
"description": "The
|
|
2134
|
+
"name": "select",
|
|
2135
|
+
"description": "The native select."
|
|
1775
2136
|
}
|
|
1776
2137
|
],
|
|
1777
2138
|
"cssProperties": []
|
|
1778
2139
|
},
|
|
1779
2140
|
{
|
|
1780
2141
|
"kind": "class",
|
|
1781
|
-
"name": "
|
|
1782
|
-
"tagName": "omg-
|
|
2142
|
+
"name": "OmgSegmented",
|
|
2143
|
+
"tagName": "omg-segmented",
|
|
1783
2144
|
"customElement": true,
|
|
1784
|
-
"description": "`<omg-
|
|
2145
|
+
"description": "`<omg-segmented label value hint error disabled>` with `<option>` children: a few choices side by side, all in view. Arrow keys move between them.",
|
|
1785
2146
|
"superclass": {
|
|
1786
2147
|
"name": "HTMLElement",
|
|
1787
2148
|
"package": "global:"
|
|
1788
2149
|
},
|
|
1789
2150
|
"attributes": [
|
|
1790
2151
|
{
|
|
1791
|
-
"name": "
|
|
1792
|
-
"description": "
|
|
2152
|
+
"name": "aria-label",
|
|
2153
|
+
"description": "Its name, without a label.",
|
|
1793
2154
|
"type": {
|
|
1794
2155
|
"text": "string"
|
|
1795
2156
|
}
|
|
1796
2157
|
},
|
|
1797
2158
|
{
|
|
1798
|
-
"name": "
|
|
1799
|
-
"description": "
|
|
2159
|
+
"name": "disabled",
|
|
2160
|
+
"description": "Can't be changed.",
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "boolean"
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "error",
|
|
2167
|
+
"description": "What's wrong with its value.",
|
|
2168
|
+
"type": {
|
|
2169
|
+
"text": "string"
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "hint",
|
|
2174
|
+
"description": "A line under it; an error takes its place.",
|
|
2175
|
+
"type": {
|
|
2176
|
+
"text": "string"
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "label",
|
|
2181
|
+
"description": "Shown with it.",
|
|
2182
|
+
"type": {
|
|
2183
|
+
"text": "string"
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
"name": "value",
|
|
2188
|
+
"description": "The chosen option's value.",
|
|
1800
2189
|
"type": {
|
|
1801
2190
|
"text": "string"
|
|
1802
2191
|
}
|
|
1803
2192
|
}
|
|
1804
2193
|
],
|
|
1805
|
-
"members": [
|
|
1806
|
-
"events": [],
|
|
1807
|
-
"slots": [
|
|
2194
|
+
"members": [
|
|
1808
2195
|
{
|
|
1809
|
-
"
|
|
1810
|
-
"
|
|
2196
|
+
"kind": "field",
|
|
2197
|
+
"name": "value",
|
|
2198
|
+
"description": "The chosen option's value.",
|
|
2199
|
+
"type": {
|
|
2200
|
+
"text": "string"
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
],
|
|
2204
|
+
"events": [
|
|
2205
|
+
{
|
|
2206
|
+
"name": "change",
|
|
2207
|
+
"description": "The person changed it.",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "Event"
|
|
2210
|
+
}
|
|
1811
2211
|
},
|
|
1812
2212
|
{
|
|
1813
|
-
"name": "
|
|
1814
|
-
"description": "
|
|
2213
|
+
"name": "input",
|
|
2214
|
+
"description": "The person is changing it.",
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "Event"
|
|
2217
|
+
}
|
|
1815
2218
|
}
|
|
1816
2219
|
],
|
|
2220
|
+
"slots": [],
|
|
1817
2221
|
"cssParts": [
|
|
1818
2222
|
{
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The
|
|
2223
|
+
"name": "error",
|
|
2224
|
+
"description": "The error; hidden when empty."
|
|
1821
2225
|
},
|
|
1822
2226
|
{
|
|
1823
|
-
"name": "
|
|
1824
|
-
"description": "The
|
|
2227
|
+
"name": "field",
|
|
2228
|
+
"description": "The label around it."
|
|
1825
2229
|
},
|
|
1826
2230
|
{
|
|
1827
|
-
"name": "
|
|
1828
|
-
"description": "The
|
|
1829
|
-
},
|
|
1830
|
-
{
|
|
1831
|
-
"name": "heading",
|
|
1832
|
-
"description": "The title."
|
|
1833
|
-
}
|
|
1834
|
-
],
|
|
1835
|
-
"cssProperties": []
|
|
1836
|
-
},
|
|
1837
|
-
{
|
|
1838
|
-
"kind": "class",
|
|
1839
|
-
"name": "OmgList",
|
|
1840
|
-
"tagName": "omg-list",
|
|
1841
|
-
"customElement": true,
|
|
1842
|
-
"description": "`<omg-list>`: rows of `omg-list-item`, with a hairline between them.",
|
|
1843
|
-
"superclass": {
|
|
1844
|
-
"name": "HTMLElement",
|
|
1845
|
-
"package": "global:"
|
|
1846
|
-
},
|
|
1847
|
-
"attributes": [],
|
|
1848
|
-
"members": [],
|
|
1849
|
-
"events": [],
|
|
1850
|
-
"slots": [
|
|
1851
|
-
{
|
|
1852
|
-
"name": "",
|
|
1853
|
-
"description": "The `omg-list-item` children."
|
|
1854
|
-
}
|
|
1855
|
-
],
|
|
1856
|
-
"cssParts": [],
|
|
1857
|
-
"cssProperties": []
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "class",
|
|
1861
|
-
"name": "OmgListItem",
|
|
1862
|
-
"tagName": "omg-list-item",
|
|
1863
|
-
"customElement": true,
|
|
1864
|
-
"description": "`<omg-list-item heading description>`: a row: an icon, a title and a line under it, then a value and buttons at its end.",
|
|
1865
|
-
"superclass": {
|
|
1866
|
-
"name": "HTMLElement",
|
|
1867
|
-
"package": "global:"
|
|
1868
|
-
},
|
|
1869
|
-
"attributes": [
|
|
1870
|
-
{
|
|
1871
|
-
"name": "description",
|
|
1872
|
-
"description": "A line under the title.",
|
|
1873
|
-
"type": {
|
|
1874
|
-
"text": "string"
|
|
1875
|
-
}
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"name": "heading",
|
|
1879
|
-
"description": "The row's title.",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "string"
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
],
|
|
1885
|
-
"members": [],
|
|
1886
|
-
"events": [],
|
|
1887
|
-
"slots": [
|
|
1888
|
-
{
|
|
1889
|
-
"name": "",
|
|
1890
|
-
"description": "The row's value, at its end."
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
"name": "actions",
|
|
1894
|
-
"description": "Buttons at its end, after the value."
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"name": "leading",
|
|
1898
|
-
"description": "An icon or picture before the title; an `omg-image` is drawn as a 40px thumbnail."
|
|
1899
|
-
}
|
|
1900
|
-
],
|
|
1901
|
-
"cssParts": [
|
|
1902
|
-
{
|
|
1903
|
-
"name": "actions",
|
|
1904
|
-
"description": "The buttons' place; hidden when empty."
|
|
1905
|
-
},
|
|
1906
|
-
{
|
|
1907
|
-
"name": "description",
|
|
1908
|
-
"description": "The line under the title."
|
|
2231
|
+
"name": "hint",
|
|
2232
|
+
"description": "The hint; hidden when empty or when there is an error."
|
|
1909
2233
|
},
|
|
1910
2234
|
{
|
|
1911
|
-
"name": "
|
|
1912
|
-
"description": "The
|
|
2235
|
+
"name": "label",
|
|
2236
|
+
"description": "The label's text."
|
|
1913
2237
|
},
|
|
1914
2238
|
{
|
|
1915
|
-
"name": "
|
|
1916
|
-
"description": "
|
|
2239
|
+
"name": "segment",
|
|
2240
|
+
"description": "One choice."
|
|
1917
2241
|
},
|
|
1918
2242
|
{
|
|
1919
|
-
"name": "
|
|
1920
|
-
"description": "The
|
|
1921
|
-
}
|
|
1922
|
-
],
|
|
1923
|
-
"cssProperties": []
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"kind": "class",
|
|
1927
|
-
"name": "OmgDivider",
|
|
1928
|
-
"tagName": "omg-divider",
|
|
1929
|
-
"customElement": true,
|
|
1930
|
-
"description": "`<omg-divider label>`: a hairline between groups, with an optional label on it.",
|
|
1931
|
-
"superclass": {
|
|
1932
|
-
"name": "HTMLElement",
|
|
1933
|
-
"package": "global:"
|
|
1934
|
-
},
|
|
1935
|
-
"attributes": [
|
|
1936
|
-
{
|
|
1937
|
-
"name": "label",
|
|
1938
|
-
"description": "Text on the line.",
|
|
1939
|
-
"type": {
|
|
1940
|
-
"text": "string"
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
],
|
|
1944
|
-
"members": [],
|
|
1945
|
-
"events": [],
|
|
1946
|
-
"slots": [],
|
|
1947
|
-
"cssParts": [
|
|
1948
|
-
{
|
|
1949
|
-
"name": "label",
|
|
1950
|
-
"description": "The label; hidden when empty."
|
|
2243
|
+
"name": "segments",
|
|
2244
|
+
"description": "The row of choices."
|
|
1951
2245
|
}
|
|
1952
2246
|
],
|
|
1953
2247
|
"cssProperties": []
|
|
@@ -1956,514 +2250,1664 @@
|
|
|
1956
2250
|
"exports": [
|
|
1957
2251
|
{
|
|
1958
2252
|
"kind": "custom-element-definition",
|
|
1959
|
-
"name": "omg-
|
|
2253
|
+
"name": "omg-file-picker",
|
|
1960
2254
|
"declaration": {
|
|
1961
|
-
"name": "
|
|
1962
|
-
"module": "ui/1/
|
|
2255
|
+
"name": "OmgFilePicker",
|
|
2256
|
+
"module": "ui/1/forms.js"
|
|
1963
2257
|
}
|
|
1964
2258
|
},
|
|
1965
2259
|
{
|
|
1966
2260
|
"kind": "custom-element-definition",
|
|
1967
|
-
"name": "omg-
|
|
2261
|
+
"name": "omg-slider",
|
|
1968
2262
|
"declaration": {
|
|
1969
|
-
"name": "
|
|
1970
|
-
"module": "ui/1/
|
|
2263
|
+
"name": "OmgSlider",
|
|
2264
|
+
"module": "ui/1/forms.js"
|
|
1971
2265
|
}
|
|
1972
2266
|
},
|
|
1973
2267
|
{
|
|
1974
2268
|
"kind": "custom-element-definition",
|
|
1975
|
-
"name": "omg-
|
|
2269
|
+
"name": "omg-radio-group",
|
|
1976
2270
|
"declaration": {
|
|
1977
|
-
"name": "
|
|
1978
|
-
"module": "ui/1/
|
|
2271
|
+
"name": "OmgRadioGroup",
|
|
2272
|
+
"module": "ui/1/forms.js"
|
|
1979
2273
|
}
|
|
1980
2274
|
},
|
|
1981
2275
|
{
|
|
1982
2276
|
"kind": "custom-element-definition",
|
|
1983
|
-
"name": "omg-
|
|
2277
|
+
"name": "omg-combobox",
|
|
1984
2278
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "ui/1/
|
|
2279
|
+
"name": "OmgCombobox",
|
|
2280
|
+
"module": "ui/1/forms.js"
|
|
1987
2281
|
}
|
|
1988
2282
|
},
|
|
1989
2283
|
{
|
|
1990
2284
|
"kind": "custom-element-definition",
|
|
1991
|
-
"name": "omg-
|
|
2285
|
+
"name": "omg-input",
|
|
1992
2286
|
"declaration": {
|
|
1993
|
-
"name": "
|
|
1994
|
-
"module": "ui/1/
|
|
2287
|
+
"name": "OmgInput",
|
|
2288
|
+
"module": "ui/1/forms.js"
|
|
1995
2289
|
}
|
|
1996
2290
|
},
|
|
1997
2291
|
{
|
|
1998
2292
|
"kind": "custom-element-definition",
|
|
1999
|
-
"name": "omg-
|
|
2293
|
+
"name": "omg-textarea",
|
|
2000
2294
|
"declaration": {
|
|
2001
|
-
"name": "
|
|
2002
|
-
"module": "ui/1/
|
|
2295
|
+
"name": "OmgTextarea",
|
|
2296
|
+
"module": "ui/1/forms.js"
|
|
2003
2297
|
}
|
|
2004
2298
|
},
|
|
2005
2299
|
{
|
|
2006
2300
|
"kind": "custom-element-definition",
|
|
2007
|
-
"name": "omg-
|
|
2301
|
+
"name": "omg-switch",
|
|
2008
2302
|
"declaration": {
|
|
2009
|
-
"name": "
|
|
2010
|
-
"module": "ui/1/
|
|
2303
|
+
"name": "OmgSwitch",
|
|
2304
|
+
"module": "ui/1/forms.js"
|
|
2011
2305
|
}
|
|
2012
2306
|
},
|
|
2013
2307
|
{
|
|
2014
2308
|
"kind": "custom-element-definition",
|
|
2015
|
-
"name": "omg-
|
|
2309
|
+
"name": "omg-checkbox",
|
|
2016
2310
|
"declaration": {
|
|
2017
|
-
"name": "
|
|
2018
|
-
"module": "ui/1/
|
|
2311
|
+
"name": "OmgCheckbox",
|
|
2312
|
+
"module": "ui/1/forms.js"
|
|
2019
2313
|
}
|
|
2020
2314
|
},
|
|
2021
2315
|
{
|
|
2022
2316
|
"kind": "custom-element-definition",
|
|
2023
|
-
"name": "omg-
|
|
2317
|
+
"name": "omg-select",
|
|
2024
2318
|
"declaration": {
|
|
2025
|
-
"name": "
|
|
2026
|
-
"module": "ui/1/
|
|
2319
|
+
"name": "OmgSelect",
|
|
2320
|
+
"module": "ui/1/forms.js"
|
|
2027
2321
|
}
|
|
2028
2322
|
},
|
|
2029
2323
|
{
|
|
2030
2324
|
"kind": "custom-element-definition",
|
|
2031
|
-
"name": "omg-
|
|
2325
|
+
"name": "omg-segmented",
|
|
2032
2326
|
"declaration": {
|
|
2033
|
-
"name": "
|
|
2034
|
-
"module": "ui/1/
|
|
2327
|
+
"name": "OmgSegmented",
|
|
2328
|
+
"module": "ui/1/forms.js"
|
|
2035
2329
|
}
|
|
2036
2330
|
}
|
|
2037
2331
|
]
|
|
2038
2332
|
},
|
|
2039
2333
|
{
|
|
2040
2334
|
"kind": "javascript-module",
|
|
2041
|
-
"path": "ui/1/
|
|
2335
|
+
"path": "ui/1/layout.js",
|
|
2042
2336
|
"declarations": [
|
|
2043
2337
|
{
|
|
2044
2338
|
"kind": "class",
|
|
2045
|
-
"name": "
|
|
2046
|
-
"tagName": "omg-
|
|
2339
|
+
"name": "OmgPage",
|
|
2340
|
+
"tagName": "omg-page",
|
|
2047
2341
|
"customElement": true,
|
|
2048
|
-
"description": "`<omg-
|
|
2342
|
+
"description": "`<omg-page heading description wide>`: the page's column, centred and at most 720px wide, or the panel's whole width when `wide`. Slots: `brand` (a logo before the heading), `actions`, and the page's sections.",
|
|
2049
2343
|
"superclass": {
|
|
2050
2344
|
"name": "HTMLElement",
|
|
2051
2345
|
"package": "global:"
|
|
2052
2346
|
},
|
|
2053
2347
|
"attributes": [
|
|
2054
2348
|
{
|
|
2055
|
-
"name": "
|
|
2056
|
-
"description": "
|
|
2349
|
+
"name": "description",
|
|
2350
|
+
"description": "A line under the title.",
|
|
2057
2351
|
"type": {
|
|
2058
2352
|
"text": "string"
|
|
2059
2353
|
}
|
|
2060
2354
|
},
|
|
2061
2355
|
{
|
|
2062
|
-
"name": "
|
|
2063
|
-
"description": "
|
|
2064
|
-
"type": {
|
|
2065
|
-
"text": "boolean"
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
{
|
|
2069
|
-
"name": "file",
|
|
2070
|
-
"description": "A picture in the project, by its path there, in place of `src`; the plugin needs the `project.files` capability. Set it again to show the file as it is now.",
|
|
2356
|
+
"name": "heading",
|
|
2357
|
+
"description": "The page's title.",
|
|
2071
2358
|
"type": {
|
|
2072
2359
|
"text": "string"
|
|
2073
2360
|
}
|
|
2074
2361
|
},
|
|
2075
2362
|
{
|
|
2076
|
-
"name": "
|
|
2077
|
-
"description": "
|
|
2078
|
-
"type": {
|
|
2079
|
-
"text": "\"contain\" | \"cover\""
|
|
2080
|
-
}
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"name": "pixelated",
|
|
2084
|
-
"description": "Scales pixel art without smoothing it.",
|
|
2363
|
+
"name": "wide",
|
|
2364
|
+
"description": "Fills the panel's width, for a page with a sidebar or a grid.",
|
|
2085
2365
|
"type": {
|
|
2086
2366
|
"text": "boolean"
|
|
2087
2367
|
}
|
|
2368
|
+
}
|
|
2369
|
+
],
|
|
2370
|
+
"members": [],
|
|
2371
|
+
"events": [],
|
|
2372
|
+
"slots": [
|
|
2373
|
+
{
|
|
2374
|
+
"name": "",
|
|
2375
|
+
"description": "The page's sections."
|
|
2088
2376
|
},
|
|
2089
2377
|
{
|
|
2090
|
-
"name": "
|
|
2091
|
-
"description": "
|
|
2092
|
-
"type": {
|
|
2093
|
-
"text": "string"
|
|
2094
|
-
}
|
|
2378
|
+
"name": "actions",
|
|
2379
|
+
"description": "Buttons beside the heading."
|
|
2095
2380
|
},
|
|
2096
2381
|
{
|
|
2097
|
-
"name": "
|
|
2098
|
-
"description": "
|
|
2099
|
-
"type": {
|
|
2100
|
-
"text": "string"
|
|
2101
|
-
}
|
|
2382
|
+
"name": "brand",
|
|
2383
|
+
"description": "A logo before the heading."
|
|
2102
2384
|
}
|
|
2103
2385
|
],
|
|
2104
|
-
"
|
|
2386
|
+
"cssParts": [
|
|
2105
2387
|
{
|
|
2106
|
-
"
|
|
2107
|
-
"
|
|
2108
|
-
"description": "It has loaded, or failed to.",
|
|
2109
|
-
"type": {
|
|
2110
|
-
"text": "boolean"
|
|
2111
|
-
},
|
|
2112
|
-
"readonly": true
|
|
2388
|
+
"name": "body",
|
|
2389
|
+
"description": "The column of sections."
|
|
2113
2390
|
},
|
|
2114
2391
|
{
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
"description": "The picture's own height in pixels; 0 until it loads.",
|
|
2118
|
-
"type": {
|
|
2119
|
-
"text": "number"
|
|
2120
|
-
},
|
|
2121
|
-
"readonly": true
|
|
2392
|
+
"name": "description",
|
|
2393
|
+
"description": "The line under the title."
|
|
2122
2394
|
},
|
|
2123
2395
|
{
|
|
2124
|
-
"
|
|
2125
|
-
"
|
|
2126
|
-
|
|
2396
|
+
"name": "header",
|
|
2397
|
+
"description": "The row of the brand, titles and actions; hidden when empty."
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"name": "heading",
|
|
2401
|
+
"description": "The title."
|
|
2402
|
+
}
|
|
2403
|
+
],
|
|
2404
|
+
"cssProperties": []
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"kind": "class",
|
|
2408
|
+
"name": "OmgSection",
|
|
2409
|
+
"tagName": "omg-section",
|
|
2410
|
+
"customElement": true,
|
|
2411
|
+
"description": "`<omg-section heading description>`: a titled group of content. Slots: `actions` beside the heading, and the section's content.",
|
|
2412
|
+
"superclass": {
|
|
2413
|
+
"name": "HTMLElement",
|
|
2414
|
+
"package": "global:"
|
|
2415
|
+
},
|
|
2416
|
+
"attributes": [
|
|
2417
|
+
{
|
|
2418
|
+
"name": "description",
|
|
2419
|
+
"description": "A line under the title.",
|
|
2420
|
+
"type": {
|
|
2421
|
+
"text": "string"
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "heading",
|
|
2426
|
+
"description": "The section's title, which names it.",
|
|
2427
|
+
"type": {
|
|
2428
|
+
"text": "string"
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2432
|
+
"members": [],
|
|
2433
|
+
"events": [],
|
|
2434
|
+
"slots": [
|
|
2435
|
+
{
|
|
2436
|
+
"name": "",
|
|
2437
|
+
"description": "The section's content."
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"name": "actions",
|
|
2441
|
+
"description": "Buttons beside the heading."
|
|
2442
|
+
}
|
|
2443
|
+
],
|
|
2444
|
+
"cssParts": [
|
|
2445
|
+
{
|
|
2446
|
+
"name": "body",
|
|
2447
|
+
"description": "The column of content."
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"name": "description",
|
|
2451
|
+
"description": "The line under the title."
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"name": "header",
|
|
2455
|
+
"description": "The titles and actions; hidden when empty."
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"name": "heading",
|
|
2459
|
+
"description": "The title."
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"name": "section",
|
|
2463
|
+
"description": "The section."
|
|
2464
|
+
}
|
|
2465
|
+
],
|
|
2466
|
+
"cssProperties": []
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
"kind": "class",
|
|
2470
|
+
"name": "OmgStack",
|
|
2471
|
+
"tagName": "omg-stack",
|
|
2472
|
+
"customElement": true,
|
|
2473
|
+
"description": "`<omg-stack direction=\"row|column\" gap=\"1|2|3|4|6\" align justify wrap>`: lays its children out in a row or a column, spaced by the app's steps.",
|
|
2474
|
+
"superclass": {
|
|
2475
|
+
"name": "HTMLElement",
|
|
2476
|
+
"package": "global:"
|
|
2477
|
+
},
|
|
2478
|
+
"attributes": [
|
|
2479
|
+
{
|
|
2480
|
+
"name": "align",
|
|
2481
|
+
"description": "How children line up across it.",
|
|
2482
|
+
"type": {
|
|
2483
|
+
"text": "\"start\" | \"center\" | \"end\" | \"stretch\" | \"baseline\""
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"name": "direction",
|
|
2488
|
+
"description": "Column by default.",
|
|
2489
|
+
"type": {
|
|
2490
|
+
"text": "\"column\" | \"row\""
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"name": "gap",
|
|
2495
|
+
"description": "A space token; 4 for columns, 2 for rows by default.",
|
|
2496
|
+
"type": {
|
|
2497
|
+
"text": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"6\""
|
|
2498
|
+
}
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "justify",
|
|
2502
|
+
"description": "How children are spread along it.",
|
|
2503
|
+
"type": {
|
|
2504
|
+
"text": "\"start\" | \"center\" | \"end\" | \"between\""
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"name": "wrap",
|
|
2509
|
+
"description": "Lets a row wrap.",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "boolean"
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
],
|
|
2515
|
+
"members": [],
|
|
2516
|
+
"events": [],
|
|
2517
|
+
"slots": [
|
|
2518
|
+
{
|
|
2519
|
+
"name": "",
|
|
2520
|
+
"description": "The children."
|
|
2521
|
+
}
|
|
2522
|
+
],
|
|
2523
|
+
"cssParts": [],
|
|
2524
|
+
"cssProperties": []
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "class",
|
|
2528
|
+
"name": "OmgEmpty",
|
|
2529
|
+
"tagName": "omg-empty",
|
|
2530
|
+
"customElement": true,
|
|
2531
|
+
"description": "`<omg-empty heading description>`: what a page shows when it has nothing yet. Slots: `icon`, and actions as its content.",
|
|
2532
|
+
"superclass": {
|
|
2533
|
+
"name": "HTMLElement",
|
|
2534
|
+
"package": "global:"
|
|
2535
|
+
},
|
|
2536
|
+
"attributes": [
|
|
2537
|
+
{
|
|
2538
|
+
"name": "description",
|
|
2539
|
+
"description": "What to do about it.",
|
|
2540
|
+
"type": {
|
|
2541
|
+
"text": "string"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"name": "heading",
|
|
2546
|
+
"description": "What is missing.",
|
|
2547
|
+
"type": {
|
|
2548
|
+
"text": "string"
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
],
|
|
2552
|
+
"members": [],
|
|
2553
|
+
"events": [],
|
|
2554
|
+
"slots": [
|
|
2555
|
+
{
|
|
2556
|
+
"name": "",
|
|
2557
|
+
"description": "Actions."
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"name": "icon",
|
|
2561
|
+
"description": "An icon above the heading."
|
|
2562
|
+
}
|
|
2563
|
+
],
|
|
2564
|
+
"cssParts": [
|
|
2565
|
+
{
|
|
2566
|
+
"name": "actions",
|
|
2567
|
+
"description": "The actions' row; hidden when empty."
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"name": "description",
|
|
2571
|
+
"description": "The description."
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "heading",
|
|
2575
|
+
"description": "The heading."
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
"name": "icon",
|
|
2579
|
+
"description": "The icon's place; hidden when empty."
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
"cssProperties": []
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "class",
|
|
2586
|
+
"name": "OmgGrid",
|
|
2587
|
+
"tagName": "omg-grid",
|
|
2588
|
+
"customElement": true,
|
|
2589
|
+
"description": "`<omg-grid min columns gap>`: lays its children out in equal columns, as many as fit at `min` pixels wide each, or exactly `columns`.",
|
|
2590
|
+
"superclass": {
|
|
2591
|
+
"name": "HTMLElement",
|
|
2592
|
+
"package": "global:"
|
|
2593
|
+
},
|
|
2594
|
+
"attributes": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "columns",
|
|
2597
|
+
"description": "A fixed number of columns, in place of as many as fit.",
|
|
2598
|
+
"type": {
|
|
2599
|
+
"text": "number"
|
|
2600
|
+
}
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"name": "gap",
|
|
2604
|
+
"description": "A space token; 3 by default.",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"6\""
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"name": "min",
|
|
2611
|
+
"description": "The narrowest a column gets, in pixels; 240 by default.",
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "number"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
],
|
|
2617
|
+
"members": [],
|
|
2618
|
+
"events": [],
|
|
2619
|
+
"slots": [
|
|
2620
|
+
{
|
|
2621
|
+
"name": "",
|
|
2622
|
+
"description": "The children."
|
|
2623
|
+
}
|
|
2624
|
+
],
|
|
2625
|
+
"cssParts": [
|
|
2626
|
+
{
|
|
2627
|
+
"name": "grid",
|
|
2628
|
+
"description": "The grid."
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"cssProperties": []
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"kind": "class",
|
|
2635
|
+
"name": "OmgSplit",
|
|
2636
|
+
"tagName": "omg-split",
|
|
2637
|
+
"customElement": true,
|
|
2638
|
+
"description": "`<omg-split side side-width>`: a sidebar beside the main content, which go one above the other when there isn't room for both.",
|
|
2639
|
+
"superclass": {
|
|
2640
|
+
"name": "HTMLElement",
|
|
2641
|
+
"package": "global:"
|
|
2642
|
+
},
|
|
2643
|
+
"attributes": [
|
|
2644
|
+
{
|
|
2645
|
+
"name": "side",
|
|
2646
|
+
"description": "Which side the sidebar is on; the start by default.",
|
|
2647
|
+
"type": {
|
|
2648
|
+
"text": "\"start\" | \"end\""
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"name": "side-width",
|
|
2653
|
+
"description": "The sidebar's width in pixels; 240 by default.",
|
|
2654
|
+
"type": {
|
|
2655
|
+
"text": "number"
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
],
|
|
2659
|
+
"members": [],
|
|
2660
|
+
"events": [],
|
|
2661
|
+
"slots": [
|
|
2662
|
+
{
|
|
2663
|
+
"name": "",
|
|
2664
|
+
"description": "The main content."
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"name": "sidebar",
|
|
2668
|
+
"description": "The sidebar."
|
|
2669
|
+
}
|
|
2670
|
+
],
|
|
2671
|
+
"cssParts": [
|
|
2672
|
+
{
|
|
2673
|
+
"name": "main",
|
|
2674
|
+
"description": "The main content's place."
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"name": "sidebar",
|
|
2678
|
+
"description": "The sidebar's place."
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"name": "split",
|
|
2682
|
+
"description": "The two places together."
|
|
2683
|
+
}
|
|
2684
|
+
],
|
|
2685
|
+
"cssProperties": []
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "class",
|
|
2689
|
+
"name": "OmgCard",
|
|
2690
|
+
"tagName": "omg-card",
|
|
2691
|
+
"customElement": true,
|
|
2692
|
+
"description": "`<omg-card heading description>`: a raised surface that groups its content.",
|
|
2693
|
+
"superclass": {
|
|
2694
|
+
"name": "HTMLElement",
|
|
2695
|
+
"package": "global:"
|
|
2696
|
+
},
|
|
2697
|
+
"attributes": [
|
|
2698
|
+
{
|
|
2699
|
+
"name": "description",
|
|
2700
|
+
"description": "A line under the title.",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "string"
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "heading",
|
|
2707
|
+
"description": "The card's title.",
|
|
2708
|
+
"type": {
|
|
2709
|
+
"text": "string"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
],
|
|
2713
|
+
"members": [],
|
|
2714
|
+
"events": [],
|
|
2715
|
+
"slots": [
|
|
2716
|
+
{
|
|
2717
|
+
"name": "",
|
|
2718
|
+
"description": "The content."
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "actions",
|
|
2722
|
+
"description": "Buttons beside the heading."
|
|
2723
|
+
}
|
|
2724
|
+
],
|
|
2725
|
+
"cssParts": [
|
|
2726
|
+
{
|
|
2727
|
+
"name": "body",
|
|
2728
|
+
"description": "The content."
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"name": "description",
|
|
2732
|
+
"description": "The line under the title."
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
"name": "header",
|
|
2736
|
+
"description": "The row of the titles and actions; hidden when empty."
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"name": "heading",
|
|
2740
|
+
"description": "The title."
|
|
2741
|
+
}
|
|
2742
|
+
],
|
|
2743
|
+
"cssProperties": []
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "class",
|
|
2747
|
+
"name": "OmgList",
|
|
2748
|
+
"tagName": "omg-list",
|
|
2749
|
+
"customElement": true,
|
|
2750
|
+
"description": "`<omg-list>`: rows of `omg-list-item`, with a hairline between them.",
|
|
2751
|
+
"superclass": {
|
|
2752
|
+
"name": "HTMLElement",
|
|
2753
|
+
"package": "global:"
|
|
2754
|
+
},
|
|
2755
|
+
"attributes": [],
|
|
2756
|
+
"members": [],
|
|
2757
|
+
"events": [],
|
|
2758
|
+
"slots": [
|
|
2759
|
+
{
|
|
2760
|
+
"name": "",
|
|
2761
|
+
"description": "The `omg-list-item` children."
|
|
2762
|
+
}
|
|
2763
|
+
],
|
|
2764
|
+
"cssParts": [],
|
|
2765
|
+
"cssProperties": []
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"kind": "class",
|
|
2769
|
+
"name": "OmgListItem",
|
|
2770
|
+
"tagName": "omg-list-item",
|
|
2771
|
+
"customElement": true,
|
|
2772
|
+
"description": "`<omg-list-item heading description>`: a row: an icon, a title and a line under it, then a value and buttons at its end.",
|
|
2773
|
+
"superclass": {
|
|
2774
|
+
"name": "HTMLElement",
|
|
2775
|
+
"package": "global:"
|
|
2776
|
+
},
|
|
2777
|
+
"attributes": [
|
|
2778
|
+
{
|
|
2779
|
+
"name": "description",
|
|
2780
|
+
"description": "A line under the title.",
|
|
2781
|
+
"type": {
|
|
2782
|
+
"text": "string"
|
|
2783
|
+
}
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "heading",
|
|
2787
|
+
"description": "The row's title.",
|
|
2788
|
+
"type": {
|
|
2789
|
+
"text": "string"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
],
|
|
2793
|
+
"members": [],
|
|
2794
|
+
"events": [],
|
|
2795
|
+
"slots": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "",
|
|
2798
|
+
"description": "The row's value, at its end."
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"name": "actions",
|
|
2802
|
+
"description": "Buttons at its end, after the value."
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "leading",
|
|
2806
|
+
"description": "An icon or picture before the title; an `omg-image` is drawn as a 40px thumbnail."
|
|
2807
|
+
}
|
|
2808
|
+
],
|
|
2809
|
+
"cssParts": [
|
|
2810
|
+
{
|
|
2811
|
+
"name": "actions",
|
|
2812
|
+
"description": "The buttons' place; hidden when empty."
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
"name": "description",
|
|
2816
|
+
"description": "The line under the title."
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
"name": "heading",
|
|
2820
|
+
"description": "The title."
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"name": "leading",
|
|
2824
|
+
"description": "The leading place; hidden when empty."
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
"name": "value",
|
|
2828
|
+
"description": "The value's place; hidden when empty."
|
|
2829
|
+
}
|
|
2830
|
+
],
|
|
2831
|
+
"cssProperties": []
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "class",
|
|
2835
|
+
"name": "OmgDivider",
|
|
2836
|
+
"tagName": "omg-divider",
|
|
2837
|
+
"customElement": true,
|
|
2838
|
+
"description": "`<omg-divider label>`: a hairline between groups, with an optional label on it.",
|
|
2839
|
+
"superclass": {
|
|
2840
|
+
"name": "HTMLElement",
|
|
2841
|
+
"package": "global:"
|
|
2842
|
+
},
|
|
2843
|
+
"attributes": [
|
|
2844
|
+
{
|
|
2845
|
+
"name": "label",
|
|
2846
|
+
"description": "Text on the line.",
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "string"
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
],
|
|
2852
|
+
"members": [],
|
|
2853
|
+
"events": [],
|
|
2854
|
+
"slots": [],
|
|
2855
|
+
"cssParts": [
|
|
2856
|
+
{
|
|
2857
|
+
"name": "label",
|
|
2858
|
+
"description": "The label; hidden when empty."
|
|
2859
|
+
}
|
|
2860
|
+
],
|
|
2861
|
+
"cssProperties": []
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"kind": "class",
|
|
2865
|
+
"name": "OmgPath",
|
|
2866
|
+
"tagName": "omg-path",
|
|
2867
|
+
"customElement": true,
|
|
2868
|
+
"description": "`<omg-path path>`: a read-only path with a subdued directory and a prominent filename. Narrow rows truncate the start, keeping the filename in view. The full path remains selectable and available through the native title.",
|
|
2869
|
+
"superclass": {
|
|
2870
|
+
"name": "HTMLElement",
|
|
2871
|
+
"package": "global:"
|
|
2872
|
+
},
|
|
2873
|
+
"attributes": [
|
|
2874
|
+
{
|
|
2875
|
+
"name": "path",
|
|
2876
|
+
"description": "File or directory path, displayed as text; never opened or resolved.",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "string"
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
],
|
|
2882
|
+
"members": [],
|
|
2883
|
+
"events": [],
|
|
2884
|
+
"slots": [],
|
|
2885
|
+
"cssParts": [
|
|
2886
|
+
{
|
|
2887
|
+
"name": "directory",
|
|
2888
|
+
"description": "The directory prefix."
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "name",
|
|
2892
|
+
"description": "The filename or last directory name."
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"name": "path",
|
|
2896
|
+
"description": "The full path, clipped at the start when needed."
|
|
2897
|
+
}
|
|
2898
|
+
],
|
|
2899
|
+
"cssProperties": []
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
"exports": [
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "custom-element-definition",
|
|
2905
|
+
"name": "omg-page",
|
|
2906
|
+
"declaration": {
|
|
2907
|
+
"name": "OmgPage",
|
|
2908
|
+
"module": "ui/1/layout.js"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"kind": "custom-element-definition",
|
|
2913
|
+
"name": "omg-section",
|
|
2914
|
+
"declaration": {
|
|
2915
|
+
"name": "OmgSection",
|
|
2916
|
+
"module": "ui/1/layout.js"
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"kind": "custom-element-definition",
|
|
2921
|
+
"name": "omg-stack",
|
|
2922
|
+
"declaration": {
|
|
2923
|
+
"name": "OmgStack",
|
|
2924
|
+
"module": "ui/1/layout.js"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"kind": "custom-element-definition",
|
|
2929
|
+
"name": "omg-empty",
|
|
2930
|
+
"declaration": {
|
|
2931
|
+
"name": "OmgEmpty",
|
|
2932
|
+
"module": "ui/1/layout.js"
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"kind": "custom-element-definition",
|
|
2937
|
+
"name": "omg-grid",
|
|
2938
|
+
"declaration": {
|
|
2939
|
+
"name": "OmgGrid",
|
|
2940
|
+
"module": "ui/1/layout.js"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"kind": "custom-element-definition",
|
|
2945
|
+
"name": "omg-split",
|
|
2946
|
+
"declaration": {
|
|
2947
|
+
"name": "OmgSplit",
|
|
2948
|
+
"module": "ui/1/layout.js"
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
"kind": "custom-element-definition",
|
|
2953
|
+
"name": "omg-card",
|
|
2954
|
+
"declaration": {
|
|
2955
|
+
"name": "OmgCard",
|
|
2956
|
+
"module": "ui/1/layout.js"
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"kind": "custom-element-definition",
|
|
2961
|
+
"name": "omg-list",
|
|
2962
|
+
"declaration": {
|
|
2963
|
+
"name": "OmgList",
|
|
2964
|
+
"module": "ui/1/layout.js"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "custom-element-definition",
|
|
2969
|
+
"name": "omg-list-item",
|
|
2970
|
+
"declaration": {
|
|
2971
|
+
"name": "OmgListItem",
|
|
2972
|
+
"module": "ui/1/layout.js"
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"kind": "custom-element-definition",
|
|
2977
|
+
"name": "omg-divider",
|
|
2978
|
+
"declaration": {
|
|
2979
|
+
"name": "OmgDivider",
|
|
2980
|
+
"module": "ui/1/layout.js"
|
|
2981
|
+
}
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "custom-element-definition",
|
|
2985
|
+
"name": "omg-path",
|
|
2986
|
+
"declaration": {
|
|
2987
|
+
"name": "OmgPath",
|
|
2988
|
+
"module": "ui/1/layout.js"
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"kind": "javascript-module",
|
|
2995
|
+
"path": "ui/1/media.js",
|
|
2996
|
+
"declarations": [
|
|
2997
|
+
{
|
|
2998
|
+
"kind": "class",
|
|
2999
|
+
"name": "OmgImage",
|
|
3000
|
+
"tagName": "omg-image",
|
|
3001
|
+
"customElement": true,
|
|
3002
|
+
"description": "`<omg-image src file alt ratio fit pixelated checker>`: a picture, on a raised surface until it loads and with a mark when it can't. With `ratio` it fills a frame of that shape; without, it is drawn at its own size, at most as wide as its place.",
|
|
3003
|
+
"superclass": {
|
|
3004
|
+
"name": "HTMLElement",
|
|
3005
|
+
"package": "global:"
|
|
3006
|
+
},
|
|
3007
|
+
"attributes": [
|
|
3008
|
+
{
|
|
3009
|
+
"name": "alt",
|
|
3010
|
+
"description": "What it shows, for people who can't see it; leave it empty for a decoration.",
|
|
3011
|
+
"type": {
|
|
3012
|
+
"text": "string"
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"name": "checker",
|
|
3017
|
+
"description": "Draws a checkerboard behind it, to show where it is transparent.",
|
|
3018
|
+
"type": {
|
|
3019
|
+
"text": "boolean"
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "file",
|
|
3024
|
+
"description": "A picture in the project, by its path there, in place of `src`; the plugin needs the `project.files` capability. Set it again to show the file as it is now.",
|
|
3025
|
+
"type": {
|
|
3026
|
+
"text": "string"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "fit",
|
|
3031
|
+
"description": "How the picture fills a frame of another shape: whole, or cropped to fill it. Whole by default.",
|
|
3032
|
+
"type": {
|
|
3033
|
+
"text": "\"contain\" | \"cover\""
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "pixelated",
|
|
3038
|
+
"description": "Scales pixel art without smoothing it.",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "boolean"
|
|
3041
|
+
}
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"name": "ratio",
|
|
3045
|
+
"description": "The frame's shape, such as `16/9` or `1`; the picture's own by default.",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "string"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "src",
|
|
3052
|
+
"description": "The picture's address: a file in the plugin's package, or a `data:` or `blob:` URL.",
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "string"
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
],
|
|
3058
|
+
"members": [
|
|
3059
|
+
{
|
|
3060
|
+
"kind": "field",
|
|
3061
|
+
"name": "complete",
|
|
3062
|
+
"description": "It has loaded, or failed to.",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "boolean"
|
|
3065
|
+
},
|
|
3066
|
+
"readonly": true
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"kind": "field",
|
|
3070
|
+
"name": "naturalHeight",
|
|
3071
|
+
"description": "The picture's own height in pixels; 0 until it loads.",
|
|
3072
|
+
"type": {
|
|
3073
|
+
"text": "number"
|
|
3074
|
+
},
|
|
3075
|
+
"readonly": true
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"kind": "field",
|
|
3079
|
+
"name": "naturalWidth",
|
|
3080
|
+
"description": "The picture's own width in pixels; 0 until it loads.",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"text": "number"
|
|
3083
|
+
},
|
|
3084
|
+
"readonly": true
|
|
3085
|
+
}
|
|
3086
|
+
],
|
|
3087
|
+
"events": [
|
|
3088
|
+
{
|
|
3089
|
+
"name": "error",
|
|
3090
|
+
"description": "The picture couldn't load.",
|
|
3091
|
+
"type": {
|
|
3092
|
+
"text": "Event"
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"name": "load",
|
|
3097
|
+
"description": "The picture loaded.",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "Event"
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
],
|
|
3103
|
+
"slots": [],
|
|
3104
|
+
"cssParts": [
|
|
3105
|
+
{
|
|
3106
|
+
"name": "broken",
|
|
3107
|
+
"description": "The mark shown when it couldn't load."
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"name": "frame",
|
|
3111
|
+
"description": "The surface the picture is drawn on."
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"name": "image",
|
|
3115
|
+
"description": "The picture."
|
|
3116
|
+
}
|
|
3117
|
+
],
|
|
3118
|
+
"cssProperties": [
|
|
3119
|
+
{
|
|
3120
|
+
"name": "--omg-image-radius",
|
|
3121
|
+
"description": "The frame's corners; the app's large radius by default."
|
|
3122
|
+
}
|
|
3123
|
+
]
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"kind": "class",
|
|
3127
|
+
"name": "OmgTile",
|
|
3128
|
+
"tagName": "omg-tile",
|
|
3129
|
+
"customElement": true,
|
|
3130
|
+
"description": "`<omg-tile heading description badge src file ratio selected disabled>`: a picture with its name and a line under it, such as an asset in a grid. It is a button: a click on it is the person picking it, and `selected` marks the one picked.",
|
|
3131
|
+
"superclass": {
|
|
3132
|
+
"name": "HTMLElement",
|
|
3133
|
+
"package": "global:"
|
|
3134
|
+
},
|
|
3135
|
+
"attributes": [
|
|
3136
|
+
{
|
|
3137
|
+
"name": "alt",
|
|
3138
|
+
"description": "What the picture shows, when the name doesn't say; empty by default.",
|
|
3139
|
+
"type": {
|
|
3140
|
+
"text": "string"
|
|
3141
|
+
}
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"name": "badge",
|
|
3145
|
+
"description": "A few words over the picture's corner, such as a duration.",
|
|
3146
|
+
"type": {
|
|
3147
|
+
"text": "string"
|
|
3148
|
+
}
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"name": "checker",
|
|
3152
|
+
"description": "As for `omg-image`.",
|
|
3153
|
+
"type": {
|
|
3154
|
+
"text": "boolean"
|
|
3155
|
+
}
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "description",
|
|
3159
|
+
"description": "A line under the name, such as its size or kind.",
|
|
3160
|
+
"type": {
|
|
3161
|
+
"text": "string"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"name": "disabled",
|
|
3166
|
+
"description": "It can't be picked.",
|
|
3167
|
+
"type": {
|
|
3168
|
+
"text": "boolean"
|
|
3169
|
+
}
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "file",
|
|
3173
|
+
"description": "A picture in the project, as for `omg-image`.",
|
|
3174
|
+
"type": {
|
|
3175
|
+
"text": "string"
|
|
3176
|
+
}
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"name": "fit",
|
|
3180
|
+
"description": "As for `omg-image`; cropped to fill by default.",
|
|
3181
|
+
"type": {
|
|
3182
|
+
"text": "\"contain\" | \"cover\""
|
|
3183
|
+
}
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"name": "heading",
|
|
3187
|
+
"description": "Its name, on one line.",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "string"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"name": "pixelated",
|
|
3194
|
+
"description": "As for `omg-image`.",
|
|
3195
|
+
"type": {
|
|
3196
|
+
"text": "boolean"
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"name": "ratio",
|
|
3201
|
+
"description": "The picture's shape, as for `omg-image`; `4/3` by default.",
|
|
3202
|
+
"type": {
|
|
3203
|
+
"text": "string"
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "selected",
|
|
3208
|
+
"description": "It is the one picked.",
|
|
3209
|
+
"type": {
|
|
3210
|
+
"text": "boolean"
|
|
3211
|
+
}
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"name": "src",
|
|
3215
|
+
"description": "The picture, as for `omg-image`.",
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "string"
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
],
|
|
3221
|
+
"members": [
|
|
3222
|
+
{
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "disabled",
|
|
3225
|
+
"description": "The `disabled` attribute.",
|
|
3226
|
+
"type": {
|
|
3227
|
+
"text": "boolean"
|
|
3228
|
+
}
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "selected",
|
|
3233
|
+
"description": "The `selected` attribute.",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "boolean"
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
],
|
|
3239
|
+
"events": [],
|
|
3240
|
+
"slots": [
|
|
3241
|
+
{
|
|
3242
|
+
"name": "media",
|
|
3243
|
+
"description": "Drawn in place of the picture, such as a video or a canvas."
|
|
3244
|
+
}
|
|
3245
|
+
],
|
|
3246
|
+
"cssParts": [
|
|
3247
|
+
{
|
|
3248
|
+
"name": "badge",
|
|
3249
|
+
"description": "The badge; hidden when empty."
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"name": "description",
|
|
3253
|
+
"description": "The line under the name; hidden when empty."
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"name": "heading",
|
|
3257
|
+
"description": "The name."
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"name": "image",
|
|
3261
|
+
"description": "The `omg-image`, when there's no `media`."
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "preview",
|
|
3265
|
+
"description": "The picture's frame."
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"name": "tile",
|
|
3269
|
+
"description": "The button."
|
|
3270
|
+
}
|
|
3271
|
+
],
|
|
3272
|
+
"cssProperties": []
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "class",
|
|
3276
|
+
"name": "OmgImagePreview",
|
|
3277
|
+
"tagName": "omg-image-preview",
|
|
3278
|
+
"customElement": true,
|
|
3279
|
+
"description": "`<omg-image-preview src file alt>`: an image button that opens the whole picture in a modal. Reuses omg-image loading and omg-dialog focus/closing. It never changes a selection or uploads a file.",
|
|
3280
|
+
"superclass": {
|
|
3281
|
+
"name": "HTMLElement",
|
|
3282
|
+
"package": "global:"
|
|
3283
|
+
},
|
|
3284
|
+
"attributes": [
|
|
3285
|
+
{
|
|
3286
|
+
"name": "alt",
|
|
3287
|
+
"description": "Image description and default preview title.",
|
|
2127
3288
|
"type": {
|
|
2128
|
-
"text": "
|
|
2129
|
-
}
|
|
2130
|
-
|
|
3289
|
+
"text": "string"
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
"name": "checker",
|
|
3294
|
+
"description": "Show transparency in both views.",
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "boolean"
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"name": "close-label",
|
|
3301
|
+
"description": "Close button name; defaults to Close.",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "string"
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"name": "file",
|
|
3308
|
+
"description": "A project image; requires project.files and takes precedence over src.",
|
|
3309
|
+
"type": {
|
|
3310
|
+
"text": "string"
|
|
3311
|
+
}
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"name": "fit",
|
|
3315
|
+
"description": "Thumbnail fit; contain by default. The modal always shows the whole image.",
|
|
3316
|
+
"type": {
|
|
3317
|
+
"text": "\"contain\" | \"cover\""
|
|
3318
|
+
}
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"name": "label",
|
|
3322
|
+
"description": "Trigger's accessible name; defaults to alt or Preview image.",
|
|
3323
|
+
"type": {
|
|
3324
|
+
"text": "string"
|
|
3325
|
+
}
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"name": "open",
|
|
3329
|
+
"description": "Show the preview modal.",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "boolean"
|
|
3332
|
+
}
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"name": "pixelated",
|
|
3336
|
+
"description": "Preserve pixel-art edges in both views.",
|
|
3337
|
+
"type": {
|
|
3338
|
+
"text": "boolean"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"name": "ratio",
|
|
3343
|
+
"description": "Thumbnail aspect ratio; image's own by default.",
|
|
3344
|
+
"type": {
|
|
3345
|
+
"text": "string"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"name": "src",
|
|
3350
|
+
"description": "Same sources as omg-image.",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "string"
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
],
|
|
3356
|
+
"members": [
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "field",
|
|
3359
|
+
"name": "open",
|
|
3360
|
+
"description": "Preview visibility.",
|
|
3361
|
+
"type": {
|
|
3362
|
+
"text": "boolean"
|
|
3363
|
+
}
|
|
2131
3364
|
}
|
|
2132
3365
|
],
|
|
2133
3366
|
"events": [
|
|
2134
3367
|
{
|
|
2135
|
-
"name": "
|
|
2136
|
-
"description": "
|
|
3368
|
+
"name": "omg-close",
|
|
3369
|
+
"description": "Cancelable close request, forwarded from omg-dialog.",
|
|
2137
3370
|
"type": {
|
|
2138
|
-
"text": "
|
|
3371
|
+
"text": "CustomEvent<{ reason: \"escape\" | \"backdrop\" | \"button\" }>"
|
|
2139
3372
|
}
|
|
3373
|
+
}
|
|
3374
|
+
],
|
|
3375
|
+
"slots": [],
|
|
3376
|
+
"cssParts": [
|
|
3377
|
+
{
|
|
3378
|
+
"name": "dialog",
|
|
3379
|
+
"description": "The omg-dialog holding the full image."
|
|
2140
3380
|
},
|
|
2141
3381
|
{
|
|
2142
|
-
"name": "
|
|
2143
|
-
"description": "The
|
|
3382
|
+
"name": "image",
|
|
3383
|
+
"description": "The full omg-image, loaded only while open."
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"name": "thumbnail",
|
|
3387
|
+
"description": "The omg-image in the page."
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
"name": "trigger",
|
|
3391
|
+
"description": "Image button."
|
|
3392
|
+
}
|
|
3393
|
+
],
|
|
3394
|
+
"cssProperties": []
|
|
3395
|
+
}
|
|
3396
|
+
],
|
|
3397
|
+
"exports": [
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "custom-element-definition",
|
|
3400
|
+
"name": "omg-image",
|
|
3401
|
+
"declaration": {
|
|
3402
|
+
"name": "OmgImage",
|
|
3403
|
+
"module": "ui/1/media.js"
|
|
3404
|
+
}
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "custom-element-definition",
|
|
3408
|
+
"name": "omg-tile",
|
|
3409
|
+
"declaration": {
|
|
3410
|
+
"name": "OmgTile",
|
|
3411
|
+
"module": "ui/1/media.js"
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "custom-element-definition",
|
|
3416
|
+
"name": "omg-image-preview",
|
|
3417
|
+
"declaration": {
|
|
3418
|
+
"name": "OmgImagePreview",
|
|
3419
|
+
"module": "ui/1/media.js"
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
]
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "javascript-module",
|
|
3426
|
+
"path": "ui/1/navigation.js",
|
|
3427
|
+
"declarations": [
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "class",
|
|
3430
|
+
"name": "OmgTabs",
|
|
3431
|
+
"tagName": "omg-tabs",
|
|
3432
|
+
"customElement": true,
|
|
3433
|
+
"description": "`<omg-tabs value aria-label>`: shows one of its `omg-tab` children, with a row of their headings above. Arrow keys, Home and End move between tabs. A page listens for `omg-tab-change`, since `change` would also come up from the controls inside a tab.",
|
|
3434
|
+
"superclass": {
|
|
3435
|
+
"name": "HTMLElement",
|
|
3436
|
+
"package": "global:"
|
|
3437
|
+
},
|
|
3438
|
+
"attributes": [
|
|
3439
|
+
{
|
|
3440
|
+
"name": "aria-label",
|
|
3441
|
+
"description": "What the tabs choose between, for screen readers.",
|
|
2144
3442
|
"type": {
|
|
2145
|
-
"text": "
|
|
3443
|
+
"text": "string"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "value",
|
|
3448
|
+
"description": "The `name` of the open tab; the first that isn't disabled without one.",
|
|
3449
|
+
"type": {
|
|
3450
|
+
"text": "string"
|
|
2146
3451
|
}
|
|
2147
3452
|
}
|
|
2148
3453
|
],
|
|
2149
|
-
"
|
|
3454
|
+
"members": [
|
|
3455
|
+
{
|
|
3456
|
+
"kind": "field",
|
|
3457
|
+
"name": "value",
|
|
3458
|
+
"description": "The open tab's name.",
|
|
3459
|
+
"type": {
|
|
3460
|
+
"text": "string"
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
],
|
|
3464
|
+
"events": [
|
|
3465
|
+
{
|
|
3466
|
+
"name": "omg-tab-change",
|
|
3467
|
+
"description": "The person opened a tab.",
|
|
3468
|
+
"type": {
|
|
3469
|
+
"text": "CustomEvent<{ value: string }>"
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3472
|
+
],
|
|
3473
|
+
"slots": [
|
|
3474
|
+
{
|
|
3475
|
+
"name": "",
|
|
3476
|
+
"description": "The `omg-tab` children."
|
|
3477
|
+
}
|
|
3478
|
+
],
|
|
2150
3479
|
"cssParts": [
|
|
2151
3480
|
{
|
|
2152
|
-
"name": "
|
|
2153
|
-
"description": "The
|
|
3481
|
+
"name": "list",
|
|
3482
|
+
"description": "The row of headings."
|
|
2154
3483
|
},
|
|
2155
3484
|
{
|
|
2156
|
-
"name": "
|
|
2157
|
-
"description": "
|
|
3485
|
+
"name": "tab",
|
|
3486
|
+
"description": "A heading's button."
|
|
3487
|
+
}
|
|
3488
|
+
],
|
|
3489
|
+
"cssProperties": []
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "class",
|
|
3493
|
+
"name": "OmgTab",
|
|
3494
|
+
"tagName": "omg-tab",
|
|
3495
|
+
"customElement": true,
|
|
3496
|
+
"description": "`<omg-tab name heading disabled>`: one view of an `omg-tabs`.",
|
|
3497
|
+
"superclass": {
|
|
3498
|
+
"name": "HTMLElement",
|
|
3499
|
+
"package": "global:"
|
|
3500
|
+
},
|
|
3501
|
+
"attributes": [
|
|
3502
|
+
{
|
|
3503
|
+
"name": "disabled",
|
|
3504
|
+
"description": "It can't be opened.",
|
|
3505
|
+
"type": {
|
|
3506
|
+
"text": "boolean"
|
|
3507
|
+
}
|
|
2158
3508
|
},
|
|
2159
3509
|
{
|
|
2160
|
-
"name": "
|
|
2161
|
-
"description": "The
|
|
3510
|
+
"name": "heading",
|
|
3511
|
+
"description": "The text of its heading, and its name for screen readers.",
|
|
3512
|
+
"type": {
|
|
3513
|
+
"text": "string"
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "name",
|
|
3518
|
+
"description": "What `value` on the `omg-tabs` calls it; unique among its tabs.",
|
|
3519
|
+
"type": {
|
|
3520
|
+
"text": "string"
|
|
3521
|
+
}
|
|
2162
3522
|
}
|
|
2163
3523
|
],
|
|
2164
|
-
"
|
|
3524
|
+
"members": [],
|
|
3525
|
+
"events": [],
|
|
3526
|
+
"slots": [
|
|
2165
3527
|
{
|
|
2166
|
-
"name": "
|
|
2167
|
-
"description": "The
|
|
3528
|
+
"name": "",
|
|
3529
|
+
"description": "The view."
|
|
2168
3530
|
}
|
|
2169
|
-
]
|
|
3531
|
+
],
|
|
3532
|
+
"cssParts": [],
|
|
3533
|
+
"cssProperties": []
|
|
3534
|
+
}
|
|
3535
|
+
],
|
|
3536
|
+
"exports": [
|
|
3537
|
+
{
|
|
3538
|
+
"kind": "custom-element-definition",
|
|
3539
|
+
"name": "omg-tabs",
|
|
3540
|
+
"declaration": {
|
|
3541
|
+
"name": "OmgTabs",
|
|
3542
|
+
"module": "ui/1/navigation.js"
|
|
3543
|
+
}
|
|
2170
3544
|
},
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "custom-element-definition",
|
|
3547
|
+
"name": "omg-tab",
|
|
3548
|
+
"declaration": {
|
|
3549
|
+
"name": "OmgTab",
|
|
3550
|
+
"module": "ui/1/navigation.js"
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
]
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"kind": "javascript-module",
|
|
3557
|
+
"path": "ui/1/overlays.js",
|
|
3558
|
+
"declarations": [
|
|
2171
3559
|
{
|
|
2172
3560
|
"kind": "class",
|
|
2173
|
-
"name": "
|
|
2174
|
-
"tagName": "omg-
|
|
3561
|
+
"name": "OmgPopover",
|
|
3562
|
+
"tagName": "omg-popover",
|
|
2175
3563
|
"customElement": true,
|
|
2176
|
-
"description": "`<omg-
|
|
3564
|
+
"description": "`<omg-popover label>`: a non-modal panel with a labelled trigger.",
|
|
2177
3565
|
"superclass": {
|
|
2178
3566
|
"name": "HTMLElement",
|
|
2179
3567
|
"package": "global:"
|
|
2180
3568
|
},
|
|
2181
3569
|
"attributes": [
|
|
2182
3570
|
{
|
|
2183
|
-
"name": "
|
|
2184
|
-
"description": "
|
|
3571
|
+
"name": "disabled",
|
|
3572
|
+
"description": "Disables the trigger and closes the panel.",
|
|
2185
3573
|
"type": {
|
|
2186
|
-
"text": "
|
|
3574
|
+
"text": "boolean"
|
|
2187
3575
|
}
|
|
2188
3576
|
},
|
|
2189
3577
|
{
|
|
2190
|
-
"name": "
|
|
2191
|
-
"description": "
|
|
3578
|
+
"name": "label",
|
|
3579
|
+
"description": "Trigger and panel accessible name.",
|
|
2192
3580
|
"type": {
|
|
2193
3581
|
"text": "string"
|
|
2194
3582
|
}
|
|
2195
3583
|
},
|
|
2196
3584
|
{
|
|
2197
|
-
"name": "
|
|
2198
|
-
"description": "
|
|
3585
|
+
"name": "open",
|
|
3586
|
+
"description": "Shows the panel.",
|
|
2199
3587
|
"type": {
|
|
2200
3588
|
"text": "boolean"
|
|
2201
3589
|
}
|
|
2202
3590
|
},
|
|
2203
3591
|
{
|
|
2204
|
-
"name": "
|
|
2205
|
-
"description": "
|
|
3592
|
+
"name": "placement",
|
|
3593
|
+
"description": "Preferred placement, bottom-start by default.",
|
|
2206
3594
|
"type": {
|
|
2207
|
-
"text": "
|
|
3595
|
+
"text": "\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top\" | \"bottom\""
|
|
2208
3596
|
}
|
|
2209
|
-
}
|
|
3597
|
+
}
|
|
3598
|
+
],
|
|
3599
|
+
"members": [
|
|
2210
3600
|
{
|
|
2211
|
-
"
|
|
2212
|
-
"
|
|
3601
|
+
"kind": "field",
|
|
3602
|
+
"name": "open",
|
|
3603
|
+
"description": "Showing state; programmatic changes are silent.",
|
|
2213
3604
|
"type": {
|
|
2214
3605
|
"text": "boolean"
|
|
2215
3606
|
}
|
|
2216
|
-
}
|
|
3607
|
+
}
|
|
3608
|
+
],
|
|
3609
|
+
"events": [
|
|
2217
3610
|
{
|
|
2218
|
-
"name": "
|
|
2219
|
-
"description": "
|
|
3611
|
+
"name": "omg-toggle",
|
|
3612
|
+
"description": "User opened or dismissed the panel.",
|
|
2220
3613
|
"type": {
|
|
2221
|
-
"text": "
|
|
3614
|
+
"text": "CustomEvent<{ open: boolean }>"
|
|
2222
3615
|
}
|
|
3616
|
+
}
|
|
3617
|
+
],
|
|
3618
|
+
"slots": [
|
|
3619
|
+
{
|
|
3620
|
+
"name": "",
|
|
3621
|
+
"description": "Panel content, retained while closed."
|
|
2223
3622
|
},
|
|
2224
3623
|
{
|
|
2225
|
-
"name": "
|
|
2226
|
-
"description": "
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
3624
|
+
"name": "trigger",
|
|
3625
|
+
"description": "Optional text or decorative icon inside the trigger; no interactive children."
|
|
3626
|
+
}
|
|
3627
|
+
],
|
|
3628
|
+
"cssParts": [
|
|
3629
|
+
{
|
|
3630
|
+
"name": "button",
|
|
3631
|
+
"description": "Trigger button."
|
|
2230
3632
|
},
|
|
2231
3633
|
{
|
|
2232
|
-
"name": "
|
|
2233
|
-
"description": "
|
|
2234
|
-
"type": {
|
|
2235
|
-
"text": "string"
|
|
2236
|
-
}
|
|
3634
|
+
"name": "label",
|
|
3635
|
+
"description": "Default trigger label."
|
|
2237
3636
|
},
|
|
2238
3637
|
{
|
|
2239
|
-
"name": "
|
|
2240
|
-
"description": "
|
|
3638
|
+
"name": "panel",
|
|
3639
|
+
"description": "Floating panel."
|
|
3640
|
+
}
|
|
3641
|
+
],
|
|
3642
|
+
"cssProperties": []
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"kind": "class",
|
|
3646
|
+
"name": "OmgMenu",
|
|
3647
|
+
"tagName": "omg-menu",
|
|
3648
|
+
"customElement": true,
|
|
3649
|
+
"description": "`<omg-menu label>`: an action menu. Arrow keys, Home/End and typeahead move through enabled actions. Enter/Space selects, Esc returns to the trigger.",
|
|
3650
|
+
"superclass": {
|
|
3651
|
+
"name": "HTMLElement",
|
|
3652
|
+
"package": "global:"
|
|
3653
|
+
},
|
|
3654
|
+
"attributes": [
|
|
3655
|
+
{
|
|
3656
|
+
"name": "disabled",
|
|
3657
|
+
"description": "Disables the trigger and closes the panel.",
|
|
2241
3658
|
"type": {
|
|
2242
3659
|
"text": "boolean"
|
|
2243
3660
|
}
|
|
2244
3661
|
},
|
|
2245
3662
|
{
|
|
2246
|
-
"name": "
|
|
2247
|
-
"description": "
|
|
3663
|
+
"name": "label",
|
|
3664
|
+
"description": "Trigger and panel accessible name.",
|
|
2248
3665
|
"type": {
|
|
2249
3666
|
"text": "string"
|
|
2250
3667
|
}
|
|
2251
3668
|
},
|
|
2252
3669
|
{
|
|
2253
|
-
"name": "
|
|
2254
|
-
"description": "
|
|
3670
|
+
"name": "open",
|
|
3671
|
+
"description": "Shows the panel.",
|
|
2255
3672
|
"type": {
|
|
2256
3673
|
"text": "boolean"
|
|
2257
3674
|
}
|
|
2258
3675
|
},
|
|
2259
3676
|
{
|
|
2260
|
-
"name": "
|
|
2261
|
-
"description": "
|
|
3677
|
+
"name": "placement",
|
|
3678
|
+
"description": "Preferred placement, bottom-start by default.",
|
|
2262
3679
|
"type": {
|
|
2263
|
-
"text": "
|
|
3680
|
+
"text": "\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top\" | \"bottom\""
|
|
2264
3681
|
}
|
|
2265
3682
|
}
|
|
2266
3683
|
],
|
|
2267
3684
|
"members": [
|
|
2268
3685
|
{
|
|
2269
3686
|
"kind": "field",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "
|
|
3687
|
+
"name": "items",
|
|
3688
|
+
"description": "Actions; values must be unique. Setting items preserves the focused action by value when possible.",
|
|
2272
3689
|
"type": {
|
|
2273
|
-
"text": "boolean"
|
|
3690
|
+
"text": "Array<{ value: string; label: string; description?: string; disabled?: boolean; danger?: boolean; checked?: boolean }>"
|
|
2274
3691
|
}
|
|
2275
3692
|
},
|
|
2276
3693
|
{
|
|
2277
3694
|
"kind": "field",
|
|
2278
|
-
"name": "
|
|
2279
|
-
"description": "
|
|
3695
|
+
"name": "open",
|
|
3696
|
+
"description": "Showing state; programmatic changes are silent.",
|
|
2280
3697
|
"type": {
|
|
2281
3698
|
"text": "boolean"
|
|
2282
3699
|
}
|
|
2283
3700
|
}
|
|
2284
3701
|
],
|
|
2285
|
-
"events": [
|
|
3702
|
+
"events": [
|
|
3703
|
+
{
|
|
3704
|
+
"name": "omg-select",
|
|
3705
|
+
"description": "Selected action, after closing the menu.",
|
|
3706
|
+
"type": {
|
|
3707
|
+
"text": "CustomEvent<{ value: string }>"
|
|
3708
|
+
}
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"name": "omg-toggle",
|
|
3712
|
+
"description": "User opened or dismissed the panel.",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "CustomEvent<{ open: boolean }>"
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
],
|
|
2286
3718
|
"slots": [
|
|
2287
3719
|
{
|
|
2288
|
-
"name": "
|
|
2289
|
-
"description": "
|
|
3720
|
+
"name": "trigger",
|
|
3721
|
+
"description": "Optional text or decorative icon inside the trigger; no interactive children."
|
|
2290
3722
|
}
|
|
2291
3723
|
],
|
|
2292
3724
|
"cssParts": [
|
|
2293
3725
|
{
|
|
2294
|
-
"name": "
|
|
2295
|
-
"description": "
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "description",
|
|
2299
|
-
"description": "The line under the name; hidden when empty."
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "heading",
|
|
2303
|
-
"description": "The name."
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "image",
|
|
2307
|
-
"description": "The `omg-image`, when there's no `media`."
|
|
3726
|
+
"name": "button",
|
|
3727
|
+
"description": "Trigger button."
|
|
2308
3728
|
},
|
|
2309
3729
|
{
|
|
2310
|
-
"name": "
|
|
2311
|
-
"description": "
|
|
3730
|
+
"name": "label",
|
|
3731
|
+
"description": "Default trigger label."
|
|
2312
3732
|
},
|
|
2313
3733
|
{
|
|
2314
|
-
"name": "
|
|
2315
|
-
"description": "
|
|
3734
|
+
"name": "panel",
|
|
3735
|
+
"description": "Floating panel."
|
|
2316
3736
|
}
|
|
2317
3737
|
],
|
|
2318
3738
|
"cssProperties": []
|
|
2319
|
-
}
|
|
2320
|
-
],
|
|
2321
|
-
"exports": [
|
|
2322
|
-
{
|
|
2323
|
-
"kind": "custom-element-definition",
|
|
2324
|
-
"name": "omg-image",
|
|
2325
|
-
"declaration": {
|
|
2326
|
-
"name": "OmgImage",
|
|
2327
|
-
"module": "ui/1/media.js"
|
|
2328
|
-
}
|
|
2329
3739
|
},
|
|
2330
|
-
{
|
|
2331
|
-
"kind": "custom-element-definition",
|
|
2332
|
-
"name": "omg-tile",
|
|
2333
|
-
"declaration": {
|
|
2334
|
-
"name": "OmgTile",
|
|
2335
|
-
"module": "ui/1/media.js"
|
|
2336
|
-
}
|
|
2337
|
-
}
|
|
2338
|
-
]
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"kind": "javascript-module",
|
|
2342
|
-
"path": "ui/1/navigation.js",
|
|
2343
|
-
"declarations": [
|
|
2344
3740
|
{
|
|
2345
3741
|
"kind": "class",
|
|
2346
|
-
"name": "
|
|
2347
|
-
"tagName": "omg-
|
|
3742
|
+
"name": "OmgTooltip",
|
|
3743
|
+
"tagName": "omg-tooltip",
|
|
2348
3744
|
"customElement": true,
|
|
2349
|
-
"description": "`<omg-
|
|
3745
|
+
"description": "`<omg-tooltip content>` around a focusable control: a brief non-interactive hint immediately on hover or focus. Activation and Esc dismiss it. The text is also attached as aria-description to the actual focused control, across custom-element shadow roots, preserving any existing description.",
|
|
2350
3746
|
"superclass": {
|
|
2351
3747
|
"name": "HTMLElement",
|
|
2352
3748
|
"package": "global:"
|
|
2353
3749
|
},
|
|
2354
3750
|
"attributes": [
|
|
2355
3751
|
{
|
|
2356
|
-
"name": "
|
|
2357
|
-
"description": "
|
|
3752
|
+
"name": "content",
|
|
3753
|
+
"description": "Plain text hint; never essential instructions.",
|
|
2358
3754
|
"type": {
|
|
2359
3755
|
"text": "string"
|
|
2360
3756
|
}
|
|
2361
3757
|
},
|
|
2362
3758
|
{
|
|
2363
|
-
"name": "
|
|
2364
|
-
"description": "
|
|
2365
|
-
"type": {
|
|
2366
|
-
"text": "string"
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
],
|
|
2370
|
-
"members": [
|
|
2371
|
-
{
|
|
2372
|
-
"kind": "field",
|
|
2373
|
-
"name": "value",
|
|
2374
|
-
"description": "The open tab's name.",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "string"
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
],
|
|
2380
|
-
"events": [
|
|
2381
|
-
{
|
|
2382
|
-
"name": "omg-tab-change",
|
|
2383
|
-
"description": "The person opened a tab.",
|
|
3759
|
+
"name": "placement",
|
|
3760
|
+
"description": "Preferred placement; top by default.",
|
|
2384
3761
|
"type": {
|
|
2385
|
-
"text": "
|
|
3762
|
+
"text": "\"top\" | \"bottom\" | \"top-start\" | \"bottom-start\" | \"bottom-end\""
|
|
2386
3763
|
}
|
|
2387
3764
|
}
|
|
2388
3765
|
],
|
|
3766
|
+
"members": [],
|
|
3767
|
+
"events": [],
|
|
2389
3768
|
"slots": [
|
|
2390
3769
|
{
|
|
2391
3770
|
"name": "",
|
|
2392
|
-
"description": "
|
|
3771
|
+
"description": "One focusable control."
|
|
2393
3772
|
}
|
|
2394
3773
|
],
|
|
2395
3774
|
"cssParts": [
|
|
2396
3775
|
{
|
|
2397
|
-
"name": "
|
|
2398
|
-
"description": "
|
|
2399
|
-
},
|
|
2400
|
-
{
|
|
2401
|
-
"name": "tab",
|
|
2402
|
-
"description": "A heading's button."
|
|
3776
|
+
"name": "tooltip",
|
|
3777
|
+
"description": "Floating hint."
|
|
2403
3778
|
}
|
|
2404
3779
|
],
|
|
2405
3780
|
"cssProperties": []
|
|
2406
3781
|
},
|
|
2407
3782
|
{
|
|
2408
3783
|
"kind": "class",
|
|
2409
|
-
"name": "
|
|
2410
|
-
"tagName": "omg-
|
|
3784
|
+
"name": "OmgDialog",
|
|
3785
|
+
"tagName": "omg-dialog",
|
|
2411
3786
|
"customElement": true,
|
|
2412
|
-
"description": "`<omg-
|
|
3787
|
+
"description": "`<omg-dialog heading open>`: custom modal content inside the plugin iframe. Native dialog owns focus trapping and Escape; content remains mounted. Programmatic open changes are silent. Simple host confirmations still use ui.confirm.",
|
|
2413
3788
|
"superclass": {
|
|
2414
3789
|
"name": "HTMLElement",
|
|
2415
3790
|
"package": "global:"
|
|
2416
3791
|
},
|
|
2417
3792
|
"attributes": [
|
|
2418
3793
|
{
|
|
2419
|
-
"name": "
|
|
2420
|
-
"description": "
|
|
3794
|
+
"name": "close-label",
|
|
3795
|
+
"description": "Close button name; defaults to Close.",
|
|
2421
3796
|
"type": {
|
|
2422
|
-
"text": "
|
|
3797
|
+
"text": "string"
|
|
2423
3798
|
}
|
|
2424
3799
|
},
|
|
2425
3800
|
{
|
|
2426
|
-
"name": "
|
|
2427
|
-
"description": "
|
|
3801
|
+
"name": "description",
|
|
3802
|
+
"description": "Optional description below the title.",
|
|
2428
3803
|
"type": {
|
|
2429
3804
|
"text": "string"
|
|
2430
3805
|
}
|
|
2431
3806
|
},
|
|
2432
3807
|
{
|
|
2433
|
-
"name": "
|
|
2434
|
-
"description": "
|
|
3808
|
+
"name": "heading",
|
|
3809
|
+
"description": "Dialog title and accessible name.",
|
|
2435
3810
|
"type": {
|
|
2436
3811
|
"text": "string"
|
|
2437
3812
|
}
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"name": "open",
|
|
3816
|
+
"description": "Shows the modal.",
|
|
3817
|
+
"type": {
|
|
3818
|
+
"text": "boolean"
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3822
|
+
"members": [
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "field",
|
|
3825
|
+
"name": "open",
|
|
3826
|
+
"description": "Modal visibility.",
|
|
3827
|
+
"type": {
|
|
3828
|
+
"text": "boolean"
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"events": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "omg-close",
|
|
3835
|
+
"description": "Cancelable user close request; preventDefault keeps the dialog open.",
|
|
3836
|
+
"type": {
|
|
3837
|
+
"text": "CustomEvent<{ reason: \"escape\" | \"backdrop\" | \"button\" }>"
|
|
3838
|
+
}
|
|
2438
3839
|
}
|
|
2439
3840
|
],
|
|
2440
|
-
"members": [],
|
|
2441
|
-
"events": [],
|
|
2442
3841
|
"slots": [
|
|
2443
3842
|
{
|
|
2444
3843
|
"name": "",
|
|
2445
|
-
"description": "
|
|
3844
|
+
"description": "Modal content, retained while closed."
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"name": "footer",
|
|
3848
|
+
"description": "Action buttons, aligned at the end."
|
|
3849
|
+
}
|
|
3850
|
+
],
|
|
3851
|
+
"cssParts": [
|
|
3852
|
+
{
|
|
3853
|
+
"name": "body",
|
|
3854
|
+
"description": "Scrollable content area."
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"name": "close",
|
|
3858
|
+
"description": "Close button."
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
"name": "description",
|
|
3862
|
+
"description": "Optional description."
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"name": "footer",
|
|
3866
|
+
"description": "Action area, hidden when empty."
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"name": "heading",
|
|
3870
|
+
"description": "Title."
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"name": "panel",
|
|
3874
|
+
"description": "Native modal; set max-width for custom sizing."
|
|
2446
3875
|
}
|
|
2447
3876
|
],
|
|
2448
|
-
"cssParts": [],
|
|
2449
3877
|
"cssProperties": []
|
|
2450
3878
|
}
|
|
2451
3879
|
],
|
|
2452
3880
|
"exports": [
|
|
2453
3881
|
{
|
|
2454
3882
|
"kind": "custom-element-definition",
|
|
2455
|
-
"name": "omg-
|
|
3883
|
+
"name": "omg-popover",
|
|
2456
3884
|
"declaration": {
|
|
2457
|
-
"name": "
|
|
2458
|
-
"module": "ui/1/
|
|
3885
|
+
"name": "OmgPopover",
|
|
3886
|
+
"module": "ui/1/overlays.js"
|
|
2459
3887
|
}
|
|
2460
3888
|
},
|
|
2461
3889
|
{
|
|
2462
3890
|
"kind": "custom-element-definition",
|
|
2463
|
-
"name": "omg-
|
|
3891
|
+
"name": "omg-menu",
|
|
2464
3892
|
"declaration": {
|
|
2465
|
-
"name": "
|
|
2466
|
-
"module": "ui/1/
|
|
3893
|
+
"name": "OmgMenu",
|
|
3894
|
+
"module": "ui/1/overlays.js"
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"kind": "custom-element-definition",
|
|
3899
|
+
"name": "omg-tooltip",
|
|
3900
|
+
"declaration": {
|
|
3901
|
+
"name": "OmgTooltip",
|
|
3902
|
+
"module": "ui/1/overlays.js"
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "custom-element-definition",
|
|
3907
|
+
"name": "omg-dialog",
|
|
3908
|
+
"declaration": {
|
|
3909
|
+
"name": "OmgDialog",
|
|
3910
|
+
"module": "ui/1/overlays.js"
|
|
2467
3911
|
}
|
|
2468
3912
|
}
|
|
2469
3913
|
]
|