@visactor/vtable-calendar 1.16.1 → 1.16.2-alpha.0
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/dist/vtable-calendar.js +11 -11
- package/dist/vtable-calendar.min.js +1 -1
- package/package.json +5 -5
package/dist/vtable-calendar.js
CHANGED
|
@@ -26286,15 +26286,6 @@
|
|
|
26286
26286
|
HighlightScope.single = "single", HighlightScope.column = "column", HighlightScope.row = "row", HighlightScope.cross = "cross", HighlightScope.none = "none";
|
|
26287
26287
|
}(HighlightScope || (HighlightScope = {}));
|
|
26288
26288
|
|
|
26289
|
-
var Placement;
|
|
26290
|
-
!function (Placement) {
|
|
26291
|
-
Placement.top = "top", Placement.bottom = "bottom", Placement.left = "left", Placement.right = "right";
|
|
26292
|
-
}(Placement || (Placement = {}));
|
|
26293
|
-
var HierarchyState;
|
|
26294
|
-
!function (HierarchyState) {
|
|
26295
|
-
HierarchyState.expand = "expand", HierarchyState.collapse = "collapse", HierarchyState.none = "none", HierarchyState.loading = "loading";
|
|
26296
|
-
}(HierarchyState || (HierarchyState = {}));
|
|
26297
|
-
|
|
26298
26289
|
const cellStyleKeys = ["bgColor", "color", "strokeColor", "borderColor", "linkColor"];
|
|
26299
26290
|
|
|
26300
26291
|
var AggregationType;
|
|
@@ -26306,6 +26297,15 @@
|
|
|
26306
26297
|
SortType.ASC = "ASC", SortType.DESC = "DESC", SortType.NORMAL = "NORMAL", SortType.desc = "desc", SortType.asc = "asc", SortType.normal = "normal";
|
|
26307
26298
|
}(SortType || (SortType = {}));
|
|
26308
26299
|
|
|
26300
|
+
var Placement;
|
|
26301
|
+
!function (Placement) {
|
|
26302
|
+
Placement.top = "top", Placement.bottom = "bottom", Placement.left = "left", Placement.right = "right";
|
|
26303
|
+
}(Placement || (Placement = {}));
|
|
26304
|
+
var HierarchyState;
|
|
26305
|
+
!function (HierarchyState) {
|
|
26306
|
+
HierarchyState.expand = "expand", HierarchyState.collapse = "collapse", HierarchyState.none = "none", HierarchyState.loading = "loading";
|
|
26307
|
+
}(HierarchyState || (HierarchyState = {}));
|
|
26308
|
+
|
|
26309
26309
|
var IconPosition;
|
|
26310
26310
|
!function (IconPosition) {
|
|
26311
26311
|
IconPosition.inlineFront = "inlineFront", IconPosition.inlineEnd = "inlineEnd", IconPosition.left = "left", IconPosition.right = "right", IconPosition.absoluteRight = "absoluteRight", IconPosition.contentLeft = "contentLeft", IconPosition.contentRight = "contentRight", IconPosition.absolute = "absolute";
|
|
@@ -46989,7 +46989,7 @@
|
|
|
46989
46989
|
constructor(container) {
|
|
46990
46990
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46991
46991
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
46992
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.16.
|
|
46992
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.16.2-alpha.0", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
46993
46993
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
46994
46994
|
const {
|
|
46995
46995
|
frozenColCount = 0,
|
|
@@ -52068,7 +52068,7 @@
|
|
|
52068
52068
|
}
|
|
52069
52069
|
getCheckboxState(field) {
|
|
52070
52070
|
if (this.stateManager.checkedState.size < this.rowCount - this.columnHeaderLevelCount && this.stateManager.initLeftRecordsCheckState(this.records), isValid$3(field)) {
|
|
52071
|
-
let stateArr = Array.from(this.stateManager.checkedState.keys()).sort().map(key => this.stateManager.checkedState.get(key));
|
|
52071
|
+
let stateArr = Array.from(this.stateManager.checkedState.keys()).sort((a, b) => Number(a) - Number(b)).map(key => this.stateManager.checkedState.get(key));
|
|
52072
52072
|
return this.options.groupBy && (stateArr = getGroupCheckboxState(this)), Array.from(stateArr, state => state[field]);
|
|
52073
52073
|
}
|
|
52074
52074
|
return new Array(...this.stateManager.checkedState.values());
|