From 031538831e03a8d9c6491adab3d38982ee753754 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 2 Aug 2024 09:14:55 +0000 Subject: [PATCH] Deploy Github Action --- classes/docklayout.docklayout-1.html | 30 +- examples/adv-save-layout.html | 18 - examples/adv-save-layout.html.html | 28 - examples/adv-save-layout.js | 432 - examples/adv-save-layout.jsx.html | 136 - examples/adv-tab-update.html | 18 - examples/adv-tab-update.html.html | 28 - examples/adv-tab-update.js | 343 - examples/adv-tab-update.jsx.html | 97 - examples/basic.html | 18 - examples/basic.html.html | 28 - examples/basic.js | 376 - examples/basic.jsx.html | 107 - examples/controlled-layout.html | 18 - examples/controlled-layout.html.html | 28 - examples/controlled-layout.js | 371 - examples/controlled-layout.jsx.html | 95 - examples/dark-theme.html | 18 - examples/dark-theme.html.html | 28 - examples/dark-theme.jsx.html | 12 - examples/disable-dock.html | 18 - examples/disable-dock.html.html | 28 - examples/disable-dock.js | 326 - examples/disable-dock.jsx.html | 58 - examples/divider-box.html | 18 - examples/divider-box.html.html | 28 - examples/divider-box.js | 342 - examples/divider-box.jsx.html | 62 - examples/drag-new-tab.html | 18 - examples/drag-new-tab.html.html | 28 - examples/drag-new-tab.js | 344 - examples/drag-new-tab.jsx.html | 77 - examples/drop-mode.html | 18 - examples/drop-mode.html.html | 28 - examples/drop-mode.js | 327 - examples/drop-mode.jsx.html | 62 - examples/gesture.html | 48 - examples/gesture.html.html | 61 - examples/gesture.js | 2356 -- examples/gesture.jsx.html | 48 - examples/index.html | 102 - examples/index.html.html | 119 - examples/index.js | 346 - examples/index.jsx.html | 78 - examples/new-window.html | 18 - examples/new-window.html.html | 28 - examples/new-window.js | 330 - examples/new-window.jsx.html | 83 - examples/panel-extra.html | 36 - examples/panel-extra.html.html | 49 - examples/panel-extra.js | 369 - examples/panel-extra.jsx.html | 114 - examples/panel-style.html | 86 - examples/panel-style.html.html | 100 - examples/panel-style.js | 380 - examples/panel-style.jsx.html | 132 - examples/prism-coy.css | 152 - examples/prism-tabs.js | 685 - examples/save-layout.html | 18 - examples/save-layout.html.html | 28 - examples/save-layout.js | 417 - examples/save-layout.jsx.html | 102 - examples/shared-import.js | 28141 ----------------------- examples/standalone-divider.html | 56 - examples/standalone-divider.html.html | 69 - examples/standalone-divider.js | 336 - examples/standalone-divider.jsx.html | 66 - examples/style-dark.css | 1618 -- examples/style.css | 840 - examples/tab-cache.html | 18 - examples/tab-cache.html.html | 28 - examples/tab-cache.js | 326 - examples/tab-cache.jsx.html | 75 - examples/tab-min-size.html | 18 - examples/tab-min-size.html.html | 28 - examples/tab-min-size.js | 312 - examples/tab-min-size.jsx.html | 64 - examples/tab-update.html | 18 - examples/tab-update.html.html | 28 - examples/tab-update.js | 321 - examples/tab-update.jsx.html | 73 - interfaces/dockdata.boxbase.html | 8 +- interfaces/dockdata.boxdata.html | 18 +- interfaces/dockdata.dockcontext.html | 10 +- interfaces/dockdata.floatposition.html | 8 +- interfaces/dockdata.floatsize.html | 4 +- interfaces/dockdata.layoutbase.html | 8 +- interfaces/dockdata.layoutdata.html | 8 +- interfaces/dockdata.panelbase.html | 20 +- interfaces/dockdata.paneldata.html | 32 +- interfaces/dockdata.tabbase.html | 2 +- interfaces/dockdata.tabdata.html | 18 +- interfaces/dockdata.tabgroup.html | 24 +- interfaces/dockdata.tabpanecache.html | 8 +- interfaces/docklayout.layoutprops.html | 24 +- 95 files changed, 111 insertions(+), 42812 deletions(-) delete mode 100644 examples/adv-save-layout.html delete mode 100644 examples/adv-save-layout.html.html delete mode 100644 examples/adv-save-layout.js delete mode 100644 examples/adv-save-layout.jsx.html delete mode 100644 examples/adv-tab-update.html delete mode 100644 examples/adv-tab-update.html.html delete mode 100644 examples/adv-tab-update.js delete mode 100644 examples/adv-tab-update.jsx.html delete mode 100644 examples/basic.html delete mode 100644 examples/basic.html.html delete mode 100644 examples/basic.js delete mode 100644 examples/basic.jsx.html delete mode 100644 examples/controlled-layout.html delete mode 100644 examples/controlled-layout.html.html delete mode 100644 examples/controlled-layout.js delete mode 100644 examples/controlled-layout.jsx.html delete mode 100644 examples/dark-theme.html delete mode 100644 examples/dark-theme.html.html delete mode 100644 examples/dark-theme.jsx.html delete mode 100644 examples/disable-dock.html delete mode 100644 examples/disable-dock.html.html delete mode 100644 examples/disable-dock.js delete mode 100644 examples/disable-dock.jsx.html delete mode 100644 examples/divider-box.html delete mode 100644 examples/divider-box.html.html delete mode 100644 examples/divider-box.js delete mode 100644 examples/divider-box.jsx.html delete mode 100644 examples/drag-new-tab.html delete mode 100644 examples/drag-new-tab.html.html delete mode 100644 examples/drag-new-tab.js delete mode 100644 examples/drag-new-tab.jsx.html delete mode 100644 examples/drop-mode.html delete mode 100644 examples/drop-mode.html.html delete mode 100644 examples/drop-mode.js delete mode 100644 examples/drop-mode.jsx.html delete mode 100644 examples/gesture.html delete mode 100644 examples/gesture.html.html delete mode 100644 examples/gesture.js delete mode 100644 examples/gesture.jsx.html delete mode 100644 examples/index.html delete mode 100644 examples/index.html.html delete mode 100644 examples/index.js delete mode 100644 examples/index.jsx.html delete mode 100644 examples/new-window.html delete mode 100644 examples/new-window.html.html delete mode 100644 examples/new-window.js delete mode 100644 examples/new-window.jsx.html delete mode 100644 examples/panel-extra.html delete mode 100644 examples/panel-extra.html.html delete mode 100644 examples/panel-extra.js delete mode 100644 examples/panel-extra.jsx.html delete mode 100644 examples/panel-style.html delete mode 100644 examples/panel-style.html.html delete mode 100644 examples/panel-style.js delete mode 100644 examples/panel-style.jsx.html delete mode 100644 examples/prism-coy.css delete mode 100644 examples/prism-tabs.js delete mode 100644 examples/save-layout.html delete mode 100644 examples/save-layout.html.html delete mode 100644 examples/save-layout.js delete mode 100644 examples/save-layout.jsx.html delete mode 100644 examples/shared-import.js delete mode 100644 examples/standalone-divider.html delete mode 100644 examples/standalone-divider.html.html delete mode 100644 examples/standalone-divider.js delete mode 100644 examples/standalone-divider.jsx.html delete mode 100644 examples/style-dark.css delete mode 100644 examples/style.css delete mode 100644 examples/tab-cache.html delete mode 100644 examples/tab-cache.html.html delete mode 100644 examples/tab-cache.js delete mode 100644 examples/tab-cache.jsx.html delete mode 100644 examples/tab-min-size.html delete mode 100644 examples/tab-min-size.html.html delete mode 100644 examples/tab-min-size.js delete mode 100644 examples/tab-min-size.jsx.html delete mode 100644 examples/tab-update.html delete mode 100644 examples/tab-update.html.html delete mode 100644 examples/tab-update.js delete mode 100644 examples/tab-update.jsx.html diff --git a/classes/docklayout.docklayout-1.html b/classes/docklayout.docklayout-1.html index 3ba62993..010ebbf5 100644 --- a/classes/docklayout.docklayout-1.html +++ b/classes/docklayout.docklayout-1.html @@ -135,7 +135,7 @@

