pict-section-form 1.3.14 → 1.3.16

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 (80) hide show
  1. package/docs/Injection_Conformance.md +137 -0
  2. package/docs/Providers.md +12 -7
  3. package/docs/_sidebar.md +3 -0
  4. package/docs/input_providers/016-facet-filter.md +106 -0
  5. package/docs/input_providers/README.md +1 -0
  6. package/example_applications/README.md +6 -0
  7. package/example_applications/facet_filter/.quackage.json +9 -0
  8. package/example_applications/facet_filter/Facet-Filter-Application.js +210 -0
  9. package/example_applications/facet_filter/Facet-Filter-Server.js +233 -0
  10. package/example_applications/facet_filter/Facet-Filter-Smoke-Runner.js +101 -0
  11. package/example_applications/facet_filter/FacetFilterData.json +44 -0
  12. package/example_applications/facet_filter/README-FacetFilter.md +70 -0
  13. package/example_applications/facet_filter/html/Facet-Filter-Smoke.js +128 -0
  14. package/example_applications/facet_filter/html/index.html +74 -0
  15. package/example_applications/facet_filter/package.json +27 -0
  16. package/example_applications/nested_distill_sandbox/Sandbox-Driver-Headlight.js +17 -0
  17. package/example_applications/nested_distill_sandbox/Sandbox-Driver.js +369 -0
  18. package/example_applications/nested_distill_sandbox/Sandbox-Runner.js +372 -0
  19. package/example_applications/nested_distill_sandbox/approaches/A1-tabular-trigger-group.js +67 -0
  20. package/example_applications/nested_distill_sandbox/approaches/A3-crossmap-selectoptionsrefresh.js +61 -0
  21. package/example_applications/nested_distill_sandbox/approaches/A4-graph-solvers-flat-list.js +53 -0
  22. package/example_applications/nested_distill_sandbox/approaches/A5-facet-filter.js +75 -0
  23. package/example_applications/nested_distill_sandbox/approaches/A5b-facet-filter-symmetric.js +15 -0
  24. package/example_applications/nested_distill_sandbox/approaches/A5h-facet-filter-headlight-picker.js +15 -0
  25. package/example_applications/nested_distill_sandbox/approaches/R0-original-jmf-manifest-headlight.js +27 -0
  26. package/example_applications/nested_distill_sandbox/approaches/R1-real-jmf-manifest-headlight.js +136 -0
  27. package/example_applications/nested_distill_sandbox/approaches/_Common.js +344 -0
  28. package/example_applications/nested_distill_sandbox/approaches/_Scenarios.js +262 -0
  29. package/package.json +6 -5
  30. package/source/providers/Pict-Provider-DynamicFormSolverBehaviors.js +73 -5
  31. package/source/providers/Pict-Provider-DynamicSolver.js +22 -2
  32. package/source/providers/Pict-Provider-ListDistilling.js +266 -1
  33. package/source/providers/Pict-Provider-MetaLists.js +16 -2
  34. package/source/providers/inputs/Pict-Provider-Input-FacetFilter.js +232 -0
  35. package/source/providers/inputs/Pict-Provider-Input-Select.js +41 -1
  36. package/source/views/Pict-View-Form-Metacontroller.js +690 -93
  37. package/test/Pict-Provider-DynamicFormSolverBehaviors-OrdinalScope_tests.js +105 -0
  38. package/test/Pict-Provider-ListDistilling-Facet_tests.js +375 -0
  39. package/test/Pict-View-Form-Metacontroller-DistinctManifest_tests.js +410 -0
  40. package/test/PictSectionForm-Injection-Conformance_tests.js +762 -0
  41. package/test/browser/Injection-Conformance-Differential-Scenario.js +346 -0
  42. package/test/browser/Injection-Conformance-EdgeCase-Scenario.js +168 -0
  43. package/test/browser/Injection-Conformance-Harness-Driver.js +538 -0
  44. package/test/browser/Injection-Conformance-Harness-Runner.js +487 -0
  45. package/test/browser/Injection-Conformance-Reconstitution-Scenario.js +191 -0
  46. package/test/browser/Injection-Conformance-Standalone-Scenario.js +114 -0
  47. package/test/fixtures/injection/Injection-Fixture-Cases.js +204 -0
  48. package/test/fixtures/injection/Injection-Fixture-Manifest.json +381 -0
  49. package/types/source/providers/Pict-Provider-DynamicFormSolverBehaviors.d.ts +110 -1
  50. package/types/source/providers/Pict-Provider-DynamicFormSolverBehaviors.d.ts.map +1 -1
  51. package/types/source/providers/Pict-Provider-DynamicSolver.d.ts.map +1 -1
  52. package/types/source/providers/Pict-Provider-DynamicTabularData.d.ts +17 -1
  53. package/types/source/providers/Pict-Provider-DynamicTabularData.d.ts.map +1 -1
  54. package/types/source/providers/Pict-Provider-InputExtension.d.ts +31 -0
  55. package/types/source/providers/Pict-Provider-InputExtension.d.ts.map +1 -1
  56. package/types/source/providers/Pict-Provider-ListDistilling.d.ts +90 -1
  57. package/types/source/providers/Pict-Provider-ListDistilling.d.ts.map +1 -1
  58. package/types/source/providers/Pict-Provider-MetaLists.d.ts.map +1 -1
  59. package/types/source/providers/inputs/Pict-Provider-Input-Chart-CSS.d.ts +16 -0
  60. package/types/source/providers/inputs/Pict-Provider-Input-Chart-CSS.d.ts.map +1 -0
  61. package/types/source/providers/inputs/Pict-Provider-Input-Chart.d.ts +47 -0
  62. package/types/source/providers/inputs/Pict-Provider-Input-Chart.d.ts.map +1 -1
  63. package/types/source/providers/inputs/Pict-Provider-Input-Diagram.d.ts +86 -0
  64. package/types/source/providers/inputs/Pict-Provider-Input-Diagram.d.ts.map +1 -1
  65. package/types/source/providers/inputs/Pict-Provider-Input-FacetFilter.d.ts +103 -0
  66. package/types/source/providers/inputs/Pict-Provider-Input-FacetFilter.d.ts.map +1 -0
  67. package/types/source/providers/inputs/Pict-Provider-Input-ObjectEditor.d.ts +128 -0
  68. package/types/source/providers/inputs/Pict-Provider-Input-ObjectEditor.d.ts.map +1 -0
  69. package/types/source/providers/inputs/Pict-Provider-Input-PreciseNumber.d.ts.map +1 -1
  70. package/types/source/providers/inputs/Pict-Provider-Input-Select.d.ts +12 -0
  71. package/types/source/providers/inputs/Pict-Provider-Input-Select.d.ts.map +1 -1
  72. package/types/source/providers/inputs/Pict-Provider-Input-TabGroupSelector.d.ts +10 -1
  73. package/types/source/providers/inputs/Pict-Provider-Input-TabGroupSelector.d.ts.map +1 -1
  74. package/types/source/providers/inputs/Pict-Provider-Input-TabSectionSelector.d.ts +10 -1
  75. package/types/source/providers/inputs/Pict-Provider-Input-TabSectionSelector.d.ts.map +1 -1
  76. package/types/source/providers/layouts/Pict-Layout-Tabular.d.ts +76 -4
  77. package/types/source/providers/layouts/Pict-Layout-Tabular.d.ts.map +1 -1
  78. package/types/source/views/Pict-View-DynamicForm.d.ts.map +1 -1
  79. package/types/source/views/Pict-View-Form-Metacontroller.d.ts +63 -2
  80. package/types/source/views/Pict-View-Form-Metacontroller.d.ts.map +1 -1
@@ -39,12 +39,21 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
39
39
  * @return {string}
40
40
  */
41
41
  getSectionSelector(pTabViewSectionHash: string): string;
42
+ /**
43
+ * Is this tab section hash actually one of the input's tabs?
44
+ *
45
+ * @param {Object} pInput - The input object.
46
+ * @param {string} pTabSectionHash - The tab section hash to test.
47
+ *
48
+ * @return {boolean}
49
+ */
50
+ isTabInSet(pInput: any, pTabSectionHash: string): boolean;
42
51
  /**
43
52
  * @param {string} pViewHash
44
53
  * @param {string} pInputHash
45
54
  * @param {string} pTabViewHash
46
55
  *
47
- * @return {boolean}
56
+ * @return {boolean} - true once the section is shown; false (nothing changed) if the view, input or tab hash is not valid.
48
57
  */
49
58
  selectTabByViewHash(pViewHash: string, pInputHash: string, pTabViewHash: string): boolean;
50
59
  /**
@@ -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;IAWE,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IAIV,qBAAqB;IACrB,cADW,MAAM,CAC4B;IAC7C,4BAAyD;IACzD,mBAAoH;IAKrH;;;OAGG;IACH,+BAHW,MAAM,gBACN,MAAM,QAOhB;IAED;;;;OAIG;IACH,kCAJW,MAAM,GAEL,MAAM,CAKjB;IAED;;;;;OAKG;IACH,gCALW,MAAM,gBAGL,MAAM,CAKjB;IAED;;;;OAIG;IACH,wCAJW,MAAM,GAEL,MAAM,CAMjB;IAED;;;;;;OAMG;IACH,+BANW,MAAM,cACN,MAAM,gBACN,MAAM,GAEL,OAAO,CAkDlB;IAED;;;;;;OAMG;IACH,wCAJW,MAAM,GAEL,MAAM,CAKjB;CA2CD"}
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;IAWE,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IAIV,qBAAqB;IACrB,cADW,MAAM,CAC4B;IAC7C,4BAAyD;IACzD,mBAAoH;IAKrH;;;OAGG;IACH,+BAHW,MAAM,gBACN,MAAM,QAOhB;IAED;;;;OAIG;IACH,kCAJW,MAAM,GAEL,MAAM,CAKjB;IAED;;;;;OAKG;IACH,gCALW,MAAM,gBAGL,MAAM,CAKjB;IAED;;;;OAIG;IACH,wCAJW,MAAM,GAEL,MAAM,CAMjB;IAED;;;;;;;OAOG;IACH,yCAJW,MAAM,GAEL,OAAO,CAMlB;IAED;;;;;;OAMG;IACH,+BANW,MAAM,cACN,MAAM,gBACN,MAAM,GAEL,OAAO,CAyDlB;IAED;;;;;;OAMG;IACH,wCAJW,MAAM,GAEL,MAAM,CAKjB;CA6DD"}
@@ -340,15 +340,74 @@ declare class TabularLayout extends libPictSectionGroupLayout {
340
340
  */
