Created
September 28, 2018 20:06
-
-
Save theredpea/4ec3793b60b14a567c4a3d0feeffd39b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define("client.assets/controllers/assets-tab-creation-service", ["client.assets/tabs/simple-tab", "client.assets/tabs/accordion-tab", "client.assets/sections/template-section", "client.assets/sections/field-section", "client.assets/sections/dimension-section", "client.assets/sections/measure-section", "client.assets/sections/visualization-section", "client.assets/sections/widget-section", "client.assets/sections/odag-section", "translator"], function(a, b, c, d, e, f, g, h, i, j) { | |
function k(b) { | |
var d = new c(b,"charts"); | |
return new a({ | |
id: "assets-tab-template", | |
section: d, | |
name: "Common.Charts", | |
button: { | |
icon: "object", | |
text: "Common.Charts" | |
} | |
}) | |
} | |
function l(b) { | |
var c = new d(b); | |
return new a({ | |
id: "assets-tab-field", | |
section: c, | |
name: "Common.Fields", | |
hasTableFilter: !0, | |
button: { | |
icon: "database", | |
text: "Common.Fields" | |
} | |
}) | |
} | |
function m(a) { | |
var c = [new e(a), new f(a), new g(a)]; | |
return new b({ | |
id: "library", | |
sections: c, | |
name: "Toolbox.Tab.Title.MasterItems", | |
button: { | |
icon: "link", | |
text: "Tooltip.Toolbox.MasterItems" | |
} | |
}) | |
} | |
function n(a) { | |
var d = [new c(a,"extensions")]; | |
return a.widgetLibraries.forEach(function(b) { | |
var c = new h(a); | |
c.title = c.name = c.id = b.data.name, | |
c.infoTitle = j.get("AssetsPanel.Widgets.libraryInfoHeading", c.title), | |
c.description = b.data.description, | |
c.onLoadData(b.resolvedWidgets), | |
d.push(c) | |
}), | |
new b({ | |
id: "widgets", | |
sections: d, | |
name: "Common.CustomObjects", | |
longname: "Common.CustomObjects", | |
button: { | |
icon: "puzzle", | |
text: "Common.Extensions" | |
} | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment