.dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file
diff --git a/cubbles/bootstrap-3.3.5@1.4.0/manifest.webpackage b/cubbles/bootstrap-3.3.5@1.4.0/manifest.webpackage
deleted file mode 100644
index 8d1ec78..0000000
--- a/cubbles/bootstrap-3.3.5@1.4.0/manifest.webpackage
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "name": "bootstrap-3.3.5",
- "groupId": "",
- "version": "1.4.0",
- "modelVersion": "9.1.0",
- "docType": "webpackage",
- "author": {
- "name": "Judit Ross",
- "email": "judit.ross@incowia.com"
- },
- "license": "MIT",
- "keywords": [
- "library",
- "bootstrap",
- "3rd-party"
- ],
- "man": [
- "http://getbootstrap.com/getting-started/"
- ],
- "runnables": [],
- "artifacts": {
- "utilities": [
-
- {
- "artifactId": "bootstrap",
- "description": "Wrapper for Bootstrap. Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.",
- "resources": [
- {
- "prod": "vendor/css/bootstrap.min.css",
- "dev": "vendor/css/bootstrap.css"
- },
- {
- "prod": "bootstrap.min.html",
- "dev": "bootstrap.html"
- }
- ],
- "dependencies": [
- {
- "webpackageId": "jquery-2.1.4@1.2.0",
- "artifactId": "jquery"
- }
- ]
- },
- {
- "artifactId": "bootstrap-bootstrap-theme",
- "description": "Wrapper for Bootstrap. Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.",
- "resources": [
- {
- "prod": "bootstrap-theme.min.css",
- "dev": "bootstrap-theme.css"
- }
- ],
- "dependencies": [
- {
- "artifactId": "bootstrap"
- }
- ]
- },
- {
- "artifactId": "bootstrap-bootstrap-css-only",
- "description": "Wrapper for Bootstrap. Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. Bootstrap CSS stylesheet. Recommended when bootstraps JS capabilities like carousel, accordion etc. are not needed but the css styles are.",
- "resources": [
- {
- "prod": "vendor/css/bootstrap.min.css",
- "dev": "vendor/css/bootstrap.css"
- }
- ]
- }
- ]
- }
-}
diff --git a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer-style.html b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer-style.html
similarity index 100%
rename from cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer-style.html
rename to cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer-style.html
diff --git a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer.html b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer.html
similarity index 100%
rename from cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer.html
rename to cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer.html
diff --git a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js
similarity index 98%
rename from cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js
rename to cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js
index 4351d72..dfaa03f 100644
--- a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/cubx-dep-tree-viewer.js
@@ -99,11 +99,11 @@
* @private
*/
_clearViewer: function () {
- d3.select('#' + this.VIEW_HOLDER_ID).html('');
+ d3.select(this.$$('#' + this.VIEW_HOLDER_ID)).html('');
},
_createTreePanel: function () {
- var viewerDiv = d3.select('#' + this.VIEW_HOLDER_ID);
+ var viewerDiv = d3.select(this.$$('#' + this.VIEW_HOLDER_ID));
var panel;
panel = viewerDiv
.append('div')
diff --git a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/demo/index.html b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/demo/index.html
similarity index 78%
rename from cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/demo/index.html
rename to cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/demo/index.html
index bc92cd9..616a16c 100644
--- a/cubbles/dep-tree-viewer@1.3.1/cubx-dep-tree-viewer/demo/index.html
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/demo/index.html
@@ -29,7 +29,8 @@
<cubx-dep-tree-viewer> Demo
-
+
+
@@ -56,8 +57,12 @@ <cubx-dep-tree-viewer> Demo
depMgr._buildRawDependencyTree(deps, 'https://cubbles.world/sandbox/')
.then(function (depTree) {
depTree._rootNodes.push(depTree._rootNodes[0]);
- document.querySelector('cubx-dep-tree-viewer').setScale('auto');
- document.querySelector('cubx-dep-tree-viewer').setDepTree(depTree);
+ let depTree1 = document.getElementById('depTree1');
+ depTree1.setScale('auto');
+ depTree1.setDepTree(depTree);
+ let depTree2 = document.getElementById('depTree1');
+ depTree2.setScale('auto');
+ depTree2.setDepTree(depTree);
});
});
})();
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/docs/index.html b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/docs/index.html
new file mode 100644
index 0000000..900a0b0
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-dep-tree-viewer/docs/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
+ <cubx-dep-tree-viewer> generated documentation
+
+
+
+
+
+
+
+
+
<cubx-dep-tree-viewer> generated documentation
+
+
+
+
+ "../../manifest.webpackage"
+ "cubx-dep-tree-viewer"
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/css/cubx-deps-tree-viewer.css b/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/css/cubx-deps-tree-viewer.css
new file mode 100644
index 0000000..e69de29
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/demo/index.html b/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/demo/index.html
new file mode 100644
index 0000000..38a0540
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/demo/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+ <cubx-deps-tree-viewer> demo
+
+
+
+
+
+
+
+
+
+
+
+
<cubx-deps-tree-viewer> Demo
+
+
+
+
+ [{"artifactId": "cubx-ckeditor", "webpackageId": "ckeditor@1.0.0"},
+ {"artifactId": "cubx-webpackage-viewer", "webpackageId": "com.incowia.cubx-webpackage-viewer@1.4.2"}]
+
+ "auto"
+ true
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/docs/index.html b/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/docs/index.html
new file mode 100644
index 0000000..b95302c
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-deps-tree-viewer/docs/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
+ <cubx-deps-tree-viewer> generated documentation
+
+
+
+
+
+
+
+
+
<cubx-deps-tree-viewer> generated documentation
+
+
+
+
+ "../../manifest.webpackage"
+ "cubx-deps-tree-viewer"
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees-style.html b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees-style.html
new file mode 100644
index 0000000..4f1ab5f
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees-style.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.html b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.html
new file mode 100644
index 0000000..5e864e6
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.html
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.js b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.js
new file mode 100644
index 0000000..8785e73
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/cubx-root-deps-to-dep-trees.js
@@ -0,0 +1,66 @@
+(function () {
+ 'use strict';
+ /**
+ * Get help:
+ * > Lifecycle callbacks:
+ * https://www.polymer-project.org/1.0/docs/devguide/registering-elements.html#lifecycle-callbacks
+ *
+ * Access the Cubbles-Component-Model:
+ * > Access slot values:
+ * slot 'a': this.getA(); | this.setA(value)
+ */
+ CubxPolymer({
+ is: 'cubx-root-deps-to-dep-trees',
+
+ /**
+ * Manipulate an element’s local DOM when the element is created.
+ */
+ created: function () {
+ },
+
+ /**
+ * Manipulate an element’s local DOM when the element is created and initialized.
+ */
+ ready: function () {
+ },
+
+ /**
+ * Manipulate an element’s local DOM when the element is attached to the document.
+ */
+ attached: function () {
+ },
+
+ /**
+ * Manipulate an element’s local DOM when the cubbles framework is initialized and ready to work.
+ */
+ cubxReady: function () {
+ },
+
+ /**
+ * Observe the Cubbles-Component-Model: If value for slot 'a' has changed ...
+ */
+ modelRootDependenciesChanged: function (rootDependencies) {
+ this._depTreesOf(rootDependencies, function (depTrees) {
+ this.setDepTrees(depTrees);
+ }.bind(this));
+ },
+
+ /**
+ * Build the dep trees of a set of rootDependencies
+ * @param {object} rootDependencies - Root dependencies
+ * @param {function} callback - Function to be called when the depTree is ready
+ * @private
+ */
+ _depTreesOf: function (rootDependencies, callback) {
+ var depMgr = window.cubx.CRC.getDependencyMgr();
+ // Create list of DepReference items from given rootDependencies
+ var deps = depMgr._createDepReferenceListFromArtifactDependencies(rootDependencies, null);
+
+ // Finally build rawDependency tree providing DepReference list and baseUrl
+ depMgr._buildRawDependencyTree(deps, this.getBaseUrl() || window.cubx.CRC._baseUrl)
+ .then(function (depTree) {
+ callback(depTree);
+ });
+ }
+ });
+}());
diff --git a/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/docs/index.html b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/docs/index.html
new file mode 100644
index 0000000..f97212b
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/cubx-root-deps-to-dep-trees/docs/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
+ <cubx-root-deps-to-dep-trees> generated documentation
+
+
+
+
+
+
+
+
+
<cubx-root-deps-to-dep-trees> generated documentation
+
+
+
+
+ "../../manifest.webpackage"
+ "cubx-root-deps-to-dep-trees"
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.2/docs/index.html b/cubbles/dep-tree-viewer@1.3.2/docs/index.html
new file mode 100644
index 0000000..9370dd0
--- /dev/null
+++ b/cubbles/dep-tree-viewer@1.3.2/docs/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ dep-tree-viewer generated documentation
+
+
+
+
+
+
+
+
+
dep-tree-viewer generated documentation
+
+
+
+
+ "../manifest.webpackage"
+
+
+
+
+
+
diff --git a/cubbles/dep-tree-viewer@1.3.1/manifest.webpackage b/cubbles/dep-tree-viewer@1.3.2/manifest.webpackage
similarity index 99%
rename from cubbles/dep-tree-viewer@1.3.1/manifest.webpackage
rename to cubbles/dep-tree-viewer@1.3.2/manifest.webpackage
index f6b7faf..ac99e82 100644
--- a/cubbles/dep-tree-viewer@1.3.1/manifest.webpackage
+++ b/cubbles/dep-tree-viewer@1.3.2/manifest.webpackage
@@ -1,7 +1,7 @@
{
"name": "dep-tree-viewer",
"groupId": "",
- "version": "1.3.1",
+ "version": "1.3.2",
"modelVersion": "9.1.1",
"docType": "webpackage",
"author": {
@@ -320,4 +320,4 @@
],
"utilities": []
}
-}
+}
\ No newline at end of file
diff --git a/cubx_sidebar.html b/cubx_sidebar.html
deleted file mode 100644
index 1e898b4..0000000
--- a/cubx_sidebar.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The selected element is not a Cubbles component
-
-
-
-
-
diff --git a/index.html b/index.html
index 2bd2c33..e773f9e 100644
--- a/index.html
+++ b/index.html
@@ -5,32 +5,80 @@
<cubx-iframe-viewer> demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
true
"30em"
-
+