pict-section-form 1.0.159 → 1.0.161

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 (29) hide show
  1. package/package.json +3 -3
  2. package/source/application/Pict-Application-Form.js +1 -0
  3. package/source/providers/Pict-Provider-DynamicFormSolverBehaviors.js +50 -8
  4. package/source/providers/Pict-Provider-DynamicInput.js +10 -0
  5. package/source/providers/Pict-Provider-DynamicInputEvents.js +9 -3
  6. package/source/providers/Pict-Provider-DynamicSolver.js +136 -9
  7. package/source/providers/inputs/Pict-Provider-Input-Chart.js +2 -2
  8. package/source/views/Pict-View-DynamicForm.js +6 -4
  9. package/source/views/Pict-View-Form-Metacontroller.js +2 -2
  10. package/source/views/support/Pict-View-PSF-AppData-Visualization.js +1 -1
  11. package/source/views/support/Pict-View-PSF-DebugViewer.js +1 -1
  12. package/source/views/support/Pict-View-PSF-LifeCycle-Visualization.js +1 -1
  13. package/source/views/support/Pict-View-PSF-Solver-Visualization.js +1 -1
  14. package/source/views/support/Pict-View-PSF-SpecificSolve-Visualization.js +3 -3
  15. package/test/PictSectionForm-Basic_tests.js +68 -1
  16. package/types/source/providers/Pict-Provider-DynamicFormSolverBehaviors.d.ts +41 -0
  17. package/types/source/providers/Pict-Provider-DynamicFormSolverBehaviors.d.ts.map +1 -1
  18. package/types/source/providers/Pict-Provider-DynamicInput.d.ts +6 -0
  19. package/types/source/providers/Pict-Provider-DynamicInput.d.ts.map +1 -1
  20. package/types/source/providers/Pict-Provider-DynamicInputEvents.d.ts +4 -2
  21. package/types/source/providers/Pict-Provider-DynamicInputEvents.d.ts.map +1 -1
  22. package/types/source/providers/Pict-Provider-DynamicSolver.d.ts +30 -4
  23. package/types/source/providers/Pict-Provider-DynamicSolver.d.ts.map +1 -1
  24. package/types/source/providers/Pict-Provider-DynamicTabularData.d.ts +9 -0
  25. package/types/source/providers/Pict-Provider-DynamicTabularData.d.ts.map +1 -1
  26. package/types/source/views/Pict-View-DynamicForm.d.ts +15 -2
  27. package/types/source/views/Pict-View-DynamicForm.d.ts.map +1 -1
  28. package/types/source/views/Pict-View-Form-Metacontroller.d.ts +1 -1
  29. package/types/source/views/Pict-View-Form-Metacontroller.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.159",
3
+ "version": "1.0.161",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -34,7 +34,7 @@
34
34
  "browser-env": "^3.3.0",
35
35
  "eslint": "^9.39.1",
36
36
  "jquery": "^3.7.1",
37
- "pict": "^1.0.337",
37
+ "pict": "^1.0.341",
38
38
  "pict-application": "^1.0.29",
39
39
  "pict-service-commandlineutility": "^1.0.16",
40
40
  "quackage": "^1.0.45",
@@ -48,7 +48,7 @@
48
48
  "pict-provider": "^1.0.6",
49
49
  "pict-section-tuigrid": "^1.0.27",
50
50
  "pict-template": "^1.0.13",
51
- "pict-view": "^1.0.63"
51
+ "pict-view": "^1.0.64"
52
52
  },
53
53
  "mocha": {
54
54
  "diff": true,
@@ -51,6 +51,7 @@ module.exports.default_configuration = (
51
51
  "Hash": "PictFormsApp",
52
52
 
53
53
  "MainViewportViewIdentifier": "PictFormMetacontroller",
54
+ "AutoSolveAfterInitialize": false,
54
55
 
55
56
  "pict_configuration":
56
57
  {
@@ -43,6 +43,8 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
43
43
  this.cssHideGroupClass = 'pict-section-form-hidden-group';
44
44
  this.cssSnippet = '.pict-section-form-hidden-section { display: none; } .pict-section-form-hidden-group { display: none; }';
45
45
 
46
+ this.solverOrdinalMap = {};
47
+
46
48
  this.setCSSSnippets();
47
49
  }
48
50
 
@@ -72,21 +74,61 @@ class PictDynamicFormsSolverBehaviors extends libPictProvider
72
74
  injectBehaviors(pExpressionParser)
73
75
  {
74
76
  // Wire up the solver functions.
75
- this.addSolverFunction(pExpressionParser, 'logValues', 'fable.providers.DynamicFormSolverBehaviors.logValues', 'Logs a set of values to the console and returns the last one.');
77
+ this.addSolverFunction(pExpressionParser, 'logvalues', 'fable.providers.DynamicFormSolverBehaviors.logValues', 'Logs a set of values to the console and returns the last one.');
78
+
79
+ this.addSolverFunction(pExpressionParser, 'setsectionvisibility', 'fable.providers.DynamicFormSolverBehaviors.setSectionVisibility', 'Sets a sections visiblity to true or fales based on the second parameter.');
80
+ this.addSolverFunction(pExpressionParser, 'setgroupvisibility', 'fable.providers.DynamicFormSolverBehaviors.setGroupVisibility', 'Sets a group visiblity to true or fales based on the third parameter.');
76
81
 
77
- this.addSolverFunction(pExpressionParser, 'setSectionVisibility', 'fable.providers.DynamicFormSolverBehaviors.setSectionVisibility', 'Sets a sections visiblity to true or fales based on the second parameter.');
78
- this.addSolverFunction(pExpressionParser, 'setGroupVisibility', 'fable.providers.DynamicFormSolverBehaviors.setGroupVisibility', 'Sets a group visiblity to true or fales based on the third parameter.');
82
+ this.addSolverFunction(pExpressionParser, 'generatehtmlhexcolor', 'fable.providers.DynamicFormSolverBehaviors.generateHTMLHexColor', 'Generates a HTML hex color from three integer parameters (red, green, blue).');
79
83
 
80
- this.addSolverFunction(pExpressionParser, 'generateHTMLHexColor', 'fable.providers.DynamicFormSolverBehaviors.generateHTMLHexColor', 'Generates a HTML hex color from three integer parameters (red, green, blue).');
84
+ this.addSolverFunction(pExpressionParser, 'colorsectionbackground', 'fable.providers.DynamicFormSolverBehaviors.colorSectionBackground', 'Colors a section background with a HTML hex color (e.g. #FF0000 for red).');
85
+ this.addSolverFunction(pExpressionParser, 'colorgroupbackground', 'fable.providers.DynamicFormSolverBehaviors.colorGroupBackground', 'Colors a group background with a HTML hex color (e.g. #FF0000 for red).');
86
+ this.addSolverFunction(pExpressionParser, 'colorinputbackground', 'fable.providers.DynamicFormSolverBehaviors.colorInputBackground', 'Colors an input background with a HTML hex color (e.g. #FF0000 for red).');
87
+ this.addSolverFunction(pExpressionParser, 'colorinputbackgroundtabular', 'fable.providers.DynamicFormSolverBehaviors.colorInputBackgroundTabular', 'Colors a tabular input background with a HTML hex color (e.g. #FF0000 for red).');
81
88
 
82
- this.addSolverFunction(pExpressionParser, 'colorSectionBackground', 'fable.providers.DynamicFormSolverBehaviors.colorSectionBackground', 'Colors a section background with a HTML hex color (e.g. #FF0000 for red).');
83
- this.addSolverFunction(pExpressionParser, 'colorGroupBackground', 'fable.providers.DynamicFormSolverBehaviors.colorGroupBackground', 'Colors a group background with a HTML hex color (e.g. #FF0000 for red).');
84
- this.addSolverFunction(pExpressionParser, 'colorInputBackground', 'fable.providers.DynamicFormSolverBehaviors.colorInputBackground', 'Colors an input background with a HTML hex color (e.g. #FF0000 for red).');
85
- this.addSolverFunction(pExpressionParser, 'colorInputBackgroundTabular', 'fable.providers.DynamicFormSolverBehaviors.colorInputBackgroundTabular', 'Colors a tabular input background with a HTML hex color (e.g. #FF0000 for red).');
89
+ this.addSolverFunction(pExpressionParser, 'setsolverordinalenabled', 'fable.providers.DynamicFormSolverBehaviors.setSolverOrdinalEnabled', 'Enables or disabled a solver ordinal to determine if it should run.');
90
+ this.addSolverFunction(pExpressionParser, 'enablesolverordinal', 'fable.providers.DynamicFormSolverBehaviors.enableSolverOrdinal', 'Enables a solver ordinal so that it can run.');
91
+ this.addSolverFunction(pExpressionParser, 'disablesolverordinall', 'fable.providers.DynamicFormSolverBehaviors.disableSolverOrdinal', 'Disables a solver ordinal so that it will not run.');
86
92
 
87
93
  return false;
88
94
  }
89
95
 
96
+ /**
97
+ * @param {number|string} pSolverOrdinal
98
+ * @param {boolean|string|number} pEnabled
99
+ */
100
+ setSolverOrdinalEnabled(pSolverOrdinal, pEnabled)
101
+ {
102
+ this.solverOrdinalMap[`ORD-${pSolverOrdinal}`] = pEnabled == true || pEnabled == '1';
103
+ }
104
+
105
+ /**
106
+ * @param {number|string} pSolverOrdinal
107
+ */
108
+ enableSolverOrdinal(pSolverOrdinal)
109
+ {
110
+ this.solverOrdinalMap[`ORD-${pSolverOrdinal}`] = true;
111
+ }
112
+
113
+ /**
114
+ * @param {number|string} pSolverOrdinal
115
+ */
116
+ disableSolverOrdinal(pSolverOrdinal)
117
+ {
118
+ this.solverOrdinalMap[`ORD-${pSolverOrdinal}`] = false;
119
+ }
120
+
121
+ /**
122
+ * @param {number|string} pSolveOrdinal
123
+ *
124
+ * @return {boolean}
125
+ */
126
+ checkSolverOrdinalEnabled(pSolveOrdinal)
127
+ {
128
+ let tmpOrdinalKey = `ORD-${pSolveOrdinal}`;
129
+ return (!(tmpOrdinalKey in this.solverOrdinalMap)) || (this.solverOrdinalMap[tmpOrdinalKey] === true);
130
+ }
131
+
90
132
  getSectionSelector(pSectionFormID)
91
133
  {
92
134
  return `#SECTION-${pSectionFormID}`;
@@ -29,6 +29,16 @@ class PictDynamicInput extends libPictProvider
29
29
  super(pFable, tmpOptions, pServiceHash);
30
30
  // A map of strings for each input template, mapping it to arrays of default providers.
31
31
  this.templateProviderMap = {};
32
+ /** @type {Record<string, boolean>} */
33
+ this.ignoredEventHashes = {};
34
+ }
35
+
36
+ /**
37
+ * @param {string} pEventHash
38
+ */
39
+ registerIgnoredEventHash(pEventHash)
40
+ {
41
+ this.ignoredEventHashes[pEventHash] = true;
32
42
  }
33
43
 
34
44
  /**
@@ -34,12 +34,17 @@ class PictDynamicInputEvents extends libPictProvider
34
34
  *
35
35
  * @param {Object} pView - The view object.
36
36
  * @param {string} pInputHash - The input hash.
37
+ * @param {any} [pEvent] - The input event.
37
38
  */
38
- inputDataRequest(pView, pInputHash)
39
+ inputDataRequest(pView, pInputHash, pEvent)
39
40
  {
40
- let tmpInput = pView.getInputFromHash(pInputHash);
41
41
  if (pInputHash)
42
42
  {
43
+ let tmpInput = pView.getInputFromHash(pInputHash);
44
+ if (pEvent && this.pict.providers.DynamicInput.ignoredEventHashes[pEvent])
45
+ {
46
+ return;
47
+ }
43
48
  let tmpHashAddress = pView.sectionManifest.resolveHashAddress(pInputHash);
44
49
  try
45
50
  {
@@ -132,8 +137,9 @@ class PictDynamicInputEvents extends libPictProvider
132
137
  * @param {number} pGroupIndex - The index of the group.
133
138
  * @param {number} pInputIndex - The index of the input.
134
139
  * @param {number} pRowIndex - The index of the row.
140
+ * @param {any} [pEvent] - The input event.
135
141
  */
136
- inputDataRequestTabular(pView, pGroupIndex, pInputIndex, pRowIndex)
142
+ inputDataRequestTabular(pView, pGroupIndex, pInputIndex, pRowIndex, pEvent)
137
143
  {
138
144
  let tmpInput = pView.getTabularRecordInput(pGroupIndex, pInputIndex);
139
145
  if (pGroupIndex && pInputIndex && pRowIndex && tmpInput)
@@ -60,6 +60,7 @@ class PictDynamicSolver extends libPictProvider
60
60
  // Initialize the solver service if it isn't up
61
61
  this.fable.instantiateServiceProviderIfNotExists('ExpressionParser');
62
62
 
63
+
63
64
  this.pict.addProviderSingleton('DynamicFormSolverBehaviors', libDynamicFormSolverBehaviors.default_configuration, libDynamicFormSolverBehaviors);
64
65
  this.pict.providers.DynamicFormSolverBehaviors.injectBehaviors(this.fable.ExpressionParser);
65
66
  this.pict.addProviderSingleton('DynamicMetaLists', libDynamicMetaLists.default_configuration, libDynamicMetaLists);
@@ -78,7 +79,117 @@ class PictDynamicSolver extends libPictProvider
78
79
  this.pict.addProviderSingleton('Pict-Input-Chart', libInputChart.default_configuration, libInputChart);
79
80
  }
80
81
 
81
- runSolver(pSolverExpression)
82
+ logSolveOutcome(pSolveOutcome)
83
+ {
84
+ let tmpSolveOutcome = pSolveOutcome;
85
+ if (typeof(tmpSolveOutcome) !== 'object' || tmpSolveOutcome === null)
86
+ {
87
+ tmpSolveOutcome = this.lastSolveOutcome;
88
+ }
89
+ if (typeof(tmpSolveOutcome) !== 'object' || tmpSolveOutcome === null)
90
+ {
91
+ this.log.error(`DynamicSolver [${this.UUID}]::[${this.Hash}] No solve outcome available to log.`);
92
+ return;
93
+ }
94
+
95
+ let tmpSolversRun = tmpSolveOutcome.SolverResultsMap.ExecutedSolvers.length;
96
+
97
+ this.log.info(`DynamicSolver completed solving ${tmpSolversRun} solvers in ${tmpSolveOutcome.EndTimeStamp - tmpSolveOutcome.StartTimeStamp} ms.`);
98
+
99
+ for (let i = 0; i < tmpSolveOutcome.SolverResultsMap.ExecutedSolvers.length; i++)
100
+ {
101
+ let tmpSolver = tmpSolveOutcome.SolverResultsMap.ExecutedSolvers[i];
102
+ this.log.info(` Solver [${tmpSolver.Hash}] Ordinal ${tmpSolver.Ordinal} executed in ${tmpSolver.EndTimeStamp - tmpSolver.StartTimeStamp}ms solving for [${tmpSolver?.ResultsObject?.PostfixedAssignmentAddress}] expression [${tmpSolver.Expression}]`);
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Prepares the solver results map by ensuring it has the necessary structure.
108
+ *
109
+ * @param {Object} pSolverResultsMap - The solver results map to prepare.
110
+ * @returns {Object} - The prepared solver results map.
111
+ */
112
+ prepareSolverResultsMap(pSolverResultsMap)
113
+ {
114
+ let tmpSolverResultsMap = pSolverResultsMap;
115
+ if (typeof(tmpSolverResultsMap) !== 'object' || tmpSolverResultsMap === null)
116
+ {
117
+ tmpSolverResultsMap = {};
118
+ }
119
+ if (!('ExecutedSolvers' in tmpSolverResultsMap))
120
+ {
121
+ tmpSolverResultsMap.ExecutedSolvers = [];
122
+ }
123
+ if (!('SolverResolutionMap' in tmpSolverResultsMap))
124
+ {
125
+ tmpSolverResultsMap.SolverResolutionMap = {};
126
+ }
127
+ return tmpSolverResultsMap;
128
+ }
129
+
130
+ /**
131
+ * Backfills solver dependencies into the solve outcome.
132
+ *
133
+ * @param {Object} pSolveOutcome - The solve outcome object.
134
+ * @returns {Object} - The updated solve outcome with backfilled dependencies.
135
+ */
136
+ backfillSolverDependencies(pSolveOutcome)
137
+ {
138
+ let tmpSolveOutcome = pSolveOutcome;
139
+
140
+ if (typeof(tmpSolveOutcome) !== 'object' || tmpSolveOutcome === null)
141
+ {
142
+ tmpSolveOutcome = this.lastSolveOutcome;
143
+ }
144
+
145
+ if (typeof(tmpSolveOutcome) !== 'object' || tmpSolveOutcome === null)
146
+ {
147
+ this.log.error(`DynamicSolver [${this.UUID}]::[${this.Hash}] No solve outcome available to backfill solver dependencies.`);
148
+ return;
149
+ }
150
+
151
+ for (let i = 0; i < tmpSolveOutcome.SolverResultsMap.ExecutedSolvers.length; i++)
152
+ {
153
+ let tmpSolver = tmpSolveOutcome.SolverResultsMap.ExecutedSolvers[i];
154
+ if (('ResultsObject' in tmpSolver) && (typeof(tmpSolver.ResultsObject) === 'object') && (tmpSolver.ResultsObject !== null))
155
+ {
156
+ // Now fill any dependencies from the results object
157
+ // If the Postfixed Assignment Address is "Result" it hasn't been set and we will ignore it.
158
+ if (tmpSolver.ResultsObject.PostfixedAssignmentAddress && (tmpSolver.ResultsObject.PostfixedAssignmentAddress != 'Result'))
159
+ {
160
+ if (typeof(tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress]) !== 'object')
161
+ {
162
+ tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress] = {};
163
+ }
164
+ // Go through the postfixed list and pull out any symbols being assigned
165
+ for (let j = 0; j < tmpSolver.ResultsObject.PostfixTokenObjects.length; j++)
166
+ {
167
+ let tmpTokenObject = tmpSolver.ResultsObject.PostfixTokenObjects[j];
168
+ if (tmpTokenObject.Type == 'Token.Symbol')
169
+ {
170
+ if (!(tmpTokenObject.Token in tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress]))
171
+ {
172
+ tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress][tmpTokenObject.Token] = 0;
173
+ }
174
+ tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress][tmpTokenObject.Token] = tmpSolveOutcome.SolverResultsMap.SolverResolutionMap[tmpSolver.ResultsObject.PostfixedAssignmentAddress][tmpTokenObject.Token] + 1;
175
+ }
176
+ }
177
+ }
178
+
179
+ }
180
+ }
181
+
182
+ return tmpSolveOutcome;
183
+ }
184
+
185
+ /**
186
+ * Runs a manual solver expression against the dynamic view marshal destination or the application data.
187
+ *
188
+ * @param {string} pSolverExpression - The solver expression to run.
189
+ * @param {boolean} [pSilent=false] - Whether to suppress debug logging output.
190
+ * @returns {any} - The result of the solver expression.
191
+ */
192
+ runSolver(pSolverExpression, pSilent = false)
82
193
  {
83
194
  let tmpViewMarshalDestinationObject = this.pict.resolveStateFromAddress(this.pict.views.PictFormMetacontroller.viewMarshalDestination);
84
195
 
@@ -95,7 +206,10 @@ class PictDynamicSolver extends libPictProvider
95
206
  delete tmpResultsObject.fable;
96
207
  }
97
208
 
98
- this.pict.log.trace(`Manual solve executed for expression: ${pSolverExpression}`, tmpResultsObject);
209
+ if (!pSilent)
210
+ {
211
+ this.pict.log.trace(`Manual solve executed for expression: ${pSolverExpression}`, tmpResultsObject);
212
+ }
99
213
 
100
214
  return tmpSolutionValue;
101
215
  }
@@ -147,11 +261,13 @@ class PictDynamicSolver extends libPictProvider
147
261
  *
148
262
  * @param {array} pGroupSolverArray - An array of Solvers from the groups to solve.
149
263
  * @param {number} pOrdinal - The ordinal value to filter to. Optional.
264
+ * @param {Object} pSolverResultsMap - The solver results map.
150
265
  */
151
- executeGroupSolvers(pGroupSolverArray, pOrdinal)
266
+ executeGroupSolvers(pGroupSolverArray, pOrdinal, pSolverResultsMap)
152
267
  {
153
268
  // This is purely for readability of the code below ... uglify optimizes it out.
154
269
  let tmpFiltered = (typeof(pOrdinal) === 'undefined') ? false : true;
270
+ let tmpSolverReultsMap = this.prepareSolverResultsMap(pSolverResultsMap);
155
271
 
156
272
  // Solve the group RecordSet solvers first
157
273
  for (let j = 0; j < pGroupSolverArray.length; j++)
@@ -201,6 +317,7 @@ class PictDynamicSolver extends libPictProvider
201
317
  }
202
318
  }
203
319
  }
320
+ tmpSolverReultsMap.ExecutedSolvers.push(tmpSolver);
204
321
  tmpSolver.EndTimeStamp = Date.now();
205
322
  }
206
323
  }
@@ -210,10 +327,12 @@ class PictDynamicSolver extends libPictProvider
210
327
  *
211
328
  * @param {Array} pViewSectionSolverArray - The array of view section solvers.
212
329
  * @param {number} pOrdinal - The ordinal value.
330
+ * @param {Object} pSolverResultsMap - The solver results map.
213
331
  */
214
- executeSectionSolvers(pViewSectionSolverArray, pOrdinal)
332
+ executeSectionSolvers(pViewSectionSolverArray, pOrdinal, pSolverResultsMap)
215
333
  {
216
334
  let tmpFiltered = (typeof(pOrdinal) === 'undefined') ? false : true;
335
+ let tmpSolverReultsMap = this.prepareSolverResultsMap(pSolverResultsMap);
217
336
 
218
337
  for (let i = 0; i < pViewSectionSolverArray.length; i++)
219
338
  {
@@ -234,11 +353,11 @@ class PictDynamicSolver extends libPictProvider
234
353
  }
235
354
  tmpSolver.ResultsObject = {};
236
355
  let tmpSolutionValue = tmpView.fable.ExpressionParser.solve(tmpSolver.Expression, tmpView.getMarshalDestinationObject(), tmpSolver.ResultsObject, this.pict.manifest, tmpView.getMarshalDestinationObject());
237
- //let tmpSolutionValue = tmpView.fable.ExpressionParser.solve(tmpSolver.Expression, tmpView.getMarshalDestinationObject(), tmpSolver.ResultsObject, tmpView.sectionManifest, tmpView.getMarshalDestinationObject());
238
356
  if (this.pict.LogNoisiness > 1)
239
357
  {
240
358
  tmpView.log.trace(`[${tmpSolver.Expression}] result was ${tmpSolutionValue}`);
241
359
  }
360
+ tmpSolverReultsMap.ExecutedSolvers.push(tmpSolver);
242
361
  tmpSolver.EndTimeStamp = +new Date();
243
362
  }
244
363
  }
@@ -248,10 +367,12 @@ class PictDynamicSolver extends libPictProvider
248
367
  *
249
368
  * @param {Array} pViewSolverArray - The array of view solvers to execute.
250
369
  * @param {number} pOrdinal - The ordinal value.
370
+ * @param {Object} pSolverResultsMap - The solver results map.
251
371
  */
252
- executeViewSolvers(pViewSolverArray, pOrdinal)
372
+ executeViewSolvers(pViewSolverArray, pOrdinal, pSolverResultsMap)
253
373
  {
254
374
  let tmpFiltered = (typeof(pOrdinal) === 'undefined') ? false : true;
375
+ let tmpSolverReultsMap = this.prepareSolverResultsMap(pSolverResultsMap);
255
376
 
256
377
  for (let i = 0; i < pViewSolverArray.length; i++)
257
378
  {
@@ -269,6 +390,7 @@ class PictDynamicSolver extends libPictProvider
269
390
  }
270
391
  // Solve with the normal view solve() pipeline
271
392
  tmpView.solve();
393
+ tmpSolverReultsMap.ExecutedSolvers.push(tmpSolver);
272
394
  tmpSolver.EndTimeStamp = +new Date();
273
395
  }
274
396
  }
@@ -319,6 +441,7 @@ class PictDynamicSolver extends libPictProvider
319
441
  let tmpViewHashes = Array.isArray(pViewHashes) ? pViewHashes : Object.keys(this.fable.views);
320
442
 
321
443
  let tmpSolveOutcome = {};
444
+ tmpSolveOutcome.SolverResultsMap = {};
322
445
  tmpSolveOutcome.StartTimeStamp = +new Date();
323
446
  tmpSolveOutcome.ViewHashes = tmpViewHashes;
324
447
 
@@ -387,9 +510,13 @@ class PictDynamicSolver extends libPictProvider
387
510
  this.log.trace(`DynamicSolver [${this.UUID}]::[${this.Hash}] Solving ordinal ${tmpOrdinalKeys[i]}`);
388
511
  }
389
512
  let tmpOrdinalContainer = tmpOrdinalsToSolve[tmpOrdinalKeys[i]];
390
- this.executeGroupSolvers(tmpOrdinalContainer.GroupSolvers, Number(tmpOrdinalKeys[i]));
391
- this.executeSectionSolvers(tmpOrdinalContainer.SectionSolvers, Number(tmpOrdinalKeys[i]));
392
- this.executeViewSolvers(tmpOrdinalContainer.ViewSolvers, Number(tmpOrdinalKeys[i]));
513
+ let tmpExecuteOrdinal = this.pict.providers.DynamicFormSolverBehaviors.checkSolverOrdinalEnabled(tmpOrdinalKeys[i]);
514
+ if (tmpExecuteOrdinal)
515
+ {
516
+ this.executeGroupSolvers(tmpOrdinalContainer.GroupSolvers, Number(tmpOrdinalKeys[i]), tmpSolveOutcome.SolverResultsMap);
517
+ this.executeSectionSolvers(tmpOrdinalContainer.SectionSolvers, Number(tmpOrdinalKeys[i]), tmpSolveOutcome.SolverResultsMap);
518
+ this.executeViewSolvers(tmpOrdinalContainer.ViewSolvers, Number(tmpOrdinalKeys[i]), tmpSolveOutcome.SolverResultsMap);
519
+ }
393
520
  }
394
521
 
395
522
  // Now regenerate the metalists .. after the solve has happened.
@@ -380,7 +380,7 @@ class CustomInputHandler extends libPictSectionInputExtension
380
380
  break;
381
381
  }
382
382
 
383
- let tmpSolvedConfiguration = this.pict.providers.DynamicSolver.runSolver(tmpSolverExpression);
383
+ let tmpSolvedConfiguration = this.pict.providers.DynamicSolver.runSolver(tmpSolverExpression, true);
384
384
 
385
385
  if (tmpParsingConfiguration.ObjectType === 'array')
386
386
  {
@@ -466,7 +466,7 @@ class CustomInputHandler extends libPictSectionInputExtension
466
466
 
467
467
  let tmpSolverLabel = tmpCurrentSolverExpression.Label;
468
468
  let tmpSolverExpression = tmpCurrentSolverExpression.DataSolver;
469
- let tmpSolvedDataSet = this.pict.providers.DynamicSolver.runSolver(tmpSolverExpression);
469
+ let tmpSolvedDataSet = this.pict.providers.DynamicSolver.runSolver(tmpSolverExpression, true);
470
470
 
471
471
  let tmpDataObject = (
472
472
  {
@@ -1056,11 +1056,12 @@ class PictViewDynamicForm extends libPictViewClass
1056
1056
  * Triggers a DataRequest event for an Input Provider
1057
1057
  *
1058
1058
  * @param {String} pInputHash - The input hash.
1059
+ * @param {any} [pEvent] - The input event.
1059
1060
  * @returns {boolean} Whether or not the data request was successful.
1060
1061
  */
1061
- inputDataRequest(pInputHash)
1062
+ inputDataRequest(pInputHash, pEvent)
1062
1063
  {
1063
- return this.pict.providers.DynamicInputEvents.inputDataRequest(this, pInputHash);
1064
+ return this.pict.providers.DynamicInputEvents.inputDataRequest(this, pInputHash, pEvent);
1064
1065
  }
1065
1066
 
1066
1067
  /**
@@ -1119,11 +1120,12 @@ class PictViewDynamicForm extends libPictViewClass
1119
1120
  * @param {number} pGroupIndex - The index of the group.
1120
1121
  * @param {number} pInputIndex - The index of the input.
1121
1122
  * @param {number} pRowIndex - The index of the row.
1123
+ * @param {any} [pEvent] - The input event.
1122
1124
  * @returns {Promise<any>} A promise that resolves with the input data.
1123
1125
  */
1124
- inputDataRequestTabular(pGroupIndex, pInputIndex, pRowIndex)
1126
+ inputDataRequestTabular(pGroupIndex, pInputIndex, pRowIndex, pEvent)
1125
1127
  {
1126
- return this.pict.providers.DynamicInputEvents.inputDataRequestTabular(this, pGroupIndex, pInputIndex, pRowIndex);
1128
+ return this.pict.providers.DynamicInputEvents.inputDataRequestTabular(this, pGroupIndex, pInputIndex, pRowIndex, pEvent);
1127
1129
  }
1128
1130
 
1129
1131
  /**
@@ -178,9 +178,9 @@ class PictFormMetacontroller extends libPictViewClass
178
178
  return super.onSolve();
179
179
  }
180
180
 
181
- runSolver(pExpression)
181
+ runSolver(pExpression, pSilent)
182
182
  {
183
- this.pict.providers.DynamicSolver.runSolver(pExpression);
183
+ this.pict.providers.DynamicSolver.runSolver(pExpression, pSilent);
184
184
  }
185
185
 
186
186
  onBeforeFilterViews(pViewFilterState)
@@ -110,7 +110,7 @@ class PictFormsAppData extends libPictViewFormSupportBase
110
110
  {
111
111
  super(pFable, pOptions, pServiceHash);
112
112
 
113
- this.DisplayShortName = 'FD';
113
+ this.DisplayShortName = 'FDT';
114
114
  this.DisplayLongName = 'FormData';
115
115
  }
116
116
 
@@ -158,7 +158,7 @@ class PictFormsInlineEditor extends libPictViewFormSupportBase
158
158
  {
159
159
  super(pFable, pOptions, pServiceHash);
160
160
 
161
- this.DisplayShortName = 'IE';
161
+ this.DisplayShortName = 'ILE';
162
162
  this.DisplayLongName = 'InlineEditor';
163
163
  }
164
164
  }
@@ -35,7 +35,7 @@ class PictFormsLifeCycle extends libPictViewFormSupportBase
35
35
  {
36
36
  super(pFable, pOptions, pServiceHash);
37
37
 
38
- this.DisplayShortName = 'LV';
38
+ this.DisplayShortName = 'LCV';
39
39
  this.DisplayLongName = 'LifecycleVisulization';
40
40
  }
41
41
  }
@@ -158,7 +158,7 @@ class PictFormsSolver extends libPictViewFormSupportBase
158
158
  {
159
159
  super(pFable, pOptions, pServiceHash);
160
160
 
161
- this.DisplayShortName = 'SV';
161
+ this.DisplayShortName = 'SLV';
162
162
  this.DisplayLongName = 'SolverVisualization';
163
163
  }
164
164
  }
@@ -16,7 +16,7 @@ const defaultViewConfiguration = (
16
16
  Hash: "Pict-Form-SpecificSolve-Content",
17
17
  Template: /*html*/`
18
18
  <div id="Pict-Form-SpecificSolve-Content">
19
- <h2 class="PSFSS-Global-Header">Pict Specific Solve Visualization</h2>
19
+ <h2 class="PSFSS-Global-Header">Pict Specific Solve Timing Visualization</h2>
20
20
  </div>
21
21
  `
22
22
  }
@@ -35,8 +35,8 @@ class PictFormsSpecificSolve extends libPictViewFormSupportBase
35
35
  {
36
36
  super(pFable, pOptions, pServiceHash);
37
37
 
38
- this.DisplayShortName = 'SSV';
39
- this.DisplayLongName = 'SpecificSolveVisualization';
38
+ this.DisplayShortName = 'STV';
39
+ this.DisplayLongName = 'SpecificSolveTimingVisualization';
40
40
  }
41
41
  }
42
42
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Unit tests for PictSectionForm Basic
3
-
3
+
4
4
  */
5
5
 
6
6
  // This is temporary, but enables unit tests
@@ -938,6 +938,73 @@ suite
938
938
  }
939
939
  _Pict.log.info('Loading the Application and associated views.');
940
940
  });
941
+
942
+ // This needs to be explicitly called now that we turned off auto solve
943
+ _Pict.PictApplication.solve();
944
+ }
945
+ );
946
+ test(
947
+ 'Disable Solve Ordinals',
948
+ (fDone) =>
949
+ {
950
+ //NOTE: code is a clone of Pict.safeLoadPictApplication
951
+ let _Pict;
952
+ const tmpApplicationClass = OrderedSolverApplication;
953
+ OrderedSolverApplication.default_configuration.pict_configuration.DefaultFormManifest.Sections[0].Solvers.splice(1, 0, { Ordinal: 15, Expression: 'setSolverOrdinalEnabled(40, 0)' });
954
+ if (tmpApplicationClass && ('default_configuration' in tmpApplicationClass) && ('pict_configuration' in tmpApplicationClass.default_configuration))
955
+ {
956
+ _Pict = new libPict(tmpApplicationClass.default_configuration.pict_configuration);
957
+ }
958
+ else
959
+ {
960
+ _Pict = new libPict();
961
+ }
962
+
963
+ //_Pict.LogNoisiness = 0;
964
+
965
+ let tmpApplicationHash = 'DefaultApplication';
966
+ let tmpDefaultConfiguration = {};
967
+
968
+ if ('default_configuration' in tmpApplicationClass)
969
+ {
970
+ tmpDefaultConfiguration = tmpApplicationClass.default_configuration;
971
+
972
+ if ('Hash' in tmpApplicationClass.default_configuration)
973
+ {
974
+ tmpDefaultConfiguration = tmpApplicationClass.default_configuration;
975
+ tmpApplicationHash = tmpApplicationClass.default_configuration.Hash;
976
+ }
977
+ }
978
+ _Pict.log.info(`Loading the pict application [${tmpApplicationHash}] and associated views.`);
979
+
980
+ _Pict.addApplication(tmpApplicationHash, tmpDefaultConfiguration, tmpApplicationClass);
981
+
982
+ _Pict.PictApplication.testDone = () =>
983
+ {
984
+ try
985
+ {
986
+ Expect(_Pict.AppData.C).to.equal('8', 'C should equal 8 (A + B)');
987
+ Expect(_Pict.AppData.D).to.not.exist;
988
+ }
989
+ catch (pError)
990
+ {
991
+ return fDone(pError);
992
+ }
993
+ fDone();
994
+ };
995
+
996
+ _Pict.PictApplication.initializeAsync(
997
+ function (pError)
998
+ {
999
+ if (pError)
1000
+ {
1001
+ _Pict.log.info('Error initializing the pict application: '+pError)
1002
+ }
1003
+ _Pict.log.info('Loading the Application and associated views.');
1004
+ });
1005
+
1006
+ // This needs to be explicitly called now that we turned off auto solve
1007
+ _Pict.PictApplication.solve();
941
1008
  }
942
1009
  );
943
1010
  }
