@cubejs-client/vue3 0.30.0 → 0.30.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/cubejs-client-vue3.esm.js +3 -0
- package/dist/cubejs-client-vue3.esm.js.map +1 -1
- package/dist/cubejs-client-vue3.js +3 -0
- package/dist/cubejs-client-vue3.js.map +1 -1
- package/dist/cubejs-client-vue3.umd.js +62 -59
- package/dist/cubejs-client-vue3.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/QueryBuilder.js +3 -0
|
@@ -1585,6 +1585,57 @@
|
|
|
1585
1585
|
defineProperty: objectDefineProperty.f
|
|
1586
1586
|
});
|
|
1587
1587
|
|
|
1588
|
+
var $map = arrayIteration.map;
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('map');
|
|
1592
|
+
|
|
1593
|
+
// `Array.prototype.map` method
|
|
1594
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1595
|
+
// with adding support of @@species
|
|
1596
|
+
_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
1597
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
1598
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1599
|
+
}
|
|
1600
|
+
});
|
|
1601
|
+
|
|
1602
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
1603
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1604
|
+
|
|
1605
|
+
// Array.prototype[@@unscopables]
|
|
1606
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1607
|
+
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
1608
|
+
objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, {
|
|
1609
|
+
configurable: true,
|
|
1610
|
+
value: objectCreate(null)
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
// add a key to Array.prototype[@@unscopables]
|
|
1615
|
+
var addToUnscopables = function (key) {
|
|
1616
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
var $includes = arrayIncludes.includes;
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
// `Array.prototype.includes` method
|
|
1623
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1624
|
+
_export({ target: 'Array', proto: true }, {
|
|
1625
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
1626
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
1627
|
+
}
|
|
1628
|
+
});
|
|
1629
|
+
|
|
1630
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1631
|
+
addToUnscopables('includes');
|
|
1632
|
+
|
|
1633
|
+
// `Array.isArray` method
|
|
1634
|
+
// https://tc39.es/ecma262/#sec-array.isarray
|
|
1635
|
+
_export({ target: 'Array', stat: true }, {
|
|
1636
|
+
isArray: isArray
|
|
1637
|
+
});
|
|
1638
|
+
|
|
1588
1639
|
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
1589
1640
|
|
|
1590
1641
|
var propertyIsEnumerable = functionUncurryThis($propertyIsEnumerable);
|
|
@@ -1628,23 +1679,6 @@
|
|
|
1628
1679
|
}
|
|
1629
1680
|
});
|
|
1630
1681
|
|
|
1631
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
1632
|
-
var ArrayPrototype$1 = Array.prototype;
|
|
1633
|
-
|
|
1634
|
-
// Array.prototype[@@unscopables]
|
|
1635
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1636
|
-
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
1637
|
-
objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, {
|
|
1638
|
-
configurable: true,
|
|
1639
|
-
value: objectCreate(null)
|
|
1640
|
-
});
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
// add a key to Array.prototype[@@unscopables]
|
|
1644
|
-
var addToUnscopables = function (key) {
|
|
1645
|
-
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
1646
|
-
};
|
|
1647
|
-
|
|
1648
1682
|
var $find = arrayIteration.find;
|
|
1649
1683
|
|
|
1650
1684
|
|
|
@@ -1665,26 +1699,6 @@
|
|
|
1665
1699
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1666
1700
|
addToUnscopables(FIND);
|
|
1667
1701
|
|
|
1668
|
-
// `Array.isArray` method
|
|
1669
|
-
// https://tc39.es/ecma262/#sec-array.isarray
|
|
1670
|
-
_export({ target: 'Array', stat: true }, {
|
|
1671
|
-
isArray: isArray
|
|
1672
|
-
});
|
|
1673
|
-
|
|
1674
|
-
var $map = arrayIteration.map;
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('map');
|
|
1678
|
-
|
|
1679
|
-
// `Array.prototype.map` method
|
|
1680
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1681
|
-
// with adding support of @@species
|
|
1682
|
-
_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
1683
|
-
map: function map(callbackfn /* , thisArg */) {
|
|
1684
|
-
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1685
|
-
}
|
|
1686
|
-
});
|
|
1687
|
-
|
|
1688
1702
|
var $every = arrayIteration.every;
|
|
1689
1703
|
|
|
1690
1704
|
|
|
@@ -2856,20 +2870,6 @@
|
|
|
2856
2870
|
from: arrayFrom
|
|
2857
2871
|
});
|
|
2858
2872
|
|
|
2859
|
-
var $includes = arrayIncludes.includes;
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
// `Array.prototype.includes` method
|
|
2863
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2864
|
-
_export({ target: 'Array', proto: true }, {
|
|
2865
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2866
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2867
|
-
}
|
|
2868
|
-
});
|
|
2869
|
-
|
|
2870
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2871
|
-
addToUnscopables('includes');
|
|
2872
|
-
|
|
2873
2873
|
var MATCH$1 = wellKnownSymbol('match');
|
|
2874
2874
|
|
|
2875
2875
|
// `IsRegExp` abstract operation
|
|
@@ -9024,7 +9024,7 @@
|
|
|
9024
9024
|
|
|
9025
9025
|
return exports;
|
|
9026
9026
|
|
|
9027
|
-
})({})
|
|
9027
|
+
}))({});
|
|
9028
9028
|
})(__self__);
|
|
9029
9029
|
__self__.fetch.ponyfill = true;
|
|
9030
9030
|
// Remove "polyfill" property added by whatwg-fetch
|
|
@@ -9491,9 +9491,9 @@
|
|
|
9491
9491
|
}
|
|
9492
9492
|
|
|
9493
9493
|
if ((oldQuery.measures || []).length === 0 && (newQuery.measures || []).length > 0 || (oldQuery.measures || []).length === 1 && (newQuery.measures || []).length === 1 && oldQuery.measures[0] !== newQuery.measures[0]) {
|
|
9494
|
-
var
|
|
9495
|
-
|
|
9496
|
-
td =
|
|
9494
|
+
var _ref6 = newQuery.timeDimensions || [],
|
|
9495
|
+
_ref7 = _slicedToArray(_ref6, 1),
|
|
9496
|
+
td = _ref7[0];
|
|
9497
9497
|
|
|
9498
9498
|
var defaultTimeDimension = meta.defaultTimeDimensionNameFor(newQuery.measures[0]);
|
|
9499
9499
|
newQuery = _objectSpread$3(_objectSpread$3({}, newQuery), {}, {
|
|
@@ -9641,10 +9641,10 @@
|
|
|
9641
9641
|
var indexedOrderMembers = indexBy(prop('id'), orderMembers);
|
|
9642
9642
|
var entries = Array.isArray(order) ? order : Object.entries(order || {});
|
|
9643
9643
|
var nextOrderMembers = [];
|
|
9644
|
-
entries.forEach(function (
|
|
9645
|
-
var
|
|
9646
|
-
memberId =
|
|
9647
|
-
currentOrder =
|
|
9644
|
+
entries.forEach(function (_ref8) {
|
|
9645
|
+
var _ref9 = _slicedToArray(_ref8, 2),
|
|
9646
|
+
memberId = _ref9[0],
|
|
9647
|
+
currentOrder = _ref9[1];
|
|
9648
9648
|
|
|
9649
9649
|
if (currentOrder !== 'none' && indexedOrderMembers[memberId]) {
|
|
9650
9650
|
ids.add(memberId);
|
|
@@ -11568,6 +11568,9 @@
|
|
|
11568
11568
|
setOffset: function setOffset(offset) {
|
|
11569
11569
|
this.offset = offset;
|
|
11570
11570
|
},
|
|
11571
|
+
removeOffset: function removeOffset() {
|
|
11572
|
+
this.offset = null;
|
|
11573
|
+
},
|
|
11571
11574
|
updateChart: function updateChart(chartType) {
|
|
11572
11575
|
this.chartType = chartType;
|
|
11573
11576
|
},
|