@nebula.js/sn-funnel-chart
Advanced tools
Comparing version 0.3.2-next.0 to 0.3.2-next.1
{ | ||
"name": "@nebula.js/sn-funnel-chart", | ||
"version": "0.3.2-next.0", | ||
"version": "0.3.2-next.1", | ||
"description": "A sequential chart visualizing a linear process with connected stages, for example a sales process with potential revenue at each stage.", | ||
@@ -30,5 +30,5 @@ "author": "QlikTech International AB", | ||
"@nebula.js/stardust": ">=0.6.0", | ||
"picasso-plugin-q": ">=0.32.0", | ||
"picasso.js": ">=0.32.0" | ||
"picasso-plugin-q": ">=0.32.1", | ||
"picasso.js": ">=0.32.1" | ||
} | ||
} |
277
qext/ext.js
@@ -1,276 +0,1 @@ | ||
define(function() { return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./src/ext/ext.js"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
/***/ "./src/ext/ext.js": | ||
/*!************************!*\ | ||
!*** ./src/ext/ext.js ***! | ||
\************************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
/* harmony import */ var _property_definition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./property-definition */ "./src/ext/property-definition.js"); | ||
/* harmony default export */ __webpack_exports__["default"] = ({ | ||
definition: _property_definition__WEBPACK_IMPORTED_MODULE_0__["default"], | ||
support: { | ||
export: true, | ||
exportData: true, | ||
snapshot: true, | ||
viewData: false // Disabling view data as it does not work with conversion disabled. (import/exportProperties are required) | ||
}, | ||
importProperties: null, | ||
// Disable conversion to/from this object | ||
exportProperties: null // Disable conversion to/from this object | ||
}); | ||
/***/ }), | ||
/***/ "./src/ext/property-definition.js": | ||
/*!****************************************!*\ | ||
!*** ./src/ext/property-definition.js ***! | ||
\****************************************/ | ||
/*! exports provided: default */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
var sorting = { | ||
uses: 'sorting' | ||
}; | ||
var settings = { | ||
uses: 'settings', | ||
items: { | ||
presentation: { | ||
type: 'items', | ||
label: 'Presentation', | ||
// translation: 'properties.presentation', | ||
grouped: true, | ||
items: { | ||
funnelmode: { | ||
ref: 'funnel.mode', | ||
label: 'Funnel Mode', | ||
type: 'string', | ||
component: 'dropdown', | ||
options: [{ | ||
value: 'AREA', | ||
label: 'Area' | ||
}, { | ||
value: 'HEIGHT', | ||
label: 'Height' | ||
}, { | ||
value: 'WIDTH', | ||
label: 'Width' | ||
}, { | ||
value: 'ORDER', | ||
label: 'Ordering' | ||
}], | ||
defaultValue: 'WIDTH' | ||
}, | ||
dimensionTitle: { | ||
ref: 'showDimensionTitle', | ||
type: 'boolean', | ||
component: 'switch', | ||
// translation: 'properties.dataPoints.dimensionlabels', | ||
label: 'Dimension label', | ||
defaultValue: true, | ||
options: [{ | ||
value: true, | ||
// translation: 'Common.Auto', | ||
label: 'Auto' | ||
}, { | ||
value: false, | ||
// translation: 'properties.off', | ||
label: 'Off' | ||
}] | ||
}, | ||
valuesAuto: { | ||
ref: 'dataPoint.auto', | ||
type: 'boolean', | ||
// translation: 'properties.dataPoints.labelmode', | ||
label: 'Value labels', | ||
component: 'switch', | ||
defaultValue: true, | ||
options: [{ | ||
value: true, | ||
// translation: 'Common.Auto', | ||
label: 'Auto' | ||
}, { | ||
value: false, | ||
// translation: 'Common.Custom', | ||
label: 'Custom' | ||
}] | ||
}, | ||
labelMode: { | ||
ref: 'dataPoint.labelMode', | ||
type: 'string', | ||
component: 'dropdown', | ||
options: [{ | ||
value: 'none', | ||
// translation: 'Common.None', | ||
label: 'None' | ||
}, { | ||
value: 'share', | ||
// translation: 'properties.dataPoints.labelmode.share', | ||
label: 'Share' | ||
}, { | ||
value: 'value', | ||
// translation: 'properties.dataPoints.labelmode.value', | ||
label: 'Values' | ||
}], | ||
defaultValue: 'share', | ||
show: function show(props) { | ||
return !props.dataPoint.auto; | ||
} | ||
} | ||
} | ||
}, | ||
colorsAndLegend: { | ||
uses: 'colorsAndLegend', | ||
// Changing label from 'Colors and Legend' => 'Colors' until legends are implemented. | ||
translation: 'Colors', | ||
// Using translation instead of label as label has no effect. | ||
items: { | ||
colors: { | ||
// Hiding color labels as they are not shown anywhere (awaiting implementation of legends / popups). | ||
items: { | ||
colorByLabel: { | ||
show: false | ||
}, | ||
expressionLabel: { | ||
show: false | ||
} | ||
} | ||
}, | ||
legend: { | ||
// Not showing legend options for funnel chart until legends have been implemeneted. | ||
show: false | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
var data = { | ||
uses: 'data', | ||
items: { | ||
dimensions: { | ||
uses: 'dimensions', | ||
items: { | ||
others: { | ||
items: { | ||
suppressOther: { | ||
defaultValue: true, | ||
show: false | ||
} | ||
} | ||
} | ||
}, | ||
disabledRef: '' | ||
}, | ||
measures: { | ||
uses: 'measures', | ||
disabledRef: '' | ||
} | ||
} | ||
}; | ||
/* harmony default export */ __webpack_exports__["default"] = ({ | ||
type: 'items', | ||
component: 'accordion', | ||
items: { | ||
data: data, | ||
sorting: sorting, | ||
settings: settings | ||
} | ||
}); | ||
/***/ }) | ||
/******/ })["default"]});; | ||
define((function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var l=t[n]={i:n,l:!1,exports:{}};return e[n].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)o.d(n,l,function(t){return e[t]}.bind(null,l));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";o.r(t);var n={type:"items",component:"accordion",items:{data:{uses:"data",items:{dimensions:{uses:"dimensions",items:{others:{items:{suppressOther:{defaultValue:!0,show:!1}}}},disabledRef:""},measures:{uses:"measures",disabledRef:""}}},sorting:{uses:"sorting"},settings:{uses:"settings",items:{presentation:{type:"items",label:"Presentation",grouped:!0,items:{funnelmode:{ref:"funnel.mode",label:"Funnel Mode",type:"string",component:"dropdown",options:[{value:"AREA",label:"Area"},{value:"HEIGHT",label:"Height"},{value:"WIDTH",label:"Width"},{value:"ORDER",label:"Ordering"}],defaultValue:"WIDTH"},dimensionTitle:{ref:"showDimensionTitle",type:"boolean",component:"switch",label:"Dimension label",defaultValue:!0,options:[{value:!0,label:"Auto"},{value:!1,label:"Off"}]},valuesAuto:{ref:"dataPoint.auto",type:"boolean",label:"Value labels",component:"switch",defaultValue:!0,options:[{value:!0,label:"Auto"},{value:!1,label:"Custom"}]},labelMode:{ref:"dataPoint.labelMode",type:"string",component:"dropdown",options:[{value:"none",label:"None"},{value:"share",label:"Share"},{value:"value",label:"Values"}],defaultValue:"share",show:function(e){return!e.dataPoint.auto}}}},colorsAndLegend:{uses:"colorsAndLegend",translation:"Colors",items:{colors:{items:{colorByLabel:{show:!1},expressionLabel:{show:!1}}},legend:{show:!1}}}}}}};t.default={definition:n,support:{export:!0,exportData:!0,snapshot:!0,viewData:!1},importProperties:null,exportProperties:null}}]).default})); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
483403
90
3
3