@limetech/lime-web-components-commands
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.2.0](https://github.com/Lundalogik/lime-web-components/compare/v2.1.0...v2.2.0) (2019-12-20) | ||
**Note:** Version bump only for package @limetech/lime-web-components-commands | ||
# [2.1.0](https://github.com/Lundalogik/lime-web-components/compare/v2.0.0...v2.1.0) (2019-08-09) | ||
@@ -8,0 +16,0 @@ |
@@ -41,34 +41,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
let BulkCreateDialogCommand = class BulkCreateDialogCommand { | ||
/** | ||
* Open a dialog for bulk creating limeobjects | ||
* | ||
* | ||
* ### Flow example | ||
* Let's have a look at the general flow by going through the concrete example of adding several persons to a marketing activity: | ||
* - Go to the table view of persons. | ||
* - Filter everyone who should be included in the marketing activity. | ||
* - Select 'Bulk create objects' form the action menu. | ||
* - Select marketing activity as type of content. | ||
* - Fill out the rest of the form and click 'create'. | ||
* - A toast message appears and gives you 5 seconds to undo the action before it creates the corresponding task. | ||
* - Another toast message will inform you after the task is completed. | ||
* - If the task ended successful you can go to the participant table view and check the result. | ||
* | ||
* ### Configuration | ||
* In order to activate the feature go to a table configuration in lime-admin to the limetype you want to bulk create from | ||
* and add the following configuration: | ||
* | ||
* ```json | ||
* "actions": [ | ||
* { | ||
* "id": "limeobject.bulk-create-dialog", | ||
* "params": { | ||
* "relations": [<LIST OF CREATABLE, RELATED FIELDS (AS STRINGS)>] | ||
* } | ||
* } | ||
* ], | ||
* ``` | ||
* | ||
* @id `limeobject.bulk-create-dialog` | ||
*/ | ||
constructor() { | ||
@@ -75,0 +43,0 @@ /** |
{ | ||
"name": "@limetech/lime-web-components-commands", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"author": "Lime Technologies", | ||
@@ -34,5 +34,5 @@ "homepage": "https://github.com/Lundalogik/lime-web-components", | ||
"dependencies": { | ||
"@limetech/lime-web-components-interfaces": "^2.1.0" | ||
"@limetech/lime-web-components-interfaces": "^2.2.0" | ||
}, | ||
"gitHead": "306e8b4b50c7d7b9326e8bfb688c966b891faf87" | ||
"gitHead": "22fd9c8a45f334439b7fee79957e569e664ab8d8" | ||
} |
14308
195