pict-section-form 1.0.68 → 1.0.69

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.
Files changed (38) hide show
  1. package/example_applications/Build-Examples.sh +1 -1
  2. package/example_applications/postcard_example/providers/PictProvider-Dynamic-Sections-MockServerResponse.json +41 -10
  3. package/package.json +1 -1
  4. package/source/providers/Pict-Provider-DynamicTemplates.js +4 -0
  5. package/source/providers/layouts/Pict-Layout-Custom.js +43 -0
  6. package/source/services/Pict-Service-DynamicApplication.js +2 -0
  7. package/source/templates/Pict-Template-ControlFromDynamicManifest.js +113 -0
  8. package/source/templates/Pict-Template-ControlFromDynamicManifestForHash.js +113 -0
  9. package/types/source/providers/Pict-Provider-DynamicSolver.d.ts.map +1 -1
  10. package/types/source/providers/Pict-Provider-DynamicTemplates.d.ts.map +1 -1
  11. package/types/source/providers/Pict-Provider-Informary.d.ts +50 -0
  12. package/types/source/providers/Pict-Provider-Informary.d.ts.map +1 -1
  13. package/types/source/providers/Pict-Provider-InputExtension.d.ts +1 -1
  14. package/types/source/providers/Pict-Provider-InputExtension.d.ts.map +1 -1
  15. package/types/source/providers/Pict-Provider-ListDistilling.d.ts +55 -0
  16. package/types/source/providers/Pict-Provider-ListDistilling.d.ts.map +1 -0
  17. package/types/source/providers/Pict-Provider-MetaLists.d.ts +15 -13
  18. package/types/source/providers/Pict-Provider-MetaLists.d.ts.map +1 -1
  19. package/types/source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.d.ts +24 -2
  20. package/types/source/providers/inputs/Pict-Provider-Input-AutofillTriggerGroup.d.ts.map +1 -1
  21. package/types/source/providers/inputs/Pict-Provider-Input-Select.d.ts.map +1 -1
  22. package/types/source/providers/inputs/Pict-Provider-Input-TabGroupSelector.d.ts.map +1 -1
  23. package/types/source/providers/inputs/Pict-Provider-Input-TabSectionSelector.d.ts +1 -1
  24. package/types/source/providers/inputs/Pict-Provider-Input-TabSectionSelector.d.ts.map +1 -1
  25. package/types/source/providers/layouts/Pict-Layout-Custom.d.ts +12 -0
  26. package/types/source/providers/layouts/Pict-Layout-Custom.d.ts.map +1 -0
  27. package/types/source/services/Fable-Service-TransactionTracking.d.ts +21 -0
  28. package/types/source/services/Fable-Service-TransactionTracking.d.ts.map +1 -0
  29. package/types/source/services/ManifestFactory.d.ts.map +1 -1
  30. package/types/source/services/Pict-Service-DynamicApplication.d.ts.map +1 -1
  31. package/types/source/templates/Pict-Template-ControlFromDynamicManifest.d.ts +94 -0
  32. package/types/source/templates/Pict-Template-ControlFromDynamicManifest.d.ts.map +1 -0
  33. package/types/source/templates/Pict-Template-ControlFromDynamicManifestForHash.d.ts +94 -0
  34. package/types/source/templates/Pict-Template-ControlFromDynamicManifestForHash.d.ts.map +1 -0
  35. package/types/source/views/Pict-View-DynamicForm.d.ts +22 -2
  36. package/types/source/views/Pict-View-DynamicForm.d.ts.map +1 -1
  37. package/types/source/views/Pict-View-Form-Metacontroller.d.ts +12 -0
  38. package/types/source/views/Pict-View-Form-Metacontroller.d.ts.map +1 -1
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
3
  # Building complex_table
4
4
  pushd complex_table
@@ -30,6 +30,21 @@
30
30
  "Name": "Delivery Confirmation Contact Info",
31
31
  "Hash": "DeliveryConfirmationInfo",
32
32
  "Description": "The email address and phone number of the sender."
33
+ },
34
+ {
35
+ "Name": "Custom Layout Test",
36
+ "Hash": "CustomLayoutTest",
37
+ "Description": "A test section to see how custom layout works.",
38
+ "Groups":
39
+ [
40
+ {
41
+ "Name": "Custom Layout",
42
+ "Hash": "Custom1",
43
+ "Description": "The message and recipient of your postcard.",
44
+ "Layout": "Custom",
45
+ "CustomLayoutTemplate": "<div id=\"custom\">{~DI:Custom.CustomField1~} <div id=\"custom2\">{~DIH:CustomField2~}</div></div>"
46
+ }
47
+ ]
33
48
  }
34
49
  ],
35
50
 
@@ -67,7 +82,7 @@
67
82
  "DataType":"String"
68
83
  ,"PictForm": { "Section":"Postcard", "Group":"Content", "Row":3, "Width":12, "InputType":"TextArea" }
69
84
  },
70
- "PostcardContent.SignatureLine":
85
+ "PostcardContent.SignatureLine":
71
86
  {
72
87
  "Name":"Signature Line",
73
88
  "Hash":"SignatureLine",
@@ -75,7 +90,7 @@
75
90
  "DataType":"String"
76
91
  ,"PictForm": { "InputType":"PostKardSignature", "Section":"Postcard", "Group":"Content", "Row":4, "Width":12, "Providers": ["PostKardInputExtension"] }
77
92
  },
78
- "DeliveryDestination.StreetAddress1":
93
+ "DeliveryDestination.StreetAddress1":
79
94
  {
80
95
  "Name":"Street Address Line 1",
81
96
  "Hash":"StreetAddress1",
@@ -83,7 +98,7 @@
83
98
  "DataType":"String"
84
99
  ,"PictForm": { "Section":"Postcard", "Group":"Destination", "Row":1, "Width":12 }
85
100
  },
86
- "DeliveryDestination.StreetAddress2":
101
+ "DeliveryDestination.StreetAddress2":
87
102
  {
88
103
  "Name":"Street Address Line 2",
89
104
  "Hash":"StreetAddress2",
@@ -91,7 +106,7 @@
91
106
  "DataType":"String"
92
107
  ,"PictForm": { "Section":"Postcard", "Group":"Destination", "Row":2, "Width":12 }
93
108
  },
94
- "DeliveryDestination.City":
109
+ "DeliveryDestination.City":
95
110
  {
96
111
  "Name":"City",
97
112
  "Hash":"City",
@@ -99,7 +114,7 @@
99
114
  "DataType":"String"
100
115
  ,"PictForm": { "Section":"Postcard", "Group":"Destination", "Row":3, "Width":6 }
101
116
  },
102
- "DeliveryDestination.State":
117
+ "DeliveryDestination.State":
103
118
  {
104
119
  "Name":"State",
105
120
  "Hash":"State",
@@ -107,7 +122,7 @@
107
122
  "DataType":"String"
108
123
  ,"PictForm": { "Section":"Postcard", "Group":"Destination", "Row":1, "Width":2 }
109
124
  },
110
- "DeliveryDestination.Zip":
125
+ "DeliveryDestination.Zip":
111
126
  {
112
127
  "Name":"Zip Code",
113
128
  "Hash":"Zip",
@@ -115,7 +130,7 @@
115
130
  "DataType":"Number"
116
131
  ,"PictForm": { "Section":"Postcard", "Group":"Destination", "Row":1, "Width":4 }
117
132
  },
118
- "SenderData.EmailAddress":
133
+ "SenderData.EmailAddress":
119
134
  {
120
135
  "Name":"Email Address",
121
136
  "Hash":"SenderEmailAddress",
@@ -123,7 +138,7 @@
123
138
  "DataType":"String"
124
139
  ,"PictForm": { "Section":"DeliveryConfirmationInfo", "Row":1, "Width":12 }
125
140
  },
126
- "SenderData.PhoneNumber":
141
+ "SenderData.PhoneNumber":
127
142
  {
128
143
  "Name":"Phone Number",
129
144
  "Hash":"SenderPhoneNumber",
@@ -131,13 +146,29 @@
131
146
  "DataType":"String"
132
147
  ,"PictForm": { "Section":"DeliveryConfirmationInfo", "Row":2, "Width":10, "CSSClasses": ["VeryImportantData"] }
133
148
  },
134
- "SenderData.ExplicitConsentToMailers":
149
+ "SenderData.ExplicitConsentToMailers":
135
150
  {
136
151
  "Name":"Marketing Consent",
137
152
  "Hash":"SenderExplicitMarketingConsent",
138
153
  "Description":"I agree to receiving marketing material at this phone number and email address.",
139
154
  "DataType":"Boolean"
140
155
  ,"PictForm": { "Section":"DeliveryConfirmationInfo", "Row":1, "Width":2 }
156
+ },
157
+ "Custom.CustomField1":
158
+ {
159
+ "Name":"Custom Field 1",
160
+ "Hash":"CustomField1",
161
+ "Description":"A custom field for testing.",
162
+ "DataType":"String",
163
+ "PictForm": { "InputType":"PostKardSignature", "Section":"CustomLayoutTest","Group":"Custom1", "Providers": ["PostKardInputExtension"] }
164
+ },
165
+ "Custom.CustomField2":
166
+ {
167
+ "Name":"Custom Field 2",
168
+ "Hash":"CustomField2",
169
+ "Description":"A custom field for testing.",
170
+ "DataType":"String",
171
+ "PictForm": { "InputType":"ParaGraphaString", "Section":"CustomLayoutTest", "Group":"Custom1", "Providers": ["PostKardInputExtension"] }
141
172
  }
