3 |
6 |
7 |
14 |
15 |
--------------------------------------------------------------------------------
/src/lib/spectrum/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "spectrum",
3 | "version": "1.8.0",
4 | "main": ["./spectrum.css", "./spectrum.js"],
5 | "docs": "http://bgrins.github.com/spectrum",
6 | "homepage": "http://bgrins.github.com/spectrum",
7 | "demo": "http://jsfiddle.net/bgrins/ctkY3/",
8 | "dependencies": {
9 | "jquery": ">=1.7.2"
10 | },
11 | "ignore": [
12 | ".gitignore",
13 | ".travis.yml",
14 | "build/",
15 | "docs/",
16 | "example/",
17 | "Gruntfile.js",
18 | "LICENSE",
19 | "README.md",
20 | "test/"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-zh-cn.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Simplified Chinese (zh-cn) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["zh-cn"] = {
8 | cancelText: "取消",
9 | chooseText: "选择",
10 | clearText: "清除",
11 | togglePaletteMoreText: "更多选项",
12 | togglePaletteLessText: "隐藏",
13 | noColorSelectedText: "尚未选择任何颜色"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-zh-tw.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Traditional Chinese (zh-tw) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["zh-tw"] = {
8 | cancelText: "取消",
9 | chooseText: "選擇",
10 | clearText: "清除",
11 | togglePaletteMoreText: "更多選項",
12 | togglePaletteLessText: "隱藏",
13 | noColorSelectedText: "尚未選擇任何顏色"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/progressbar.js/src/main.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | // Higher level API, different shaped progress bars
3 | Line: require('./line'),
4 | Circle: require('./circle'),
5 | SemiCircle: require('./semicircle'),
6 |
7 | // Lower level API to use any SVG path
8 | Path: require('./path'),
9 |
10 | // Base-class for creating new custom shapes
11 | // to be in line with the API of built-in shapes
12 | // Undocumented.
13 | Shape: require('./shape'),
14 |
15 | // Internal utils, undocumented.
16 | utils: require('./utils')
17 | };
18 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-ru.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Russian (ru) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["ru"] = {
8 | cancelText: "Отмена",
9 | chooseText: "Выбрать",
10 | clearText: "Сбросить",
11 | noColorSelectedText: "Цвет не выбран",
12 | togglePaletteMoreText: "Ещё",
13 | togglePaletteLessText: "Скрыть"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 | *.sln merge=union
7 | *.csproj merge=union
8 | *.vbproj merge=union
9 | *.fsproj merge=union
10 | *.dbproj merge=union
11 |
12 | # Standard to msysgit
13 | *.doc diff=astextplain
14 | *.DOC diff=astextplain
15 | *.docx diff=astextplain
16 | *.DOCX diff=astextplain
17 | *.dot diff=astextplain
18 | *.DOT diff=astextplain
19 | *.pdf diff=astextplain
20 | *.PDF diff=astextplain
21 | *.rtf diff=astextplain
22 | *.RTF diff=astextplain
23 |
--------------------------------------------------------------------------------
/src/lib/loader/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "loader",
3 | "_cacheHeaders": {
4 | "ETag": "\"eb81471c8ac608fef799e3b90b8c2ead6ff62a82\"",
5 | "Content-Type": "application/zip",
6 | "Content-Disposition": "attachment; filename=loader-eb81471c8ac608fef799e3b90b8c2ead6ff62a82.zip"
7 | },
8 | "_release": "e-tag:eb81471c8",
9 | "_source": "https://github.com/fengyuanchen/loader/archive/eb81471c8ac608fef799e3b90b8c2ead6ff62a82.zip",
10 | "_target": "*",
11 | "_originalSource": "https://github.com/fengyuanchen/loader/archive/eb81471c8ac608fef799e3b90b8c2ead6ff62a82.zip"
12 | }
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-fa.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Persian (fa) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["fa"] = {
8 | cancelText: "لغو",
9 | chooseText: "انتخاب",
10 | clearText: "تنظیم مجدد رنگ",
11 | noColorSelectedText: "هیچ رنگی انتخاب نشده است!",
12 | togglePaletteMoreText: "بیشتر",
13 | togglePaletteLessText: "کمتر"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-he.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Hebrew (he) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["he"] = {
8 | cancelText: "בטל בחירה",
9 | chooseText: "בחר צבע",
10 | clearText: "אפס בחירה",
11 | noColorSelectedText: "לא נבחר צבע",
12 | togglePaletteMoreText: "עוד צבעים",
13 | togglePaletteLessText: "פחות צבעים"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-pl.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Polish (pl) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["pl"] = {
8 | cancelText: "Anuluj",
9 | chooseText: "Wybierz",
10 | clearText: "Usuń wybór koloru",
11 | noColorSelectedText: "Nie wybrano koloru",
12 | togglePaletteMoreText: "Więcej",
13 | togglePaletteLessText: "Mniej"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/resources/fonts/builder-share/css/share-font-ie7-codes.css:
--------------------------------------------------------------------------------
1 |
2 | .share-group { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
3 | .share-torso { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
4 | .share-clipboard { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
5 | .share-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
6 | .share-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
--------------------------------------------------------------------------------
/src/lib/font-awesome/less/stacked.less:
--------------------------------------------------------------------------------
1 | // Stacked Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-stack {
5 | position: relative;
6 | display: inline-block;
7 | width: 2em;
8 | height: 2em;
9 | line-height: 2em;
10 | vertical-align: middle;
11 | }
12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
13 | position: absolute;
14 | left: 0;
15 | width: 100%;
16 | text-align: center;
17 | }
18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; }
19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; }
20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; }
21 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-hr.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Croatian (hr) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["hr"] = {
8 | cancelText: "Odustani",
9 | chooseText: "Odaberi",
10 | clearText: "Poništi odabir",
11 | noColorSelectedText: "Niti jedna boja nije odabrana",
12 | togglePaletteMoreText: "Više",
13 | togglePaletteLessText: "Manje"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/scss/_stacked.scss:
--------------------------------------------------------------------------------
1 | // Stacked Icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-stack {
5 | position: relative;
6 | display: inline-block;
7 | width: 2em;
8 | height: 2em;
9 | line-height: 2em;
10 | vertical-align: middle;
11 | }
12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
13 | position: absolute;
14 | left: 0;
15 | width: 100%;
16 | text-align: center;
17 | }
18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; }
19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; }
20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; }
21 |
--------------------------------------------------------------------------------
/src/lib/medium-editor/src/wrappers/start.js:
--------------------------------------------------------------------------------
1 | (function (root, factory) {
2 | 'use strict';
3 | var isElectron = typeof module === 'object' && typeof process !== 'undefined' && process && process.versions && process.versions.electron;
4 | if (!isElectron && typeof module === 'object') {
5 | module.exports = factory;
6 | } else if (typeof define === 'function' && define.amd) {
7 | define(function () {
8 | return factory;
9 | });
10 | } else {
11 | root.MediumEditor = factory;
12 | }
13 | }(this, function () {
14 |
15 | 'use strict';
16 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-ca.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Catalan (ca) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["ca"] = {
8 | cancelText: "Cancel·lar",
9 | chooseText: "Escollir",
10 | clearText: "Esborrar color seleccionat",
11 | noColorSelectedText: "Cap color seleccionat",
12 | togglePaletteMoreText: "Més",
13 | togglePaletteLessText: "Menys"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-de.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // German (de) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["de"] = {
8 | cancelText: "Abbrechen",
9 | chooseText: "Wählen",
10 | clearText: "Farbauswahl zurücksetzen",
11 | noColorSelectedText: "Keine Farbe ausgewählt",
12 | togglePaletteMoreText: "Mehr",
13 | togglePaletteLessText: "Weniger"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-es.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Spanish (es) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["es"] = {
8 | cancelText: "Cancelar",
9 | chooseText: "Elegir",
10 | clearText: "Borrar color seleccionado",
11 | noColorSelectedText: "Ningún color seleccionado",
12 | togglePaletteMoreText: "Más",
13 | togglePaletteLessText: "Menos"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-lt.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Lithuanian (lt) localization
3 | // https://github.com/liesislukas
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["lt"] = {
8 | cancelText: "Atšaukti",
9 | chooseText: "Pasirinkti",
10 | clearText: "Išvalyti pasirinkimą",
11 | noColorSelectedText: "Spalva nepasirinkta",
12 | togglePaletteMoreText: "Daugiau",
13 | togglePaletteLessText: "Mažiau"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/BuildConfigViewer.js:
--------------------------------------------------------------------------------
1 | require([
2 | 'lib-build/css!lib/calcite-bootstrap/css/calcite-bootstrap-open.min',
3 | 'lib-build/less!storymaps/tpl/view/ui/bootstrap-override',
4 | 'storymaps/tpl/core/Core',
5 |
6 | 'storymaps/tpl/core/MainView',
7 |
8 | // Load some factory that are loaded dynamically and would not be included in build otherwise
9 | 'storymaps-react/tpl/view/media/FactoryViewer',
10 | 'storymaps-react/tpl/view/section/FactoryViewer',
11 | 'storymaps/tpl/view/section/Immersive/PanelFactoryViewer'
12 |
13 | ], function() {
14 | // Nothing here
15 | });
16 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-fr.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // French (fr) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["fr"] = {
8 | cancelText: "Annuler",
9 | chooseText: "Valider",
10 | clearText: "Effacer couleur sélectionnée",
11 | noColorSelectedText: "Aucune couleur sélectionnée",
12 | togglePaletteMoreText: "Plus",
13 | togglePaletteLessText: "Moins"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/less/font-awesome.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */
5 |
6 | @import "variables.less";
7 | @import "mixins.less";
8 | @import "path.less";
9 | @import "core.less";
10 | @import "larger.less";
11 | @import "fixed-width.less";
12 | @import "list.less";
13 | @import "bordered-pulled.less";
14 | @import "animated.less";
15 | @import "rotated-flipped.less";
16 | @import "stacked.less";
17 | @import "icons.less";
18 | @import "screen-reader.less";
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-id.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Indonesia/Bahasa Indonesia (id) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["id"] = {
8 | cancelText: "Batal",
9 | chooseText: "Pilih",
10 | clearText: "Hapus Pilihan Warna",
11 | noColorSelectedText: "Warna Tidak Dipilih",
12 | togglePaletteMoreText: "tambah",
13 | togglePaletteLessText: "kurangi"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-pt-br.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Brazilian (pt-br) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["pt-br"] = {
8 | cancelText: "Cancelar",
9 | chooseText: "Escolher",
10 | clearText: "Limpar cor selecionada",
11 | noColorSelectedText: "Nenhuma cor selecionada",
12 | togglePaletteMoreText: "Mais",
13 | togglePaletteLessText: "Menos"
14 | };
15 |
16 | $.extend($.fn.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/print/section/SectionNumber.jsx:
--------------------------------------------------------------------------------
1 | /* eslint brace-style: 0 */
2 | import React, { Component } from 'react';
3 |
4 | import {} from 'lib-build/less!../styles/SectionNumber';
5 |
6 | import {print} from 'lib-build/i18n!resources/tpl/viewer/nls/app';
7 | const text = print.sections;
8 |
9 | class SectionNumber extends Component {
10 |
11 | render() {
12 | const sectionLabel = text.sectionLabel.replace('${SECTION_NUMBER}', this.props.num);
13 | return (
14 |
{sectionLabel}
15 | );
16 | }
17 | }
18 |
19 | export default SectionNumber;
20 |
--------------------------------------------------------------------------------
/src/lib/color-thief/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "color-thief",
3 | "homepage": "http://lokeshdhakar.com/projects/color-thief/",
4 | "authors": [
5 | "Lokesh Dhakar"
6 | ],
7 | "description": "Grab the dominant color or color palette from an image.",
8 | "main": "src/color-thief.js",
9 | "keywords": [
10 | "color",
11 | "palette",
12 | "sampling",
13 | "image",
14 | "picture",
15 | "photo",
16 | "canvas"
17 | ],
18 | "license": "MIT",
19 | "ignore": [
20 | "**/.*",
21 | "node_modules",
22 | "bower_components",
23 | "test",
24 | "tests"
25 | ]
26 | }
27 |
--------------------------------------------------------------------------------
/src/lib/resample-hermite/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "resample-hermite",
3 | "_cacheHeaders": {
4 | "ETag": "\"ede593b94d8fc9a33141229dc72fd334c7563baf\"",
5 | "Content-Type": "application/zip",
6 | "Content-Disposition": "attachment; filename=Hermite-resize-ede593b94d8fc9a33141229dc72fd334c7563baf.zip"
7 | },
8 | "_release": "e-tag:ede593b94",
9 | "_source": "https://github.com/viliusle/Hermite-resize/archive/ede593b94d8fc9a33141229dc72fd334c7563baf.zip",
10 | "_target": "*",
11 | "_originalSource": "https://github.com/viliusle/Hermite-resize/archive/ede593b94d8fc9a33141229dc72fd334c7563baf.zip"
12 | }
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-gr.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Greek (gr) localization
3 | // https://github.com/bgrins/spectrum
4 |
5 | (function ( $ ) {
6 |
7 | var localization = $.spectrum.localization["gr"] = {
8 | cancelText: "Ακύρωση",
9 | chooseText: "Επιλογή",
10 | clearText: "Καθαρισμός επιλεγμένου χρώματος",
11 | noColorSelectedText: "Δεν έχει επιλεχθεί κάποιο χρώμα",
12 | togglePaletteMoreText: "Περισσότερα",
13 | togglePaletteLessText: "Λιγότερα"
14 | };
15 |
16 | $.extend($.gr.spectrum.defaults, localization);
17 |
18 | })( jQuery );
19 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/notification/Undo.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{{label}}}
4 |
{{labelUndo}}
5 |
6 | ×
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/ui/Error.css:
--------------------------------------------------------------------------------
1 | .webpage-container.error {
2 | background-color: #373737;
3 | width: 100%;
4 | height: 100%;
5 | }
6 |
7 | .errorContainer {
8 | position: absolute;
9 | top: 50%;
10 | left: 50%;
11 | margin-top: -50px;
12 | margin-left: -150px;
13 | border-radius: 3px;
14 | }
15 |
16 | .errorContainer .error {
17 | font-size: 28px;
18 | width: 400px;
19 | height: 145px;
20 | padding: 20px;
21 | background-color: rgba(0,0,0,.85);
22 | color: #C00; /* this seems to not be used. if it were, change file to .less and color to @sm-danger-text. */
23 | line-height: 33px;
24 | }
25 |
--------------------------------------------------------------------------------
/src/lib/fastclick/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fastclick",
3 | "main": "lib/fastclick.js",
4 | "ignore": [
5 | "**/.*",
6 | "component.json",
7 | "package.json",
8 | "Makefile",
9 | "tests",
10 | "examples"
11 | ],
12 | "homepage": "https://github.com/ftlabs/fastclick",
13 | "version": "1.0.6",
14 | "_release": "1.0.6",
15 | "_resolution": {
16 | "type": "version",
17 | "tag": "v1.0.6",
18 | "commit": "2ac7258407619398005ca720596f0d36ce66a6c8"
19 | },
20 | "_source": "https://github.com/ftlabs/fastclick.git",
21 | "_target": "~1.0.6",
22 | "_originalSource": "fastclick"
23 | }
--------------------------------------------------------------------------------
/src/lib/jquery/src/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "boss": true,
3 | "curly": true,
4 | "eqeqeq": true,
5 | "eqnull": true,
6 | "expr": true,
7 | "immed": true,
8 | "noarg": true,
9 | "quotmark": "double",
10 | "undef": true,
11 | "unused": true,
12 |
13 | "sub": true,
14 |
15 | // Support: IE < 10, Android < 4.1
16 | // The above browsers are failing a lot of tests in the ES5
17 | // test suite at http://test262.ecmascript.org.
18 | "es3": true,
19 |
20 | "globals": {
21 | "window": true,
22 | "JSON": false,
23 |
24 | "jQuery": true,
25 | "define": true,
26 | "module": true,
27 | "noGlobal": true
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/lib/jquery/src/ajax/parseXML.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | // Cross-browser xml parsing
6 | jQuery.parseXML = function( data ) {
7 | var xml;
8 | if ( !data || typeof data !== "string" ) {
9 | return null;
10 | }
11 |
12 | // Support: IE9
13 | try {
14 | xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
15 | } catch ( e ) {
16 | xml = undefined;
17 | }
18 |
19 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
20 | jQuery.error( "Invalid XML: " + data );
21 | }
22 | return xml;
23 | };
24 |
25 | return jQuery.parseXML;
26 |
27 | } );
28 |
--------------------------------------------------------------------------------
/src/lib/medium-editor/src/sass/components/_anchor-preview.scss:
--------------------------------------------------------------------------------
1 | .medium-editor-anchor-preview {
2 | font-family: $font-sans-serif;
3 | font-size: 16px;
4 | left: 0;
5 | line-height: 1.4;
6 | max-width: 280px;
7 | position: absolute;
8 | text-align: center;
9 | top: 0;
10 | word-break: break-all;
11 | word-wrap: break-word;
12 | visibility: hidden;
13 | z-index: $z-toolbar;
14 |
15 | a {
16 | color: #fff;
17 | display: inline-block;
18 | margin: 5px 5px 10px;
19 | }
20 | }
21 |
22 | .medium-editor-anchor-preview-active {
23 | visibility: visible;
24 | }
25 |
--------------------------------------------------------------------------------
/src/lib/progressbar.js/mkdocs.yml:
--------------------------------------------------------------------------------
1 | site_name: ProgressBar.js
2 | repo_url: https://github.com/kimmobrunfeldt/progressbar.js
3 |
4 | pages:
5 | - Home: index.md
6 | - API References:
7 | - General information: api/general.md
8 | - ProgressBar.Line, Circle, SemiCircle: api/shape.md
9 | - ProgressBar.Path: api/path.md
10 | - Parameters in detail: api/parameters.md
11 | - Developers:
12 | - Contributing: contributing.md
13 |
14 | theme: readthedocs
15 |
16 | strict: true
17 |
18 | markdown_extensions:
19 | - admonition
20 | - toc:
21 | permalink: True
22 | - mdx_sections
23 | - pymdownx.superfences
24 |
--------------------------------------------------------------------------------
/src/lib/progressbar.js/local-dev/main.js:
--------------------------------------------------------------------------------
1 | var ProgressBar = require('../src/main.js');
2 |
3 |
4 | function onLoad() {
5 | var bar = new ProgressBar.Circle('#progress', {
6 | duration: 4000,
7 | from: {
8 | color: '#f00'
9 | },
10 | to: {
11 | color: '#0f0'
12 | },
13 | step: function(state, bar) {
14 | bar.path.setAttribute('stroke', state.color);
15 | },
16 | });
17 |
18 | bar.animate(1);
19 |
20 | // Expose the bar to global so it is easy to test from console
21 | window.bar = bar;
22 | }
23 |
24 | window.onload = onLoad;
25 |
--------------------------------------------------------------------------------
/src/lib/jquery/src/css/hiddenVisibleSelectors.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core",
3 | "../selector"
4 | ], function( jQuery ) {
5 |
6 | jQuery.expr.filters.hidden = function( elem ) {
7 | return !jQuery.expr.filters.visible( elem );
8 | };
9 | jQuery.expr.filters.visible = function( elem ) {
10 |
11 | // Support: Opera <= 12.12
12 | // Opera reports offsetWidths and offsetHeights less than zero on some elements
13 | // Use OR instead of AND as the element is not visible if either is true
14 | // See tickets #10406 and #13132
15 | return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0;
16 | };
17 |
18 | } );
19 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/overviewPanel/actions.jsx:
--------------------------------------------------------------------------------
1 | import * as types from './actionTypes';
2 |
3 | export function toggleOrganize() {
4 | return {
5 | type: types.TOGGLE_ORGANIZE,
6 | value: null
7 | };
8 | }
9 |
10 | export function changeSelectedItem(itemID) {
11 | return {
12 | type: types.CHANGE_SELECTED_ITEM,
13 | value: itemID
14 | };
15 | }
16 |
17 | export function updateItems(items) {
18 | return {
19 | type: types.UPDATE_ITEMS,
20 | value: items
21 | };
22 | }
23 |
24 | export function updateOrder(order) {
25 | return {
26 | type: types.UPDATE_ORDER,
27 | value: order
28 | };
29 | }
30 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/.npmignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 | *.egg-info
3 | *.db
4 | *.db.old
5 | *.swp
6 | *.db-journal
7 |
8 | .coverage
9 | .DS_Store
10 | .installed.cfg
11 | _gh_pages/*
12 |
13 | .idea/*
14 | .svn/*
15 | src/website/static/*
16 | src/website/media/*
17 |
18 | bin
19 | cfcache
20 | develop-eggs
21 | dist
22 | downloads
23 | eggs
24 | parts
25 | tmp
26 | .sass-cache
27 | node_modules
28 |
29 | src/website/settingslocal.py
30 | stunnel.log
31 |
32 | .ruby-version
33 |
34 | # don't need these in the npm package.
35 | src/
36 | _config.yml
37 | bower.json
38 | component.json
39 | composer.json
40 | CONTRIBUTING.md
41 | Gemfile
42 | Gemfile.lock
43 |
--------------------------------------------------------------------------------
/src/lib/jquery/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "main": "dist/jquery.js",
4 | "license": "MIT",
5 | "ignore": [
6 | "package.json"
7 | ],
8 | "keywords": [
9 | "jquery",
10 | "javascript",
11 | "browser",
12 | "library"
13 | ],
14 | "homepage": "https://github.com/jquery/jquery-dist",
15 | "version": "2.2.4",
16 | "_release": "2.2.4",
17 | "_resolution": {
18 | "type": "version",
19 | "tag": "2.2.4",
20 | "commit": "c0185ab7c75aab88762c5aae780b9d83b80eda72"
21 | },
22 | "_source": "https://github.com/jquery/jquery-dist.git",
23 | "_target": "~2.2.4",
24 | "_originalSource": "jquery"
25 | }
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/media/ImageGallery.hbs:
--------------------------------------------------------------------------------
1 |
2 | {{#each images}}
3 |
4 | {{/each}}
5 |
6 |
7 |
8 |
9 |
10 |
{{{caption}}}
11 |
--------------------------------------------------------------------------------
/src/lib/jquery/src/css/addGetHookIf.js:
--------------------------------------------------------------------------------
1 | define( function() {
2 |
3 | function addGetHookIf( conditionFn, hookFn ) {
4 |
5 | // Define the hook, we'll check on the first run if it's really needed.
6 | return {
7 | get: function() {
8 | if ( conditionFn() ) {
9 |
10 | // Hook not needed (or it's not possible to use it due
11 | // to missing dependency), remove it.
12 | delete this.get;
13 | return;
14 | }
15 |
16 | // Hook needed; redefine it so that the support test is not executed again.
17 | return ( this.get = hookFn ).apply( this, arguments );
18 | }
19 | };
20 | }
21 |
22 | return addGetHookIf;
23 |
24 | } );
25 |
--------------------------------------------------------------------------------
/src/lib/loader/.gitattributes:
--------------------------------------------------------------------------------
1 | # Automatically normalize line endings for all text-based files
2 | # http://git-scm.com/docs/gitattributes#_end_of_line_conversion
3 | * text=auto
4 |
5 | # For the following file types, normalize line endings to LF on
6 | # checkin and prevent conversion to CRLF when they are checked out
7 | # (this is required in order to prevent newline related issues like,
8 | # for example, after the build script is run)
9 | .* text eol=lf
10 | *.css text eol=lf
11 | *.html text eol=lf
12 | *.js text eol=lf
13 | *.json text eol=lf
14 | *.md text eol=lf
15 | *.sh text eol=lf
16 | *.txt text eol=lf
17 | *.xml text eol=lf
18 |
--------------------------------------------------------------------------------
/src/lib/spectrum/i18n/jquery.spectrum-cs.js:
--------------------------------------------------------------------------------
1 | // Spectrum Colorpicker
2 | // Czech (cs) localization
3 | // https://github.com/bgrins/spectrum
4 | // author localization cs Pavel Laupe Dvorak pavel@pavel-dvorak.cz
5 |
6 | (function ( $ ) {
7 |
8 | var localization = $.spectrum.localization["cs"] = {
9 | cancelText: "zrušit",
10 | chooseText: "vybrat",
11 | clearText: "Resetovat výměr barev",
12 | noColorSelectedText: "Žádná barva nebyla vybrána",
13 | togglePaletteMoreText: "více",
14 | togglePaletteLessText: "méně"
15 | };
16 |
17 | $.extend($.fn.spectrum.defaults, localization);
18 |
19 | })( jQuery );
--------------------------------------------------------------------------------
/src/lib/jquery/src/manipulation/getAll.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | function getAll( context, tag ) {
6 |
7 | // Support: IE9-11+
8 | // Use typeof to avoid zero-argument method invocation on host objects (#15151)
9 | var ret = typeof context.getElementsByTagName !== "undefined" ?
10 | context.getElementsByTagName( tag || "*" ) :
11 | typeof context.querySelectorAll !== "undefined" ?
12 | context.querySelectorAll( tag || "*" ) :
13 | [];
14 |
15 | return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
16 | jQuery.merge( [ context ], ret ) :
17 | ret;
18 | }
19 |
20 | return getAll;
21 | } );
22 |
--------------------------------------------------------------------------------
/src/lib/resample-hermite/README.md:
--------------------------------------------------------------------------------
1 | Hermite-resize
2 | ==============
3 |
4 | Fast image resize/resample using Hermite filter with JavaScript.
5 |
6 | demo: http://viliusle.github.io/miniPaint/
7 | fiddle: http://jsfiddle.net/9g9Nv/96/
8 |
9 | ### Single core:
10 |
hermite.js - main function, fastest way.
11 |
12 | ### Multi-core*:
13 |
worker-handler.js - function that splits image, sends each peace to resize and combines results
14 |
worker-hermite.js - worker, must be in same domain
15 |
16 | * slower than single core, because sharing resources, combining takes additional time. And there are no ways to get CPU count with JS.
17 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/notification/Cancel.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{label}}
4 | {{#if displayCancel}}
5 |
{{labelCancel}}
6 | {{/if}}
7 |
8 | ×
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/lib/calcite-bootstrap/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "calcite-bootstrap",
3 | "_cacheHeaders": {
4 | "ETag": "\"d55fe96a2aed23fd209fc8f2765ffd0e\"",
5 | "Last-Modified": "Mon, 04 Apr 2016 17:38:19 GMT",
6 | "Content-Length": "1113654",
7 | "Content-Type": "application/octet-stream",
8 | "Content-Disposition": "attachment; filename=calcite-bootstrap.zip"
9 | },
10 | "_release": "e-tag:d55fe96a2",
11 | "_source": "https://github.com/Esri/calcite-bootstrap/releases/download/v0.3.2/calcite-bootstrap.zip",
12 | "_target": "*",
13 | "_originalSource": "https://github.com/Esri/calcite-bootstrap/releases/download/v0.3.2/calcite-bootstrap.zip"
14 | }
--------------------------------------------------------------------------------
/src/lib/react-bootstrap/README.md:
--------------------------------------------------------------------------------
1 | # react-bootstrap-bower
2 |
3 | [Bootstrap 3](http://getbootstrap.com) components built with [React](http://facebook.github.io/react/)
4 |
5 | This repo contains built AMD modules and standalone browser globals.
6 |
7 | There is a separate [source repo](https://github.com/react-bootstrap/react-bootstrap).
8 |
9 | A [docs site](http://react-bootstrap.github.io) with live editable examples.
10 |
11 | [](https://travis-ci.org/react-bootstrap/react-bootstrap) [](http://badge.fury.io/bo/react-bootstrap)
12 |
--------------------------------------------------------------------------------
/src/lib/jquery/src/exports/global.js:
--------------------------------------------------------------------------------
1 | var
2 |
3 | // Map over jQuery in case of overwrite
4 | _jQuery = window.jQuery,
5 |
6 | // Map over the $ in case of overwrite
7 | _$ = window.$;
8 |
9 | jQuery.noConflict = function( deep ) {
10 | if ( window.$ === jQuery ) {
11 | window.$ = _$;
12 | }
13 |
14 | if ( deep && window.jQuery === jQuery ) {
15 | window.jQuery = _jQuery;
16 | }
17 |
18 | return jQuery;
19 | };
20 |
21 | // Expose jQuery and $ identifiers, even in AMD
22 | // (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
23 | // and CommonJS for browser emulators (#13566)
24 | if ( !noGlobal ) {
25 | window.jQuery = window.$ = jQuery;
26 | }
27 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/media/VideoBackground.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/app/custom-scripts.js:
--------------------------------------------------------------------------------
1 | require(['dojo/topic'], function(topic) {
2 | /*
3 | * Custom Javascript to be executed while the application is initializing goes here
4 | */
5 |
6 | // The application is ready
7 | topic.subscribe('tpl-ready', function() {
8 | /*
9 | * Custom Javascript to be executed when the application is ready goes here
10 | */
11 |
12 | //console.log('Cascade is ready');
13 | });
14 |
15 | /*
16 | * Custom Javascript to be executed when a section becomes active
17 | */
18 | topic.subscribe('story-navigated-section', function(/*cfg*/) {
19 | //console.log('The section', cfg.index, 'is now active');
20 | });
21 |
22 | });
23 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/BuildConfigBuilder.js:
--------------------------------------------------------------------------------
1 | require([
2 | 'lib-build/css!lib/calcite-bootstrap/css/calcite-bootstrap-open.min',
3 | 'lib-build/less!storymaps/tpl/view/ui/bootstrap-override',
4 | 'storymaps/tpl/core/Core',
5 |
6 | 'storymaps/tpl/core/MainView',
7 | 'storymaps/tpl/builder/Builder',
8 | 'storymaps/tpl/builder/BuilderView',
9 |
10 | // Load some factory that are loaded dynamically and would not be included in build otherwise
11 | 'storymaps-react/tpl/view/media/FactoryBuilder',
12 | 'storymaps-react/tpl/view/section/FactoryBuilder',
13 | 'storymaps/tpl/view/section/Immersive/PanelFactoryBuilder'
14 |
15 | ], function() {
16 | // Nothing here
17 | });
18 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/media/builder/TabWebPage.hbs:
--------------------------------------------------------------------------------
1 |
2 |
{{strings.interaction}}
3 |
4 | {{strings.interactionDisabled}}
5 | {{strings.buttonToEnable}}
6 | {{strings.interactionEnabled}} *
7 |
8 |
{{strings.interactionAside}}
9 |
10 |
--------------------------------------------------------------------------------
/src/lib/medium-editor/src/js/defaults/options.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | // summary: The default options hash used by the Editor
3 |
4 | MediumEditor.prototype.defaults = {
5 | activeButtonClass: 'medium-editor-button-active',
6 | buttonLabels: false,
7 | delay: 0,
8 | disableReturn: false,
9 | disableDoubleReturn: false,
10 | disableExtraSpaces: false,
11 | disableEditing: false,
12 | autoLink: false,
13 | elementsContainer: false,
14 | contentWindow: window,
15 | ownerDocument: document,
16 | targetBlank: false,
17 | extensions: {},
18 | spellcheck: true
19 | };
20 | })();
21 |
--------------------------------------------------------------------------------
/src/lib/seiyria-bootstrap-slider/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "seiyria-bootstrap-slider",
3 | "version": "9.2.2",
4 | "homepage": "https://github.com/seiyria/bootstrap-slider",
5 | "authors": [
6 | "Kyle Kemp
",
7 | "Rohit Kalkur "
8 | ],
9 | "description": "a slider element for bootstrap 2/3",
10 | "main": [
11 | "dist/bootstrap-slider.js",
12 | "dist/css/bootstrap-slider.css"
13 | ],
14 | "keywords": [
15 | "slider",
16 | "bootstrap2",
17 | "bootstrap3",
18 | "bootstrap"
19 | ],
20 | "license": "MIT",
21 | "ignore": [
22 | "**/.*",
23 | "node_modules",
24 | "bower_components"
25 | ]
26 | }
27 |
--------------------------------------------------------------------------------
/src/lib/loader/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 |
4 | ## 0.1.1 (Dec 25, 2015)
5 |
6 | - Improved image loading and reading.
7 | - Improved utilities.
8 |
9 |
10 | ## 0.1.0 (Nov 29, 2015)
11 |
12 | - The first parameter of the `Loader` constructor should be a valid `HTMLImageElement` now.
13 | - Add 2 new options: `width` and `height`.
14 | - Add tests for options.
15 |
16 |
17 | ## 0.0.2 (Nov 28, 2015)
18 |
19 | - Fixed image url error.
20 |
21 |
22 | ## 0.0.1 (Nov 17, 2015)
23 |
24 | - Load an image by translating its Exif Orientation information.
25 | - Supports 6 options:
26 | - `type`,
27 | - `minWidth`,
28 | - `minHeight`,
29 | - `maxWidth`,
30 | - `maxHeight`,
31 | - `done`
32 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/overviewPanel/reducer.jsx:
--------------------------------------------------------------------------------
1 | import * as types from './actionTypes';
2 |
3 | function overviewPanel(state = {}, action) {
4 | switch (action.type) {
5 | case types.CHANGE_SELECTED_ITEM:
6 | return Object.assign({}, state, { selectedItem: action.value });
7 | case types.TOGGLE_ORGANIZE:
8 | return Object.assign({}, state, { organize: !state.organize });
9 | case types.UPDATE_ITEMS:
10 | return Object.assign({}, state, { items: action.value });
11 | case types.UPDATE_ORDER:
12 | return Object.assign({}, state, { order: action.value });
13 | default:
14 | return state;
15 | }
16 | }
17 |
18 | export default overviewPanel;
19 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/media/WebSceneBackground.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{labelExploreStart}}
10 |
11 |
12 | {{labelExploreStop}}
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/lib/calcite-bootstrap/sass/calcite/_sticky-footer.scss:
--------------------------------------------------------------------------------
1 | // ┌───────────────┐
2 | // │ Sticky Footer │
3 | // └───────────────┘
4 |
5 | //== Let's make the footer stick to the bottom when the page is short!
6 |
7 | // Footer CSS
8 | html {
9 | position: relative;
10 | min-height: 100%;
11 | }
12 | body {
13 | margin-bottom: ($footer-height + 20px);
14 | }
15 | .footer {
16 | position: absolute;
17 | bottom: 0;
18 | width: 100%;
19 | /* Set the fixed height of the footer here */
20 | height: $footer-height;
21 | background-color: $footer-bg;
22 | }
23 | /* This centers the text vertically in the footer */
24 | .container .text-muted, .container-fluid .text-muted {
25 | margin: 18px 0;
26 | }
27 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/mediaPicker/mp-variables.less:
--------------------------------------------------------------------------------
1 | @import '../../view/ui/common-variables';
2 |
3 | // ----- my variables ----- //
4 |
5 | @focus-shadow-color: fade(@Calcite_Blue_a100, 60%);
6 | @btn-default-hover-bg: @Calcite_Blue_100;
7 | @disabled-bg: @Calcite_Gray_100;
8 | @dragndrop-bg: @state-info-bg;
9 |
10 | @disabled-gray: @Calcite_Gray_350;
11 | @border-gray: @Calcite_Gray_350;
12 | @shadow-gray: @Calcite_Gray_350;
13 |
14 | @providers-gray: @Brand_Gray_200;
15 |
16 | // ----- widths and sizes and things ----- //
17 | @mp-sidepanel-width: 300px;
18 | @mp-sidepanel-width-sm: 250px;
19 | @screen-short: 720px;
20 | @screen-shorter: 600px;
21 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/builder/overviewPanel/list/item/immersiveView/ItemMain.less:
--------------------------------------------------------------------------------
1 | @import './../../../Variables';
2 |
3 | .op-style-horizontal {
4 | .op-item-main {
5 | position: relative;
6 | flex: 0 1 auto;
7 | width: 140px;
8 |
9 | .media-type {
10 | position: absolute;
11 | top: 0;
12 | left: 0;
13 | border-top: 55px solid @overlay-background-color;
14 | border-right: 55px solid transparent;
15 | height: 0;
16 | width: 0;
17 | z-index: 0;
18 | }
19 |
20 | .icon {
21 | position: absolute;
22 | top: 5px;
23 | left: 5px;
24 | z-index: 0;
25 | height: @item-icon-size;
26 | width: auto;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/lib/calcite-bootstrap/sass/calcite/components.scss:
--------------------------------------------------------------------------------
1 | // Custom SASS modules
2 | @import "tables-custom";
3 | @import "buttons-custom";
4 | @import "forms-custom";
5 | @import "dropdowns-custom";
6 | @import "navbar-custom";
7 | @import "navs-tabs-custom";
8 | @import "pager-custom";
9 | @import "tooltips-custom";
10 | @import "labels-custom";
11 | @import "listgroups-custom";
12 | @import "panels-custom";
13 | @import "badges-custom";
14 | @import "code-custom";
15 | @import "type-custom";
16 |
17 | // Custom modules that have no Bootstrap module pairing
18 | @import "header-custom";
19 | @import "navs-custom";
20 | @import "footer-custom";
21 | @import "sticky-footer";
22 | @import "loader";
23 | @import "card-custom";
24 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/section/FactoryBuilder.jsx:
--------------------------------------------------------------------------------
1 | import FactoryViewer from './FactoryViewer';
2 |
3 | import Cover from './Cover/CoverBuilder';
4 | import Sequence from './SequenceBuilder';
5 | import Title from './TitleBuilder';
6 | import Immersive from './Immersive/ImmersiveBuilder';
7 | import Credits from './CreditsBuilder';
8 | import CreditsPlaceholder from './builder/CreditsPlaceholder';
9 |
10 | export default class FactoryBuilder extends FactoryViewer {
11 | static getClasses() {
12 | return {
13 | Cover: Cover,
14 | Sequence: Sequence,
15 | Title: Title,
16 | Immersive: Immersive,
17 | Credits: Credits,
18 | CreditsPlaceholder: CreditsPlaceholder
19 | };
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/less/bordered-pulled.less:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em @fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .@{fa-css-prefix}-pull-left { float: left; }
11 | .@{fa-css-prefix}-pull-right { float: right; }
12 |
13 | .@{fa-css-prefix} {
14 | &.@{fa-css-prefix}-pull-left { margin-right: .3em; }
15 | &.@{fa-css-prefix}-pull-right { margin-left: .3em; }
16 | }
17 |
18 | /* Deprecated as of 4.4.0 */
19 | .pull-right { float: right; }
20 | .pull-left { float: left; }
21 |
22 | .@{fa-css-prefix} {
23 | &.pull-left { margin-right: .3em; }
24 | &.pull-right { margin-left: .3em; }
25 | }
26 |
--------------------------------------------------------------------------------
/src/lib/medium-editor/src/sass/components/_placeholder.scss:
--------------------------------------------------------------------------------
1 | .medium-editor-placeholder {
2 | position: relative;
3 |
4 | &:after {
5 | content: attr(data-placeholder) !important;
6 | font-style: italic;
7 | position: absolute;
8 | left: 0;
9 | top: 0;
10 | white-space: pre;
11 | padding: inherit;
12 | margin: inherit;
13 | }
14 | }
15 |
16 | .medium-editor-placeholder-relative {
17 | position: relative;
18 |
19 | &:after {
20 | content: attr(data-placeholder) !important;
21 | font-style: italic;
22 | position: relative;
23 | white-space: pre;
24 | padding: inherit;
25 | margin: inherit;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/app/storymaps/issue-checker/src/media/layers/AGOLHostedLayer.js:
--------------------------------------------------------------------------------
1 | import ArcGISUtils from 'esri/arcgis/utils';
2 |
3 | import AGOLItem from './../AGOLItem';
4 |
5 | export default class AGOLHostedLayer {
6 | static check(options) {
7 | options.layerResults.details.title = options.layerItem.title;
8 |
9 | return AGOLItem._checkItem({
10 | item: options.layerResults,
11 | appAccess: options.appAccess,
12 | mediaType: options.mediaType,
13 | privileges: options.privileges
14 | }).then(result => {
15 | let baseURL = ArcGISUtils.arcgisUrl.split('/sharing/')[0];
16 | result.details.linkURL = baseURL + '/home/item.html?id=' + result.id;
17 |
18 | return result;
19 | });
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/media/WebMapBackground.hbs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{labelExploreStart}}
10 |
11 |
12 | {{labelExploreStop}}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/scss/_bordered-pulled.scss:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em $fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .#{$fa-css-prefix}-pull-left { float: left; }
11 | .#{$fa-css-prefix}-pull-right { float: right; }
12 |
13 | .#{$fa-css-prefix} {
14 | &.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
15 | &.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
16 | }
17 |
18 | /* Deprecated as of 4.4.0 */
19 | .pull-right { float: right; }
20 | .pull-left { float: left; }
21 |
22 | .#{$fa-css-prefix} {
23 | &.pull-left { margin-right: .3em; }
24 | &.pull-right { margin-left: .3em; }
25 | }
26 |
--------------------------------------------------------------------------------
/src/lib/jquery/src/queue/delay.js:
--------------------------------------------------------------------------------
1 | define( [
2 | "../core",
3 | "../queue",
4 | "../effects" // Delay is optional because of this dependency
5 | ], function( jQuery ) {
6 |
7 | // Based off of the plugin by Clint Helfers, with permission.
8 | // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
9 | jQuery.fn.delay = function( time, type ) {
10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
11 | type = type || "fx";
12 |
13 | return this.queue( type, function( next, hooks ) {
14 | var timeout = window.setTimeout( next, time );
15 | hooks.stop = function() {
16 | window.clearTimeout( timeout );
17 | };
18 | } );
19 | };
20 |
21 | return jQuery.fn.delay;
22 | } );
23 |
--------------------------------------------------------------------------------
/src/lib/loader/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Loader Test
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/section/Cover/CoverBlur.js:
--------------------------------------------------------------------------------
1 | define([
2 | './CoverCommonEffects'
3 | ], function(
4 | CoverCommonEffects
5 | ) {
6 | return function BlurCover() {
7 | this.dataViews = 1.5;
8 | this.layoutType = 'blur';
9 |
10 | this.displayCover = function(params) {
11 | CoverCommonEffects.scaleFadeInCover(params);
12 | };
13 |
14 | this.onScroll = function(params) {
15 | updateBackground(params);
16 | updateForeground(params);
17 | };
18 |
19 | function updateBackground(params) {
20 | CoverCommonEffects.blurBackground(params, false);
21 | }
22 |
23 | function updateForeground(params) {
24 | CoverCommonEffects.fadeOutForeground(params);
25 | }
26 | };
27 | });
28 |
--------------------------------------------------------------------------------
/src/lib/font-awesome/less/rotated-flipped.less:
--------------------------------------------------------------------------------
1 | // Rotated & Flipped Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7 |
8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
10 |
11 | // Hook for IE8-9
12 | // -------------------------
13 |
14 | :root .@{fa-css-prefix}-rotate-90,
15 | :root .@{fa-css-prefix}-rotate-180,
16 | :root .@{fa-css-prefix}-rotate-270,
17 | :root .@{fa-css-prefix}-flip-horizontal,
18 | :root .@{fa-css-prefix}-flip-vertical {
19 | filter: none;
20 | }
21 |
--------------------------------------------------------------------------------
/src/lib/Sortable/meteor/methods-client.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | Meteor.methods({
4 | /**
5 | * Update the sortField of documents with given ids in a collection, incrementing it by incDec
6 | * @param {String} collectionName - name of the collection to update
7 | * @param {String[]} ids - array of document ids
8 | * @param {String} orderField - the name of the order field, usually "order"
9 | * @param {Number} incDec - pass 1 or -1
10 | */
11 | 'rubaxa:sortable/collection-update': function (collectionName, ids, sortField, incDec) {
12 | var selector = {_id: {$in: ids}}, modifier = {$inc: {}};
13 | modifier.$inc[sortField] = incDec;
14 | Mongo.Collection.get(collectionName).update(selector, modifier, {multi: true});
15 | }
16 | });
17 |
--------------------------------------------------------------------------------
/src/lib/jquery-mousewheel/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery-mousewheel",
3 | "version": "3.1.13",
4 | "main": "./jquery.mousewheel.js",
5 | "ignore": [
6 | "*.json",
7 | "*.markdown",
8 | "*.txt",
9 | ".*",
10 | "!LICENSE.txt",
11 | "Gruntfile.js",
12 | "test"
13 | ],
14 | "dependencies": {
15 | "jquery": ">=1.2.2"
16 | },
17 | "homepage": "https://github.com/jquery/jquery-mousewheel",
18 | "_release": "3.1.13",
19 | "_resolution": {
20 | "type": "version",
21 | "tag": "3.1.13",
22 | "commit": "67289b6b2aa0066d7d78a5807f520387135ffb22"
23 | },
24 | "_source": "https://github.com/jquery/jquery-mousewheel.git",
25 | "_target": "~3.1.13",
26 | "_originalSource": "jquery-mousewheel"
27 | }
--------------------------------------------------------------------------------
/src/lib/medium-editor/src/sass/medium-editor.scss:
--------------------------------------------------------------------------------
1 | @import "settings";
2 | @import "animations/image-loading";
3 | @import "animations/pop-upwards";
4 | @import "components/anchor-preview";
5 | @import "components/file-dragging";
6 | @import "components/placeholder";
7 | @import "components/toolbar";
8 | @import "components/toolbar-form";
9 | @import "util/clearfix";
10 |
11 | // contenteditable rules
12 | .medium-editor-element {
13 | word-wrap: break-word;
14 | min-height: 30px;
15 |
16 | img {
17 | max-width: 100%;
18 | }
19 |
20 | sub {
21 | vertical-align: sub;
22 | }
23 |
24 | sup {
25 | vertical-align: super;
26 | }
27 | }
28 |
29 | .medium-editor-hidden {
30 | display: none;
31 | }
32 |
--------------------------------------------------------------------------------
/src/lib/progress.js/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Progress.js",
3 | "version": "0.1.0",
4 | "description": "Themeable HTML5 progress bar library",
5 | "keywords": [
6 | "progress",
7 | "progressbar",
8 | "loading"
9 | ],
10 | "homepage": "http://usablica.github.io/progress.js/",
11 | "author": "Afshin Mehrabani",
12 | "main": [
13 | "src/progress.js",
14 | "src/progressjs.css"
15 | ],
16 | "_release": "0.1.0",
17 | "_resolution": {
18 | "type": "version",
19 | "tag": "v0.1.0",
20 | "commit": "acba45829bfea7ba073aedca7d70fcf47e22317b"
21 | },
22 | "_source": "https://github.com/usablica/progress.js.git",
23 | "_target": "*",
24 | "_originalSource": "https://github.com/usablica/progress.js.git"
25 | }
--------------------------------------------------------------------------------
/src/app/storymaps/tpl/view/section/Cover/CoverCurtain.js:
--------------------------------------------------------------------------------
1 | define([
2 | './CoverCommonEffects'
3 | ], function(
4 | CoverCommonEffects
5 | ) {
6 | return function CurtainCover() {
7 | this.dataViews = 1;
8 | this.layoutType = 'curtain';
9 |
10 | this.displayCover = function(params) {
11 | CoverCommonEffects.fadeInBackground(params);
12 | };
13 |
14 | this.onScroll = function(params) {
15 | updateBackground(params);
16 | updateForeground(params);
17 | };
18 |
19 | function updateBackground(params) {
20 | CoverCommonEffects.darkenCover(params, false);
21 | }
22 |
23 | function updateForeground(params) {
24 | CoverCommonEffects.translateForegroundDown(params);
25 | }
26 | };
27 | });
28 |
--------------------------------------------------------------------------------
/src/lib/Sortable/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Sortable",
3 | "main": "Sortable.js",
4 | "version": "1.4.2",
5 | "homepage": "http://rubaxa.github.io/Sortable/",
6 | "repo": "RubaXa/Sortable",
7 | "authors": [
8 | "RubaXa "
9 | ],
10 | "description": "Minimalist library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery.",
11 | "keywords": [
12 | "sortable",
13 | "reorder",
14 | "list",
15 | "html5",
16 | "drag",
17 | "and",
18 | "drop",
19 | "dnd"
20 | ],
21 | "license": "MIT",
22 | "ignore": [
23 | "node_modules",
24 | "bower_components",
25 | "test",
26 | "tests"
27 | ],
28 |
29 | "scripts": [
30 | "Sortable.js"
31 | ]
32 | }
33 |
--------------------------------------------------------------------------------