@contrail/documents
Advanced tools
Comparing version 1.0.77 to 1.0.78
@@ -0,0 +0,0 @@ import { BackgroundSizeType } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './components'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Action } from '@contrail/actions'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class DocumentElementComponentSizeHandler { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ComponentDefinition } from './components/components'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { DocumentElement } from './types/document-element'; |
@@ -24,3 +24,4 @@ "use strict"; | ||
} | ||
if (((_b = (_a = element.propertyBindings) === null || _a === void 0 ? void 0 : _a.url) === null || _b === void 0 ? void 0 : _b.indexOf("viewable")) !== -1) { | ||
const isImage = ['image', 'svg'].includes(element.type); | ||
if (((_b = (_a = element.propertyBindings) === null || _a === void 0 ? void 0 : _a.url) === null || _b === void 0 ? void 0 : _b.indexOf("viewable")) !== -1 && isImage) { | ||
element.alternateUrls = {}; | ||
@@ -27,0 +28,0 @@ let highResUrl = ((_c = model === null || model === void 0 ? void 0 : model.viewable) === null || _c === void 0 ? void 0 : _c.largeViewableDownloadUrl) || ((_d = model === null || model === void 0 ? void 0 : model.viewable) === null || _d === void 0 ? void 0 : _d.largeViewableUrl); |
@@ -0,0 +0,0 @@ export * from './types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface TextStyleDefinition { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface DataObject { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { DocumentElement } from './document-element'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { PositionDefinition, SizeDefinition } from "./common"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { DocumentElement } from './document-element'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { CropDefinition, LineDefinition, PositionDefinition, RotationDefinition } from './common'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export interface DocumentNavigationEvent { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { PositionDefinition, SizeDefinition, StyleDefinition, ViewBox } from "./common"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export interface ScaleTransformation { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export * from './common'; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@contrail/documents", | ||
"version": "1.0.77", | ||
"version": "1.0.78", | ||
"description": "Documents library for contrail platform", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
885
31545