142
173
  }
143
- }
174
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -8,6 +8,8 @@ const templateSetReadOnlyTemplates = require('./dynamictemplates/Pict-DynamicTem
8
8
  const libTemplateValueSetWithGroup = require('../templates/Pict-Template-Metacontroller-ValueSetWithGroup.js');
9
9
  const libTemplateDynamicInput = require('../templates/Pict-Template-Metatemplate-Input.js');
10
10
  const libTemplateDynamicInputWithHashAddress = require('../templates/Pict-Template-Metatemplate-InputWithHashAddress.js');
11
+ const libTemplateControlFromDynamicManifest = require('../templates/Pict-Template-ControlFromDynamicManifest.js')
12
+ const libTemplateControlFromDynamicManifestForHash = require('../templates/Pict-Template-ControlFromDynamicManifestForHash.js')
11
13
 
12
14
  // TODO: This is temporary until we publish new pict
13
15
  const libTemplatePluckJoinUnique = require('../templates/Pict-Template-Proxy-PluckJoinUnique.js');
@@ -53,6 +55,8 @@ class PictDynamicFormsTemplates extends libPictProvider
53
55
  this.pict.addTemplate(libTemplateDynamicInput);
54
56
  this.pict.addTemplate(libTemplateDynamicInputWithHashAddress);
55
57
  this.pict.addTemplate(libTemplatePluckJoinUnique);
58
+ this.pict.addTemplate(libTemplateControlFromDynamicManifest);
59
+ this.pict.addTemplate(libTemplateControlFromDynamicManifestForHash);
56
60
 
57
61
  if (this.options?.MetaTemplateSet && typeof(this.options.MetaTemplateSet) === 'object')
58
62
  {
@@ -0,0 +1,43 @@
1
+ const libPictSectionGroupLayout = require('../Pict-Provider-DynamicLayout.js');
2
+
3
+ class RecordLayout extends libPictSectionGroupLayout
4
+ {
5
+ constructor(pFable, pOptions, pServiceHash)
6
+ {
7
+ super(pFable, pOptions, pServiceHash);
8
+
9
+ /** @type {import('pict')} */
10
+ this.pict;
11
+ /** @type {import('pict')} */
12
+ this.fable;
13
+ /** @type {any} */
14
+ this.log;
15
+ }
16
+
17
+ /**
18
+ * Generate a group layout template for a single-record dynamically generated group view.
19
+ *
20
+ * This is the standard name / field entry form that you're used to filling out for addresses
21
+ * and such.
22
+ *
23
+ * @param {object} pView - The view to generate the dynamic group layout for
24
+ * @param {object} pGroup - The group to generate and inject dynamic layout templates
25
+ * @returns {string} - The template for the group
26
+ */
27
+ generateGroupLayoutTemplate(pView, pGroup)
28
+ {
29
+ const hash = pGroup.CustomLayoutTemplateHash;
30
+ if (hash)
31
+ {
32
+ const template = this.pict.TemplateProvider.getTemplate(hash);
33
+ if (template)
34
+ {
35
+ return template;
36
+ }
37
+ this.log.warn(`Custom layout template not found for hash: ${hash}`);
38
+ }
39
+ return pGroup.CustomLayoutTemplate || '';
40
+ }
41
+ }
42
+
43
+ module.exports = RecordLayout;
@@ -19,6 +19,7 @@ const libPictLayoutTabular = require('../providers/layouts/Pict-Layout-Tabular.j
19
19
  const libPictLayoutRecordSet = require('../providers/layouts/Pict-Layout-RecordSet.js');
20
20
  const libPictLayoutChart = require('../providers/layouts/Pict-Layout-Chart.js');
21
21
  const libPictLayoutTuiGrid = require('../providers/layouts/Pict-Layout-TuiGrid.js');
22
+ const libPictLayoutCustom = require('../providers/layouts/Pict-Layout-Custom.js');
22
23
 
23
24
  const libInformary = require('../providers/Pict-Provider-Informary.js');
24
25
 
@@ -56,6 +57,7 @@ class PictDynamicApplication extends libFableServiceProviderBase
56
57
  this.fable.addProviderSingleton('Pict-Layout-RecordSet', libPictLayoutRecordSet.default_configuration, libPictLayoutRecordSet);
57
58
  this.fable.addProviderSingleton('Pict-Layout-Chart', libPictLayoutChart.default_configuration, libPictLayoutChart);
58
59
  this.fable.addProviderSingleton('Pict-Layout-TuiGrid', libPictLayoutTuiGrid.default_configuration, libPictLayoutTuiGrid);
60
+ this.fable.addProviderSingleton('Pict-Layout-Custom', libPictLayoutCustom.default_configuration, libPictLayoutCustom);
59
61
 
60
62
  this.fable.addProviderSingleton('Informary', libInformary.default_configuration, libInformary);
61
63
  }
@@ -0,0 +1,113 @@
1
+ const libPictTemplate = require('pict-template');
2
+
3
+ /**
4
+ * @typedef {{
5
+ reset: () => void,
6
+ clone: () => Manyfest,
7
+ deserialize: (pManifestString: string) => void,
8
+ loadManifest: (pManifest: any) => void,
9
+ serialize: () => string,
10
+ getManifest: () => { Scope: string, Descriptors: any, HashTranslations: any, },
11
+ addDescriptor: (pAddress: string, pDescriptor: any) => void,
12
+ getDescriptorByHash: (pHash: string) => any,
13
+ getDescriptor: (pAddress: string) => any,
14
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void,
15
+ checkAddressExistsByHash : (pObject: any, pHash: string) => boolean,
16
+ checkAddressExists : (pObject: any, pAddress: string) => boolean,
17
+ resolveHashAddress: (pHash: string) => any,
18
+ getValueByHash : (pObject: any, pHash: string) => any,
19
+ getValueAtAddress : (pObject: any, pAddress: string) => any,
20
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean,
21
+ setValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
22
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void,
23
+ deleteValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
24
+ validate: (pObject: any) => boolean,
25
+ getDefaultValue: (pDescriptor: any) => any,
26
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void,
27
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void,
28
+ serviceType: string,
29
+ options: any,
30
+ scope?: string,
31
+ elementAddresses: Array<string>,
32
+ elementHashes: Object,
33
+ elementDescriptors: Object,
34
+ * }} Manyfest
35
+ */
36
+
37
+
38
+ /**
39
+ * This is a template that will generate a Metatemplate input, for manual use of metatemplates.
40
+ */
41
+ class PictTemplateControlFromDynamicManifest extends libPictTemplate
42
+ {
43
+ /**
44
+ * @param {Object} pFable - The Fable Framework instance
45
+ * @param {Object} pOptions - The options for the service
46
+ * @param {String} pServiceHash - The hash of the service
47
+ */
48
+ constructor(pFable, pOptions, pServiceHash)
49
+ {
50
+ super(pFable, pOptions, pServiceHash);
51
+
52
+ /** @type {import('pict')} */
53
+ this.pict;
54
+ /** @type {import('pict') & { ManifestFactory: import('../services/ManifestFactory.js') }} */
55
+ this.fable;
56
+ /** @type {any} */
57
+ this.log;
58
+
59
+ this.addPattern('{~DynamicInput:', '~}');
60
+ this.addPattern('{~DI:', '~}');
61
+ }
62
+
63
+ /**
64
+ * Renders the PICT Metacontroller Template. The Record reference is ignored in this template.
65
+ *
66
+ * @param {string} pTemplateHash - The template hash.
67
+ * @param {object} pRecord - The record object.
68
+ * @param {array} pContextArray - The context array.
69
+ * @returns {string} - The rendered template.
70
+ */
71
+ render(pTemplateHash, pRecord, pContextArray)
72
+ {
73
+ return this.renderAsync(pTemplateHash, pRecord, null, pContextArray);
74
+ }
75
+
76
+ renderAsync(pTemplateHash, pRecord, fCallback, pContextArray)
77
+ {
78
+ const tmpMetatemplateGenerator = this.pict.providers.MetatemplateGenerator;
79
+ const tmpHash = pTemplateHash.trim();
80
+ /** @type{import('../views/Pict-View-Form-Metacontroller.js')} */
81
+ const metacontroller = this.pict.views.PictFormMetacontroller;
82
+ /** @type {Manyfest} */
83
+ const manifest = metacontroller.manifest;
84
+ const descriptor = manifest.getDescriptor(tmpHash);
85
+ // Check to see if the input is already in the manifest
86
+ let tmpRow = tmpMetatemplateGenerator.dynamicInputView.getRow(0, 0);
87
+
88
+ for (let i = 0; i < tmpRow.Inputs.length; i++)
89
+ {
90
+ if (tmpRow.Inputs[i].Hash === descriptor.Hash)
91
+ {
92
+ let descriptor = tmpRow.Inputs[i];
93
+ return this.pict.parseTemplate(tmpMetatemplateGenerator.getInputMetatemplateTemplateReference(tmpMetatemplateGenerator.dynamicInputView, descriptor.DataType, descriptor.PictForm.InputType, `getInput("0","0","${descriptor.PictForm.InputIndex}")`), descriptor, null, [tmpMetatemplateGenerator.dynamicInputView]);
94
+ }
95
+ }
96
+
97
+ // It isn't already in the manifest, so add it.
98
+ descriptor.PictForm.InputIndex = tmpRow.Inputs.length;
99
+ tmpMetatemplateGenerator.dynamicInputView.sectionManifest.addDescriptor(descriptor.Address, descriptor);
100
+ tmpRow.Inputs.push(descriptor);
101
+
102
+ //TODO: needed? just once?
103
+ this.pict.providers.MetatemplateMacros.buildInputMacros(tmpMetatemplateGenerator.dynamicInputView, descriptor);
104
+
105
+ // Now generate the metatemplate
106
+ const tmpTemplate = tmpMetatemplateGenerator.getInputMetatemplateTemplateReference(tmpMetatemplateGenerator.dynamicInputView, descriptor.DataType, descriptor.PictForm.InputType, `getInput("0","0","${descriptor.PictForm.InputIndex}")`);
107
+
108
+ // Now parse it and return it.
109
+ return this.pict.parseTemplate(tmpTemplate, descriptor, fCallback, [tmpMetatemplateGenerator.dynamicInputView]);
110
+ }
111
+ }
112
+
113
+ module.exports = PictTemplateControlFromDynamicManifest;
@@ -0,0 +1,113 @@
1
+ const libPictTemplate = require('pict-template');
2
+
3
+ /**
4
+ * @typedef {{
5
+ reset: () => void,
6
+ clone: () => Manyfest,
7
+ deserialize: (pManifestString: string) => void,
8
+ loadManifest: (pManifest: any) => void,
9
+ serialize: () => string,
10
+ getManifest: () => { Scope: string, Descriptors: any, HashTranslations: any, },
11
+ addDescriptor: (pAddress: string, pDescriptor: any) => void,
12
+ getDescriptorByHash: (pHash: string) => any,
13
+ getDescriptor: (pAddress: string) => any,
14
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void,
15
+ checkAddressExistsByHash : (pObject: any, pHash: string) => boolean,
16
+ checkAddressExists : (pObject: any, pAddress: string) => boolean,
17
+ resolveHashAddress: (pHash: string) => any,
18
+ getValueByHash : (pObject: any, pHash: string) => any,
19
+ getValueAtAddress : (pObject: any, pAddress: string) => any,
20
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean,
21
+ setValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
22
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void,
23
+ deleteValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
24
+ validate: (pObject: any) => boolean,
25
+ getDefaultValue: (pDescriptor: any) => any,
26
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void,
27
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void,
28
+ serviceType: string,
29
+ options: any,
30
+ scope?: string,
31
+ elementAddresses: Array<string>,
32
+ elementHashes: Object,
33
+ elementDescriptors: Object,
34
+ * }} Manyfest
35
+ */
36
+
37
+
38
+ /**
39
+ * This is a template that will generate a Metatemplate input, for manual use of metatemplates.
40
+ */
41
+ class PictTemplateControlFromDynamicManifest extends libPictTemplate
42
+ {
43
+ /**
44
+ * @param {Object} pFable - The Fable Framework instance
45
+ * @param {Object} pOptions - The options for the service
46
+ * @param {String} pServiceHash - The hash of the service
47
+ */
48
+ constructor(pFable, pOptions, pServiceHash)
49
+ {
50
+ super(pFable, pOptions, pServiceHash);
51
+
52
+ /** @type {import('pict')} */
53
+ this.pict;
54
+ /** @type {import('pict') & { ManifestFactory: import('../services/ManifestFactory.js') }} */
55
+ this.fable;
56
+ /** @type {any} */
57
+ this.log;
58
+
59
+ this.addPattern('{~DynamicInputForHash:', '~}');
60
+ this.addPattern('{~DIH:', '~}');
61
+ }
62
+
63
+ /**
64
+ * Renders the PICT Metacontroller Template. The Record reference is ignored in this template.
65
+ *
66
+ * @param {string} pTemplateHash - The template hash.
67
+ * @param {object} pRecord - The record object.
68
+ * @param {array} pContextArray - The context array.
69
+ * @returns {string} - The rendered template.
70
+ */
71
+ render(pTemplateHash, pRecord, pContextArray)
72
+ {
73
+ return this.renderAsync(pTemplateHash, pRecord, null, pContextArray);
74
+ }
75
+
76
+ renderAsync(pTemplateHash, pRecord, fCallback, pContextArray)
77
+ {
78
+ const tmpMetatemplateGenerator = this.pict.providers.MetatemplateGenerator;
79
+ const tmpHash = pTemplateHash.trim();
80
+ /** @type{import('../views/Pict-View-Form-Metacontroller.js')} */
81
+ const metacontroller = this.pict.views.PictFormMetacontroller;
82
+ /** @type {Manyfest} */
83
+ const manifest = metacontroller.manifest;
84
+ const descriptor = manifest.getDescriptorByHash(tmpHash);
85
+ // Check to see if the input is already in the manifest
86
+ let tmpRow = tmpMetatemplateGenerator.dynamicInputView.getRow(0, 0);
87
+
88
+ for (let i = 0; i < tmpRow.Inputs.length; i++)
89
+ {
90
+ if (tmpRow.Inputs[i].Hash === descriptor.Hash)
91
+ {
92
+ let descriptor = tmpRow.Inputs[i];
93
+ return this.pict.parseTemplate(tmpMetatemplateGenerator.getInputMetatemplateTemplateReference(tmpMetatemplateGenerator.dynamicInputView, descriptor.DataType, descriptor.PictForm.InputType, `getInput("0","0","${descriptor.PictForm.InputIndex}")`), descriptor, null, [tmpMetatemplateGenerator.dynamicInputView]);
94
+ }
95
+ }
96
+
97
+ // It isn't already in the manifest, so add it.
98
+ descriptor.PictForm.InputIndex = tmpRow.Inputs.length;
99
+ tmpMetatemplateGenerator.dynamicInputView.sectionManifest.addDescriptor(descriptor.Address, descriptor);
100
+ tmpRow.Inputs.push(descriptor);
101
+
102
+ //TODO: needed? just once?
103
+ this.pict.providers.MetatemplateMacros.buildInputMacros(tmpMetatemplateGenerator.dynamicInputView, descriptor);
104
+
105
+ // Now generate the metatemplate
106
+ const tmpTemplate = tmpMetatemplateGenerator.getInputMetatemplateTemplateReference(tmpMetatemplateGenerator.dynamicInputView, descriptor.DataType, descriptor.PictForm.InputType, `getInput("0","0","${descriptor.PictForm.InputIndex}")`);
107
+
108
+ // Now parse it and return it.
109
+ return this.pict.parseTemplate(tmpTemplate, descriptor, fCallback, [tmpMetatemplateGenerator.dynamicInputView]);
110
+ }
111
+ }
112
+
113
+ module.exports = PictTemplateControlFromDynamicManifest;
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicSolver.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicSolver.js"],"names":[],"mappings":";AAwBA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EA6DhB;IAtDA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,gGAAgG;IAChG,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAA;KAAE,CAClF;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IACT,qBAAqB;IACrB,MADW,MAAM,CACR;IA+CV;;;;;;;;;OASG;IACH,qBALW,MAAM,GAAC,MAAM,cACb,OAAO,aACP,MAAM,GACJ,MAAM,GAAC,SAAS,CA8B5B;IAED;;;;;;;OAOG;IACH,wDAFW,MAAM,QAyDhB;IAED;;;;;OAKG;IACH,gEAFW,MAAM,QA+BhB;IAED;;;;;OAKG;IACH,sDAFW,MAAM,QAwBhB;IAED;;;;;;;;OAQG;IACH,gCAJW,MAAM,yBAWhB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAFW,QAAM,MAAM,EAAE,QAiFxB;IADA;;;;;MAAuC;CAExC"}
1
+ {"version":3,"file":"Pict-Provider-DynamicSolver.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicSolver.js"],"names":[],"mappings":";AAyBA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAiEhB;IA1DA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,gGAAgG;IAChG,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAA;KAAE,CAClF;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IACT,qBAAqB;IACrB,MADW,MAAM,CACR;IAmDV;;;;;;;;;OASG;IACH,qBALW,MAAM,GAAC,MAAM,cACb,OAAO,aACP,MAAM,GACJ,MAAM,GAAC,SAAS,CA8B5B;IAED;;;;;;;OAOG;IACH,wDAFW,MAAM,QAyDhB;IAED;;;;;OAKG;IACH,gEAFW,MAAM,QA+BhB;IAED;;;;;OAKG;IACH,sDAFW,MAAM,QAwBhB;IAED;;;;;;;;OAQG;IACH,gCAJW,MAAM,yBAWhB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAFW,QAAM,MAAM,EAAE,QAiFxB;IADA;;;;;MAAuC;CAExC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicTemplates.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicTemplates.js"],"names":[],"mappings":";AAwBA;;;GAGG;AACH;IAEC;;;;;OAKG;IACH,2DA6BC;IAvBA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAoBT;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,2CA4DC;CACD"}
1
+ {"version":3,"file":"Pict-Provider-DynamicTemplates.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicTemplates.js"],"names":[],"mappings":";AA0BA;;;GAGG;AACH;IAEC;;;;;OAKG;IACH,2DA+BC;IAzBA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAsBT;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,2CA4DC;CACD"}
@@ -58,6 +58,18 @@ declare class PictDynamicFormsInformary {
58
58
  * @param {number|string} [pRecordIndex] - The record index to pull in. If not provided, all data is marshalled.
59
59
  */
60
60
  marshalFormToData(pAppStateData: object, pFormHash: string, pManifest: object, pDatum?: string, pRecordIndex?: number | string): void;
61
+ /**
62
+ * Marshals a specific form element's data to the application state data.
63
+ *
64
+ * @param {string} pFormHash - The hash of the form.
65
+ * @param {HTMLElement} tmpFormElement - The form element to marshal.
66
+ * @param {Object} tmpManifest - The manifest object to set values.
67
+ * @param {Object} pAppStateData - The application state data object.
68
+ * @param {any} [pDatumFilter] - Optional filter for datum address.
69
+ * @param {any} [pRecordIndexFilter] - Optional filter for record index.
70
+ * @returns {boolean} - Returns false if the element falls outside the filters or if the browser value is null.
71
+ */
72
+ marshalSpecicificFormElementToData(pFormHash: string, tmpFormElement: HTMLElement, tmpManifest: any, pAppStateData: any, pDatumFilter?: any, pRecordIndexFilter?: any): boolean;
61
73
  /**
62
74
  * Marshals data from some application state object to a specific subset of browser form elements.
63
75
  *
@@ -66,6 +78,44 @@ declare class PictDynamicFormsInformary {
66
78
  * @param {object} pManifest - The manifest object. If not provided, the generic manifest is used.
67
79
  */
68
80
  marshalDataToForm(pAppStateData: object, pFormHash: string, pManifest: object): void;
81
+ /**
82
+ * Marshals specific element data to a form.
83
+ *
84
+ * @param {string} pFormHash - The hash of the form.
85
+ * @param {HTMLElement} pFormElement - The form element to marshal data to.
86
+ * @param {Object} tmpManifest - The manifest object containing data retrieval methods.
87
+ * @param {Object} pAppStateData - The application state data.
88
+ * @returns {boolean} Returns false if the form element does not have a datum address.
89
+ */
90
+ marshalSpecificElementDataToForm(pFormHash: string, pFormElement: HTMLElement, tmpManifest: any, pAppStateData: any): boolean;
91
+ /**
92
+ * Manually marshals data to a form by assigning content based on context in the descriptor.
93
+ * @param {object} pInput - The input manifest descriptor to marshal data to form from.
94
+ * @returns boolean if assignment was successful
95
+ */
96
+ manualMarshalDataToFormByInput(pInput: object): false | void;
97
+ /**
98
+ * Manually marshals tabular data to a form by assigning content based on context in the descriptor.
99
+ * @param {object} pInput - The input manifest descriptor to marshal data to form from.
100
+ * @param {number} pRowIndex - The index of the row in the tabular data.
101
+ * @returns boolean if assignment was successful
102
+ */
103
+ manualMarshalTabularDataToFormByInput(pInput: object, pRowIndex: number): false | void;
104
+ /**
105
+ * Manually marshals data to a form by assigning content to a specified HTML address.
106
+ *
107
+ * @param {string} pHTMLAddress - The HTML address where the content should be assigned.
108
+ * @param {string} pValue - The value to be assigned to the specified HTML address.
109
+ */
110
+ manualMarshalDataToForm(pHTMLAddress: string, pValue: string): void;
111
+ /**
112
+ * Manually marshals tabular data to a form.
113
+ *
114
+ * @param {string} pHTMLAddress - The HTML address where the data should be assigned.
115
+ * @param {string} pValue - The value to be assigned to the form element.
116
+ * @param {number} pRowIndex - The index of the row in the tabular data.
117
+ */
118
+ manualMarshalTabularDataToForm(pHTMLAddress: string, pValue: string, pRowIndex: number): void;
69
119
  }
