ooxml-ui 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-GSXOZCAN.js +75 -0
- package/dist/{chunk-QVPO35YI.js → chunk-N3BQ3IIJ.js} +1 -1
- package/dist/docx/context-menu-actions.d.ts +1 -1
- package/dist/docx/decoration-cache.d.ts +16 -0
- package/dist/docx/editor-core.d.ts +3 -0
- package/dist/docx/locales/en-ribbon.d.ts +34 -0
- package/dist/docx/locales/en.d.ts +34 -0
- package/dist/docx/localization-strings.d.ts +34 -0
- package/dist/docx/model-adapter.d.ts +1 -1
- package/dist/docx/page-controller.d.ts +1 -1
- package/dist/docx/page-navigator.d.ts +1 -0
- package/dist/docx/paragraph-decoration-cache.d.ts +28 -0
- package/dist/docx/print-block-pages.d.ts +3 -0
- package/dist/docx/print-editing-index.d.ts +1 -0
- package/dist/docx/print-editing.d.ts +1 -1
- package/dist/docx/print-layout-view.d.ts +2 -0
- package/dist/docx/print-layout.d.ts +5 -0
- package/dist/docx/print-page-window.d.ts +16 -0
- package/dist/docx/ribbon-action.d.ts +6 -0
- package/dist/docx/ribbon-home-menus.d.ts +3 -0
- package/dist/docx/ribbon-icons.d.ts +3 -0
- package/dist/docx/ribbon-native-tabs.d.ts +2 -0
- package/dist/docx/ribbon-parts.d.ts +2 -2
- package/dist/docx.js +815 -154
- package/dist/index.js +2 -2
- package/dist/pointer-gesture.d.ts +10 -0
- package/dist/pptx/{chunk-J3T77ZMS.mjs → chunk-GD2XJ32O.mjs} +16 -85
- package/dist/pptx/{chunk-BPQVJLHW.cjs → chunk-WP7PQCJ5.cjs} +59 -107
- package/dist/pptx/dom/index.cjs +202 -202
- package/dist/pptx/dom/index.mjs +2 -2
- package/dist/pptx/index.cjs +2754 -2754
- package/dist/pptx/index.mjs +1 -1
- package/dist/pptx/render/editor-gestures.d.ts.map +1 -1
- package/dist/pptx/render/element-interaction.d.ts +3 -87
- package/dist/pptx/render/element-interaction.d.ts.map +1 -1
- package/dist/pptx/render/responsive/touch-target.d.ts +1 -2
- package/dist/pptx/render/responsive/touch-target.d.ts.map +1 -1
- package/dist/teams.js +1 -1
- package/dist/touch-targets.d.ts +4 -0
- package/dist/touch-targets.d.ts.map +1 -0
- package/dist/visio.js +33 -3
- package/dist/xlsx/formula-bar/styles.d.ts +1 -1
- package/dist/xlsx/grid/styles.d.ts +1 -1
- package/dist/xlsx/ribbon/cell-style-gallery.d.ts +10 -0
- package/dist/xlsx/sheet-tabs/styles.d.ts +1 -1
- package/dist/xlsx.js +193 -73
- package/package.json +2 -2
- /package/dist/{chunk-JZP5L2AZ.js → chunk-B7NCMLSK.js} +0 -0
|
@@ -635,8 +635,8 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
635
635
|
RECOLOR_ACCENTS: () => RECOLOR_ACCENTS,
|
|
636
636
|
RECORD_COMMAND_GROUPS: () => RECORD_COMMAND_GROUPS,
|
|
637
637
|
REPEAT_MODE_VALUES: () => chunkOJFD3SHS_cjs.REPEAT_MODE_VALUES,
|
|
638
|
-
RESIZE_HANDLES: () => RESIZE_HANDLES,
|
|
639
|
-
RESIZE_HANDLE_GEOMETRY: () => RESIZE_HANDLE_GEOMETRY,
|
|
638
|
+
RESIZE_HANDLES: () => geometry.RESIZE_HANDLES,
|
|
639
|
+
RESIZE_HANDLE_GEOMETRY: () => geometry.RESIZE_HANDLE_GEOMETRY,
|
|
640
640
|
RGBA_BYTES_PER_PIXEL: () => RGBA_BYTES_PER_PIXEL,
|
|
641
641
|
RIBBON_ADD_IN_EVENT: () => ribbon.RIBBON_ADD_IN_EVENT,
|
|
642
642
|
RIBBON_ADD_IN_TAB_ATTR: () => RIBBON_ADD_IN_TAB_ATTR,
|
|
@@ -662,7 +662,7 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
662
662
|
RIBBON_TAB: () => RIBBON_TAB,
|
|
663
663
|
RIBBON_TAB_IDS: () => RIBBON_TAB_IDS,
|
|
664
664
|
RIBBON_TRANSITION_PRESETS: () => RIBBON_TRANSITION_PRESETS,
|
|
665
|
-
ROTATE_STEM_PX: () => ROTATE_STEM_PX,
|
|
665
|
+
ROTATE_STEM_PX: () => geometry.ROTATE_STEM_PX,
|
|
666
666
|
ROUTING_PADDING_DEFAULT: () => geometry.ROUTING_PADDING_DEFAULT,
|
|
667
667
|
RULER_FONT_SIZE: () => RULER_FONT_SIZE,
|
|
668
668
|
RULER_THICKNESS: () => RULER_THICKNESS,
|
|
@@ -890,7 +890,7 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
890
890
|
applyColorChange: () => applyColorChange,
|
|
891
891
|
applyDataPointPictureFills: () => chunkVFPVEVF4_cjs.applyDataPointPictureFills,
|
|
892
892
|
applyDiagramRevealDescriptor: () => applyDiagramRevealDescriptor,
|
|
893
|
-
applyDragDelta: () => applyDragDelta,
|
|
893
|
+
applyDragDelta: () => geometry.applyDragDelta,
|
|
894
894
|
applyDrawingColorTransforms: () => applyDrawingColorTransforms,
|
|
895
895
|
applyDuotone: () => applyDuotone,
|
|
896
896
|
applyElementActionAffordances: () => applyElementActionAffordances,
|
|
@@ -919,7 +919,7 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
919
919
|
applyRehearsalTimings: () => applyRehearsalTimings,
|
|
920
920
|
applyRenderedElementAccessibility: () => applyRenderedElementAccessibility,
|
|
921
921
|
applyReroutedConnectors: () => applyReroutedConnectors,
|
|
922
|
-
applyResize: () => applyResize,
|
|
922
|
+
applyResize: () => geometry.applyResize,
|
|
923
923
|
applyRibbonGalleryItem: () => applyRibbonGalleryItem,
|
|
924
924
|
applyRibbonTransitionDraft: () => applyRibbonTransitionDraft,
|
|
925
925
|
applySlidePasteTemplates: () => slideOperations.applySlidePasteTemplates,
|
|
@@ -986,7 +986,7 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
986
986
|
booleanRegions: () => booleanRegions,
|
|
987
987
|
borrowExternalCollaborationAwareness: () => borrowExternalCollaborationAwareness,
|
|
988
988
|
boundsOf: () => boundsOf,
|
|
989
|
-
boxCenter: () => boxCenter,
|
|
989
|
+
boxCenter: () => geometry.boxCenter,
|
|
990
990
|
boxForAnimation: () => boxForAnimation,
|
|
991
991
|
boxOverlapRatio: () => boxOverlapRatio,
|
|
992
992
|
boxesOverlap: () => boxesOverlap,
|
|
@@ -2994,7 +2994,7 @@ chunkMF3JURQN_cjs.__export(pptx_exports, {
|
|
|
2994
2994
|
ribbonTransitionsDraftPatch: () => ribbonTransitionsDraftPatch,
|
|
2995
2995
|
ribbonTransitionsSoundChange: () => ribbonTransitionsSoundChange,
|
|
2996
2996
|
romanNumeral: () => bulletAutonum.romanNumeral,
|
|
2997
|
-
rotateDelta: () => rotateDelta,
|
|
2997
|
+
rotateDelta: () => geometry.rotateDelta,
|
|
2998
2998
|
roundDragValue: () => chunkK3S2A64B_cjs.roundDragValue,
|
|
2999
2999
|
roundedRectOutline: () => roundedRectOutline,
|
|
3000
3000
|
routeConnector: () => geometry.routeConnector,
|
|
@@ -4129,8 +4129,8 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
4129
4129
|
RECOLOR_ACCENTS: () => RECOLOR_ACCENTS,
|
|
4130
4130
|
RECORD_COMMAND_GROUPS: () => RECORD_COMMAND_GROUPS,
|
|
4131
4131
|
REPEAT_MODE_VALUES: () => chunkOJFD3SHS_cjs.REPEAT_MODE_VALUES,
|
|
4132
|
-
RESIZE_HANDLES: () => RESIZE_HANDLES,
|
|
4133
|
-
RESIZE_HANDLE_GEOMETRY: () => RESIZE_HANDLE_GEOMETRY,
|
|
4132
|
+
RESIZE_HANDLES: () => geometry.RESIZE_HANDLES,
|
|
4133
|
+
RESIZE_HANDLE_GEOMETRY: () => geometry.RESIZE_HANDLE_GEOMETRY,
|
|
4134
4134
|
RIBBON_ADD_IN_EVENT: () => ribbon.RIBBON_ADD_IN_EVENT,
|
|
4135
4135
|
RIBBON_ADD_IN_TAB_ATTR: () => RIBBON_ADD_IN_TAB_ATTR,
|
|
4136
4136
|
RIBBON_CONTEXTUAL_TABS: () => RIBBON_CONTEXTUAL_TABS,
|
|
@@ -4155,7 +4155,7 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
4155
4155
|
RIBBON_TAB: () => RIBBON_TAB,
|
|
4156
4156
|
RIBBON_TAB_IDS: () => RIBBON_TAB_IDS,
|
|
4157
4157
|
RIBBON_TRANSITION_PRESETS: () => RIBBON_TRANSITION_PRESETS,
|
|
4158
|
-
ROTATE_STEM_PX: () => ROTATE_STEM_PX,
|
|
4158
|
+
ROTATE_STEM_PX: () => geometry.ROTATE_STEM_PX,
|
|
4159
4159
|
ROUTING_PADDING_DEFAULT: () => geometry.ROUTING_PADDING_DEFAULT,
|
|
4160
4160
|
RULER_FONT_SIZE: () => RULER_FONT_SIZE,
|
|
4161
4161
|
RULER_THICKNESS: () => RULER_THICKNESS,
|
|
@@ -4371,7 +4371,7 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
4371
4371
|
applyColorChange: () => applyColorChange,
|
|
4372
4372
|
applyDataPointPictureFills: () => chunkVFPVEVF4_cjs.applyDataPointPictureFills,
|
|
4373
4373
|
applyDiagramRevealDescriptor: () => applyDiagramRevealDescriptor,
|
|
4374
|
-
applyDragDelta: () => applyDragDelta,
|
|
4374
|
+
applyDragDelta: () => geometry.applyDragDelta,
|
|
4375
4375
|
applyDrawingColorTransforms: () => applyDrawingColorTransforms,
|
|
4376
4376
|
applyDuotone: () => applyDuotone,
|
|
4377
4377
|
applyElementActionAffordances: () => applyElementActionAffordances,
|
|
@@ -4399,7 +4399,7 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
4399
4399
|
applyRehearsalTimings: () => applyRehearsalTimings,
|
|
4400
4400
|
applyRenderedElementAccessibility: () => applyRenderedElementAccessibility,
|
|
4401
4401
|
applyReroutedConnectors: () => applyReroutedConnectors,
|
|
4402
|
-
applyResize: () => applyResize,
|
|
4402
|
+
applyResize: () => geometry.applyResize,
|
|
4403
4403
|
applyRibbonGalleryItem: () => applyRibbonGalleryItem,
|
|
4404
4404
|
applyRibbonTransitionDraft: () => applyRibbonTransitionDraft,
|
|
4405
4405
|
applySlidePasteTemplates: () => slideOperations.applySlidePasteTemplates,
|
|
@@ -4461,7 +4461,7 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
4461
4461
|
booleanRegions: () => booleanRegions,
|
|
4462
4462
|
borrowExternalCollaborationAwareness: () => borrowExternalCollaborationAwareness,
|
|
4463
4463
|
boundsOf: () => boundsOf,
|
|
4464
|
-
boxCenter: () => boxCenter,
|
|
4464
|
+
boxCenter: () => geometry.boxCenter,
|
|
4465
4465
|
boxForAnimation: () => boxForAnimation,
|
|
4466
4466
|
boxOverlapRatio: () => boxOverlapRatio,
|
|
4467
4467
|
boxesOverlap: () => boxesOverlap,
|
|
@@ -6334,7 +6334,7 @@ chunkMF3JURQN_cjs.__export(render_exports, {
|
|
|
6334
6334
|
ribbonTransitionsDraftPatch: () => ribbonTransitionsDraftPatch,
|
|
6335
6335
|
ribbonTransitionsSoundChange: () => ribbonTransitionsSoundChange,
|
|
6336
6336
|
romanNumeral: () => bulletAutonum.romanNumeral,
|
|
6337
|
-
rotateDelta: () => rotateDelta,
|
|
6337
|
+
rotateDelta: () => geometry.rotateDelta,
|
|
6338
6338
|
roundDragValue: () => chunkK3S2A64B_cjs.roundDragValue,
|
|
6339
6339
|
roundedRectOutline: () => roundedRectOutline,
|
|
6340
6340
|
routeConnector: () => geometry.routeConnector,
|
|
@@ -28366,85 +28366,6 @@ function isRowBoundaryMergedAt(crossings, boundary, columnWidths, xFraction) {
|
|
|
28366
28366
|
function isColumnBoundaryMergedAt(crossings, boundary, rowBounds, offset) {
|
|
28367
28367
|
return crossings.columns[boundary]?.[rowIndexAtOffset(rowBounds, offset)] === true;
|
|
28368
28368
|
}
|
|
28369
|
-
var RESIZE_HANDLES = [
|
|
28370
|
-
"nw",
|
|
28371
|
-
"n",
|
|
28372
|
-
"ne",
|
|
28373
|
-
"e",
|
|
28374
|
-
"se",
|
|
28375
|
-
"s",
|
|
28376
|
-
"sw",
|
|
28377
|
-
"w"
|
|
28378
|
-
];
|
|
28379
|
-
var RESIZE_HANDLE_GEOMETRY = {
|
|
28380
|
-
nw: { cursor: "nwse-resize", fx: 0, fy: 0 },
|
|
28381
|
-
n: { cursor: "ns-resize", fx: 0.5, fy: 0 },
|
|
28382
|
-
ne: { cursor: "nesw-resize", fx: 1, fy: 0 },
|
|
28383
|
-
e: { cursor: "ew-resize", fx: 1, fy: 0.5 },
|
|
28384
|
-
se: { cursor: "nwse-resize", fx: 1, fy: 1 },
|
|
28385
|
-
s: { cursor: "ns-resize", fx: 0.5, fy: 1 },
|
|
28386
|
-
sw: { cursor: "nesw-resize", fx: 0, fy: 1 },
|
|
28387
|
-
w: { cursor: "ew-resize", fx: 0, fy: 0.5 }
|
|
28388
|
-
};
|
|
28389
|
-
var ROTATE_STEM_PX = 24;
|
|
28390
|
-
var DEG_TO_RAD = Math.PI / 180;
|
|
28391
|
-
function rotationOf(box) {
|
|
28392
|
-
return box.rotation ?? 0;
|
|
28393
|
-
}
|
|
28394
|
-
function rotateDelta(dx, dy, rotationDeg) {
|
|
28395
|
-
if (!rotationDeg) {
|
|
28396
|
-
return { x: dx, y: dy };
|
|
28397
|
-
}
|
|
28398
|
-
const rad = -rotationDeg * DEG_TO_RAD;
|
|
28399
|
-
const cos = Math.cos(rad);
|
|
28400
|
-
const sin = Math.sin(rad);
|
|
28401
|
-
return {
|
|
28402
|
-
x: dx * cos - dy * sin,
|
|
28403
|
-
y: dx * sin + dy * cos
|
|
28404
|
-
};
|
|
28405
|
-
}
|
|
28406
|
-
function boxCenter(box) {
|
|
28407
|
-
return { x: box.x + box.width / 2, y: box.y + box.height / 2 };
|
|
28408
|
-
}
|
|
28409
|
-
function applyDragDelta(box, dxScreen, dyScreen, zoom) {
|
|
28410
|
-
const scale2 = zoom || 1;
|
|
28411
|
-
return {
|
|
28412
|
-
x: box.x + dxScreen / scale2,
|
|
28413
|
-
y: box.y + dyScreen / scale2,
|
|
28414
|
-
width: box.width,
|
|
28415
|
-
height: box.height,
|
|
28416
|
-
rotation: rotationOf(box)
|
|
28417
|
-
};
|
|
28418
|
-
}
|
|
28419
|
-
function applyResize(box, handle, dxScreen, dyScreen, zoom, opts = {}) {
|
|
28420
|
-
const scale2 = zoom || 1;
|
|
28421
|
-
const minSize = opts.minSize ?? pptx.MIN_ELEMENT_SIZE;
|
|
28422
|
-
const rotation = rotationOf(box);
|
|
28423
|
-
const local = rotateDelta(dxScreen / scale2, dyScreen / scale2, rotation);
|
|
28424
|
-
const dx = local.x;
|
|
28425
|
-
const dy = local.y;
|
|
28426
|
-
let newX = box.x;
|
|
28427
|
-
let newY = box.y;
|
|
28428
|
-
let newW = box.width;
|
|
28429
|
-
let newH = box.height;
|
|
28430
|
-
const affectsLeft = handle === "nw" || handle === "w" || handle === "sw";
|
|
28431
|
-
const affectsRight = handle === "ne" || handle === "e" || handle === "se";
|
|
28432
|
-
const affectsTop = handle === "nw" || handle === "n" || handle === "ne";
|
|
28433
|
-
const affectsBottom = handle === "sw" || handle === "s" || handle === "se";
|
|
28434
|
-
if (affectsRight) {
|
|
28435
|
-
newW = Math.max(minSize, box.width + dx);
|
|
28436
|
-
} else if (affectsLeft) {
|
|
28437
|
-
newW = Math.max(minSize, box.width - dx);
|
|
28438
|
-
newX = box.x + (box.width - newW);
|
|
28439
|
-
}
|
|
28440
|
-
if (affectsBottom) {
|
|
28441
|
-
newH = Math.max(minSize, box.height + dy);
|
|
28442
|
-
} else if (affectsTop) {
|
|
28443
|
-
newH = Math.max(minSize, box.height - dy);
|
|
28444
|
-
newY = box.y + (box.height - newH);
|
|
28445
|
-
}
|
|
28446
|
-
return { x: newX, y: newY, width: newW, height: newH, rotation };
|
|
28447
|
-
}
|
|
28448
28369
|
function snapBoxToGrid(box, handle, gridSpacingPx, minSize = pptx.MIN_ELEMENT_SIZE) {
|
|
28449
28370
|
if (handle === null || gridSpacingPx <= 0) {
|
|
28450
28371
|
return box;
|
|
@@ -28505,7 +28426,7 @@ var inset2 = "var(--pptx-handle-hit-inset, -1px)";
|
|
|
28505
28426
|
var horizontalInset = `max(${inset2}, calc(50% - var(--pptx-selection-width, 1000000px) / var(--pptx-handle-inverse-scale, 1) / 4))`;
|
|
28506
28427
|
var verticalInset = `max(${inset2}, calc(50% - var(--pptx-selection-height, 1000000px) / var(--pptx-handle-inverse-scale, 1) / 4))`;
|
|
28507
28428
|
function getResizeHandleHitAreaStyle(handle) {
|
|
28508
|
-
const { fx, fy } = RESIZE_HANDLE_GEOMETRY[handle];
|
|
28429
|
+
const { fx, fy } = geometry.RESIZE_HANDLE_GEOMETRY[handle];
|
|
28509
28430
|
return {
|
|
28510
28431
|
position: "absolute",
|
|
28511
28432
|
pointerEvents: "auto",
|
|
@@ -46857,8 +46778,10 @@ function isDensePanelCompact(width) {
|
|
|
46857
46778
|
return width < MOBILE_BREAKPOINT;
|
|
46858
46779
|
}
|
|
46859
46780
|
|
|
46860
|
-
// src/
|
|
46781
|
+
// src/touch-targets.ts
|
|
46861
46782
|
var MIN_TOUCH_TARGET_PX = 44;
|
|
46783
|
+
|
|
46784
|
+
// src/pptx/render/responsive/touch-target.ts
|
|
46862
46785
|
var DEFAULT_DENSE_BUTTON_PX = 28;
|
|
46863
46786
|
function getDensePanelTouchTargetPx(width) {
|
|
46864
46787
|
return isDensePanelCompact(width) ? MIN_TOUCH_TARGET_PX : DEFAULT_DENSE_BUTTON_PX;
|
|
@@ -64903,7 +64826,7 @@ function createGestureController(deps) {
|
|
|
64903
64826
|
});
|
|
64904
64827
|
function computeMove(g, dx, dy) {
|
|
64905
64828
|
const scale2 = deps.getScale();
|
|
64906
|
-
let box = applyDragDelta(g.startBox, dx, dy, scale2);
|
|
64829
|
+
let box = geometry.applyDragDelta(g.startBox, dx, dy, scale2);
|
|
64907
64830
|
if (deps.getSnapToGrid?.()) {
|
|
64908
64831
|
const grid = deps.getGridSize?.() ?? 12;
|
|
64909
64832
|
box = { ...box, x: geometry.snapToGridStep(box.x, grid), y: geometry.snapToGridStep(box.y, grid) };
|
|
@@ -64929,7 +64852,7 @@ function createGestureController(deps) {
|
|
|
64929
64852
|
if (!handle) {
|
|
64930
64853
|
return toTransform(g.id, g.startBox);
|
|
64931
64854
|
}
|
|
64932
|
-
let box = applyResize(g.startBox, handle, dx, dy, scale2);
|
|
64855
|
+
let box = geometry.applyResize(g.startBox, handle, dx, dy, scale2);
|
|
64933
64856
|
if (shift) {
|
|
64934
64857
|
box = lockResizeAspect(box, g.startBox, handle);
|
|
64935
64858
|
}
|
|
@@ -64988,7 +64911,15 @@ function createGestureController(deps) {
|
|
|
64988
64911
|
function detach() {
|
|
64989
64912
|
window.removeEventListener("pointermove", onPointerMove);
|
|
64990
64913
|
window.removeEventListener("pointerup", onPointerUp);
|
|
64991
|
-
window.removeEventListener("pointercancel",
|
|
64914
|
+
window.removeEventListener("pointercancel", onPointerCancel);
|
|
64915
|
+
}
|
|
64916
|
+
function onPointerCancel(pointer) {
|
|
64917
|
+
const g = active2;
|
|
64918
|
+
if (!g || pointer.pointerId !== g.pointerId) return;
|
|
64919
|
+
detach();
|
|
64920
|
+
active2 = null;
|
|
64921
|
+
if (g.moved) deps.onPreview(toTransform(g.id, g.startBox), []);
|
|
64922
|
+
deps.onEnd(null, false, g.id);
|
|
64992
64923
|
}
|
|
64993
64924
|
return {
|
|
64994
64925
|
begin(kind, id, pointer, handle) {
|
|
@@ -65003,14 +64934,14 @@ function createGestureController(deps) {
|
|
|
65003
64934
|
startClientX: pointer.clientX,
|
|
65004
64935
|
startClientY: pointer.clientY,
|
|
65005
64936
|
startBox: { ...box },
|
|
65006
|
-
rotate: kind === "rotate" ? geometry.createRotationDrag(boxCenter(box), stagePoint(pointer), box.rotation ?? 0) : void 0,
|
|
64937
|
+
rotate: kind === "rotate" ? geometry.createRotationDrag(geometry.boxCenter(box), stagePoint(pointer), box.rotation ?? 0) : void 0,
|
|
65007
64938
|
handle,
|
|
65008
64939
|
moved: false,
|
|
65009
64940
|
last: null
|
|
65010
64941
|
};
|
|
65011
64942
|
window.addEventListener("pointermove", onPointerMove);
|
|
65012
64943
|
window.addEventListener("pointerup", onPointerUp);
|
|
65013
|
-
window.addEventListener("pointercancel",
|
|
64944
|
+
window.addEventListener("pointercancel", onPointerCancel);
|
|
65014
64945
|
},
|
|
65015
64946
|
isActive() {
|
|
65016
64947
|
return active2 !== null;
|
|
@@ -83589,6 +83520,18 @@ Object.defineProperty(exports, "PADDING_DEFAULT", {
|
|
|
83589
83520
|
enumerable: true,
|
|
83590
83521
|
get: function () { return geometry.PADDING_DEFAULT; }
|
|
83591
83522
|
});
|
|
83523
|
+
Object.defineProperty(exports, "RESIZE_HANDLES", {
|
|
83524
|
+
enumerable: true,
|
|
83525
|
+
get: function () { return geometry.RESIZE_HANDLES; }
|
|
83526
|
+
});
|
|
83527
|
+
Object.defineProperty(exports, "RESIZE_HANDLE_GEOMETRY", {
|
|
83528
|
+
enumerable: true,
|
|
83529
|
+
get: function () { return geometry.RESIZE_HANDLE_GEOMETRY; }
|
|
83530
|
+
});
|
|
83531
|
+
Object.defineProperty(exports, "ROTATE_STEM_PX", {
|
|
83532
|
+
enumerable: true,
|
|
83533
|
+
get: function () { return geometry.ROTATE_STEM_PX; }
|
|
83534
|
+
});
|
|
83592
83535
|
Object.defineProperty(exports, "ROUTING_PADDING_DEFAULT", {
|
|
83593
83536
|
enumerable: true,
|
|
83594
83537
|
get: function () { return geometry.ROUTING_PADDING_DEFAULT; }
|
|
@@ -83605,6 +83548,18 @@ Object.defineProperty(exports, "alignElements", {
|
|
|
83605
83548
|
enumerable: true,
|
|
83606
83549
|
get: function () { return geometry.alignElements; }
|
|
83607
83550
|
});
|
|
83551
|
+
Object.defineProperty(exports, "applyDragDelta", {
|
|
83552
|
+
enumerable: true,
|
|
83553
|
+
get: function () { return geometry.applyDragDelta; }
|
|
83554
|
+
});
|
|
83555
|
+
Object.defineProperty(exports, "applyResize", {
|
|
83556
|
+
enumerable: true,
|
|
83557
|
+
get: function () { return geometry.applyResize; }
|
|
83558
|
+
});
|
|
83559
|
+
Object.defineProperty(exports, "boxCenter", {
|
|
83560
|
+
enumerable: true,
|
|
83561
|
+
get: function () { return geometry.boxCenter; }
|
|
83562
|
+
});
|
|
83608
83563
|
Object.defineProperty(exports, "buildGraphNodes", {
|
|
83609
83564
|
enumerable: true,
|
|
83610
83565
|
get: function () { return geometry.buildGraphNodes; }
|
|
@@ -83661,6 +83616,10 @@ Object.defineProperty(exports, "resolveAlignReferenceBox", {
|
|
|
83661
83616
|
enumerable: true,
|
|
83662
83617
|
get: function () { return geometry.resolveAlignReferenceBox; }
|
|
83663
83618
|
});
|
|
83619
|
+
Object.defineProperty(exports, "rotateDelta", {
|
|
83620
|
+
enumerable: true,
|
|
83621
|
+
get: function () { return geometry.rotateDelta; }
|
|
83622
|
+
});
|
|
83664
83623
|
Object.defineProperty(exports, "routeConnector", {
|
|
83665
83624
|
enumerable: true,
|
|
83666
83625
|
get: function () { return geometry.routeConnector; }
|
|
@@ -84867,8 +84826,6 @@ exports.READING_VIEW_STAGE_ATTR = READING_VIEW_STAGE_ATTR;
|
|
|
84867
84826
|
exports.RECENT_COLOR_LIMIT = RECENT_COLOR_LIMIT;
|
|
84868
84827
|
exports.RECOLOR_ACCENTS = RECOLOR_ACCENTS;
|
|
84869
84828
|
exports.RECORD_COMMAND_GROUPS = RECORD_COMMAND_GROUPS;
|
|
84870
|
-
exports.RESIZE_HANDLES = RESIZE_HANDLES;
|
|
84871
|
-
exports.RESIZE_HANDLE_GEOMETRY = RESIZE_HANDLE_GEOMETRY;
|
|
84872
84829
|
exports.RGBA_BYTES_PER_PIXEL = RGBA_BYTES_PER_PIXEL;
|
|
84873
84830
|
exports.RIBBON_ADD_IN_TAB_ATTR = RIBBON_ADD_IN_TAB_ATTR;
|
|
84874
84831
|
exports.RIBBON_CONTEXTUAL_TABS = RIBBON_CONTEXTUAL_TABS;
|
|
@@ -84893,7 +84850,6 @@ exports.RIBBON_SHAPE_SWATCHES = RIBBON_SHAPE_SWATCHES;
|
|
|
84893
84850
|
exports.RIBBON_TAB = RIBBON_TAB;
|
|
84894
84851
|
exports.RIBBON_TAB_IDS = RIBBON_TAB_IDS;
|
|
84895
84852
|
exports.RIBBON_TRANSITION_PRESETS = RIBBON_TRANSITION_PRESETS;
|
|
84896
|
-
exports.ROTATE_STEM_PX = ROTATE_STEM_PX;
|
|
84897
84853
|
exports.RULER_FONT_SIZE = RULER_FONT_SIZE;
|
|
84898
84854
|
exports.RULER_THICKNESS = RULER_THICKNESS;
|
|
84899
84855
|
exports.RUN_HYPERLINK_ATTR = RUN_HYPERLINK_ATTR;
|
|
@@ -85059,7 +85015,6 @@ exports.applyChartRevealDescriptor = applyChartRevealDescriptor;
|
|
|
85059
85015
|
exports.applyChartStylePreset = applyChartStylePreset;
|
|
85060
85016
|
exports.applyColorChange = applyColorChange;
|
|
85061
85017
|
exports.applyDiagramRevealDescriptor = applyDiagramRevealDescriptor;
|
|
85062
|
-
exports.applyDragDelta = applyDragDelta;
|
|
85063
85018
|
exports.applyDrawingColorTransforms = applyDrawingColorTransforms;
|
|
85064
85019
|
exports.applyDuotone = applyDuotone;
|
|
85065
85020
|
exports.applyElementActionAffordances = applyElementActionAffordances;
|
|
@@ -85083,7 +85038,6 @@ exports.applyReadingViewCommand = applyReadingViewCommand;
|
|
|
85083
85038
|
exports.applyRehearsalTimings = applyRehearsalTimings;
|
|
85084
85039
|
exports.applyRenderedElementAccessibility = applyRenderedElementAccessibility;
|
|
85085
85040
|
exports.applyReroutedConnectors = applyReroutedConnectors;
|
|
85086
|
-
exports.applyResize = applyResize;
|
|
85087
85041
|
exports.applyRibbonGalleryItem = applyRibbonGalleryItem;
|
|
85088
85042
|
exports.applyRibbonTransitionDraft = applyRibbonTransitionDraft;
|
|
85089
85043
|
exports.applySlideTransitionSound = applySlideTransitionSound;
|
|
@@ -85138,7 +85092,6 @@ exports.bookmarkTriggerPatch = bookmarkTriggerPatch;
|
|
|
85138
85092
|
exports.booleanRegions = booleanRegions;
|
|
85139
85093
|
exports.borrowExternalCollaborationAwareness = borrowExternalCollaborationAwareness;
|
|
85140
85094
|
exports.boundsOf = boundsOf;
|
|
85141
|
-
exports.boxCenter = boxCenter;
|
|
85142
85095
|
exports.boxForAnimation = boxForAnimation;
|
|
85143
85096
|
exports.boxOverlapRatio = boxOverlapRatio;
|
|
85144
85097
|
exports.boxesOverlap = boxesOverlap;
|
|
@@ -86576,7 +86529,6 @@ exports.ribbonTransitionTargets = ribbonTransitionTargets;
|
|
|
86576
86529
|
exports.ribbonTransitionUpdates = ribbonTransitionUpdates;
|
|
86577
86530
|
exports.ribbonTransitionsDraftPatch = ribbonTransitionsDraftPatch;
|
|
86578
86531
|
exports.ribbonTransitionsSoundChange = ribbonTransitionsSoundChange;
|
|
86579
|
-
exports.rotateDelta = rotateDelta;
|
|
86580
86532
|
exports.roundedRectOutline = roundedRectOutline;
|
|
86581
86533
|
exports.routeEditLayerPointerToNodes = routeEditLayerPointerToNodes;
|
|
86582
86534
|
exports.rowHandleSegments = rowHandleSegments;
|