pptx-angular-viewer 4.1.1 → 4.1.3
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/CHANGELOG.md +12 -0
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-C_DOYqZ-.mjs → pptx-angular-viewer-chat-history-idb-C4hemHaY.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-C_DOYqZ-.mjs.map → pptx-angular-viewer-chat-history-idb-C4hemHaY.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-DRXYs84-.mjs → pptx-angular-viewer-pptx-angular-viewer-BvT4AAG0.mjs} +198 -58
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-DRXYs84-.mjs.map → pptx-angular-viewer-pptx-angular-viewer-BvT4AAG0.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/package.json +1 -1
- package/types/pptx-angular-viewer.d.ts +14 -3
- package/types/pptx-angular-viewer.d.ts.map +1 -1
|
@@ -84134,6 +84134,72 @@ function savedPresentationFileName(sourceName, format = 'pptx') {
|
|
|
84134
84134
|
return `${presentationBaseName(sourceName)}.${format}`;
|
|
84135
84135
|
}
|
|
84136
84136
|
|
|
84137
|
+
/** Per-tab acknowledgements: reloads keep them, a fresh tab starts clean. */
|
|
84138
|
+
const AUTOSAVE_RECOVERY_ACKNOWLEDGEMENTS_KEY = 'pptx-viewer-autosave-recovery-acknowledgements';
|
|
84139
|
+
function readAutosaveRecoveryAcknowledgements() {
|
|
84140
|
+
try {
|
|
84141
|
+
if (typeof sessionStorage === 'undefined') {
|
|
84142
|
+
return new Map();
|
|
84143
|
+
}
|
|
84144
|
+
const raw = sessionStorage.getItem(AUTOSAVE_RECOVERY_ACKNOWLEDGEMENTS_KEY);
|
|
84145
|
+
const parsed = raw ? JSON.parse(raw) : [];
|
|
84146
|
+
if (!Array.isArray(parsed)) {
|
|
84147
|
+
return new Map();
|
|
84148
|
+
}
|
|
84149
|
+
const entries = parsed.filter((value) => Array.isArray(value) &&
|
|
84150
|
+
value.length === 2 &&
|
|
84151
|
+
typeof value[0] === 'string' &&
|
|
84152
|
+
typeof value[1] === 'number' &&
|
|
84153
|
+
Number.isFinite(value[1]));
|
|
84154
|
+
return new Map(entries);
|
|
84155
|
+
}
|
|
84156
|
+
catch {
|
|
84157
|
+
return new Map();
|
|
84158
|
+
}
|
|
84159
|
+
}
|
|
84160
|
+
/** The exact snapshot this tab has already loaded for `filePath`, if any. */
|
|
84161
|
+
function getAcknowledgedAutosaveRecoveryTimestamp(filePath) {
|
|
84162
|
+
return readAutosaveRecoveryAcknowledgements().get(filePath);
|
|
84163
|
+
}
|
|
84164
|
+
/** Remember that this tab has loaded this exact snapshot without deleting it. */
|
|
84165
|
+
function acknowledgeAutosaveRecovery(record) {
|
|
84166
|
+
if (!record.key || !Number.isFinite(record.timestamp)) {
|
|
84167
|
+
return;
|
|
84168
|
+
}
|
|
84169
|
+
try {
|
|
84170
|
+
if (typeof sessionStorage === 'undefined') {
|
|
84171
|
+
return;
|
|
84172
|
+
}
|
|
84173
|
+
const acknowledgements = readAutosaveRecoveryAcknowledgements();
|
|
84174
|
+
acknowledgements.set(record.key, record.timestamp);
|
|
84175
|
+
sessionStorage.setItem(AUTOSAVE_RECOVERY_ACKNOWLEDGEMENTS_KEY, JSON.stringify([...acknowledgements]));
|
|
84176
|
+
}
|
|
84177
|
+
catch {
|
|
84178
|
+
// A blocked sessionStorage must not prevent recovery from loading.
|
|
84179
|
+
}
|
|
84180
|
+
}
|
|
84181
|
+
/** Undo an acknowledgement when loading that exact snapshot failed. */
|
|
84182
|
+
function clearAutosaveRecoveryAcknowledgement(record) {
|
|
84183
|
+
try {
|
|
84184
|
+
if (typeof sessionStorage === 'undefined') {
|
|
84185
|
+
return;
|
|
84186
|
+
}
|
|
84187
|
+
const acknowledgements = readAutosaveRecoveryAcknowledgements();
|
|
84188
|
+
if (acknowledgements.get(record.key) !== record.timestamp) {
|
|
84189
|
+
return;
|
|
84190
|
+
}
|
|
84191
|
+
acknowledgements.delete(record.key);
|
|
84192
|
+
if (acknowledgements.size === 0) {
|
|
84193
|
+
sessionStorage.removeItem(AUTOSAVE_RECOVERY_ACKNOWLEDGEMENTS_KEY);
|
|
84194
|
+
return;
|
|
84195
|
+
}
|
|
84196
|
+
sessionStorage.setItem(AUTOSAVE_RECOVERY_ACKNOWLEDGEMENTS_KEY, JSON.stringify([...acknowledgements]));
|
|
84197
|
+
}
|
|
84198
|
+
catch {
|
|
84199
|
+
// A blocked sessionStorage already behaves as if nothing was acknowledged.
|
|
84200
|
+
}
|
|
84201
|
+
}
|
|
84202
|
+
|
|
84137
84203
|
/**
|
|
84138
84204
|
* IndexedDB-backed autosave recovery store, shared by every binding.
|
|
84139
84205
|
*
|
|
@@ -84291,12 +84357,10 @@ async function listAutosaveSnapshots() {
|
|
|
84291
84357
|
}
|
|
84292
84358
|
});
|
|
84293
84359
|
}
|
|
84294
|
-
/**
|
|
84295
|
-
* Delete an autosave snapshot by file path.
|
|
84296
|
-
*/
|
|
84360
|
+
/** Delete a snapshot, rejecting when IndexedDB cannot commit the transaction. */
|
|
84297
84361
|
async function deleteAutosaveSnapshot(filePath) {
|
|
84298
84362
|
const db = await openAutosaveDb$1();
|
|
84299
|
-
return new Promise((resolve) => {
|
|
84363
|
+
return new Promise((resolve, reject) => {
|
|
84300
84364
|
try {
|
|
84301
84365
|
const tx = db.transaction(AUTOSAVE_STORE_NAME, 'readwrite');
|
|
84302
84366
|
const store = tx.objectStore(AUTOSAVE_STORE_NAME);
|
|
@@ -84305,19 +84369,21 @@ async function deleteAutosaveSnapshot(filePath) {
|
|
|
84305
84369
|
db.close();
|
|
84306
84370
|
resolve(true);
|
|
84307
84371
|
};
|
|
84308
|
-
|
|
84372
|
+
const rejectDelete = () => {
|
|
84309
84373
|
db.close();
|
|
84310
|
-
|
|
84374
|
+
reject(tx.error ?? new Error(`Failed to delete autosave snapshot: ${filePath}`));
|
|
84311
84375
|
};
|
|
84376
|
+
tx.onerror = rejectDelete;
|
|
84377
|
+
tx.onabort = rejectDelete;
|
|
84312
84378
|
}
|
|
84313
|
-
catch {
|
|
84379
|
+
catch (error) {
|
|
84314
84380
|
try {
|
|
84315
84381
|
db.close();
|
|
84316
84382
|
}
|
|
84317
84383
|
catch {
|
|
84318
84384
|
// Ignore
|
|
84319
84385
|
}
|
|
84320
|
-
|
|
84386
|
+
reject(error);
|
|
84321
84387
|
}
|
|
84322
84388
|
});
|
|
84323
84389
|
}
|
|
@@ -84633,6 +84699,7 @@ async function restoreSessionDeck() {
|
|
|
84633
84699
|
const snapshot = await getAutosaveSnapshot(deck.fileName);
|
|
84634
84700
|
const bytes = snapshot ? toBytes(snapshot.data) : null;
|
|
84635
84701
|
if (snapshot && bytes && bytes.byteLength > 0 && snapshot.timestamp > deck.timestamp) {
|
|
84702
|
+
acknowledgeAutosaveRecovery(snapshot);
|
|
84636
84703
|
return { fileName: deck.fileName, data: bytes, timestamp: snapshot.timestamp };
|
|
84637
84704
|
}
|
|
84638
84705
|
}
|
|
@@ -97413,7 +97480,10 @@ function ageKeyFor(ageMinutes) {
|
|
|
97413
97480
|
*/
|
|
97414
97481
|
function autosaveRecoveryPrompt(input) {
|
|
97415
97482
|
const record = input.record;
|
|
97416
|
-
if (!record ||
|
|
97483
|
+
if (!record ||
|
|
97484
|
+
record.size <= 0 ||
|
|
97485
|
+
!record.key ||
|
|
97486
|
+
record.timestamp === input.acknowledgedTimestamp) {
|
|
97417
97487
|
return null;
|
|
97418
97488
|
}
|
|
97419
97489
|
const age = input.now - record.timestamp;
|
|
@@ -97429,7 +97499,10 @@ function autosaveRecoveryPrompt(input) {
|
|
|
97429
97499
|
ageMinutes,
|
|
97430
97500
|
titleKey: 'pptx.autosave.recovery.title',
|
|
97431
97501
|
messageKey: 'pptx.autosave.recovery.message',
|
|
97432
|
-
messageParams: {
|
|
97502
|
+
messageParams: {
|
|
97503
|
+
file: input.displayName?.trim() || record.key,
|
|
97504
|
+
size: formatSnapshotSize(record.size),
|
|
97505
|
+
},
|
|
97433
97506
|
ageKey: relative.key,
|
|
97434
97507
|
ageParams: { count: relative.count },
|
|
97435
97508
|
restoreKey: 'pptx.autosave.recovery.restore',
|
|
@@ -97464,7 +97537,7 @@ function shouldShowAutosaveRecoveryPrompt(input) {
|
|
|
97464
97537
|
*
|
|
97465
97538
|
* Never throws: a blocked or missing IndexedDB is "nothing to recover".
|
|
97466
97539
|
*/
|
|
97467
|
-
async function probeAutosaveRecovery(filePath, now = Date.now()) {
|
|
97540
|
+
async function probeAutosaveRecovery(filePath, now = Date.now(), displayName) {
|
|
97468
97541
|
if (typeof indexedDB === 'undefined') {
|
|
97469
97542
|
return null;
|
|
97470
97543
|
}
|
|
@@ -97475,6 +97548,8 @@ async function probeAutosaveRecovery(filePath, now = Date.now()) {
|
|
|
97475
97548
|
? { key: record.key, timestamp: record.timestamp, size: record.size }
|
|
97476
97549
|
: undefined,
|
|
97477
97550
|
now,
|
|
97551
|
+
displayName,
|
|
97552
|
+
acknowledgedTimestamp: getAcknowledgedAutosaveRecoveryTimestamp(filePath),
|
|
97478
97553
|
});
|
|
97479
97554
|
if (!prompt || !record) {
|
|
97480
97555
|
return null;
|
|
@@ -97498,12 +97573,7 @@ function acceptAutosaveRecovery(record) {
|
|
|
97498
97573
|
* the editor's own autosave writes a fresh one the moment they edit anything.
|
|
97499
97574
|
*/
|
|
97500
97575
|
async function discardAutosaveRecovery(record) {
|
|
97501
|
-
|
|
97502
|
-
await deleteAutosaveSnapshot(record.key);
|
|
97503
|
-
}
|
|
97504
|
-
catch {
|
|
97505
|
-
// Best-effort: storage failures leave the snapshot available to retry.
|
|
97506
|
-
}
|
|
97576
|
+
await deleteAutosaveSnapshot(record.key);
|
|
97507
97577
|
}
|
|
97508
97578
|
|
|
97509
97579
|
/**
|
|
@@ -109796,7 +109866,7 @@ function createLocalStorageBackend(namespace) {
|
|
|
109796
109866
|
/** Try IndexedDB first; fall back to localStorage on any failure. */
|
|
109797
109867
|
async function resolveBackend(dbName, namespace) {
|
|
109798
109868
|
try {
|
|
109799
|
-
const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-
|
|
109869
|
+
const { openChatDb, createIdbBackend } = await import('./pptx-angular-viewer-chat-history-idb-C4hemHaY.mjs');
|
|
109800
109870
|
const db = await openChatDb(dbName);
|
|
109801
109871
|
return createIdbBackend(db);
|
|
109802
109872
|
}
|
|
@@ -111661,6 +111731,12 @@ class ModalDialogComponent {
|
|
|
111661
111731
|
/** Optional heading shown in the header bar. */
|
|
111662
111732
|
this.title = input('', /* @ts-ignore */
|
|
111663
111733
|
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
111734
|
+
/** Prevent Escape, backdrop, close-button and drag dismissal. */
|
|
111735
|
+
this.closeDisabled = input(false, /* @ts-ignore */
|
|
111736
|
+
...(ngDevMode ? [{ debugName: "closeDisabled" }] : /* istanbul ignore next */ []));
|
|
111737
|
+
/** Expose an in-flight action to assistive technology. */
|
|
111738
|
+
this.busy = input(false, /* @ts-ignore */
|
|
111739
|
+
...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
|
|
111664
111740
|
/** Fired on backdrop click, the `×` button, and `Escape`. */
|
|
111665
111741
|
this.close = output();
|
|
111666
111742
|
/** Reactive viewport / pointer flags (drives the bottom-sheet layout). */
|
|
@@ -111691,6 +111767,9 @@ class ModalDialogComponent {
|
|
|
111691
111767
|
inject(DestroyRef).onDestroy(() => this.releaseFocus?.());
|
|
111692
111768
|
}
|
|
111693
111769
|
requestClose() {
|
|
111770
|
+
if (this.closeDisabled()) {
|
|
111771
|
+
return;
|
|
111772
|
+
}
|
|
111694
111773
|
this.close.emit();
|
|
111695
111774
|
}
|
|
111696
111775
|
/**
|
|
@@ -111734,7 +111813,7 @@ class ModalDialogComponent {
|
|
|
111734
111813
|
this.dragY.set(0);
|
|
111735
111814
|
}
|
|
111736
111815
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ModalDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
111737
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ModalDialogComponent, isStandalone: true, selector: "pptx-modal-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, providers: [IsMobileService], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
111816
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ModalDialogComponent, isStandalone: true, selector: "pptx-modal-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, closeDisabled: { classPropertyName: "closeDisabled", publicName: "closeDisabled", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, providers: [IsMobileService], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
111738
111817
|
@if (open()) {
|
|
111739
111818
|
<div
|
|
111740
111819
|
class="pptx-ng-modal-backdrop"
|
|
@@ -111746,6 +111825,7 @@ class ModalDialogComponent {
|
|
|
111746
111825
|
[class]="panelClass()"
|
|
111747
111826
|
role="dialog"
|
|
111748
111827
|
aria-modal="true"
|
|
111828
|
+
[attr.aria-busy]="busy() ? 'true' : null"
|
|
111749
111829
|
tabindex="-1"
|
|
111750
111830
|
[attr.aria-label]="title() || null"
|
|
111751
111831
|
[style.transform]="dragY() > 0 ? 'translateY(' + dragY() + 'px)' : null"
|
|
@@ -111768,6 +111848,7 @@ class ModalDialogComponent {
|
|
|
111768
111848
|
type="button"
|
|
111769
111849
|
class="pptx-ng-modal-close"
|
|
111770
111850
|
[attr.aria-label]="'pptx.common.close' | translate"
|
|
111851
|
+
[disabled]="closeDisabled()"
|
|
111771
111852
|
(click)="requestClose()"
|
|
111772
111853
|
>
|
|
111773
111854
|
×
|
|
@@ -111784,7 +111865,7 @@ class ModalDialogComponent {
|
|
|
111784
111865
|
</div>
|
|
111785
111866
|
</div>
|
|
111786
111867
|
}
|
|
111787
|
-
`, isInline: true, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
111868
|
+
`, isInline: true, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-close:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
111788
111869
|
}
|
|
111789
111870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ModalDialogComponent, decorators: [{
|
|
111790
111871
|
type: Component,
|
|
@@ -111800,6 +111881,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111800
111881
|
[class]="panelClass()"
|
|
111801
111882
|
role="dialog"
|
|
111802
111883
|
aria-modal="true"
|
|
111884
|
+
[attr.aria-busy]="busy() ? 'true' : null"
|
|
111803
111885
|
tabindex="-1"
|
|
111804
111886
|
[attr.aria-label]="title() || null"
|
|
111805
111887
|
[style.transform]="dragY() > 0 ? 'translateY(' + dragY() + 'px)' : null"
|
|
@@ -111822,6 +111904,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111822
111904
|
type="button"
|
|
111823
111905
|
class="pptx-ng-modal-close"
|
|
111824
111906
|
[attr.aria-label]="'pptx.common.close' | translate"
|
|
111907
|
+
[disabled]="closeDisabled()"
|
|
111825
111908
|
(click)="requestClose()"
|
|
111826
111909
|
>
|
|
111827
111910
|
×
|
|
@@ -111838,8 +111921,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111838
111921
|
</div>
|
|
111839
111922
|
</div>
|
|
111840
111923
|
}
|
|
111841
|
-
`, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"] }]
|
|
111842
|
-
}], ctorParameters: () => [], propDecorators: { panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
|
|
111924
|
+
`, styles: [".pptx-ng-modal-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000073}.pptx-ng-modal-panel{display:flex;flex-direction:column;min-width:320px;max-width:min(92vw,480px);max-height:88vh;overflow:hidden;background:var(--pptx-popover, #ffffff);color:var(--pptx-foreground, #111827);border:1px solid var(--pptx-border, #e5e7eb);border-radius:var(--pptx-radius, 8px);box-shadow:0 10px 40px #00000059;overscroll-behavior:contain}.pptx-ng-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--pptx-border, #e5e7eb);touch-action:none}.pptx-ng-modal-title{margin:0;font-size:14px;font-weight:600;line-height:1.4}.pptx-ng-modal-close{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:18px;line-height:1;color:var(--pptx-muted-foreground, #6b7280);background:transparent;border:none;border-radius:4px;cursor:pointer}.pptx-ng-modal-close:hover{color:var(--pptx-foreground, #111827);background:var(--pptx-muted, #f3f4f6)}.pptx-ng-modal-close:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-modal-body{padding:16px;overflow-y:auto}.pptx-ng-modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--pptx-border, #e5e7eb)}.pptx-ng-modal-footer:empty{display:none}.pptx-ng-modal-backdrop.is-mobile{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel.is-mobile{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}@media(max-width:767px),(pointer:coarse){.pptx-ng-modal-backdrop{align-items:flex-end;justify-content:stretch}.pptx-ng-modal-panel{min-width:0;max-width:none;width:100%;max-height:88dvh;border-left:none;border-right:none;border-bottom:none;border-radius:16px 16px 0 0;padding-bottom:max(env(safe-area-inset-bottom),0px)}.pptx-ng-modal-close{width:44px;height:44px;font-size:22px}}\n"] }]
|
|
111925
|
+
}], ctorParameters: () => [], propDecorators: { panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], closeDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeDisabled", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
|
|
111843
111926
|
|
|
111844
111927
|
/**
|
|
111845
111928
|
* autosave-recovery-dialog.component.ts: "we found unsaved changes for this
|
|
@@ -111860,6 +111943,9 @@ class AutosaveRecoveryDialogComponent {
|
|
|
111860
111943
|
/** The shared descriptor to render, or null to render nothing. */
|
|
111861
111944
|
this.prompt = input(null, /* @ts-ignore */
|
|
111862
111945
|
...(ngDevMode ? [{ debugName: "prompt" }] : /* istanbul ignore next */ []));
|
|
111946
|
+
/** True while the IndexedDB delete is in flight. */
|
|
111947
|
+
this.discarding = input(false, /* @ts-ignore */
|
|
111948
|
+
...(ngDevMode ? [{ debugName: "discarding" }] : /* istanbul ignore next */ []));
|
|
111863
111949
|
/** The user accepted: load the snapshot. */
|
|
111864
111950
|
this.restore = output();
|
|
111865
111951
|
/** The user declined (also on dismiss): drop the snapshot. */
|
|
@@ -111876,17 +111962,19 @@ class AutosaveRecoveryDialogComponent {
|
|
|
111876
111962
|
...(ngDevMode ? [{ debugName: "savedLabel" }] : /* istanbul ignore next */ []));
|
|
111877
111963
|
}
|
|
111878
111964
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
111879
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AutosaveRecoveryDialogComponent, isStandalone: true, selector: "pptx-autosave-recovery-dialog", inputs: { prompt: { classPropertyName: "prompt", publicName: "prompt", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { restore: "restore", discard: "discard" }, ngImport: i0, template: `
|
|
111965
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AutosaveRecoveryDialogComponent, isStandalone: true, selector: "pptx-autosave-recovery-dialog", inputs: { prompt: { classPropertyName: "prompt", publicName: "prompt", isSignal: true, isRequired: false, transformFunction: null }, discarding: { classPropertyName: "discarding", publicName: "discarding", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { restore: "restore", discard: "discard" }, ngImport: i0, template: `
|
|
111880
111966
|
@if (prompt(); as offer) {
|
|
111881
111967
|
<pptx-modal-dialog
|
|
111882
111968
|
[open]="true"
|
|
111883
111969
|
[title]="offer.titleKey | translate"
|
|
111970
|
+
[busy]="discarding()"
|
|
111971
|
+
[closeDisabled]="discarding()"
|
|
111884
111972
|
data-pptx-autosave-recovery="true"
|
|
111885
111973
|
(close)="discard.emit()"
|
|
111886
111974
|
>
|
|
111887
111975
|
<div class="pptx-ng-recovery">
|
|
111888
111976
|
<div class="pptx-ng-recovery-badge">↻</div>
|
|
111889
|
-
<div>
|
|
111977
|
+
<div class="pptx-ng-recovery-copy">
|
|
111890
111978
|
<p class="pptx-ng-recovery-desc">
|
|
111891
111979
|
{{ offer.messageKey | translate: offer.messageParams }}
|
|
111892
111980
|
</p>
|
|
@@ -111895,12 +111983,18 @@ class AutosaveRecoveryDialogComponent {
|
|
|
111895
111983
|
</div>
|
|
111896
111984
|
|
|
111897
111985
|
<div footer>
|
|
111898
|
-
<button
|
|
111986
|
+
<button
|
|
111987
|
+
type="button"
|
|
111988
|
+
class="pptx-ng-recovery-btn"
|
|
111989
|
+
[disabled]="discarding()"
|
|
111990
|
+
(click)="discard.emit()"
|
|
111991
|
+
>
|
|
111899
111992
|
{{ offer.discardKey | translate }}
|
|
111900
111993
|
</button>
|
|
111901
111994
|
<button
|
|
111902
111995
|
type="button"
|
|
111903
111996
|
class="pptx-ng-recovery-btn pptx-ng-recovery-btn-primary"
|
|
111997
|
+
[disabled]="discarding()"
|
|
111904
111998
|
(click)="restore.emit()"
|
|
111905
111999
|
>
|
|
111906
112000
|
{{ offer.restoreKey | translate }}
|
|
@@ -111908,7 +112002,7 @@ class AutosaveRecoveryDialogComponent {
|
|
|
111908
112002
|
</div>
|
|
111909
112003
|
</pptx-modal-dialog>
|
|
111910
112004
|
}
|
|
111911
|
-
`, isInline: true, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
112005
|
+
`, isInline: true, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-copy{min-width:0}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af);overflow-wrap:anywhere}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
111912
112006
|
}
|
|
111913
112007
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryDialogComponent, decorators: [{
|
|
111914
112008
|
type: Component,
|
|
@@ -111917,12 +112011,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111917
112011
|
<pptx-modal-dialog
|
|
111918
112012
|
[open]="true"
|
|
111919
112013
|
[title]="offer.titleKey | translate"
|
|
112014
|
+
[busy]="discarding()"
|
|
112015
|
+
[closeDisabled]="discarding()"
|
|
111920
112016
|
data-pptx-autosave-recovery="true"
|
|
111921
112017
|
(close)="discard.emit()"
|
|
111922
112018
|
>
|
|
111923
112019
|
<div class="pptx-ng-recovery">
|
|
111924
112020
|
<div class="pptx-ng-recovery-badge">↻</div>
|
|
111925
|
-
<div>
|
|
112021
|
+
<div class="pptx-ng-recovery-copy">
|
|
111926
112022
|
<p class="pptx-ng-recovery-desc">
|
|
111927
112023
|
{{ offer.messageKey | translate: offer.messageParams }}
|
|
111928
112024
|
</p>
|
|
@@ -111931,12 +112027,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111931
112027
|
</div>
|
|
111932
112028
|
|
|
111933
112029
|
<div footer>
|
|
111934
|
-
<button
|
|
112030
|
+
<button
|
|
112031
|
+
type="button"
|
|
112032
|
+
class="pptx-ng-recovery-btn"
|
|
112033
|
+
[disabled]="discarding()"
|
|
112034
|
+
(click)="discard.emit()"
|
|
112035
|
+
>
|
|
111935
112036
|
{{ offer.discardKey | translate }}
|
|
111936
112037
|
</button>
|
|
111937
112038
|
<button
|
|
111938
112039
|
type="button"
|
|
111939
112040
|
class="pptx-ng-recovery-btn pptx-ng-recovery-btn-primary"
|
|
112041
|
+
[disabled]="discarding()"
|
|
111940
112042
|
(click)="restore.emit()"
|
|
111941
112043
|
>
|
|
111942
112044
|
{{ offer.restoreKey | translate }}
|
|
@@ -111944,8 +112046,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
111944
112046
|
</div>
|
|
111945
112047
|
</pptx-modal-dialog>
|
|
111946
112048
|
}
|
|
111947
|
-
`, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"] }]
|
|
111948
|
-
}], propDecorators: { prompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "prompt", required: false }] }], restore: [{ type: i0.Output, args: ["restore"] }], discard: [{ type: i0.Output, args: ["discard"] }] } });
|
|
112049
|
+
`, styles: [".pptx-ng-recovery{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-recovery-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-recovery-copy{min-width:0}.pptx-ng-recovery-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af);overflow-wrap:anywhere}.pptx-ng-recovery-when{margin:.5rem 0 0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-recovery-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-recovery-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-recovery-btn:disabled{cursor:not-allowed;opacity:.55}.pptx-ng-recovery-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-recovery-btn-primary:hover{filter:brightness(1.1)}\n"] }]
|
|
112050
|
+
}], propDecorators: { prompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "prompt", required: false }] }], discarding: [{ type: i0.Input, args: [{ isSignal: true, alias: "discarding", required: false }] }], restore: [{ type: i0.Output, args: ["restore"] }], discard: [{ type: i0.Output, args: ["discard"] }] } });
|
|
111949
112051
|
|
|
111950
112052
|
/**
|
|
111951
112053
|
* autosave-recovery.service.ts: offer a crash-recovery snapshot back to the
|
|
@@ -111967,10 +112069,14 @@ class AutosaveRecoveryService {
|
|
|
111967
112069
|
/** What the dialog should say, or null when there is nothing to offer. */
|
|
111968
112070
|
this.prompt = signal(null, /* @ts-ignore */
|
|
111969
112071
|
...(ngDevMode ? [{ debugName: "prompt" }] : /* istanbul ignore next */ []));
|
|
112072
|
+
/** The destructive delete is still pending. */
|
|
112073
|
+
this.discarding = signal(false, /* @ts-ignore */
|
|
112074
|
+
...(ngDevMode ? [{ debugName: "discarding" }] : /* istanbul ignore next */ []));
|
|
111970
112075
|
this.host = null;
|
|
111971
112076
|
this.record = null;
|
|
111972
112077
|
this.checked = false;
|
|
111973
112078
|
this.destroyed = false;
|
|
112079
|
+
this.actionPending = false;
|
|
111974
112080
|
}
|
|
111975
112081
|
bind(host) {
|
|
111976
112082
|
this.host = host;
|
|
@@ -111990,7 +112096,7 @@ class AutosaveRecoveryService {
|
|
|
111990
112096
|
return;
|
|
111991
112097
|
}
|
|
111992
112098
|
this.checked = true;
|
|
111993
|
-
void probeAutosaveRecovery(filePath).then((offer) => {
|
|
112099
|
+
void probeAutosaveRecovery(filePath, Date.now(), host.fileName()).then((offer) => {
|
|
111994
112100
|
if (offer && !this.destroyed) {
|
|
111995
112101
|
this.record = offer.record;
|
|
111996
112102
|
this.prompt.set(offer.prompt);
|
|
@@ -112001,21 +112107,44 @@ class AutosaveRecoveryService {
|
|
|
112001
112107
|
}
|
|
112002
112108
|
/** The user accepted: load the snapshot bytes. */
|
|
112003
112109
|
restore() {
|
|
112110
|
+
if (this.actionPending) {
|
|
112111
|
+
return;
|
|
112112
|
+
}
|
|
112113
|
+
this.actionPending = true;
|
|
112004
112114
|
const found = this.record;
|
|
112005
112115
|
this.prompt.set(null);
|
|
112006
112116
|
this.record = null;
|
|
112007
|
-
if (found) {
|
|
112008
|
-
this.host
|
|
112117
|
+
if (found && this.host) {
|
|
112118
|
+
this.host.restore(acceptAutosaveRecovery(found));
|
|
112119
|
+
acknowledgeAutosaveRecovery(found);
|
|
112009
112120
|
}
|
|
112010
112121
|
}
|
|
112011
112122
|
/** The user declined: drop the snapshot. */
|
|
112012
112123
|
discard() {
|
|
112124
|
+
if (this.actionPending) {
|
|
112125
|
+
return;
|
|
112126
|
+
}
|
|
112013
112127
|
const found = this.record;
|
|
112014
|
-
|
|
112015
|
-
|
|
112016
|
-
|
|
112017
|
-
void discardAutosaveRecovery(found);
|
|
112128
|
+
if (!found) {
|
|
112129
|
+
this.prompt.set(null);
|
|
112130
|
+
return;
|
|
112018
112131
|
}
|
|
112132
|
+
this.actionPending = true;
|
|
112133
|
+
this.discarding.set(true);
|
|
112134
|
+
void (async () => {
|
|
112135
|
+
try {
|
|
112136
|
+
await discardAutosaveRecovery(found);
|
|
112137
|
+
this.record = null;
|
|
112138
|
+
this.prompt.set(null);
|
|
112139
|
+
}
|
|
112140
|
+
catch {
|
|
112141
|
+
// Leave the prompt open so a failed discard can be retried.
|
|
112142
|
+
}
|
|
112143
|
+
finally {
|
|
112144
|
+
this.actionPending = false;
|
|
112145
|
+
this.discarding.set(false);
|
|
112146
|
+
}
|
|
112147
|
+
})();
|
|
112019
112148
|
}
|
|
112020
112149
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
112021
112150
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AutosaveRecoveryService }); }
|
|
@@ -112394,7 +112523,7 @@ class BroadcastDialogComponent {
|
|
|
112394
112523
|
}
|
|
112395
112524
|
</div>
|
|
112396
112525
|
</pptx-modal-dialog>
|
|
112397
|
-
`, isInline: true, styles: [".pptx-ng-broadcast{display:flex;flex-direction:column;gap:1rem}.pptx-ng-broadcast-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-broadcast-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-broadcast-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-broadcast-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-broadcast-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-broadcast-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-broadcast-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-broadcast-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-broadcast-btn-primary:hover:not(:disabled){background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}.pptx-ng-broadcast-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease}.pptx-ng-broadcast-stop:hover{background:#ef444433}.pptx-ng-broadcast-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-broadcast-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-status-dot.is-on{background:#22c55e}.pptx-ng-broadcast-status-text{font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-count{margin-left:auto;color:var(--pptx-muted-foreground, #9ca3af)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
112526
|
+
`, isInline: true, styles: [".pptx-ng-broadcast{display:flex;flex-direction:column;gap:1rem}.pptx-ng-broadcast-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-broadcast-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-broadcast-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-broadcast-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-broadcast-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-broadcast-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-broadcast-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-broadcast-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-broadcast-btn-primary:hover:not(:disabled){background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}.pptx-ng-broadcast-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s ease}.pptx-ng-broadcast-stop:hover{background:#ef444433}.pptx-ng-broadcast-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-broadcast-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-broadcast-status-dot.is-on{background:#22c55e}.pptx-ng-broadcast-status-text{font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-broadcast-count{margin-left:auto;color:var(--pptx-muted-foreground, #9ca3af)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
112398
112527
|
}
|
|
112399
112528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: BroadcastDialogComponent, decorators: [{
|
|
112400
112529
|
type: Component,
|
|
@@ -118663,7 +118792,7 @@ class HyperlinkDialogComponent {
|
|
|
118663
118792
|
</button>
|
|
118664
118793
|
</div>
|
|
118665
118794
|
</pptx-modal-dialog>
|
|
118666
|
-
`, isInline: true, styles: [".pptx-ng-hyperlink-form{display:flex;flex-direction:column;gap:12px;min-width:280px}.pptx-ng-hyperlink-field{display:flex;flex-direction:column;gap:4px}.pptx-ng-hyperlink-label{font-size:12px;font-weight:500;color:var(--pptx-muted-foreground, #6b7280)}.pptx-ng-hyperlink-input{width:100%;padding:6px 10px;font-size:13px;color:var(--pptx-foreground, #111827);background:var(--pptx-background, #ffffff);border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;outline:none}.pptx-ng-hyperlink-input:focus{border-color:var(--pptx-primary, #2563eb);box-shadow:0 0 0 1px var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn{padding:6px 12px;font-size:12px;border-radius:4px;border:1px solid transparent;cursor:pointer}.pptx-ng-hyperlink-btn--primary{color:var(--pptx-primary-foreground, #ffffff);background:var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn--secondary{color:var(--pptx-foreground, #111827);background:transparent;border-color:var(--pptx-border, #e5e7eb)}.pptx-ng-hyperlink-btn--ghost{margin-right:auto;color:var(--pptx-destructive, #dc2626);background:transparent}.pptx-ng-hyperlink-btn--secondary:hover,.pptx-ng-hyperlink-btn--ghost:hover{background:var(--pptx-muted, #f3f4f6)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
118795
|
+
`, isInline: true, styles: [".pptx-ng-hyperlink-form{display:flex;flex-direction:column;gap:12px;min-width:280px}.pptx-ng-hyperlink-field{display:flex;flex-direction:column;gap:4px}.pptx-ng-hyperlink-label{font-size:12px;font-weight:500;color:var(--pptx-muted-foreground, #6b7280)}.pptx-ng-hyperlink-input{width:100%;padding:6px 10px;font-size:13px;color:var(--pptx-foreground, #111827);background:var(--pptx-background, #ffffff);border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;outline:none}.pptx-ng-hyperlink-input:focus{border-color:var(--pptx-primary, #2563eb);box-shadow:0 0 0 1px var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn{padding:6px 12px;font-size:12px;border-radius:4px;border:1px solid transparent;cursor:pointer}.pptx-ng-hyperlink-btn--primary{color:var(--pptx-primary-foreground, #ffffff);background:var(--pptx-primary, #2563eb)}.pptx-ng-hyperlink-btn--secondary{color:var(--pptx-foreground, #111827);background:transparent;border-color:var(--pptx-border, #e5e7eb)}.pptx-ng-hyperlink-btn--ghost{margin-right:auto;color:var(--pptx-destructive, #dc2626);background:transparent}.pptx-ng-hyperlink-btn--secondary:hover,.pptx-ng-hyperlink-btn--ghost:hover{background:var(--pptx-muted, #f3f4f6)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
118667
118796
|
}
|
|
118668
118797
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: HyperlinkDialogComponent, decorators: [{
|
|
118669
118798
|
type: Component,
|
|
@@ -119785,7 +119914,7 @@ class InsertSmartArtDialogComponent {
|
|
|
119785
119914
|
</button>
|
|
119786
119915
|
</div>
|
|
119787
119916
|
</pptx-modal-dialog>
|
|
119788
|
-
`, isInline: true, styles: [".pptx-sa-insert{display:flex;gap:0;min-width:min(86vw,560px)}.pptx-sa-insert__sidebar{display:flex;flex-direction:column;width:9rem;flex-shrink:0;border-right:1px solid var(--pptx-border, #e5e7eb);padding:.25rem 0}.pptx-sa-insert__cat{text-align:left;padding:.35rem .75rem;font-size:12px;background:transparent;border:none;color:inherit;cursor:pointer}.pptx-sa-insert__cat:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cat.is-active{background:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.pptx-sa-insert__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:16rem;overflow-y:auto}.pptx-sa-insert__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-sa-insert__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-sa-insert__thumb{width:4rem;height:3rem;display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-sa-insert__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-sa-insert__text{display:flex;flex-direction:column;gap:.2rem}.pptx-sa-insert__text-label{font-size:10px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-sa-insert__textarea{width:100%;box-sizing:border-box;resize:vertical;font-size:12px;padding:.35rem .5rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-input, #fff);color:inherit}.pptx-sa-insert__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-sa-insert__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-sa-insert__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: SmartArtPreviewComponent, selector: "pptx-smart-art-preview", inputs: ["layout"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119917
|
+
`, isInline: true, styles: [".pptx-sa-insert{display:flex;gap:0;min-width:min(86vw,560px)}.pptx-sa-insert__sidebar{display:flex;flex-direction:column;width:9rem;flex-shrink:0;border-right:1px solid var(--pptx-border, #e5e7eb);padding:.25rem 0}.pptx-sa-insert__cat{text-align:left;padding:.35rem .75rem;font-size:12px;background:transparent;border:none;color:inherit;cursor:pointer}.pptx-sa-insert__cat:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cat.is-active{background:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem;padding:.5rem}.pptx-sa-insert__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:16rem;overflow-y:auto}.pptx-sa-insert__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-sa-insert__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-sa-insert__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-sa-insert__thumb{width:4rem;height:3rem;display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-sa-insert__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-sa-insert__text{display:flex;flex-direction:column;gap:.2rem}.pptx-sa-insert__text-label{font-size:10px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-sa-insert__textarea{width:100%;box-sizing:border-box;resize:vertical;font-size:12px;padding:.35rem .5rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-input, #fff);color:inherit}.pptx-sa-insert__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-sa-insert__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-sa-insert__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-sa-insert__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: SmartArtPreviewComponent, selector: "pptx-smart-art-preview", inputs: ["layout"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119789
119918
|
}
|
|
119790
119919
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: InsertSmartArtDialogComponent, decorators: [{
|
|
119791
119920
|
type: Component,
|
|
@@ -145418,7 +145547,7 @@ class PropertiesDialogComponent {
|
|
|
145418
145547
|
</button>
|
|
145419
145548
|
</div>
|
|
145420
145549
|
</pptx-modal-dialog>
|
|
145421
|
-
`, isInline: true, styles: [".pptx-ng-props-form{display:flex;flex-direction:column;gap:.75rem}.pptx-ng-props-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-props-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-input{width:100%;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem}.pptx-ng-props-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-props-meta{display:flex;flex-direction:column;gap:.375rem;padding-top:.5rem;border-top:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-props-meta-row{display:flex;justify-content:space-between;font-size:.75rem}.pptx-ng-props-meta-label{color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-props-meta-value{color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-props-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
145550
|
+
`, isInline: true, styles: [".pptx-ng-props-form{display:flex;flex-direction:column;gap:.75rem}.pptx-ng-props-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-props-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-input{width:100%;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem}.pptx-ng-props-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-props-meta{display:flex;flex-direction:column;gap:.375rem;padding-top:.5rem;border-top:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-props-meta-row{display:flex;justify-content:space-between;font-size:.75rem}.pptx-ng-props-meta-label{color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-props-meta-value{color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-props-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-props-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
145422
145551
|
}
|
|
145423
145552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PropertiesDialogComponent, decorators: [{
|
|
145424
145553
|
type: Component,
|
|
@@ -151179,7 +151308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
151179
151308
|
}], propDecorators: { canEdit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canEdit", required: false }] }], slideIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "slideIndex", required: false }] }], selectedElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedElement", required: false }] }] } });
|
|
151180
151309
|
|
|
151181
151310
|
// Generated by scripts/inline-shared.mjs from package.json. Do not edit.
|
|
151182
|
-
const PPTX_ANGULAR_VIEWER_VERSION = "4.1.
|
|
151311
|
+
const PPTX_ANGULAR_VIEWER_VERSION = "4.1.2";
|
|
151183
151312
|
|
|
151184
151313
|
/**
|
|
151185
151314
|
* account-page.component.ts: File > Account content.
|
|
@@ -156149,7 +156278,7 @@ class ShareDialogComponent {
|
|
|
156149
156278
|
this.stop.emit();
|
|
156150
156279
|
}
|
|
156151
156280
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ShareDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
156152
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ShareDialogComponent, isStandalone: true, selector: "pptx-share-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, defaults: { classPropertyName: "defaults", publicName: "defaults", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, connected: { classPropertyName: "connected", publicName: "connected", isSignal: true, isRequired: false, transformFunction: null }, userCount: { classPropertyName: "userCount", publicName: "userCount", isSignal: true, isRequired: false, transformFunction: null }, shareUrl: { classPropertyName: "shareUrl", publicName: "shareUrl", isSignal: true, isRequired: false, transformFunction: null }, p2p: { classPropertyName: "p2p", publicName: "p2p", isSignal: true, isRequired: false, transformFunction: null }, activeRoomId: { classPropertyName: "activeRoomId", publicName: "activeRoomId", isSignal: true, isRequired: false, transformFunction: null }, activeServerUrl: { classPropertyName: "activeServerUrl", publicName: "activeServerUrl", isSignal: true, isRequired: false, transformFunction: null }, users: { classPropertyName: "users", publicName: "users", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { start: "start", stop: "stop", close: "close" }, ngImport: i0, template: "<pptx-modal-dialog\n\t[open]=\"open()\"\n\t[title]=\"(active() ? 'pptx.share.activeTitle' : 'pptx.toolbar.share') | translate\"\n\t(close)=\"close.emit()\"\n>\n\t@if (active()) {\n\t\t<div class=\"pptx-ng-share-active\">\n\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t<span class=\"pptx-ng-share-status-dot\" [class.is-on]=\"connected()\"></span>\n\t\t\t\t<span class=\"pptx-ng-share-status-text\">\n\t\t\t\t\t{{\n\t\t\t\t\t\t(connected() ? 'pptx.collaboration.status.connected' : 'pptx.share.connecting')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t\t<span class=\"pptx-ng-share-count\">\n\t\t\t\t\t{{ userCount() }}\n\t\t\t\t\t{{\n\t\t\t\t\t\t(userCount() === 1 ? 'pptx.share.participantSingular' : 'pptx.share.participantPlural')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t@if (activeRoomId()) {\n\t\t\t\t<div class=\"pptx-ng-share-details-row\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.room' | translate }}\n\t\t\t\t\t\t<code>{{ activeRoomId() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.server' | translate }}\n\t\t\t\t\t\t<code>{{ p2p() ? ('pptx.share.p2pServerValue' | translate) : activeServerUrl() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t} @else if (p2p()) {\n\t\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t\t<span class=\"pptx-ng-share-count\" style=\"margin-left: 0\">\n\t\t\t\t\t\t{{ 'pptx.share.p2pServerValue' | translate }}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (shareUrl()) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.shareLink' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-link-row\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t[value]=\"shareUrl()\"\n\t\t\t\t\t\t\t(focus)=\"selectAll($event)\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-btn\"\n\t\t\t\t\t\t\t[disabled]=\"!canCopy()\"\n\t\t\t\t\t\t\t(click)=\"onCopyLink()\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{ (copied() ? 'pptx.share.copied' : 'pptx.share.copyLinkButton') | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.shareHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (users().length > 0) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.connectedUsers' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-users\">\n\t\t\t\t\t\t@for (user of users(); track user.id) {\n\t\t\t\t\t\t\t<div class=\"pptx-ng-share-user\">\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-avatar\" [style.background-color]=\"user.color\">\n\t\t\t\t\t\t\t\t\t@if (user.avatarUrl) {\n\t\t\t\t\t\t\t\t\t\t<img [src]=\"user.avatarUrl\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<ng-container>{{ user.initials }}</ng-container>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-name\">{{ user.name }}</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-meta\">\n\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\tuser.isLocal\n\t\t\t\t\t\t\t\t\t\t\t? ('pptx.share.you' | translate)\n\t\t\t\t\t\t\t\t\t\t\t: ('pptx.notes.slideN' | translate: { n: user.slideNumber })\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<button type=\"button\" class=\"pptx-ng-share-stop\" (click)=\"handleStop()\">\n\t\t\t\t{{ 'pptx.share.stopSharing' | translate }}\n\t\t\t</button>\n\t\t</div>\n\t} @else {\n\t\t<div class=\"pptx-ng-share-form\">\n\t\t\t<div class=\"pptx-ng-share-tabs\" role=\"tablist\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'create'\"\n\t\t\t\t\t(click)=\"mode.set('create')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.createSession' | translate }}\n\t\t\t\t</button>\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'join'\"\n\t\t\t\t\t(click)=\"mode.set('join')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.joinSession' | translate }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<p class=\"pptx-ng-share-desc\">\n\t\t\t\t{{\n\t\t\t\t\t(mode() === 'join' ? 'pptx.share.joinDescription' : 'pptx.share.formDescription')\n\t\t\t\t\t\t| translate\n\t\t\t\t}}\n\t\t\t</p>\n\n\t\t\t@if (mode() === 'join') {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-invitation\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.invitationLabel' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-invitation\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.invitationPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"invitation()\"\n\t\t\t\t\t\t(input)=\"invitation.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.invitationHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-room\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.roomId' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-room\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.roomIdPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"roomId()\"\n\t\t\t\t\t\t(input)=\"roomId.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-name\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.yourName' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-name\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.yourNamePlaceholder' | translate\"\n\t\t\t\t\t[value]=\"userName()\"\n\t\t\t\t\t(input)=\"userName.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t</div>\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-server\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.serverUrl' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-server\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.serverPlaceholder' | translate\"\n\t\t\t\t\t[value]=\"serverUrl()\"\n\t\t\t\t\t(input)=\"serverUrl.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t\t@if (isP2p()) {\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.p2pHint' | translate }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div footer>\n\t\t<button type=\"button\" class=\"pptx-ng-share-btn\" (click)=\"close.emit()\">\n\t\t\t{{ (active() ? 'pptx.common.close' : 'pptx.common.cancel') | translate }}\n\t\t</button>\n\t\t@if (!active()) {\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"pptx-ng-share-btn pptx-ng-share-btn-primary\"\n\t\t\t\t[disabled]=\"!canStart()\"\n\t\t\t\t(click)=\"handleStart()\"\n\t\t\t>\n\t\t\t\t{{ (mode() === 'join' ? 'pptx.share.joinSession' : 'pptx.share.startSharing') | translate }}\n\t\t\t</button>\n\t\t}\n\t</div>\n</pptx-modal-dialog>\n", styles: [".pptx-ng-share-form,.pptx-ng-share-active{display:flex;flex-direction:column;gap:1rem}.pptx-ng-share-desc{margin:0;font-size:.8125rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:.5rem;background:var(--pptx-muted, #2a2a2a)}.pptx-ng-share-tabs button{border:0;border-radius:.375rem;background:transparent;color:var(--pptx-muted-foreground, #9a9a9a);padding:.375rem .625rem;font:500 .75rem/1.2 inherit;cursor:pointer}.pptx-ng-share-tabs button[aria-selected=true]{background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-share-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-input{width:100%;min-width:0;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem;box-sizing:border-box}.pptx-ng-share-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-share-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-share-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}.pptx-ng-share-btn-primary:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-share-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer}.pptx-ng-share-stop:hover{background:#ef444433}.pptx-ng-share-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-share-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-status-dot.is-on{background:#22c55e}.pptx-ng-share-status-text{font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-count{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-share-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row code{font-family:inherit;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-users{max-height:140px;overflow-y:auto;border:1px solid var(--pptx-border, #2a2a2a);border-radius:.375rem;background:var(--pptx-background, #111)}.pptx-ng-share-user{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem}.pptx-ng-share-user:not(:last-child){border-bottom:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-share-user-avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:9999px;color:#fff;font-size:.5625rem;font-weight:600}.pptx-ng-share-user-avatar img{width:100%;height:100%;border-radius:9999px;object-fit:cover}.pptx-ng-share-user-name{overflow:hidden;font-size:.75rem;color:var(--pptx-foreground, #e5e5e5);text-overflow:ellipsis;white-space:nowrap}.pptx-ng-share-user-meta{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a);font-size:.625rem}@media(max-width:767px),(pointer:coarse){.pptx-ng-share-btn{min-height:44px;padding:.5rem .875rem;font-size:.8125rem}.pptx-ng-share-stop,.pptx-ng-share-tabs button{min-height:44px}.pptx-ng-share-input{min-height:44px;font-size:16px}}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156281
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: ShareDialogComponent, isStandalone: true, selector: "pptx-share-dialog", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, defaults: { classPropertyName: "defaults", publicName: "defaults", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, connected: { classPropertyName: "connected", publicName: "connected", isSignal: true, isRequired: false, transformFunction: null }, userCount: { classPropertyName: "userCount", publicName: "userCount", isSignal: true, isRequired: false, transformFunction: null }, shareUrl: { classPropertyName: "shareUrl", publicName: "shareUrl", isSignal: true, isRequired: false, transformFunction: null }, p2p: { classPropertyName: "p2p", publicName: "p2p", isSignal: true, isRequired: false, transformFunction: null }, activeRoomId: { classPropertyName: "activeRoomId", publicName: "activeRoomId", isSignal: true, isRequired: false, transformFunction: null }, activeServerUrl: { classPropertyName: "activeServerUrl", publicName: "activeServerUrl", isSignal: true, isRequired: false, transformFunction: null }, users: { classPropertyName: "users", publicName: "users", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { start: "start", stop: "stop", close: "close" }, ngImport: i0, template: "<pptx-modal-dialog\n\t[open]=\"open()\"\n\t[title]=\"(active() ? 'pptx.share.activeTitle' : 'pptx.toolbar.share') | translate\"\n\t(close)=\"close.emit()\"\n>\n\t@if (active()) {\n\t\t<div class=\"pptx-ng-share-active\">\n\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t<span class=\"pptx-ng-share-status-dot\" [class.is-on]=\"connected()\"></span>\n\t\t\t\t<span class=\"pptx-ng-share-status-text\">\n\t\t\t\t\t{{\n\t\t\t\t\t\t(connected() ? 'pptx.collaboration.status.connected' : 'pptx.share.connecting')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t\t<span class=\"pptx-ng-share-count\">\n\t\t\t\t\t{{ userCount() }}\n\t\t\t\t\t{{\n\t\t\t\t\t\t(userCount() === 1 ? 'pptx.share.participantSingular' : 'pptx.share.participantPlural')\n\t\t\t\t\t\t\t| translate\n\t\t\t\t\t}}\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t@if (activeRoomId()) {\n\t\t\t\t<div class=\"pptx-ng-share-details-row\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.room' | translate }}\n\t\t\t\t\t\t<code>{{ activeRoomId() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ 'pptx.share.server' | translate }}\n\t\t\t\t\t\t<code>{{ p2p() ? ('pptx.share.p2pServerValue' | translate) : activeServerUrl() }}</code>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t} @else if (p2p()) {\n\t\t\t\t<div class=\"pptx-ng-share-status-row\">\n\t\t\t\t\t<span class=\"pptx-ng-share-count\" style=\"margin-left: 0\">\n\t\t\t\t\t\t{{ 'pptx.share.p2pServerValue' | translate }}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (shareUrl()) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.shareLink' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-link-row\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\treadonly\n\t\t\t\t\t\t\t[value]=\"shareUrl()\"\n\t\t\t\t\t\t\t(focus)=\"selectAll($event)\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"pptx-ng-share-btn\"\n\t\t\t\t\t\t\t[disabled]=\"!canCopy()\"\n\t\t\t\t\t\t\t(click)=\"onCopyLink()\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{ (copied() ? 'pptx.share.copied' : 'pptx.share.copyLinkButton') | translate }}\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.shareHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t@if (users().length > 0) {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label class=\"pptx-ng-share-label\">{{ 'pptx.share.connectedUsers' | translate }}</label>\n\t\t\t\t\t<div class=\"pptx-ng-share-users\">\n\t\t\t\t\t\t@for (user of users(); track user.id) {\n\t\t\t\t\t\t\t<div class=\"pptx-ng-share-user\">\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-avatar\" [style.background-color]=\"user.color\">\n\t\t\t\t\t\t\t\t\t@if (user.avatarUrl) {\n\t\t\t\t\t\t\t\t\t\t<img [src]=\"user.avatarUrl\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<ng-container>{{ user.initials }}</ng-container>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-name\">{{ user.name }}</span>\n\t\t\t\t\t\t\t\t<span class=\"pptx-ng-share-user-meta\">\n\t\t\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t\t\tuser.isLocal\n\t\t\t\t\t\t\t\t\t\t\t? ('pptx.share.you' | translate)\n\t\t\t\t\t\t\t\t\t\t\t: ('pptx.notes.slideN' | translate: { n: user.slideNumber })\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<button type=\"button\" class=\"pptx-ng-share-stop\" (click)=\"handleStop()\">\n\t\t\t\t{{ 'pptx.share.stopSharing' | translate }}\n\t\t\t</button>\n\t\t</div>\n\t} @else {\n\t\t<div class=\"pptx-ng-share-form\">\n\t\t\t<div class=\"pptx-ng-share-tabs\" role=\"tablist\">\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'create'\"\n\t\t\t\t\t(click)=\"mode.set('create')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.createSession' | translate }}\n\t\t\t\t</button>\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\trole=\"tab\"\n\t\t\t\t\t[attr.aria-selected]=\"mode() === 'join'\"\n\t\t\t\t\t(click)=\"mode.set('join')\"\n\t\t\t\t>\n\t\t\t\t\t{{ 'pptx.share.joinSession' | translate }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<p class=\"pptx-ng-share-desc\">\n\t\t\t\t{{\n\t\t\t\t\t(mode() === 'join' ? 'pptx.share.joinDescription' : 'pptx.share.formDescription')\n\t\t\t\t\t\t| translate\n\t\t\t\t}}\n\t\t\t</p>\n\n\t\t\t@if (mode() === 'join') {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-invitation\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.invitationLabel' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-invitation\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.invitationPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"invitation()\"\n\t\t\t\t\t\t(input)=\"invitation.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.invitationHint' | translate }}</p>\n\t\t\t\t</div>\n\t\t\t} @else {\n\t\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t\t<label for=\"pptx-ng-share-room\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t\t'pptx.share.roomId' | translate\n\t\t\t\t\t}}</label>\n\t\t\t\t\t<input\n\t\t\t\t\t\tid=\"pptx-ng-share-room\"\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t\t[attr.placeholder]=\"'pptx.share.roomIdPlaceholder' | translate\"\n\t\t\t\t\t\t[value]=\"roomId()\"\n\t\t\t\t\t\t(input)=\"roomId.set(asValue($event))\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-name\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.yourName' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-name\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.yourNamePlaceholder' | translate\"\n\t\t\t\t\t[value]=\"userName()\"\n\t\t\t\t\t(input)=\"userName.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t</div>\n\n\t\t\t<div class=\"pptx-ng-share-field\">\n\t\t\t\t<label for=\"pptx-ng-share-server\" class=\"pptx-ng-share-label\">{{\n\t\t\t\t\t'pptx.share.serverUrl' | translate\n\t\t\t\t}}</label>\n\t\t\t\t<input\n\t\t\t\t\tid=\"pptx-ng-share-server\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tclass=\"pptx-ng-share-input\"\n\t\t\t\t\t[attr.placeholder]=\"'pptx.share.serverPlaceholder' | translate\"\n\t\t\t\t\t[value]=\"serverUrl()\"\n\t\t\t\t\t(input)=\"serverUrl.set(asValue($event))\"\n\t\t\t\t/>\n\t\t\t\t@if (isP2p()) {\n\t\t\t\t\t<p class=\"pptx-ng-share-hint\">{{ 'pptx.share.p2pHint' | translate }}</p>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t}\n\n\t<div footer>\n\t\t<button type=\"button\" class=\"pptx-ng-share-btn\" (click)=\"close.emit()\">\n\t\t\t{{ (active() ? 'pptx.common.close' : 'pptx.common.cancel') | translate }}\n\t\t</button>\n\t\t@if (!active()) {\n\t\t\t<button\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"pptx-ng-share-btn pptx-ng-share-btn-primary\"\n\t\t\t\t[disabled]=\"!canStart()\"\n\t\t\t\t(click)=\"handleStart()\"\n\t\t\t>\n\t\t\t\t{{ (mode() === 'join' ? 'pptx.share.joinSession' : 'pptx.share.startSharing') | translate }}\n\t\t\t</button>\n\t\t}\n\t</div>\n</pptx-modal-dialog>\n", styles: [".pptx-ng-share-form,.pptx-ng-share-active{display:flex;flex-direction:column;gap:1rem}.pptx-ng-share-desc{margin:0;font-size:.8125rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:.5rem;background:var(--pptx-muted, #2a2a2a)}.pptx-ng-share-tabs button{border:0;border-radius:.375rem;background:transparent;color:var(--pptx-muted-foreground, #9a9a9a);padding:.375rem .625rem;font:500 .75rem/1.2 inherit;cursor:pointer}.pptx-ng-share-tabs button[aria-selected=true]{background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-share-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-input{width:100%;min-width:0;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--pptx-border, #2a2a2a);background:var(--pptx-background, #111);color:var(--pptx-foreground, #e5e5e5);font-size:.8125rem;box-sizing:border-box}.pptx-ng-share-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1);box-shadow:0 0 0 1px var(--pptx-primary, #6366f1)}.pptx-ng-share-btn{padding:.375rem .75rem;border:none;border-radius:.375rem;background:var(--pptx-muted, #2a2a2a);color:var(--pptx-foreground, #e5e5e5);font-size:.75rem;cursor:pointer}.pptx-ng-share-btn-primary{background:var(--pptx-primary, #6366f1);color:var(--pptx-primary-foreground, #fff)}.pptx-ng-share-btn-primary:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-share-stop{width:100%;padding:.5rem .75rem;border:1px solid rgba(239,68,68,.3);border-radius:.375rem;background:#ef44441a;color:#f87171;font-size:.75rem;font-weight:500;cursor:pointer}.pptx-ng-share-stop:hover{background:#ef444433}.pptx-ng-share-status-row{display:flex;align-items:center;gap:.5rem;font-size:.8125rem}.pptx-ng-share-status-dot{width:.5rem;height:.5rem;border-radius:9999px;background:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-status-dot.is-on{background:#22c55e}.pptx-ng-share-status-text{font-weight:500;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-count{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-link-row{display:flex;align-items:center;gap:.5rem}.pptx-ng-share-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row{display:flex;align-items:center;flex-wrap:wrap;gap:.375rem .75rem;font-size:.6875rem;color:var(--pptx-muted-foreground, #9a9a9a)}.pptx-ng-share-details-row code{font-family:inherit;color:var(--pptx-foreground, #e5e5e5)}.pptx-ng-share-users{max-height:140px;overflow-y:auto;border:1px solid var(--pptx-border, #2a2a2a);border-radius:.375rem;background:var(--pptx-background, #111)}.pptx-ng-share-user{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem}.pptx-ng-share-user:not(:last-child){border-bottom:1px solid var(--pptx-border, #2a2a2a)}.pptx-ng-share-user-avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:9999px;color:#fff;font-size:.5625rem;font-weight:600}.pptx-ng-share-user-avatar img{width:100%;height:100%;border-radius:9999px;object-fit:cover}.pptx-ng-share-user-name{overflow:hidden;font-size:.75rem;color:var(--pptx-foreground, #e5e5e5);text-overflow:ellipsis;white-space:nowrap}.pptx-ng-share-user-meta{margin-left:auto;color:var(--pptx-muted-foreground, #9a9a9a);font-size:.625rem}@media(max-width:767px),(pointer:coarse){.pptx-ng-share-btn{min-height:44px;padding:.5rem .875rem;font-size:.8125rem}.pptx-ng-share-stop,.pptx-ng-share-tabs button{min-height:44px}.pptx-ng-share-input{min-height:44px;font-size:16px}}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
156153
156282
|
}
|
|
156154
156283
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: ShareDialogComponent, decorators: [{
|
|
156155
156284
|
type: Component,
|
|
@@ -164161,7 +164290,7 @@ class OleEditorDialogComponent {
|
|
|
164161
164290
|
</button>
|
|
164162
164291
|
</div>
|
|
164163
164292
|
</pptx-modal-dialog>
|
|
164164
|
-
`, isInline: true, styles: [".pptx-ole-edit-body{display:flex;flex-direction:column;gap:8px;width:min(88vw,560px);font-size:12px}.pptx-ole-edit-status{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ole-edit-error{margin:0;font-size:11px;color:var(--pptx-destructive, #ef4444)}.pptx-ole-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.pptx-ole-edit-file-input{display:none}.pptx-ole-edit-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ole-edit-btn:hover{background:var(--pptx-border, #374151)}.pptx-ole-edit-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ole-edit-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: OleSheetGridEditorComponent, selector: "pptx-ole-sheet-grid-editor", inputs: ["grid"], outputs: ["cellEdit"] }, { kind: "component", type: OleDocumentEditorComponent, selector: "pptx-ole-document-editor", inputs: ["paragraphs"], outputs: ["paragraphEdit"] }, { kind: "component", type: OleDeckEditorComponent, selector: "pptx-ole-deck-editor", inputs: ["slides"], outputs: ["deckElementEdit"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
164293
|
+
`, isInline: true, styles: [".pptx-ole-edit-body{display:flex;flex-direction:column;gap:8px;width:min(88vw,560px);font-size:12px}.pptx-ole-edit-status{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ole-edit-error{margin:0;font-size:11px;color:var(--pptx-destructive, #ef4444)}.pptx-ole-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.pptx-ole-edit-file-input{display:none}.pptx-ole-edit-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ole-edit-btn:hover{background:var(--pptx-border, #374151)}.pptx-ole-edit-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ole-edit-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: OleSheetGridEditorComponent, selector: "pptx-ole-sheet-grid-editor", inputs: ["grid"], outputs: ["cellEdit"] }, { kind: "component", type: OleDocumentEditorComponent, selector: "pptx-ole-document-editor", inputs: ["paragraphs"], outputs: ["paragraphEdit"] }, { kind: "component", type: OleDeckEditorComponent, selector: "pptx-ole-deck-editor", inputs: ["slides"], outputs: ["deckElementEdit"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
164165
164294
|
}
|
|
164166
164295
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: OleEditorDialogComponent, decorators: [{
|
|
164167
164296
|
type: Component,
|
|
@@ -175917,7 +176046,7 @@ class SlideTemplateGalleryDialogComponent {
|
|
|
175917
176046
|
</button>
|
|
175918
176047
|
</div>
|
|
175919
176048
|
</pptx-modal-dialog>
|
|
175920
|
-
`, isInline: true, styles: [".pptx-tpl-gallery{display:flex;flex-direction:column;gap:.5rem;min-width:min(86vw,560px)}.pptx-tpl-gallery__desc{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-tpl-gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:20rem;overflow-y:auto}.pptx-tpl-gallery__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-tpl-gallery__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-tpl-gallery__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-tpl-gallery__thumb{display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-tpl-gallery__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-tpl-gallery__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-tpl-gallery__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-tpl-gallery__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-tpl-gallery__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: SlideTemplatePreviewComponent, selector: "pptx-slide-template-preview", inputs: ["templateId", "scheme"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
176049
|
+
`, isInline: true, styles: [".pptx-tpl-gallery{display:flex;flex-direction:column;gap:.5rem;min-width:min(86vw,560px)}.pptx-tpl-gallery__desc{margin:0;font-size:11px;color:var(--pptx-muted-foreground, #6b7280)}.pptx-tpl-gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;max-height:20rem;overflow-y:auto}.pptx-tpl-gallery__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:transparent;color:inherit;cursor:pointer}.pptx-tpl-gallery__cell:hover{background:var(--pptx-accent, #f1f5f9)}.pptx-tpl-gallery__cell.is-selected{border-color:var(--pptx-primary, #2563eb);background:color-mix(in srgb,var(--pptx-primary, #2563eb) 18%,transparent)}.pptx-tpl-gallery__thumb{display:flex;align-items:center;justify-content:center;background:var(--pptx-muted, #f1f5f9);border-radius:4px}.pptx-tpl-gallery__cell-label{font-size:10px;text-align:center;line-height:1.15}.pptx-tpl-gallery__footer{display:flex;gap:.5rem;justify-content:flex-end}.pptx-tpl-gallery__btn{padding:.35rem .85rem;font-size:12px;border:1px solid var(--pptx-border, #e5e7eb);border-radius:4px;background:var(--pptx-muted, #f1f5f9);color:inherit;cursor:pointer}.pptx-tpl-gallery__btn--primary{background:var(--pptx-primary, #2563eb);border-color:var(--pptx-primary, #2563eb);color:#fff}.pptx-tpl-gallery__btn:disabled{opacity:.45;cursor:not-allowed}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: SlideTemplatePreviewComponent, selector: "pptx-slide-template-preview", inputs: ["templateId", "scheme"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
175921
176050
|
}
|
|
175922
176051
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SlideTemplateGalleryDialogComponent, decorators: [{
|
|
175923
176052
|
type: Component,
|
|
@@ -178267,7 +178396,7 @@ class EncryptedFileDialogComponent {
|
|
|
178267
178396
|
</button>
|
|
178268
178397
|
</div>
|
|
178269
178398
|
</pptx-modal-dialog>
|
|
178270
|
-
`, isInline: true, styles: [".pptx-ng-enc{display:flex;flex-direction:column;gap:1rem}.pptx-ng-enc-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;background:#ef44441f}.pptx-ng-enc-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-enc-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-enc-message{margin:0;font-size:.75rem;line-height:1.5;color:#fecaca}.pptx-ng-enc-instructions{margin:0;font-size:.6875rem;line-height:1.5;color:#fca5a5b3}.pptx-ng-enc-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer}.pptx-ng-enc-btn:hover{background:var(--pptx-border, #374151)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178399
|
+
`, isInline: true, styles: [".pptx-ng-enc{display:flex;flex-direction:column;gap:1rem}.pptx-ng-enc-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;background:#ef44441f}.pptx-ng-enc-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-enc-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-enc-message{margin:0;font-size:.75rem;line-height:1.5;color:#fecaca}.pptx-ng-enc-instructions{margin:0;font-size:.6875rem;line-height:1.5;color:#fca5a5b3}.pptx-ng-enc-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer}.pptx-ng-enc-btn:hover{background:var(--pptx-border, #374151)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178271
178400
|
}
|
|
178272
178401
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: EncryptedFileDialogComponent, decorators: [{
|
|
178273
178402
|
type: Component,
|
|
@@ -178535,7 +178664,7 @@ class EquationEditorDialogComponent {
|
|
|
178535
178664
|
</button>
|
|
178536
178665
|
</div>
|
|
178537
178666
|
</pptx-modal-dialog>
|
|
178538
|
-
`, isInline: true, styles: [".pptx-ng-eq{display:flex;flex-direction:column;gap:1rem;width:min(88vw,600px)}.pptx-ng-eq-preview{display:flex;align-items:center;justify-content:center;min-height:80px;padding:1rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827)}.pptx-ng-eq-math{font-size:1.5rem;color:var(--pptx-foreground, #f3f4f6);font-family:\"Cambria Math\",\"STIX Two Math\",serif}.pptx-ng-eq-placeholder{font-size:.8125rem;font-style:italic;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-eq-label{font-size:.75rem;font-weight:500;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-textarea{width:100%;height:6rem;padding:.5rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:none}.pptx-ng-eq-textarea:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-eq-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ng-eq-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-eq-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-eq-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ng-eq-btn-primary:hover:not(:disabled){filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: EquationTemplateGalleryComponent, selector: "pptx-equation-template-gallery", inputs: ["activeLatex"], outputs: ["select"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178667
|
+
`, isInline: true, styles: [".pptx-ng-eq{display:flex;flex-direction:column;gap:1rem;width:min(88vw,600px)}.pptx-ng-eq-preview{display:flex;align-items:center;justify-content:center;min-height:80px;padding:1rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827)}.pptx-ng-eq-math{font-size:1.5rem;color:var(--pptx-foreground, #f3f4f6);font-family:\"Cambria Math\",\"STIX Two Math\",serif}.pptx-ng-eq-placeholder{font-size:.8125rem;font-style:italic;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-eq-label{font-size:.75rem;font-weight:500;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-textarea{width:100%;height:6rem;padding:.5rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.5rem;background:var(--pptx-muted, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:none}.pptx-ng-eq-textarea:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-eq-hint{margin:0;font-size:.6875rem;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-eq-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;transition:background .15s ease}.pptx-ng-eq-btn:hover:not(:disabled){background:var(--pptx-border, #374151)}.pptx-ng-eq-btn:disabled{opacity:.4;cursor:not-allowed}.pptx-ng-eq-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff;font-weight:500}.pptx-ng-eq-btn-primary:hover:not(:disabled){filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: EquationTemplateGalleryComponent, selector: "pptx-equation-template-gallery", inputs: ["activeLatex"], outputs: ["select"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178539
178668
|
}
|
|
178540
178669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: EquationEditorDialogComponent, decorators: [{
|
|
178541
178670
|
type: Component,
|
|
@@ -178899,7 +179028,7 @@ class FontEmbeddingPanelComponent {
|
|
|
178899
179028
|
</button>
|
|
178900
179029
|
</div>
|
|
178901
179030
|
</pptx-modal-dialog>
|
|
178902
|
-
`, isInline: true, styles: [".pptx-ng-fonts{display:flex;flex-direction:column;gap:1rem}.pptx-ng-fonts-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.pptx-ng-fonts-switch{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:9999px;background:var(--pptx-muted-foreground, #6b7280);transition:background .15s ease}.pptx-ng-fonts-switch.is-on{background:var(--pptx-primary, #6366f1)}.pptx-ng-fonts-switch-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pptx-ng-fonts-switch-knob{position:absolute;top:.125rem;left:.125rem;width:1rem;height:1rem;border-radius:9999px;background:#fff;transition:transform .15s ease}.pptx-ng-fonts-switch-knob.is-on{transform:translate(1rem)}.pptx-ng-fonts-toggle.is-disabled{cursor:not-allowed;opacity:.6}.pptx-ng-fonts-toggle-label{font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-fonts-note{margin:-.5rem 0 0;font-size:.6875rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-done{padding:.375rem .75rem;font-size:.75rem;color:#fff;background:var(--pptx-primary, #6366f1);border:1px solid var(--pptx-primary, #6366f1);border-radius:.5rem;cursor:pointer;transition:filter .15s ease}.pptx-ng-fonts-done:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: FontEmbeddingListComponent, selector: "pptx-font-embedding-list", inputs: ["usedFontFamilies", "availableFamilies", "embeddedSet", "scanning", "missingCount"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179031
|
+
`, isInline: true, styles: [".pptx-ng-fonts{display:flex;flex-direction:column;gap:1rem}.pptx-ng-fonts-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.pptx-ng-fonts-switch{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:9999px;background:var(--pptx-muted-foreground, #6b7280);transition:background .15s ease}.pptx-ng-fonts-switch.is-on{background:var(--pptx-primary, #6366f1)}.pptx-ng-fonts-switch-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pptx-ng-fonts-switch-knob{position:absolute;top:.125rem;left:.125rem;width:1rem;height:1rem;border-radius:9999px;background:#fff;transition:transform .15s ease}.pptx-ng-fonts-switch-knob.is-on{transform:translate(1rem)}.pptx-ng-fonts-toggle.is-disabled{cursor:not-allowed;opacity:.6}.pptx-ng-fonts-toggle-label{font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-fonts-note{margin:-.5rem 0 0;font-size:.6875rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-fonts-done{padding:.375rem .75rem;font-size:.75rem;color:#fff;background:var(--pptx-primary, #6366f1);border:1px solid var(--pptx-primary, #6366f1);border-radius:.5rem;cursor:pointer;transition:filter .15s ease}.pptx-ng-fonts-done:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: FontEmbeddingListComponent, selector: "pptx-font-embedding-list", inputs: ["usedFontFamilies", "availableFamilies", "embeddedSet", "scanning", "missingCount"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178903
179032
|
}
|
|
178904
179033
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: FontEmbeddingPanelComponent, decorators: [{
|
|
178905
179034
|
type: Component,
|
|
@@ -179245,7 +179374,7 @@ class KeepAnnotationsDialogComponent {
|
|
|
179245
179374
|
</button>
|
|
179246
179375
|
</div>
|
|
179247
179376
|
</pptx-modal-dialog>
|
|
179248
|
-
`, isInline: true, styles: [".pptx-ng-keep{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-keep-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-keep-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-keep-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-keep-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-keep-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-keep-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179377
|
+
`, isInline: true, styles: [".pptx-ng-keep{display:flex;align-items:flex-start;gap:.75rem}.pptx-ng-keep-badge{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:9999px;background:#6366f126;font-size:1.125rem}.pptx-ng-keep-desc{margin:0;font-size:.8125rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-keep-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap}.pptx-ng-keep-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-keep-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-keep-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179249
179378
|
}
|
|
179250
179379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: KeepAnnotationsDialogComponent, decorators: [{
|
|
179251
179380
|
type: Component,
|
|
@@ -179567,7 +179696,7 @@ class PasswordProtectionDialogComponent {
|
|
|
179567
179696
|
</div>
|
|
179568
179697
|
</div>
|
|
179569
179698
|
</pptx-modal-dialog>
|
|
179570
|
-
`, isInline: true, styles: [".pptx-ng-pw{display:flex;flex-direction:column;gap:1rem}.pptx-ng-pw-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid rgba(34,197,94,.4);border-radius:.5rem;background:#22c55e1f;color:#22c55e;font-size:.75rem}.pptx-ng-pw-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-pw-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-pw-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-input-wrap{position:relative;display:flex;align-items:center}.pptx-ng-pw-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-pw-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-pw-toggle{position:absolute;right:.375rem;padding:.125rem .375rem;border:none;background:transparent;color:var(--pptx-muted-foreground, #9ca3af);font-size:.6875rem;cursor:pointer}.pptx-ng-pw-toggle:hover{color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-error{margin:0;font-size:.75rem;color:#f87171}.pptx-ng-pw-footer{display:flex;flex:1;align-items:center;justify-content:space-between}.pptx-ng-pw-footer-right{display:flex;gap:.5rem}.pptx-ng-pw-remove{border:none;background:transparent;color:#f87171;font-size:.75rem;cursor:pointer}.pptx-ng-pw-remove:hover{filter:brightness(1.15)}.pptx-ng-pw-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-pw-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-pw-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-pw-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: PasswordStrengthMeterComponent, selector: "pptx-password-strength-meter", inputs: ["password"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179699
|
+
`, isInline: true, styles: [".pptx-ng-pw{display:flex;flex-direction:column;gap:1rem}.pptx-ng-pw-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid rgba(34,197,94,.4);border-radius:.5rem;background:#22c55e1f;color:#22c55e;font-size:.75rem}.pptx-ng-pw-desc{margin:0;font-size:.75rem;line-height:1.5;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-pw-field{display:flex;flex-direction:column;gap:.375rem}.pptx-ng-pw-label{font-size:.75rem;font-weight:500;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-input-wrap{position:relative;display:flex;align-items:center}.pptx-ng-pw-input{width:100%;padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-background, #030712);color:var(--pptx-foreground, #f3f4f6);font-size:.8125rem}.pptx-ng-pw-input:focus{outline:none;border-color:var(--pptx-primary, #6366f1)}.pptx-ng-pw-toggle{position:absolute;right:.375rem;padding:.125rem .375rem;border:none;background:transparent;color:var(--pptx-muted-foreground, #9ca3af);font-size:.6875rem;cursor:pointer}.pptx-ng-pw-toggle:hover{color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-pw-error{margin:0;font-size:.75rem;color:#f87171}.pptx-ng-pw-footer{display:flex;flex:1;align-items:center;justify-content:space-between}.pptx-ng-pw-footer-right{display:flex;gap:.5rem}.pptx-ng-pw-remove{border:none;background:transparent;color:#f87171;font-size:.75rem;cursor:pointer}.pptx-ng-pw-remove:hover{filter:brightness(1.15)}.pptx-ng-pw-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-pw-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-pw-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-pw-btn-primary:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: PasswordStrengthMeterComponent, selector: "pptx-password-strength-meter", inputs: ["password"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
179571
179700
|
}
|
|
179572
179701
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PasswordProtectionDialogComponent, decorators: [{
|
|
179573
179702
|
type: Component,
|
|
@@ -180186,7 +180315,7 @@ class SetUpSlideShowDialogComponent {
|
|
|
180186
180315
|
</button>
|
|
180187
180316
|
</div>
|
|
180188
180317
|
</pptx-modal-dialog>
|
|
180189
|
-
`, isInline: true, styles: [".pptx-ng-sss-body{display:flex;flex-direction:column;gap:1.25rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-sss-fieldset{display:flex;flex-direction:column;gap:.375rem;margin:0;padding:0;border:none}.pptx-ng-sss-legend{margin-bottom:.25rem;padding:0;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-sss-option{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6);cursor:pointer}.pptx-ng-sss-radio{accent-color:var(--pptx-primary, #6366f1)}.pptx-ng-sss-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-sss-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sss-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-sss-btn-primary:hover{background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "component", type: ShowSlidesFieldsetComponent, selector: "pptx-show-slides-fieldset", inputs: ["draft", "showSlidesMode", "slideCount", "customShows"], outputs: ["patch"] }, { kind: "component", type: ShowOptionsFieldsetComponent, selector: "pptx-show-options-fieldset", inputs: ["draft"], outputs: ["patch"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
180318
|
+
`, isInline: true, styles: [".pptx-ng-sss-body{display:flex;flex-direction:column;gap:1.25rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6)}.pptx-ng-sss-fieldset{display:flex;flex-direction:column;gap:.375rem;margin:0;padding:0;border:none}.pptx-ng-sss-legend{margin-bottom:.25rem;padding:0;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:var(--pptx-muted-foreground, #9ca3af)}.pptx-ng-sss-option{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--pptx-foreground, #f3f4f6);cursor:pointer}.pptx-ng-sss-radio{accent-color:var(--pptx-primary, #6366f1)}.pptx-ng-sss-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s ease}.pptx-ng-sss-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sss-btn-primary{border-color:var(--pptx-primary, #6366f1);background:var(--pptx-primary, #6366f1);color:#fff}.pptx-ng-sss-btn-primary:hover{background:var(--pptx-primary, #6366f1);filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "component", type: ShowSlidesFieldsetComponent, selector: "pptx-show-slides-fieldset", inputs: ["draft", "showSlidesMode", "slideCount", "customShows"], outputs: ["patch"] }, { kind: "component", type: ShowOptionsFieldsetComponent, selector: "pptx-show-options-fieldset", inputs: ["draft"], outputs: ["patch"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
180190
180319
|
}
|
|
180191
180320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SetUpSlideShowDialogComponent, decorators: [{
|
|
180192
180321
|
type: Component,
|
|
@@ -182178,7 +182307,7 @@ class SignatureStrippedDialogComponent {
|
|
|
182178
182307
|
</button>
|
|
182179
182308
|
</div>
|
|
182180
182309
|
</pptx-modal-dialog>
|
|
182181
|
-
`, isInline: true, styles: [".pptx-ng-sig{display:flex;flex-direction:column;gap:1rem}.pptx-ng-sig-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(217,119,6,.3);border-radius:.5rem;background:#d977061f}.pptx-ng-sig-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-sig-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-sig-message{margin:0;font-size:.75rem;line-height:1.5;color:#fde68a}.pptx-ng-sig-warning{margin:0;font-size:.6875rem;line-height:1.5;color:#fcd34db3}.pptx-ng-sig-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-sig-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sig-btn-danger{border-color:#d97706;background:#d97706;color:#fff}.pptx-ng-sig-btn-danger:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
182310
|
+
`, isInline: true, styles: [".pptx-ng-sig{display:flex;flex-direction:column;gap:1rem}.pptx-ng-sig-callout{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(217,119,6,.3);border-radius:.5rem;background:#d977061f}.pptx-ng-sig-icon{flex-shrink:0;font-size:1.125rem;line-height:1.4}.pptx-ng-sig-text{display:flex;flex-direction:column;gap:.5rem}.pptx-ng-sig-message{margin:0;font-size:.75rem;line-height:1.5;color:#fde68a}.pptx-ng-sig-warning{margin:0;font-size:.6875rem;line-height:1.5;color:#fcd34db3}.pptx-ng-sig-btn{padding:.375rem .75rem;border:1px solid var(--pptx-border, #374151);border-radius:.375rem;background:var(--pptx-card, #111827);color:var(--pptx-foreground, #f3f4f6);font-size:.75rem;cursor:pointer;white-space:nowrap}.pptx-ng-sig-btn:hover{background:var(--pptx-border, #374151)}.pptx-ng-sig-btn-danger{border-color:#d97706;background:#d97706;color:#fff}.pptx-ng-sig-btn-danger:hover{filter:brightness(1.1)}\n"], dependencies: [{ kind: "component", type: ModalDialogComponent, selector: "pptx-modal-dialog", inputs: ["open", "title", "closeDisabled", "busy"], outputs: ["close"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
182182
182311
|
}
|
|
182183
182312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: SignatureStrippedDialogComponent, decorators: [{
|
|
182184
182313
|
type: Component,
|
|
@@ -182630,7 +182759,9 @@ class ViewerExtraDialogsComponent {
|
|
|
182630
182759
|
}
|
|
182631
182760
|
/** Options > Save > "Delete cached files": purge autosave recovery snapshots. */
|
|
182632
182761
|
onClearOptionsCache() {
|
|
182633
|
-
void this.viewerOpts.clearCache()
|
|
182762
|
+
void this.viewerOpts.clearCache().catch(() => {
|
|
182763
|
+
// Keep the options dialog usable when IndexedDB rejects cleanup.
|
|
182764
|
+
});
|
|
182634
182765
|
}
|
|
182635
182766
|
/** Drop the pending presentation ink. */
|
|
182636
182767
|
onDiscardAnnotations() {
|
|
@@ -184220,7 +184351,9 @@ class PowerPointViewerComponent {
|
|
|
184220
184351
|
this.viewerOpts.playFeedback();
|
|
184221
184352
|
const filePath = this.filePath();
|
|
184222
184353
|
if (format === 'pptx' && filePath && this.viewerOpts.shouldDiscardAutosaveOnSave()) {
|
|
184223
|
-
void deleteAutosaveSnapshot(filePath)
|
|
184354
|
+
void deleteAutosaveSnapshot(filePath).catch(() => {
|
|
184355
|
+
// Saving succeeded; recovery cleanup is best-effort here.
|
|
184356
|
+
});
|
|
184224
184357
|
}
|
|
184225
184358
|
},
|
|
184226
184359
|
});
|
|
@@ -184272,7 +184405,9 @@ class PowerPointViewerComponent {
|
|
|
184272
184405
|
// above covers the tab actually closing/navigating away).
|
|
184273
184406
|
this.destroyRef.onDestroy(() => {
|
|
184274
184407
|
if (this.viewerOpts.shouldClearCacheOnClose()) {
|
|
184275
|
-
void this.viewerOpts.clearCache()
|
|
184408
|
+
void this.viewerOpts.clearCache().catch(() => {
|
|
184409
|
+
// Browser lifecycle cleanup cannot report an IndexedDB failure.
|
|
184410
|
+
});
|
|
184276
184411
|
}
|
|
184277
184412
|
});
|
|
184278
184413
|
// Hand the canvas-editing controller the accessors it alone needs from the
|
|
@@ -184325,6 +184460,7 @@ class PowerPointViewerComponent {
|
|
|
184325
184460
|
// invisible to the user; the decision and the copy are the shared ones.
|
|
184326
184461
|
this.autosaveRecovery.bind({
|
|
184327
184462
|
filePath: () => this.filePath(),
|
|
184463
|
+
fileName: () => this.fileName(),
|
|
184328
184464
|
loading: () => this.loader.loading(),
|
|
184329
184465
|
error: () => this.loader.error(),
|
|
184330
184466
|
slideCount: () => this.displaySlidesMut().length,
|
|
@@ -185200,7 +185336,9 @@ class PowerPointViewerComponent {
|
|
|
185200
185336
|
/** Options > Save > "clear cache on close": wipe recovery snapshots when the tab closes. */
|
|
185201
185337
|
clearCacheOnUnload() {
|
|
185202
185338
|
if (this.viewerOpts.shouldClearCacheOnClose()) {
|
|
185203
|
-
void this.viewerOpts.clearCache()
|
|
185339
|
+
void this.viewerOpts.clearCache().catch(() => {
|
|
185340
|
+
// Browser lifecycle cleanup cannot report an IndexedDB failure.
|
|
185341
|
+
});
|
|
185204
185342
|
}
|
|
185205
185343
|
}
|
|
185206
185344
|
/** Resolve the live slide-stage element within `<main>`. */
|
|
@@ -185978,6 +186116,7 @@ class PowerPointViewerComponent {
|
|
|
185978
186116
|
action-button clicks. The offer is deferred, not dropped. -->
|
|
185979
186117
|
<pptx-autosave-recovery-dialog
|
|
185980
186118
|
[prompt]="visibleRecoveryPrompt()"
|
|
186119
|
+
[discarding]="autosaveRecovery.discarding()"
|
|
185981
186120
|
(restore)="autosaveRecovery.restore()"
|
|
185982
186121
|
(discard)="autosaveRecovery.discard()"
|
|
185983
186122
|
/>
|
|
@@ -186174,7 +186313,7 @@ class PowerPointViewerComponent {
|
|
|
186174
186313
|
(dismissAll)="loadNotices.dismissAllToasts()"
|
|
186175
186314
|
/>
|
|
186176
186315
|
</div>
|
|
186177
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "fitPadding", "maxFitScale", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "gridSpacing", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "exposeElementIds", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "transformEnd", "adjustUpdate", "connectorEndpointUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "listSession", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationOverlayComponent, selector: "pptx-presentation-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "startIndex", "activeCustomShow", "authoredRange", "loopContinuously", "showWithAnimation", "useTimings", "subtitlesVisible", "sessionEnded", "endWithBlackSlide", "pixelateMosaicAnimation", "presenterMode", "showMenuOnRightClick", "showPopupToolbar"], outputs: ["indexChange", "closed", "subtitlesChange", "presenterViewToggle", "annotationsExit", "customShowRequest", "endOfShowChange"] }, { kind: "component", type: PresenterViewComponent, selector: "pptx-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime", "isAudienceWindowOpen"], outputs: ["movePresentationSlide", "exit", "openAudienceWindow", "closeAudienceWindow", "navigateToSlide"] }, { kind: "component", type: MobilePresenterViewComponent, selector: "pptx-mobile-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime"], outputs: ["movePresentationSlide", "exit"] }, { kind: "component", type: SlideSorterOverlayComponent, selector: "pptx-slide-sorter-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeIndex", "canEdit"], outputs: ["select", "closed", "deleteSlide", "duplicateSlide", "toggleHiddenSlide"] }, { kind: "component", type: OutlineViewOverlayComponent, selector: "pptx-outline-view-overlay", inputs: ["slides", "canvasSize", "canEdit"], outputs: ["commit", "closed"] }, { kind: "component", type: ReadingViewOverlayComponent, selector: "pptx-reading-view-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeSlideIndex"], outputs: ["exit"] }, { kind: "component", type: SlideDefaultInspectorComponent, selector: "pptx-slide-default-inspector", inputs: ["slideIndex", "canEdit", "selectedElement", "comments", "modernCommentAuthors"], outputs: ["commentAdd", "commentRemove", "commentResolve", "commentReply"] }, { kind: "component", type: FindBarComponent, selector: "pptx-find-bar", inputs: ["slides"], outputs: ["navigate", "closed"] }, { kind: "component", type: FindReplaceBarComponent, selector: "pptx-find-replace-bar", inputs: ["matchCount", "matchIndex"], outputs: ["find", "navigate", "replaceOne", "replaceAll", "close"] }, { kind: "component", type: SlidesPanelComponent, selector: "pptx-slides-panel", inputs: ["canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["select"] }, { kind: "component", type: StatusBarComponent, selector: "pptx-status-bar", inputs: ["slideIndex", "slideCount", "canEdit", "dirty", "autosaveStatus", "notesOpen", "zoomPercent", "sorterActive", "presenting", "hiddenActions"], outputs: ["toggleNotes", "normalView", "openSorter", "slideShow", "zoomIn", "zoomOut", "zoomReset"] }, { kind: "component", type: EditorContextMenuComponent, selector: "pptx-editor-context-menu", inputs: ["x", "y", "slideIndex", "showAiActions"], outputs: ["closed", "askAi", "fixAi", "editHyperlink", "addComment"] }, { kind: "component", type: ExportProgressModalComponent, selector: "pptx-export-progress-modal", inputs: ["open", "title", "progress", "statusMessage"], outputs: ["cancel"] }, { kind: "component", type: CommentMarkersOverlayComponent, selector: "pptx-comment-markers-overlay", inputs: ["comments", "canvasSize"], outputs: ["markerClick"] }, { kind: "component", type: CommentsPanelComponent, selector: "pptx-comments-panel", inputs: ["comments", "authorName", "modernCommentAuthors"], outputs: ["add", "remove", "resolve", "reply"] }, { kind: "component", type: CompatToastsComponent, selector: "pptx-compat-toasts", inputs: ["toasts", "rightInset", "bottomInset"], outputs: ["dismissOne", "dismissAll"] }, { kind: "component", type: ReadOnlyBannerComponent, selector: "pptx-readonly-banner", inputs: ["kind", "messageKey", "passwordPromptOpen", "passwordError", "checkingPassword"], outputs: ["editAnyway", "dismiss", "submitPassword", "cancelPassword"] }, { kind: "component", type: SignaturesPanelComponent, selector: "pptx-signatures-panel", inputs: ["signatures"] }, { kind: "component", type: AccessibilityPanelComponent, selector: "pptx-accessibility-panel", inputs: ["issues"], outputs: ["selectSlide"] }, { kind: "component", type: CollaborationCursorsComponent, selector: "pptx-collaboration-cursors", inputs: ["cursors", "zoom"] }, { kind: "component", type: RemoteSelectionOverlayComponent, selector: "pptx-remote-selection-overlay", inputs: ["presences", "elements", "activeSlideIndex", "zoom"] }, { kind: "component", type: MotionPathOverlayComponent, selector: "pptx-motion-path-overlay", inputs: ["element", "animations", "canvasSize", "canEdit"], outputs: ["pathChange"] }, { kind: "component", type: FollowModeBarComponent, selector: "pptx-follow-mode-bar", inputs: ["presences", "followedClientId"], outputs: ["follow"] }, { kind: "component", type: PropertiesDialogComponent, selector: "pptx-properties-dialog", inputs: ["open", "properties"], outputs: ["save", "close"] }, { kind: "component", type: HyperlinkDialogComponent, selector: "pptx-hyperlink-dialog", inputs: ["open", "element"], outputs: ["save", "close"] }, { kind: "component", type: PrintDialogComponent, selector: "pptx-print-dialog", inputs: ["slides", "activeSlideIndex", "defaultSlidesPerPage", "defaultFrameSlides", "defaultSettings"], outputs: ["print", "cancel"] }, { kind: "component", type: ShareDialogComponent, selector: "pptx-share-dialog", inputs: ["open", "defaults", "active", "connected", "userCount", "shareUrl", "p2p", "activeRoomId", "activeServerUrl", "users"], outputs: ["start", "stop", "close"] }, { kind: "component", type: BroadcastDialogComponent, selector: "pptx-broadcast-dialog", inputs: ["open", "defaults", "active", "connected", "viewerCount", "viewerUrl", "p2p"], outputs: ["start", "stop", "close"] }, { kind: "component", type: MobileBottomBarComponent, selector: "pptx-mobile-bottom-bar", inputs: ["slideCount", "commentCount", "activeSheet"], outputs: ["openSlides", "insert", "openFormat", "openComments", "notes"] }, { kind: "component", type: MobileMenuSheetComponent, selector: "pptx-mobile-menu-sheet", inputs: ["open", "slideCount", "exporting", "showNotes", "canEdit", "hiddenActions"], outputs: ["closed", "openFind", "openSorter", "toggleNotes", "insertText", "present", "openFile", "savePptx", "exportPng", "exportPdf", "exportGif", "exportVideo", "print"] }, { kind: "component", type: MobileSlidesSheetComponent, selector: "pptx-mobile-slides-sheet", inputs: ["open", "slides", "canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["closed", "jumpToSlide"] }, { kind: "component", type: MobileToolbarComponent, selector: "pptx-mobile-toolbar", inputs: ["canUndo", "canRedo", "canPresent", "canEdit", "menuOpen", "aiEnabled", "aiPanelOpen", "hiddenActions"], outputs: ["toggleMenu", "toggleAiPanel", "undo", "redo", "share", "save", "present"] }, { kind: "component", type: MasterViewCanvasComponent, selector: "pptx-master-view-canvas", inputs: ["tab", "slideMasters", "activeMasterIndex", "activeLayoutIndex", "notesMaster", "handoutMaster", "canvasSize", "notesCanvasSize", "mediaDataUrls", "editable"], outputs: ["notesMasterChange", "handoutMasterChange", "slideMastersChange"] }, { kind: "component", type: MasterViewSidebarComponent, selector: "pptx-master-view-sidebar", inputs: ["tab", "slideMasters", "notesMaster", "handoutMaster", "activeMasterIndex", "activeLayoutIndex", "handoutSlidesPerPage", "editable", "crudActions"], outputs: ["tabChange", "selectMaster", "selectLayout", "slidesPerPageChange", "backgroundChange", "close", "crudAction"] }, { kind: "component", type: NotesPanelComponent, selector: "pptx-notes-panel", inputs: ["slide", "expanded", "notesStyle"], outputs: ["update", "notesToggle"] }, { kind: "component", type: QuickAccessStripComponent, selector: "pptx-quick-access-strip", inputs: ["quickAccess", "canUndo", "canRedo"], outputs: ["command"] }, { kind: "component", type: RibbonComponent, selector: "pptx-ribbon", inputs: ["slideIndex", "slideCount", "canEdit", "selectedElement", "zoomPercent", "formatPainterActive", "canActivateFormatPainter", "exporting", "hasMacros", "showGrid", "showRulers", "showGuides", "snapToGrid", "snapToShape", "eyedropperActive", "themeGalleryOpen", "sidebarCollapsed", "inspectorOpen", "commentsOpen", "commentCount", "findOpen", "collabConnected", "connectedCount", "spellCheckEnabled", "showSubtitles", "hiddenActions", "aiEnabled", "aiPanelOpen", "accountAuth", "activeSlideHidden"], outputs: ["prev", "next", "zoomIn", "zoomOut", "zoomReset", "find", "present", "presenter", "record", "presentFromBeginning", "rehearseTimings", "toggleSubtitles", "openSubtitleSettings", "recordFromBeginning", "recordFromCurrent", "spellCheckChange", "share", "broadcast", "openFile", "openRecentFile", "createPresentation", "save", "savePpsx", "savePptm", "savePpt", "toggleSidebar", "toggleAiPanel", "signatures", "info", "print", "comments", "a11y", "shortcuts", "versionHistory", "passwordProtection", "fontEmbedding", "link", "openSorter", "openReadingView", "openOutlineView", "openMasterView", "toggleNotes", "toggleFormatPainter", "exportPng", "exportPdf", "exportGif", "exportVideo", "exportJson", "copySlideAsImage", "replace", "toggleInspector", "openAnimationPanel", "drawToolChange", "toggleThemeGallery", "editTheme", "openSlideSize", "toggleGrid", "toggleRulers", "toggleGuides", "toggleSelectionPane", "openCustomShows", "toggleSnapToGrid", "toggleSnapToShape", "addGuide", "zoomToFit", "toggleEyedropper", "openSmartArtDialog", "openTemplateGallery", "openEquationDialog", "openSetUpSlideShow", "toggleHideSlide", "openCompare", "openPassword", "openFontEmbedding", "openVersionHistory", "openShortcuts", "openSettings"] }, { kind: "component", type: TitleBarComponent, selector: "pptx-title-bar", inputs: ["canEdit", "fileName", "isDirty", "autosaveStatus", "autosaveEnabled", "canUndo", "canRedo", "undoLabel", "redoLabel", "findReplaceOpen", "hiddenActions", "quickAccess"], outputs: ["toggleAutosave", "save", "undo", "redo", "quickCommand", "toggleFindReplace", "commandSearch"] }, { kind: "component", type: ThemeGalleryComponent, selector: "pptx-theme-gallery", inputs: ["open", "activeName", "theme", "startCustomizing"], outputs: ["applyTheme", "applyCustomTheme", "close"] }, { kind: "component", type: SelectionPaneComponent, selector: "pptx-selection-pane", inputs: ["elements", "selectedIds"], outputs: ["selectElement", "bringForward", "sendBackward", "toggleHidden", "renameElement"] }, { kind: "component", type: CustomShowsComponent, selector: "pptx-custom-shows", inputs: ["open", "slides", "customShows", "activeCustomShowId"], outputs: ["create", "remove", "update", "setActive", "close"] }, { kind: "component", type: InsertSmartArtDialogComponent, selector: "pptx-insert-smart-art-dialog", inputs: ["open"], outputs: ["close", "insert"] }, { kind: "component", type: SlideTemplateGalleryDialogComponent, selector: "pptx-slide-template-gallery-dialog", inputs: ["open", "scheme"], outputs: ["close", "insert"] }, { kind: "component", type: ViewerExtraDialogsComponent, selector: "pptx-viewer-extra-dialogs", inputs: ["activeSlideIndex", "selectedElementId", "filePath", "customShows", "themeKey", "availableThemes", "localeCode", "availableLocales", "aiExportVisible"], outputs: ["restoreContent", "themeKeySelect", "localeSelect"] }, { kind: "component", type: AutosaveRecoveryDialogComponent, selector: "pptx-autosave-recovery-dialog", inputs: ["prompt"], outputs: ["restore", "discard"] }, { kind: "component", type: RehearseTimingsComponent, selector: "pptx-rehearse-timings", inputs: ["summary", "paused", "slideStartedAt", "presentationStartedAt", "timings"], outputs: ["togglePause", "save", "discard"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [/* @ts-ignore */
|
|
186316
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SlideCanvasComponent, selector: "pptx-slide-canvas", inputs: ["slide", "canvasSize", "mediaDataUrls", "zoom", "fitPadding", "maxFitScale", "editable", "showGrid", "showRulers", "rulerUnit", "showGuides", "snapToGrid", "gridSpacing", "snapToShape", "guideCommand", "spellCheck", "snapToGuides", "autoFit", "transparentBackground", "interactive", "exposeElementIds", "presenting", "selectedIds", "editingId", "editTemplateMode", "templateElements", "aiHighlights", "aiActive", "aiActiveSlideIndex", "aiChangeBatch", "aiPickMode", "drawTool", "drawColor", "drawWidth"], outputs: ["elementSelect", "backgroundClick", "transformStart", "transformUpdate", "transformEnd", "adjustUpdate", "connectorEndpointUpdate", "contextMenu", "textEditStart", "textCommit", "textInput", "textCancel", "textFormat", "listSession", "rotateUpdate", "marqueeSelect", "inkStrokeComplete", "eraserHit", "cellCommit", "tableChange"] }, { kind: "component", type: PresentationOverlayComponent, selector: "pptx-presentation-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "startIndex", "activeCustomShow", "authoredRange", "loopContinuously", "showWithAnimation", "useTimings", "subtitlesVisible", "sessionEnded", "endWithBlackSlide", "pixelateMosaicAnimation", "presenterMode", "showMenuOnRightClick", "showPopupToolbar"], outputs: ["indexChange", "closed", "subtitlesChange", "presenterViewToggle", "annotationsExit", "customShowRequest", "endOfShowChange"] }, { kind: "component", type: PresenterViewComponent, selector: "pptx-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime", "isAudienceWindowOpen"], outputs: ["movePresentationSlide", "exit", "openAudienceWindow", "closeAudienceWindow", "navigateToSlide"] }, { kind: "component", type: MobilePresenterViewComponent, selector: "pptx-mobile-presenter-view", inputs: ["slides", "currentSlideIndex", "activeCustomShow", "authoredRange", "canvasSize", "templateElements", "mediaDataUrls", "presentationStartTime"], outputs: ["movePresentationSlide", "exit"] }, { kind: "component", type: SlideSorterOverlayComponent, selector: "pptx-slide-sorter-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeIndex", "canEdit"], outputs: ["select", "closed", "deleteSlide", "duplicateSlide", "toggleHiddenSlide"] }, { kind: "component", type: OutlineViewOverlayComponent, selector: "pptx-outline-view-overlay", inputs: ["slides", "canvasSize", "canEdit"], outputs: ["commit", "closed"] }, { kind: "component", type: ReadingViewOverlayComponent, selector: "pptx-reading-view-overlay", inputs: ["slides", "canvasSize", "mediaDataUrls", "activeSlideIndex"], outputs: ["exit"] }, { kind: "component", type: SlideDefaultInspectorComponent, selector: "pptx-slide-default-inspector", inputs: ["slideIndex", "canEdit", "selectedElement", "comments", "modernCommentAuthors"], outputs: ["commentAdd", "commentRemove", "commentResolve", "commentReply"] }, { kind: "component", type: FindBarComponent, selector: "pptx-find-bar", inputs: ["slides"], outputs: ["navigate", "closed"] }, { kind: "component", type: FindReplaceBarComponent, selector: "pptx-find-replace-bar", inputs: ["matchCount", "matchIndex"], outputs: ["find", "navigate", "replaceOne", "replaceAll", "close"] }, { kind: "component", type: SlidesPanelComponent, selector: "pptx-slides-panel", inputs: ["canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["select"] }, { kind: "component", type: StatusBarComponent, selector: "pptx-status-bar", inputs: ["slideIndex", "slideCount", "canEdit", "dirty", "autosaveStatus", "notesOpen", "zoomPercent", "sorterActive", "presenting", "hiddenActions"], outputs: ["toggleNotes", "normalView", "openSorter", "slideShow", "zoomIn", "zoomOut", "zoomReset"] }, { kind: "component", type: EditorContextMenuComponent, selector: "pptx-editor-context-menu", inputs: ["x", "y", "slideIndex", "showAiActions"], outputs: ["closed", "askAi", "fixAi", "editHyperlink", "addComment"] }, { kind: "component", type: ExportProgressModalComponent, selector: "pptx-export-progress-modal", inputs: ["open", "title", "progress", "statusMessage"], outputs: ["cancel"] }, { kind: "component", type: CommentMarkersOverlayComponent, selector: "pptx-comment-markers-overlay", inputs: ["comments", "canvasSize"], outputs: ["markerClick"] }, { kind: "component", type: CommentsPanelComponent, selector: "pptx-comments-panel", inputs: ["comments", "authorName", "modernCommentAuthors"], outputs: ["add", "remove", "resolve", "reply"] }, { kind: "component", type: CompatToastsComponent, selector: "pptx-compat-toasts", inputs: ["toasts", "rightInset", "bottomInset"], outputs: ["dismissOne", "dismissAll"] }, { kind: "component", type: ReadOnlyBannerComponent, selector: "pptx-readonly-banner", inputs: ["kind", "messageKey", "passwordPromptOpen", "passwordError", "checkingPassword"], outputs: ["editAnyway", "dismiss", "submitPassword", "cancelPassword"] }, { kind: "component", type: SignaturesPanelComponent, selector: "pptx-signatures-panel", inputs: ["signatures"] }, { kind: "component", type: AccessibilityPanelComponent, selector: "pptx-accessibility-panel", inputs: ["issues"], outputs: ["selectSlide"] }, { kind: "component", type: CollaborationCursorsComponent, selector: "pptx-collaboration-cursors", inputs: ["cursors", "zoom"] }, { kind: "component", type: RemoteSelectionOverlayComponent, selector: "pptx-remote-selection-overlay", inputs: ["presences", "elements", "activeSlideIndex", "zoom"] }, { kind: "component", type: MotionPathOverlayComponent, selector: "pptx-motion-path-overlay", inputs: ["element", "animations", "canvasSize", "canEdit"], outputs: ["pathChange"] }, { kind: "component", type: FollowModeBarComponent, selector: "pptx-follow-mode-bar", inputs: ["presences", "followedClientId"], outputs: ["follow"] }, { kind: "component", type: PropertiesDialogComponent, selector: "pptx-properties-dialog", inputs: ["open", "properties"], outputs: ["save", "close"] }, { kind: "component", type: HyperlinkDialogComponent, selector: "pptx-hyperlink-dialog", inputs: ["open", "element"], outputs: ["save", "close"] }, { kind: "component", type: PrintDialogComponent, selector: "pptx-print-dialog", inputs: ["slides", "activeSlideIndex", "defaultSlidesPerPage", "defaultFrameSlides", "defaultSettings"], outputs: ["print", "cancel"] }, { kind: "component", type: ShareDialogComponent, selector: "pptx-share-dialog", inputs: ["open", "defaults", "active", "connected", "userCount", "shareUrl", "p2p", "activeRoomId", "activeServerUrl", "users"], outputs: ["start", "stop", "close"] }, { kind: "component", type: BroadcastDialogComponent, selector: "pptx-broadcast-dialog", inputs: ["open", "defaults", "active", "connected", "viewerCount", "viewerUrl", "p2p"], outputs: ["start", "stop", "close"] }, { kind: "component", type: MobileBottomBarComponent, selector: "pptx-mobile-bottom-bar", inputs: ["slideCount", "commentCount", "activeSheet"], outputs: ["openSlides", "insert", "openFormat", "openComments", "notes"] }, { kind: "component", type: MobileMenuSheetComponent, selector: "pptx-mobile-menu-sheet", inputs: ["open", "slideCount", "exporting", "showNotes", "canEdit", "hiddenActions"], outputs: ["closed", "openFind", "openSorter", "toggleNotes", "insertText", "present", "openFile", "savePptx", "exportPng", "exportPdf", "exportGif", "exportVideo", "print"] }, { kind: "component", type: MobileSlidesSheetComponent, selector: "pptx-mobile-slides-sheet", inputs: ["open", "slides", "canvasSize", "mediaDataUrls", "activeIndex"], outputs: ["closed", "jumpToSlide"] }, { kind: "component", type: MobileToolbarComponent, selector: "pptx-mobile-toolbar", inputs: ["canUndo", "canRedo", "canPresent", "canEdit", "menuOpen", "aiEnabled", "aiPanelOpen", "hiddenActions"], outputs: ["toggleMenu", "toggleAiPanel", "undo", "redo", "share", "save", "present"] }, { kind: "component", type: MasterViewCanvasComponent, selector: "pptx-master-view-canvas", inputs: ["tab", "slideMasters", "activeMasterIndex", "activeLayoutIndex", "notesMaster", "handoutMaster", "canvasSize", "notesCanvasSize", "mediaDataUrls", "editable"], outputs: ["notesMasterChange", "handoutMasterChange", "slideMastersChange"] }, { kind: "component", type: MasterViewSidebarComponent, selector: "pptx-master-view-sidebar", inputs: ["tab", "slideMasters", "notesMaster", "handoutMaster", "activeMasterIndex", "activeLayoutIndex", "handoutSlidesPerPage", "editable", "crudActions"], outputs: ["tabChange", "selectMaster", "selectLayout", "slidesPerPageChange", "backgroundChange", "close", "crudAction"] }, { kind: "component", type: NotesPanelComponent, selector: "pptx-notes-panel", inputs: ["slide", "expanded", "notesStyle"], outputs: ["update", "notesToggle"] }, { kind: "component", type: QuickAccessStripComponent, selector: "pptx-quick-access-strip", inputs: ["quickAccess", "canUndo", "canRedo"], outputs: ["command"] }, { kind: "component", type: RibbonComponent, selector: "pptx-ribbon", inputs: ["slideIndex", "slideCount", "canEdit", "selectedElement", "zoomPercent", "formatPainterActive", "canActivateFormatPainter", "exporting", "hasMacros", "showGrid", "showRulers", "showGuides", "snapToGrid", "snapToShape", "eyedropperActive", "themeGalleryOpen", "sidebarCollapsed", "inspectorOpen", "commentsOpen", "commentCount", "findOpen", "collabConnected", "connectedCount", "spellCheckEnabled", "showSubtitles", "hiddenActions", "aiEnabled", "aiPanelOpen", "accountAuth", "activeSlideHidden"], outputs: ["prev", "next", "zoomIn", "zoomOut", "zoomReset", "find", "present", "presenter", "record", "presentFromBeginning", "rehearseTimings", "toggleSubtitles", "openSubtitleSettings", "recordFromBeginning", "recordFromCurrent", "spellCheckChange", "share", "broadcast", "openFile", "openRecentFile", "createPresentation", "save", "savePpsx", "savePptm", "savePpt", "toggleSidebar", "toggleAiPanel", "signatures", "info", "print", "comments", "a11y", "shortcuts", "versionHistory", "passwordProtection", "fontEmbedding", "link", "openSorter", "openReadingView", "openOutlineView", "openMasterView", "toggleNotes", "toggleFormatPainter", "exportPng", "exportPdf", "exportGif", "exportVideo", "exportJson", "copySlideAsImage", "replace", "toggleInspector", "openAnimationPanel", "drawToolChange", "toggleThemeGallery", "editTheme", "openSlideSize", "toggleGrid", "toggleRulers", "toggleGuides", "toggleSelectionPane", "openCustomShows", "toggleSnapToGrid", "toggleSnapToShape", "addGuide", "zoomToFit", "toggleEyedropper", "openSmartArtDialog", "openTemplateGallery", "openEquationDialog", "openSetUpSlideShow", "toggleHideSlide", "openCompare", "openPassword", "openFontEmbedding", "openVersionHistory", "openShortcuts", "openSettings"] }, { kind: "component", type: TitleBarComponent, selector: "pptx-title-bar", inputs: ["canEdit", "fileName", "isDirty", "autosaveStatus", "autosaveEnabled", "canUndo", "canRedo", "undoLabel", "redoLabel", "findReplaceOpen", "hiddenActions", "quickAccess"], outputs: ["toggleAutosave", "save", "undo", "redo", "quickCommand", "toggleFindReplace", "commandSearch"] }, { kind: "component", type: ThemeGalleryComponent, selector: "pptx-theme-gallery", inputs: ["open", "activeName", "theme", "startCustomizing"], outputs: ["applyTheme", "applyCustomTheme", "close"] }, { kind: "component", type: SelectionPaneComponent, selector: "pptx-selection-pane", inputs: ["elements", "selectedIds"], outputs: ["selectElement", "bringForward", "sendBackward", "toggleHidden", "renameElement"] }, { kind: "component", type: CustomShowsComponent, selector: "pptx-custom-shows", inputs: ["open", "slides", "customShows", "activeCustomShowId"], outputs: ["create", "remove", "update", "setActive", "close"] }, { kind: "component", type: InsertSmartArtDialogComponent, selector: "pptx-insert-smart-art-dialog", inputs: ["open"], outputs: ["close", "insert"] }, { kind: "component", type: SlideTemplateGalleryDialogComponent, selector: "pptx-slide-template-gallery-dialog", inputs: ["open", "scheme"], outputs: ["close", "insert"] }, { kind: "component", type: ViewerExtraDialogsComponent, selector: "pptx-viewer-extra-dialogs", inputs: ["activeSlideIndex", "selectedElementId", "filePath", "customShows", "themeKey", "availableThemes", "localeCode", "availableLocales", "aiExportVisible"], outputs: ["restoreContent", "themeKeySelect", "localeSelect"] }, { kind: "component", type: AutosaveRecoveryDialogComponent, selector: "pptx-autosave-recovery-dialog", inputs: ["prompt", "discarding"], outputs: ["restore", "discard"] }, { kind: "component", type: RehearseTimingsComponent, selector: "pptx-rehearse-timings", inputs: ["summary", "paused", "slideStartedAt", "presentationStartedAt", "timings"], outputs: ["togglePause", "save", "discard"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [/* @ts-ignore */
|
|
186178
186317
|
Promise.resolve().then(function () { return aiChatPanel_component; }).then(m => m.AiChatPanelComponent)]] }); }
|
|
186179
186318
|
}
|
|
186180
186319
|
i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.1.6", ngImport: i0, type: PowerPointViewerComponent, resolveDeferredDeps: () => [/* @ts-ignore */
|
|
@@ -187009,6 +187148,7 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.1.6", ng
|
|
|
187009
187148
|
action-button clicks. The offer is deferred, not dropped. -->
|
|
187010
187149
|
<pptx-autosave-recovery-dialog
|
|
187011
187150
|
[prompt]="visibleRecoveryPrompt()"
|
|
187151
|
+
[discarding]="autosaveRecovery.discarding()"
|
|
187012
187152
|
(restore)="autosaveRecovery.restore()"
|
|
187013
187153
|
(discard)="autosaveRecovery.discard()"
|
|
187014
187154
|
/>
|
|
@@ -189623,4 +189763,4 @@ function cn(...values) {
|
|
|
189623
189763
|
*/
|
|
189624
189764
|
|
|
189625
189765
|
export { CollaborationCursorsComponent as $, AFTER_ANIMATION_VALUES as A, AnimationAuthorPanelComponent as B, AnimationPanelComponent as C, AnimationPlaybackService as D, AutosaveRecoveryDialogComponent as E, AutosaveService as F, BroadcastDialogComponent as G, CHART_EDITOR_STYLES as H, CINEMATIC_TRANSITION_KEYFRAMES as I, CURSOR_PALETTE as J, CanvasFitService as K, ChartAxisOptionsComponent as L, ChartAxisStyleOptionsComponent as M, ChartComboTypeOptionsComponent as N, ChartDataEditorComponent as O, ChartDataLabelOptionsComponent as P, ChartDatapointMarkerOptionsComponent as Q, ChartDatapointOptionsComponent as R, ChartDisplayOptionsComponent as S, ChartElementViewComponent as T, ChartErrorBarOptionsComponent as U, ChartMarkerOptionsComponent as V, ChartPartSelectionService as W, ChartPrimitivesComponent as X, ChartRendererComponent as Y, ChartTrendlineOptionsComponent as Z, ChartTypeSelectorComponent as _, ALIGN_OPTIONS as a, INSTANT as a$, CollaborationService as a0, ColorChangedImageComponent as a1, CommentMarkersOverlayComponent as a2, CommentsPanelComponent as a3, CommentsService as a4, ComparePanelComponent as a5, ConnectorRendererComponent as a6, ConnectorTextOverlayComponent as a7, CustomShowsComponent as a8, DEFAULT_BOUNDS as a9, EditorContextMenuComponent as aA, EditorHistory as aB, EditorStateService as aC, EditorToolbarComponent as aD, EffectsPanelComponent as aE, ElementRendererComponent as aF, EmbeddedFontsService as aG, EncryptedFileDialogComponent as aH, EquationEditorDialogComponent as aI, EquationRendererComponent as aJ, EquationTemplateGalleryComponent as aK, ExportProgressModalComponent as aL, ExportService as aM, FieldContextService as aN, FindBarComponent as aO, FindReplaceBarComponent as aP, FollowModeBarComponent as aQ, FontEmbeddingListComponent as aR, FontEmbeddingPanelComponent as aS, GALLERY_THEME_PRESETS as aT, GOOGLE_WEBFONTS_LINK_ID as aU, GRIDLINE_COLOR$1 as aV, GoogleWebfontsService as aW, GradientPickerComponent as aX, HANDOUT_OPTIONS as aY, HeaderFooterDialogComponent as aZ, HyperlinkDialogComponent as a_, DEFAULT_BROADCAST_SERVER_URL as aa, DEFAULT_CANVAS_HEIGHT as ab, DEFAULT_CANVAS_WIDTH as ac, DEFAULT_COLOR_SCHEME as ad, DEFAULT_FILL_COLOR$1 as ae, DEFAULT_LAYOUT as af, DEFAULT_MORPH_DURATION_MS as ag, DEFAULT_PALETTE$1 as ah, DEFAULT_PATTERN_FILL_PRESET as ai, DEFAULT_PRINT_SETTINGS as aj, DEFAULT_SLIDE_BACKGROUND as ak, DEFAULT_STROKE_COLOR as al, DEFAULT_STYLE as am, DEFAULT_TABLE_ROW_HEIGHT as an, DEFAULT_TEXT_COLOR$2 as ao, DEFAULT_VIEWER_PROFILE as ap, DIRECTIONAL_PRESETS as aq, DIRECTION_OPTIONS as ar, DocumentPropertiesCardComponent as as, EASE as at, EFFECT_SOUND_CATALOGUE as au, EMBEDDED_FONTS_STYLE_ID as av, EMPHASIS_PRESETS as aw, ENTRANCE_PRESETS as ax, TEMPLATES as ay, EXIT_PRESETS as az, ANIMATION_PRESET_CATEGORIES as b, REPEAT_MODE_OPTIONS as b$, ImagePropertiesPanelComponent as b0, InkDrawingService as b1, InkRendererComponent as b2, InsertSmartArtDialogComponent as b3, InspectorPaneHeaderComponent as b4, InspectorPanelComponent as b5, IsMobileService as b6, KeepAnnotationsDialogComponent as b7, LOCALE_CATALOG as b8, LONG_PRESS_DURATION_MS as b9, POWER_POINT_VIEWER_PROVIDERS as bA, PPTX_OPEN_ACCEPT as bB, PRESENTATION_OPEN_EXTENSIONS as bC, PRESENTER_CHANNEL_NAME as bD, PRESENTER_MSG_ORIGIN as bE, PRESENTER_TIMER_SEGMENT_MS as bF, PX_PER_CM as bG, PX_PER_INCH as bH, PasswordProtectionDialogComponent as bI, PasswordStrengthMeterComponent as bJ, PowerPointViewerComponent as bK, PresentToolbarAutoHide as bL, PresentationAnnotationOverlayComponent as bM, PresentationAnnotationsService as bN, PresentationOverlayComponent as bO, PresentationPropertiesPanelComponent as bP, PresentationSettingsCardComponent as bQ, PresentationSubtitleBarComponent as bR, PresentationToolbarComponent as bS, PresentationTransitionOverlayComponent as bT, PresenterViewComponent as bU, PresenterWindowService as bV, PrintDialogComponent as bW, PrintService as bX, PrintSettingsPanelComponent as bY, PropertiesDialogComponent as bZ, RANDOM_ELIGIBLE_TYPES as b_, LONG_PRESS_MOVE_TOLERANCE_PX as ba, LoadContentService as bb, LocalPresencePublisher as bc, MAX_ZOOM_SCALE as bd, MIN_ZOOM_SCALE as be, MOTION_PATH_COLUMNS as bf, MediaPreviewComponent as bg, MediaPropertiesPanelComponent as bh, MediaRendererComponent as bi, MediaTrimTimelineComponent as bj, MobileBottomBarComponent as bk, MobileMenuSheetComponent as bl, MobilePresenterViewComponent as bm, MobileSheetComponent as bn, MobileSlidesSheetComponent as bo, MobileToolbarComponent as bp, ModalDialogComponent as bq, Model3DRendererComponent as br, NotesHandoutCardComponent as bs, NotesPanelComponent as bt, NotesToolbarComponent as bu, OleRendererComponent as bv, OutlineViewOverlayComponent as bw, P14_TRANSITION_KEYFRAMES as bx, P14_TRANSITION_KEYFRAMES_2 as by, P14_TRANSITION_KEYFRAMES_ALL as bz, AUDIENCE_HASH as c, SlideSorterOverlayComponent as c$, RESIZE_HANDLES as c0, RULER_FONT_SIZE as c1, RULER_THICKNESS as c2, ReadingViewOverlayComponent as c3, RemoteSelectionOverlayComponent as c4, RibbonAnimationGalleryComponent as c5, RibbonAnimationsSectionComponent as c6, RibbonArrangeSectionComponent as c7, RibbonColorPopoverComponent as c8, RibbonComponent as c9, DEFAULT_PALETTE as cA, PALETTES as cB, SMART_ART_COLOR_SCHEMES as cC, SMART_ART_STYLE_OPTIONS as cD, SUB_ITEM_LABEL as cE, SVG_WARP_PRESETS as cF, SWIPE_MAX_VERTICAL_PX as cG, SWIPE_THRESHOLD_PX as cH, SelectionPaneComponent as cI, SetUpSlideShowDialogComponent as cJ, SettingsAppearanceTabComponent as cK, SettingsDialogComponent as cL, SettingsLanguageTabComponent as cM, ShareDialogComponent as cN, ShortcutPanelComponent as cO, ShowOptionsFieldsetComponent as cP, ShowSlidesFieldsetComponent as cQ, SignatureStrippedDialogComponent as cR, SignaturesPanelComponent as cS, SignaturesService as cT, SlideBackgroundCardComponent as cU, SlideCanvasComponent as cV, SlideDefaultInspectorComponent as cW, SlideDiffChangesComponent as cX, SlideDiffRowComponent as cY, SlideDiffThumbnailsComponent as cZ, SlideSizeCardComponent as c_, RibbonDesignSectionComponent as ca, RibbonDrawSectionComponent as cb, RibbonDrawingGroupComponent as cc, RibbonEditingSectionComponent as cd, RibbonFileSectionComponent as ce, RibbonFontControlsComponent as cf, RibbonHomeSectionComponent as cg, RibbonHyperlinkButtonComponent as ch, RibbonInsertFieldsComponent as ci, RibbonInsertSectionComponent as cj, RibbonMotionPathGalleryComponent as ck, RibbonParagraphControlsComponent as cl, RibbonPrimaryRowComponent as cm, RibbonReviewSectionComponent as cn, RibbonShapeExtrasComponent as co, RibbonSlideshowSectionComponent as cp, RibbonTransitionsSectionComponent as cq, RibbonViewSectionComponent as cr, RulerGuidesService as cs, SEQUENCE_OPTIONS as ct, SEVERITY_GROUPS as cu, SEVERITY_LABELS as cv, DEFAULT_TRANSITION_DURATION_MS$1 as cw, SHORTCUT_REFERENCE_ITEMS as cx, SLIDE_TRANSITION_KEYFRAMES as cy, SLIDE_TRANSITION_KEYFRAMES_CSS as cz, AUDIENCE_NONCE_KEY as d, ZERO_LINE_COLOR as d$, SlideThemeOverridePanelComponent as d0, SlideTransitionCardComponent as d1, SlidesPanelComponent as d2, SmartArt3DRendererComponent as d3, SmartArt3DService as d4, SmartArtPreviewComponent as d5, SmartArtPropertiesComponent as d6, SmartArtRendererComponent as d7, StatusBarComponent as d8, TABLE_STRUCTURE_TOGGLES as d9, TransitionPreviewComponent as dA, VALIGN_OPTIONS as dB, VIEWER_THEME as dC, VersionHistoryPanelComponent as dD, ViewerCanvasEditingService as dE, ViewerCollabCursorService as dF, ViewerCollaborationSessionService as dG, ViewerCollaborationShellService as dH, ViewerCompareService as dI, ViewerCustomShowsService as dJ, ViewerDialogsService as dK, ViewerDocumentPropertiesService as dL, ViewerExportService as dM, ViewerExtraDialogsComponent as dN, ViewerFileIOService as dO, ViewerFindReplaceService as dP, ViewerFormatPainterService as dQ, ViewerInspectorPanelService as dR, ViewerKeyboardService as dS, ViewerMobileSheetService as dT, ViewerPresentationModeService as dU, ViewerThemeGalleryService as dV, ViewerTouchGesturesService as dW, ViewerZoomService as dX, WEBM_MIME_CANDIDATES as dY, WHEEL_SPOKE_COUNTS as dZ, WriteBackScheduler as d_, TEXT_3D_BOTTOM_BEVEL_KEYS as da, TEXT_3D_TOP_BEVEL_KEYS as db, TEXT_DIRECTION_OPTIONS$1 as dc, THEME_CATALOG as dd, TIMING_CURVE_OPTIONS as de, TRANSITION_SPEED_DURATION_MS as df, TRIGGER_OPTIONS as dg, TYPE_LABELS as dh, TableCellAdvancedFillComponent as di, TableCellFormattingComponent as dj, TableDataEditorComponent as dk, TablePropertiesComponent as dl, TableRendererComponent as dm, TableResizeOverlayComponent as dn, TableSelectionService as dp, TagsCardComponent as dq, Text3DBevelSectionComponent as dr, Text3DPanelComponent as ds, TextAdvancedPanelComponent as dt, ThemeEditorFieldsComponent as du, ThemeGalleryComponent as dv, ThemeSelectorCardComponent as dw, TitleBarComponent as dx, TitleBarSearchComponent as dy, TransitionDirectionPickerComponent as dz, AVATAR_COLOR_SWATCHES as e, buildModel3DContainerStyle as e$, ZoomNavigationService as e0, ZoomRendererComponent as e1, ZoomTargetService as e2, addCategory as e3, addCommentToList as e4, addGradientStopPatch as e5, addItem as e6, addSeries as e7, addSubItem as e8, advanceStep as e9, buildCategoryLabels as eA, buildCellParagraphs as eB, buildChartViewModel as eC, buildChatLogExport as eD, buildChatLogMarkdown as eE, buildChromeStyle as eF, buildClearHyperlinkPatch as eG, buildClickGroups as eH, buildColStyles as eI, buildCollaborationConfig as eJ, buildComboViewModel as eK, buildCssGradientFromShapeStyle as eL, buildDuotoneFilter as eM, buildDuotoneFilterId as eN, buildEmbeddedFontStyles as eO, buildEquationElement as eP, buildEquationSegment as eQ, buildFallbackViewModel as eR, buildFontFaceRule as eS, buildGradientFillCss as eT, buildGridlinesAndLabels as eU, buildHyperlinkPatch as eV, buildInkContainerStyle as eW, buildInkStrokes as eX, buildLegend as eY, buildLiveInkStrokeView as eZ, buildMarkTooltip as e_, affordanceElements as ea, aiToggleVisible as eb, alignPatch as ec, animationFor as ed, animationPresetLabelKey as ee, annotationMapToInkInserts as ef, applyAcceptedDiff as eg, applyAnimationPreset as eh, applyFindReplacements as ei, applyFormatToElement as ej, applyMove as ek, applyResize as el, asMediaElement as em, assignUserColor as en, attachShowVisibilityPause as eo, attachTouchGestures as ep, axisTickValues as eq, beginDrawingNodeEdit as er, beginNodeEdit as es, bevelSizePatch as et, boolFromEvent as eu, bringForward as ev, bringToFront as ew, buildBarActions as ex, buildBroadcastConfig as ey, buildBroadcastViewerUrl as ez, AXIS_LABEL_COLOR as f, computeDrawingViewBox as f$, buildModel3DViewModel as f0, buildOleActionModel as f1, buildOleInfoRows as f2, buildPatternFillCss as f3, buildPieViewModel as f4, buildPrintHtmlDocument as f5, buildPropertiesPatch as f6, buildRadarViewModel as f7, buildRegionMapViewModel as f8, buildSaveSlides as f9, changeCountLabel as fA, changeIcon as fB, characterSpacingPatch as fC, chartPreserveAspectRatio as fD, checkFontAvailable as fE, clampCursorPosition as fF, clampGifDimensions as fG, clampIndex as fH, clampNotesFontSize as fI, clampScale as fJ, clampStep as fK, clearAllLocalViewerData as fL, clearAudienceContent as fM, cn as fN, collectAccessibilityIssues as fO, collectElementText as fP, collectSlideText as fQ, collectStoredChats as fR, collectUsedFontFamilies as fS, columnWidthStyle as fT, commitNodeText as fU, computeAlign as fV, computeAxisTitlePrimitives as fW, computeBarRects as fX, computeBubbleRadius as fY, computeCornerHandle as fZ, computeDistribute as f_, buildShareUrl as fa, buildSmartArtInsertElement as fb, buildSmartArtNodes as fc, buildStockViewModel as fd, buildSurfaceViewModel as fe, buildTableViewModel as ff, buildTreemapViewModel as fg, buildTrimFragment as fh, buildWaterfallViewModel as fi, buildZeroLine as fj, buildZoomContainerStyle as fk, buildZoomViewModel as fl, bulletIndentPx as fm, canAddTopLevelNode as fn, canEditSmartArtNodes as fo, canGroupSelection as fp, canRemoveTopLevelNode as fq, canSetStrokeWidth as fr, canStartBroadcast as fs, canStartShare as ft, canUngroupSelection as fu, canUseClipboard as fv, captionDisplayText as fw, cellRunStyle as fx, cellStyleToStyleMap as fy, cellTdStyle as fz, AccessibilityPanelComponent as g, enableReflectionPatch as g$, computeErrorBarPrimitives as g0, computeFocusTargets as g1, computeGridSpacingPx as g2, computeHandleBoxes as g3, computeHandoutLayout as g4, computeIsMobile as g5, computeIsTablet as g6, computeLinePoints as g7, computeLinearRegression as g8, computePageCount as g9, createWebrtcBundle as gA, createWebsocketBundle as gB, cssObjectToStyleMap as gC, currentColorScheme as gD, currentLayout as gE, currentStyle as gF, defaultCssVars as gG, defaultRadius as gH, defaultThemeColors as gI, deleteElementsByIds as gJ, deleteVersion as gK, demoteNode as gL, deriveModel3DBlobUrl as gM, derivePresenceList as gN, describeCollaborationShellState as gO, describeSmartArtBounds as gP, disableGlowPatch as gQ, disableInnerShadowPatch as gR, disableOuterShadowPatch as gS, disableReflectionPatch as gT, disableSoftEdgePatch as gU, duplicateElementById as gV, durationOf as gW, effectsStateOf as gX, enableGlowPatch as gY, enableInnerShadowPatch as gZ, enableOuterShadowPatch as g_, computePieLayout as ga, computePieSlicePath as gb, computePieSlices as gc, computePlotLayout as gd, computeRSquared as ge, computeRadarPoints as gf, computeResizeHandleBoxes as gg, computeRotateHandleBox as gh, computeScatterDots as gi, computeScatterXDomain as gj, computeSelectionBoxes as gk, computeSingleSelected as gl, computeSlideIndices as gm, computeSnap as gn, computeStackedBarRects as go, computeStackedValueRange as gp, computeTrendlinePrimitives as gq, computeValueRange as gr, convertOmmlToMathMl as gs, copyFormatFromElement as gt, countAccessibilityIssues as gu, countAnnotationStrokes as gv, createAngularAiBridge as gw, createCustomShow as gx, createImageElementFromFile as gy, createSwipeDismissDrag as gz, AccessibilityService as h, getWarpCategory as h$, enableSoftEdgePatch as h0, encodeGif as h1, endShowMediaCleanup as h2, estimatePageCount as h3, exitPresentationFullscreen as h4, exportAiChatLogs as h5, extractPathPoints as h6, eyedropperAvailable as h7, fillColorOf$1 as h8, findInSlides as h9, getDuotoneFilterDef as hA, getEffectSoundAsset as hB, getEffectSoundState as hC, getImageSrc as hD, getLocalStorageUsageSummary as hE, getOleAriaLabel as hF, getOleBadgeLabel as hG, getOleDisplayName as hH, getOleDownloadFileName as hI, getOleTypeColor as hJ, getOleTypeLabel as hK, getP14TransitionAnimations as hL, getPasswordStrength as hM, getPatternSvg as hN, getPlaceholderStyle as hO, getVersions as hP, getResolvedShapeClipPath as hQ, getResolvedShapeClipPathFor as hR, getSessionTabId as hS, getShapeFillStrokeStyle as hT, getSlideBackgroundStyle as hU, getSlideTransitionAnimations as hV, getSmartArtNodeBounds as hW, getSpeechRecognitionCtor as hX, getTextBlockStyle as hY, getTextWarp as hZ, getTouchDistance as h_, findOwningSlideIndex as ha, findSlideIndexByElementId as hb, firstVisibleIndex as hc, fitPolynomial as hd, fitZoom as he, focusTargetChips as hf, fontMimeForFormat as hg, fontSizeOf as hh, forgetSessionDeck as hi, formatAxisValue as hj, formatBytes as hk, formatCursorLabel as hl, formatElapsed as hm, formatFileSize as hn, formatInlineListStyle as ho, formatPropertyDate as hp, formatTime as hq, fpsToFrameIntervalMs as hr, generateBroadcastRoomId as hs, generateCommentId as ht, generateCustomShowId as hu, generatePressureCircles as hv, generateTicks as hw, getCinematicTransitionAnimations as hx, getClrChangeParams as hy, getContainerStyle as hz, AccessibilityTextPanelComponent as i, narrowToCircle as i$, getWarpPath as i0, gradientStateFromStyle as i1, gradientStateOf as i2, gradientStatePatch as i3, gradientStopColorCommitPatch as i4, gridColumns as i5, groupIssuesBySeverity as i6, hasAnimation as i7, hasCopyableFormat as i8, hasExistingLink as i9, isUnderline as iA, isUrlSafe as iB, isValidRoomId as iC, isViewportBackgroundPressTarget as iD, isZoomActivationKey as iE, issueTrackKey as iF, issueTypeLabel as iG, keyToLabel as iH, lastVisibleIndex as iI, latexToMathml as iJ, layoutConnectorPaints as iK, layoutNodeLabels as iL, linePointsToSvgString as iM, lineSpacingPatch as iN, loadAudienceContent as iO, loadSessionDeck as iP, mediaFallbackFor as iQ, mediaSurfaceFor as iR, mergeCaptionResults as iS, mergeDown as iT, mergeRight as iU, mergeSelection as iV, mergeTablesDirective as iW, moveElementBy as iX, moveNodeDown as iY, moveNodeUp as iZ, msToFrameDelayCs as i_, hasExitedFullscreen as ia, hasGradientFill as ib, hasPressureVariation as ic, hasVisibleSlideAfter as id, headerLabel as ie, imageDimensions as ig, inkViewBox as ih, insertTableElementColumn as ii, insertTableElementRow as ij, interpolateWidth as ik, isAudienceTab as il, isBold as im, isBrowserOpenableMime as io, isChildNode as ip, isElementInteractive as iq, isInjectableUrl as ir, isItalic as is, isLegacyBinaryPresentation as it, isPpactionUrl as iu, isPresenterMessage as iv, isSigned as iw, isSupportedPresentationFile as ix, isTextElement as iy, isTwoTableFocus as iz, AccountPageComponent as j, removeElementAnimation as j$, narrowToPolygon as j0, narrowToRect as j1, newChartElement as j2, newEquationElement as j3, newPresetShapeElement as j4, newShapeElement as j5, newSmartArtElement as j6, newTableElement as j7, newTextElement as j8, nextVisibleIndex as j9, pickFile as jA, pickSupportedMimeType as jB, planGifFrames as jC, planVideoSegments as jD, pointFromPointerEvent as jE, pointsToSvgPathD as jF, presenceToCursors as jG, presentationBaseName as jH, presentationStageStyle as jI, presenterTimerProgress as jJ, presetByLayout as jK, presetsForCategory as jL, pressuresToWidths as jM, prevVisibleIndex as jN, projectDrawingShapes as jO, promoteNode as jP, provideViewerTheme as jQ, radarAngle as jR, radarRingPoints as jS, readAsDataUrl as jT, recordWebm as jU, registerCrossSlideAudio as jV, rememberSessionDeck as jW, removeAnimation as jX, removeCategory as jY, removeTableElementColumn as jZ, removeCommentFromList as j_, nodeBold as ja, nodeEditBox as jb, nodeFillColor as jc, nodeFontColor as jd, nodeIdFromKey as je, nodeItalic as jf, nodeStyle as jg, normalizeFontFormat as jh, normalizeSlidesPerPage as ji, normalizeValue as jj, numFromEvent as jk, ommlToMathml as jl, ooxmlDashToCssBorderStyle as jm, openNativeEyeDropper as jn, overallStatus as jo, paletteColor as jp, parseAudienceNonce as jq, parseNodeTextarea as jr, partitionSlides as js, patchChartData as jt, patchChartStyle as ju, patchTableData as jv, patchTextStyle as jw, patternPresetOptions as jx, pendingElementStyles as jy, pickColorByClickFallback as jz, ActionSettingsPanelComponent as k, setAnimationExit as k$, removeGradientStopPatch as k0, removeNode as k1, removeTableElementRow as k2, removeSeries as k3, renderToCanvas as k4, reorderAnimationDown as k5, reorderAnimationUp as k6, replaceInSlides as k7, replaceMatch as k8, requestPresentationFullscreen as k9, rowStyle as kA, rulerDragToGuidePosition as kB, rulerHighlight as kC, rulerStripTicks as kD, sampleColorFromSlide as kE, sanitizeColor as kF, sanitizeSlideIndex as kG, sanitizeUserName as kH, saveViewerProfile as kI, savedPresentationFileName as kJ, scanAvailableFonts as kK, searchSlides as kL, seedBroadcastFields as kM, seedHyperlinkDraft as kN, seedPropertiesDraft as kO, seedShareFields as kP, segmentFrameCount as kQ, selectValue$3 as kR, sendBackward as kS, sendToBack as kT, sequentialColorScale as kU, serializeWriteBack as kV, seriesColor as kW, setAfterAnimation as kX, setAfterAnimationColor as kY, setAnimationEmphasis as kZ, setAnimationEntrance as k_, resizeElement as ka, resolveCaptionTracks as kb, resolveChartKind as kc, resolveDirection as kd, resolveDirection8 as ke, resolveFontVariant as kf, resolveHyperlinkHref as kg, resolveInteractiveElementId as kh, resolveMediaSrc as ki, resolveOleType as kj, resolveOrientation as kk, resolveParagraphBullet as kl, resolvePresenterNotes as km, resolveProfileInitial as kn, resolveRegionCode as ko, resolveRibbonCanGroup as kp, resolveSlideAutoAdvanceMs as kq, resolveSlideTransition as kr, resolvePalette as ks, resolveThemeCatalogEntry as kt, resolveTransitionDuration as ku, resolveTransitionDurationMs as kv, resolveWheelSpokeCount as kw, restoreSessionDeck as kx, revealedElementStyles as ky, routeOrthogonalConnector as kz, AdvancedChartEditorComponent as l, surfaceColor as l$, setAxis as l0, setAxisLogScale as l1, setAxisTitleStyle as l2, setCategoryLabel as l3, setCellText as l4, setColorScheme as l5, setDataLabels as l6, setDataPointExplosion as l7, setDataPointFill as l8, setDataPointLabel as l9, setTriggerShapeId as lA, shapeStylePatch$1 as lB, sheetAfterNavigate as lC, shouldBlockClickAdvance as lD, shouldUseSvgWarp as lE, showDirectionPicker as lF, showsTemplateAffordance as lG, signatureCountLabel as lH, signatureKey as lI, signatureTimestamp as lJ, signerName as lK, statusLabel as lL, slideNumberOf as lM, slidesWithReappliedLayout as lN, smartArtNodes as lO, paletteColour as lP, snapToGridStep as lQ, splitCursorCell as lR, splitMergedCell as lS, statusKind as lT, statusLabel$1 as lU, storeAudienceContent as lV, stringFromEvent$5 as lW, strokeColorOf as lX, strokeToInkElement as lY, strokeWidthOf as lZ, styleShadowFilter as l_, setDataPointMarker as la, setDelay as lb, setDirection as lc, setDuration as ld, setEffectSound as le, setEffectStockSound as lf, setElementPosition as lg, setGridlineStyle as lh, setLayout as li, setLegend as lj, setNodeStyle as lk, setNodeText as ll, setRepeatCount as lm, setRepeatMode as ln, setSequence as lo, setSeriesChartType as lp, setSeriesColor as lq, setSeriesErrorBars as lr, setSeriesMarker as ls, setSeriesName as lt, setSeriesTrendline as lu, setSeriesValue as lv, setStyle as lw, setTimingCurve as lx, setTitle as ly, setTrigger as lz, AiChangeOverlayComponent as m, textAdvancedPatch as m0, textAdvancedStateFromStyle as m1, textAdvancedStateOf as m2, textColorOf as m3, textDirectionPatch as m4, textFontSizePatch as m5, textStyleOf as m6, textStylePatch as m7, themeStyle as m8, themeToCssVars as m9, withManualLayouts as mA, worstStatus as mB, zoomTargetSlideIndex as mC, thumbnailHeight as ma, thumbnailZoom as mb, toggleCommentResolvedInList as mc, toggleNodeBold as md, toggleNodeItalic as me, toggleSheet as mf, topLevelNodeCount as mg, transformSelectedTextCase as mh, translationsEn as mi, updateElementById as mj, updateGlowPatch as mk, updateGradientStopPatch as ml, updateInnerShadowPatch as mm, updateOuterShadowPatch as mn, updateReflectionPatch as mo, vAlignPatch as mp, validatePassword as mq, validatePrintSettings as mr, validateRoomId as ms, valueToY as mt, vermilionDarkColors as mu, vermilionDarkTheme as mv, vermilionLightColors as mw, vermilionLightTheme as mx, vermilionRadius as my, waypointsToPathD as mz, AiChatPanelComponent as n, AiChatService as o, AiComposerComponent as p, AiFocusBarComponent as q, AiFocusHighlightOverlayComponent as r, AiHistoryMenuComponent as s, toChatSummary as t, AiHistoryService as u, AiMessageListComponent as v, AiPanelStore as w, AiProposalCardComponent as x, AiSettingsSectionComponent as y, AiToolCallCardComponent as z };
|
|
189626
|
-
//# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-
|
|
189766
|
+
//# sourceMappingURL=pptx-angular-viewer-pptx-angular-viewer-BvT4AAG0.mjs.map
|