All files / src/views editor.soy.js

66.66% Statements 16/24
16.66% Branches 4/24
0% Functions 0/4
66.66% Lines 16/24

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79                  1x   1x 1x 1x                 1x       1x   1x                   1x       1x   1x                   1x       1x   1x                   1x       1x   1x    
// This file was automatically generated by the Soy compiler.
// Please don't edit this file by hand.
// source: src/views/editor.soy
 
/**
 * @fileoverview Templates in namespace app.views.editor.
 * @public
 */
 
goog.provide('app.views.editor');
 
goog.require('goog.soy');
goog.require('soy');
goog.require('soydata.VERY_UNSAFE');
 
 
/**
 * @param {?Object<string, *>=} opt_data
 * @param {(?goog.soy.IjData|?Object<string, *>)=} opt_ijData
 * @return {!goog.soy.data.SanitizedHtml}
 * @suppress {checkTypes}
 */
app.views.editor.header = function(opt_data, opt_ijData) {
  opt_ijData = /** @type {!goog.soy.IjData} */ (opt_ijData);
  return soydata.VERY_UNSAFE.ordainSanitizedHtml('<header id="pwk-editor-app-bar" class="mdc-top-app-bar"' + (goog.DEBUG && soy.$$debugSoyTemplateInfo ? ' data-debug-soy="app.views.editor.header src/views/editor.soy:7"' : '') + '><div class="mdc-top-app-bar__row mdc-top-app-bar__top-row"><section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start"><a id="home-link" aria-label="Navigate to user home page" aria-hidden="true" aria-pressed="true" href="#"><svg width="35" viewBox="0 0 2126 2598" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path style="fill:none" d="M11137.2 0h11120.3v14043.3H11137.2z" transform="matrix(1.53533 0 0 1.44498 -22123.382 -10552.21)"/><path d="M15357.6 7302.8h-601.8c-191 0-346.1 164.77-346.1 367.72v970.32l436.6 459.13h601.7c191 0 346-164.77 346-367.72v-970.29l-436.4-459.16Zm0 459.16h-383.5c-70.5 0-127.8 63.95-127.8 142.73v736.15h384.9c69.8 0 126.4-63.24 126.4-141.13v-737.75Z" style="fill:#3dbfd9" transform="matrix(1.53533 0 0 1.44498 -22123.382 -10552.21)"/><path style="fill:#70e1ee" d="M15180.2 9410.2h502.746v497.58H15180.2z" transform="matrix(-1.33334 0 -1.34718 -1.33334 34258.37 15144.069)"/><path style="fill:#70e1ee" d="M16271.7 7960.12h502.545v497.609H16271.7z" transform="matrix(1.33334 0 1.34656 1.33334 -31628.868 -10613.3)"/></svg></a></section><section id="pwk-editor-app-bar__content" class="mdc-top-app-bar__section"><section id="pwk-editor-document-info"><span id="pwk-editor-document-title">The Perfect Book Title</span></section><section id="pwk-editor-menubar"></section></section><section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end"></section></div><div class="mdc-top-app-bar__row mdc-top-app-bar__bottom-row"><section id="pwk-editor-toolbar" class="mdc-top-app-bar__section"></section></div></header>');
};
if (goog.DEBUG) {
  /** @type {string} */
  app.views.editor.header.soyTemplateName = 'app.views.editor.header';
}
 
 
/**
 * @param {?Object<string, *>=} opt_data
 * @param {(?goog.soy.IjData|?Object<string, *>)=} opt_ijData
 * @return {!goog.soy.data.SanitizedHtml}
 * @suppress {checkTypes}
 */
app.views.editor.content = function(opt_data, opt_ijData) {
  opt_ijData = /** @type {!goog.soy.IjData} */ (opt_ijData);
  return soydata.VERY_UNSAFE.ordainSanitizedHtml('<main id="pwk-editor-content"' + (goog.DEBUG && soy.$$debugSoyTemplateInfo ? ' data-debug-soy="app.views.editor.content src/views/editor.soy:38"' : '') + '><aside id="pwk-editor-sidebar"></aside></main>');
};
if (goog.DEBUG) {
  /** @type {string} */
  app.views.editor.content.soyTemplateName = 'app.views.editor.content';
}
 
 
/**
 * @param {?Object<string, *>=} opt_data
 * @param {(?goog.soy.IjData|?Object<string, *>)=} opt_ijData
 * @return {!goog.soy.data.SanitizedHtml}
 * @suppress {checkTypes}
 */
app.views.editor.progressbar = function(opt_data, opt_ijData) {
  opt_ijData = /** @type {!goog.soy.IjData} */ (opt_ijData);
  return soydata.VERY_UNSAFE.ordainSanitizedHtml('<div id="pwk-editor-progressbar" role="progressbar" class="mdc-linear-progress mdc-linear-progress--indeterminate"' + (goog.DEBUG && soy.$$debugSoyTemplateInfo ? ' data-debug-soy="app.views.editor.progressbar src/views/editor.soy:47"' : '') + '><div class="mdc-linear-progress__buffering-dots"></div><div class="mdc-linear-progress__buffer"></div><div class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"><span class="mdc-linear-progress__bar-inner"></span></div><div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar"><span class="mdc-linear-progress__bar-inner"></span></div></div>');
};
if (goog.DEBUG) {
  /** @type {string} */
  app.views.editor.progressbar.soyTemplateName = 'app.views.editor.progressbar';
}
 
 
/**
 * @param {?Object<string, *>=} opt_data
 * @param {(?goog.soy.IjData|?Object<string, *>)=} opt_ijData
 * @return {!goog.soy.data.SanitizedHtml}
 * @suppress {checkTypes}
 */
app.views.editor.workProgress = function(opt_data, opt_ijData) {
  opt_ijData = /** @type {!goog.soy.IjData} */ (opt_ijData);
  return soydata.VERY_UNSAFE.ordainSanitizedHtml('<div id="work-in-progress-dialog" class="mdc-dialog" role="alertdialog" aria-labelledby="work-in-progress-dialog-label" aria-describedby="work-in-progress-dialog-description"' + (goog.DEBUG && soy.$$debugSoyTemplateInfo ? ' data-debug-soy="app.views.editor.workProgress src/views/editor.soy:60"' : '') + '><div class="mdc-dialog__container"><div class="mdc-dialog__surface"><h1 class="mdc-dialog__title"><span class="material-symbols-outlined mdc-dialog__title-icon">model_training</span><span class="mdc-dialog__title-text">Work in progress</span></h1><section class="mdc-dialog__content"><h2 class="mdc-typography--headline6">Features in development</h2><ol><li>Sidebar tools</li><li>Document pagination</li><li>Document formatting (in progress to add more UI controls and formatters)</li><li>Clipboard and copy/paste (partially implemented)</li><li>Media support and manipulation</li><li>Customizable lists</li><li>Custom content selection (partially implemented, touch support in progress)</li></ol><h2 class="mdc-typography--headline6">Implemented</h2><ol><li>Node indention</li><li>List control</li><li>UTF-8/UTF-16 support</li><li>Input Method Editor (IME) support. Provides a specialized user interface for text input to enter Chinese, Japanese, or Korean text using a Latin keyboard or to enter text on a touch screen using handwriting recognition</li><li>Custom JSON document format</li><li>Rendering engine</li><li>Ability to load fonts (server/cdn and fonts.google.com)</li><li>LeafNode &mdash; data type for content element</li><li>BranchNode &mdash; data type for complex content elements (list, table, etc.)</li><li>History buffer</li><li>The undo/redo manager for controlling the history buffer</li></ol><h2 class="mdc-typography--headline6">Planned features</h2><ol><li>Table component</li><li>UI for dynamically loading fonts from the fonts.google.com</li><li>Bi-directional text support (e.g. Hebrew or Arabic) (RTL and LTR text displays together on the same document)</li><li>Text hyphenation</li><li>Content drag-and-drop</li><li>Real-time collaborative editing</li><li>Cover designer</li><li>Book context</li><li>Templates support</li><li>Community snippets</li><li>Spell checking</li><li>Ligatures support</li></ol></section><div class="mdc-dialog__actions"><button class="mdc-button mdc-button--unelevated mdc-dialog__button" data-mdc-dialog-action="cancel" type="button"><span class="mdc-button__ripple"></span><span class="mdc-button__label">Close</span></button></div></div></div><div class="mdc-dialog__scrim"></div></div>');
};
if (goog.DEBUG) {
  /** @type {string} */
  app.views.editor.workProgress.soyTemplateName = 'app.views.editor.workProgress';
}