@@ -23,10 +23,30 @@ declare class PictDynamicFormsSolverBehaviors extends libPictProvider {
23
23
  cssHideSectionClass: string;
24
24
  cssHideGroupClass: string;
25
25
  cssSnippet: string;
26
+ solverOrdinalMap: {};
26
27
  setCSSSnippets(pCSSHideClass: any, pCSSSnippet: any): void;
27
28
  cssHideClass: any;
28
29
  addSolverFunction(pExpressionParser: any, pFunctionName: any, pFunctionAddress: any, pFunctionComment: any): void;
29
30
  injectBehaviors(pExpressionParser: any): boolean;
31
+ /**
32
+ * @param {number|string} pSolverOrdinal
33
+ * @param {boolean|string|number} pEnabled
34
+ */
35
+ setSolverOrdinalEnabled(pSolverOrdinal: number | string, pEnabled: boolean | string | number): void;
36
+ /**
37
+ * @param {number|string} pSolverOrdinal
38
+ */
39
+ enableSolverOrdinal(pSolverOrdinal: number | string): void;
40
+ /**
41
+ * @param {number|string} pSolverOrdinal
42
+ */
43
+ disableSolverOrdinal(pSolverOrdinal: number | string): void;
44
+ /**
45
+ * @param {number|string} pSolveOrdinal
46
+ *
47
+ * @return {boolean}
48
+ */
49
+ checkSolverOrdinalEnabled(pSolveOrdinal: number | string): boolean;
30
50
  getSectionSelector(pSectionFormID: any): string;
31
51
  setSectionVisibility(pSectionHash: any, pVisible: any): boolean;
32
52
  hideSection(pSectionHash: any): boolean;
@@ -48,6 +68,27 @@ declare class PictDynamicFormsSolverBehaviors extends libPictProvider {
48
68
  * @returns {boolean} - Returns true if the color was applied successfully or if the change was skipped for pApplyChange equal to "0", false otherwise.
49
69
  */
50
70
  colorInputBackground(pSectionHash: string, pInputHash: string, pColor: string, pApplyChange: string, pCSSSelector?: string): boolean;
71
+ /**
72
+ * Colors an input background or its container with a HTML hex color (e.g. #FF0000 for red).
73
+ * @param {string} pSectionHash - The hash of the section containing the input.
74
+ * @param {string} pGroupHash - The hash of the group containing the input.
75
+ * @param {number} pRowIndex - The index of the row.
76
+ * @param {string} pInputHash - The hash of the input to color.
77
+ * @param {string} pColor - The HTML hex color to apply (e.g. #FF0000 for red).
78
+ * @param {string} pApplyChange - If "0", the change will not be applied.
79
+ * @param {string} [pCSSSelector] - Optional. If provided, the color will be applied to the closest element matching this selector instead of the input itself.
80
+ * @param {string} [pElementIDPrefix] - Optional. The prefix for the tabular element ID. Default is 'TABULAR-DATA-'.
81
+ * @returns {boolean} - Returns true if the color was applied successfully or if the change was skipped for pApplyChange equal to "0", false otherwise.
82
+ */
83
+ colorInputBackgroundTabular(pSectionHash: string, pGroupHash: string, pInputHash: string, pRowIndex: number, pColor: string, pApplyChange: string, pCSSSelector?: string, pElementIDPrefix?: string): boolean;
84
+ /**
85
+ * @param {Array<HTMLElement>} pElementSet - The element to color.
86
+ * @param {string} pColor - The HTML hex color to apply (e.g. #FF0000 for red).
87
+ * @param {string} [pCSSSelector] - Optional. If provided, the color will be applied to the closest element matching this selector instead of the input itself.
88
+ *
89
+ * @returns {boolean}
90
+ */
91
+ colorElementBackground(pElementSet: Array<HTMLElement>, pColor: string, pCSSSelector?: string): boolean;
51
92
  logValues(...args: any[]): any;
52
93
  }
53
94
  declare namespace PictDynamicFormsSolverBehaviors {
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicFormSolverBehaviors.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicFormSolverBehaviors.js"],"names":[],"mappings":";AAaA;;;;;GAKG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAqBhB;IAbA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,UAAU,CAAC,CAAA;KAAE,CACxE;IAIT,qBAAqB;IACrB,qBADW,MAAM,CAC4C;IAC7D,0BAAyD;IACzD,mBAA2H;IAK5H,2DAMC;IAJA,kBAAsD;IAMvD,kHAaC;IAED,iDAeC;IAED,gDAGC;IAED,gEAUC;IAGD,wCAiBC;IAED,wCAiBC;IAED,+DAGC;IAED,+EAUC;IAED,uDAiBC;IAED,uDAiBC;IAED,iEAqBC;IAED,mFA2BC;IAED,kGA0BC;IAED;;;;;;;;OAQG;IACH,mCAPW,MAAM,cACN,MAAM,UACN,MAAM,gBACN,MAAM,iBACN,MAAM,GACJ,OAAO,CAuDnB;IAED,+BAWC;CACD;;;;;AAhWD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAQ3B"}
1
+ {"version":3,"file":"Pict-Provider-DynamicFormSolverBehaviors.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicFormSolverBehaviors.js"],"names":[],"mappings":";AAaA;;;;;GAKG;AACH;IAEC;;;;;OAKG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAuBhB;IAfA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,qFAAqF;IACrF,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,UAAU,CAAC,CAAA;KAAE,CACxE;IAIT,qBAAqB;IACrB,qBADW,MAAM,CAC4C;IAC7D,0BAAyD;IACzD,mBAA2H;IAE3H,qBAA0B;IAK3B,2DAMC;IAJA,kBAAsD;IAMvD,kHAaC;IAED,iDAoBC;IAED;;;OAGG;IACH,wCAHW,MAAM,GAAC,MAAM,YACb,OAAO,GAAC,MAAM,GAAC,MAAM,QAK/B;IAED;;OAEG;IACH,oCAFW,MAAM,GAAC,MAAM,QAKvB;IAED;;OAEG;IACH,qCAFW,MAAM,GAAC,MAAM,QAKvB;IAED;;;;OAIG;IACH,yCAJW,MAAM,GAAC,MAAM,GAEZ,OAAO,CAMlB;IAED,gDAGC;IAED,gEAUC;IAGD,wCAiBC;IAED,wCAiBC;IAED,+DAGC;IAED,+EAUC;IAED,uDAiBC;IAED,uDAiBC;IAED,iEAqBC;IAED,mFA2BC;IAED,kGA0BC;IAED;;;;;;;;OAQG;IACH,mCAPW,MAAM,cACN,MAAM,UACN,MAAM,gBACN,MAAM,iBACN,MAAM,GACJ,OAAO,CAmCnB;IAED;;;;;;;;;;;OAWG;IACH,0CAVW,MAAM,cACN,MAAM,cAEN,MAAM,aADN,MAAM,UAEN,MAAM,gBACN,MAAM,iBACN,MAAM,qBACN,MAAM,GACJ,OAAO,CA0CnB;IAED;;;;;;OAMG;IACH,oCANW,KAAK,CAAC,WAAW,CAAC,UAClB,MAAM,iBACN,MAAM,GAEJ,OAAO,CA2BnB;IAED,+BAWC;CACD;;;;;AA/cD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAQ3B"}
@@ -12,6 +12,12 @@ declare class PictDynamicInput extends libPictProvider {
12
12
  */
13
13
  constructor(pFable: import("pict"), pOptions?: any, pServiceHash?: string);
14
14
  templateProviderMap: {};
15
+ /** @type {Record<string, boolean>} */
16
+ ignoredEventHashes: Record<string, boolean>;
17
+ /**
18
+ * @param {string} pEventHash
19
+ */
20
+ registerIgnoredEventHash(pEventHash: string): void;
15
21
  /**
16
22
  * Retrieves the template hash for the input based on the provided view and input.
17
23
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicInput.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInput.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,OAAO,MAAM,CAAC,aACd,GAAG,iBACH,MAAM,EAQhB;IADA,wBAA6B;IAG9B;;;;;;OAMG;IACH,4BAJW,OAAO,gCAAgC,CAAC,UACxC,GAAG,GACD,MAAM,GAAC,OAAO,CAkD1B;IAED;;;;;OAKG;IACH,2CAHW,MAAM,aACN,GAAG,QAYb;IAED;;;;;;OAMG;IACH,gCAJW,OAAO,gCAAgC,CAAC,UACxC,MAAM,SAWhB;CACD;;;;;AA1HD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
1
+ {"version":3,"file":"Pict-Provider-DynamicInput.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInput.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,OAAO,MAAM,CAAC,aACd,GAAG,iBACH,MAAM,EAUhB;IAHA,wBAA6B;IAC7B,sCAAsC;IACtC,oBADW,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACN;IAG7B;;OAEG;IACH,qCAFW,MAAM,QAKhB;IAED;;;;;;OAMG;IACH,4BAJW,OAAO,gCAAgC,CAAC,UACxC,GAAG,GACD,MAAM,GAAC,OAAO,CAkD1B;IAED;;;;;OAKG;IACH,2CAHW,MAAM,aACN,GAAG,QAYb;IAED;;;;;;OAMG;IACH,gCAJW,OAAO,gCAAgC,CAAC,UACxC,MAAM,SAWhB;CACD;;;;;AApID,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
@@ -16,8 +16,9 @@ declare class PictDynamicInputEvents extends libPictProvider {
16
16
  *
17
17
  * @param {Object} pView - The view object.
18
18
  * @param {string} pInputHash - The input hash.
19
+ * @param {any} [pEvent] - The input event.
19
20
  */
20
- inputDataRequest(pView: any, pInputHash: string): void;
21
+ inputDataRequest(pView: any, pInputHash: string, pEvent?: any): void;
21
22
  /**
22
23
  * Handles the input event for a dynamic form.
23
24
  *
@@ -34,8 +35,9 @@ declare class PictDynamicInputEvents extends libPictProvider {
34
35
  * @param {number} pGroupIndex - The index of the group.
35
36
  * @param {number} pInputIndex - The index of the input.
36
37
  * @param {number} pRowIndex - The index of the row.
38
+ * @param {any} [pEvent] - The input event.
37
39
  */
38
- inputDataRequestTabular(pView: import("../views/Pict-View-DynamicForm"), pGroupIndex: number, pInputIndex: number, pRowIndex: number): void;
40
+ inputDataRequestTabular(pView: import("../views/Pict-View-DynamicForm"), pGroupIndex: number, pInputIndex: number, pRowIndex: number, pEvent?: any): void;
39
41
  /**
40
42
  * Handles the tabular input event.
41
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicInputEvents.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInputEvents.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAED;;;;;OAKG;IACH,yCAFW,MAAM,QAkChB;IAED;;;;;;;OAOG;IACH,mCAJW,MAAM,UACN,MAAM,qBACN,MAAM,QAgDhB;IAED;;;;;;;OAOG;IACH,+BALW,OAAO,gCAAgC,CAAC,eACxC,MAAM,eACN,MAAM,aACN,MAAM,QAyChB;IAED;;;;;;;;;OASG;IACH,2CANW,MAAM,eACN,MAAM,aACN,MAAM,UACN,MAAM,qBACN,MAAM,QA4ChB;CACD;;;;;AAnOD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
1
+ {"version":3,"file":"Pict-Provider-DynamicInputEvents.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicInputEvents.js"],"names":[],"mappings":";AAaA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAMhB;IAED;;;;;;OAMG;IACH,yCAHW,MAAM,WACN,GAAG,QAsCb;IAED;;;;;;;OAOG;IACH,mCAJW,MAAM,UACN,MAAM,qBACN,MAAM,QAgDhB;IAED;;;;;;;;OAQG;IACH,+BANW,OAAO,gCAAgC,CAAC,eACxC,MAAM,eACN,MAAM,aACN,MAAM,WACN,GAAG,QAyCb;IAED;;;;;;;;;OASG;IACH,2CANW,MAAM,eACN,MAAM,aACN,MAAM,UACN,MAAM,qBACN,MAAM,QA4ChB;CACD;;;;;AAzOD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
@@ -18,7 +18,29 @@ declare class PictDynamicSolver extends libPictProvider {
18
18
  instantiateServiceProviderIfNotExists: (hash: string) => any;
19
19
  ExpressionParser: any;
20
20
  };
21
- runSolver(pSolverExpression: any): any;
21
+ logSolveOutcome(pSolveOutcome: any): void;
22
+ /**
23
+ * Prepares the solver results map by ensuring it has the necessary structure.
24
+ *
25
+ * @param {Object} pSolverResultsMap - The solver results map to prepare.
26
+ * @returns {Object} - The prepared solver results map.
27
+ */
28
+ prepareSolverResultsMap(pSolverResultsMap: any): any;
29
+ /**
30
+ * Backfills solver dependencies into the solve outcome.
31
+ *
32
+ * @param {Object} pSolveOutcome - The solve outcome object.
33
+ * @returns {Object} - The updated solve outcome with backfilled dependencies.
34
+ */
35
+ backfillSolverDependencies(pSolveOutcome: any): any;
36
+ /**
37
+ * Runs a manual solver expression against the dynamic view marshal destination or the application data.
38
+ *
39
+ * @param {string} pSolverExpression - The solver expression to run.
40
+ * @param {boolean} [pSilent=false] - Whether to suppress debug logging output.
41
+ * @returns {any} - The result of the solver expression.
42
+ */
43
+ runSolver(pSolverExpression: string, pSilent?: boolean): any;
22
44
  /**
23
45
  * Checks the solver and returns the solver object if it passes the checks.
24
46
  *
@@ -37,22 +59,25 @@ declare class PictDynamicSolver extends libPictProvider {
37
59
  *
38
60
  * @param {array} pGroupSolverArray - An array of Solvers from the groups to solve.
39
61
  * @param {number} pOrdinal - The ordinal value to filter to. Optional.
62
+ * @param {Object} pSolverResultsMap - The solver results map.
40
63
  */
41
- executeGroupSolvers(pGroupSolverArray: any[], pOrdinal: number): void;
64
+ executeGroupSolvers(pGroupSolverArray: any[], pOrdinal: number, pSolverResultsMap: any): void;
42
65
  /**
43
66
  * Executes the section solvers at a given ordinal (or all if no ordinal is passed).
44
67
  *
45
68
  * @param {Array} pViewSectionSolverArray - The array of view section solvers.
46
69
  * @param {number} pOrdinal - The ordinal value.
70
+ * @param {Object} pSolverResultsMap - The solver results map.
47
71
  */
48
- executeSectionSolvers(pViewSectionSolverArray: any[], pOrdinal: number): void;
72
+ executeSectionSolvers(pViewSectionSolverArray: any[], pOrdinal: number, pSolverResultsMap: any): void;
49
73
  /**
50
74
  * Executes the view solvers for the given array of view hashes.
51
75
  *
52
76
  * @param {Array} pViewSolverArray - The array of view solvers to execute.
53
77
  * @param {number} pOrdinal - The ordinal value.
78
+ * @param {Object} pSolverResultsMap - The solver results map.
54
79
  */
55
- executeViewSolvers(pViewSolverArray: any[], pOrdinal: number): void;
80
+ executeViewSolvers(pViewSolverArray: any[], pOrdinal: number, pSolverResultsMap: any): void;
56
81
  /**
57
82
  * Checks if the given ordinal exists in the provided ordinal set.
58
83
  *
@@ -87,6 +112,7 @@ declare class PictDynamicSolver extends libPictProvider {
87
112
  */
88
113
  solveViews(pViewHashes?: any[] | string[]): void;
89
114
  lastSolveOutcome: {
115
+ SolverResultsMap: {};
90
116
  StartTimeStamp: number;
91
117
  ViewHashes: any[];
92
118
  SolveOrdinals: {};
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicSolver.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicSolver.js"],"names":[],"mappings":";AA+BA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAqChB;IA9BA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,uHAAuH;IACvH,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAAC,gBAAgB,EAAE,GAAG,CAAA;KAAE,CACzG;IA6BX,uCAoBC;IAED;;;;;;;;;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,QAgChB;IAED;;;;;OAKG;IACH,sDAFW,MAAM,QAwBhB;IAED;;;;;;;;OAQG;IACH,gCAJW,MAAM,yBAWhB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAFW,QAAM,MAAM,EAAE,QAwFxB;IADA;;;;;MAAuC;CAExC;;;;;AA9XD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
1
+ {"version":3,"file":"Pict-Provider-DynamicSolver.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicSolver.js"],"names":[],"mappings":";AA+BA;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAsChB;IA/BA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,uHAAuH;IACvH,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,qCAAqC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;QAAC,gBAAgB,EAAE,GAAG,CAAA;KAAE,CACzG;IA8BX,0CAsBC;IAED;;;;;MAKE;IACF,qDAgBC;IAED;;;;;OAKG;IACH,oDA+CC;IAED;;;;;;OAMG;IACH,6BAJW,MAAM,YACN,OAAO,GACL,GAAG,CAyBf;IAED;;;;;;;;;OASG;IACH,qBALW,MAAM,GAAC,MAAM,cACb,OAAO,aACP,MAAM,GACJ,MAAM,GAAC,SAAS,CA8B5B;IAED;;;;;;;;OAQG;IACH,wDAHW,MAAM,gCA4DhB;IAED;;;;;;OAMG;IACH,gEAHW,MAAM,gCAkChB;IAED;;;;;;OAMG;IACH,sDAHW,MAAM,gCA2BhB;IAED;;;;;;;;OAQG;IACH,gCAJW,MAAM,yBAWhB;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAFW,QAAM,MAAM,EAAE,QA6FxB;IADA;;;;;;MAAuC;CAExC;;;;;AA7fD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B"}
@@ -36,6 +36,15 @@ declare class DynamicTabularData extends libPictProvider {
36
36
  * @returns {ElementDescriptor|boolean} The tabular record input or false if the group is invalid.
37
37
  */
38
38
  getTabularRecordInput(pView: any, pGroupIndex: number, pInputIndex: number): ElementDescriptor | boolean;
39
+ /**
40
+ * Retrieves the tabular record input from the specified view, group, and input indexes.
41
+ *
42
+ * @param {Object} pView - The view object.
43
+ * @param {number} pGroupHash - The index of the group.
44
+ * @param {number} pInputHash - The index of the input.
45
+ * @returns {ElementDescriptor|boolean} The tabular record input or false if the group is invalid.
46
+ */
47
+ getTabularRecordInputByHash(pView: any, pGroupHash: number, pInputHash: number): ElementDescriptor | boolean;
39
48
  /**
40
49
  * Retrieves tabular record data based on the provided parameters.
41
50
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Provider-DynamicTabularData.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicTabularData.js"],"names":[],"mappings":";AAaA;;;GAGG;AAEH;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAahB;IANA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAKV;;;;;;OAMG;IACH,6CAHW,MAAM,GACJ,cAAa,OAAO,CAehC;IAED;;;;;;;OAOG;IACH,+CAJW,MAAM,eACN,MAAM,GACJ,iBAAiB,GAAC,OAAO,CAiBrC;IAED;;;;;;;OAOG;IACH,8CAJW,MAAM,kBACN,MAAM,GACJ,OAAO,MAAO,CAkD1B;IAED;;;;;OAKG;IACH,+CAFW,MAAM,QA0DhB;IAGD;;;;;OAKG;IACH,4DAFW,MAAM,QA2BhB;IAED;;;;;;;;OAQG;IACH,iDALW,MAAM,aACN,MAAM,GAAC,MAAM,gBACb,MAAM,GACJ,OAAO,CA4BnB;IAED;;;;;;;OAOG;IACH,iDAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CA2BnB;IAED;;;;;;;OAOG;IACH,+CAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CAgCnB;IAGD;;;;;;;OAOG;IACH,+CAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CA6DnB;CACD;;;;;AAzaD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B;;;;;UAIW,MAAM"}
1
+ {"version":3,"file":"Pict-Provider-DynamicTabularData.d.ts","sourceRoot":"","sources":["../../../source/providers/Pict-Provider-DynamicTabularData.js"],"names":[],"mappings":";AAaA;;;GAGG;AAEH;;GAEG;AACH;IAEC;;;;;;OAMG;IACH,oBAJW,MAAM,YACN,MAAM,gBACN,MAAM,EAahB;IANA,kBAAkB;IAClB,SADW,GAAG,CACF;IACZ,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IAKV;;;;;;OAMG;IACH,6CAHW,MAAM,GACJ,cAAa,OAAO,CAehC;IAED;;;;;;;OAOG;IACH,+CAJW,MAAM,eACN,MAAM,GACJ,iBAAiB,GAAC,OAAO,CAiBrC;IAED;;;;;;;OAOG;IACH,oDAJW,MAAM,cACN,MAAM,GACJ,iBAAiB,GAAC,OAAO,CA+BrC;IAED;;;;;;;OAOG;IACH,8CAJW,MAAM,kBACN,MAAM,GACJ,OAAO,MAAO,CAkD1B;IAED;;;;;OAKG;IACH,+CAFW,MAAM,QA0DhB;IAGD;;;;;OAKG;IACH,4DAFW,MAAM,QA2BhB;IAED;;;;;;;;OAQG;IACH,iDALW,MAAM,aACN,MAAM,GAAC,MAAM,gBACb,MAAM,GACJ,OAAO,CA4BnB;IAED;;;;;;;OAOG;IACH,iDAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CA2BnB;IAED;;;;;;;OAOG;IACH,+CAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CAgCnB;IAGD;;;;;;;OAOG;IACH,+CAJW,MAAM,aACN,MAAM,GAAC,MAAM,GACX,OAAO,CA6DnB;CACD;;;;;AAhdD,kCAAkC;AAClC,6CADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAS3B;;;;;UAIW,MAAM"}
@@ -227,9 +227,10 @@ declare class PictViewDynamicForm extends libPictViewClass {
227
227
  * Triggers a DataRequest event for an Input Provider
228
228
  *
229
229
  * @param {String} pInputHash - The input hash.
230
+ * @param {any} [pEvent] - The input event.
230
231
  * @returns {boolean} Whether or not the data request was successful.
231
232
  */
232
- inputDataRequest(pInputHash: string): boolean;
233
+ inputDataRequest(pInputHash: string, pEvent?: any): boolean;
233
234
  /**
234
235
  * Handles the generic Input Event for an Input Provider
235
236
  *
@@ -259,9 +260,10 @@ declare class PictViewDynamicForm extends libPictViewClass {
259
260
  * @param {number} pGroupIndex - The index of the group.
260
261
  * @param {number} pInputIndex - The index of the input.
261
262
  * @param {number} pRowIndex - The index of the row.
263
+ * @param {any} [pEvent] - The input event.
262
264
  * @returns {Promise<any>} A promise that resolves with the input data.
263
265
  */
264
- inputDataRequestTabular(pGroupIndex: number, pInputIndex: number, pRowIndex: number): Promise<any>;
266
+ inputDataRequestTabular(pGroupIndex: number, pInputIndex: number, pRowIndex: number, pEvent?: any): Promise<any>;
265
267
  /**
266
268
  * Handles the generic Tabular Input Event for an Input Provider
267
269
  *
@@ -321,6 +323,17 @@ declare class PictViewDynamicForm extends libPictViewClass {
321
323
  * @returns
322
324
  */
323
325
  getTabularRecordInput(pGroupIndex: number, pInputIndex: number): any;
326
+ /**
327
+ * Get the input object for a specific tabular record group and index.
328
+ *
329
+ * Input objects are not distinct among rows.
330
+ *
331
+ * @param {string} pGroupHash - The hash of the group.
332
+ * @param {string} pInputHash - The hash of the input.
333
+ *
334
+ * @return {Object} The input object.
335
+ */
336
+ getTabularRecordInputByHash(pGroupHash: string, pInputHash: string): any;
324
337
  /**
325
338
  * Get the tabular record object for a particular row in a group.
326
339
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":";AAYA;;;;;;;GAOG;AACH;IAEC,2DAuGC;IApDA,kCAAkC;IAClC,kBADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACO;IAIrC,uBAAqC;IAGrC,qBAA2H;IAG3H,sBAAwB;IAcxB,+BAA6D;IAmB7D,iCAA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GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,qCAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,mCAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,mCAJW,MAAM,aACN,MAAM,gBAMhB;IAED;;;OAGG;IACH,yBAFa,OAAO,CAKnB;CACD;;;;;AAn7CD,kCAAkC;AAClC,qCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAC6D"}
1
+ {"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":";AAYA;;;;;;;GAOG;AACH;IAEC,2DAuGC;IApDA,kCAAkC;IAClC,kBADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACO;IAIrC,uBAAqC;IAGrC,qBAA2H;IAG3H,sBAAwB;IAcxB,+BAA6D;IAmB7D,iCAAuC;IAEvC,eAAmD;IAEnD,4BAAkC;IAClC,6BAAgC;IAKjC;;;;OAIG;IACH,6BAFa,MAAM,CAgBlB;IAED;;;;;;;;OAQG;IACH,wBAFW,MAAM,QAqDhB;IAGD;;;;;;OAMG;IACH,gCAJW,MAAM,eACN,MAAM,aACN,MAAM,QA4DhB;IAED;;;;;;;;OAQG;IACH,uBAJW,MAAM,UACN,GAAG,GACD,OAAO,CAqCnB;IAED;;;;;;;;;;OAUG;IACH,kCANW,MAAM,cACN,MAAM,aACN,MAAM,UACN,GAAG,GACD,OAAO,CAyEnB;IAED;;;;OAIG;IACH,gCAFa,MAAM,CAKlB;IAED;;;;OAIG;IACH,+BAFY,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAK9B;IAED;;;OAGG;IACH,6BAFW,MAAM,uBAKhB;IAED;;;;;;OAMG;IACH,mCAJW,MAAM,eACN,MAAM,aACN,MAAM,OAOhB;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAwBf;IAED,yEAqBC;IA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AM,UACN,MAAM,qBACN,MAAM,GACJ,GAAG,CAKf;IAED;;;OAGG;IACH,yDAHW,MAAM,uBACN,MAAM,QAKhB;IAED;;;;;OAKG;IACH,yDALW,MAAM,uBACN,MAAM,GAEL,OAAO,CAoDlB;IAED;;;;OAIG;IACH,sCAJW,MAAM,GAEL,OAAO,CA0ClB;IAED;;;OAGG;IACH,wDAHW,MAAM,6BAuBhB;IAED;;;;;;OAMG;IACH,6BALW,MAAM,UACN,MAAM,4CAEN,MAAM,QAmDhB;IAED;;;;;OAKG;IACH,0BAJW,MAAM,4CAEN,MAAM,QAUhB;IAED;;;;;;;;OAQG;IACH,mCAJW,MAAM,eACN,MAAM,OAMhB;IAED;;;;;;;;;OASG;IACH,wCALW,MAAM,cACN,MAAM,OAOhB;IAED;;;;;;OAMG;IACH,kCAJW,MAAM,kBACN,MAAM,OAMhB;IAED;;;;;OAKG;IACH,iCAHW,MAAM,SAMhB;IAED;;;;;;;OAOG;IACH,mCAHW,MAAM,OAMhB;IAED;;;;;;;OAOG;IACH,qCALW,MAAM,aACN,MAAM,gBACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,qCAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,mCAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;OAMG;IACH,mCAJW,MAAM,aACN,MAAM,gBAMhB;IAED;;;OAGG;IACH,yBAFa,OAAO,CAKnB;CACD;;;;;AAp8CD,kCAAkC;AAClC,qCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAC6D"}
@@ -51,7 +51,7 @@ declare class PictFormMetacontroller extends libPictViewClass {
51
51
  * @returns {any} The result of the solve operation.
52
52
  */
53
53
  onSolve(): any;
54
- runSolver(pExpression: any): void;
54
+ runSolver(pExpression: any, pSilent: any): void;
55
55
  onBeforeFilterViews(pViewFilterState: any): any;
56
56
  onAfterFilterViews(pViewFilterState: any): any;
57
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-View-Form-Metacontroller.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-Form-Metacontroller.js"],"names":[],"mappings":";AAaA;;GAEG;AAEH;;;;;;GAMG;AACH;IAEC,2DAyBC;IAjBA,yBAA2B;IAE3B,wBAAsF;IAEtF,cAAkC;IAElC,gCAAkC;IAClC,8BAAiC;IAEjC;;;;;;MAOE;IAQH,wCAGC;IARD,kCAGC;IAOD;;;;OAIG;IACH,qBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAaf;IAED,yCAYC;IAED;;;;;OAKG;IACH,kCAHW,aAAa,GACX,IAAI,CAsBhB;IA8BD;;;;OAIG;IACH,WAFa,GAAG,CAMf;IAED,kCAGC;IAED,gDAGC;IAED,+CAGC;IAED;;;;OAIG;IACH,2DAJW,MAAM,GAEL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAW9B;IAED;;;;;;OAMG;IACH,mCANW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,MAAM,UACN,MAAM,GAEL,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAwBtD;IAED;;;;;OAKG;IACH,0BALW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,MAAM,GAEL,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAgCtD;IAED;;;;;;;;;OASG;IACH,kCALW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UACnB,MAAM,GAEL,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAqO9B;IAED;;;;OAIG;IACH,uCAJW,KAAK,CAAC,MAAM,CAAC,sBACb,MAAM,UACN,MAAM,QAuBhB;IAED;;;OAGG;IACH,6CAHW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,sBACnB,MAAM,SAehB;IAED;;;;;;;;OAQG;IACH,wDAHW,YAAY,SAoHtB;IAED;;;;;;;OAOG;IACH,4CAHW,MAAM,GACJ,IAAI,CAShB;IAED;;;;OAIG;IACH,6BAFa,IAAI,CAQhB;IAED;;;;;;;OAOG;IACH,+DAFW,YAAY,QAatB;IAED;;;;;;;OAOG;IACH,gEAFW,YAAY,QAatB;IAED;;;;;OAKG;IACH,8EAFW,YAAY,QAmBtB;IAED;;;;;;OAMG;IACH,oEAHW,YAAY,GACV,IAAI,CAkDhB;IAED;;;;;;;OAOG;IACH,uEAJW,YAAY,GAEX,IAAI,CAsFf;IAED;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,GAAC,OAAO,CA2C1B;IAED,+CAeC;IAED;;;;;;;OAOG;IACH,kFAJW,MAAM,GAEJ,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAoLtC;IA5JC,gCAA0D;IAC1D,yBAAiD;IA6JnD;;;;OAIG;IACH,gCAHW,MAAM,qBACN,MAAM,QA0BhB;IAED;;;OAGG;IACH,yDAHW,MAAM,uBACN,MAAM,QAKhB;IAED;;;;;OAKG;IACH,yDALW,MAAM,uBACN,MAAM,GAEL,OAAO,CAoDlB;IAED;;;;OAIG;IACH,sCAJW,MAAM,GAEL,OAAO,CA0ClB;IAED;;;OAGG;IACH,wDAHW,MAAM,6BAuBhB;IAED,oCAgBC;IAED;;;;OAIG;IACH,4BAFa,OAAO,CAKnB;CACD;;;;;qCAGU,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;oBAn2CjB,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":";AAaA;;GAEG;AAEH;;;;;;GAMG;AACH;IAEC,2DAyBC;IAjBA,yBAA2B;IAE3B,wBAAsF;IAEtF,cAAkC;IAElC,gCAAkC;IAClC,8BAAiC;IAEjC;;;;;;MAOE;IAQH,wCAGC;IARD,kCAGC;IAOD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