341
341
  _paintTabularColumnChooserOpenState(pView: any, pGroup: any, pOpen: boolean): void;
342
342
  /**
343
- * Position the (fixed) chooser popover against its trigger button, flipping
344
- * above when the room below is genuinely cramped — same approach as the
345
- * recordset's column chooser, so no ancestor overflow can clip it.
343
+ * Anchor the (open) chooser popover to its trigger with the same listener-free strategy as
344
+ * pict-section-picker: keep it in the DOM and CSS-absolute under the (position:relative) bar --
345
+ * which rides page scroll for free -- UNLESS a clipping ancestor would cut it, in which case
346
+ * portal it to <body> and place it in document coords. No scroll/resize handlers: an absolute
347
+ * (not fixed) panel tracks the document as it scrolls, so one placement holds.
346
348
  *
347
349
  * @param {Object} pView
348
350
  * @param {Object} pGroup
349
351
  * @param {HTMLElement} pPopover
350
352
  */
351
- _positionTabularColumnChooserPopover(pView: any, pGroup: any, pPopover: HTMLElement): void;
353
+ _applyTabularColumnChooserAnchor(pView: any, pGroup: any, pPopover: HTMLElement): void;
354
+ /**
355
+ * Move the popover to <body> and place it against the trigger in document coords (viewport rect +
356
+ * scroll), flipping above when the room below is genuinely cramped. Carries the resolved
357
+ * --theme-color-* tokens across so the panel stays themed off its scoped container.
358
+ *
359
+ * @param {HTMLElement} pPopover
360
+ * @param {HTMLElement} pTrigger
361
+ */
362
+ _portalTabularColumnChooserPopover(pPopover: HTMLElement, pTrigger: HTMLElement): void;
363
+ /**
364
+ * Re-home a portaled popover into its bar and drop everything the portal wrote. Doubles as the
365
+ * orphan sweeper: if a re-render already baked a fresh in-bar popover, the portaled one is stale
366
+ * and gets discarded rather than duplicated.
367
+ *
368
+ * @param {Object} pView
369
+ * @param {Object} pGroup
370
+ * @param {HTMLElement} pPopover
371
+ */
372
+ _restoreTabularColumnChooserPopover(pView: any, pGroup: any, pPopover: HTMLElement): void;
373
+ /**
374
+ * Remove any portaled copies of a chooser popover (matched by element id) that are direct children
375
+ * of <body>, except the one to keep. Iterates body children so no attribute-selector escaping of
376
+ * the id is needed, and is scoped by id so it never touches another table's portaled popover.
377
+ *
378
+ * @param {string} pElementId
379
+ * @param {HTMLElement} pKeep
380
+ */
381
+ _sweepPortaledColchooserOrphans(pElementId: string, pKeep: HTMLElement): void;
382
+ /**
383
+ * Portal when ANY clipping ancestor of the trigger would actually cut the popover -- an overflow
384
+ * ancestor alone isn't enough, but a roomy inner clipper doesn't excuse a tighter one further out.
385
+ *
386
+ * @param {HTMLElement} pTrigger
387
+ * @param {HTMLElement} pPopover
388
+ * @returns {boolean}
389
+ */
390
+ _tabularColumnChooserShouldPortal(pTrigger: HTMLElement, pPopover: HTMLElement): boolean;
391
+ /**
392
+ * Nearest ancestor (up to, not including, <body>) with an overflow clip on any axis, or null.
393
+ * Stops at <body> because the document's own scroll is what the absolute anchoring rides on.
394
+ *
395
+ * @param {HTMLElement} pElement
396
+ * @returns {HTMLElement|null}
397
+ */
398
+ _tabularColumnChooserClippingAncestor(pElement: HTMLElement): HTMLElement | null;
399
+ /**
400
+ * Would the clipper cut the popover if it opened in place? The CSS path opens downward, right-
401
+ * aligned to the trigger; project that worst-case box (trigger bottom + gap, up to the max height)
402
+ * and test whether any edge falls outside the clipper. 1px slack avoids a needless portal on a
403
+ * flush edge.
404
+ *
405
+ * @param {HTMLElement} pTrigger
406
+ * @param {HTMLElement} pClipper
407
+ * @param {number} pWidth
408
+ * @returns {boolean}
409
+ */
410
+ _tabularColumnChooserClipBites(pTrigger: HTMLElement, pClipper: HTMLElement, pWidth: number): boolean;
352
411
  /**
353
412
  * Rebuild + re-render a tabular view and re-marshal the form data into it.
354
413
  * Same tail as sortTabularColumn: the rebuild re-bakes the table template
@@ -407,6 +466,19 @@ declare class TabularLayout extends libPictSectionGroupLayout {
407
466
  * @returns {boolean}
408
467
  */
