pict-section-form 1.0.93 → 1.0.95

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.93",
3
+ "version": "1.0.95",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -90,7 +90,11 @@ class PictDynamicInputEvents extends libPictProvider
90
90
  {
91
91
  if (pView.pict.providers[tmpInputProviderList[i]])
92
92
  {
93
- pView.pict.providers[tmpInputProviderList[i]].onEvent(pView, tmpInput, tmpValue, tmpInput.Macro.HTMLSelector, pEvent);
93
+ // we may find uninitialized inputs here, so we do not send events to those
94
+ if (tmpInput.Macro)
95
+ {
96
+ pView.pict.providers[tmpInputProviderList[i]].onEvent(pView, tmpInput, tmpValue, tmpInput.Macro.HTMLSelector, pEvent);
97
+ }
94
98
  }
95
99
  else
96
100
  {
@@ -42,6 +42,10 @@ class CustomInputHandler extends libPictSectionInputExtension
42
42
  getTriggerGroupConfigurationArray(pInput)
43
43
  {
44
44
  let tmpAutoFillTriggerGroups = pInput.PictForm.AutofillTriggerGroup;
45
+ if (!tmpAutoFillTriggerGroups)
46
+ {
47
+ return [];
48
+ }
45
49
  if (!Array.isArray(tmpAutoFillTriggerGroups))
46
50
  {
47
51
  tmpAutoFillTriggerGroups = [tmpAutoFillTriggerGroups];
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicInputEvents.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInputEvents.js"],"names":[],"mappings":";AAYA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAED;;;;;OAKG;IACH,yCAFW,MAAM,QAkChB;IAED;;;;;;OAMG;IACH,mCAHW,MAAM,UACN,MAAM,QAkChB;IAED;;;;;;;OAOG;IACH,+BALW,OAAO,gCAAgC,CAAC,eACxC,MAAM,eACN,MAAM,aACN,MAAM,QAyChB;IAED;;;;;;;;OAQG;IACH,2CALW,MAAM,eACN,MAAM,aACN,MAAM,UACN,MAAM,QA0ChB;CACD"}
1
+ {"version":3,"file":"Pict-Provider-DynamicInputEvents.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInputEvents.js"],"names":[],"mappings":";AAYA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAED;;;;;OAKG;IACH,yCAFW,MAAM,QAkChB;IAED;;;;;;OAMG;IACH,mCAHW,MAAM,UACN,MAAM,QAsChB;IAED;;;;;;;OAOG;IACH,+BALW,OAAO,gCAAgC,CAAC,eACxC,MAAM,eACN,MAAM,aACN,MAAM,QAyChB;IAED;;;;;;;;OAQG;IACH,2CALW,MAAM,eACN,MAAM,aACN,MAAM,UACN,MAAM,QA0ChB;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-Input-AutofillTriggerGroup.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT,oDAQC;IAED,wGAwBC;IAED,+HAwBC;IAGD;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAgBf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAgBf;IAGD,wFAoCC;IAED,+GAiCC;CACD"}
1
+ {"version":3,"file":"Pict-Provider-Input-AutofillTriggerGroup.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT,oDAYC;IAED,wGAwBC;IAED,+HAwBC;IAGD;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAgBf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAgBf;IAGD,wFAoCC;IAED,+GAiCC;CACD"}