70
120
  declare namespace PictDynamicFormsInformary {
71
121
  export { _DefaultProviderConfiguration as default_configuration };
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-Informary.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-Informary.js"],"names":[],"mappings":";AAaA;;;GAGG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAgBhB;IARA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,GAAkB,CAAA;KAAE,CACxE;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAwE;IAGzE;;;;;OAKG;IACH,2BAHW,MAAM,GACJ,WAAW,EAAE,CAOzB;IAED;;;;;;;;;;OAUG;IACH,oCANW,MAAM,cACN,MAAM,cACN,MAAM,GAAC,IAAI,UACX,MAAM,GAAC,MAAM,GACX,MAAM,CAalB;IAED;;;;;;;OAOG;IACH,wCALW,MAAM,UACN,MAAM,GAAC,MAAM,cACb,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;OAQG;IACH,iCANW,MAAM,aACN,MAAM,aACN,MAAM,WACN,MAAM,iBACN,MAAM,GAAC,MAAM,QAsDvB;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,aACN,MAAM,aACN,MAAM,QAmDhB;CACD"}
1
+ {"version":3,"file":"Pict-Provider-Informary.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-Informary.js"],"names":[],"mappings":";AAaA;;;GAGG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAgBhB;IARA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,GAAkB,CAAA;KAAE,CACxE;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAwE;IAGzE;;;;;OAKG;IACH,2BAHW,MAAM,GACJ,WAAW,EAAE,CAOzB;IAED;;;;;;;;;;OAUG;IACH,oCANW,MAAM,cACN,MAAM,cACN,MAAM,GAAC,IAAI,UACX,MAAM,GAAC,MAAM,GACX,MAAM,CAalB;IAED;;;;;;;OAOG;IACH,wCALW,MAAM,UACN,MAAM,GAAC,MAAM,cACb,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;OAQG;IACH,iCANW,MAAM,aACN,MAAM,aACN,MAAM,WACN,MAAM,iBACN,MAAM,GAAC,MAAM,QAgBvB;IAED;;;;;;;;;;OAUG;IACH,8CARW,MAAM,kBACN,WAAW,uDAGX,GAAG,uBACH,GAAG,GACD,OAAO,CA0CnB;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,aACN,MAAM,aACN,MAAM,QAahB;IAED;;;;;;;;OAQG;IACH,4CANW,MAAM,gBACN,WAAW,yCAGT,OAAO,CA2CnB;IAED;;;;OAIG;IACH,uCAHW,MAAM,gBA2BhB;IAED;;;;;OAKG;IACH,8CAJW,MAAM,aACN,MAAM,gBA2BhB;IAED;;;;;OAKG;IACH,sCAHW,MAAM,UACN,MAAM,QAKhB;IAED;;;;;;OAMG;IACH,6CAJW,MAAM,UACN,MAAM,aACN,MAAM,QAKhB;CACD"}
@@ -27,7 +27,7 @@ declare class PictInputExtensionProvider {
27
27
  * @param {number} pRowIndex - The index of the row in the tabular data.
28
28
  * @returns {string} - The generated HTML ID for the hidden input element.
29
29
  */
30
- getTabularHiddenInputHTMLID(pInputHTMLID: string, pRowIndex: number): string;
30
+ getTabularInputHTMLID(pInputHTMLID: string, pRowIndex: number): string;
31
31
  /**
32
32
  * An input has been initialized (rendered into the DOM)
33
33
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-InputExtension.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-InputExtension.js"],"names":[],"mappings":";AAYA;;;;GAIG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAGD;;;;;OAKG;IACH,6BAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,0CAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;;;;OAWG;IACH,2EAHW,GAAG,iBACH,MAAM,WAKhB;IAED;;;;;;;;;;;OAWG;IACH,uEAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAKhB;IAED;;;;;;;;;OASG;IACH,8CAHW,GAAG,iBACH,MAAM,WAKhB;IAED;;;;;;;;OAQG;IACH,qDAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAKhB;IAED;;;;;;;;;;OAUG;IACH,mDANW,MAAM,uBAEN,GAAG,iBACH,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;OAQG;IACH,+CAJW,GAAG,iBACH,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;OASG;IACH,sDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAGD;;;;;;;;;OASG;IACH,yCALW,GAAG,iBACH,MAAM,UACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;;OAUG;IACH,gDANW,GAAG,iBACH,MAAM,aACN,MAAM,UACN,MAAM,GACJ,OAAO,CAKnB;CACD"}
1
+ {"version":3,"file":"Pict-Provider-InputExtension.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-InputExtension.js"],"names":[],"mappings":";AAYA;;;;GAIG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAGD;;;;;OAKG;IACH,6BAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,oCAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;;;;OAWG;IACH,2EAHW,GAAG,iBACH,MAAM,WAKhB;IAED;;;;;;;;;;;OAWG;IACH,uEAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAKhB;IAED;;;;;;;;;OASG;IACH,8CAHW,GAAG,iBACH,MAAM,WAKhB;IAED;;;;;;;;OAQG;IACH,qDAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAKhB;IAED;;;;;;;;;;OAUG;IACH,mDANW,MAAM,uBAEN,GAAG,iBACH,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;OAQG;IACH,+CAJW,GAAG,iBACH,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;OASG;IACH,sDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAGD;;;;;;;;;OASG;IACH,yCALW,GAAG,iBACH,MAAM,UACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;;OAUG;IACH,gDANW,GAAG,iBACH,MAAM,aACN,MAAM,UACN,MAAM,GACJ,OAAO,CAKnB;CACD"}
@@ -0,0 +1,55 @@
1
+ export = PictListDistilling;
2
+ /**
3
+ * The PictListDistilling class is a provider that filters lists based on input rules.
4
+ */
5
+ declare class PictListDistilling {
6
+ constructor(pFable: any, pOptions: any, pServiceHash: any);
7
+ /** @type {import('pict')} */
8
+ pict: import("pict");
9
+ /** @type {import('pict')} */
10
+ fable: import("pict");
11
+ /** @type {any} */
12
+ log: any;
13
+ /**
14
+ * Filter a list of options based on the filtering rules in a dynamic form input.
15
+ *
16
+ * Example Configuration:
17
+ * ...
18
+ "ListFilterRules": [
19
+ {
20
+ "Filter": "Colour Entry Filter",
21
+ "FilterType": "Explicit",
22
+ "FilterValueComparison": "==",
23
+ "FilterValueAddress": "Listopia.Filters.Colour",
24
+ "IgnoreEmptyValue": true
25
+ },
26
+ {
27
+ "Filter": "Colour List Distilling Filter",
28
+ "FilterType": "CrossMap",
29
+ "JoinListAddress": "View.sectionDefinition.Intersections.Colors.FruitSelectionColorsJoin",
30
+ "JoinListAddressGlobal": true,
31
+ "JoinListValueAddress": "GUIDColors",
32
+ "ExternalValueAddress": "GUIDFruitSelection",
33
+ "FilterToValueAddress": "Listopia.Fruit",
34
+ "IgnoreEmpty": true
35
+ }
36
+ ],
37
+ * ...
38
+ *
39
+ * @param {Object} pView - The pict view the list is within
40
+ * @param {*} pInput - The input within the dynamic forms view
41
+ * @param {*} pList - The raw list of options to filter
42
+ * @returns
43
+ */
44
+ filterList(pView: any, pInput: any, pList: any): any;
45
+ }
46
+ declare namespace PictListDistilling {
47
+ export { _DefaultProviderConfiguration as default_configuration };
48
+ }
49
+ declare namespace _DefaultProviderConfiguration {
50
+ let ProviderIdentifier: string;
51
+ let AutoInitialize: boolean;
52
+ let AutoInitializeOrdinal: number;
53
+ let AutoSolveWithApp: boolean;
54
+ }
55
+ //# sourceMappingURL=Pict-Provider-ListDistilling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pict-Provider-ListDistilling.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-ListDistilling.js"],"names":[],"mappings":";AAYA;;GAEG;AACH;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAqBT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BI;IACJ,+BAJY,GAAC,SACD,GAAC,OAoOZ;CACD"}
@@ -24,36 +24,38 @@ declare class PictMetalist {
24
24
  /** @type {string} */
25
25
  Hash: string;
26
26
  computedLists: {};
27
- globalLists: {};
27
+ listDefinitions: {};
28
28
  /**
29
29
  * Retrieves a list based on the provided view hash and list hash.
30
30
  *
31
- * @param {string} pViewHash - The view hash.
32
31
  * @param {string} pListHash - The list hash.
33
32
  * @returns {Array} - The retrieved list.
34
33
  */
35
- getList(pViewHash: string, pListHash: string): any[];
34
+ getList(pListHash: string): any[];
36
35
  /**
37
36
  * Checks if a list exists in the Pict Provider MetaLists.
38
37
  *
39
- * @param {string} pViewHash - The hash of the view.
40
38
  * @param {string} pListHash - The hash of the list.
41
39
  * @returns {boolean} - Returns true if the list exists, otherwise false.
42
40
  */
43
- hasList(pViewHash: string, pListHash: string): boolean;
41
+ hasList(pListHash: string): boolean;
44
42
  /**
45
- * Builds meta lists for the Pict provider.
46
- *
47
- * @param {Array|string} pViewHashes - The view hashes to build meta lists for.
43
+ * Rebuilds any lists defined in specific views
44
+ * @param {Array} pViewHashes - An array of strings representing the view hashes to rebuild lists for.
48
45
  */
49
- buildViewSpecificLists(pViewHashes: any[] | string): void;
46
+ buildViewSpecificLists(pViewHashes: any[]): void;
50
47
  /**
51
- * Builds meta lists for the Pict provider.
48
+ * Rebuilds a list based on the provided hash.
52
49
  *
53
- * @param {Object} pView - The view hashes to build meta lists for.
54
- * @param {string} pListHash - The list hash.
50
+ * @param {string} pListHash - The hash of the list to be rebuilt.
51
+ */
52
+ rebuildListByHash(pListHash: string): void;
53
+ /**
54
+ * Builds a list based on the provided list object. Stores it internally for use in dropdowns and list boxes.
55
+ * @param {Object} pListObject - The List definition object
56
+ * @returns boolean
55
57
  */
56
- buildViewSpecificList(pView: any, pListHash: string): void;
58
+ buildList(pListObject: any): boolean;
57
59
  }
58
60
  declare namespace PictMetalist {
59
61
  export { _DefaultProviderConfiguration as default_configuration };
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-MetaLists.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-MetaLists.js"],"names":[],"mappings":";AAYA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAsBhB;IAfA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IACT,qBAAqB;IACrB,MADW,MAAM,CACR;IAET,kBAAuB;IACvB,gBAAqB;IAGtB;;;;;;OAMG;IACH,mBAJW,MAAM,aACN,MAAM,SAchB;IAED;;;;;;OAMG;IACH,mBAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;OAIG;IACH,wBAFW,QAAM,MAAM,QAyBtB;IAED;;;;;OAKG;IACH,iCAFW,MAAM,QAsGhB;CACD"}
1
+ {"version":3,"file":"Pict-Provider-MetaLists.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-MetaLists.js"],"names":[],"mappings":";AAYA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAsBhB;IAfA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IACT,qBAAqB;IACrB,MADW,MAAM,CACR;IAET,kBAAuB;IACvB,oBAAyB;IAG1B;;;;;OAKG;IACH,mBAHW,MAAM,SAUhB;IAED;;;;;OAKG;IACH,mBAHW,MAAM,GACJ,OAAO,CAKnB;IAED;;;OAGG;IACH,iDAsBC;IAED;;;;OAIG;IACH,6BAFW,MAAM,QAQhB;IAED;;;;OAIG;IACH,qCAiGC;CACD"}
@@ -32,8 +32,30 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
32
32
  pict: import("pict");
33
33
  /** @type {any} */
34
34
  log: any;
35
- autoFillFromAddressList(pView: any, pInput: any, pValue: any, pHTMLSelector: any): boolean;
36
- autoFillFromAddressListTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: any, pRowIndex: any): boolean;
35
+ getTriggerGroupConfigurationArray(pInput: any): any;
36
+ autoFillFromAddressList(pView: any, pInput: any, tmpTriggerGroupInfo: any, pHTMLSelector: any): boolean;
37
+ autoFillFromAddressListTabular(pView: any, pInput: any, tmpTriggerGroupInfo: any, pHTMLSelector: any, pRowIndex: any): boolean;
38
+ /**
39
+ * Handles the change event for the data in the select input.
40
+ *
41
+ * @param {Object} pView - The view object.
42
+ * @param {Object} pInput - The input object.
43
+ * @param {any} pValue - The new value of the input.
44
+ * @param {string} pHTMLSelector - The HTML selector of the input.
45
+ * @returns {any} - The result of the super.onDataChange method.
46
+ */
47
+ onDataChange(pView: any, pInput: any, pValue: any, pHTMLSelector: string): any;
48
+ /**
49
+ * Handles the change event for tabular data.
50
+ *
51
+ * @param {Object} pView - The view object.
52
+ * @param {Object} pInput - The input object.
53
+ * @param {any} pValue - The new value.
54
+ * @param {string} pHTMLSelector - The HTML selector.
55
+ * @param {number} pRowIndex - The index of the row.
56
+ * @returns {any} - The result of the super method.
57
+ */
58
+ onDataChangeTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number): any;
37
59
  onEvent(pView: any, pInput: any, pValue: any, pHTMLSelector: any, pEvent: any): boolean;
38
60
  onEventTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: any, pRowIndex: any, pEvent: any): boolean;
39
61
  }
@@ -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,2FAoCC;IAED,kHAoCC;IAGD,wFA6BC;IAED,+GAoCC;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,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 +1 @@
1
- {"version":3,"file":"Pict-Provider-Input-Select.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-Select.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT;;;;;OAKG;IACH,mCAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,sCAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;OAQG;IACH,2EAHW,GAAG,iBACH,MAAM,WAmChB;IAED;;;;;;;;;OASG;IACH,kFAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAqChB;IAmBD;;;;;;;;;;OAUG;IACH,uEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAOf;IAED;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;;;OAUG;IACH,6EAJW,GAAG,iBACH,MAAM,GACJ,OAAO,CAmCnB;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAmCf;IAED;;;;;;;;OAQG;IACH,+CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAQf;IAED;;;;;;;;;OASG;IACH,sDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAQf;CACD"}
1
+ {"version":3,"file":"Pict-Provider-Input-Select.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-Select.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT;;;;;OAKG;IACH,mCAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,sCAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;OAQG;IACH,2EAHW,GAAG,iBACH,MAAM,WAoChB;IAED;;;;;;;;;OASG;IACH,kFAJW,GAAG,iBACH,MAAM,aACN,MAAM,WAsChB;IAmBD;;;;;;;;;;OAUG;IACH,uEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAMf;IAED;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;;;OAUG;IACH,6EAJW,GAAG,iBACH,MAAM,GACJ,OAAO,CAmCnB;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAmCf;IAED;;;;;;;;OAQG;IACH,+CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAQf;IAED;;;;;;;;;OASG;IACH,sDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAQf;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-Input-TabGroupSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabGroupSelector.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAiBC;IAbA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAqB;IACrB,cADW,MAAM,CAC0B;IAC3C,4BAAuD;IACvD,mBAAgH;IAKjH,2DAKC;IAED,iEAGC;IAED,sDAGC;IAED,6EAyCC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;CAwCD"}
1
+ {"version":3,"file":"Pict-Provider-Input-TabGroupSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabGroupSelector.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAiBC;IAbA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAqB;IACrB,cADW,MAAM,CAC0B;IAC3C,4BAAuD;IACvD,mBAAgH;IAKjH,2DAKC;IAED,iEAGC;IAED,sDAGC;IAED,6EAyCC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;CA0CD"}
@@ -20,7 +20,7 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
20
20
  cssSnippet: string;
21
21
  setCSSSnippets(pCSSHideClass: any, pCSSSnippet: any): void;
22
22
  getViewHash(pManifestSectionHash: any): string;
23
- getTabSelector(pTabView: any, pInput: any): string;
23
+ getTabSelector(pTabSectionHash: any, pInput: any): string;
24
24
  getSectionSelector(pTabViewSectionHash: any): string;
25
25
  selectTabByViewHash(pViewHash: any, pInputHash: any, pTabViewHash: any): boolean;
26
26
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-Input-TabSectionSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabSectionSelector.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAiBC;IAbA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAqB;IACrB,cADW,MAAM,CAC4B;IAC7C,4BAAyD;IACzD,mBAAoH;IAKrH,2DAKC;IAED,+CAGC;IAED,mDAGC;IAED,qDAGC;IAED,iFA+CC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;CAwCD"}
1
+ {"version":3,"file":"Pict-Provider-Input-TabSectionSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabSectionSelector.js"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH;IAEC,2DAiBC;IAbA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAER,qBAAqB;IACrB,cADW,MAAM,CAC4B;IAC7C,4BAAyD;IACzD,mBAAoH;IAKrH,2DAKC;IAED,+CAGC;IAED,0DAGC;IAED,qDAGC;IAED,iFA+CC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;CA0CD"}
@@ -0,0 +1,12 @@
1
+ export = RecordLayout;
2
+ declare class RecordLayout extends libPictSectionGroupLayout {
3
+ constructor(pFable: any, pOptions: any, pServiceHash: any);
4
+ /** @type {import('pict')} */
5
+ pict: import("pict");
6
+ /** @type {import('pict')} */
7
+ fable: import("pict");
8
+ /** @type {any} */
9
+ log: any;
10
+ }
11
+ import libPictSectionGroupLayout = require("../Pict-Provider-DynamicLayout.js");
12
+ //# sourceMappingURL=Pict-Layout-Custom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pict-Layout-Custom.d.ts","sourceRoot":"","sources":["../../../../source/providers/layouts/Pict-Layout-Custom.js"],"names":[],"mappings":";AAEA;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;CA2BT"}
@@ -0,0 +1,21 @@
1
+ export = TransactionTracking;
2
+ declare class TransactionTracking {
3
+ constructor(pFable: any, pOptions: any, pServiceHash: any);
4
+ /** @type {import('pict') & { addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any }} */
5
+ fable: import("pict") & {
6
+ addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any;
7
+ };
8
+ /** @type {any} */
9
+ log: any;
10
+ /** @type {string} */
11
+ UUID: string;
12
+ transactionMap: {};
13
+ get transactions(): {};
14
+ logToTransaction(pKey: any, pMessage: any, pCategory: any): boolean;
15
+ registerTransaction(pKey: any): any;
16
+ checkEvent(pKey: any, pEvent: any, pHash: any): boolean;
17
+ }
18
+ declare namespace TransactionTracking {
19
+ let default_configuration: {};
20
+ }
21
+ //# sourceMappingURL=Fable-Service-TransactionTracking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fable-Service-TransactionTracking.d.ts","sourceRoot":"","sources":["../../../source/services/Fable-Service-TransactionTracking.js"],"names":[],"mappings":";AAMA;IAEC,2DAaC;IARA,0HAA0H;IAC1H,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,iCAAiC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CAC5G;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IAET,mBAAwB;IAGzB,uBAGC;IAED,oEAgBC;IAED,oCAeC;IAED,wDA2BC;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ManifestFactory.d.ts","sourceRoot":"","sources":["../../../source/services/ManifestFactory.js"],"names":[],"mappings":";AAOA;IAEC,2DA4CC;IAtCA,sIAAsI;IACtI,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,6CAA6C,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,GAAG,CAAA;KAAE,CACxH;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IAET,cAAmC;IAcnC,+BAAoC;IAEpC,sBAA2B;IAC3B,oBAAyB;IASzB,2BAA2B;IAE3B,gCAAgD;IAChD,sCAAwC;IACxC,kCAA0C;IAG3C;;;;;OAKG;IACH,2BAHW,MAAM,GACL,MAAM,CASjB;IAED;;;;;;;;;OASG;IACH,uCAoJC;IAED;;;;OAIG;IACH,8CAOC;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,OAiBhB;IAED;;;;;;;OAOG;IACH,mCALW,MAAM,MAAO,cACb,MAAM,OAkBhB;IAED;;;;OAIG;IACH,8BAFa,OAAO,CAenB;IAED;;;;;;;OAOG;IACH,kEAoTC;IAED;;;;;;;;;OASG;IACH,2GAGC;IAED;;;;;;OAMG;IACH,0CAJW,GAAG,GAEF,GAAG,CAwDd;CACD"}
1
+ {"version":3,"file":"ManifestFactory.d.ts","sourceRoot":"","sources":["../../../source/services/ManifestFactory.js"],"names":[],"mappings":";AAOA;IAEC,2DA4CC;IAtCA,sIAAsI;IACtI,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,6CAA6C,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,GAAG,CAAA;KAAE,CACxH;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;IAET,cAAmC;IAcnC,+BAAoC;IAEpC,sBAA2B;IAC3B,oBAAyB;IASzB,2BAA2B;IAE3B,gCAAgD;IAChD,sCAAwC;IACxC,kCAA0C;IAG3C;;;;;OAKG;IACH,2BAHW,MAAM,GACL,MAAM,CASjB;IAED;;;;;;;;;OASG;IACH,uCAwJC;IAED;;;;OAIG;IACH,8CAOC;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,OAiBhB;IAED;;;;;;;OAOG;IACH,mCALW,MAAM,MAAO,cACb,MAAM,OAkBhB;IAED;;;;OAIG;IACH,8BAFa,OAAO,CAenB;IAED;;;;;;;OAOG;IACH,kEAqUC;IAED;;;;;;;;;OASG;IACH,2GAGC;IAED;;;;;;OAMG;IACH,0CAJW,GAAG,GAEF,GAAG,CAwDd;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Service-DynamicApplication.d.ts","sourceRoot":"","sources":["../../../source/services/Pict-Service-DynamicApplication.js"],"names":[],"mappings":";AAwBA;IAEC,2DAkCC;IA5BA,0HAA0H;IAC1H,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,iCAAiC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CAC5G;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;CAwBV"}
1
+ {"version":3,"file":"Pict-Service-DynamicApplication.d.ts","sourceRoot":"","sources":["../../../source/services/Pict-Service-DynamicApplication.js"],"names":[],"mappings":";AAyBA;IAEC,2DAmCC;IA7BA,0HAA0H;IAC1H,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,iCAAiC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CAC5G;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IACR,qBAAqB;IACrB,MADW,MAAM,CACR;CAyBV"}
@@ -0,0 +1,94 @@
1
+ export = PictTemplateControlFromDynamicManifest;
2
+ /**
3
+ * @typedef {{
4
+ reset: () => void,
5
+ clone: () => Manyfest,
6
+ deserialize: (pManifestString: string) => void,
7
+ loadManifest: (pManifest: any) => void,
8
+ serialize: () => string,
9
+ getManifest: () => { Scope: string, Descriptors: any, HashTranslations: any, },
10
+ addDescriptor: (pAddress: string, pDescriptor: any) => void,
11
+ getDescriptorByHash: (pHash: string) => any,
12
+ getDescriptor: (pAddress: string) => any,
13
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void,
14
+ checkAddressExistsByHash : (pObject: any, pHash: string) => boolean,
15
+ checkAddressExists : (pObject: any, pAddress: string) => boolean,
16
+ resolveHashAddress: (pHash: string) => any,
17
+ getValueByHash : (pObject: any, pHash: string) => any,
18
+ getValueAtAddress : (pObject: any, pAddress: string) => any,
19
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean,
20
+ setValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
21
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void,
22
+ deleteValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
23
+ validate: (pObject: any) => boolean,
24
+ getDefaultValue: (pDescriptor: any) => any,
25
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void,
26
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void,
27
+ serviceType: string,
28
+ options: any,
29
+ scope?: string,
30
+ elementAddresses: Array<string>,
31
+ elementHashes: Object,
32
+ elementDescriptors: Object,
33
+ * }} Manyfest
34
+ */
35
+ /**
36
+ * This is a template that will generate a Metatemplate input, for manual use of metatemplates.
37
+ */
38
+ declare class PictTemplateControlFromDynamicManifest extends libPictTemplate {
39
+ /**
40
+ * @param {Object} pFable - The Fable Framework instance
41
+ * @param {Object} pOptions - The options for the service
42
+ * @param {String} pServiceHash - The hash of the service
43
+ */
44
+ constructor(pFable: any, pOptions: any, pServiceHash: string);
45
+ /** @type {import('pict')} */
46
+ pict: import("pict");
47
+ /** @type {import('pict') & { ManifestFactory: import('../services/ManifestFactory.js') }} */
48
+ fable: import("pict") & {
49
+ ManifestFactory: import("../services/ManifestFactory.js");
50
+ };
51
+ /** @type {any} */
52
+ log: any;
53
+ renderAsync(pTemplateHash: any, pRecord: any, fCallback: any, pContextArray: any): string;
54
+ }
55
+ declare namespace PictTemplateControlFromDynamicManifest {
56
+ export { Manyfest };
57
+ }
58
+ import libPictTemplate = require("pict-template");
59
+ type Manyfest = {
60
+ reset: () => void;
61
+ clone: () => Manyfest;
62
+ deserialize: (pManifestString: string) => void;
63
+ loadManifest: (pManifest: any) => void;
64
+ serialize: () => string;
65
+ getManifest: () => {
66
+ Scope: string;
67
+ Descriptors: any;
68
+ HashTranslations: any;
69
+ };
70
+ addDescriptor: (pAddress: string, pDescriptor: any) => void;
71
+ getDescriptorByHash: (pHash: string) => any;
72
+ getDescriptor: (pAddress: string) => any;
73
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void;
74
+ checkAddressExistsByHash: (pObject: any, pHash: string) => boolean;
75
+ checkAddressExists: (pObject: any, pAddress: string) => boolean;
76
+ resolveHashAddress: (pHash: string) => any;
77
+ getValueByHash: (pObject: any, pHash: string) => any;
78
+ getValueAtAddress: (pObject: any, pAddress: string) => any;
79
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean;
80
+ setValueAtAddress: (pObject: any, pAddress: string, pValue: any) => void;
81
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void;
82
+ deleteValueAtAddress: (pObject: any, pAddress: string, pValue: any) => void;
83
+ validate: (pObject: any) => boolean;
84
+ getDefaultValue: (pDescriptor: any) => any;
85
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void;
86
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void;
87
+ serviceType: string;
88
+ options: any;
89
+ scope?: string;
90
+ elementAddresses: Array<string>;
91
+ elementHashes: any;
92
+ elementDescriptors: any;
93
+ };
94
+ //# sourceMappingURL=Pict-Template-ControlFromDynamicManifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pict-Template-ControlFromDynamicManifest.d.ts","sourceRoot":"","sources":["../../../source/templates/Pict-Template-ControlFromDynamicManifest.js"],"names":[],"mappings":"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"}
@@ -0,0 +1,94 @@
1
+ export = PictTemplateControlFromDynamicManifest;
2
+ /**
3
+ * @typedef {{
4
+ reset: () => void,
5
+ clone: () => Manyfest,
6
+ deserialize: (pManifestString: string) => void,
7
+ loadManifest: (pManifest: any) => void,
8
+ serialize: () => string,
9
+ getManifest: () => { Scope: string, Descriptors: any, HashTranslations: any, },
10
+ addDescriptor: (pAddress: string, pDescriptor: any) => void,
11
+ getDescriptorByHash: (pHash: string) => any,
12
+ getDescriptor: (pAddress: string) => any,
13
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void,
14
+ checkAddressExistsByHash : (pObject: any, pHash: string) => boolean,
15
+ checkAddressExists : (pObject: any, pAddress: string) => boolean,
16
+ resolveHashAddress: (pHash: string) => any,
17
+ getValueByHash : (pObject: any, pHash: string) => any,
18
+ getValueAtAddress : (pObject: any, pAddress: string) => any,
19
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean,
20
+ setValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
21
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void,
22
+ deleteValueAtAddress : (pObject: any, pAddress: string, pValue: any) => void,
23
+ validate: (pObject: any) => boolean,
24
+ getDefaultValue: (pDescriptor: any) => any,
25
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void,
26
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void,
27
+ serviceType: string,
28
+ options: any,
29
+ scope?: string,
30
+ elementAddresses: Array<string>,
31
+ elementHashes: Object,
32
+ elementDescriptors: Object,
33
+ * }} Manyfest
34
+ */
35
+ /**
36
+ * This is a template that will generate a Metatemplate input, for manual use of metatemplates.
37
+ */
38
+ declare class PictTemplateControlFromDynamicManifest extends libPictTemplate {
39
+ /**
40
+ * @param {Object} pFable - The Fable Framework instance
41
+ * @param {Object} pOptions - The options for the service
42
+ * @param {String} pServiceHash - The hash of the service
43
+ */
44
+ constructor(pFable: any, pOptions: any, pServiceHash: string);
45
+ /** @type {import('pict')} */
46
+ pict: import("pict");
47
+ /** @type {import('pict') & { ManifestFactory: import('../services/ManifestFactory.js') }} */
48
+ fable: import("pict") & {
49
+ ManifestFactory: import("../services/ManifestFactory.js");
50
+ };
51
+ /** @type {any} */
52
+ log: any;
53
+ renderAsync(pTemplateHash: any, pRecord: any, fCallback: any, pContextArray: any): string;
54
+ }
55
+ declare namespace PictTemplateControlFromDynamicManifest {
56
+ export { Manyfest };
57
+ }
58
+ import libPictTemplate = require("pict-template");
59
+ type Manyfest = {
60
+ reset: () => void;
61
+ clone: () => Manyfest;
62
+ deserialize: (pManifestString: string) => void;
63
+ loadManifest: (pManifest: any) => void;
64
+ serialize: () => string;
65
+ getManifest: () => {
66
+ Scope: string;
67
+ Descriptors: any;
68
+ HashTranslations: any;
69
+ };
70
+ addDescriptor: (pAddress: string, pDescriptor: any) => void;
71
+ getDescriptorByHash: (pHash: string) => any;
72
+ getDescriptor: (pAddress: string) => any;
73
+ eachDescriptor: (fAction: (pDescriptor: any) => void) => void;
74
+ checkAddressExistsByHash: (pObject: any, pHash: string) => boolean;
75
+ checkAddressExists: (pObject: any, pAddress: string) => boolean;
76
+ resolveHashAddress: (pHash: string) => any;
77
+ getValueByHash: (pObject: any, pHash: string) => any;
78
+ getValueAtAddress: (pObject: any, pAddress: string) => any;
79
+ setValueByHash: (pObject: any, pHash: string, pValue: any) => boolean;
80
+ setValueAtAddress: (pObject: any, pAddress: string, pValue: any) => void;
81
+ deleteValueByHash: (pObject: any, pHash: string, pValue: any) => void;
82
+ deleteValueAtAddress: (pObject: any, pAddress: string, pValue: any) => void;
83
+ validate: (pObject: any) => boolean;
84
+ getDefaultValue: (pDescriptor: any) => any;
85
+ populateDefaults: (pObject: any, pOverwriteProperties: boolean) => void;
86
+ populateObject: (pObject: any, pOverwriteProperties: boolean, fFilter: (pDescriptor: any) => boolean) => void;
87
+ serviceType: string;
88
+ options: any;
89
+ scope?: string;
90
+ elementAddresses: Array<string>;
91
+ elementHashes: any;
92
+ elementDescriptors: any;
93
+ };
94
+ //# sourceMappingURL=Pict-Template-ControlFromDynamicManifestForHash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pict-Template-ControlFromDynamicManifestForHash.d.ts","sourceRoot":"","sources":["../../../source/templates/Pict-Template-ControlFromDynamicManifestForHash.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAGH;;GAEG;AACH;IAEC;;;;OAIG;IACH,8DAaC;IATA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6FAA6F;IAC7F,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,eAAe,EAAE,OAAO,gCAAgC,CAAC,CAAA;KAAE,CAC/E;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAmBT,0FAkCC;CACD;;;;;gBA3GY;IACN,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,QAAQ,CAAC;IACtB,WAAW,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAE,CAAC,SAAS,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,GAAG,CAAC;QAAC,gBAAgB,EAAE,GAAG,CAAC;KAAE,CAAC;IAC/E,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,IAAI,CAAC;IAC5D,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;IAC5C,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;IACzC,cAAc,EAAE,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,IAAI,KAAK,IAAI,CAAC;IAC9D,wBAAwB,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACpE,kBAAkB,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACjE,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;IAC3C,cAAc,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;IACtD,iBAAiB,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,KAAK,GAAG,CAAC;IAC5D,cAAc,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;IACtE,iBAAiB,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1E,iBAAiB,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACtE,oBAAoB,EAAG,CAAC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7E,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;IACpC,eAAe,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,GAAG,CAAC;IAC3C,gBAAgB,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,KAAK,IAAI,CAAC;IACxE,cAAc,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,OAAO,KAAK,IAAI,CAAC;IAC9G,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,aAAa,MAAS;IACtB,kBAAkB,MAAS;CAC9B"}
@@ -15,6 +15,7 @@ declare class PictViewDynamicForm extends libPictViewClass {
15
15
  log: any;
16
16
  instantiateServiceProviderWithoutRegistration: (hash: string) => any;
17
17
  };
18
+ transactionTracking: any;
18
19
  /** @type {Object} */
19
20
  _PackagePictView: any;
20
21
  _Package: {
@@ -108,6 +109,14 @@ declare class PictViewDynamicForm extends libPictViewClass {
108
109
  * @param {number} pRowIndex - the index of the row where the data was changed
109
110
  */
110
111
  dataChangedTabular(pGroupIndex: number, pInputIndex: number, pRowIndex: number): void;
112
+ /**
113
+ * Sets the data in a specific form input based on the provided input object
114
+ *
115
+ * @param {object} pInput - The input object.
116
+ * @param {any} pValue - The value to set.
117
+ * @returns {boolean} Returns true if the data was set successfully, false otherwise.
118
+ */
119
+ setDataByInput(pInput: object, pValue: any): boolean;
111
120
  /**
112
121
  * Sets the data in a specific tabular form input based on the provided hash, group and row.
113
122
  *
@@ -130,12 +139,19 @@ declare class PictViewDynamicForm extends libPictViewClass {
130
139
  * @returns {Object} The marshal destination object.
131
140
  */
132
141
  getMarshalDestinationObject(): any;
142
+ /**
143
+ * Gets a value by hash address.
144
+ * @param {string} pHashAddress
145
+ */
146
+ getValueByHash(pHashAddress: string): any;
133
147
  /**
134
148
  * Marshals data to the view.
135
149
  *
136
150
  * @returns {any} The result of calling the superclass's onMarshalToView method.
137
151
  */
138
152
  onMarshalToView(): any;
153
+ manualMarshalDataToViewByInput(pInput: any, pTransactionGUID: any): void;
154
+ manualMarshalTabularDataToViewByInput(pInput: any, pRowIndex: any, pTransactionGUID: any): void;
139
155
  /**
140
156
  * Marshals data from the view to the destination object.
141
157
  * @returns {any} The result of calling the superclass's onMarshalFromView method.
@@ -175,14 +191,18 @@ declare class PictViewDynamicForm extends libPictViewClass {
175
191
  * The easiest way (and a speed up for other queries as such) is to scope it within the view container element
176
192
  *
177
193
  * @param {string} pFunctionName - The name of the function to execute.
194
+ * @param {string} [pTransactionGUID] - The transaction GUID to use for logging.
178
195
  */
179
- runLayoutProviderFunctions(pFunctionName: string): void;
196
+ runLayoutProviderFunctions(pFunctionName: string, pTransactionGUID?: string): void;
180
197
  /**
181
198
  * Runs the input provider functions.
182
199
  *
183
200
  * @param {string} pFunctionName - The name of the function to run for each input provider.
201
+ * @param {string} [pInputHash] - The hash of the input to run the function for.
202
+ * @param {number} [pRowIndex] - The index of the row to run the
203
+ * @param {string} [pTransactionGUID] - The transaction GUID to use for logging.
184
204
  */
185
- runInputProviderFunctions(pFunctionName: string): void;
205
+ runInputProviderFunctions(pFunctionName: string, pInputHash?: string, pRowIndex?: number, pTransactionGUID?: string): void;
186
206
  /**
187
207
  * Checks if a view-specific template exists based on the given template postfix.
188
208
  * @param {string} pTemplatePostfix - The postfix of the template to check.
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":"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"}
@@ -14,6 +14,7 @@ declare class PictFormMetacontroller extends libPictViewClass {
14
14
  viewMarshalDestination: string;
15
15
  lastRenderedViews: any[];
16
16
  formTemplatePrefix: any;
17
+ manifest: any;
17
18
  /**
18
19
  * Marshals data from the view to the model, usually AppData (or configured data store).
19
20
  *
@@ -26,6 +27,17 @@ declare class PictFormMetacontroller extends libPictViewClass {
26
27
  * @returns {any} The result of the super.onMarshalToView() method.
27
28
  */
28
29
  onMarshalToView(): any;
30
+ /**
31
+ * Retrieves the marshal destination object. This is where the model data is stored.
32
+ *
33
+ * @returns {Object} The marshal destination object.
34
+ */
35
+ getMarshalDestinationObject(): any;
36
+ /**
37
+ * Gets a value by hash address.
38
+ * @param {string} pHashAddress
39
+ */
40
+ getValueByHash(pHashAddress: string): any;
29
41
  /**
30
42
  * Executes after the initialization of the object.
31
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-View-Form-Metacontroller.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-Form-Metacontroller.js"],"names":[],"mappings":";AASA;;GAEG;AAEH;;;;;;GAMG;AACH;IAEC,2DAaC;IALA,+BAAuC;IAEvC,yBAA2B;IAE3B,wBAAsF;IAGvF;;;;OAIG;IACH,qBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAaf;IAED;;;;;OAKG;IACH,kCAHW,aAAa,GACX,IAAI,CAShB;IA2BD;;;;OAIG;IACH,WAFa,GAAG,CAMf;IAED,gDAGC;IAED,+CAGC;IAED;;;;;;;;OAQG;IACH,wDAHW,YAAY,SAmHtB;IAED;;;;;;;OAOG;IACH,4CAHW,MAAM,GACJ,IAAI,CAShB;IAED;;;;OAIG;IACH,6BAFa,IAAI,CAQhB;IAED;;;;;;;OAOG;IACH,+DAFW,YAAY,QAatB;IAED;;;;;OAKG;IACH,8EAFW,YAAY,QAmBtB;IAED;;;;;;OAMG;IACH,oEAHW,YAAY,GACV,IAAI,CAkDhB;IAED;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,GAAC,OAAO,CA2C1B;IAED;;;;;OAKG;IACH,qEAyGC;IAED;;;OAGG;IACH,gCAFW,MAAM,QAehB;IAED;;;;;OAKG;IACH,0BAJW,MAAM,4BAEL,sBAAsB,CAWjC;IAED;;;;OAIG;IACH,4BAFa,OAAO,CAKnB;CACD;;;;;;;;;;;;;;;;;;;;;;;;;;oBA3kBY,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,MAAM"}
1
+ {"version":3,"file":"Pict-View-Form-Metacontroller.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-Form-Metacontroller.js"],"names":[],"mappings":";AASA;;GAEG;AAEH;;;;;;GAMG;AACH;IAEC,2DAeC;IAPA,+BAAuC;IAEvC,yBAA2B;IAE3B,wBAAsF;IAEtF,cAAkC;IAGnC;;;;OAIG;IACH,qBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mCAGC;IAED;;;OAGG;IACH,6BAFW,MAAM,OAKhB;IAED;;;;;OAKG;IACH,kCAHW,aAAa,GACX,IAAI,CAShB;IA2BD;;;;OAIG;IACH,WAFa,GAAG,CAMf;IAED,gDAGC;IAED,+CAGC;IAED;;;;;;;;OAQG;IACH,wDAHW,YAAY,SAmHtB;IAED;;;;;;;OAOG;IACH,4CAHW,MAAM,GACJ,IAAI,CAShB;IAED;;;;OAIG;IACH,6BAFa,IAAI,CAQhB;IAED;;;;;;;OAOG;IACH,+DAFW,YAAY,QAatB;IAED;;;;;OAKG;IACH,8EAFW,YAAY,QAmBtB;IAED;;;;;;OAMG;IACH,oEAHW,YAAY,GACV,IAAI,CAkDhB;IAED;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,GAAC,OAAO,CA2C1B;IAED;;;;;OAKG;IACH,qEAqHC;IAED;;;OAGG;IACH,gCAFW,MAAM,QAgBhB;IAED;;;;;OAKG;IACH,0BAJW,MAAM,4BAEL,sBAAsB,CAWjC;IAED;;;;OAIG;IACH,4BAFa,OAAO,CAKnB;CACD;;;;;;;;;;;;;;;;;;;;;;;;;;oBA7mBY,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,MAAM"}