@farris/jit-engine 1.4.17 → 1.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@
3
3
  -var verticalClass = variable.verticable?" fm-apply-list-item-vertical":""
4
4
  -var localTitle = /[\s\S]*?\{\{=([\s\S]+?)\}\}[\s\S]*?/g.test(stringTitle) ? variable.title : `{{= translate('${stringTitle}') || '${stringTitle}'}}`
5
5
  -var dataText = `{{=${variable.bindingModelName}}}`
6
+ -var bindingKey = variable.binding && variable.binding.path ? variable.binding.path : variable.title
6
7
  div(class=itemClass+verticalClass style != variable.hideFunc ? variable.hideFunc : undefined)
7
8
  div(class="fm-apply-list-item-label")
8
9
  |!{localTitle}
@@ -10,7 +11,12 @@ div(class=itemClass+verticalClass style != variable.hideFunc ? variable.hideFun
10
11
  div(class="fm-apply-list-item-text fm-text-warning fm-weight")
11
12
  |{{=!{variable.bindingModelName}}}
12
13
  else
13
- div(class=variable.isCollapse?"fm-apply-list-item-text fma-text-collapse fma-text-hidden":"fm-apply-list-item-text")
14
- span(class="fm-apply-list-item-text-inner") {{=!{variable.bindingModelName}}}
15
- if(variable.isCollapse)
16
- span(class="fm-apply-list-item-text-hidden") {{=!{variable.bindingModelName}}}
14
+ if(variable.isCollapse)
15
+ div(class="fm-apply-list-item-text-collapse")
16
+ input(id=bindingKey class="fm-apply-list-item-collapse-status" type="checkbox")
17
+ div(class="fm-apply-list-item-text fma-text-collapse fma-text-hidden")
18
+ label(class="fma-text-hidden-toggle" for=bindingKey)
19
+ span(class="fm-apply-list-item-text-inner") {{=!{variable.bindingModelName}}}
20
+ else
21
+ div(class="fm-apply-list-item-text")
22
+ span(class="fm-apply-list-item-text-inner") {{=!{variable.bindingModelName}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.4.17",
3
+ "version": "1.4.18",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {