pict-section-form 1.0.104 → 1.0.105

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.
@@ -76,6 +76,7 @@ class PostcardApplication extends libPictApplication
76
76
 
77
77
  // Set a custom address for all the views to marshal to.
78
78
  // This can also be set on specific views (same property)
79
+ this.pict.AppData.PostKard = { };
79
80
  this.pict.views.PictFormMetacontroller.viewMarshalDestination = 'AppData.PostKard';
80
81
 
81
82
  this.pict.views.PostcardNavigation.render()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.104",
3
+ "version": "1.0.105",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -31,7 +31,7 @@
31
31
  "browser-env": "^3.3.0",
32
32
  "eslint": "^9.26.0",
33
33
  "jquery": "^3.7.1",
34
- "pict": "^1.0.278",
34
+ "pict": "^1.0.281",
35
35
  "pict-application": "^1.0.27",
36
36
  "pict-service-commandlineutility": "^1.0.15",
37
37
  "quackage": "^1.0.42",
@@ -5,7 +5,7 @@ module.exports = require('./views/Pict-View-DynamicForm.js');
5
5
  //module.exports.default_configuration = require('./views/Pict-View-DynamicForm-DefaultConfiguration.json');
6
6
 
7
7
  // The dynamic application dependencies
8
- module.exports.PictDynamicApplicationService = require('./services/Pict-Service-DynamicApplication.js');
8
+ module.exports.PictDynamicFormDependencyManager = require('./services/Pict-Service-DynamicFormDependencyManager.js');
9
9
 
10
10
  // The base provider class for form section templates; meant to be subclassed
11
11
  module.exports.PictFormTemplateProvider = require('./providers/Pict-Provider-DynamicTemplates.js');
@@ -23,7 +23,7 @@ const libPictLayoutCustom = require('../providers/layouts/Pict-Layout-Custom.js'
23
23
 
24
24
  const libInformary = require('../providers/Pict-Provider-Informary.js');
25
25
 
26
- class PictDynamicApplication extends libFableServiceProviderBase
26
+ class PictDynamicFormDependencyManager extends libFableServiceProviderBase
27
27
  {
28
28
  constructor(pFable, pOptions, pServiceHash)
29
29
  {
@@ -63,7 +63,7 @@ class PictDynamicApplication extends libFableServiceProviderBase
63
63
  }
64
64
  }
65
65
 
66
- module.exports = PictDynamicApplication;
66
+ module.exports = PictDynamicFormDependencyManager;
67
67
 
68
68
  /** @type {Record<string, any>} */
69
- PictDynamicApplication.default_configuration = { };
69
+ PictDynamicFormDependencyManager.default_configuration = { };
@@ -63,7 +63,7 @@ class PictViewDynamicForm extends libPictViewClass
63
63
  /** @type {import('pict') & { PictApplication: import('pict-application'), log: any; instantiateServiceProviderWithoutRegistration: (hash: string) => any; }} */
64
64
  this.pict;
65
65
 
66
- if (!this.fable.PictDynamicApplication)
66
+ if (!this.fable.PictDynamicFormDependencyManager)
67
67
  {
68
68
  throw new Error('PictSectionForm instantiation attempt without a PictDynamicApplication service in fable -- cannot instantiate.');
69
69
  }
@@ -1,6 +1,6 @@
1
1
  const libPictViewClass = require('pict-view');
2
2
 
3
- const libPictDynamicApplication = require(`../services/Pict-Service-DynamicApplication.js`);
3
+ const libPictDynamicFormDependencyManager = require(`../services/Pict-Service-DynamicFormDependencyManager.js`);
4
4
  const libPictViewDynamicForm = require('./Pict-View-DynamicForm.js');
5
5
 
6
6
  // TODO: Potentially create an internalized list of views for this to manage, separate from the pict.views object
@@ -26,7 +26,7 @@ class PictFormMetacontroller extends libPictViewClass
26
26
  this.serviceType = 'PictFormMetacontroller';
27
27
 
28
28
  // Load the dynamic application dependencies if they don't exist
29
- this.fable.addAndInstantiateSingletonService('PictDynamicApplication', libPictDynamicApplication.default_configuration, libPictDynamicApplication);
29
+ this.fable.addAndInstantiateSingletonService('PictDynamicFormDependencyManager', libPictDynamicFormDependencyManager.default_configuration, libPictDynamicFormDependencyManager);
30
30
 
31
31
  this.lastRenderedViews = [];
32
32
 
@@ -78,7 +78,7 @@ suite
78
78
 
79
79
  tmpViewConfiguration.Manifests = { Section: manifestPostcard };
80
80
 
81
- _Pict.addAndInstantiateSingletonService('PictDynamicApplication', libPictSectionForm.PictDynamicApplicationService.default_configuration, libPictSectionForm.PictDynamicApplicationService);
81
+ _Pict.addAndInstantiateSingletonService('PictDynamicFormDependencyManager', libPictSectionForm.PictDynamicFormDependencyManager.default_configuration, libPictSectionForm.PictDynamicFormDependencyManager);
82
82
 
83
83
  let _PictSectionForm = _Pict.addView(tmpViewHash, tmpViewConfiguration, libPictSectionForm);
84
84
 
@@ -1,7 +1,7 @@
1
1
  declare const _exports: {
2
2
  new (pFable: any, pOptions: any, pServiceHash: any): import("./views/Pict-View-DynamicForm.js");
3
3
  default_configuration: Record<string, any>;
4
- PictDynamicApplicationService: typeof import("./services/Pict-Service-DynamicApplication.js");
4
+ PictDynamicFormDependencyManager: typeof import("./services/Pict-Service-DynamicFormDependencyManager.js");
5
5
  PictFormTemplateProvider: typeof import("./providers/Pict-Provider-DynamicTemplates.js");
6
6
  PictInputExtensionProvider: typeof import("./providers/Pict-Provider-InputExtension.js");
7
7
  PictFormMetacontroller: typeof import("./views/Pict-View-Form-Metacontroller.js");
@@ -1,5 +1,5 @@
1
- export = PictDynamicApplication;
2
- declare class PictDynamicApplication {
1
+ export = PictDynamicFormDependencyManager;
2
+ declare class PictDynamicFormDependencyManager {
3
3
  constructor(pFable: any, pOptions: any, pServiceHash: any);
4
4
  /** @type {import('pict') & { addAndInstantiateSingletonService: (hash: string, options: any, prototype: any) => any }} */
5
5
  fable: import("pict") & {
@@ -10,7 +10,7 @@ declare class PictDynamicApplication {
10
10
  /** @type {string} */
11
11
  UUID: string;
12
12
  }
13
- declare namespace PictDynamicApplication {
13
+ declare namespace PictDynamicFormDependencyManager {
14
14
  let default_configuration: Record<string, any>;
15
15
  }
16
- //# sourceMappingURL=Pict-Service-DynamicApplication.d.ts.map
16
+ //# sourceMappingURL=Pict-Service-DynamicFormDependencyManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pict-Service-DynamicFormDependencyManager.d.ts","sourceRoot":"","sources":["../../../source/services/Pict-Service-DynamicFormDependencyManager.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;;+BAIU,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC"}
@@ -1 +0,0 @@
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;;+BAIU,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC"}