constructor

Parameters

@@ -158,7 +158,7 @@

_isMounted

@@ -168,7 +168,7 @@

_onWindowResize

_onWindowResize: any = ...
@@ -179,7 +179,7 @@

_pendingDestroy

@@ -197,7 +197,7 @@

destroyRemovedPane

Returns void

@@ -215,7 +215,7 @@

dockMove

@@ -265,7 +265,7 @@

find

@@ -297,7 +297,7 @@

getGroup

@@ -325,7 +325,7 @@

getLayout

  • Returns LayoutData

    @@ -342,7 +342,7 @@

    loadLayout

  • @@ -372,7 +372,7 @@

    navigateToPanel

    @@ -405,7 +405,7 @@

    saveLayout

  • Returns LayoutBase

    @@ -422,7 +422,7 @@

    setLayout

  • Parameters

    @@ -446,7 +446,7 @@

    updateTab

    @@ -489,7 +489,7 @@

    Static getDerivedState
  • Parameters

    diff --git a/examples/adv-save-layout.html b/examples/adv-save-layout.html deleted file mode 100644 index f1258ae2..00000000 --- a/examples/adv-save-layout.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - rc-dock - - - - - -
    - - - - diff --git a/examples/adv-save-layout.html.html b/examples/adv-save-layout.html.html deleted file mode 100644 index c9691d3d..00000000 --- a/examples/adv-save-layout.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="adv-save-layout.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/adv-save-layout.js b/examples/adv-save-layout.js deleted file mode 100644 index 6d0edd5a..00000000 --- a/examples/adv-save-layout.js +++ /dev/null @@ -1,432 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/adv-tab-update.html.html b/examples/adv-tab-update.html.html deleted file mode 100644 index 09ddeb36..00000000 --- a/examples/adv-tab-update.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="adv-tab-update.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/adv-tab-update.js b/examples/adv-tab-update.js deleted file mode 100644 index 68aef263..00000000 --- a/examples/adv-tab-update.js +++ /dev/null @@ -1,343 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/basic.html.html b/examples/basic.html.html deleted file mode 100644 index cdd2d89f..00000000 --- a/examples/basic.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="basic.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/basic.js b/examples/basic.js deleted file mode 100644 index 162e6078..00000000 --- a/examples/basic.js +++ /dev/null @@ -1,376 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/controlled-layout.html.html b/examples/controlled-layout.html.html deleted file mode 100644 index ccc69d70..00000000 --- a/examples/controlled-layout.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="controlled-layout.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/controlled-layout.js b/examples/controlled-layout.js deleted file mode 100644 index 1a069141..00000000 --- a/examples/controlled-layout.js +++ /dev/null @@ -1,371 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/dark-theme.html.html b/examples/dark-theme.html.html deleted file mode 100644 index fabccdf5..00000000 --- a/examples/dark-theme.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style-dark.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="basic.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/dark-theme.jsx.html b/examples/dark-theme.jsx.html deleted file mode 100644 index 9deed302..00000000 --- a/examples/dark-theme.jsx.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - -
    -// The jsx is same as basic example.
    -// Only difference is in the css, just use dist/rc-dock-dark.css for dark theme.
    -
    -
    - - \ No newline at end of file diff --git a/examples/disable-dock.html b/examples/disable-dock.html deleted file mode 100644 index c44f88c0..00000000 --- a/examples/disable-dock.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - rc-dock - - - - - -
    - - - - diff --git a/examples/disable-dock.html.html b/examples/disable-dock.html.html deleted file mode 100644 index 8f05b697..00000000 --- a/examples/disable-dock.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="disable-dock.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/disable-dock.js b/examples/disable-dock.js deleted file mode 100644 index 28b37b68..00000000 --- a/examples/disable-dock.js +++ /dev/null @@ -1,326 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/divider-box.html.html b/examples/divider-box.html.html deleted file mode 100644 index 00376bb5..00000000 --- a/examples/divider-box.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="divider-box.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/divider-box.js b/examples/divider-box.js deleted file mode 100644 index a2f3dd86..00000000 --- a/examples/divider-box.js +++ /dev/null @@ -1,342 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/drag-new-tab.html.html b/examples/drag-new-tab.html.html deleted file mode 100644 index 6c401737..00000000 --- a/examples/drag-new-tab.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="drag-new-tab.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/drag-new-tab.js b/examples/drag-new-tab.js deleted file mode 100644 index da0bfa1f..00000000 --- a/examples/drag-new-tab.js +++ /dev/null @@ -1,344 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/drop-mode.html.html b/examples/drop-mode.html.html deleted file mode 100644 index ca02c9c5..00000000 --- a/examples/drop-mode.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="drop-mode.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/drop-mode.js b/examples/drop-mode.js deleted file mode 100644 index a3edcb55..00000000 --- a/examples/drop-mode.js +++ /dev/null @@ -1,327 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/gesture.html.html b/examples/gesture.html.html deleted file mode 100644 index 6bcfe882..00000000 --- a/examples/gesture.html.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -    div {
    -      box-sizing: border-box;
    -    }
    -
    -    body {
    -      margin: 0;
    -    }
    -
    -    #app {
    -      margin: 30px;
    -    }
    -
    -    .drag-initiator {
    -      width: 300px;
    -      height: 300px;
    -      background: #f8f8f8;
    -    }
    -
    -    .sidebox {
    -      position: absolute;
    -      top: 30px;
    -      left: 350px;
    -    }
    -
    -    iframe {
    -      position: absolute;
    -      top: 350px;
    -      left: 0;
    -      right: 0;
    -      height: calc(100% - 350px);
    -      min-height: 300px;
    -      border-top: solid 1px #ccc;
    -    }
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="gesture.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/gesture.js b/examples/gesture.js deleted file mode 100644 index 9a20d087..00000000 --- a/examples/gesture.js +++ /dev/null @@ -1,2356 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/index.html.html b/examples/index.html.html deleted file mode 100644 index 78064bac..00000000 --- a/examples/index.html.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -    html, body {
    -      width: 100%;
    -      height: 100%;
    -      margin: 0;
    -      padding: 0;
    -    }
    -
    -    nav {
    -      box-sizing: border-box;
    -      background: #373a3c;
    -      color: #fff;
    -      padding: 10px;
    -      min-height: 80px;
    -      box-shadow: 0 0 5px #373a3c;
    -    }
    -
    -    .nav {
    -      display: flex;
    -      align-items: center;
    -      flex-wrap: wrap;
    -    }
    -
    -    #app, #app > div {
    -      width: 100%;
    -      height: 100%;
    -    }
    -
    -    h2 {
    -      color: #eee;
    -    }
    -
    -    h2, .link-bar {
    -      margin: 10px;
    -    }
    -
    -    a {
    -      margin-right: 20px;
    -      color: #ddd;
    -      text-decoration: none;
    -    }
    -
    -    a:first-child {
    -      color: #fff;
    -    }
    -
    -    .link-bar a:hover {
    -      text-decoration: underline;
    -    }
    -
    -    .link-bar a.current {
    -      color: #fff;
    -      text-decoration: underline;
    -    }
    -
    -
    -    .github-corner:hover .octo-arm {
    -      animation: octocat-wave 560ms ease-in-out
    -    }
    -
    -    @keyframes octocat-wave {
    -      0%, 100% {
    -        transform: rotate(0)
    -      }
    -      20%, 60% {
    -        transform: rotate(-25deg)
    -      }
    -      40%, 80% {
    -        transform: rotate(10deg)
    -      }
    -    }
    -
    -    @media (max-width: 500px) {
    -      .github-corner:hover .octo-arm {
    -        animation: none
    -      }
    -
    -      .github-corner .octo-arm {
    -        animation: octocat-wave 560ms ease-in-out
    -      }
    -    }
    -  </style>
    -</head>
    -<body>
    -<div id="app"></div>
    -<a href="https://github.com/ticlo/rc-dock" class="github-corner" aria-label="View source on GitHub">
    -  <svg width="80" height="80" viewBox="0 0 250 250"
    -       style="fill:#fff; color:#373a3c; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
    -    <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
    -    <path
    -      d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
    -      fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
    -    <path
    -      d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
    -      fill="currentColor" class="octo-body"></path>
    -  </svg>
    -</a>
    -
    -<script src="index.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/index.js b/examples/index.js deleted file mode 100644 index 98c6868f..00000000 --- a/examples/index.js +++ /dev/null @@ -1,346 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/new-window.html.html b/examples/new-window.html.html deleted file mode 100644 index c617a8f2..00000000 --- a/examples/new-window.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="new-window.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/new-window.js b/examples/new-window.js deleted file mode 100644 index 68a277fc..00000000 --- a/examples/new-window.js +++ /dev/null @@ -1,330 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/panel-extra.html.html b/examples/panel-extra.html.html deleted file mode 100644 index 58d083aa..00000000 --- a/examples/panel-extra.html.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -    .my-panel-extra-btn {
    -      cursor: pointer;
    -      font-family: Fredoka One;
    -      color: red;
    -      display: inline-block;
    -      width: 18px;
    -      height: 24px;
    -      text-align: center;
    -      opacity: 0.3;
    -      transition: all 0.25s ease-in-out;
    -      line-height: 30px;
    -    }
    -
    -    .my-panel-extra-btn:hover {
    -      opacity: 1;
    -    }
    -
    -    .btn {
    -      margin: 1px 5px;
    -      padding: 1px 5px;
    -    }
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="panel-extra.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/panel-extra.js b/examples/panel-extra.js deleted file mode 100644 index 26aa749b..00000000 --- a/examples/panel-extra.js +++ /dev/null @@ -1,369 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/panel-style.html.html b/examples/panel-style.html.html deleted file mode 100644 index 32052e55..00000000 --- a/examples/panel-style.html.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -    .github-icon {
    -      padding-left: 16px;
    -    }
    -
    -    .github-icon:before {
    -      width: 16px;
    -      height: 16px;
    -      position: absolute;
    -      left: 4px;
    -      top: 4px;
    -      content: url("https://avatars2.githubusercontent.com/u/20446550?s=20");
    -    }
    -
    -    .dock-panel.dock-style-custom {
    -      border: 1px solid #d88;
    -      border-radius: 8px 8px 0 0;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-tab {
    -      margin-right: 0;
    -      border: 1px solid #d88;
    -      background: #d88;
    -      color: #fff;
    -      border-radius: 16px 16px 0 0;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-tab.dock-tab-active {
    -      background: #fff;
    -      color: #c33;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-bar {
    -      background: #facccc;
    -      border-radius: 7px 7px 0 0;
    -      border-bottom: 1px solid #d88;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-tab-hit-area {
    -      /* cover the border area */
    -      left: -1px;
    -      right: -1px;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-panel-max-btn, .dock-panel.dock-style-custom .dock-panel-min-btn {
    -      opacity: 1;
    -    }
    -
    -    .dock-panel.dock-style-custom .dock-panel-max-btn:before, .dock-panel.dock-style-custom .dock-panel-min-btn:before {
    -      border-color: #fff;
    -      color: #fff;
    -    }
    -
    -    /* different color for the focused panel */
    -    .dock-panel.dock-style-custom:focus-within {
    -        border: 1px dashed #f00;
    -    }
    -
    -    /* tab buttons take all the space , and only apply it when it's not in float panel */
    -    .dock-layout > :not(.dock-fbox) .dock-panel.dock-style-custom .dock-nav-list {
    -        flex-grow: 1;
    -    }
    -    .dock-layout > :not(.dock-fbox) .dock-panel.dock-style-custom .dock-tab {
    -        flex: 1 0 auto;
    -    }
    -
    -    /* global dock layout styles */
    -    .dock-layout > .dock-drop-indicator {
    -        border: solid 1px red;
    -        box-shadow: inset 0 0 10px red;
    -        background: none;
    -    }
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="panel-style.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/panel-style.js b/examples/panel-style.js deleted file mode 100644 index 712318f7..00000000 --- a/examples/panel-style.js +++ /dev/null @@ -1,380 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/save-layout.html.html b/examples/save-layout.html.html deleted file mode 100644 index 7e7d6508..00000000 --- a/examples/save-layout.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="save-layout.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/save-layout.js b/examples/save-layout.js deleted file mode 100644 index 4d709388..00000000 --- a/examples/save-layout.js +++ /dev/null @@ -1,417 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/standalone-divider.html.html b/examples/standalone-divider.html.html deleted file mode 100644 index cd5be7e8..00000000 --- a/examples/standalone-divider.html.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -    div {
    -      box-sizing: border-box;
    -    }
    -
    -    body {
    -      margin: 0;
    -    }
    -
    -    #app {
    -      margin: 40px;
    -    }
    -
    -    .box {
    -      width: 400px;
    -      height: 200px;
    -      margin: 20px;
    -      display: flex;
    -    }
    -
    -    .box > div {
    -      border: 1px solid #ddd;
    -      flex: 1 1 auto;
    -    }
    -
    -    .dock-divider {
    -      height: 100%;
    -      width: 4px;
    -      flex: 0 0 4px;
    -      background: rgba(0, 0, 0, 0.01);
    -      cursor: ew-resize;
    -    }
    -
    -    iframe {
    -      position: absolute;
    -      top: 350px;
    -      left: 0;
    -      right: 0;
    -      height: calc(100% - 350px);
    -      min-height: 300px;
    -      border-top: solid 1px #ccc;
    -    }
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="standalone-divider.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/standalone-divider.js b/examples/standalone-divider.js deleted file mode 100644 index ec52657a..00000000 --- a/examples/standalone-divider.js +++ /dev/null @@ -1,336 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/tab-cache.html.html b/examples/tab-cache.html.html deleted file mode 100644 index 9957a17c..00000000 --- a/examples/tab-cache.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="tab-cache.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/tab-cache.js b/examples/tab-cache.js deleted file mode 100644 index 6abf3565..00000000 --- a/examples/tab-cache.js +++ /dev/null @@ -1,326 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/tab-min-size.html.html b/examples/tab-min-size.html.html deleted file mode 100644 index 53cc02f0..00000000 --- a/examples/tab-min-size.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="tab-min-size.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/tab-min-size.js b/examples/tab-min-size.js deleted file mode 100644 index acdd6dd7..00000000 --- a/examples/tab-min-size.js +++ /dev/null @@ -1,312 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/examples/tab-update.html.html b/examples/tab-update.html.html deleted file mode 100644 index b9045582..00000000 --- a/examples/tab-update.html.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -
    -<!DOCTYPE html>
    -<html lang="en">
    -<head>
    -  <meta charset="utf-8">
    -  <meta name="viewport" content="width=device-width">
    -  <title>rc-dock</title>
    -  <link href="https://fonts.googleapis.com/css?family=Fredoka+One" rel="stylesheet" crossorigin="anonymous">
    -  <link rel="stylesheet" href="./style.scss">
    -  <style>
    -
    -  </style>
    -</head>
    -<body>
    -<div id="app" style="height:100%"></div>
    -
    -<script src="tab-update.jsx" async></script>
    -</body>
    -</html>
    -
    -
    - - \ No newline at end of file diff --git a/examples/tab-update.js b/examples/tab-update.js deleted file mode 100644 index 6ff34ee8..00000000 --- a/examples/tab-update.js +++ /dev/null @@ -1,321 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - //