Merge pull request #14102 from Budibase/handlebar-helper-lorem
Handlebar helper lorem
This commit is contained in:
commit
7cd3934264
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,7 @@
|
||||||
"manifest": "ts-node ./scripts/gen-collection-info.ts"
|
"manifest": "ts-node ./scripts/gen-collection-info.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/handlebars-helpers": "^0.13.1",
|
"@budibase/handlebars-helpers": "^0.13.2",
|
||||||
"dayjs": "^1.10.8",
|
"dayjs": "^1.10.8",
|
||||||
"handlebars": "^4.7.8",
|
"handlebars": "^4.7.8",
|
||||||
"lodash.clonedeep": "^4.5.0"
|
"lodash.clonedeep": "^4.5.0"
|
||||||
|
|
|
@ -907,6 +907,15 @@
|
||||||
"example": "{{uppercase 'aBcDef'}} -> ABCDEF",
|
"example": "{{uppercase 'aBcDef'}} -> ABCDEF",
|
||||||
"description": "<p>Uppercase all of the characters in the given string. If used as a block helper it will uppercase the entire block. This helper does not support inverse blocks.</p>\n",
|
"description": "<p>Uppercase all of the characters in the given string. If used as a block helper it will uppercase the entire block. This helper does not support inverse blocks.</p>\n",
|
||||||
"requiresBlock": false
|
"requiresBlock": false
|
||||||
|
},
|
||||||
|
"lorem": {
|
||||||
|
"args": [
|
||||||
|
"num"
|
||||||
|
],
|
||||||
|
"numArgs": 1,
|
||||||
|
"example": "{{lorem 11}} -> Lorem ipsum",
|
||||||
|
"description": "<p>Takes a number and returns that many charaters of Lorem Ipsum</p>\n",
|
||||||
|
"requiresBlock": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"comparison": {
|
"comparison": {
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -2076,10 +2076,10 @@
|
||||||
tar-fs "2.1.1"
|
tar-fs "2.1.1"
|
||||||
uuid "^8.3.2"
|
uuid "^8.3.2"
|
||||||
|
|
||||||
"@budibase/handlebars-helpers@^0.13.1":
|
"@budibase/handlebars-helpers@^0.13.2":
|
||||||
version "0.13.1"
|
version "0.13.2"
|
||||||
resolved "https://registry.yarnpkg.com/@budibase/handlebars-helpers/-/handlebars-helpers-0.13.1.tgz#d02e73c0df8305cd675e70dc37f8427eb0842080"
|
resolved "https://registry.yarnpkg.com/@budibase/handlebars-helpers/-/handlebars-helpers-0.13.2.tgz#73ab51c464e91fd955b429017648e0257060db77"
|
||||||
integrity sha512-v4RbXhr3igvK3i2pj5cNltu/4NMxdPIzcUt/o0RoInhesNH1VSLRdweSFr6/Y34fsCR5jHZ6vltdcz2RgrTKgw==
|
integrity sha512-/IGqyDcjN9AhKSagCsqQRavpraQRjGeSZeMb62yJiK0b/9r47BjzcOeuQbfRhwK1NlL2cSExNcrkWSxisbPvJQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
get-object "^0.2.0"
|
get-object "^0.2.0"
|
||||||
get-value "^3.0.1"
|
get-value "^3.0.1"
|
||||||
|
@ -2146,7 +2146,7 @@
|
||||||
"@budibase/string-templates@2.23.12":
|
"@budibase/string-templates@2.23.12":
|
||||||
version "0.0.0"
|
version "0.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@budibase/handlebars-helpers" "^0.13.1"
|
"@budibase/handlebars-helpers" "^0.13.2"
|
||||||
dayjs "^1.10.8"
|
dayjs "^1.10.8"
|
||||||
handlebars "^4.7.8"
|
handlebars "^4.7.8"
|
||||||
lodash.clonedeep "^4.5.0"
|
lodash.clonedeep "^4.5.0"
|
||||||
|
|
Loading…
Reference in New Issue