@wmfs/cardscript-extract-defaults
Advanced tools
Comparing version 1.29.0 to 1.30.0
@@ -0,1 +1,8 @@ | ||
# [1.30.0](https://github.com/wmfs/cardscript-extract-defaults/compare/v1.29.0...v1.30.0) (2021-04-30) | ||
### ✨ Features | ||
* add MarkupTable selection type support ([23088f8](https://github.com/wmfs/cardscript-extract-defaults/commit/23088f8b7dceeb6bab581fea1a140ee124e10a6a)) | ||
# [1.29.0](https://github.com/wmfs/cardscript-extract-defaults/compare/v1.28.1...v1.29.0) (2021-04-29) | ||
@@ -2,0 +9,0 @@ |
@@ -117,2 +117,12 @@ const marked = require('marked') | ||
} | ||
case 'MarkupTable': { | ||
if (element.id) { | ||
if (element.selectionType === 'single' || element.selectionType === 'multi') { | ||
const defaultValue = element.selectionType === 'single' ? {} : [] | ||
applyDefaultValue(defaultValues, defaultValue, apiLookupPath, cardListPath, element.id + 'Selected') | ||
} | ||
} | ||
break | ||
} | ||
case 'Table': | ||
@@ -119,0 +129,0 @@ if (element.selectionType) { |
{ | ||
"name": "@wmfs/cardscript-extract-defaults", | ||
"description": "Extracts sensible defaults from some Cardscript.", | ||
"version": "1.29.0", | ||
"version": "1.30.0", | ||
"author": "West Midlands Fire Service", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53517
473