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("storytelling.views/grid/grid", ["jquery", "require", "touche", "qvangular", "text!storytelling.views/grid/grid.ng.html", "client.utils/state", "storytelling.utils/storytelling-helper", "client.utils/routing", "client.models/story", "storytelling.utils/goto-service", "client.models/undo-info", "core.utils/bind-layout", "storytelling.views/grid/directives/resize", "storytelling.views/grid/directives/droppable", "storytelling.views/grid/directives/render", "storytelling.views/grid/directives/draggable", "storytelling.views/grid/directives/pattern", "storytelling.views/grid/directives/shortcutkeys", "storytelling.views/slide-item/slide-item", "jqueryui"], function(a, b, c, d, e, f, g, h, i, j, k, l) { | |
return { | |
template: e, | |
controller: ["$scope", "$element", function(e, m) { | |
var n = d.getService("$sce") | |
, o = m.find(".qv-grid-story"); | |
i.get(g.currentStoryId).then(function(a) { | |
e.storyModel = a, | |
l(e, "storyModel", fun |
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
var values = ''; | |
$('.qmc-table-rows tr').each(function() { | |
values += (Array.from($(this).children('td').map(function(){ return $(this).text() })).join(',') +'\n') | |
}); | |
console.log(values) |
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
var BY_QSORTINDEX = function (a, b) { | |
//6-28-2018 using the *users* selection order | |
//Otherwise Qlik would make the array in (what kind of order? I can't tell, so I'll call it arbitrary order) | |
// | |
return a.qSortIndex - b.qSortIndex; | |
}; | |
var SIMPLE_QFIELDSELECTION_MAP = function (qFieldSelections) { | |
// https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/CapabilityAPIs/SelectionAPI/QSelectionState.htm |
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("apis/qglobal", ["qvangular", "core.models/app", "autogenerated/qix/engine-enums", "core.models/rpc-session", "apis/qutil"], function(a, b, c, d, e) { | |
"use strict"; | |
h.get = function(a) { | |
var b = e.makeConfig(a); | |
return b.onError = i ? function(a) { | |
a = a || {}, | |
a.code !== k.LOCERR_GENERIC_CONNECTION_LOST && i(a || { | |
code: k.LOCERR_GENERIC_CONNECTION_LOST, | |
message: "Connection lost" | |
}) |
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
c.update = function() { | |
if (this.valid) { | |
x(a, a.layout); | |
var d = this; | |
h = b.getService("$timeout")(function() { | |
c.backendApi && c.backendApi.updateCache(a.layout), | |
c.setObjectClass(), | |
a.$digest(), | |
d.loadContent(), |
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
b.directive("qvObject", function() { | |
return { | |
restrict: "E", | |
replace: !0, | |
template: g, | |
scope: { | |
options: "=", | |
model: "=", | |
object: "=?", |
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("extensions.qliktech/filterpane/filterpane", ["jquery", "qvangular", "util", "core.utils/deferred", "objects.backend-api/field-api", "extensions.qliktech/filterpane/filterpane-properties", "extensions.qliktech/filterpane/filterpane-handler", "objects.utils/data-properties/listobject-util", "client.utils/property-mapper", "text!./filterpane.ng.html", "objects.extension/base-controller", "objects.extension/export-format", "objects.extension/object-conversion", "extensions.qliktech/filterpane/filterpane-layout", "extensions.qliktech/filterpane/directives/collapsed-listbox/collapsed"], function(a, b, c, d, e, f, g, h, i, j, k, l, m) { | |
"use strict"; | |
function n() { | |
return "filterpane-" + ++p | |
} | |
function o(a) { | |
return a.columns.some(function(a) { | |
return a.items.some(function(a) { | |
return a.expand && (!a.object || 1 !== a.object.renderState) |
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.services/grid-service", ["qvangular", "core.utils/deferred", "core.utils/bind-layout", [..., ..., n | |
}; | |
return { | |
start: function(e) { | |
var s; | |
g || ((g = t.$rootScope.$new(!0)).grid = new r(this,e.enigmaModel.app), | |
g.model = e, | |
g.stageState = o, | |
n(g, "model", function(t) { | |
//here |
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
t.app.abortModalSelection().then(function() { | |
return e.retry() | |
})) : n.reject(i) |
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
// goToSheet | |
// o.setUrl | |
// o.parse | |
// parse | |
// dispatch | |
// dispatch | |
// execute | |
// ... through require.js | |
// then inside S.Route.bind(...) below |