ooxml-ui 1.6.2 → 1.8.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.
Files changed (164) hide show
  1. package/README.md +90 -37
  2. package/custom-elements.json +303 -4
  3. package/dist/chrome/ruler.d.ts +7 -1
  4. package/dist/chrome/ruler.d.ts.map +1 -1
  5. package/dist/chrome/status-bar.d.ts.map +1 -1
  6. package/dist/chrome/tab-strip.d.ts +3 -1
  7. package/dist/chrome/tab-strip.d.ts.map +1 -1
  8. package/dist/chrome/task-pane.d.ts +29 -0
  9. package/dist/chrome/task-pane.d.ts.map +1 -0
  10. package/dist/chrome/title-bar.d.ts +2 -1
  11. package/dist/chrome/title-bar.d.ts.map +1 -1
  12. package/dist/{chunk-QAIVGTQZ.js → chunk-7US5GCXF.js} +158 -153
  13. package/dist/{chunk-Z7CS3UUK.js → chunk-KF72ZA6V.js} +5 -2
  14. package/dist/{chunk-QHAE6Y5B.js → chunk-O7APCA5N.js} +680 -98
  15. package/dist/chunk-W6AV3GHC.js +112 -0
  16. package/dist/controls.d.ts +9 -2
  17. package/dist/controls.d.ts.map +1 -1
  18. package/dist/controls.js +1 -1
  19. package/dist/dialog/dialog-footer.d.ts.map +1 -1
  20. package/dist/dialog/options-dialog.d.ts.map +1 -1
  21. package/dist/docx/editor-core.d.ts +3 -0
  22. package/dist/docx/editor-shell.d.ts +2 -0
  23. package/dist/docx/element-api.d.ts +7 -0
  24. package/dist/docx/events.d.ts +4 -1
  25. package/dist/docx/index.d.ts +1 -0
  26. package/dist/docx/ribbon-color-grid.d.ts +3 -4
  27. package/dist/docx.js +46 -78
  28. package/dist/edit-worker.js +52 -3
  29. package/dist/form/color-custom.d.ts +79 -0
  30. package/dist/form/color-custom.d.ts.map +1 -0
  31. package/dist/form/color-grid.d.ts +125 -0
  32. package/dist/form/color-grid.d.ts.map +1 -0
  33. package/dist/index.d.ts +2 -1
  34. package/dist/index.js +4 -3
  35. package/dist/menu/context-menu.d.ts.map +1 -1
  36. package/dist/menu/menu-button.d.ts +2 -1
  37. package/dist/menu/menu-button.d.ts.map +1 -1
  38. package/dist/notices/paste-options.d.ts.map +1 -1
  39. package/dist/notices/toasts.d.ts.map +1 -1
  40. package/dist/pptx/{chart-3d-view-scene-ERX2GRCD.mjs → chart-3d-view-scene-P6MAFEGL.mjs} +2 -2
  41. package/dist/pptx/{chart-3d-view-scene-55WDENSO.cjs → chart-3d-view-scene-V74F7ZOC.cjs} +38 -38
  42. package/dist/pptx/{chunk-G2YUKLRX.cjs → chunk-526IHNIH.cjs} +1 -1
  43. package/dist/pptx/{chunk-SVN6OBG4.mjs → chunk-DPOES4WM.mjs} +26 -11
  44. package/dist/pptx/{chunk-BLAJIEXA.cjs → chunk-GCS5KBMR.cjs} +511 -653
  45. package/dist/pptx/{chunk-RPRC2EG5.cjs → chunk-K3S2A64B.cjs} +13 -13
  46. package/dist/pptx/{chunk-E55NU4BF.mjs → chunk-MCHPNO42.mjs} +289 -493
  47. package/dist/pptx/{chunk-AWQRQUPL.mjs → chunk-NAFUYAQP.mjs} +1 -1
  48. package/dist/pptx/{chunk-LCIXR7WE.cjs → chunk-VFPVEVF4.cjs} +26 -11
  49. package/dist/pptx/{chunk-TKATCPOK.mjs → chunk-ZAOYPCAM.mjs} +1 -1
  50. package/dist/pptx/dom/activex-controls-overlay.d.ts.map +1 -1
  51. package/dist/pptx/dom/elements/image.d.ts.map +1 -1
  52. package/dist/pptx/dom/elements/media.d.ts.map +1 -1
  53. package/dist/pptx/dom/elements/text-block.d.ts.map +1 -1
  54. package/dist/pptx/dom/elements/zoom.d.ts.map +1 -1
  55. package/dist/pptx/dom/index.cjs +252 -247
  56. package/dist/pptx/dom/index.mjs +11 -6
  57. package/dist/pptx/export/html2canvas-clone.cjs +2 -2
  58. package/dist/pptx/export/html2canvas-clone.mjs +1 -1
  59. package/dist/pptx/index.cjs +3059 -3023
  60. package/dist/pptx/index.mjs +4 -4
  61. package/dist/pptx/render/chart-combo-series.d.ts.map +1 -1
  62. package/dist/pptx/render/chart-combo-stock.cjs +3 -3
  63. package/dist/pptx/render/chart-combo-stock.mjs +1 -1
  64. package/dist/pptx/render/chart-marker-shape.d.ts.map +1 -1
  65. package/dist/pptx/render/chart-overlays.cjs +7 -7
  66. package/dist/pptx/render/chart-overlays.mjs +1 -1
  67. package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
  68. package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
  69. package/dist/pptx/render/chart-view-model.cjs +44 -44
  70. package/dist/pptx/render/chart-view-model.mjs +1 -1
  71. package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
  72. package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
  73. package/dist/pptx/render/connector-router-types.d.ts +4 -52
  74. package/dist/pptx/render/connector-router-types.d.ts.map +1 -1
  75. package/dist/pptx/render/connector-router.d.ts +4 -32
  76. package/dist/pptx/render/connector-router.d.ts.map +1 -1
  77. package/dist/pptx/render/editor-keymap-arrows.d.ts +0 -7
  78. package/dist/pptx/render/editor-keymap-arrows.d.ts.map +1 -1
  79. package/dist/pptx/render/element-interaction.d.ts +2 -6
  80. package/dist/pptx/render/element-interaction.d.ts.map +1 -1
  81. package/dist/pptx/render/index.d.ts +1 -0
  82. package/dist/pptx/render/index.d.ts.map +1 -1
  83. package/dist/pptx/render/ribbon-add-ins.d.ts +53 -0
  84. package/dist/pptx/render/ribbon-add-ins.d.ts.map +1 -0
  85. package/dist/pptx/web-components/index.d.ts +1 -0
  86. package/dist/pptx/web-components/index.d.ts.map +1 -1
  87. package/dist/pptx/web-components/ribbon-add-in.d.ts +20 -0
  88. package/dist/pptx/web-components/ribbon-add-in.d.ts.map +1 -0
  89. package/dist/ribbon/add-in-tabs.d.ts +36 -0
  90. package/dist/ribbon/group-overflow.d.ts +37 -0
  91. package/dist/ribbon/group-overflow.d.ts.map +1 -0
  92. package/dist/ribbon/ribbon-tabs.d.ts.map +1 -1
  93. package/dist/teams/app/index.d.ts +1 -1
  94. package/dist/teams.js +2 -2
  95. package/dist/visio/format-pane-fields.d.ts +42 -0
  96. package/dist/visio/format-pane-view.d.ts +44 -0
  97. package/dist/visio/index.d.ts +1 -0
  98. package/dist/visio/page-setup-action.d.ts +4 -0
  99. package/dist/visio/ribbon-action.d.ts +20 -7
  100. package/dist/visio/ribbon-change-shape.d.ts +17 -6
  101. package/dist/visio/ribbon-color-menu.d.ts +29 -0
  102. package/dist/visio/ribbon-inline-galleries.d.ts +20 -0
  103. package/dist/visio/ribbon-overflow.d.ts +7 -0
  104. package/dist/visio/ribbon-review.d.ts +5 -2
  105. package/dist/visio/ribbon-router.d.ts +3 -3
  106. package/dist/visio/ribbon-shape-styles.d.ts +4 -1
  107. package/dist/visio/ribbon-style-options.d.ts +4 -3
  108. package/dist/visio/ribbon.d.ts +2 -2
  109. package/dist/visio/shapes-document.d.ts +29 -0
  110. package/dist/visio/shapes-sections.d.ts +19 -5
  111. package/dist/visio/shapes-storage.d.ts +15 -0
  112. package/dist/visio/shapes-window.d.ts +9 -2
  113. package/dist/visio/status-bar.d.ts +7 -4
  114. package/dist/visio/stencil-catalog.d.ts +4 -0
  115. package/dist/visio/styles/theme.d.ts +1 -1
  116. package/dist/visio/styles.d.ts +1 -1
  117. package/dist/visio/text-measurer.d.ts +25 -0
  118. package/dist/visio/title-bar.d.ts +9 -0
  119. package/dist/visio/viewer-auto-connect-parts.d.ts +12 -0
  120. package/dist/visio/viewer-auto-connect.d.ts +33 -0
  121. package/dist/visio/viewer-backstage.d.ts +2 -1
  122. package/dist/visio/viewer-canvas.d.ts +1 -1
  123. package/dist/visio/viewer-change-shape.d.ts +8 -4
  124. package/dist/visio/viewer-chrome.d.ts +13 -5
  125. package/dist/visio/viewer-color-menus.d.ts +34 -0
  126. package/dist/visio/viewer-commands.d.ts +4 -1
  127. package/dist/visio/viewer-connector-tool.d.ts +5 -3
  128. package/dist/visio/viewer-data-window.d.ts +5 -1
  129. package/dist/visio/viewer-draw-tool.d.ts +1 -11
  130. package/dist/visio/viewer-element.d.ts +16 -0
  131. package/dist/visio/viewer-format-pane.d.ts +26 -0
  132. package/dist/visio/viewer-guides.d.ts +7 -4
  133. package/dist/visio/viewer-inline-text.d.ts +31 -0
  134. package/dist/visio/viewer-input.d.ts +5 -1
  135. package/dist/visio/viewer-layer-properties.d.ts +18 -0
  136. package/dist/visio/viewer-layout-commands.d.ts +8 -2
  137. package/dist/visio/viewer-more-colors.d.ts +16 -0
  138. package/dist/visio/viewer-options.d.ts +18 -4
  139. package/dist/visio/viewer-page-setup.d.ts +6 -0
  140. package/dist/visio/viewer-ruler-grid.d.ts +25 -0
  141. package/dist/visio/viewer-ruler.d.ts +11 -3
  142. package/dist/visio/viewer-snap-glue.d.ts +23 -0
  143. package/dist/visio/viewer-stencil.d.ts +4 -1
  144. package/dist/visio.js +7595 -5944
  145. package/dist/xlsx/component.d.ts +8 -0
  146. package/dist/xlsx/dialogs/format-cells/color-swatches.d.ts +4 -2
  147. package/dist/xlsx/dialogs/styles.d.ts +1 -1
  148. package/dist/xlsx/events.d.ts +4 -1
  149. package/dist/xlsx/index.d.ts +1 -0
  150. package/dist/xlsx/ribbon/color-grid.d.ts +25 -7
  151. package/dist/xlsx/ribbon/ribbon.d.ts +3 -0
  152. package/dist/xlsx.js +121 -163
  153. package/package.json +3 -2
  154. package/dist/pptx/render/connector-router-astar.d.ts +0 -24
  155. package/dist/pptx/render/connector-router-astar.d.ts.map +0 -1
  156. package/dist/pptx/render/connector-router-graph.d.ts +0 -38
  157. package/dist/pptx/render/connector-router-graph.d.ts.map +0 -1
  158. package/dist/visio/format-shape-dialog.d.ts +0 -21
  159. package/dist/visio/viewer-edit-controls.d.ts +0 -12
  160. package/dist/visio/viewer-format-shape.d.ts +0 -16
  161. package/dist/visio/viewer-geometry-controls.d.ts +0 -14
  162. package/dist/visio/viewer-layer-controls.d.ts +0 -5
  163. package/dist/visio/viewer-paint-dialog.d.ts +0 -28
  164. package/dist/visio/viewer-paint-properties.d.ts +0 -13
@@ -770,6 +770,243 @@
770
770
  }
771
771
  ]
772
772
  },
773
+ {
774
+ "kind": "javascript-module",
775
+ "path": "form/color-custom.ts",
776
+ "declarations": [
777
+ {
778
+ "kind": "class",
779
+ "name": "OfficeUiColorCustom",
780
+ "tagName": "office-ui-color-custom",
781
+ "customElement": true,
782
+ "description": "`<office-ui-color-custom>`: the Custom tab of Office's Colors dialog. A hue (across) and saturation (up) square, a luminance slider, Hex, Red/Green/Blue and Hue/Sat/Lum fields (0-255, as Office shows them) that follow each other, and New over Current swatches. `value` is the colour (`#rrggbb`); `current` the colour being replaced. Every change emits `office-color-change` `{ color }`. The square and the slider take the arrow keys (Shift moves in larger steps), Home and End. The element is only the body: a product puts it in its dialog.",
783
+ "attributes": [
784
+ {
785
+ "name": "current"
786
+ },
787
+ {
788
+ "name": "disabled"
789
+ },
790
+ {
791
+ "name": "label"
792
+ },
793
+ {
794
+ "name": "value"
795
+ }
796
+ ],
797
+ "members": [
798
+ {
799
+ "kind": "field",
800
+ "name": "bad"
801
+ },
802
+ {
803
+ "kind": "field",
804
+ "name": "current",
805
+ "type": {
806
+ "text": "string"
807
+ }
808
+ },
809
+ {
810
+ "kind": "field",
811
+ "name": "disabled",
812
+ "type": {
813
+ "text": "boolean"
814
+ }
815
+ },
816
+ {
817
+ "kind": "field",
818
+ "name": "hsl"
819
+ },
820
+ {
821
+ "kind": "field",
822
+ "name": "label",
823
+ "type": {
824
+ "text": "string"
825
+ }
826
+ },
827
+ {
828
+ "kind": "field",
829
+ "name": "typed"
830
+ },
831
+ {
832
+ "kind": "field",
833
+ "name": "value",
834
+ "type": {
835
+ "text": "string"
836
+ }
837
+ }
838
+ ],
839
+ "events": [
840
+ {
841
+ "name": "office-color-change"
842
+ }
843
+ ]
844
+ }
845
+ ],
846
+ "exports": [
847
+ {
848
+ "kind": "custom-element-definition",
849
+ "name": "office-ui-color-custom",
850
+ "declaration": {
851
+ "name": "OfficeUiColorCustom"
852
+ }
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ "kind": "javascript-module",
858
+ "path": "form/color-grid.ts",
859
+ "declarations": [
860
+ {
861
+ "kind": "class",
862
+ "name": "OfficeUiColorGrid",
863
+ "tagName": "office-ui-color-grid",
864
+ "customElement": true,
865
+ "description": "`<office-ui-color-grid>`: Office's colour picker body. From the top: an optional `automatic-label` command (Automatic) and `none-label` command (No Fill, No Line), \"Theme Colors\" (ten columns, a base colour over its five lighter and darker variants, built from `themeColors`), \"Standard Colors\" (preceded by the `extraColors` row when a product has one, such as Visio's variant colours), \"Recent Colors\" when `recentColors` has any, and an optional `more-label` command (More Colors...). `value` (`#rrggbb`, `'none'` or `'automatic'`) marks the current choice. `themeNames` renames the ten columns and `variantLabel` names their variants (for a translated product). Choosing emits `office-color-pick` `{ color, source, label, theme?, index? }` (a theme swatch reports its column and variant, so a product can save a theme reference instead of the colour); the More Colors command emits `office-color-more`. Arrow keys move through the swatches and commands, Home and End jump to the ends; ArrowUp on the first row and ArrowDown on the last are left for a host menu. The element is only the grid: a product puts it in its own menu, popup or pane.",
866
+ "attributes": [
867
+ {
868
+ "name": "automatic-label"
869
+ },
870
+ {
871
+ "name": "disabled"
872
+ },
873
+ {
874
+ "name": "label"
875
+ },
876
+ {
877
+ "name": "more-label"
878
+ },
879
+ {
880
+ "name": "none-label"
881
+ },
882
+ {
883
+ "name": "recent-heading"
884
+ },
885
+ {
886
+ "name": "standard-heading"
887
+ },
888
+ {
889
+ "name": "theme-heading"
890
+ },
891
+ {
892
+ "name": "value"
893
+ }
894
+ ],
895
+ "members": [
896
+ {
897
+ "kind": "field",
898
+ "name": "automaticLabel",
899
+ "type": {
900
+ "text": "string"
901
+ },
902
+ "attribute": "automatic-label"
903
+ },
904
+ {
905
+ "kind": "field",
906
+ "name": "disabled",
907
+ "type": {
908
+ "text": "boolean"
909
+ }
910
+ },
911
+ {
912
+ "kind": "field",
913
+ "name": "extraColors"
914
+ },
915
+ {
916
+ "kind": "field",
917
+ "name": "label",
918
+ "type": {
919
+ "text": "string"
920
+ }
921
+ },
922
+ {
923
+ "kind": "field",
924
+ "name": "moreLabel",
925
+ "type": {
926
+ "text": "string"
927
+ },
928
+ "attribute": "more-label"
929
+ },
930
+ {
931
+ "kind": "field",
932
+ "name": "noneLabel",
933
+ "type": {
934
+ "text": "string"
935
+ },
936
+ "attribute": "none-label"
937
+ },
938
+ {
939
+ "kind": "field",
940
+ "name": "recentColors"
941
+ },
942
+ {
943
+ "kind": "field",
944
+ "name": "recentHeading",
945
+ "type": {
946
+ "text": "string"
947
+ },
948
+ "attribute": "recent-heading"
949
+ },
950
+ {
951
+ "kind": "field",
952
+ "name": "standardColors"
953
+ },
954
+ {
955
+ "kind": "field",
956
+ "name": "standardHeading",
957
+ "type": {
958
+ "text": "string"
959
+ },
960
+ "attribute": "standard-heading"
961
+ },
962
+ {
963
+ "kind": "field",
964
+ "name": "themeColors"
965
+ },
966
+ {
967
+ "kind": "field",
968
+ "name": "themeHeading",
969
+ "type": {
970
+ "text": "string"
971
+ },
972
+ "attribute": "theme-heading"
973
+ },
974
+ {
975
+ "kind": "field",
976
+ "name": "themeNames"
977
+ },
978
+ {
979
+ "kind": "field",
980
+ "name": "value",
981
+ "type": {
982
+ "text": "string"
983
+ }
984
+ },
985
+ {
986
+ "kind": "field",
987
+ "name": "variantLabel"
988
+ }
989
+ ],
990
+ "events": [
991
+ {
992
+ "name": "office-color-more"
993
+ },
994
+ {
995
+ "name": "office-color-pick"
996
+ }
997
+ ]
998
+ }
999
+ ],
1000
+ "exports": [
1001
+ {
1002
+ "kind": "custom-element-definition",
1003
+ "name": "office-ui-color-grid",
1004
+ "declaration": {
1005
+ "name": "OfficeUiColorGrid"
1006
+ }
1007
+ }
1008
+ ]
1009
+ },
773
1010
  {
774
1011
  "kind": "javascript-module",
775
1012
  "path": "menu/command-search.ts",
@@ -1501,7 +1738,7 @@
1501
1738
  "name": "OfficeUiMenuButton",
1502
1739
  "tagName": "office-ui-menu-button",
1503
1740
  "customElement": true,
1504
- "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`, `main-disabled` (split command only), `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.",
1741
+ "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`, `main-disabled` (split command only), `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. A child marked `data-menu-item` (a colour grid, say) takes part in that focus order through its own `focus()`.",
1505
1742
  "attributes": [
1506
1743
  {
1507
1744
  "name": "command"
@@ -2618,8 +2855,11 @@
2618
2855
  "name": "OfficeUiRuler",
2619
2856
  "tagName": "office-ui-ruler",
2620
2857
  "customElement": true,
2621
- "description": "`<office-ui-ruler>`: an 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. Page rulers add: `extent` (the ruler's own length in px, as long as the page), `marginStart` / `marginEnd` (shaded margin bands), `zoom` (the ruler is shown at that CSS zoom) and `labelsWithinMargins` (whole-unit labels only between the margins, counted up from `origin`). `markers` are draggable: the element fires `ruler-marker-move` while one is dragged (the host answers by updating `markers` to preview), then `ruler-marker-commit` on release or `ruler-marker-cancel`; all carry a `RulerMarkerEventDetail`. Without a `label` the ruler is hidden from assistive technology; with one it is an image with that name.",
2858
+ "description": "`<office-ui-ruler>`: an 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. `density` (1 by default) is the share of the subdivisions shown: 0.5 draws every second tick and 0.25 every fourth (Visio's Normal and Coarse ruler subdivisions). Page rulers add: `extent` (the ruler's own length in px, as long as the page), `marginStart` / `marginEnd` (shaded margin bands), `zoom` (the ruler is shown at that CSS zoom) and `labelsWithinMargins` (whole-unit labels only between the margins, counted up from `origin`). `markers` are draggable: the element fires `ruler-marker-move` while one is dragged (the host answers by updating `markers` to preview), then `ruler-marker-commit` on release or `ruler-marker-cancel`; all carry a `RulerMarkerEventDetail`. Without a `label` the ruler is hidden from assistive technology; with one it is an image with that name.",
2622
2859
  "attributes": [
2860
+ {
2861
+ "name": "density"
2862
+ },
2623
2863
  {
2624
2864
  "name": "direction"
2625
2865
  },
@@ -2652,6 +2892,13 @@
2652
2892
  }
2653
2893
  ],
2654
2894
  "members": [
2895
+ {
2896
+ "kind": "field",
2897
+ "name": "density",
2898
+ "type": {
2899
+ "text": "number"
2900
+ }
2901
+ },
2655
2902
  {
2656
2903
  "kind": "field",
2657
2904
  "name": "direction",
@@ -3188,7 +3435,7 @@
3188
3435
  "name": "OfficeUiTabStrip",
3189
3436
  "tagName": "office-ui-tab-strip",
3190
3437
  "customElement": true,
3191
- "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.",
3438
+ "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. The `after-tabs` slot sits between the tabs and the add button (Visio's All pages list), and the `plain` attribute draws the selected tab as bold accent text without a box, as Visio does.",
3192
3439
  "attributes": [
3193
3440
  {
3194
3441
  "name": "add-disabled"
@@ -3302,6 +3549,58 @@
3302
3549
  }
3303
3550
  ]
3304
3551
  },
3552
+ {
3553
+ "kind": "javascript-module",
3554
+ "path": "chrome/task-pane.ts",
3555
+ "declarations": [
3556
+ {
3557
+ "kind": "class",
3558
+ "name": "OfficeUiTaskPane",
3559
+ "tagName": "office-ui-task-pane",
3560
+ "customElement": true,
3561
+ "description": "`<office-ui-task-pane>`: a docked task pane, as Office shows Format Shape or Shape Data. A header with the `label` as its title and a close button (named by `close-label`, default \"Close <label>\"), then the slotted body. The close button emits `office-pane-close`; the host decides whether to hide the pane. The host is a `complementary` landmark named by the label. Parts: `header` and `body`, for a product that lays the pane out differently (a wide pane docked under the document, whose body does not scroll as a whole).",
3562
+ "attributes": [
3563
+ {
3564
+ "name": "close-label"
3565
+ },
3566
+ {
3567
+ "name": "label"
3568
+ }
3569
+ ],
3570
+ "members": [
3571
+ {
3572
+ "kind": "field",
3573
+ "name": "closeLabel",
3574
+ "type": {
3575
+ "text": "string"
3576
+ },
3577
+ "attribute": "close-label"
3578
+ },
3579
+ {
3580
+ "kind": "field",
3581
+ "name": "label",
3582
+ "type": {
3583
+ "text": "string"
3584
+ }
3585
+ }
3586
+ ],
3587
+ "events": [
3588
+ {
3589
+ "name": "office-pane-close"
3590
+ }
3591
+ ]
3592
+ }
3593
+ ],
3594
+ "exports": [
3595
+ {
3596
+ "kind": "custom-element-definition",
3597
+ "name": "office-ui-task-pane",
3598
+ "declaration": {
3599
+ "name": "OfficeUiTaskPane"
3600
+ }
3601
+ }
3602
+ ]
3603
+ },
3305
3604
  {
3306
3605
  "kind": "javascript-module",
3307
3606
  "path": "chrome/title-bar.ts",
@@ -3311,7 +3610,7 @@
3311
3610
  "name": "OfficeUiTitleBar",
3312
3611
  "tagName": "office-ui-title-bar",
3313
3612
  "customElement": true,
3314
- "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.",
3613
+ "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. The `centered` attribute puts the file name in the middle of the bar. `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.",
3315
3614
  "attributes": [
3316
3615
  {
3317
3616
  "name": "placement"
@@ -23,7 +23,9 @@ export interface RulerMarkerEventDetail {
23
23
  * and says where zero is: `origin` is the CSS-pixel offset of zero from the ruler's start edge,
24
24
  * `scale` the CSS pixels per unit (96 at 100% for inches). `orientation="vertical"` draws a
25
25
  * side ruler; `direction="reverse"` makes values grow toward the start edge, as Visio's
26
- * vertical ruler grows upward from the page bottom.
26
+ * vertical ruler grows upward from the page bottom. `density` (1 by default) is the share of the
27
+ * subdivisions shown: 0.5 draws every second tick and 0.25 every fourth (Visio's Normal and
28
+ * Coarse ruler subdivisions).
27
29
  *
28
30
  * Page rulers add: `extent` (the ruler's own length in px, as long as the page), `marginStart` /
29
31
  * `marginEnd` (shaded margin bands), `zoom` (the ruler is shown at that CSS zoom) and
@@ -49,6 +51,9 @@ export declare class OfficeUiRuler extends OfficeElement {
49
51
  direction: {
50
52
  type: StringConstructor;
51
53
  };
54
+ density: {
55
+ type: NumberConstructor;
56
+ };
52
57
  extent: {
53
58
  type: NumberConstructor;
54
59
  };
@@ -75,6 +80,7 @@ export declare class OfficeUiRuler extends OfficeElement {
75
80
  origin: number;
76
81
  scale: number;
77
82
  direction: string;
83
+ density: number;
78
84
  extent: number;
79
85
  marginStart: number;
80
86
  marginEnd: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ruler.d.ts","sourceRoot":"","sources":["../../src/chrome/ruler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAC;AAKvD,2FAA2F;AAC3F,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED,gFAAgF;AAChF,MAAM,WAAW,WAAW;IAC3B,0EAA0E;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,qC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I,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,KAAK,CAAmC;IAEhD,cAIC;IAED,IAAI,KAAK,IAAI,oBAAoB,GAAG,SAAS,CAE5C;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,EAIvD;IAED,OAAO,CAAC,QAAQ;IAIhB,8EAA8E;IAC9E,OAAO,CAAC,SAAS;IAMjB,UAAmB,UAAU,IAAI,IAAI,CAGpC;IAED,OAAO,CAAC,MAAM;IAgBd,OAAO,CAAC,QAAQ;IAahB,UAAmB,MAAM,sBAoExB;CACD;AAED,eAAO,MAAM,eAAe,+BAA2D,CAAC"}
@@ -17,7 +17,9 @@ export type OfficeTabSelectEvent = CustomEvent<{
17
17
  * Attributes: `label` (tab list name, default "Tabs"), `previous-label` and `next-label`
18
18
  * (step button names, default "Previous" and "Next"), `disabled`, and `add-label` to show an
19
19
  * add button after the tabs (Insert Page, New Sheet) that emits `office-command`
20
- * `{ command: 'tab-add' }`; `add-disabled` and `add-title` disable and explain it.
20
+ * `{ command: 'tab-add' }`; `add-disabled` and `add-title` disable and explain it. The
21
+ * `after-tabs` slot sits between the tabs and the add button (Visio's All pages list), and the
22
+ * `plain` attribute draws the selected tab as bold accent text without a box, as Visio does.
21
23
  */
22
24
  export declare class OfficeUiTabStrip extends OfficeElement {
23
25
  static styles: import("lit").CSSResult[];
@@ -1 +1 @@
1
- {"version":3,"file":"tab-strip.d.ts","sourceRoot":"","sources":["../../src/chrome/tab-strip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,aAAa,EAAuB,MAAM,SAAS,CAAC;AAK7D,MAAM,WAAW,SAAS;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MA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O,CAAC,IAAI;IAKZ,OAAO,CAAC,MAAM;IASd,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,KAAK;IAWb,UAAmB,OAAO,CAAC,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAI/D;IAED,UAAmB,MAAM,oCA0DxB;CACD;AAED,eAAO,MAAM,cAAc,+BAAyD,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { OfficeElement } from '../base.js';
2
+ /**
3
+ * `<office-ui-task-pane>`: a docked task pane, as Office shows Format Shape or Shape Data. A
4
+ * header with the `label` as its title and a close button (named by `close-label`, default
5
+ * "Close <label>"), then the slotted body. The close button emits `office-pane-close`; the host
6
+ * decides whether to hide the pane. The host is a `complementary` landmark named by the label.
7
+ * Parts: `header` and `body`, for a product that lays the pane out differently (a wide pane
8
+ * docked under the document, whose body does not scroll as a whole).
9
+ */
10
+ export declare class OfficeUiTaskPane extends OfficeElement {
11
+ static closeEvent: string;
12
+ static styles: import("lit").CSSResult[];
13
+ static properties: {
14
+ label: {
15
+ type: StringConstructor;
16
+ };
17
+ closeLabel: {
18
+ type: StringConstructor;
19
+ attribute: string;
20
+ };
21
+ };
22
+ label: string;
23
+ closeLabel: string;
24
+ constructor();
25
+ protected willUpdate(): void;
26
+ protected render(): import("lit").TemplateResult<1>;
27
+ }
28
+ export declare const defineTaskPane: import("../registry.js").Definer;
29
+ //# sourceMappingURL=task-pane.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-pane.d.ts","sourceRoot":"","sources":["../../src/chrome/task-pane.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAC;AAKvD;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IAClD,MAAM,CAAC,UAAU,SAAuB;IACxC,OAAgB,MAAM,4BAAsB;IAC5C,OAAgB,UAAU;QACzB,KAAK;YAAI,IAAI;;QACb,UAAU;YAAI,IAAI;YAAU,SAAS;;MACpC;IACM,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAE3B,cAIC;IAED,UAAmB,UAAU,IAAI,IAAI,CAGpC;IAED,UAAmB,MAAM,oCAaxB;CACD;AAED,eAAO,MAAM,cAAc,+BAAyD,CAAC"}
@@ -6,7 +6,8 @@ export * from './title-bar-types.js';
6
6
  * `<office-ui-title-bar>`: Office's title bar above the ribbon (app mark, AutoSave, Quick
7
7
  * Access Toolbar, file name and status, centred command search, `actions`, `collaboration` and
8
8
  * `account` slots). Controlled: set `state` (`OfficeTitleBarState`, every string translated); the bar
9
- * owns no effects. `placement="belowRibbon"` renders only the Quick Access row and hides
9
+ * owns no effects. The `centered` attribute puts the file name in the middle of the bar.
10
+ * `placement="belowRibbon"` renders only the Quick Access row and hides
10
11
  * itself (`data-empty`) while that row is empty. Events (bubbling, composed; static names let a
11
12
  * product subclass keep its published ones): `office-autosave-toggle`, `office-command`
12
13
  * `{ command }` from a Quick Access button and `office-command-search` `{ query, command? }`.
@@ -1 +1 @@
1
- {"version":3,"file":"title-bar.d.ts","sourceRoot":"","sources":["../../src/chrome/title-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAIrE,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAC;AAKvD,OAAO,EAIN,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,MAAM,mBAAmB,CAAC;AAG3B,cAAc,mBAAmB,CAAC;AAYlC;;;;;;;;;;;GAWG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IAClD,MAAM,CAAC,aAAa,SAA4B;IAChD,MAAM,CAAC,YAAY,SAAoB;IACvC,MAAM,CAAC,WAAW,SAA2B;IAC7C,uEAAuE;IACvE,MAAM,CAAC,SAAS,SAAsB;IACtC,MAAM,CAAC,SAAS,SAAsB;IACtC,OAAgB,MAAM,4BA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