@fluid-topics/ft-viewer 2.1.14 → 2.1.16

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.
@@ -109,8 +109,11 @@ export class FtViewerContent extends withConditionalVisibility(FtViewerComponent
109
109
  * Iframe viewer *
110
110
  ***************************************/
111
111
  renderIframeViewer(url) {
112
+ var _a;
112
113
  return html `
113
- <iframe src="${url}"></iframe>
114
+ <iframe src="${url}"
115
+ title="${(_a = this.descriptor) === null || _a === void 0 ? void 0 : _a.alt}"
116
+ ></iframe>
114
117
  `;
115
118
  }
116
119
  willUpdate(props) {
@@ -11,6 +11,7 @@ export const createViewerStore = (id) => FtReduxStore.get({
11
11
  name: "ft-viewer-" + id,
12
12
  initialState: {
13
13
  documentId: undefined,
14
+ unstructuredDocument: undefined,
14
15
  document: undefined,
15
16
  assetId: undefined,
16
17
  origin: undefined,
@@ -1,4 +1,4 @@
1
- import { FtAssetHolder, FtWatermark } from "@fluid-topics/public-api";
1
+ import { FtAssetHolder, FtUnstructuredDocument, FtWatermark } from "@fluid-topics/public-api";
2
2
  export declare enum FtViewerFileOrigin {
3
3
  UNSTRUCTURED_DOCUMENT = "UNSTRUCTURED_DOCUMENT",
4
4
  MAP_ATTACHMENT = "MAP_ATTACHMENT",
@@ -23,6 +23,7 @@ export interface FtViewerContentModifiers {
23
23
  }
24
24
  export interface FtViewerState {
25
25
  documentId: string | undefined;
26
+ unstructuredDocument: FtUnstructuredDocument | undefined;
26
27
  document: FtAssetHolder | undefined;
27
28
  assetId: string | undefined;
28
29
  origin: FtViewerFileOrigin | undefined;