ooxml-ui 0.25.0 → 0.26.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.
@@ -0,0 +1,3002 @@
1
+ {
2
+ "schemaVersion": "2.1.0",
3
+ "readme": "README.md",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "chrome/account.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "name": "OfficeUiAccount",
12
+ "tagName": "office-ui-account",
13
+ "customElement": true,
14
+ "description": "`<office-ui-account>`: User Information with avatar, display name and avatar colour. Set or read `profile`; edits emit `office-profile-change`. `slot=\"sign-in\"` hosts a product sign-in flow; the default slot holds product sections (theme, product information).",
15
+ "attributes": [],
16
+ "members": [
17
+ {
18
+ "kind": "field",
19
+ "name": "profile"
20
+ }
21
+ ],
22
+ "events": [
23
+ {
24
+ "name": "office-profile-change"
25
+ }
26
+ ]
27
+ }
28
+ ],
29
+ "exports": [
30
+ {
31
+ "kind": "custom-element-definition",
32
+ "name": "office-ui-account",
33
+ "declaration": {
34
+ "name": "OfficeUiAccount"
35
+ }
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "kind": "javascript-module",
41
+ "path": "teams/app-rail.ts",
42
+ "declarations": [
43
+ {
44
+ "kind": "class",
45
+ "name": "OfficeUiAppRail",
46
+ "tagName": "office-ui-app-rail",
47
+ "customElement": true,
48
+ "description": "The narrow app bar on the far left (Chat, Teams, Calls, Files). Properties: `items`, `selected`. Emits `office-rail-select` `{ id }`.",
49
+ "attributes": [
50
+ {
51
+ "name": "selected"
52
+ }
53
+ ],
54
+ "members": [
55
+ {
56
+ "kind": "field",
57
+ "name": "items"
58
+ },
59
+ {
60
+ "kind": "field",
61
+ "name": "selected",
62
+ "type": {
63
+ "text": "string"
64
+ }
65
+ }
66
+ ],
67
+ "events": [
68
+ {
69
+ "name": "office-rail-select"
70
+ }
71
+ ]
72
+ }
73
+ ],
74
+ "exports": [
75
+ {
76
+ "kind": "custom-element-definition",
77
+ "name": "office-ui-app-rail",
78
+ "declaration": {
79
+ "name": "OfficeUiAppRail"
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "kind": "javascript-module",
86
+ "path": "teams/avatar.ts",
87
+ "declarations": [
88
+ {
89
+ "kind": "class",
90
+ "name": "OfficeUiAvatar",
91
+ "tagName": "office-ui-avatar",
92
+ "customElement": true,
93
+ "description": "Round avatar with initials and an optional presence badge, like the Teams persona. Attributes: `name`, `color` (default derived from `seed`/`name`), `size` (`sm` | `md` | `lg` | `xl`), `presence` (`available` | `busy` | `away` | `offline`, absent = no badge).",
94
+ "attributes": [
95
+ {
96
+ "name": "color"
97
+ },
98
+ {
99
+ "name": "name"
100
+ },
101
+ {
102
+ "name": "presence"
103
+ },
104
+ {
105
+ "name": "seed"
106
+ },
107
+ {
108
+ "name": "size"
109
+ }
110
+ ],
111
+ "members": [
112
+ {
113
+ "kind": "field",
114
+ "name": "color",
115
+ "type": {
116
+ "text": "string"
117
+ }
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "name",
122
+ "type": {
123
+ "text": "string"
124
+ }
125
+ },
126
+ {
127
+ "kind": "field",
128
+ "name": "presence",
129
+ "type": {
130
+ "text": "string"
131
+ }
132
+ },
133
+ {
134
+ "kind": "field",
135
+ "name": "seed",
136
+ "type": {
137
+ "text": "string"
138
+ }
139
+ },
140
+ {
141
+ "kind": "field",
142
+ "name": "size",
143
+ "type": {
144
+ "text": "string"
145
+ }
146
+ }
147
+ ],
148
+ "events": []
149
+ }
150
+ ],
151
+ "exports": [
152
+ {
153
+ "kind": "custom-element-definition",
154
+ "name": "office-ui-avatar",
155
+ "declaration": {
156
+ "name": "OfficeUiAvatar"
157
+ }
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "kind": "javascript-module",
163
+ "path": "chrome/backstage.ts",
164
+ "declarations": [
165
+ {
166
+ "kind": "class",
167
+ "name": "OfficeUiBackstage",
168
+ "tagName": "office-ui-backstage",
169
+ "customElement": true,
170
+ "description": "`<office-ui-backstage>`: set `items`, put one light-DOM child per page with `data-backstage-page=\"<id>\"`, then `show(id)`. Choosing an item emits `office-backstage-select` and, unless prevented, shows its page; items without a page (Save, Close) only emit. Back and Escape emit a cancelable `office-backstage-close` and close. Attributes: `open`, `selected`, `label` (default \"File\"), `back-label`. Nav buttons carry `data-backstage-item`.",
171
+ "attributes": [
172
+ {
173
+ "name": "back-label"
174
+ },
175
+ {
176
+ "name": "label"
177
+ },
178
+ {
179
+ "name": "open"
180
+ },
181
+ {
182
+ "name": "selected"
183
+ }
184
+ ],
185
+ "members": [
186
+ {
187
+ "kind": "field",
188
+ "name": "backLabel",
189
+ "type": {
190
+ "text": "string"
191
+ },
192
+ "attribute": "back-label"
193
+ },
194
+ {
195
+ "kind": "field",
196
+ "name": "items"
197
+ },
198
+ {
199
+ "kind": "field",
200
+ "name": "label",
201
+ "type": {
202
+ "text": "string"
203
+ }
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "open",
208
+ "type": {
209
+ "text": "boolean"
210
+ }
211
+ },
212
+ {
213
+ "kind": "field",
214
+ "name": "selected",
215
+ "type": {
216
+ "text": "string"
217
+ }
218
+ }
219
+ ],
220
+ "events": [
221
+ {
222
+ "name": "office-backstage-close"
223
+ },
224
+ {
225
+ "name": "office-backstage-select"
226
+ }
227
+ ]
228
+ }
229
+ ],
230
+ "exports": [
231
+ {
232
+ "kind": "custom-element-definition",
233
+ "name": "office-ui-backstage",
234
+ "declaration": {
235
+ "name": "OfficeUiBackstage"
236
+ }
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ "kind": "javascript-module",
242
+ "path": "ribbon/button.ts",
243
+ "declarations": [
244
+ {
245
+ "kind": "class",
246
+ "name": "OfficeUiButton",
247
+ "tagName": "office-ui-button",
248
+ "customElement": true,
249
+ "description": "Command button. Attributes: `label`, `icon`, `command`, `disabled`, `pressed` (aria-pressed), `expanded` (aria-expanded), `icon-only`, `variant=\"stacked\"`, `size=\"large|small\"` (ribbon large and small commands), `tall` (with `icon-only`: a tool tile), `active`, `badge`, `caret` (a trailing menu chevron), `title`, `keyshortcuts` (forwarded as aria-keyshortcuts). Activation (pointer, Enter, Space) emits one bubbling, composed `office-command` `{ command }`; Enter and Space never reach the host's own key handlers. Nothing happens when disabled. Static `requestEvent`, `idAttribute` and `detailKey`, and the `iconName()` and `showsCaret()` methods, let a product subclass keep its published contract and glyph set.",
250
+ "attributes": [
251
+ {
252
+ "name": "active"
253
+ },
254
+ {
255
+ "name": "badge"
256
+ },
257
+ {
258
+ "name": "caret"
259
+ },
260
+ {
261
+ "name": "command"
262
+ },
263
+ {
264
+ "name": "disabled"
265
+ },
266
+ {
267
+ "name": "expanded"
268
+ },
269
+ {
270
+ "name": "icon"
271
+ },
272
+ {
273
+ "name": "icon-only"
274
+ },
275
+ {
276
+ "name": "keyshortcuts"
277
+ },
278
+ {
279
+ "name": "label"
280
+ },
281
+ {
282
+ "name": "pressed"
283
+ },
284
+ {
285
+ "name": "size"
286
+ },
287
+ {
288
+ "name": "tall"
289
+ },
290
+ {
291
+ "name": "title"
292
+ },
293
+ {
294
+ "name": "variant"
295
+ }
296
+ ],
297
+ "members": [
298
+ {
299
+ "kind": "field",
300
+ "name": "disabled",
301
+ "type": {
302
+ "text": "boolean"
303
+ }
304
+ },
305
+ {
306
+ "kind": "field",
307
+ "name": "pressed"
308
+ }
309
+ ],
310
+ "events": [
311
+ {
312
+ "name": "office-command"
313
+ }
314
+ ]
315
+ }
316
+ ],
317
+ "exports": [
318
+ {
319
+ "kind": "custom-element-definition",
320
+ "name": "office-ui-button",
321
+ "declaration": {
322
+ "name": "OfficeUiButton"
323
+ }
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "kind": "javascript-module",
329
+ "path": "teams/call-controls.ts",
330
+ "declarations": [
331
+ {
332
+ "kind": "class",
333
+ "name": "OfficeUiCallControls",
334
+ "tagName": "office-ui-call-controls",
335
+ "customElement": true,
336
+ "description": "The meeting bar: elapsed time on the left, the controls in the middle (Chat, People, Raise hand, Camera, Mic, Share, Leave). Properties: `title`, `startedAt` (epoch ms), `mic`, `camera`, `screen`, `hand`, `panel` (`'chat' | 'people' | ''`), `shareUnavailable`. Emits `office-call-action` `{ action }`.",
337
+ "attributes": [
338
+ {
339
+ "name": "camera"
340
+ },
341
+ {
342
+ "name": "hand"
343
+ },
344
+ {
345
+ "name": "heading"
346
+ },
347
+ {
348
+ "name": "mic"
349
+ },
350
+ {
351
+ "name": "panel"
352
+ },
353
+ {
354
+ "name": "screen"
355
+ },
356
+ {
357
+ "name": "share-unavailable"
358
+ },
359
+ {
360
+ "name": "started-at"
361
+ }
362
+ ],
363
+ "members": [
364
+ {
365
+ "kind": "field",
366
+ "name": "camera",
367
+ "type": {
368
+ "text": "boolean"
369
+ }
370
+ },
371
+ {
372
+ "kind": "field",
373
+ "name": "hand",
374
+ "type": {
375
+ "text": "boolean"
376
+ }
377
+ },
378
+ {
379
+ "kind": "field",
380
+ "name": "heading",
381
+ "type": {
382
+ "text": "string"
383
+ }
384
+ },
385
+ {
386
+ "kind": "field",
387
+ "name": "mic",
388
+ "type": {
389
+ "text": "boolean"
390
+ }
391
+ },
392
+ {
393
+ "kind": "field",
394
+ "name": "now"
395
+ },
396
+ {
397
+ "kind": "field",
398
+ "name": "panel",
399
+ "type": {
400
+ "text": "string"
401
+ }
402
+ },
403
+ {
404
+ "kind": "field",
405
+ "name": "screen",
406
+ "type": {
407
+ "text": "boolean"
408
+ }
409
+ },
410
+ {
411
+ "kind": "field",
412
+ "name": "shareUnavailable",
413
+ "type": {
414
+ "text": "boolean"
415
+ },
416
+ "attribute": "share-unavailable"
417
+ },
418
+ {
419
+ "kind": "field",
420
+ "name": "startedAt",
421
+ "type": {
422
+ "text": "number"
423
+ },
424
+ "attribute": "started-at"
425
+ }
426
+ ],
427
+ "events": [
428
+ {
429
+ "name": "office-call-action"
430
+ }
431
+ ]
432
+ }
433
+ ],
434
+ "exports": [
435
+ {
436
+ "kind": "custom-element-definition",
437
+ "name": "office-ui-call-controls",
438
+ "declaration": {
439
+ "name": "OfficeUiCallControls"
440
+ }
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "kind": "javascript-module",
446
+ "path": "teams/call-grid.ts",
447
+ "declarations": [
448
+ {
449
+ "kind": "class",
450
+ "name": "OfficeUiCallGrid",
451
+ "tagName": "office-ui-call-grid",
452
+ "customElement": true,
453
+ "description": "The meeting stage. Property `participants` (`CallTile[]`). Someone sharing their screen is spotlighted with everyone else in a side strip. Your own tile is muted (no echo) and mirrored unless it shows a screen; tiles without video show the avatar. The grid only attaches the streams it is handed; capture and connections belong to the host.",
454
+ "attributes": [],
455
+ "members": [
456
+ {
457
+ "kind": "field",
458
+ "name": "participants"
459
+ }
460
+ ],
461
+ "events": []
462
+ }
463
+ ],
464
+ "exports": [
465
+ {
466
+ "kind": "custom-element-definition",
467
+ "name": "office-ui-call-grid",
468
+ "declaration": {
469
+ "name": "OfficeUiCallGrid"
470
+ }
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "kind": "javascript-module",
476
+ "path": "teams/channel-list.ts",
477
+ "declarations": [
478
+ {
479
+ "kind": "class",
480
+ "name": "OfficeUiChannelList",
481
+ "tagName": "office-ui-channel-list",
482
+ "customElement": true,
483
+ "description": "The team and its channels, like the Teams navigation tree. Properties: `heading` (the team name), `channels`, `selectedId`. Emits `office-channel-select` `{ id }` and `office-channel-create` `{}` (the host asks for a name). Unread channels are bold with a count.",
484
+ "attributes": [
485
+ {
486
+ "name": "heading"
487
+ },
488
+ {
489
+ "name": "selected-id"
490
+ }
491
+ ],
492
+ "members": [
493
+ {
494
+ "kind": "field",
495
+ "name": "channels"
496
+ },
497
+ {
498
+ "kind": "field",
499
+ "name": "collapsed"
500
+ },
501
+ {
502
+ "kind": "field",
503
+ "name": "heading",
504
+ "type": {
505
+ "text": "string"
506
+ }
507
+ },
508
+ {
509
+ "kind": "field",
510
+ "name": "selectedId",
511
+ "type": {
512
+ "text": "string"
513
+ },
514
+ "attribute": "selected-id"
515
+ }
516
+ ],
517
+ "events": [
518
+ {
519
+ "name": "office-channel-create"
520
+ },
521
+ {
522
+ "name": "office-channel-select"
523
+ }
524
+ ]
525
+ }
526
+ ],
527
+ "exports": [
528
+ {
529
+ "kind": "custom-element-definition",
530
+ "name": "office-ui-channel-list",
531
+ "declaration": {
532
+ "name": "OfficeUiChannelList"
533
+ }
534
+ }
535
+ ]
536
+ },
537
+ {
538
+ "kind": "javascript-module",
539
+ "path": "teams/chat-composer.ts",
540
+ "declarations": [
541
+ {
542
+ "kind": "class",
543
+ "name": "OfficeUiChatComposer",
544
+ "tagName": "office-ui-chat-composer",
545
+ "customElement": true,
546
+ "description": "The compose box: a growing text area, attach and emoji buttons, reply or edit banner and a typing line. Enter sends, Shift+Enter adds a line. Properties: `typing` (names), `replyingTo` (a label or null), `editing` (true while editing), `disabled`, `placeholder`, and `value`. Events: `office-chat-send` `{ text, files }`, `office-chat-typing` `{}` (throttled) and `office-chat-cancel` `{}` (the banner's close button or Escape). File bytes are never read here: the host stores them wherever its server says and posts a link.",
547
+ "attributes": [
548
+ {
549
+ "name": "disabled"
550
+ },
551
+ {
552
+ "name": "editing"
553
+ },
554
+ {
555
+ "name": "placeholder"
556
+ },
557
+ {
558
+ "name": "value"
559
+ }
560
+ ],
561
+ "members": [
562
+ {
563
+ "kind": "field",
564
+ "name": "disabled",
565
+ "type": {
566
+ "text": "boolean"
567
+ }
568
+ },
569
+ {
570
+ "kind": "field",
571
+ "name": "editing",
572
+ "type": {
573
+ "text": "boolean"
574
+ }
575
+ },
576
+ {
577
+ "kind": "field",
578
+ "name": "emojiOpen"
579
+ },
580
+ {
581
+ "kind": "field",
582
+ "name": "files"
583
+ },
584
+ {
585
+ "kind": "field",
586
+ "name": "placeholder",
587
+ "type": {
588
+ "text": "string"
589
+ }
590
+ },
591
+ {
592
+ "kind": "field",
593
+ "name": "replyingTo"
594
+ },
595
+ {
596
+ "kind": "field",
597
+ "name": "typing"
598
+ },
599
+ {
600
+ "kind": "field",
601
+ "name": "value",
602
+ "type": {
603
+ "text": "string"
604
+ }
605
+ }
606
+ ],
607
+ "events": [
608
+ {
609
+ "name": "office-chat-cancel"
610
+ },
611
+ {
612
+ "name": "office-chat-send"
613
+ },
614
+ {
615
+ "name": "office-chat-typing"
616
+ }
617
+ ]
618
+ }
619
+ ],
620
+ "exports": [
621
+ {
622
+ "kind": "custom-element-definition",
623
+ "name": "office-ui-chat-composer",
624
+ "declaration": {
625
+ "name": "OfficeUiChatComposer"
626
+ }
627
+ }
628
+ ]
629
+ },
630
+ {
631
+ "kind": "javascript-module",
632
+ "path": "teams/chat-list.ts",
633
+ "declarations": [
634
+ {
635
+ "kind": "class",
636
+ "name": "OfficeUiChatList",
637
+ "tagName": "office-ui-chat-list",
638
+ "customElement": true,
639
+ "description": "The conversation: messages as Teams-style bubbles with day separators, quoted replies, reaction pills, Office file cards and a hover toolbar. Properties: `messages`, `selfId`. Events (bubbling, composed): `office-chat-react` `{ messageId, emoji }` (toggle), `office-chat-reply` / `office-chat-edit` / `office-chat-delete` `{ messageId }` and `office-chat-open-file` `{ attachment }`. Message text is always rendered as text.",
640
+ "attributes": [
641
+ {
642
+ "name": "self-id"
643
+ }
644
+ ],
645
+ "members": [
646
+ {
647
+ "kind": "field",
648
+ "name": "messages"
649
+ },
650
+ {
651
+ "kind": "field",
652
+ "name": "selfId",
653
+ "type": {
654
+ "text": "string"
655
+ },
656
+ "attribute": "self-id"
657
+ }
658
+ ],
659
+ "events": [
660
+ {
661
+ "name": "office-chat-delete"
662
+ },
663
+ {
664
+ "name": "office-chat-edit"
665
+ },
666
+ {
667
+ "name": "office-chat-open-file"
668
+ },
669
+ {
670
+ "name": "office-chat-react"
671
+ },
672
+ {
673
+ "name": "office-chat-reply"
674
+ }
675
+ ]
676
+ }
677
+ ],
678
+ "exports": [
679
+ {
680
+ "kind": "custom-element-definition",
681
+ "name": "office-ui-chat-list",
682
+ "declaration": {
683
+ "name": "OfficeUiChatList"
684
+ }
685
+ }
686
+ ]
687
+ },
688
+ {
689
+ "kind": "javascript-module",
690
+ "path": "form/checkbox.ts",
691
+ "declarations": [
692
+ {
693
+ "kind": "class",
694
+ "name": "OfficeUiCheckbox",
695
+ "tagName": "office-ui-checkbox",
696
+ "customElement": true,
697
+ "description": "`<office-ui-checkbox checked disabled value aria-label>`.",
698
+ "attributes": [
699
+ {
700
+ "name": "checked"
701
+ },
702
+ {
703
+ "name": "disabled"
704
+ },
705
+ {
706
+ "name": "value"
707
+ }
708
+ ],
709
+ "members": [
710
+ {
711
+ "kind": "field",
712
+ "name": "checked",
713
+ "type": {
714
+ "text": "boolean"
715
+ }
716
+ },
717
+ {
718
+ "kind": "field",
719
+ "name": "disabled",
720
+ "type": {
721
+ "text": "boolean"
722
+ }
723
+ },
724
+ {
725
+ "kind": "field",
726
+ "name": "value",
727
+ "type": {
728
+ "text": "string"
729
+ }
730
+ }
731
+ ],
732
+ "events": []
733
+ }
734
+ ],
735
+ "exports": [
736
+ {
737
+ "kind": "custom-element-definition",
738
+ "name": "office-ui-checkbox",
739
+ "declaration": {
740
+ "name": "OfficeUiCheckbox"
741
+ }
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ "kind": "javascript-module",
747
+ "path": "menu/command-search.ts",
748
+ "declarations": [
749
+ {
750
+ "kind": "class",
751
+ "name": "OfficeUiCommandSearch",
752
+ "tagName": "office-ui-command-search",
753
+ "customElement": true,
754
+ "description": "Office's \"Tell me what you want to do\" box. Set `commands` (`OfficeSearchCommand[]`); typing lists up to `limit` (default 8) matches by label or keywords in a top-layer listbox. ArrowUp/Down move, Enter or click run an enabled match (`office-command` `{ command }`), Escape closes then clears. Disabled matches stay visible with their reason. Attributes: `placeholder`, `label` (accessible name), `limit`. Setting `commands` never emits.",
755
+ "attributes": [
756
+ {
757
+ "name": "label"
758
+ },
759
+ {
760
+ "name": "limit"
761
+ },
762
+ {
763
+ "name": "placeholder"
764
+ }
765
+ ],
766
+ "members": [
767
+ {
768
+ "kind": "field",
769
+ "name": "active"
770
+ },
771
+ {
772
+ "kind": "field",
773
+ "name": "commands"
774
+ },
775
+ {
776
+ "kind": "field",
777
+ "name": "found"
778
+ },
779
+ {
780
+ "kind": "field",
781
+ "name": "isOpen"
782
+ },
783
+ {
784
+ "kind": "field",
785
+ "name": "label",
786
+ "type": {
787
+ "text": "string"
788
+ }
789
+ },
790
+ {
791
+ "kind": "field",
792
+ "name": "limit",
793
+ "type": {
794
+ "text": "string"
795
+ }
796
+ },
797
+ {
798
+ "kind": "field",
799
+ "name": "placeholder",
800
+ "type": {
801
+ "text": "string"
802
+ }
803
+ }
804
+ ],
805
+ "events": [
806
+ {
807
+ "name": "office-command"
808
+ }
809
+ ]
810
+ }
811
+ ],
812
+ "exports": [
813
+ {
814
+ "kind": "custom-element-definition",
815
+ "name": "office-ui-command-search",
816
+ "declaration": {
817
+ "name": "OfficeUiCommandSearch"
818
+ }
819
+ }
820
+ ]
821
+ },
822
+ {
823
+ "kind": "javascript-module",
824
+ "path": "menu/context-menu.ts",
825
+ "declarations": [
826
+ {
827
+ "kind": "class",
828
+ "name": "OfficeUiContextMenu",
829
+ "tagName": "office-ui-context-menu",
830
+ "customElement": true,
831
+ "description": "Office's right-click menu, in two modes sharing keyboard, type-ahead and dismissal: - **Children** (self-managed): `office-ui-menu-item` and `office-ui-menu-separator` children. `openAt(x, y)` shows it in the popover top layer, kept inside the viewport; `close()` hides it. Choosing an item closes the menu and its `office-command` bubbles to the host. - **Controlled** (moved from pptx-viewer `pptx-ui-context-menu`): set `state` (`{ x, y, label, items: [{ id, label, separatorBefore?, heading?, danger?, disabled?, checked?, icon? }], markers?, zIndex?, autoFocus? }`). The host is the fixed box at the pointer, clamped into the window. It emits `office-menu-request` `{ id }` when a row is chosen and `office-menu-close` `{ reason: 'escape' | 'outside' | 'tab' }` when dismissed, and never closes itself: the host removes it or clears its items. While open it takes focus on the first enabled row and returns focus to the opener when it goes away, unless something else took it. Arrow keys, Home, End and type-ahead (repeating a letter cycles) move between enabled rows. Static `requestEvent`, `closeEvent` and `markerPattern` let a product keep its published names.",
832
+ "attributes": [
833
+ {
834
+ "name": "data-open"
835
+ },
836
+ {
837
+ "name": "label"
838
+ }
839
+ ],
840
+ "members": [
841
+ {
842
+ "kind": "field",
843
+ "name": "label",
844
+ "type": {
845
+ "text": "string"
846
+ }
847
+ },
848
+ {
849
+ "kind": "field",
850
+ "name": "open",
851
+ "type": {
852
+ "text": "boolean"
853
+ },
854
+ "attribute": "data-open"
855
+ },
856
+ {
857
+ "kind": "field",
858
+ "name": "state"
859
+ }
860
+ ],
861
+ "events": [
862
+ {
863
+ "name": "office-menu-close"
864
+ },
865
+ {
866
+ "name": "office-menu-request"
867
+ }
868
+ ]
869
+ }
870
+ ],
871
+ "exports": [
872
+ {
873
+ "kind": "custom-element-definition",
874
+ "name": "office-ui-context-menu",
875
+ "declaration": {
876
+ "name": "OfficeUiContextMenu"
877
+ }
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "kind": "javascript-module",
883
+ "path": "dialog/dialog.ts",
884
+ "declarations": [
885
+ {
886
+ "kind": "class",
887
+ "name": "OfficeUiDialog",
888
+ "tagName": "office-ui-dialog",
889
+ "customElement": true,
890
+ "description": "Modal dialog shell. `open` and `heading` attributes, `dismissible` (default true; set `dismissible=\"false\"` to ignore Escape and backdrop). Default slot is the body, `slot=\"footer\"` holds actions. `role=\"dialog\"`, `aria-modal`, labelled by the heading. Escape, the close button and the backdrop emit a cancelable `office-dialog-close` and close unless prevented; focus moves in on open, is trapped with Tab, and returns to the previously focused element on close.",
891
+ "attributes": [
892
+ {
893
+ "name": "close-label"
894
+ },
895
+ {
896
+ "name": "dismissible"
897
+ },
898
+ {
899
+ "name": "heading"
900
+ },
901
+ {
902
+ "name": "open"
903
+ }
904
+ ],
905
+ "members": [
906
+ {
907
+ "kind": "field",
908
+ "name": "closeLabel",
909
+ "type": {
910
+ "text": "string"
911
+ },
912
+ "attribute": "close-label"
913
+ },
914
+ {
915
+ "kind": "field",
916
+ "name": "dismissible",
917
+ "type": {
918
+ "text": "string"
919
+ }
920
+ },
921
+ {
922
+ "kind": "field",
923
+ "name": "heading",
924
+ "type": {
925
+ "text": "string"
926
+ }
927
+ },
928
+ {
929
+ "kind": "field",
930
+ "name": "open",
931
+ "type": {
932
+ "text": "boolean"
933
+ }
934
+ }
935
+ ],
936
+ "events": [
937
+ {
938
+ "name": "office-dialog-close"
939
+ }
940
+ ]
941
+ }
942
+ ],
943
+ "exports": [
944
+ {
945
+ "kind": "custom-element-definition",
946
+ "name": "office-ui-dialog",
947
+ "declaration": {
948
+ "name": "OfficeUiDialog"
949
+ }
950
+ }
951
+ ]
952
+ },
953
+ {
954
+ "kind": "javascript-module",
955
+ "path": "dialog/dialog-footer.ts",
956
+ "declarations": [
957
+ {
958
+ "kind": "class",
959
+ "name": "OfficeUiDialogFooter",
960
+ "tagName": "office-ui-dialog-footer",
961
+ "customElement": true,
962
+ "description": "`<office-ui-dialog-footer>`: a dialog's action row (Cancel, OK, Apply...). Not a dialog shell. Set `state`; each button emits `office-dialog-footer-request` `{ id }`. Buttons are keyed by action id and patched in place, so focus survives state changes. `focusAction(id)`. Text arrives already translated; the event name is a static field a product subclass may override.",
963
+ "attributes": [],
964
+ "members": [
965
+ {
966
+ "kind": "field",
967
+ "name": "state"
968
+ }
969
+ ],
970
+ "events": [
971
+ {
972
+ "name": "office-dialog-footer-request"
973
+ }
974
+ ]
975
+ }
976
+ ],
977
+ "exports": [
978
+ {
979
+ "kind": "custom-element-definition",
980
+ "name": "office-ui-dialog-footer",
981
+ "declaration": {
982
+ "name": "OfficeUiDialogFooter"
983
+ }
984
+ }
985
+ ]
986
+ },
987
+ {
988
+ "kind": "javascript-module",
989
+ "path": "chrome/find-bar.ts",
990
+ "declarations": [
991
+ {
992
+ "kind": "class",
993
+ "name": "OfficeUiFindBar",
994
+ "tagName": "office-ui-find-bar",
995
+ "customElement": true,
996
+ "description": "`<office-ui-find-bar>`: Office's on-demand Find bar under the ribbon. Shown while `open`; `show()` opens it and selects the query. Enter steps to the next result, Shift+Enter to the previous; Escape clears a query, or closes the bar when it is already empty. Attributes: `open`, `label`, `input-label`, `placeholder`, `maxlength`, `disabled`, `navigation-disabled`, `previous-label`, `next-label`, `close-label`. Properties: `value`, `status`, `statusTitle`. Events: `office-find-input` `{ query }`, `office-find-step` `{ direction }`, `office-find-close`.",
997
+ "attributes": [
998
+ {
999
+ "name": "close-label"
1000
+ },
1001
+ {
1002
+ "name": "disabled"
1003
+ },
1004
+ {
1005
+ "name": "input-label"
1006
+ },
1007
+ {
1008
+ "name": "label"
1009
+ },
1010
+ {
1011
+ "name": "maxlength"
1012
+ },
1013
+ {
1014
+ "name": "navigation-disabled"
1015
+ },
1016
+ {
1017
+ "name": "next-label"
1018
+ },
1019
+ {
1020
+ "name": "open"
1021
+ },
1022
+ {
1023
+ "name": "placeholder"
1024
+ },
1025
+ {
1026
+ "name": "previous-label"
1027
+ }
1028
+ ],
1029
+ "members": [
1030
+ {
1031
+ "kind": "field",
1032
+ "name": "closeLabel",
1033
+ "type": {
1034
+ "text": "string"
1035
+ },
1036
+ "attribute": "close-label"
1037
+ },
1038
+ {
1039
+ "kind": "field",
1040
+ "name": "disabled",
1041
+ "type": {
1042
+ "text": "boolean"
1043
+ }
1044
+ },
1045
+ {
1046
+ "kind": "field",
1047
+ "name": "inputLabel",
1048
+ "type": {
1049
+ "text": "string"
1050
+ },
1051
+ "attribute": "input-label"
1052
+ },
1053
+ {
1054
+ "kind": "field",
1055
+ "name": "label",
1056
+ "type": {
1057
+ "text": "string"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "field",
1062
+ "name": "maxlength",
1063
+ "type": {
1064
+ "text": "string"
1065
+ }
1066
+ },
1067
+ {
1068
+ "kind": "field",
1069
+ "name": "navigationDisabled",
1070
+ "type": {
1071
+ "text": "boolean"
1072
+ },
1073
+ "attribute": "navigation-disabled"
1074
+ },
1075
+ {
1076
+ "kind": "field",
1077
+ "name": "nextLabel",
1078
+ "type": {
1079
+ "text": "string"
1080
+ },
1081
+ "attribute": "next-label"
1082
+ },
1083
+ {
1084
+ "kind": "field",
1085
+ "name": "open",
1086
+ "type": {
1087
+ "text": "boolean"
1088
+ }
1089
+ },
1090
+ {
1091
+ "kind": "field",
1092
+ "name": "placeholder",
1093
+ "type": {
1094
+ "text": "string"
1095
+ }
1096
+ },
1097
+ {
1098
+ "kind": "field",
1099
+ "name": "previousLabel",
1100
+ "type": {
1101
+ "text": "string"
1102
+ },
1103
+ "attribute": "previous-label"
1104
+ },
1105
+ {
1106
+ "kind": "field",
1107
+ "name": "status"
1108
+ },
1109
+ {
1110
+ "kind": "field",
1111
+ "name": "statusTitle"
1112
+ },
1113
+ {
1114
+ "kind": "field",
1115
+ "name": "value"
1116
+ }
1117
+ ],
1118
+ "events": [
1119
+ {
1120
+ "name": "office-find-close"
1121
+ },
1122
+ {
1123
+ "name": "office-find-input"
1124
+ },
1125
+ {
1126
+ "name": "office-find-step"
1127
+ }
1128
+ ]
1129
+ }
1130
+ ],
1131
+ "exports": [
1132
+ {
1133
+ "kind": "custom-element-definition",
1134
+ "name": "office-ui-find-bar",
1135
+ "declaration": {
1136
+ "name": "OfficeUiFindBar"
1137
+ }
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "kind": "javascript-module",
1143
+ "path": "ribbon/gallery.ts",
1144
+ "declarations": [
1145
+ {
1146
+ "kind": "class",
1147
+ "name": "OfficeUiGallery",
1148
+ "tagName": "office-ui-gallery",
1149
+ "customElement": true,
1150
+ "description": "`<office-ui-gallery>`: Office's ribbon gallery (Shape Styles, Themes, Table Styles). Set `state` (`OfficeGalleryState`, translated). `mode=\"inline\"` shows a strip of tiles beside a More button; otherwise the trigger is a labelled dropdown (`chevron-only` keeps just the chevron, `icon` names its glyph). The popup opens below the trigger, keeps inside the window and closes on Escape, an outside press or a pick. ArrowDown on the trigger opens it and focuses the first tile. A pick emits `office-gallery-pick` `{ gallery, itemId }`. Tiles render in the light DOM beside the host's children (Lit renders the template into the host itself) so products can query them (`data-gallery-item`); the rules join the host's root once. Static `pickEvent`, `triggerAttribute`, `popupAttribute`, `itemAttribute` and `compactAttribute` keep a product's published names; override `triggerIcon()` to draw a product glyph.",
1151
+ "attributes": [
1152
+ {
1153
+ "name": "chevron-only"
1154
+ },
1155
+ {
1156
+ "name": "icon"
1157
+ },
1158
+ {
1159
+ "name": "mode"
1160
+ }
1161
+ ],
1162
+ "members": [
1163
+ {
1164
+ "kind": "field",
1165
+ "name": "disabled"
1166
+ },
1167
+ {
1168
+ "kind": "field",
1169
+ "name": "open"
1170
+ },
1171
+ {
1172
+ "kind": "field",
1173
+ "name": "state"
1174
+ }
1175
+ ],
1176
+ "events": [
1177
+ {
1178
+ "name": "office-gallery-pick"
1179
+ }
1180
+ ]
1181
+ }
1182
+ ],
1183
+ "exports": [
1184
+ {
1185
+ "kind": "custom-element-definition",
1186
+ "name": "office-ui-gallery",
1187
+ "declaration": {
1188
+ "name": "OfficeUiGallery"
1189
+ }
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ "kind": "javascript-module",
1195
+ "path": "icon.ts",
1196
+ "declarations": [
1197
+ {
1198
+ "kind": "class",
1199
+ "name": "OfficeUiIcon",
1200
+ "tagName": "office-ui-icon",
1201
+ "customElement": true,
1202
+ "description": "`<office-ui-icon name=\"check\" label=\"Done\">`: decorative unless `label` is set.",
1203
+ "attributes": [
1204
+ {
1205
+ "name": "label"
1206
+ },
1207
+ {
1208
+ "name": "name"
1209
+ }
1210
+ ],
1211
+ "members": [
1212
+ {
1213
+ "kind": "field",
1214
+ "name": "label",
1215
+ "type": {
1216
+ "text": "string"
1217
+ }
1218
+ },
1219
+ {
1220
+ "kind": "field",
1221
+ "name": "name",
1222
+ "type": {
1223
+ "text": "string"
1224
+ }
1225
+ }
1226
+ ],
1227
+ "events": []
1228
+ }
1229
+ ],
1230
+ "exports": [
1231
+ {
1232
+ "kind": "custom-element-definition",
1233
+ "name": "office-ui-icon",
1234
+ "declaration": {
1235
+ "name": "OfficeUiIcon"
1236
+ }
1237
+ }
1238
+ ]
1239
+ },
1240
+ {
1241
+ "kind": "javascript-module",
1242
+ "path": "menu/menu-button.ts",
1243
+ "declarations": [
1244
+ {
1245
+ "kind": "class",
1246
+ "name": "OfficeUiMenuButton",
1247
+ "tagName": "office-ui-menu-button",
1248
+ "customElement": true,
1249
+ "description": "Dropdown command with a menu of `office-ui-menu-item` children (Office's Find, Layers, Align). With a `command` attribute it is a split button: the main part emits that command and the caret opens the menu. Attributes: `label`, `icon`, `command`, `variant=\"stacked\"`, `icon-only`, `disabled`, `title`, `keyshortcuts`. The menu uses the top layer (`popover`) so ribbon overflow never clips it. Keyboard: Enter, Space or ArrowDown open; arrows, Home and End move; Escape and Tab close; focus returns to the trigger. Choosing an item closes the menu; its `office-command` bubbles to the host.",
1250
+ "attributes": [
1251
+ {
1252
+ "name": "command"
1253
+ },
1254
+ {
1255
+ "name": "disabled"
1256
+ },
1257
+ {
1258
+ "name": "icon"
1259
+ },
1260
+ {
1261
+ "name": "icon-only"
1262
+ },
1263
+ {
1264
+ "name": "keyshortcuts"
1265
+ },
1266
+ {
1267
+ "name": "label"
1268
+ },
1269
+ {
1270
+ "name": "title"
1271
+ }
1272
+ ],
1273
+ "members": [
1274
+ {
1275
+ "kind": "field",
1276
+ "name": "command",
1277
+ "type": {
1278
+ "text": "string"
1279
+ }
1280
+ },
1281
+ {
1282
+ "kind": "field",
1283
+ "name": "disabled",
1284
+ "type": {
1285
+ "text": "boolean"
1286
+ }
1287
+ },
1288
+ {
1289
+ "kind": "field",
1290
+ "name": "icon",
1291
+ "type": {
1292
+ "text": "string"
1293
+ }
1294
+ },
1295
+ {
1296
+ "kind": "field",
1297
+ "name": "iconOnly",
1298
+ "type": {
1299
+ "text": "boolean"
1300
+ },
1301
+ "attribute": "icon-only"
1302
+ },
1303
+ {
1304
+ "kind": "field",
1305
+ "name": "keyshortcuts",
1306
+ "type": {
1307
+ "text": "string"
1308
+ }
1309
+ },
1310
+ {
1311
+ "kind": "field",
1312
+ "name": "label",
1313
+ "type": {
1314
+ "text": "string"
1315
+ }
1316
+ },
1317
+ {
1318
+ "kind": "field",
1319
+ "name": "open"
1320
+ }
1321
+ ],
1322
+ "events": [
1323
+ {
1324
+ "name": "office-command"
1325
+ }
1326
+ ]
1327
+ }
1328
+ ],
1329
+ "exports": [
1330
+ {
1331
+ "kind": "custom-element-definition",
1332
+ "name": "office-ui-menu-button",
1333
+ "declaration": {
1334
+ "name": "OfficeUiMenuButton"
1335
+ }
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "kind": "javascript-module",
1341
+ "path": "menu/menu-item.ts",
1342
+ "declarations": [
1343
+ {
1344
+ "kind": "class",
1345
+ "name": "OfficeUiMenuItem",
1346
+ "tagName": "office-ui-menu-item",
1347
+ "customElement": true,
1348
+ "description": "One menu entry: `command`, `label`, `icon`, `disabled`, `checked` (renders a `menuitemcheckbox`), `title`. Activation emits `office-command` `{ command }`.",
1349
+ "attributes": [
1350
+ {
1351
+ "name": "checked"
1352
+ },
1353
+ {
1354
+ "name": "command"
1355
+ },
1356
+ {
1357
+ "name": "disabled"
1358
+ },
1359
+ {
1360
+ "name": "icon"
1361
+ },
1362
+ {
1363
+ "name": "label"
1364
+ },
1365
+ {
1366
+ "name": "title"
1367
+ }
1368
+ ],
1369
+ "members": [
1370
+ {
1371
+ "kind": "field",
1372
+ "name": "checked",
1373
+ "type": {
1374
+ "text": "string"
1375
+ }
1376
+ },
1377
+ {
1378
+ "kind": "field",
1379
+ "name": "command",
1380
+ "type": {
1381
+ "text": "string"
1382
+ }
1383
+ },
1384
+ {
1385
+ "kind": "field",
1386
+ "name": "disabled",
1387
+ "type": {
1388
+ "text": "boolean"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "field",
1393
+ "name": "icon",
1394
+ "type": {
1395
+ "text": "string"
1396
+ }
1397
+ },
1398
+ {
1399
+ "kind": "field",
1400
+ "name": "label",
1401
+ "type": {
1402
+ "text": "string"
1403
+ }
1404
+ }
1405
+ ],
1406
+ "events": [
1407
+ {
1408
+ "name": "office-command"
1409
+ }
1410
+ ]
1411
+ }
1412
+ ],
1413
+ "exports": [
1414
+ {
1415
+ "kind": "custom-element-definition",
1416
+ "name": "office-ui-menu-item",
1417
+ "declaration": {
1418
+ "name": "OfficeUiMenuItem"
1419
+ }
1420
+ }
1421
+ ]
1422
+ },
1423
+ {
1424
+ "kind": "javascript-module",
1425
+ "path": "menu/menu-separator.ts",
1426
+ "declarations": [
1427
+ {
1428
+ "kind": "class",
1429
+ "name": "OfficeUiMenuSeparator",
1430
+ "tagName": "office-ui-menu-separator",
1431
+ "customElement": true,
1432
+ "description": "A `role=\"separator\"` rule between groups of menu items.",
1433
+ "attributes": [],
1434
+ "members": [],
1435
+ "events": []
1436
+ }
1437
+ ],
1438
+ "exports": [
1439
+ {
1440
+ "kind": "custom-element-definition",
1441
+ "name": "office-ui-menu-separator",
1442
+ "declaration": {
1443
+ "name": "OfficeUiMenuSeparator"
1444
+ }
1445
+ }
1446
+ ]
1447
+ },
1448
+ {
1449
+ "kind": "javascript-module",
1450
+ "path": "dialog/options-dialog.ts",
1451
+ "declarations": [
1452
+ {
1453
+ "kind": "class",
1454
+ "name": "OfficeUiOptionsDialog",
1455
+ "tagName": "office-ui-options-dialog",
1456
+ "customElement": true,
1457
+ "description": "`<office-ui-options-dialog>`: set `categories` and `values`, then `show()` (or the `open` attribute). Edits stay in a draft until OK, which emits `office-options-change` and closes; Cancel, Escape and the close button discard them. `heading` defaults to \"Options\".",
1458
+ "attributes": [
1459
+ {
1460
+ "name": "heading"
1461
+ },
1462
+ {
1463
+ "name": "open"
1464
+ }
1465
+ ],
1466
+ "members": [
1467
+ {
1468
+ "kind": "field",
1469
+ "name": "active"
1470
+ },
1471
+ {
1472
+ "kind": "field",
1473
+ "name": "categories"
1474
+ },
1475
+ {
1476
+ "kind": "field",
1477
+ "name": "category"
1478
+ },
1479
+ {
1480
+ "kind": "field",
1481
+ "name": "heading",
1482
+ "type": {
1483
+ "text": "string"
1484
+ }
1485
+ },
1486
+ {
1487
+ "kind": "field",
1488
+ "name": "open",
1489
+ "type": {
1490
+ "text": "boolean"
1491
+ }
1492
+ },
1493
+ {
1494
+ "kind": "field",
1495
+ "name": "values"
1496
+ }
1497
+ ],
1498
+ "events": [
1499
+ {
1500
+ "name": "office-options-change"
1501
+ }
1502
+ ]
1503
+ }
1504
+ ],
1505
+ "exports": [
1506
+ {
1507
+ "kind": "custom-element-definition",
1508
+ "name": "office-ui-options-dialog",
1509
+ "declaration": {
1510
+ "name": "OfficeUiOptionsDialog"
1511
+ }
1512
+ }
1513
+ ]
1514
+ },
1515
+ {
1516
+ "kind": "javascript-module",
1517
+ "path": "notices/paste-options.ts",
1518
+ "declarations": [
1519
+ {
1520
+ "kind": "class",
1521
+ "name": "OfficeUiPasteOptions",
1522
+ "tagName": "office-ui-paste-options",
1523
+ "customElement": true,
1524
+ "description": "`<office-ui-paste-options>`: the Paste Options strip Word, Excel and PowerPoint offer after a paste, anchored one `--office-space-1` step past the pasted object's bottom-right corner (the host is the fixed box). A choice emits `office-paste-options-request` `{ format }` then `office-paste-options-dismiss`; the first pointerdown or keydown outside (Escape inside too) dismisses, armed one task after connecting so the paste gesture does not. Text arrives translated; event names and the test id prefix are static fields a product subclass may override.",
1525
+ "attributes": [],
1526
+ "members": [
1527
+ {
1528
+ "kind": "field",
1529
+ "name": "state"
1530
+ }
1531
+ ],
1532
+ "events": [
1533
+ {
1534
+ "name": "office-paste-options-dismiss"
1535
+ },
1536
+ {
1537
+ "name": "office-paste-options-request"
1538
+ }
1539
+ ]
1540
+ }
1541
+ ],
1542
+ "exports": [
1543
+ {
1544
+ "kind": "custom-element-definition",
1545
+ "name": "office-ui-paste-options",
1546
+ "declaration": {
1547
+ "name": "OfficeUiPasteOptions"
1548
+ }
1549
+ }
1550
+ ]
1551
+ },
1552
+ {
1553
+ "kind": "javascript-module",
1554
+ "path": "teams/prejoin.ts",
1555
+ "declarations": [
1556
+ {
1557
+ "kind": "class",
1558
+ "name": "OfficeUiPrejoin",
1559
+ "tagName": "office-ui-prejoin",
1560
+ "customElement": true,
1561
+ "description": "The pre-join screen: a camera preview and the audio/video switches, then \"Join now\". Properties: `heading`, `name` (you), `preview` (a `MediaStream` or null), `audio`, `video`, `busy` (joining). Events: `office-prejoin-change` `{ audio?, video? }`, `office-prejoin-join` and `office-prejoin-cancel`.",
1562
+ "attributes": [
1563
+ {
1564
+ "name": "audio"
1565
+ },
1566
+ {
1567
+ "name": "busy"
1568
+ },
1569
+ {
1570
+ "name": "heading"
1571
+ },
1572
+ {
1573
+ "name": "name"
1574
+ },
1575
+ {
1576
+ "name": "video"
1577
+ }
1578
+ ],
1579
+ "members": [
1580
+ {
1581
+ "kind": "field",
1582
+ "name": "audio",
1583
+ "type": {
1584
+ "text": "boolean"
1585
+ }
1586
+ },
1587
+ {
1588
+ "kind": "field",
1589
+ "name": "busy",
1590
+ "type": {
1591
+ "text": "boolean"
1592
+ }
1593
+ },
1594
+ {
1595
+ "kind": "field",
1596
+ "name": "heading",
1597
+ "type": {
1598
+ "text": "string"
1599
+ }
1600
+ },
1601
+ {
1602
+ "kind": "field",
1603
+ "name": "name",
1604
+ "type": {
1605
+ "text": "string"
1606
+ }
1607
+ },
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "preview"
1611
+ },
1612
+ {
1613
+ "kind": "field",
1614
+ "name": "video",
1615
+ "type": {
1616
+ "text": "boolean"
1617
+ }
1618
+ }
1619
+ ],
1620
+ "events": [
1621
+ {
1622
+ "name": "office-prejoin-cancel"
1623
+ },
1624
+ {
1625
+ "name": "office-prejoin-change"
1626
+ },
1627
+ {
1628
+ "name": "office-prejoin-join"
1629
+ }
1630
+ ]
1631
+ }
1632
+ ],
1633
+ "exports": [
1634
+ {
1635
+ "kind": "custom-element-definition",
1636
+ "name": "office-ui-prejoin",
1637
+ "declaration": {
1638
+ "name": "OfficeUiPrejoin"
1639
+ }
1640
+ }
1641
+ ]
1642
+ },
1643
+ {
1644
+ "kind": "javascript-module",
1645
+ "path": "presence/presence.ts",
1646
+ "declarations": [
1647
+ {
1648
+ "kind": "class",
1649
+ "name": "OfficeUiPresence",
1650
+ "tagName": "office-ui-presence",
1651
+ "customElement": true,
1652
+ "description": "Presence avatar stack. `participants` property (array of `PresenceParticipant`), `max` attribute (visible avatars, default 4; the rest collapse into a \"+N\" chip). `role=\"list\"` with one button per person (accessible name = name, status and \"(you)\"); activating one emits `office-presence-select` `{ id }` so the host can follow that user. Rendering carries no identity beyond what the host passes in.",
1653
+ "attributes": [
1654
+ {
1655
+ "name": "label"
1656
+ },
1657
+ {
1658
+ "name": "max"
1659
+ }
1660
+ ],
1661
+ "members": [
1662
+ {
1663
+ "kind": "field",
1664
+ "name": "label",
1665
+ "type": {
1666
+ "text": "string"
1667
+ }
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "max",
1672
+ "type": {
1673
+ "text": "string"
1674
+ }
1675
+ },
1676
+ {
1677
+ "kind": "field",
1678
+ "name": "participants"
1679
+ }
1680
+ ],
1681
+ "events": [
1682
+ {
1683
+ "name": "office-presence-select"
1684
+ }
1685
+ ]
1686
+ }
1687
+ ],
1688
+ "exports": [
1689
+ {
1690
+ "kind": "custom-element-definition",
1691
+ "name": "office-ui-presence",
1692
+ "declaration": {
1693
+ "name": "OfficeUiPresence"
1694
+ }
1695
+ }
1696
+ ]
1697
+ },
1698
+ {
1699
+ "kind": "javascript-module",
1700
+ "path": "chrome/print-preview.ts",
1701
+ "declarations": [
1702
+ {
1703
+ "kind": "class",
1704
+ "name": "OfficeUiPrintPreview",
1705
+ "tagName": "office-ui-print-preview",
1706
+ "customElement": true,
1707
+ "description": "`<office-ui-print-preview>`: the Print page's paper preview with page navigation. Set `pages` to rendered nodes (for example the SVG of each page); the element shows a deep clone of the current one with `tabindex` and inline `style` removed, so the preview is inert and never parses markup. `index` selects the page; the arrows emit `office-print-preview-page`. Attributes: `label` (default \"Print preview\"), `empty-label`.",
1708
+ "attributes": [
1709
+ {
1710
+ "name": "empty-label"
1711
+ },
1712
+ {
1713
+ "name": "label"
1714
+ }
1715
+ ],
1716
+ "members": [
1717
+ {
1718
+ "kind": "field",
1719
+ "name": "emptyLabel",
1720
+ "type": {
1721
+ "text": "string"
1722
+ },
1723
+ "attribute": "empty-label"
1724
+ },
1725
+ {
1726
+ "kind": "field",
1727
+ "name": "index"
1728
+ },
1729
+ {
1730
+ "kind": "field",
1731
+ "name": "label",
1732
+ "type": {
1733
+ "text": "string"
1734
+ }
1735
+ },
1736
+ {
1737
+ "kind": "field",
1738
+ "name": "pages"
1739
+ }
1740
+ ],
1741
+ "events": [
1742
+ {
1743
+ "name": "office-print-preview-page"
1744
+ }
1745
+ ]
1746
+ }
1747
+ ],
1748
+ "exports": [
1749
+ {
1750
+ "kind": "custom-element-definition",
1751
+ "name": "office-ui-print-preview",
1752
+ "declaration": {
1753
+ "name": "OfficeUiPrintPreview"
1754
+ }
1755
+ }
1756
+ ]
1757
+ },
1758
+ {
1759
+ "kind": "javascript-module",
1760
+ "path": "form/radio.ts",
1761
+ "declarations": [
1762
+ {
1763
+ "kind": "class",
1764
+ "name": "OfficeUiRadio",
1765
+ "tagName": "office-ui-radio",
1766
+ "customElement": true,
1767
+ "description": "Radio button with a native-like contract. Moved from pptx-viewer `pptx-ui-radio`. Radios sharing a `name` in one tree and form are a WAI-ARIA radiogroup with one roving tab stop (the checked radio, else the first enabled one). Arrows move, select and focus the next enabled radio (wrapping), Home and End jump to the ends, Space selects. Checking programmatically silently unchecks peers; only user activation emits `input` then `change`, on the radio that becomes checked. Disabled radios are inert.",
1768
+ "attributes": [
1769
+ {
1770
+ "name": "checked"
1771
+ },
1772
+ {
1773
+ "name": "disabled"
1774
+ },
1775
+ {
1776
+ "name": "name"
1777
+ },
1778
+ {
1779
+ "name": "value"
1780
+ }
1781
+ ],
1782
+ "members": [
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "checked",
1786
+ "type": {
1787
+ "text": "boolean"
1788
+ }
1789
+ },
1790
+ {
1791
+ "kind": "field",
1792
+ "name": "disabled",
1793
+ "type": {
1794
+ "text": "boolean"
1795
+ }
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "name",
1800
+ "type": {
1801
+ "text": "string"
1802
+ }
1803
+ },
1804
+ {
1805
+ "kind": "field",
1806
+ "name": "value",
1807
+ "type": {
1808
+ "text": "string"
1809
+ }
1810
+ }
1811
+ ],
1812
+ "events": []
1813
+ }
1814
+ ],
1815
+ "exports": [
1816
+ {
1817
+ "kind": "custom-element-definition",
1818
+ "name": "office-ui-radio",
1819
+ "declaration": {
1820
+ "name": "OfficeUiRadio"
1821
+ }
1822
+ }
1823
+ ]
1824
+ },
1825
+ {
1826
+ "kind": "javascript-module",
1827
+ "path": "notices/read-only-banner.ts",
1828
+ "declarations": [
1829
+ {
1830
+ "kind": "class",
1831
+ "name": "OfficeUiReadOnlyBanner",
1832
+ "tagName": "office-ui-read-only-banner",
1833
+ "customElement": true,
1834
+ "description": "`<office-ui-read-only-banner>`: controlled banner for \"read-only recommended\", which Word, Excel and PowerPoint all show. The host owns the lock (Edit anyway, Dismiss, the password check); the element owns the markup, the password form and its focus. Each activation emits `office-read-only-request` with an {@link OfficeReadOnlyBannerIntent}. Text arrives translated; the event name and test id prefix are static fields a product subclass may override.",
1835
+ "attributes": [],
1836
+ "members": [
1837
+ {
1838
+ "kind": "field",
1839
+ "name": "state"
1840
+ }
1841
+ ],
1842
+ "events": [
1843
+ {
1844
+ "name": "office-read-only-request"
1845
+ }
1846
+ ]
1847
+ }
1848
+ ],
1849
+ "exports": [
1850
+ {
1851
+ "kind": "custom-element-definition",
1852
+ "name": "office-ui-read-only-banner",
1853
+ "declaration": {
1854
+ "name": "OfficeUiReadOnlyBanner"
1855
+ }
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "kind": "javascript-module",
1861
+ "path": "ribbon/ribbon-tabs.ts",
1862
+ "declarations": [
1863
+ {
1864
+ "kind": "class",
1865
+ "name": "OfficeUiRibbon",
1866
+ "tagName": "office-ui-ribbon",
1867
+ "customElement": true,
1868
+ "description": "`<office-ui-ribbon>`: the Office tab row (Quick Access Toolbar, File, tabs, search) over the tab panels. Panels are light-DOM children carrying `data-ribbon-tab` (id), `data-label` and optionally `data-tab-keytip`; the element builds the tabs from them, keeps exactly one panel visible and moves between tabs with the arrow keys, Home and End. Slots: `quick-access`, `search`, `end`. Attributes: `selected`, `label` (tab list name), `file-label` (default \"File\"), `no-file`, `file-expanded`, `file-keytip`. A panel with `data-tab-hidden` keeps its content but has no tab (a contextual tab, or one a customisation removed); if it was selected, the first remaining tab takes over. `data-contextual` on a panel tints its tab (`--office-ribbon-contextual`), for tools that apply to the selection, such as a table's. Events: `office-ribbon-select` `{ tab }` (cancelable) and `office-ribbon-file` when File is activated. `collapsible` adds Office's collapse button: `collapsed` hides the panels, a click on a tab then shows its panel over the content (`peek`) until Escape, a command or a click elsewhere. Ctrl+F1 and a double click on a tab toggle it. `collapse-label` names the button. Event: `office-ribbon-collapse` `{ collapsed }`.",
1869
+ "attributes": [
1870
+ {
1871
+ "name": "collapse-label"
1872
+ },
1873
+ {
1874
+ "name": "collapsed"
1875
+ },
1876
+ {
1877
+ "name": "collapsible"
1878
+ },
1879
+ {
1880
+ "name": "file-expanded"
1881
+ },
1882
+ {
1883
+ "name": "file-keytip"
1884
+ },
1885
+ {
1886
+ "name": "file-label"
1887
+ },
1888
+ {
1889
+ "name": "label"
1890
+ },
1891
+ {
1892
+ "name": "no-file"
1893
+ },
1894
+ {
1895
+ "name": "peek"
1896
+ },
1897
+ {
1898
+ "name": "selected"
1899
+ }
1900
+ ],
1901
+ "members": [
1902
+ {
1903
+ "kind": "field",
1904
+ "name": "collapsed",
1905
+ "type": {
1906
+ "text": "boolean"
1907
+ }
1908
+ },
1909
+ {
1910
+ "kind": "field",
1911
+ "name": "collapseLabel",
1912
+ "type": {
1913
+ "text": "string"
1914
+ },
1915
+ "attribute": "collapse-label"
1916
+ },
1917
+ {
1918
+ "kind": "field",
1919
+ "name": "collapsible",
1920
+ "type": {
1921
+ "text": "boolean"
1922
+ }
1923
+ },
1924
+ {
1925
+ "kind": "field",
1926
+ "name": "fileExpanded",
1927
+ "type": {
1928
+ "text": "string"
1929
+ },
1930
+ "attribute": "file-expanded"
1931
+ },
1932
+ {
1933
+ "kind": "field",
1934
+ "name": "fileKeytip",
1935
+ "type": {
1936
+ "text": "string"
1937
+ },
1938
+ "attribute": "file-keytip"
1939
+ },
1940
+ {
1941
+ "kind": "field",
1942
+ "name": "fileLabel",
1943
+ "type": {
1944
+ "text": "string"
1945
+ },
1946
+ "attribute": "file-label"
1947
+ },
1948
+ {
1949
+ "kind": "field",
1950
+ "name": "label",
1951
+ "type": {
1952
+ "text": "string"
1953
+ }
1954
+ },
1955
+ {
1956
+ "kind": "field",
1957
+ "name": "noFile",
1958
+ "type": {
1959
+ "text": "boolean"
1960
+ },
1961
+ "attribute": "no-file"
1962
+ },
1963
+ {
1964
+ "kind": "field",
1965
+ "name": "peek",
1966
+ "type": {
1967
+ "text": "boolean"
1968
+ }
1969
+ },
1970
+ {
1971
+ "kind": "field",
1972
+ "name": "selected",
1973
+ "type": {
1974
+ "text": "string"
1975
+ }
1976
+ },
1977
+ {
1978
+ "kind": "field",
1979
+ "name": "tabs"
1980
+ }
1981
+ ],
1982
+ "events": [
1983
+ {
1984
+ "name": "office-ribbon-collapse"
1985
+ },
1986
+ {
1987
+ "name": "office-ribbon-file"
1988
+ },
1989
+ {
1990
+ "name": "office-ribbon-select"
1991
+ }
1992
+ ]
1993
+ }
1994
+ ],
1995
+ "exports": [
1996
+ {
1997
+ "kind": "custom-element-definition",
1998
+ "name": "office-ui-ribbon",
1999
+ "declaration": {
2000
+ "name": "OfficeUiRibbon"
2001
+ }
2002
+ }
2003
+ ]
2004
+ },
2005
+ {
2006
+ "kind": "javascript-module",
2007
+ "path": "ribbon/ribbon-group.ts",
2008
+ "declarations": [
2009
+ {
2010
+ "kind": "class",
2011
+ "name": "OfficeUiRibbonGroup",
2012
+ "tagName": "office-ui-ribbon-group",
2013
+ "customElement": true,
2014
+ "description": "Labelled group of ribbon commands: `role=\"group\"`, `label` is the caption and name. `launcher` adds Office's corner dialog launcher (`launcher=\"<command>\"` emits `office-command` `{ command }`; `launcher-label` names it; `launcher-disabled` disables it). For narrow windows an overflow controller sets `data-collapsed` (the group becomes one button showing `icon` and the label; activating it emits `office-ribbon-collapse-toggle`) and `data-open` (its commands open in a popup at `--office-ribbon-collapse-x/-y`). The group marks itself `data-compact-row` when every command is one line tall (they centre vertically) and `data-stack` when it holds only small drop-down galleries (`[mode=\"dropdown\"]` without `data-command-large`), which stack in columns. Static `launcherEvent`/`collapseEvent` and `launcherDetail()` let a product subclass keep its published events.",
2015
+ "attributes": [
2016
+ {
2017
+ "name": "data-open"
2018
+ },
2019
+ {
2020
+ "name": "icon"
2021
+ },
2022
+ {
2023
+ "name": "label"
2024
+ },
2025
+ {
2026
+ "name": "launcher"
2027
+ },
2028
+ {
2029
+ "name": "launcher-disabled"
2030
+ },
2031
+ {
2032
+ "name": "launcher-label"
2033
+ }
2034
+ ],
2035
+ "members": [],
2036
+ "events": [
2037
+ {
2038
+ "name": "office-command"
2039
+ },
2040
+ {
2041
+ "name": "office-ribbon-collapse-toggle"
2042
+ }
2043
+ ]
2044
+ }
2045
+ ],
2046
+ "exports": [
2047
+ {
2048
+ "kind": "custom-element-definition",
2049
+ "name": "office-ui-ribbon-group",
2050
+ "declaration": {
2051
+ "name": "OfficeUiRibbonGroup"
2052
+ }
2053
+ }
2054
+ ]
2055
+ },
2056
+ {
2057
+ "kind": "javascript-module",
2058
+ "path": "ribbon/ribbon-section.ts",
2059
+ "declarations": [
2060
+ {
2061
+ "kind": "class",
2062
+ "name": "OfficeUiRibbonSection",
2063
+ "tagName": "office-ui-ribbon-section",
2064
+ "customElement": true,
2065
+ "description": "`<office-ui-ribbon-section>`: a run of ribbon groups from data. Set `groups` (`OfficeRibbonGroupView[]`); groups and commands are keyed by id and patched in place, so a focused command and every customization id survive updates. Commands with a `column` stack vertically. Children are real `office-ui-ribbon-group` and `office-ui-button` elements in the light DOM, so their events (`office-command` and so on) bubble as usual. Static `groupTag`, `commandTag`, `groupIdAttribute` and `commandIdAttribute` let a product keep its aliases.",
2066
+ "attributes": [],
2067
+ "members": [
2068
+ {
2069
+ "kind": "field",
2070
+ "name": "groups"
2071
+ }
2072
+ ],
2073
+ "events": []
2074
+ }
2075
+ ],
2076
+ "exports": [
2077
+ {
2078
+ "kind": "custom-element-definition",
2079
+ "name": "office-ui-ribbon-section",
2080
+ "declaration": {
2081
+ "name": "OfficeUiRibbonSection"
2082
+ }
2083
+ }
2084
+ ]
2085
+ },
2086
+ {
2087
+ "kind": "javascript-module",
2088
+ "path": "ribbon/ribbon-stack.ts",
2089
+ "declarations": [
2090
+ {
2091
+ "kind": "class",
2092
+ "name": "OfficeUiRibbonStack",
2093
+ "tagName": "office-ui-ribbon-stack",
2094
+ "customElement": true,
2095
+ "description": "Layout for small ribbon commands: a column (Office's three-row stack of Cut, Copy and Format Painter) or, with `orientation=\"horizontal\"`, a row (Bold, Italic, Underline). Not a group.",
2096
+ "attributes": [],
2097
+ "members": [],
2098
+ "events": []
2099
+ }
2100
+ ],
2101
+ "exports": [
2102
+ {
2103
+ "kind": "custom-element-definition",
2104
+ "name": "office-ui-ribbon-stack",
2105
+ "declaration": {
2106
+ "name": "OfficeUiRibbonStack"
2107
+ }
2108
+ }
2109
+ ]
2110
+ },
2111
+ {
2112
+ "kind": "javascript-module",
2113
+ "path": "ribbon/ribbon-toggle.ts",
2114
+ "declarations": [
2115
+ {
2116
+ "kind": "class",
2117
+ "name": "OfficeUiRibbonToggle",
2118
+ "tagName": "office-ui-ribbon-toggle",
2119
+ "customElement": true,
2120
+ "description": "A ribbon checkbox row (View > Ruler, Gridlines): a labelled `office-ui-checkbox` sharing its keyboard and focus behaviour. Moved from pptx-viewer `pptx-ui-ribbon-toggle`. Controlled: `label`, `checked`, `disabled`, `title` and `command` attributes; user activation emits `office-toggle` `{ command, checked }` (static `requestEvent`, `idAttribute` and `detailKey` let a product subclass keep its published names). The host reflects the new state.",
2121
+ "attributes": [
2122
+ {
2123
+ "name": "checked"
2124
+ },
2125
+ {
2126
+ "name": "disabled"
2127
+ },
2128
+ {
2129
+ "name": "label"
2130
+ },
2131
+ {
2132
+ "name": "title"
2133
+ }
2134
+ ],
2135
+ "members": [
2136
+ {
2137
+ "kind": "field",
2138
+ "name": "checked",
2139
+ "type": {
2140
+ "text": "boolean"
2141
+ }
2142
+ },
2143
+ {
2144
+ "kind": "field",
2145
+ "name": "disabled",
2146
+ "type": {
2147
+ "text": "boolean"
2148
+ }
2149
+ },
2150
+ {
2151
+ "kind": "field",
2152
+ "name": "label",
2153
+ "type": {
2154
+ "text": "string"
2155
+ }
2156
+ }
2157
+ ],
2158
+ "events": [
2159
+ {
2160
+ "name": "office-toggle"
2161
+ }
2162
+ ]
2163
+ }
2164
+ ],
2165
+ "exports": [
2166
+ {
2167
+ "kind": "custom-element-definition",
2168
+ "name": "office-ui-ribbon-toggle",
2169
+ "declaration": {
2170
+ "name": "OfficeUiRibbonToggle"
2171
+ }
2172
+ }
2173
+ ]
2174
+ },
2175
+ {
2176
+ "kind": "javascript-module",
2177
+ "path": "chrome/ruler.ts",
2178
+ "declarations": [
2179
+ {
2180
+ "kind": "class",
2181
+ "name": "OfficeUiRuler",
2182
+ "tagName": "office-ui-ruler",
2183
+ "customElement": true,
2184
+ "description": "`<office-ui-ruler>`: a decorative Office ruler (inches by default). The product positions it and says where zero is: `origin` is the CSS-pixel offset of zero from the ruler's start edge, `scale` the CSS pixels per unit (96 at 100% for inches). `orientation=\"vertical\"` draws a side ruler; `direction=\"reverse\"` makes values grow toward the start edge, as Visio's vertical ruler grows upward from the page bottom. Hidden from assistive technology.",
2185
+ "attributes": [
2186
+ {
2187
+ "name": "direction"
2188
+ },
2189
+ {
2190
+ "name": "orientation"
2191
+ },
2192
+ {
2193
+ "name": "origin"
2194
+ },
2195
+ {
2196
+ "name": "scale"
2197
+ }
2198
+ ],
2199
+ "members": [
2200
+ {
2201
+ "kind": "field",
2202
+ "name": "direction",
2203
+ "type": {
2204
+ "text": "string"
2205
+ }
2206
+ },
2207
+ {
2208
+ "kind": "field",
2209
+ "name": "orientation",
2210
+ "type": {
2211
+ "text": "string"
2212
+ }
2213
+ },
2214
+ {
2215
+ "kind": "field",
2216
+ "name": "origin",
2217
+ "type": {
2218
+ "text": "number"
2219
+ }
2220
+ },
2221
+ {
2222
+ "kind": "field",
2223
+ "name": "scale",
2224
+ "type": {
2225
+ "text": "number"
2226
+ }
2227
+ }
2228
+ ],
2229
+ "events": []
2230
+ }
2231
+ ],
2232
+ "exports": [
2233
+ {
2234
+ "kind": "custom-element-definition",
2235
+ "name": "office-ui-ruler",
2236
+ "declaration": {
2237
+ "name": "OfficeUiRuler"
2238
+ }
2239
+ }
2240
+ ]
2241
+ },
2242
+ {
2243
+ "kind": "javascript-module",
2244
+ "path": "form/search-field.ts",
2245
+ "declarations": [
2246
+ {
2247
+ "kind": "class",
2248
+ "name": "OfficeUiSearch",
2249
+ "tagName": "office-ui-search",
2250
+ "customElement": true,
2251
+ "description": "A single styled search input (title bar, recent files, panel filters). Moved from pptx-viewer `pptx-ui-search`. `value`, `placeholder`, `disabled`, `aria-label` (defaults to the placeholder) and `variant=\"titlebar\"` (compact). `input` and `change` bubble from the host; setting `value` is silent. Tokens: `--office-field-*`.",
2252
+ "attributes": [
2253
+ {
2254
+ "name": "aria-label"
2255
+ },
2256
+ {
2257
+ "name": "disabled"
2258
+ },
2259
+ {
2260
+ "name": "placeholder"
2261
+ },
2262
+ {
2263
+ "name": "value"
2264
+ },
2265
+ {
2266
+ "name": "variant"
2267
+ }
2268
+ ],
2269
+ "members": [
2270
+ {
2271
+ "kind": "field",
2272
+ "name": "disabled",
2273
+ "type": {
2274
+ "text": "boolean"
2275
+ }
2276
+ },
2277
+ {
2278
+ "kind": "field",
2279
+ "name": "placeholder",
2280
+ "type": {
2281
+ "text": "string"
2282
+ }
2283
+ },
2284
+ {
2285
+ "kind": "field",
2286
+ "name": "value",
2287
+ "type": {
2288
+ "text": "string"
2289
+ }
2290
+ },
2291
+ {
2292
+ "kind": "field",
2293
+ "name": "variant",
2294
+ "type": {
2295
+ "text": "string"
2296
+ }
2297
+ }
2298
+ ],
2299
+ "events": []
2300
+ }
2301
+ ],
2302
+ "exports": [
2303
+ {
2304
+ "kind": "custom-element-definition",
2305
+ "name": "office-ui-search",
2306
+ "declaration": {
2307
+ "name": "OfficeUiSearch"
2308
+ }
2309
+ }
2310
+ ]
2311
+ },
2312
+ {
2313
+ "kind": "javascript-module",
2314
+ "path": "form/select.ts",
2315
+ "declarations": [
2316
+ {
2317
+ "kind": "class",
2318
+ "name": "OfficeUiSelect",
2319
+ "tagName": "office-ui-select",
2320
+ "customElement": true,
2321
+ "description": "Single-select combobox. Moved from pptx-viewer `pptx-ui-select` (the declarative, most complete implementation). Choices come from `<option>` / `<optgroup>` children (with `data-display-label`, `data-description` and font previews through `style=\"font-family\"`), or from the `options` property when there are none. `value`, `disabled`, `selectedIndex`, `aria-label`; `variant=\"ribbon-font\"` (compact ribbon combo that accepts unlisted values, such as a typed font size) or `\"ribbon-icon\"`; `data-font-picker=\"family|size\"`; an `icon` slot and a `custom` slot at the top of the popup. Keyboard: arrows, Home, End, PageUp/PageDown (8 options), typeahead, Enter/Space, Escape, Tab; disabled and hidden choices are skipped. The popup is a top-layer `popover`, flipped above the trigger when there is more room. `input` then `change` bubble on a user choice; setting a property is silent. Form-associated.",
2322
+ "attributes": [
2323
+ {
2324
+ "name": "aria-label"
2325
+ },
2326
+ {
2327
+ "name": "data-font-picker"
2328
+ },
2329
+ {
2330
+ "name": "disabled"
2331
+ },
2332
+ {
2333
+ "name": "open"
2334
+ },
2335
+ {
2336
+ "name": "value"
2337
+ },
2338
+ {
2339
+ "name": "variant"
2340
+ }
2341
+ ],
2342
+ "members": [
2343
+ {
2344
+ "kind": "field",
2345
+ "name": "active"
2346
+ },
2347
+ {
2348
+ "kind": "field",
2349
+ "name": "choices"
2350
+ },
2351
+ {
2352
+ "kind": "field",
2353
+ "name": "disabled",
2354
+ "type": {
2355
+ "text": "boolean"
2356
+ }
2357
+ },
2358
+ {
2359
+ "kind": "field",
2360
+ "name": "open",
2361
+ "type": {
2362
+ "text": "boolean"
2363
+ }
2364
+ },
2365
+ {
2366
+ "kind": "field",
2367
+ "name": "opened"
2368
+ },
2369
+ {
2370
+ "kind": "field",
2371
+ "name": "options"
2372
+ },
2373
+ {
2374
+ "kind": "field",
2375
+ "name": "selectedIndex"
2376
+ },
2377
+ {
2378
+ "kind": "field",
2379
+ "name": "value",
2380
+ "type": {
2381
+ "text": "string"
2382
+ }
2383
+ }
2384
+ ],
2385
+ "events": []
2386
+ }
2387
+ ],
2388
+ "exports": [
2389
+ {
2390
+ "kind": "custom-element-definition",
2391
+ "name": "office-ui-select",
2392
+ "declaration": {
2393
+ "name": "OfficeUiSelect"
2394
+ }
2395
+ }
2396
+ ]
2397
+ },
2398
+ {
2399
+ "kind": "javascript-module",
2400
+ "path": "smartart/smartart.ts",
2401
+ "declarations": [
2402
+ {
2403
+ "kind": "class",
2404
+ "name": "OfficeUiSmartArt",
2405
+ "tagName": "office-ui-smartart",
2406
+ "customElement": true,
2407
+ "description": "`<office-ui-smartart>` draws the cached drawing of a SmartArt diagram (core `DiagramDrawing`, from `ooxml-core/diagram`) as SVG. Set `drawing` (and optionally `schemeColors`, resolved theme colours such as `{ accent1: '#4472c4' }`); `label` becomes the accessible name (`role=\"img\"`). It never re-lays-out a diagram: it shows what the producing application last computed. Approximations (preset outlines drawn as rectangles, gradient and pattern fills, 3D) are reported honestly in the `office-smartart-render` event detail and in `data-approximated` attributes, never hidden.",
2408
+ "attributes": [
2409
+ {
2410
+ "name": "label"
2411
+ }
2412
+ ],
2413
+ "members": [
2414
+ {
2415
+ "kind": "field",
2416
+ "name": "drawing"
2417
+ },
2418
+ {
2419
+ "kind": "field",
2420
+ "name": "label",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ },
2425
+ {
2426
+ "kind": "field",
2427
+ "name": "schemeColors"
2428
+ }
2429
+ ],
2430
+ "events": [
2431
+ {
2432
+ "name": "office-smartart-render"
2433
+ }
2434
+ ]
2435
+ }
2436
+ ],
2437
+ "exports": [
2438
+ {
2439
+ "kind": "custom-element-definition",
2440
+ "name": "office-ui-smartart",
2441
+ "declaration": {
2442
+ "name": "OfficeUiSmartArt"
2443
+ }
2444
+ }
2445
+ ]
2446
+ },
2447
+ {
2448
+ "kind": "javascript-module",
2449
+ "path": "chrome/status-bar.ts",
2450
+ "declarations": [
2451
+ {
2452
+ "kind": "class",
2453
+ "name": "OfficeUiStatusBar",
2454
+ "tagName": "office-ui-status-bar",
2455
+ "customElement": true,
2456
+ "description": "Status bar: `role=\"group\"` named by its `label` attribute (default \"Status\"). Two ways to fill it. Composed: children, with `slot=\"end\"` pushed to the trailing edge (zoom, view switches). Controlled: set `state` (`OfficeStatusBarState`: start texts, toggles, view switches and a zoom cluster, all translated); every button emits `office-status-activate` `{ id }` (static `activateEvent` lets a product subclass keep its published name). Slots stay available in controlled mode: the default after the texts, `collaboration` and `end` before the zoom. Keyed children are patched in place, so a focused button survives updates.",
2457
+ "attributes": [
2458
+ {
2459
+ "name": "label"
2460
+ }
2461
+ ],
2462
+ "members": [
2463
+ {
2464
+ "kind": "field",
2465
+ "name": "hasCollaboration"
2466
+ },
2467
+ {
2468
+ "kind": "field",
2469
+ "name": "label",
2470
+ "type": {
2471
+ "text": "string"
2472
+ }
2473
+ },
2474
+ {
2475
+ "kind": "field",
2476
+ "name": "state"
2477
+ }
2478
+ ],
2479
+ "events": [
2480
+ {
2481
+ "name": "office-status-activate"
2482
+ }
2483
+ ]
2484
+ }
2485
+ ],
2486
+ "exports": [
2487
+ {
2488
+ "kind": "custom-element-definition",
2489
+ "name": "office-ui-status-bar",
2490
+ "declaration": {
2491
+ "name": "OfficeUiStatusBar"
2492
+ }
2493
+ }
2494
+ ]
2495
+ },
2496
+ {
2497
+ "kind": "javascript-module",
2498
+ "path": "chrome/status-item.ts",
2499
+ "declarations": [
2500
+ {
2501
+ "kind": "class",
2502
+ "name": "OfficeUiStatusItem",
2503
+ "tagName": "office-ui-status-item",
2504
+ "customElement": true,
2505
+ "description": "One status entry: `label` and `value` attributes (textual, so assistive tech reads both). With the `interactive` attribute it renders a button and emits `office-status-activate` `{ id }` (`id` attribute) on click, Enter or Space; zoom or language pickers are examples.",
2506
+ "attributes": [
2507
+ {
2508
+ "name": "interactive"
2509
+ },
2510
+ {
2511
+ "name": "label"
2512
+ },
2513
+ {
2514
+ "name": "value"
2515
+ }
2516
+ ],
2517
+ "members": [
2518
+ {
2519
+ "kind": "field",
2520
+ "name": "interactive",
2521
+ "type": {
2522
+ "text": "boolean"
2523
+ }
2524
+ },
2525
+ {
2526
+ "kind": "field",
2527
+ "name": "label",
2528
+ "type": {
2529
+ "text": "string"
2530
+ }
2531
+ },
2532
+ {
2533
+ "kind": "field",
2534
+ "name": "value",
2535
+ "type": {
2536
+ "text": "string"
2537
+ }
2538
+ }
2539
+ ],
2540
+ "events": [
2541
+ {
2542
+ "name": "office-status-activate"
2543
+ }
2544
+ ]
2545
+ }
2546
+ ],
2547
+ "exports": [
2548
+ {
2549
+ "kind": "custom-element-definition",
2550
+ "name": "office-ui-status-item",
2551
+ "declaration": {
2552
+ "name": "OfficeUiStatusItem"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "javascript-module",
2559
+ "path": "form/switch.ts",
2560
+ "declarations": [
2561
+ {
2562
+ "kind": "class",
2563
+ "name": "OfficeUiSwitch",
2564
+ "tagName": "office-ui-switch",
2565
+ "customElement": true,
2566
+ "description": "`<office-ui-switch>`: same contract as the checkbox with `role=\"switch\"`. It draws a real knob element, so hosts and tests can measure and style it.",
2567
+ "attributes": [
2568
+ {
2569
+ "name": "checked"
2570
+ },
2571
+ {
2572
+ "name": "disabled"
2573
+ },
2574
+ {
2575
+ "name": "value"
2576
+ }
2577
+ ],
2578
+ "members": [
2579
+ {
2580
+ "kind": "field",
2581
+ "name": "checked",
2582
+ "type": {
2583
+ "text": "boolean"
2584
+ }
2585
+ },
2586
+ {
2587
+ "kind": "field",
2588
+ "name": "disabled",
2589
+ "type": {
2590
+ "text": "boolean"
2591
+ }
2592
+ },
2593
+ {
2594
+ "kind": "field",
2595
+ "name": "value",
2596
+ "type": {
2597
+ "text": "string"
2598
+ }
2599
+ }
2600
+ ],
2601
+ "events": []
2602
+ }
2603
+ ],
2604
+ "exports": [
2605
+ {
2606
+ "kind": "custom-element-definition",
2607
+ "name": "office-ui-switch",
2608
+ "declaration": {
2609
+ "name": "OfficeUiSwitch"
2610
+ }
2611
+ }
2612
+ ]
2613
+ },
2614
+ {
2615
+ "kind": "javascript-module",
2616
+ "path": "chrome/tab-strip.ts",
2617
+ "declarations": [
2618
+ {
2619
+ "kind": "class",
2620
+ "name": "OfficeUiTabStrip",
2621
+ "tagName": "office-ui-tab-strip",
2622
+ "customElement": true,
2623
+ "description": "Bottom document tabs (Visio pages, Excel sheets). Set `tabs` (`OfficeTab[]`) and `selected` (a tab id). Labels are inserted as text. The previous/next buttons and arrow, Home and End keys move the selection; the tab list uses a roving tabindex. User selection emits `office-tab-select` `{ id }` (cancelable); setting properties never emits. Attributes: `label` (tab list name, default \"Tabs\"), `previous-label` and `next-label` (step button names, default \"Previous\" and \"Next\"), `disabled`, and `add-label` to show an add button after the tabs (Insert Page, New Sheet) that emits `office-command` `{ command: 'tab-add' }`; `add-disabled` and `add-title` disable and explain it.",
2624
+ "attributes": [
2625
+ {
2626
+ "name": "add-disabled"
2627
+ },
2628
+ {
2629
+ "name": "add-label"
2630
+ },
2631
+ {
2632
+ "name": "add-title"
2633
+ },
2634
+ {
2635
+ "name": "disabled"
2636
+ },
2637
+ {
2638
+ "name": "label"
2639
+ },
2640
+ {
2641
+ "name": "next-label"
2642
+ },
2643
+ {
2644
+ "name": "previous-label"
2645
+ },
2646
+ {
2647
+ "name": "selected"
2648
+ }
2649
+ ],
2650
+ "members": [
2651
+ {
2652
+ "kind": "field",
2653
+ "name": "addDisabled",
2654
+ "type": {
2655
+ "text": "boolean"
2656
+ },
2657
+ "attribute": "add-disabled"
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "addLabel",
2662
+ "type": {
2663
+ "text": "string"
2664
+ },
2665
+ "attribute": "add-label"
2666
+ },
2667
+ {
2668
+ "kind": "field",
2669
+ "name": "addTitle",
2670
+ "type": {
2671
+ "text": "string"
2672
+ },
2673
+ "attribute": "add-title"
2674
+ },
2675
+ {
2676
+ "kind": "field",
2677
+ "name": "disabled",
2678
+ "type": {
2679
+ "text": "boolean"
2680
+ }
2681
+ },
2682
+ {
2683
+ "kind": "field",
2684
+ "name": "label",
2685
+ "type": {
2686
+ "text": "string"
2687
+ }
2688
+ },
2689
+ {
2690
+ "kind": "field",
2691
+ "name": "nextLabel",
2692
+ "type": {
2693
+ "text": "string"
2694
+ },
2695
+ "attribute": "next-label"
2696
+ },
2697
+ {
2698
+ "kind": "field",
2699
+ "name": "previousLabel",
2700
+ "type": {
2701
+ "text": "string"
2702
+ },
2703
+ "attribute": "previous-label"
2704
+ },
2705
+ {
2706
+ "kind": "field",
2707
+ "name": "selected",
2708
+ "type": {
2709
+ "text": "string"
2710
+ }
2711
+ },
2712
+ {
2713
+ "kind": "field",
2714
+ "name": "tabs"
2715
+ }
2716
+ ],
2717
+ "events": [
2718
+ {
2719
+ "name": "office-command"
2720
+ },
2721
+ {
2722
+ "name": "office-tab-select"
2723
+ }
2724
+ ]
2725
+ }
2726
+ ],
2727
+ "exports": [
2728
+ {
2729
+ "kind": "custom-element-definition",
2730
+ "name": "office-ui-tab-strip",
2731
+ "declaration": {
2732
+ "name": "OfficeUiTabStrip"
2733
+ }
2734
+ }
2735
+ ]
2736
+ },
2737
+ {
2738
+ "kind": "javascript-module",
2739
+ "path": "chrome/title-bar.ts",
2740
+ "declarations": [
2741
+ {
2742
+ "kind": "class",
2743
+ "name": "OfficeUiTitleBar",
2744
+ "tagName": "office-ui-title-bar",
2745
+ "customElement": true,
2746
+ "description": "`<office-ui-title-bar>`: Office's title bar above the ribbon (app mark, AutoSave, Quick Access Toolbar, file name and status, centred command search, `actions`, `collaboration` and `account` slots). Controlled: set `state` (`OfficeTitleBarState`, every string translated); the bar owns no effects. `placement=\"belowRibbon\"` renders only the Quick Access row and hides itself (`data-empty`) while that row is empty. Events (bubbling, composed; static names let a product subclass keep its published ones): `office-autosave-toggle`, `office-command` `{ command }` from a Quick Access button and `office-command-search` `{ query, command? }`. Override `activate(id)` to route Quick Access buttons differently and `rendered()` to mirror state onto the host. Tokens: `--office-title-bar-*`. The search query stays local to the bar, so hosts never round-trip keystrokes; they receive one request per commit.",
2747
+ "attributes": [
2748
+ {
2749
+ "name": "placement"
2750
+ }
2751
+ ],
2752
+ "members": [
2753
+ {
2754
+ "kind": "field",
2755
+ "name": "active"
2756
+ },
2757
+ {
2758
+ "kind": "field",
2759
+ "name": "found"
2760
+ },
2761
+ {
2762
+ "kind": "field",
2763
+ "name": "live"
2764
+ },
2765
+ {
2766
+ "kind": "field",
2767
+ "name": "placement",
2768
+ "type": {
2769
+ "text": "string"
2770
+ }
2771
+ },
2772
+ {
2773
+ "kind": "field",
2774
+ "name": "resultsOpen"
2775
+ },
2776
+ {
2777
+ "kind": "field",
2778
+ "name": "state"
2779
+ },
2780
+ {
2781
+ "kind": "field",
2782
+ "name": "stop"
2783
+ }
2784
+ ],
2785
+ "events": [
2786
+ {
2787
+ "name": "office-autosave-toggle"
2788
+ },
2789
+ {
2790
+ "name": "office-command"
2791
+ },
2792
+ {
2793
+ "name": "office-command-search"
2794
+ }
2795
+ ]
2796
+ }
2797
+ ],
2798
+ "exports": [
2799
+ {
2800
+ "kind": "custom-element-definition",
2801
+ "name": "office-ui-title-bar",
2802
+ "declaration": {
2803
+ "name": "OfficeUiTitleBar"
2804
+ }
2805
+ }
2806
+ ]
2807
+ },
2808
+ {
2809
+ "kind": "javascript-module",
2810
+ "path": "notices/toasts.ts",
2811
+ "declarations": [
2812
+ {
2813
+ "kind": "class",
2814
+ "name": "OfficeUiToasts",
2815
+ "tagName": "office-ui-toasts",
2816
+ "customElement": true,
2817
+ "description": "`<office-ui-toasts>`: a stack of load or compatibility notices. Toasts never auto-hide; dismissal is the host's decision through `office-toasts-request` `{ id: 'dismissAll' }` or `{ id: 'dismiss', toastId }`. The host positions the element. Hidden when empty. Text arrives already translated; the event name and test id prefix are static fields a product subclass may override.",
2818
+ "attributes": [],
2819
+ "members": [
2820
+ {
2821
+ "kind": "field",
2822
+ "name": "state"
2823
+ }
2824
+ ],
2825
+ "events": [
2826
+ {
2827
+ "name": "office-toasts-request"
2828
+ }
2829
+ ]
2830
+ }
2831
+ ],
2832
+ "exports": [
2833
+ {
2834
+ "kind": "custom-element-definition",
2835
+ "name": "office-ui-toasts",
2836
+ "declaration": {
2837
+ "name": "OfficeUiToasts"
2838
+ }
2839
+ }
2840
+ ]
2841
+ },
2842
+ {
2843
+ "kind": "javascript-module",
2844
+ "path": "ribbon/ribbon-toolbar.ts",
2845
+ "declarations": [
2846
+ {
2847
+ "kind": "class",
2848
+ "name": "OfficeUiToolbar",
2849
+ "tagName": "office-ui-toolbar",
2850
+ "customElement": true,
2851
+ "description": "`role=\"toolbar\"` container. Left/Right/Home/End move focus between enabled direct or group-nested controls (Up/Down instead when `aria-orientation=\"vertical\"`). All items stay in the tab order: roving tabindex is not implemented yet.",
2852
+ "attributes": [],
2853
+ "members": [],
2854
+ "events": []
2855
+ }
2856
+ ],
2857
+ "exports": [
2858
+ {
2859
+ "kind": "custom-element-definition",
2860
+ "name": "office-ui-toolbar",
2861
+ "declaration": {
2862
+ "name": "OfficeUiToolbar"
2863
+ }
2864
+ }
2865
+ ]
2866
+ },
2867
+ {
2868
+ "kind": "javascript-module",
2869
+ "path": "form/zoom-slider.ts",
2870
+ "declarations": [
2871
+ {
2872
+ "kind": "class",
2873
+ "name": "OfficeUiZoomSlider",
2874
+ "tagName": "office-ui-zoom-slider",
2875
+ "customElement": true,
2876
+ "description": "Office status-bar zoom: zoom out, slider, zoom in, percentage and an optional fit button. Attributes: `value` (percent, default 100), `min` (10), `max` (400), `step` (10, for the buttons), `disabled`, `fit` (shows the fit button; its value is the button's name, e.g. \"Fit page to current window\"), `label` (group name, default \"Zoom\"). `out-label`, `in-label` and `slider-label` name the zoom-out button, zoom-in button and slider (English by default), so a product can translate them. User changes emit native `input` (slider drag) and `change` events with `value` updated; the fit button emits `office-command` `{ command: 'zoom-fit' }`. Setting `value` never emits.",
2877
+ "attributes": [
2878
+ {
2879
+ "name": "disabled"
2880
+ },
2881
+ {
2882
+ "name": "fit"
2883
+ },
2884
+ {
2885
+ "name": "in-label"
2886
+ },
2887
+ {
2888
+ "name": "label"
2889
+ },
2890
+ {
2891
+ "name": "max"
2892
+ },
2893
+ {
2894
+ "name": "min"
2895
+ },
2896
+ {
2897
+ "name": "out-label"
2898
+ },
2899
+ {
2900
+ "name": "slider-label"
2901
+ },
2902
+ {
2903
+ "name": "step"
2904
+ },
2905
+ {
2906
+ "name": "value"
2907
+ }
2908
+ ],
2909
+ "members": [
2910
+ {
2911
+ "kind": "field",
2912
+ "name": "disabled",
2913
+ "type": {
2914
+ "text": "boolean"
2915
+ }
2916
+ },
2917
+ {
2918
+ "kind": "field",
2919
+ "name": "fit",
2920
+ "type": {
2921
+ "text": "string"
2922
+ }
2923
+ },
2924
+ {
2925
+ "kind": "field",
2926
+ "name": "inLabel",
2927
+ "type": {
2928
+ "text": "string"
2929
+ },
2930
+ "attribute": "in-label"
2931
+ },
2932
+ {
2933
+ "kind": "field",
2934
+ "name": "label",
2935
+ "type": {
2936
+ "text": "string"
2937
+ }
2938
+ },
2939
+ {
2940
+ "kind": "field",
2941
+ "name": "max",
2942
+ "type": {
2943
+ "text": "number"
2944
+ }
2945
+ },
2946
+ {
2947
+ "kind": "field",
2948
+ "name": "min",
2949
+ "type": {
2950
+ "text": "number"
2951
+ }
2952
+ },
2953
+ {
2954
+ "kind": "field",
2955
+ "name": "outLabel",
2956
+ "type": {
2957
+ "text": "string"
2958
+ },
2959
+ "attribute": "out-label"
2960
+ },
2961
+ {
2962
+ "kind": "field",
2963
+ "name": "sliderLabel",
2964
+ "type": {
2965
+ "text": "string"
2966
+ },
2967
+ "attribute": "slider-label"
2968
+ },
2969
+ {
2970
+ "kind": "field",
2971
+ "name": "step",
2972
+ "type": {
2973
+ "text": "number"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "value",
2979
+ "type": {
2980
+ "text": "number"
2981
+ }
2982
+ }
2983
+ ],
2984
+ "events": [
2985
+ {
2986
+ "name": "office-command"
2987
+ }
2988
+ ]
2989
+ }
2990
+ ],
2991
+ "exports": [
2992
+ {
2993
+ "kind": "custom-element-definition",
2994
+ "name": "office-ui-zoom-slider",
2995
+ "declaration": {
2996
+ "name": "OfficeUiZoomSlider"
2997
+ }
2998
+ }
2999
+ ]
3000
+ }
3001
+ ]
3002
+ }