js: update beforeDragging & add itemCanDrag

This commit is contained in:
王劲鹏
2022-08-26 14:16:12 +08:00
committed by osborn
parent 3a28941c04
commit 13c151a9e4
13 changed files with 144 additions and 9 deletions

View File

@@ -2586,6 +2586,10 @@ var List = /** @class */ (function (_super) {
Property,
__metadata$b("design:type", Boolean)
], List.prototype, "canDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], List.prototype, "itemCanDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
@@ -3268,6 +3272,10 @@ var FlowLayout = /** @class */ (function (_super) {
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "itemCanDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
@@ -4010,6 +4018,10 @@ var HorizontalList = /** @class */ (function (_super) {
Property,
__metadata("design:type", Boolean)
], HorizontalList.prototype, "canDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)
], HorizontalList.prototype, "itemCanDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)

View File

@@ -1972,6 +1972,10 @@ __decorate$b([
Property,
__metadata$b("design:type", Boolean)
], List.prototype, "canDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], List.prototype, "itemCanDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
@@ -2505,6 +2509,10 @@ __decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "itemCanDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
@@ -3071,6 +3079,10 @@ __decorate([
Property,
__metadata("design:type", Boolean)
], HorizontalList.prototype, "canDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)
], HorizontalList.prototype, "itemCanDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)

View File

@@ -3502,6 +3502,10 @@ __decorate$b([
Property,
__metadata$b("design:type", Boolean)
], List.prototype, "canDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
], List.prototype, "itemCanDrag", void 0);
__decorate$b([
Property,
__metadata$b("design:type", Function)
@@ -4035,6 +4039,10 @@ __decorate$7([
Property,
__metadata$7("design:type", Boolean)
], FlowLayout.prototype, "canDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
], FlowLayout.prototype, "itemCanDrag", void 0);
__decorate$7([
Property,
__metadata$7("design:type", Function)
@@ -4601,6 +4609,10 @@ __decorate([
Property,
__metadata("design:type", Boolean)
], HorizontalList.prototype, "canDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)
], HorizontalList.prototype, "itemCanDrag", void 0);
__decorate([
Property,
__metadata("design:type", Function)