409
468
  resetTabularColumnVisibility(pViewHash: string, pGroupIndex: number | string): boolean;
469
+ /**
470
+ * After a mid-marshal DynamicColumns rebuild/re-render, the freshly painted table DOM
471
+ * is empty: the enclosing onMarshalToView already ran its marshalDataToForm BEFORE this
472
+ * hook re-rendered, so the dynamic cells lost the values that pass had just written and
473
+ * would only refill on the NEXT marshal -- the "% Passing table blanks on row add/delete
474
+ * or Source/Name select until another action brings it back" bug. Re-marshal the view's
475
+ * data into the new DOM here so the cells repopulate within the SAME cycle. This is safe
476
+ * to call from inside onDataMarshalToForm: marshalDataToForm only writes model values into
477
+ * the inputs and does NOT itself invoke onDataMarshalToForm, so it cannot recurse here.
478
+ *
479
+ * @param {Object} pView
480
+ */
481
+ _refillAfterDynamicColumnRebuild(pView: any): void;
410
482
  }
411
483
  import libPictSectionGroupLayout = require("../Pict-Provider-DynamicLayout.js");
412
484
  //# sourceMappingURL=Pict-Layout-Tabular.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-Layout-Tabular.d.ts","sourceRoot":"","sources":["../../../../source/providers/layouts/Pict-Layout-Tabular.js"],"names":[],"mappings":";AAEA;IAEC,2DAiEC;IA7DA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IA4DX;;;;;;;;;;;OAWG;IACH,kFAHW,MAAM,GACJ,MAAM,CAwBlB;IAED;;;;;;;;;OASG;IACH,mEAFa,GAAG,CAoBf;IAED;;;;;;;OAOG;IACH,+BAJW,GAAG,WACH,GAAG,GACD,MAAM,CAelB;IAED;;;;;;;;;;OAUG;IACH,6BALW,MAAM,eACN,MAAM,GAAC,MAAM,gBACb,MAAM,GAAC,MAAM,GACX,OAAO,CAkEnB;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,iBAEJ,MAAM,CAsBlB;IAED;;;;;;;;;;;;OAYG;IACH,sDAFa,KAAK,CAAC,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC,CA6I/E;IAED;;;;;;;;;;;;;OAaG;IACH,wDAoFC;IAED;;;;;;;;;OASG;IACH,qDAJW,MAAM,GAAC,MAAM,WACb,MAAM,GAAC,MAAM,GACX,MAAM,CAuDlB;IAED;;;;;;;;;;OAUG;IACH,2DAJW,MAAM,GAAC,MAAM,WACb,MAAM,GAAC,MAAM,GACX,MAAM,CAUlB;IAED,kCAYC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,wCALW,OAAO,MAAO,uBACd,MAAM,0BACN,MAAM,GACJ;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAC,GAAC,IAAI,CAsBnF;IAED;;;;;;;OAOG;IACH,0DAHW;QAAC,WAAW,EAAE,MAAM,CAAA;KAAC,GACnB,MA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AC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC,CA2BrF;IAED;;;;;;;;;OASG;IACH,qEAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;OAQG;IACH,4DAFa,MAAM,CAiBlB;IAED;;;;;;;;OAQG;IACH,kEAqBC;IAED;;;;;;;OAOG;IACH,oEAFW,OAAO,QAcjB;IAED;;;;;;;;OAQG;IACH,wEAFW,WAAW,QAiCrB;IAED;;;;;;;OAOG;IACH,2CAYC;IAED;;;;;;;;;OASG;IACH,sCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAuBnB;IAED;;;;;;;OAOG;IACH,qCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAgBnB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,yCANW,MAAM,eACN,MAAM,GAAC,MAAM,gBACb,MAAM,GAAC,MAAM,YACb,OAAO,GACL,OAAO,CAkDnB;IAED;;;;;;;;;OASG;IACH,wCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAwBnB;CAsYD"}
1
+ {"version":3,"file":"Pict-Layout-Tabular.d.ts","sourceRoot":"","sources":["../../../../source/providers/layouts/Pict-Layout-Tabular.js"],"names":[],"mappings":";AAYA;IAEC,2DA4FC;IAxFA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,6BAA6B;IAC7B,OADW,OAAO,MAAM,CAAC,CACf;IAuFX;;;;;;;;;;;OAWG;IACH,kFAHW,MAAM,GACJ,MAAM,CA8BlB;IAED;;;;;;;;;OASG;IACH,mEAFa,GAAG,CAoBf;IAED;;;;;;;OAOG;IACH,+BAJW,GAAG,WACH,GAAG,GACD,MAAM,CAelB;IAED;;;;;;;;;;OAUG;IACH,6BALW,MAAM,eACN,MAAM,GAAC,MAAM,gBACb,MAAM,GAAC,MAAM,GACX,OAAO,CAkEnB;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gBrB;IAED;;;;;;;OAOG;IACH,4CAJW,WAAW,YACX,WAAW,GACT,OAAO,CAenB;IAED;;;;;;OAMG;IACH,gDAHW,WAAW,GACT,WAAW,GAAC,IAAI,CAmB5B;IAED;;;;;;;;;;OAUG;IACH,yCALW,WAAW,YACX,WAAW,UACX,MAAM,GACJ,OAAO,CAuBnB;IAED;;;;;;;OAOG;IACH,2CAYC;IAED;;;;;;;;;OASG;IACH,sCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAuBnB;IAED;;;;;;;OAOG;IACH,qCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAgBnB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,yCANW,MAAM,eACN,MAAM,GAAC,MAAM,gBACb,MAAM,GAAC,MAAM,YACb,OAAO,GACL,OAAO,CAkDnB;IAED;;;;;;;;;OASG;IACH,wCAJW,MAAM,eACN,MAAM,GAAC,MAAM,GACX,OAAO,CAwBnB;IAiaD;;;;;;;;;;;OAWG;IACH,mDAUC;CACD"}
@@ -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,2DAyGC;IAtDA,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;IAIhC,uBAA4B;IAG7B;;;;OAIG;IACH,6BAFa,MAAM,CAgBlB;IAED;;;;;;;;OAQG;IACH,wBAFW,MAAM,QAkEhB;IAGD;;;;;;OAMG;IACH,gCAJW,MAAM,eACN,MAAM,aACN,MAAM,QAyEhB;IAED;;;;;;;;OAQG;IACH,uBAJW,MAAM,UACN,GAAG,GACD,OAAO,CAqCnB;IA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KnB;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;;;;;AAllDD,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,2DAyGC;IAtDA,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;IAIhC,uBAA4B;IAG7B;;;;OAIG;IACH,6BAFa,MAAM,CAgBlB;IAED;;;;;;;;OAQG;IACH,wBAFW,MAAM,QAkEhB;IAGD;;;;;;OAMG;IACH,gCAJW,MAAM,eACN,MAAM,aACN,MAAM,QAyEhB;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;;;;;OAKG;IACH,6BAHW,MAAM,GACL,GAAG,CAKd;IAED;;;;;;;OAOG;IACH,mCALW,MAAM,eACN,MAAM,aACN,MAAM,GACL,GAAG,CAOd;IAED;;;;OAIG;IACH,mBAFa,GAAG,C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AEN,MAAM,QAoBhB;IAED;;;;;;;;OAQG;IACH,qCANW,MAAM,eACN,MAAM,aACN,MAAM,WACN,GAAG,GACD,OAAO,CAAC,GAAG,CAAC,CAKxB;IAED;;;;;;;;;OASG;IACH,+BAPW,MAAM,eACN,MAAM,aACN,MAAM,UACN,MAAM,qBACN,MAAM,GACJ,GAAG,CAKf;IAED;;;OAGG;IACH,yDAHW,MAAM,uBACN,MAAM,QAKhB;IAED;;;;;;;OAOG;IACH,yDALW,MAAM,uBACN,MAAM,GAEL,OAAO,CA6DlB;IAED;;;;OAIG;IACH,sCAJW,MAAM,GAEL,OAAO,CA4ClB;IAED;;;OAGG;IACH,wDAHW,MAAM,6BA2BhB;IAED;;;;;;OAMG;IACH,6BALW,MAAM,UACN,MAAM,4CAEN,MAAM,QAuDhB;IAED;;;;;OAKG;IACH,0BAJW,MAAM,4CAEN,MAAM,QAmBhB;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;;;;;AA5lDD,kCAAkC;AAClC,qCADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAC6D"}
@@ -17,6 +17,8 @@ declare class PictFormMetacontroller extends libPictViewClass {
17
17
  manifest: any;
18
18
  AutoSolveOnFirstRender: boolean;
19
19
  FirstRenderCompleted: boolean;
20
+ injectionTriggerGroupProperties: string[];
21
+ injectionTriggerGroupHashProperties: string[];
20
22
  comprehensionDestinationAddress: any;
21
23
  SupportViewPrototypes: {
22
24
  LifecycleVisualization: typeof import("./support/Pict-View-PSF-LifeCycle-Visualization.js");
@@ -88,16 +90,64 @@ declare class PictFormMetacontroller extends libPictViewClass {
88
90
  AddressTranslation: Record<string, string>;
89
91
  HashTranslation: Record<string, string>;
90
92
  };
93
+ /**
94
+ * Translates a reference to something the manifest owns -- an exact hash or address, or a reference that
95
+ * only starts with one (`Rows.length`, `Rows[0].Line`, `Crate.Items.length`), where the longest address
96
+ * the reference starts with wins.
97
+ *
98
+ * @param {string} pReference - The reference to translate.
99
+ * @param {Record<string, string>} pPrimaryTranslation - Consulted first: hashes for symbols, addresses for address-shaped references.
100
+ * @param {Record<string, string>} pSecondaryTranslation - Consulted second.
101
+ * @param {Record<string, string>} [pPrefixTranslation] - Addresses that a partial reference may start with.
102
+ *
103
+ * @return {string|null} The translated reference, or null when the manifest does not own it.
104
+ */
105
+ translateManifestReference(pReference: string, pPrimaryTranslation: Record<string, string>, pSecondaryTranslation: Record<string, string>, pPrefixTranslation?: Record<string, string>): string | null;
106
+ /**
107
+ * Finds the SERIES / MAP / MULTIROWMAP / MONTECARLO directive in a tokenized solver expression, if there
108
+ * is one, and reads its header the way the expression parser does: which header positions hold an address
109
+ * to iterate over (everything else in a header, keyword or not, is not a reference to translate -- notably
110
+ * the per-row property a MULTIROWMAP variable reads), and which names the body sees as iteration variables
111
+ * rather than as addresses.
112
+ *
113
+ * @param {Array<string>} pTokens - The raw tokens of the expression.
114
+ *
115
+ * @return {{ Code: string, HeaderStart: number, HeaderEnd: number, TranslateIndices: Set<number>, Locals: Set<string> }|null} null when the expression has no directive.
116
+ */
117
+ parseSolverDirectiveScope(pTokens: Array<string>): {
118
+ Code: string;
119
+ HeaderStart: number;
120
+ HeaderEnd: number;
121
+ TranslateIndices: Set<number>;
122
+ Locals: Set<string>;
123
+ } | null;
124
+ /**
125
+ * Collects every trigger group an injected manifest declares and maps it onto a salted hash, so a change
126
+ * in one copy does not run the matching trigger group in another copy of the same manifest.
127
+ *
128
+ * A manifest that means to hear the form it is injected into lists those hashes in `SharedTriggerGroups`
129
+ * at its root; those are left alone.
130
+ *
131
+ * @param {Record<string, any>} pManifest - The manifest being copied.
132
+ * @param {string} pUUID - The salt appended to each hash.
133
+ *
134
+ * @return {Record<string, string>} Original trigger group hash to salted hash.
135
+ */
136
+ buildTriggerGroupTranslation(pManifest: Record<string, any>, pUUID: string): Record<string, string>;
91
137
  /**
92
138
  * Rewrite a solver expression by tokenizing, replacing address/hash tokens, and recomposing.
93
139
  *
94
140
  * @param {string} pExpression - The solver expression string.
95
141
  * @param {Record<string, string>} pHashTranslation - A mapping of original hashes to new hashes for replacement.
96
142
  * @param {Record<string, string>} pAddressTranslation - A mapping of original addresses to new addresses for replacement.
143
+ * @param {{ PrefixAddressTranslation?: Record<string, string>, RowRelative?: boolean }} [pOptions] - PrefixAddressTranslation holds the addresses a partial reference may start with (defaults to pAddressTranslation); RowRelative marks an expression solved against a record of a record set rather than against the manifest.
97
144
  *
98
145
  * @return {string} The rewritten expression, or the original if no changes were made.
99
146
  */
100
- rewriteSolverExpression(pExpression: string, pHashTranslation: Record<string, string>, pAddressTranslation: Record<string, string>): string;
147
+ rewriteSolverExpression(pExpression: string, pHashTranslation: Record<string, string>, pAddressTranslation: Record<string, string>, pOptions?: {
148
+ PrefixAddressTranslation?: Record<string, string>;
149
+ RowRelative?: boolean;
150
+ }): string;
101
151
  /**
102
152
  * Changes:
103
153
  * * The hashes of each section+group to be globally unique.
@@ -216,6 +266,16 @@ declare class PictFormMetacontroller extends libPictViewClass {
216
266
  * @returns {void}
217
267
  */
218
268
  marshalInputToView(pInputHashes: string | string[]): void;
269
+ /**
270
+ * Appends the validation solvers of a manifest being added to the form onto the form's own, in order,
271
+ * skipping any the form already holds so adding the same manifest again does not run its solvers twice.
272
+ *
273
+ * @param {Record<string, any>} pTargetManifest - The form's manifest description, which receives the solvers.
274
+ * @param {Record<string, any>} pSourceManifest - The manifest being added to the form.
275
+ *
276
+ * @return {number} The number of validation solvers added.
277
+ */
278
+ mergeValidationSolvers(pTargetManifest: Record<string, any>, pSourceManifest: Record<string, any>): number;
219
279
  /**
220
280
  * Clears out the manifest description set on the meta controller.
221
281
  */
@@ -271,9 +331,10 @@ declare class PictFormMetacontroller extends libPictViewClass {
271
331
  get isPictMetacontroller(): boolean;
272
332
  }
273
333
  declare namespace PictFormMetacontroller {
274
- export { default_configuration, SortFunction, ManifestDescriptor };
334
+ export { InjectionTranslation, default_configuration, SortFunction, ManifestDescriptor };
275
335
  }
276
336
  import libPictViewClass = require("pict-view");
337
+ declare const InjectionTranslation: Record<string, any>;
277
338
  declare const default_configuration: Record<string, any>;
278
339
  type SortFunction = (a: any, b: any) => number;
279
340
  type ManifestDescriptor = import("manyfest").ManifestDescriptor;
@@ -1 +1 @@
1
- {"version":3,"file":"Pict-View-Form-Metacontroller.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-Form-Metacontroller.js"],"names":[],"mappings":";AAaA;;;GAGG;AAEH;;;;;;GAMG;AACH;IAEC,2DAiCC;IAzBA,yBAA2B;IAE3B,wBAAsF;IAEtF,cAAkC;IAElC,gCAAkC;IAClC,8BAAiC;IAMjC,qCAEqC;IAErC;;;;;;MAOE;IAQH,wCAGC;IARD,kCAGC;IAOD;;;;OAIG;IACH,qBAFa,GAAG,CAaf;IAED;;;;OAIG;IACH,mBAFa,GAAG,CAaf;IAED,yCAgBC;IAED;;;;;OAKG;IACH,kCAHW,aAAa,GACX,IAAI,CAsBhB;IA8BD;;;;OAIG;IACH,WAFa,GAAG,CAMf;IAED,gDAGC;IAED,gDAGC;IAED,+CAGC;IAED;;;;OAIG;IACH,2DAJW,MAAM,GAEL,MAAM,CAAC,MAAM,EAAE,GAAG,CA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CAkDhB;IAED;;;;;;;OAOG;IACH,uEAJW,YAAY,GAEX,IAAI,CAsFf;IAED;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,GAAC,OAAO,CA2C1B;IAED,+CAeC;IAED;;;;;;;;;OASG;IACH,qCAHW,MAAM,GAAC,MAAM,EAAE,GACb,IAAI,CAahB;IAED;;;;;;;;OAQG;IACH,iCAHW,MAAM,GAAC,MAAM,EAAE,GACb,IAAI,CA2BhB;IAED;;OAEG;IACH,iCAGC;IADA,yBAA+B;IAGhC;;;;;;;OAOG;IACH,kFAJW,MAAM,GAEJ,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAmLtC;IA3JC,gCAA0D;IA6J5D;;;;OAIG;IACH,gCAHW,MAAM,qBACN,MAAM,QA8BhB;IAED;;;OAGG;IACH,yDAHW,MAAM,uBACN,MAAM,QAKhB;IAED;;;;;;;OAOG;IACH,yDALW,MAAM,uBACN,MAAM,GAEL,OAAO,CA6DlB;IAED;;;;OAIG;IACH,sCAJW,MAAM,GAEL,OAAO,CA4ClB;IAED;;;OAGG;IACH,wDAHW,MAAM,6BA2BhB;IAED,oCAgBC;IAED;;;;OAIG;IACH,4BAFa,OAAO,CAKnB;CACD;;;;;qCAGU,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;oBAznDjB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,MAAM;0BAC1B,OAAO,UAAU,EAAE,kBAAkB"}
1
+ {"version":3,"file":"Pict-View-Form-Metacontroller.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-Form-Metacontroller.js"],"names":[],"mappings":";AAqCA;;;GAGG;AAEH;;;;;;GAMG;AACH;IAEC,2DAuCC;IA/BA,yBAA2B;IAE3B,wBAAsF;IAEtF,cAAkC;IAElC,gCAAkC;IAClC,8BAAiC;IAKjC,0CAAuF;IACvF,8CAAgG;IAMhG,qCAEqC;IAErC;;;;;;MAOE;IAQH,w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