@limetech/lime-web-components-commands
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [4.2.0](https://github.com/Lundalogik/lime-web-components/compare/v4.1.0...v4.2.0) (2020-06-24) | ||
### Features | ||
* **create-dialog:** update create limeobject dialog command ([fac2889](https://github.com/Lundalogik/lime-web-components/commit/fac2889fd4a68f6f5b4dd8ae6184937fea046fc6)) | ||
* **delete-object:** add delete object command ([0d72359](https://github.com/Lundalogik/lime-web-components/commit/0d72359ca8619435a294cb8d0c41b627efde7ab2)) | ||
# [4.1.0](https://github.com/Lundalogik/lime-web-components/compare/v4.0.1...v4.1.0) (2020-06-11) | ||
@@ -8,0 +20,0 @@ |
@@ -15,1 +15,3 @@ "use strict"; | ||
__exportStar(require("./limeobject/bulk-create-dialog.command"), exports); | ||
__exportStar(require("./limeobject/delete-object.command"), exports); | ||
__exportStar(require("./limeobject/object-access.command"), exports); |
export * from './limeobject/create-dialog.command'; | ||
export * from './limeobject/bulk-create-dialog.command'; | ||
export * from './limeobject/delete-object.command'; | ||
export * from './limeobject/object-access.command'; |
export * from './limeobject/create-dialog.command'; | ||
export * from './limeobject/bulk-create-dialog.command'; | ||
export * from './limeobject/delete-object.command'; | ||
export * from './limeobject/object-access.command'; |
@@ -40,18 +40,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
*/ | ||
let BulkCreateDialogCommand = /** @class */ (() => { | ||
let BulkCreateDialogCommand = class BulkCreateDialogCommand { | ||
constructor() { | ||
/** | ||
* A list of relation names that are possible to create from the limetype | ||
*/ | ||
this.relations = []; | ||
} | ||
}; | ||
BulkCreateDialogCommand = __decorate([ | ||
Command({ | ||
id: 'limeobject.bulk-create-dialog', | ||
}) | ||
], BulkCreateDialogCommand); | ||
return BulkCreateDialogCommand; | ||
})(); | ||
let BulkCreateDialogCommand = class BulkCreateDialogCommand { | ||
constructor() { | ||
/** | ||
* A list of relation names that are possible to create from the limetype | ||
*/ | ||
this.relations = []; | ||
} | ||
}; | ||
BulkCreateDialogCommand = __decorate([ | ||
Command({ | ||
id: 'limeobject.bulk-create-dialog', | ||
}) | ||
], BulkCreateDialogCommand); | ||
export { BulkCreateDialogCommand }; |
import { Limetype } from '@limetech/lime-web-components-interfaces'; | ||
/** | ||
* Open a dialog for creating a new limeobject | ||
* Open a dialog for creating a new limeobject or editing a specific limeobject | ||
* | ||
@@ -8,2 +8,4 @@ * The create dialog is implemented as a command so a plugin can easily replace the original dialog with a custom one. | ||
* | ||
* This dialog also useful to edit a limeobject that already exists | ||
* | ||
* @id `limeobject.create-dialog` | ||
@@ -24,2 +26,3 @@ */ | ||
route?: boolean; | ||
title?: string; | ||
} |
@@ -9,3 +9,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
/** | ||
* Open a dialog for creating a new limeobject | ||
* Open a dialog for creating a new limeobject or editing a specific limeobject | ||
* | ||
@@ -15,20 +15,19 @@ * The create dialog is implemented as a command so a plugin can easily replace the original dialog with a custom one. | ||
* | ||
* This dialog also useful to edit a limeobject that already exists | ||
* | ||
* @id `limeobject.create-dialog` | ||
*/ | ||
let CreateLimeobjectDialogCommand = /** @class */ (() => { | ||
let CreateLimeobjectDialogCommand = class CreateLimeobjectDialogCommand { | ||
constructor() { | ||
/** | ||
* Specifies if routing to limeobject should be done after confirmation | ||
*/ | ||
this.route = false; | ||
} | ||
}; | ||
CreateLimeobjectDialogCommand = __decorate([ | ||
Command({ | ||
id: 'limeobject.create-dialog', | ||
}) | ||
], CreateLimeobjectDialogCommand); | ||
return CreateLimeobjectDialogCommand; | ||
})(); | ||
let CreateLimeobjectDialogCommand = class CreateLimeobjectDialogCommand { | ||
constructor() { | ||
/** | ||
* Specifies if routing to limeobject should be done after confirmation | ||
*/ | ||
this.route = false; | ||
} | ||
}; | ||
CreateLimeobjectDialogCommand = __decorate([ | ||
Command({ | ||
id: 'limeobject.create-dialog', | ||
}) | ||
], CreateLimeobjectDialogCommand); | ||
export { CreateLimeobjectDialogCommand }; |
{ | ||
"name": "@limetech/lime-web-components-commands", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"author": "Lime Technologies", | ||
@@ -36,3 +36,3 @@ "homepage": "https://github.com/Lundalogik/lime-web-components", | ||
}, | ||
"gitHead": "f6bc13967e9fd7474503c738a0e302647acfbb02" | ||
"gitHead": "41d23f91c11159775b8a949f17c0b29354acecd6" | ||
} |
22326
19
326