ooxml-ui 1.27.0 → 1.27.1
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/chart/data-sheet-keys.d.ts +1 -0
- package/dist/chart/format-pane-common.d.ts +1 -0
- package/dist/chart/format-pane-fill-line.d.ts +1 -0
- package/dist/chart/format-pane-text.d.ts +1 -0
- package/dist/chart/format-pane-types.d.ts +0 -1
- package/dist/chart/format-pane-view.d.ts +0 -1
- package/dist/pptx/{chunk-43NFRLCD.cjs → chunk-37VJFRCP.cjs} +2 -2
- package/dist/pptx/{chunk-72P6AWRA.mjs → chunk-67L75M6K.mjs} +1 -1
- package/dist/pptx/{chunk-B4GBGPNL.cjs → chunk-CWWL7MCL.cjs} +99 -0
- package/dist/pptx/{chunk-7DIZOCO4.mjs → chunk-FUKVYJPM.mjs} +59 -2
- package/dist/pptx/{chunk-LAF5W2UR.mjs → chunk-OD6REJDV.mjs} +2 -1
- package/dist/pptx/{chunk-A3JJOLTS.cjs → chunk-TMCN2OVN.cjs} +44 -43
- package/dist/pptx/{chunk-I6ZVSJAR.cjs → chunk-VMDMICQC.cjs} +472 -132
- package/dist/pptx/{chunk-6QLGEV3I.mjs → chunk-XZX7EHX4.mjs} +447 -76
- package/dist/pptx/dom/index.cjs +384 -384
- package/dist/pptx/dom/index.mjs +6 -6
- package/dist/pptx/index.cjs +3141 -3093
- package/dist/pptx/index.mjs +3 -3
- package/dist/pptx/render/find-replace-session-actions.d.ts +44 -0
- package/dist/pptx/render/find-replace-session-actions.d.ts.map +1 -0
- package/dist/pptx/render/find-replace-session.d.ts +120 -0
- package/dist/pptx/render/find-replace-session.d.ts.map +1 -0
- package/dist/pptx/render/format-painter.cjs +5 -5
- package/dist/pptx/render/format-painter.mjs +2 -2
- package/dist/pptx/render/index.d.ts +3 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/inspector/index.d.ts +2 -0
- package/dist/pptx/render/inspector/index.d.ts.map +1 -1
- package/dist/pptx/render/inspector/inspector-color-fields.d.ts +38 -0
- package/dist/pptx/render/inspector/inspector-color-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector-helpers.cjs +21 -13
- package/dist/pptx/render/inspector-helpers.d.ts +10 -1
- package/dist/pptx/render/inspector-helpers.d.ts.map +1 -1
- package/dist/pptx/render/inspector-helpers.mjs +1 -1
- package/dist/pptx/render/live-color-input.d.ts +93 -0
- package/dist/pptx/render/live-color-input.d.ts.map +1 -0
- package/dist/pptx/render/live-color-leaves.d.ts +34 -0
- package/dist/pptx/render/live-color-leaves.d.ts.map +1 -0
- package/dist/pptx/{smartart-insert-preview-AERZURUO.cjs → smartart-insert-preview-MCDHVWHZ.cjs} +5 -5
- package/dist/pptx/{smartart-insert-preview-CGAZP5JP.mjs → smartart-insert-preview-QQH5ZBSF.mjs} +4 -4
- package/dist/theme-bridge.d.ts +1 -0
- package/package.json +2 -2
|
@@ -9,7 +9,7 @@ var chunkXOAXPD2W_cjs = require('./chunk-XOAXPD2W.cjs');
|
|
|
9
9
|
var chunkBSGCZ4JZ_cjs = require('./chunk-BSGCZ4JZ.cjs');
|
|
10
10
|
var chunkIOOI63TH_cjs = require('./chunk-IOOI63TH.cjs');
|
|
11
11
|
var chunkZJFN5POF_cjs = require('./chunk-ZJFN5POF.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkCWWL7MCL_cjs = require('./chunk-CWWL7MCL.cjs');
|
|
13
13
|
var chunkWB25PCHQ_cjs = require('./chunk-WB25PCHQ.cjs');
|
|
14
14
|
var chunkW3X2UVYQ_cjs = require('./chunk-W3X2UVYQ.cjs');
|
|
15
15
|
var chunk6KLPQQYP_cjs = require('./chunk-6KLPQQYP.cjs');
|
|
@@ -43,7 +43,6 @@ var tableDataGridOps = require('ooxml-core/pptx/editor/render/table-data-grid-op
|
|
|
43
43
|
var tableCellMerge = require('ooxml-core/pptx/editor/render/table-cell-merge');
|
|
44
44
|
var clone = require('ooxml-core/pptx/editor/render/clone');
|
|
45
45
|
var geometry = require('ooxml-core/geometry');
|
|
46
|
-
var elementLocks = require('ooxml-core/pptx/editor/render/element-locks');
|
|
47
46
|
var groupOps = require('ooxml-core/pptx/editor/render/group-ops');
|
|
48
47
|
var slideBackgroundPatch = require('ooxml-core/pptx/editor/render/slide-background-patch');
|
|
49
48
|
var elementOperations = require('ooxml-core/pptx/editor/render/element-operations');
|
|
@@ -30571,7 +30570,7 @@ function getPendingSelectionRestore() {
|
|
|
30571
30570
|
}
|
|
30572
30571
|
function applyStyleToSelectedSegments(segments, selection, updates, inherited) {
|
|
30573
30572
|
const { startSegIdx, startOffset, endSegIdx, endOffset } = selection;
|
|
30574
|
-
const restyle = (style) =>
|
|
30573
|
+
const restyle = (style) => chunkCWWL7MCL_cjs.mergeTextStyleUpdate(style, updates, inherited);
|
|
30575
30574
|
const result = [];
|
|
30576
30575
|
let newStartSegIdx = -1;
|
|
30577
30576
|
let newStartOffset = 0;
|
|
@@ -30887,11 +30886,11 @@ function applyTextStyleUpdate(element, updates, selection, segments) {
|
|
|
30887
30886
|
return { patch: {}, newSelection: null };
|
|
30888
30887
|
}
|
|
30889
30888
|
const current = segments ?? element.textSegments;
|
|
30890
|
-
const exclusive =
|
|
30889
|
+
const exclusive = chunkCWWL7MCL_cjs.withExclusiveLineSpacing(updates);
|
|
30891
30890
|
if (selection && current && current.length > 0) {
|
|
30892
|
-
const { body, run } =
|
|
30893
|
-
let textStyle =
|
|
30894
|
-
let textSegments =
|
|
30891
|
+
const { body, run } = chunkCWWL7MCL_cjs.splitTextStyleUpdate(exclusive);
|
|
30892
|
+
let textStyle = chunkCWWL7MCL_cjs.mergeTextStyleUpdate(element.textStyle, body);
|
|
30893
|
+
let textSegments = chunkCWWL7MCL_cjs.overrideParagraphProperties(
|
|
30895
30894
|
current,
|
|
30896
30895
|
exclusive,
|
|
30897
30896
|
element.textStyle?.inheritedParagraphSpacing
|
|
@@ -30902,9 +30901,9 @@ function applyTextStyleUpdate(element, updates, selection, segments) {
|
|
|
30902
30901
|
textSegments = scoped.newSegments;
|
|
30903
30902
|
newSelection = scoped.newSelection;
|
|
30904
30903
|
}
|
|
30905
|
-
const touched =
|
|
30904
|
+
const touched = chunkCWWL7MCL_cjs.TEXT_DECORATION_FLAGS.filter((flag2) => flag2 in run);
|
|
30906
30905
|
if (touched.length > 0) {
|
|
30907
|
-
const reconciled =
|
|
30906
|
+
const reconciled = chunkCWWL7MCL_cjs.reconcileDecorationFlags(textSegments, textStyle, touched);
|
|
30908
30907
|
textStyle = reconciled.textStyle;
|
|
30909
30908
|
textSegments = reconciled.textSegments;
|
|
30910
30909
|
}
|
|
@@ -30912,7 +30911,7 @@ function applyTextStyleUpdate(element, updates, selection, segments) {
|
|
|
30912
30911
|
patch: {
|
|
30913
30912
|
textStyle,
|
|
30914
30913
|
textSegments,
|
|
30915
|
-
...
|
|
30914
|
+
...chunkCWWL7MCL_cjs.overrideParagraphIndents(element, exclusive)
|
|
30916
30915
|
},
|
|
30917
30916
|
newSelection
|
|
30918
30917
|
};
|
|
@@ -30920,7 +30919,7 @@ function applyTextStyleUpdate(element, updates, selection, segments) {
|
|
|
30920
30919
|
const wholeText = textRunsStylePatch.textRunsStylePatch(
|
|
30921
30920
|
{
|
|
30922
30921
|
...element,
|
|
30923
|
-
textSegments: current &&
|
|
30922
|
+
textSegments: current && chunkCWWL7MCL_cjs.overrideParagraphProperties(
|
|
30924
30923
|
current,
|
|
30925
30924
|
exclusive,
|
|
30926
30925
|
element.textStyle?.inheritedParagraphSpacing
|
|
@@ -30931,7 +30930,7 @@ function applyTextStyleUpdate(element, updates, selection, segments) {
|
|
|
30931
30930
|
return {
|
|
30932
30931
|
patch: {
|
|
30933
30932
|
...wholeText,
|
|
30934
|
-
...
|
|
30933
|
+
...chunkCWWL7MCL_cjs.overrideParagraphIndents(element, exclusive)
|
|
30935
30934
|
},
|
|
30936
30935
|
newSelection: null
|
|
30937
30936
|
};
|
|
@@ -34962,9 +34961,9 @@ function textAdvancedStateFromStyle(ts) {
|
|
|
34962
34961
|
}
|
|
34963
34962
|
function textAdvancedPatch(el, changes) {
|
|
34964
34963
|
const base2 = pptx.hasTextProperties(el) ? el.textStyle ?? {} : {};
|
|
34965
|
-
const exclusive =
|
|
34964
|
+
const exclusive = chunkCWWL7MCL_cjs.withExclusiveLineSpacing(changes);
|
|
34966
34965
|
return {
|
|
34967
|
-
...
|
|
34966
|
+
...chunkCWWL7MCL_cjs.paragraphOverridePatch(el, exclusive),
|
|
34968
34967
|
textStyle: {
|
|
34969
34968
|
...base2,
|
|
34970
34969
|
...exclusive
|
|
@@ -36202,7 +36201,7 @@ function getShapeAdjustmentHandleDescriptors(element) {
|
|
|
36202
36201
|
if (!pptx.hasShapeProperties(element) || element.type === "connector") {
|
|
36203
36202
|
return [];
|
|
36204
36203
|
}
|
|
36205
|
-
if (!
|
|
36204
|
+
if (!chunkCWWL7MCL_cjs.canInteractWithElement(element, "adjustHandle")) {
|
|
36206
36205
|
return [];
|
|
36207
36206
|
}
|
|
36208
36207
|
const shape = element;
|
|
@@ -40457,54 +40456,6 @@ function buildReviewRibbon(t2, state) {
|
|
|
40457
40456
|
])
|
|
40458
40457
|
];
|
|
40459
40458
|
}
|
|
40460
|
-
var DEFAULT_STROKE_WIDTH = 1;
|
|
40461
|
-
function canGroupSelection(canEdit, selectedCount, selectionGroupable = true) {
|
|
40462
|
-
return canEdit && selectedCount >= 2 && selectionGroupable;
|
|
40463
|
-
}
|
|
40464
|
-
function canUngroupSelection(canEdit, element) {
|
|
40465
|
-
return canEdit && element?.type === "group" && elementLocks.canInteractWithElement(element, "group");
|
|
40466
|
-
}
|
|
40467
|
-
function canSetStrokeWidth(canEdit, element) {
|
|
40468
|
-
return canEdit && element !== null && pptx.hasShapeProperties(element);
|
|
40469
|
-
}
|
|
40470
|
-
function strokeWidthOf(element) {
|
|
40471
|
-
if (element === null || !pptx.hasShapeProperties(element)) {
|
|
40472
|
-
return DEFAULT_STROKE_WIDTH;
|
|
40473
|
-
}
|
|
40474
|
-
return element.shapeStyle?.strokeWidth ?? DEFAULT_STROKE_WIDTH;
|
|
40475
|
-
}
|
|
40476
|
-
|
|
40477
|
-
// src/pptx/render/ribbon-home-commands.ts
|
|
40478
|
-
function resetSlideLayoutPath(slide) {
|
|
40479
|
-
const path = slide?.layoutPath;
|
|
40480
|
-
return typeof path === "string" && path !== "" ? path : void 0;
|
|
40481
|
-
}
|
|
40482
|
-
function shapeFillChange(hex2, ref) {
|
|
40483
|
-
return { fillColor: hex2, fillColorRef: ref, fillMode: "solid" };
|
|
40484
|
-
}
|
|
40485
|
-
function shapeOutlineChange(hex2, ref, current) {
|
|
40486
|
-
const change = { strokeColor: hex2, strokeColorRef: ref };
|
|
40487
|
-
const lineShows = (current?.strokeWidth ?? 0) > 0;
|
|
40488
|
-
if (current && !lineShows) {
|
|
40489
|
-
change.strokeWidth = DEFAULT_STROKE_WIDTH;
|
|
40490
|
-
change.strokeFillMode = "solid";
|
|
40491
|
-
}
|
|
40492
|
-
return change;
|
|
40493
|
-
}
|
|
40494
|
-
var RIBBON_SHAPE_SWATCHES = [
|
|
40495
|
-
"#ffffff",
|
|
40496
|
-
"#000000",
|
|
40497
|
-
"#c00000",
|
|
40498
|
-
"#ff0000",
|
|
40499
|
-
"#ffc000",
|
|
40500
|
-
"#ffff00",
|
|
40501
|
-
"#92d050",
|
|
40502
|
-
"#00b050",
|
|
40503
|
-
"#00b0f0",
|
|
40504
|
-
"#0070c0",
|
|
40505
|
-
"#002060",
|
|
40506
|
-
"#7030a0"
|
|
40507
|
-
];
|
|
40508
40459
|
|
|
40509
40460
|
// src/pptx/render/transition-preview.ts
|
|
40510
40461
|
var TRANSITION_PREVIEW_ATTR = "data-pptx-transition-preview";
|
|
@@ -44079,6 +44030,246 @@ function inspectorTogglePatch(sections2, sectionId, target, on) {
|
|
|
44079
44030
|
}
|
|
44080
44031
|
return on ? toggle2.enable(target) : toggle2.disable(target);
|
|
44081
44032
|
}
|
|
44033
|
+
|
|
44034
|
+
// src/pptx/render/live-color-leaves.ts
|
|
44035
|
+
function isContainer(value) {
|
|
44036
|
+
if (Array.isArray(value)) {
|
|
44037
|
+
return true;
|
|
44038
|
+
}
|
|
44039
|
+
if (typeof value !== "object" || value === null) {
|
|
44040
|
+
return false;
|
|
44041
|
+
}
|
|
44042
|
+
const proto = Object.getPrototypeOf(value);
|
|
44043
|
+
return proto === Object.prototype || proto === null;
|
|
44044
|
+
}
|
|
44045
|
+
function childOf(value, key) {
|
|
44046
|
+
return isContainer(value) ? value[key] : void 0;
|
|
44047
|
+
}
|
|
44048
|
+
function hasChild(value, key) {
|
|
44049
|
+
return isContainer(value) && Object.hasOwn(value, key);
|
|
44050
|
+
}
|
|
44051
|
+
function diffLeaves(before, beforeHas, after, afterHas, path, out) {
|
|
44052
|
+
if (beforeHas === afterHas && Object.is(before, after)) {
|
|
44053
|
+
return;
|
|
44054
|
+
}
|
|
44055
|
+
if (before === void 0 && isContainer(after)) {
|
|
44056
|
+
out.created.push(path);
|
|
44057
|
+
for (const key of Object.keys(after)) {
|
|
44058
|
+
diffLeaves(void 0, false, childOf(after, key), true, [...path, key], out);
|
|
44059
|
+
}
|
|
44060
|
+
return;
|
|
44061
|
+
}
|
|
44062
|
+
if (isContainer(before) && isContainer(after) && Array.isArray(before) === Array.isArray(after)) {
|
|
44063
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(before), ...Object.keys(after)]);
|
|
44064
|
+
for (const key of keys) {
|
|
44065
|
+
diffLeaves(
|
|
44066
|
+
childOf(before, key),
|
|
44067
|
+
hasChild(before, key),
|
|
44068
|
+
childOf(after, key),
|
|
44069
|
+
hasChild(after, key),
|
|
44070
|
+
[...path, key],
|
|
44071
|
+
out
|
|
44072
|
+
);
|
|
44073
|
+
}
|
|
44074
|
+
return;
|
|
44075
|
+
}
|
|
44076
|
+
out.changed.push(path);
|
|
44077
|
+
}
|
|
44078
|
+
var isAncestor = (ancestor, path) => ancestor.every((segment, index) => path[index] === segment);
|
|
44079
|
+
function recordLiveColorLeaves(leaves, value, patch) {
|
|
44080
|
+
const diff = { changed: [], created: [] };
|
|
44081
|
+
for (const [key, next] of Object.entries(patch)) {
|
|
44082
|
+
diffLeaves(childOf(value, key), hasChild(value, key), next, true, [key], diff);
|
|
44083
|
+
}
|
|
44084
|
+
for (const path of diff.created) {
|
|
44085
|
+
const id = `created:${JSON.stringify(path)}`;
|
|
44086
|
+
if (!leaves.has(id)) {
|
|
44087
|
+
leaves.set(id, { path, present: false, value: void 0, created: true });
|
|
44088
|
+
}
|
|
44089
|
+
}
|
|
44090
|
+
for (const path of diff.changed) {
|
|
44091
|
+
const covered = [...leaves.values()].some(
|
|
44092
|
+
(leaf) => !leaf.created && isAncestor(leaf.path, path)
|
|
44093
|
+
);
|
|
44094
|
+
if (covered) {
|
|
44095
|
+
continue;
|
|
44096
|
+
}
|
|
44097
|
+
let holder = value;
|
|
44098
|
+
for (const segment of path.slice(0, -1)) {
|
|
44099
|
+
holder = childOf(holder, segment);
|
|
44100
|
+
}
|
|
44101
|
+
const last = path[path.length - 1];
|
|
44102
|
+
leaves.set(JSON.stringify(path), {
|
|
44103
|
+
path,
|
|
44104
|
+
present: hasChild(holder, last),
|
|
44105
|
+
value: childOf(holder, last)
|
|
44106
|
+
});
|
|
44107
|
+
}
|
|
44108
|
+
}
|
|
44109
|
+
function writeLeaf(container, path, leaf) {
|
|
44110
|
+
const [head, ...rest] = path;
|
|
44111
|
+
const copy = Array.isArray(container) ? [...container] : { ...isContainer(container) ? container : {} };
|
|
44112
|
+
const record = copy;
|
|
44113
|
+
if (rest.length > 0) {
|
|
44114
|
+
record[head] = writeLeaf(record[head], rest, leaf);
|
|
44115
|
+
} else if (leaf.present) {
|
|
44116
|
+
record[head] = leaf.value;
|
|
44117
|
+
} else if (Array.isArray(copy)) {
|
|
44118
|
+
record[head] = void 0;
|
|
44119
|
+
} else {
|
|
44120
|
+
delete record[head];
|
|
44121
|
+
}
|
|
44122
|
+
return copy;
|
|
44123
|
+
}
|
|
44124
|
+
function isEmptyContainer(value) {
|
|
44125
|
+
return isContainer(value) && Object.keys(value).length === 0;
|
|
44126
|
+
}
|
|
44127
|
+
function liveColorRevertPatch(value, leaves) {
|
|
44128
|
+
const patch = {};
|
|
44129
|
+
const entry6 = (head) => Object.hasOwn(patch, head) ? patch[head] : childOf(value, head);
|
|
44130
|
+
const all = [...leaves];
|
|
44131
|
+
for (const leaf of all.filter((candidate) => !candidate.created)) {
|
|
44132
|
+
const [head, ...rest] = leaf.path;
|
|
44133
|
+
if (head === void 0) {
|
|
44134
|
+
continue;
|
|
44135
|
+
}
|
|
44136
|
+
patch[head] = rest.length === 0 ? leaf.present ? leaf.value : void 0 : writeLeaf(entry6(head), rest, leaf);
|
|
44137
|
+
}
|
|
44138
|
+
const created = all.filter((candidate) => candidate.created).sort((left, right) => right.path.length - left.path.length);
|
|
44139
|
+
for (const leaf of created) {
|
|
44140
|
+
const [head, ...rest] = leaf.path;
|
|
44141
|
+
if (head === void 0) {
|
|
44142
|
+
continue;
|
|
44143
|
+
}
|
|
44144
|
+
let held = entry6(head);
|
|
44145
|
+
for (const segment of rest) {
|
|
44146
|
+
held = childOf(held, segment);
|
|
44147
|
+
}
|
|
44148
|
+
if (isEmptyContainer(held)) {
|
|
44149
|
+
patch[head] = rest.length === 0 ? void 0 : writeLeaf(entry6(head), rest, leaf);
|
|
44150
|
+
}
|
|
44151
|
+
}
|
|
44152
|
+
return patch;
|
|
44153
|
+
}
|
|
44154
|
+
|
|
44155
|
+
// src/pptx/render/live-color-input.ts
|
|
44156
|
+
function normalizeColor(color) {
|
|
44157
|
+
return color.trim().toLowerCase();
|
|
44158
|
+
}
|
|
44159
|
+
function createLiveColorInput(options) {
|
|
44160
|
+
let drag;
|
|
44161
|
+
const carriedOn = (source) => drag && drag.key === source.key && (source.value === drag.last || drag.colors.has(normalizeColor(source.color))) ? drag : void 0;
|
|
44162
|
+
const leave = (source) => {
|
|
44163
|
+
const stale = drag;
|
|
44164
|
+
drag = void 0;
|
|
44165
|
+
if (!stale || source && stale.key === source.key) {
|
|
44166
|
+
return false;
|
|
44167
|
+
}
|
|
44168
|
+
const now = stale.leaves.size > 0 ? options.lookup(stale.key) : void 0;
|
|
44169
|
+
if (now !== void 0) {
|
|
44170
|
+
options.preview(liveColorRevertPatch(now, stale.leaves.values()), stale.key);
|
|
44171
|
+
}
|
|
44172
|
+
return true;
|
|
44173
|
+
};
|
|
44174
|
+
const settle = (hex2, picked) => {
|
|
44175
|
+
const source = options.read();
|
|
44176
|
+
const current = source ? carriedOn(source) : void 0;
|
|
44177
|
+
if (!current && (leave(source) || !picked)) {
|
|
44178
|
+
return;
|
|
44179
|
+
}
|
|
44180
|
+
if (!source) {
|
|
44181
|
+
return;
|
|
44182
|
+
}
|
|
44183
|
+
drag = void 0;
|
|
44184
|
+
let base2 = source.value;
|
|
44185
|
+
if (current && current.leaves.size > 0) {
|
|
44186
|
+
const revert = liveColorRevertPatch(source.value, current.leaves.values());
|
|
44187
|
+
options.preview(revert, current.key);
|
|
44188
|
+
base2 = { ...source.value, ...revert };
|
|
44189
|
+
}
|
|
44190
|
+
const start = current ? current.start : source.color;
|
|
44191
|
+
const moved = normalizeColor(hex2) !== normalizeColor(start);
|
|
44192
|
+
if (moved || picked) {
|
|
44193
|
+
options.remember(hex2);
|
|
44194
|
+
}
|
|
44195
|
+
const patch = moved ? options.patch(base2, hex2) : void 0;
|
|
44196
|
+
if (patch) {
|
|
44197
|
+
options.commit(patch, source.key, hex2);
|
|
44198
|
+
}
|
|
44199
|
+
};
|
|
44200
|
+
return {
|
|
44201
|
+
input(hex2) {
|
|
44202
|
+
const source = options.read();
|
|
44203
|
+
let current = source ? carriedOn(source) : void 0;
|
|
44204
|
+
if (!current) {
|
|
44205
|
+
leave(source);
|
|
44206
|
+
}
|
|
44207
|
+
if (!source) {
|
|
44208
|
+
return;
|
|
44209
|
+
}
|
|
44210
|
+
current ??= {
|
|
44211
|
+
key: source.key,
|
|
44212
|
+
start: source.color,
|
|
44213
|
+
colors: /* @__PURE__ */ new Set([normalizeColor(source.color)]),
|
|
44214
|
+
leaves: /* @__PURE__ */ new Map(),
|
|
44215
|
+
last: source.value
|
|
44216
|
+
};
|
|
44217
|
+
drag = current;
|
|
44218
|
+
current.last = source.value;
|
|
44219
|
+
current.colors.add(normalizeColor(hex2));
|
|
44220
|
+
const patch = options.patch(source.value, hex2);
|
|
44221
|
+
if (patch) {
|
|
44222
|
+
recordLiveColorLeaves(current.leaves, source.value, patch);
|
|
44223
|
+
options.preview(patch, current.key);
|
|
44224
|
+
}
|
|
44225
|
+
},
|
|
44226
|
+
change: (hex2) => settle(hex2, true),
|
|
44227
|
+
blur(hex2) {
|
|
44228
|
+
if (drag) {
|
|
44229
|
+
settle(hex2, false);
|
|
44230
|
+
}
|
|
44231
|
+
}
|
|
44232
|
+
};
|
|
44233
|
+
}
|
|
44234
|
+
function handleLiveColorEvent(control4, event) {
|
|
44235
|
+
const target = event.target;
|
|
44236
|
+
const hex2 = typeof target?.value === "string" ? target.value.trim() : "";
|
|
44237
|
+
if (!hex2) {
|
|
44238
|
+
return;
|
|
44239
|
+
}
|
|
44240
|
+
if (event.type === "input") {
|
|
44241
|
+
control4.input(hex2);
|
|
44242
|
+
} else if (event.type === "change") {
|
|
44243
|
+
control4.change(hex2);
|
|
44244
|
+
} else if (event.type === "blur") {
|
|
44245
|
+
control4.blur(hex2);
|
|
44246
|
+
}
|
|
44247
|
+
}
|
|
44248
|
+
|
|
44249
|
+
// src/pptx/render/inspector/inspector-color-fields.ts
|
|
44250
|
+
function createInspectorColorFields(options) {
|
|
44251
|
+
const controls2 = /* @__PURE__ */ new Map();
|
|
44252
|
+
return (sectionId, fieldId) => {
|
|
44253
|
+
const id = `${sectionId}.${fieldId}`;
|
|
44254
|
+
let control4 = controls2.get(id);
|
|
44255
|
+
if (!control4) {
|
|
44256
|
+
control4 = createLiveColorInput({
|
|
44257
|
+
read: () => {
|
|
44258
|
+
const target = options.target();
|
|
44259
|
+
const field = resolveInspectorSections(options.sections(), target).find((section2) => section2.id === sectionId)?.fields.find((candidate) => candidate.id === fieldId);
|
|
44260
|
+
return field && { key: options.targetKey(), color: String(field.value), value: target };
|
|
44261
|
+
},
|
|
44262
|
+
patch: (target, hex2) => inspectorFieldPatch(options.sections(), sectionId, fieldId, target, hex2),
|
|
44263
|
+
lookup: (key) => options.lookup(key),
|
|
44264
|
+
preview: (patch, target) => options.preview(patch, target),
|
|
44265
|
+
commit: (patch) => options.commit(patch),
|
|
44266
|
+
remember: (hex2) => options.remember(hex2)
|
|
44267
|
+
});
|
|
44268
|
+
controls2.set(id, control4);
|
|
44269
|
+
}
|
|
44270
|
+
return control4;
|
|
44271
|
+
};
|
|
44272
|
+
}
|
|
44082
44273
|
var TEXT_3D_EMU_PER_PT = 12700;
|
|
44083
44274
|
var TEXT_3D_MAX_EXTRUSION_PT = 100;
|
|
44084
44275
|
var TEXT_3D_MAX_BEVEL_PT = 50;
|
|
@@ -51322,7 +51513,7 @@ function cropResetState(element, canEdit, isPicture2) {
|
|
|
51322
51513
|
if (!element || !isPicture2) {
|
|
51323
51514
|
return HIDDEN;
|
|
51324
51515
|
}
|
|
51325
|
-
return { visible: true, enabled: canEdit &&
|
|
51516
|
+
return { visible: true, enabled: canEdit && chunkCWWL7MCL_cjs.canInteractWithElement(element, "crop") };
|
|
51326
51517
|
}
|
|
51327
51518
|
function cropResetPatch() {
|
|
51328
51519
|
return { cropLeft: 0, cropTop: 0, cropRight: 0, cropBottom: 0 };
|
|
@@ -69407,7 +69598,7 @@ function resolveEditPointsAvailability(element) {
|
|
|
69407
69598
|
if (!element || !isEditPointsCandidate(element)) {
|
|
69408
69599
|
return "unsupported";
|
|
69409
69600
|
}
|
|
69410
|
-
return
|
|
69601
|
+
return chunkCWWL7MCL_cjs.canInteractWithElement(element, "editPoints") ? "available" : "locked";
|
|
69411
69602
|
}
|
|
69412
69603
|
function canEditElementPoints(element) {
|
|
69413
69604
|
return resolveEditPointsAvailability(element) === "available";
|
|
@@ -69899,7 +70090,7 @@ function buildCropOverlay(el, zoom = 1) {
|
|
|
69899
70090
|
};
|
|
69900
70091
|
}
|
|
69901
70092
|
function canCropElement(el) {
|
|
69902
|
-
return el !== null && el !== void 0 && pptx.isImageLikeElement(el) &&
|
|
70093
|
+
return el !== null && el !== void 0 && pptx.isImageLikeElement(el) && chunkCWWL7MCL_cjs.canInteractWithElement(el, "crop");
|
|
69903
70094
|
}
|
|
69904
70095
|
var INSET_KEYS = [
|
|
69905
70096
|
"cropLeft",
|
|
@@ -73802,6 +73993,186 @@ function autosaveStatusKind(status) {
|
|
|
73802
73993
|
return state === "saving" || state === "saved" || state === "error" ? state : "idle";
|
|
73803
73994
|
}
|
|
73804
73995
|
|
|
73996
|
+
// src/pptx/render/find-replace-session.ts
|
|
73997
|
+
var DEFAULT_FIND_REPLACE_OPTIONS = Object.freeze({
|
|
73998
|
+
matchCase: false,
|
|
73999
|
+
includeNotes: false,
|
|
74000
|
+
includeChartTitles: true,
|
|
74001
|
+
includeChartData: false
|
|
74002
|
+
});
|
|
74003
|
+
var INITIAL_FIND_REPLACE_SESSION = Object.freeze({
|
|
74004
|
+
query: "",
|
|
74005
|
+
replacement: "",
|
|
74006
|
+
options: DEFAULT_FIND_REPLACE_OPTIONS,
|
|
74007
|
+
matches: Object.freeze([]),
|
|
74008
|
+
current: -1,
|
|
74009
|
+
pendingRefind: null
|
|
74010
|
+
});
|
|
74011
|
+
function search(slides, session) {
|
|
74012
|
+
return session.query ? findReplace.findInSlides(slides, session.query, session.options) : [];
|
|
74013
|
+
}
|
|
74014
|
+
function cursorAfterReplace(pending2, count) {
|
|
74015
|
+
if (count === 0) {
|
|
74016
|
+
return -1;
|
|
74017
|
+
}
|
|
74018
|
+
if (pending2.scope === "all") {
|
|
74019
|
+
return 0;
|
|
74020
|
+
}
|
|
74021
|
+
const created = Math.max(0, count - (pending2.count - 1));
|
|
74022
|
+
return (pending2.index + created) % count;
|
|
74023
|
+
}
|
|
74024
|
+
function reduceFindReplaceSession(session, event) {
|
|
74025
|
+
switch (event.type) {
|
|
74026
|
+
case "search": {
|
|
74027
|
+
const next = {
|
|
74028
|
+
...session,
|
|
74029
|
+
query: event.query ?? session.query,
|
|
74030
|
+
options: event.options ? { ...session.options, ...event.options } : session.options,
|
|
74031
|
+
pendingRefind: null
|
|
74032
|
+
};
|
|
74033
|
+
const matches = search(event.slides, next);
|
|
74034
|
+
return { ...next, matches, current: matches.length > 0 ? 0 : -1 };
|
|
74035
|
+
}
|
|
74036
|
+
case "setReplacement":
|
|
74037
|
+
return event.replacement === session.replacement ? session : { ...session, replacement: event.replacement };
|
|
74038
|
+
case "step": {
|
|
74039
|
+
const count = session.matches.length;
|
|
74040
|
+
if (count === 0) {
|
|
74041
|
+
return session;
|
|
74042
|
+
}
|
|
74043
|
+
const from = session.current < 0 ? event.direction > 0 ? -1 : 0 : session.current;
|
|
74044
|
+
const current = (from + event.direction + count) % count;
|
|
74045
|
+
return current === session.current ? session : { ...session, current };
|
|
74046
|
+
}
|
|
74047
|
+
case "replaced":
|
|
74048
|
+
return {
|
|
74049
|
+
...session,
|
|
74050
|
+
pendingRefind: {
|
|
74051
|
+
scope: event.plan.scope,
|
|
74052
|
+
index: event.plan.index,
|
|
74053
|
+
count: event.plan.count,
|
|
74054
|
+
base: event.slides
|
|
74055
|
+
}
|
|
74056
|
+
};
|
|
74057
|
+
case "slidesChanged": {
|
|
74058
|
+
const pending2 = session.pendingRefind;
|
|
74059
|
+
if (!pending2 || event.slides === pending2.base) {
|
|
74060
|
+
return session;
|
|
74061
|
+
}
|
|
74062
|
+
const matches = search(event.slides, session);
|
|
74063
|
+
return {
|
|
74064
|
+
...session,
|
|
74065
|
+
matches,
|
|
74066
|
+
current: cursorAfterReplace(pending2, matches.length),
|
|
74067
|
+
pendingRefind: null
|
|
74068
|
+
};
|
|
74069
|
+
}
|
|
74070
|
+
case "close":
|
|
74071
|
+
return session.matches.length === 0 && session.current === -1 && !session.pendingRefind ? session : { ...session, matches: [], current: -1, pendingRefind: null };
|
|
74072
|
+
}
|
|
74073
|
+
}
|
|
74074
|
+
function findReplaceStatus(session) {
|
|
74075
|
+
const total = session.matches.length;
|
|
74076
|
+
return { current: total > 0 && session.current >= 0 ? session.current + 1 : 0, total };
|
|
74077
|
+
}
|
|
74078
|
+
function findReplaceTarget(session) {
|
|
74079
|
+
const match = session.current >= 0 ? session.matches[session.current] : void 0;
|
|
74080
|
+
if (!match) {
|
|
74081
|
+
return null;
|
|
74082
|
+
}
|
|
74083
|
+
return { slideIndex: match.slideIndex, elementId: match.notes ? null : match.elementId };
|
|
74084
|
+
}
|
|
74085
|
+
function matchKey(match) {
|
|
74086
|
+
return JSON.stringify([
|
|
74087
|
+
match.slideIndex,
|
|
74088
|
+
match.elementId,
|
|
74089
|
+
match.elementPath ?? null,
|
|
74090
|
+
match.tableCell ?? null,
|
|
74091
|
+
match.smartArtNodeId ?? null,
|
|
74092
|
+
match.notes ?? false,
|
|
74093
|
+
match.chartTitle ?? false,
|
|
74094
|
+
match.chartSeriesIndex ?? null,
|
|
74095
|
+
match.chartCategoryIndex ?? null,
|
|
74096
|
+
match.segmentIndex,
|
|
74097
|
+
match.startOffset,
|
|
74098
|
+
match.length
|
|
74099
|
+
]);
|
|
74100
|
+
}
|
|
74101
|
+
function planFindReplace(session, slides, scope) {
|
|
74102
|
+
const found = search(slides, session);
|
|
74103
|
+
let matches = found;
|
|
74104
|
+
let index = -1;
|
|
74105
|
+
if (scope === "current") {
|
|
74106
|
+
const current = session.current >= 0 ? session.matches[session.current] : void 0;
|
|
74107
|
+
const key = current ? matchKey(current) : null;
|
|
74108
|
+
index = key === null ? -1 : found.findIndex((match) => matchKey(match) === key);
|
|
74109
|
+
matches = index >= 0 ? [found[index]] : [];
|
|
74110
|
+
}
|
|
74111
|
+
if (matches.length === 0 || matches.some((match) => match.readOnly)) {
|
|
74112
|
+
return null;
|
|
74113
|
+
}
|
|
74114
|
+
return { scope, matches, replacement: session.replacement, count: found.length, index };
|
|
74115
|
+
}
|
|
74116
|
+
|
|
74117
|
+
// src/pptx/render/find-replace-session-actions.ts
|
|
74118
|
+
function findReplaceSessionActions(store, host2) {
|
|
74119
|
+
const apply6 = (event) => {
|
|
74120
|
+
const current = store.get();
|
|
74121
|
+
const next = reduceFindReplaceSession(current, event);
|
|
74122
|
+
if (next !== current) {
|
|
74123
|
+
store.set(next);
|
|
74124
|
+
}
|
|
74125
|
+
return next !== current;
|
|
74126
|
+
};
|
|
74127
|
+
const show = () => {
|
|
74128
|
+
const target = findReplaceTarget(store.get());
|
|
74129
|
+
if (target) {
|
|
74130
|
+
host2.navigate(target);
|
|
74131
|
+
}
|
|
74132
|
+
};
|
|
74133
|
+
const step2 = (direction) => {
|
|
74134
|
+
apply6({ type: "step", direction });
|
|
74135
|
+
show();
|
|
74136
|
+
};
|
|
74137
|
+
const slidesChanged = () => {
|
|
74138
|
+
if (apply6({ type: "slidesChanged", slides: host2.slides() })) {
|
|
74139
|
+
show();
|
|
74140
|
+
}
|
|
74141
|
+
};
|
|
74142
|
+
const replace = (scope) => {
|
|
74143
|
+
const slides = host2.slides();
|
|
74144
|
+
const plan = planFindReplace(store.get(), slides, scope);
|
|
74145
|
+
if (!plan) {
|
|
74146
|
+
return 0;
|
|
74147
|
+
}
|
|
74148
|
+
const result = findReplace.applyFindReplacements(slides, plan.matches, plan.replacement);
|
|
74149
|
+
if (result.replacements === 0) {
|
|
74150
|
+
return 0;
|
|
74151
|
+
}
|
|
74152
|
+
host2.commit(result.slides, scope);
|
|
74153
|
+
apply6({ type: "replaced", plan, slides });
|
|
74154
|
+
slidesChanged();
|
|
74155
|
+
return result.replacements;
|
|
74156
|
+
};
|
|
74157
|
+
return {
|
|
74158
|
+
search: (change = {}) => {
|
|
74159
|
+
apply6({ type: "search", slides: host2.slides(), ...change });
|
|
74160
|
+
show();
|
|
74161
|
+
},
|
|
74162
|
+
setReplacement: (replacement) => {
|
|
74163
|
+
apply6({ type: "setReplacement", replacement });
|
|
74164
|
+
},
|
|
74165
|
+
next: () => step2(1),
|
|
74166
|
+
previous: () => step2(-1),
|
|
74167
|
+
replaceCurrent: () => replace("current"),
|
|
74168
|
+
replaceAll: () => replace("all"),
|
|
74169
|
+
slidesChanged,
|
|
74170
|
+
close: () => {
|
|
74171
|
+
apply6({ type: "close" });
|
|
74172
|
+
}
|
|
74173
|
+
};
|
|
74174
|
+
}
|
|
74175
|
+
|
|
73805
74176
|
// src/pptx/web-components/mobile-bar-styles.ts
|
|
73806
74177
|
var MOBILE_BAR_STYLES = `
|
|
73807
74178
|
:host { display: block; flex: none; }
|
|
@@ -79578,10 +79949,10 @@ var defineStatusBar = definer("office-ui-status-bar", () => OfficeUiStatusBar);
|
|
|
79578
79949
|
|
|
79579
79950
|
// src/chrome/title-bar-types.ts
|
|
79580
79951
|
var OFFICE_TITLE_BAR_SEARCH_LIMIT = 8;
|
|
79581
|
-
function matchTitleBarCommands(
|
|
79582
|
-
if (
|
|
79952
|
+
function matchTitleBarCommands(search2, query) {
|
|
79953
|
+
if (search2.match) return search2.match(query);
|
|
79583
79954
|
const needle = query.trim().toLowerCase();
|
|
79584
|
-
return (
|
|
79955
|
+
return (search2.commands ?? []).filter((entry6) => entry6.label.toLowerCase().includes(needle));
|
|
79585
79956
|
}
|
|
79586
79957
|
|
|
79587
79958
|
// raw-css:/home/runner/work/ooxml/ooxml/src/ui/src/chrome/title-bar.css?raw
|
|
@@ -79702,13 +80073,13 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79702
80073
|
return this.searchField?.value ?? "";
|
|
79703
80074
|
}
|
|
79704
80075
|
openResults() {
|
|
79705
|
-
const
|
|
80076
|
+
const search2 = this.model.search;
|
|
79706
80077
|
const query = this.query;
|
|
79707
|
-
if (!
|
|
79708
|
-
this.found = [...matchTitleBarCommands(
|
|
80078
|
+
if (!search2 || !query.trim()) return this.closeResults();
|
|
80079
|
+
this.found = [...matchTitleBarCommands(search2, query)].slice(0, OFFICE_TITLE_BAR_SEARCH_LIMIT);
|
|
79709
80080
|
this.active = Math.min(this.active, Math.max(this.found.length - 1, 0));
|
|
79710
80081
|
this.resultsOpen = true;
|
|
79711
|
-
this.live = this.found.length > 0 ?
|
|
80082
|
+
this.live = this.found.length > 0 ? search2.heading : search2.empty;
|
|
79712
80083
|
}
|
|
79713
80084
|
closeResults() {
|
|
79714
80085
|
this.resultsOpen = false;
|
|
@@ -79742,8 +80113,8 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79742
80113
|
const box = this.renderRoot.querySelector(".box");
|
|
79743
80114
|
if (!next || !box?.contains(next)) this.closeResults();
|
|
79744
80115
|
}
|
|
79745
|
-
results(
|
|
79746
|
-
if (!
|
|
80116
|
+
results(search2) {
|
|
80117
|
+
if (!search2 || !this.resultsOpen)
|
|
79747
80118
|
return lit.html`<div class="results" role="listbox" hidden></div>
|
|
79748
80119
|
<div class="sr" role="status"></div>`;
|
|
79749
80120
|
const query = this.query;
|
|
@@ -79753,7 +80124,7 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79753
80124
|
};
|
|
79754
80125
|
return lit.html`
|
|
79755
80126
|
<div class="results" role="listbox" ?hidden=${!this.resultsOpen}>
|
|
79756
|
-
${this.found.length > 0 ? lit.html`<div class="heading">${
|
|
80127
|
+
${this.found.length > 0 ? lit.html`<div class="heading">${search2.heading}</div> ${this.found.map(
|
|
79757
80128
|
(entry6, index) => lit.html`<button
|
|
79758
80129
|
type="button"
|
|
79759
80130
|
role="option"
|
|
@@ -79764,14 +80135,14 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79764
80135
|
><span>${entry6.label}</span
|
|
79765
80136
|
><span class="cat">${entry6.category ?? ""}</span></button
|
|
79766
80137
|
>`
|
|
79767
|
-
)}` : lit.html`<div class="empty">${
|
|
79768
|
-
${
|
|
80138
|
+
)}` : lit.html`<div class="empty">${search2.empty}</div>`}
|
|
80139
|
+
${search2.content ? lit.html`<button
|
|
79769
80140
|
type="button"
|
|
79770
80141
|
class="content"
|
|
79771
80142
|
tabindex="-1"
|
|
79772
80143
|
@mousedown=${(event) => pick(event, () => this.commit())}
|
|
79773
|
-
>${glyph(
|
|
79774
|
-
>${
|
|
80144
|
+
>${glyph(search2.contentIcon ?? "search", "icon")}<span
|
|
80145
|
+
>${search2.content(query)}</span
|
|
79775
80146
|
></button
|
|
79776
80147
|
>` : ""}
|
|
79777
80148
|
</div>
|
|
@@ -79779,15 +80150,15 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79779
80150
|
`;
|
|
79780
80151
|
}
|
|
79781
80152
|
searchBox() {
|
|
79782
|
-
const
|
|
80153
|
+
const search2 = this.model.search;
|
|
79783
80154
|
const tag = staticHtml_js.unsafeStatic(this.constructor.searchTag);
|
|
79784
|
-
return lit.html`<span class="search" ?hidden=${!
|
|
79785
|
-
<div class="box" ?hidden=${!
|
|
80155
|
+
return lit.html`<span class="search" ?hidden=${!search2}>
|
|
80156
|
+
<div class="box" ?hidden=${!search2} @focusout=${this.onSearchBlur}>
|
|
79786
80157
|
${staticHtml_js.html`<${tag}
|
|
79787
80158
|
variant="titlebar"
|
|
79788
80159
|
part="search"
|
|
79789
|
-
placeholder=${ifDefined_js.ifDefined(
|
|
79790
|
-
aria-label=${ifDefined_js.ifDefined(
|
|
80160
|
+
placeholder=${ifDefined_js.ifDefined(search2?.placeholder)}
|
|
80161
|
+
aria-label=${ifDefined_js.ifDefined(search2?.label)}
|
|
79791
80162
|
@input=${() => {
|
|
79792
80163
|
this.active = 0;
|
|
79793
80164
|
this.openResults();
|
|
@@ -79795,7 +80166,7 @@ var OfficeUiTitleBar = class extends OfficeElement {
|
|
|
79795
80166
|
@focusin=${this.openResults}
|
|
79796
80167
|
@keydown=${this.onSearchKey}
|
|
79797
80168
|
></${tag}>`}
|
|
79798
|
-
${this.results(
|
|
80169
|
+
${this.results(search2)}
|
|
79799
80170
|
</div>
|
|
79800
80171
|
</span>`;
|
|
79801
80172
|
}
|
|
@@ -82090,7 +82461,7 @@ function definePptxInsertSmartArtDialog(registry2) {
|
|
|
82090
82461
|
if (this.#live || this.#draw) {
|
|
82091
82462
|
return;
|
|
82092
82463
|
}
|
|
82093
|
-
this.#live = import('./smartart-insert-preview-
|
|
82464
|
+
this.#live = import('./smartart-insert-preview-MCDHVWHZ.cjs').then((module) => {
|
|
82094
82465
|
if (this.#draw || !this.#picker) {
|
|
82095
82466
|
return;
|
|
82096
82467
|
}
|
|
@@ -83708,7 +84079,7 @@ function standardSwatches(spec5, state) {
|
|
|
83708
84079
|
label: officeColorSwatchLabel(swatch, state.translate)
|
|
83709
84080
|
}));
|
|
83710
84081
|
}
|
|
83711
|
-
const hexes = spec5.swatches === "shape" ? RIBBON_SHAPE_SWATCHES : HOME_HIGHLIGHT_PRESETS;
|
|
84082
|
+
const hexes = spec5.swatches === "shape" ? chunkCWWL7MCL_cjs.RIBBON_SHAPE_SWATCHES : HOME_HIGHLIGHT_PRESETS;
|
|
83712
84083
|
return hexes.map((hex2) => {
|
|
83713
84084
|
const english = spec5.swatchLabelPrefix ? `${spec5.swatchLabelPrefix} ${hex2}` : hex2;
|
|
83714
84085
|
return {
|
|
@@ -87029,9 +87400,9 @@ function definePptxTitleBar(registry2) {
|
|
|
87029
87400
|
this.dispatchEvent(new CustomEvent(name, { detail, bubbles: true, composed: true }));
|
|
87030
87401
|
}
|
|
87031
87402
|
rendered() {
|
|
87032
|
-
const
|
|
87033
|
-
|
|
87034
|
-
|
|
87403
|
+
const search2 = this.shadowRoot?.querySelector('[part="search"]');
|
|
87404
|
+
search2?.setAttribute("data-pptx-search-surface", "");
|
|
87405
|
+
search2?.setAttribute("data-pptx-search-input", "");
|
|
87035
87406
|
const below = this.placement === "belowRibbon";
|
|
87036
87407
|
this.toggleAttribute("data-pptx-title-bar", !below);
|
|
87037
87408
|
if (below) {
|
|
@@ -90143,38 +90514,6 @@ Object.defineProperty(exports, "waypointsToPathData", {
|
|
|
90143
90514
|
enumerable: true,
|
|
90144
90515
|
get: function () { return geometry.waypointsToPathData; }
|
|
90145
90516
|
});
|
|
90146
|
-
Object.defineProperty(exports, "canDrillDown", {
|
|
90147
|
-
enumerable: true,
|
|
90148
|
-
get: function () { return elementLocks.canDrillDown; }
|
|
90149
|
-
});
|
|
90150
|
-
Object.defineProperty(exports, "canInteractWithElement", {
|
|
90151
|
-
enumerable: true,
|
|
90152
|
-
get: function () { return elementLocks.canInteractWithElement; }
|
|
90153
|
-
});
|
|
90154
|
-
Object.defineProperty(exports, "elementLockTogglePatch", {
|
|
90155
|
-
enumerable: true,
|
|
90156
|
-
get: function () { return elementLocks.elementLockTogglePatch; }
|
|
90157
|
-
});
|
|
90158
|
-
Object.defineProperty(exports, "filterInteractableIds", {
|
|
90159
|
-
enumerable: true,
|
|
90160
|
-
get: function () { return elementLocks.filterInteractableIds; }
|
|
90161
|
-
});
|
|
90162
|
-
Object.defineProperty(exports, "getElementLocks", {
|
|
90163
|
-
enumerable: true,
|
|
90164
|
-
get: function () { return elementLocks.getElementLocks; }
|
|
90165
|
-
});
|
|
90166
|
-
Object.defineProperty(exports, "isElementInteractionLocked", {
|
|
90167
|
-
enumerable: true,
|
|
90168
|
-
get: function () { return elementLocks.isElementInteractionLocked; }
|
|
90169
|
-
});
|
|
90170
|
-
Object.defineProperty(exports, "isElementLocked", {
|
|
90171
|
-
enumerable: true,
|
|
90172
|
-
get: function () { return elementLocks.isElementLocked; }
|
|
90173
|
-
});
|
|
90174
|
-
Object.defineProperty(exports, "resolveElementInteractivity", {
|
|
90175
|
-
enumerable: true,
|
|
90176
|
-
get: function () { return elementLocks.resolveElementInteractivity; }
|
|
90177
|
-
});
|
|
90178
90517
|
Object.defineProperty(exports, "groupElements", {
|
|
90179
90518
|
enumerable: true,
|
|
90180
90519
|
get: function () { return groupOps.groupElements; }
|
|
@@ -91026,6 +91365,7 @@ exports.DEFAULT_CHART_SHADOW = DEFAULT_CHART_SHADOW;
|
|
|
91026
91365
|
exports.DEFAULT_COLOR_CHANGE_TOLERANCE = DEFAULT_COLOR_CHANGE_TOLERANCE;
|
|
91027
91366
|
exports.DEFAULT_CURSOR_COLOR = DEFAULT_CURSOR_COLOR;
|
|
91028
91367
|
exports.DEFAULT_DENSE_BUTTON_PX = DEFAULT_DENSE_BUTTON_PX;
|
|
91368
|
+
exports.DEFAULT_FIND_REPLACE_OPTIONS = DEFAULT_FIND_REPLACE_OPTIONS;
|
|
91029
91369
|
exports.DEFAULT_INSERT_CHART_KIND = DEFAULT_INSERT_CHART_KIND;
|
|
91030
91370
|
exports.DEFAULT_INSERT_CHART_TYPE = DEFAULT_INSERT_CHART_TYPE;
|
|
91031
91371
|
exports.DEFAULT_LINE_HEIGHT = DEFAULT_LINE_HEIGHT;
|
|
@@ -91042,7 +91382,6 @@ exports.DEFAULT_ROUND_RECT_ADJUSTMENT = DEFAULT_ROUND_RECT_ADJUSTMENT;
|
|
|
91042
91382
|
exports.DEFAULT_ROW_HEIGHT = DEFAULT_ROW_HEIGHT;
|
|
91043
91383
|
exports.DEFAULT_SCHEME_COLOR_MAP = DEFAULT_SCHEME_COLOR_MAP;
|
|
91044
91384
|
exports.DEFAULT_SLIDE_BACKGROUND = DEFAULT_SLIDE_BACKGROUND;
|
|
91045
|
-
exports.DEFAULT_STROKE_WIDTH = DEFAULT_STROKE_WIDTH;
|
|
91046
91385
|
exports.DEFAULT_TAG_COLLECTION_PATH = DEFAULT_TAG_COLLECTION_PATH;
|
|
91047
91386
|
exports.DEFAULT_TRANSITION_DURATION_MS = DEFAULT_TRANSITION_DURATION_MS;
|
|
91048
91387
|
exports.DEFAULT_VIEWER_OPTIONS = DEFAULT_VIEWER_OPTIONS;
|
|
@@ -91160,6 +91499,7 @@ exports.HOME_SELECT_ITEMS = HOME_SELECT_ITEMS;
|
|
|
91160
91499
|
exports.HOME_SHAPE_ITEMS = HOME_SHAPE_ITEMS;
|
|
91161
91500
|
exports.HOME_TEXT_DIRECTION_ITEMS = HOME_TEXT_DIRECTION_ITEMS;
|
|
91162
91501
|
exports.INDENT_PX = INDENT_PX;
|
|
91502
|
+
exports.INITIAL_FIND_REPLACE_SESSION = INITIAL_FIND_REPLACE_SESSION;
|
|
91163
91503
|
exports.INITIAL_READ_ONLY_SESSION = INITIAL_READ_ONLY_SESSION;
|
|
91164
91504
|
exports.INITIAL_SYNC_GRACE_MS = INITIAL_SYNC_GRACE_MS;
|
|
91165
91505
|
exports.INLINE_GALLERY_TILE_COUNT = INLINE_GALLERY_TILE_COUNT;
|
|
@@ -91371,7 +91711,6 @@ exports.RIBBON_HOME_INDENT_STEP = RIBBON_HOME_INDENT_STEP;
|
|
|
91371
91711
|
exports.RIBBON_MENU_COMMAND_IDS = RIBBON_MENU_COMMAND_IDS;
|
|
91372
91712
|
exports.RIBBON_RESERVED_TAB_IDS = RIBBON_RESERVED_TAB_IDS;
|
|
91373
91713
|
exports.RIBBON_SCOPE_ATTR = RIBBON_SCOPE_ATTR;
|
|
91374
|
-
exports.RIBBON_SHAPE_SWATCHES = RIBBON_SHAPE_SWATCHES;
|
|
91375
91714
|
exports.RIBBON_TAB = RIBBON_TAB;
|
|
91376
91715
|
exports.RIBBON_TAB_IDS = RIBBON_TAB_IDS;
|
|
91377
91716
|
exports.RIBBON_TRANSITION_PRESETS = RIBBON_TRANSITION_PRESETS;
|
|
@@ -91835,7 +92174,6 @@ exports.canCropElement = canCropElement;
|
|
|
91835
92174
|
exports.canEditElementPoints = canEditElementPoints;
|
|
91836
92175
|
exports.canGoNext = canGoNext;
|
|
91837
92176
|
exports.canGoPrevious = canGoPrevious;
|
|
91838
|
-
exports.canGroupSelection = canGroupSelection;
|
|
91839
92177
|
exports.canJoinCollaborationSession = canJoinCollaborationSession;
|
|
91840
92178
|
exports.canMergeShapes = canMergeShapes;
|
|
91841
92179
|
exports.canRemoveTopLevelNode = canRemoveTopLevelNode;
|
|
@@ -91844,11 +92182,9 @@ exports.canRequestHome = canRequestHome;
|
|
|
91844
92182
|
exports.canRequestInsert = canRequestInsert;
|
|
91845
92183
|
exports.canRequestTransitions = canRequestTransitions;
|
|
91846
92184
|
exports.canRequestView = canRequestView;
|
|
91847
|
-
exports.canSetStrokeWidth = canSetStrokeWidth;
|
|
91848
92185
|
exports.canStartBroadcast = canStartBroadcast;
|
|
91849
92186
|
exports.canStartShare = canStartShare;
|
|
91850
92187
|
exports.canSweepAutosaveSnapshots = canSweepAutosaveSnapshots;
|
|
91851
|
-
exports.canUngroupSelection = canUngroupSelection;
|
|
91852
92188
|
exports.canUseClipboard = canUseClipboard;
|
|
91853
92189
|
exports.cancelBuildReveal = cancelBuildReveal;
|
|
91854
92190
|
exports.cancelCropUpdate = cancelCropUpdate;
|
|
@@ -92057,6 +92393,8 @@ exports.createGuide = createGuide;
|
|
|
92057
92393
|
exports.createInitialPresentationSnapshot = createInitialPresentationSnapshot;
|
|
92058
92394
|
exports.createInlineListModelObserver = createInlineListModelObserver;
|
|
92059
92395
|
exports.createInlineListSeed = createInlineListSeed;
|
|
92396
|
+
exports.createInspectorColorFields = createInspectorColorFields;
|
|
92397
|
+
exports.createLiveColorInput = createLiveColorInput;
|
|
92060
92398
|
exports.createPlainNotesSegments = createPlainNotesSegments;
|
|
92061
92399
|
exports.createPresenceProjector = createPresenceProjector;
|
|
92062
92400
|
exports.createPresencePublisher = createPresencePublisher;
|
|
@@ -92256,6 +92594,9 @@ exports.findMediaEndGatedSteps = findMediaEndGatedSteps;
|
|
|
92256
92594
|
exports.findMetricCompatibleGoogleFontsFamily = findMetricCompatibleGoogleFontsFamily;
|
|
92257
92595
|
exports.findOutlineRow = findOutlineRow;
|
|
92258
92596
|
exports.findPresentationActionTarget = findPresentationActionTarget;
|
|
92597
|
+
exports.findReplaceSessionActions = findReplaceSessionActions;
|
|
92598
|
+
exports.findReplaceStatus = findReplaceStatus;
|
|
92599
|
+
exports.findReplaceTarget = findReplaceTarget;
|
|
92259
92600
|
exports.findRibbonAddIn = findRibbonAddIn;
|
|
92260
92601
|
exports.findSlideStage = findSlideStage;
|
|
92261
92602
|
exports.findSmartArtNodeText = findSmartArtNodeText;
|
|
@@ -92501,6 +92842,7 @@ exports.groupParagraphsByBuildLevel = groupParagraphsByBuildLevel;
|
|
|
92501
92842
|
exports.groupShortcutReference = groupShortcutReference;
|
|
92502
92843
|
exports.groupTilesByRow = groupTilesByRow;
|
|
92503
92844
|
exports.handleEditorAnchorClick = handleEditorAnchorClick;
|
|
92845
|
+
exports.handleLiveColorEvent = handleLiveColorEvent;
|
|
92504
92846
|
exports.handlePresentationStageClick = handlePresentationStageClick;
|
|
92505
92847
|
exports.handleReadingViewKey = handleReadingViewKey;
|
|
92506
92848
|
exports.handleThreeViewChartEvent = handleThreeViewChartEvent;
|
|
@@ -92903,6 +93245,7 @@ exports.placeCaretAt = placeCaretAt;
|
|
|
92903
93245
|
exports.placeCaretAtEnd = placeCaretAtEnd;
|
|
92904
93246
|
exports.placeTileOnPage = placeTileOnPage;
|
|
92905
93247
|
exports.placeholderPromptDescriptor = placeholderPromptDescriptor;
|
|
93248
|
+
exports.planFindReplace = planFindReplace;
|
|
92906
93249
|
exports.planGifFrames = planGifFrames;
|
|
92907
93250
|
exports.planMergeShapes = planMergeShapes;
|
|
92908
93251
|
exports.planPrintJob = planPrintJob;
|
|
@@ -93010,6 +93353,7 @@ exports.recordTableCellBold = recordTableCellBold;
|
|
|
93010
93353
|
exports.redirectExitShapeByDirection = redirectExitShapeByDirection;
|
|
93011
93354
|
exports.redirectMaskEffectByFilterSubtype = redirectMaskEffectByFilterSubtype;
|
|
93012
93355
|
exports.redistributeColumnWidth = redistributeColumnWidth;
|
|
93356
|
+
exports.reduceFindReplaceSession = reduceFindReplaceSession;
|
|
93013
93357
|
exports.reduceReadOnlySession = reduceReadOnlySession;
|
|
93014
93358
|
exports.reduceViewerZoom = reduceViewerZoom;
|
|
93015
93359
|
exports.reflectionStateOf = reflectionStateOf;
|
|
@@ -93049,7 +93393,6 @@ exports.resetGlyphTraceCache = resetGlyphTraceCache;
|
|
|
93049
93393
|
exports.resetGoogleWebfontSessionCache = resetGoogleWebfontSessionCache;
|
|
93050
93394
|
exports.resetMetricTrackingCache = resetMetricTrackingCache;
|
|
93051
93395
|
exports.resetPresenterTimer = resetPresenterTimer;
|
|
93052
|
-
exports.resetSlideLayoutPath = resetSlideLayoutPath;
|
|
93053
93396
|
exports.resizeSelection = resizeSelection;
|
|
93054
93397
|
exports.resolve3DRenderingFlags = resolve3DRenderingFlags;
|
|
93055
93398
|
exports.resolveAccentHex = resolveAccentHex;
|
|
@@ -93329,11 +93672,9 @@ exports.setPendingSelectionRestore = setPendingSelectionRestore;
|
|
|
93329
93672
|
exports.setSelectionBullets = setSelectionBullets;
|
|
93330
93673
|
exports.setTriggerBookmark = setTriggerBookmark;
|
|
93331
93674
|
exports.settleThemeWrites = settleThemeWrites;
|
|
93332
|
-
exports.shapeFillChange = shapeFillChange;
|
|
93333
93675
|
exports.shapeGalleryItem = shapeGalleryItem;
|
|
93334
93676
|
exports.shapeGalleryItemForValue = shapeGalleryItemForValue;
|
|
93335
93677
|
exports.shapeGallerySections = shapeGallerySections;
|
|
93336
|
-
exports.shapeOutlineChange = shapeOutlineChange;
|
|
93337
93678
|
exports.shapeQuickStyleLabel = shapeQuickStyleLabel;
|
|
93338
93679
|
exports.shapeQuickStylePatch = shapeQuickStylePatch;
|
|
93339
93680
|
exports.shapeStyleWithoutFormatting = shapeStyleWithoutFormatting;
|
|
@@ -93429,7 +93770,6 @@ exports.strokeMiterLimit = strokeMiterLimit;
|
|
|
93429
93770
|
exports.strokeOnlyPresetPathData = strokeOnlyPresetPathData;
|
|
93430
93771
|
exports.strokeOutlineViewBox = strokeOutlineViewBox;
|
|
93431
93772
|
exports.strokeToInkElement = strokeToInkElement;
|
|
93432
|
-
exports.strokeWidthOf = strokeWidthOf;
|
|
93433
93773
|
exports.styleShadowFilter = styleShadowFilter;
|
|
93434
93774
|
exports.substituteFieldText = substituteFieldText;
|
|
93435
93775
|
exports.subtitleLanguageLabel = subtitleLanguageLabel;
|