@farris/jit-engine 1.3.132 → 1.3.133

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- 1.3.132
1
+ 1.3.133
2
2
 
3
3
  OA模板完善
4
4
 
@@ -18,13 +18,13 @@ div(class="farris-input-wrap")
18
18
  -attrs['[(ngModel)]'] =variable.rowPrefix+ variable.ngModelPath;
19
19
  -attrs['name'] = variable.replacedId;
20
20
  -attrs['[ngModelOptions]'] = "{standalone:true}";
21
- input(id=variable.replacedId class="custom-control-input" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
21
+ input(id=variable.replacedId class="custom-control-input" type="checkbox" '[index]'="index" 'farris-checkbox-modification' '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
22
22
  if(variable.linkedLabelEnabled)
23
23
  label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="true" '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
24
- label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
24
+ label(class="custom-control-label f-pretend-link f-cursor-pointer" 'farris-label-modification' '[index]'="index" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
25
25
  else
26
26
  label(class="custom-control-label" '*ngSwitchCase'="true" ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
27
- label(class="custom-control-label" '*ngSwitchCase'="false" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
27
+ label(class="custom-control-label" '*ngSwitchCase'="false" 'farris-label-modification' '[index]'="index" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
28
28
  else
29
29
  div(class="custom-control custom-checkbox" '[ngSwitch]'=variable.readonly?variable.readonly.value+"":undefined )
30
30
  -var attrs = {};
@@ -42,13 +42,13 @@ div(class="farris-input-wrap")
42
42
  -attrs["farris-set-focus"]="";
43
43
  if(variable.focusState)
44
44
  -attrs["[focusState]"]=variable.focusState+"";
45
- input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
45
+ input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox" 'farris-checkbox-modification' '[index]'="index" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
46
46
  if(variable.linkedLabelEnabled)
47
47
  label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="true" '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
48
- label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
48
+ label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" 'farris-label-modification' '[index]'="index" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
49
49
  else
50
50
  label(class="custom-control-label" '*ngSwitchCase'="true" ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
51
- label(class="custom-control-label" '*ngSwitchCase'="false" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
51
+ label(class="custom-control-label" '*ngSwitchCase'="false" 'farris-label-modification' '[index]'="index" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
52
52
  if(variable.isTextArea)
53
53
  -var areaAttrs = {};
54
54
  -var areaLabelAttrs = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.3.132",
3
+ "version": "1.3.133",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {