pict-section-form 1.0.51 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/source/providers/Pict-Provider-InputExtension.js +6 -6
- package/source/views/Pict-View-Form-Metacontroller.js +11 -5
- package/types/source/application/Pict-Application-Form.d.ts +2 -3
- package/types/source/application/Pict-Application-Form.d.ts.map +1 -1
- package/types/source/providers/Pict-Provider-InputExtension.d.ts +12 -12
- package/types/source/providers/Pict-Provider-InputExtension.d.ts.map +1 -1
- package/types/source/providers/inputs/Pict-Provider-Input-DateTime.d.ts +0 -21
- package/types/source/providers/inputs/Pict-Provider-Input-DateTime.d.ts.map +1 -1
- package/types/source/providers/inputs/Pict-Provider-Input-EntityBundleRequest.d.ts +0 -12
- package/types/source/providers/inputs/Pict-Provider-Input-EntityBundleRequest.d.ts.map +1 -1
- package/types/source/providers/inputs/Pict-Provider-Input-Select.d.ts +0 -12
- package/types/source/providers/inputs/Pict-Provider-Input-Select.d.ts.map +1 -1
- package/types/source/providers/inputs/Pict-Provider-Input-TabSelector.d.ts +0 -11
- package/types/source/providers/inputs/Pict-Provider-Input-TabSelector.d.ts.map +1 -1
- package/types/source/views/Pict-View-DynamicForm.d.ts +10 -1
- package/types/source/views/Pict-View-DynamicForm.d.ts.map +1 -1
- package/types/source/views/Pict-View-Form-Metacontroller.d.ts +3 -9
- 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.
|
|
3
|
+
"version": "1.0.52",
|
|
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.17.0",
|
|
33
33
|
"jquery": "^3.7.1",
|
|
34
|
-
"pict": "^1.0.
|
|
34
|
+
"pict": "^1.0.231",
|
|
35
35
|
"pict-application": "^1.0.23",
|
|
36
36
|
"pict-service-commandlineutility": "^1.0.15",
|
|
37
37
|
"quackage": "^1.0.36",
|
|
@@ -39,7 +39,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
39
39
|
* @param {Object} pGroup - The group definition object.
|
|
40
40
|
* @param {Object} pRow - The Row index.
|
|
41
41
|
* @param {Object} pInput - The input object.
|
|
42
|
-
* @param {
|
|
42
|
+
* @param {any} pValue - The value of the input object
|
|
43
43
|
* @param {string} pHTMLSelector - The HTML selector for the input object
|
|
44
44
|
*/
|
|
45
45
|
onInputInitialize(pView, pGroup, pRow, pInput, pValue, pHTMLSelector)
|
|
@@ -55,7 +55,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
55
55
|
* @param {Object} pView - The view object.
|
|
56
56
|
* @param {Object} pGroup - The group definition object.
|
|
57
57
|
* @param {Object} pInput - The input object.
|
|
58
|
-
* @param {
|
|
58
|
+
* @param {any} pValue - The value of the input object
|
|
59
59
|
* @param {string} pHTMLSelector - The HTML selector for the input object (it will return an array).
|
|
60
60
|
* @param {number} pRowIndex - The row index of the tabular data
|
|
61
61
|
*/
|
|
@@ -130,7 +130,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
130
130
|
*
|
|
131
131
|
* @param {Object} pView - The view object.
|
|
132
132
|
* @param {Object} pInput - The input object.
|
|
133
|
-
* @param {
|
|
133
|
+
* @param {any} pValue - The value from AppData.
|
|
134
134
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
135
135
|
* @returns {boolean} - Returns true.
|
|
136
136
|
*/
|
|
@@ -144,7 +144,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
144
144
|
*
|
|
145
145
|
* @param {Object} pView - The view object.
|
|
146
146
|
* @param {Object} pInput - The input object.
|
|
147
|
-
* @param {
|
|
147
|
+
* @param {any} pValue - The value from AppData.
|
|
148
148
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
149
149
|
* @param {number} pRowIndex - The row index of the tabular data.
|
|
150
150
|
* @returns {boolean} - Returns true.
|
|
@@ -160,7 +160,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
160
160
|
*
|
|
161
161
|
* @param {Object} pView - The view object.
|
|
162
162
|
* @param {Object} pInput - The input object.
|
|
163
|
-
* @param {
|
|
163
|
+
* @param {any} pValue - The value from AppData.
|
|
164
164
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
165
165
|
* @param {string} pEvent - The event hash that is expected to be triggered.
|
|
166
166
|
* @returns {boolean} - Returns true.
|
|
@@ -175,7 +175,7 @@ class PictInputExtensionProvider extends libPictProvider
|
|
|
175
175
|
*
|
|
176
176
|
* @param {Object} pView - The view object.
|
|
177
177
|
* @param {Object} pInput - The input object.
|
|
178
|
-
* @param {
|
|
178
|
+
* @param {any} pValue - The value from AppData.
|
|
179
179
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
180
180
|
* @param {number} pRowIndex - The row index of the tabular data.
|
|
181
181
|
* @param {string} pEvent - The event hash that is expected to be triggered.
|
|
@@ -90,9 +90,15 @@ class PictFormMetacontroller extends libPictViewClass
|
|
|
90
90
|
* Executes after the view is rendered.
|
|
91
91
|
* It regenerates the form section templates, renders the form sections,
|
|
92
92
|
* and optionally populates the form with data.
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
|
+
* @param {import('pict-view').Renderable} pRenderable - The renderable that was rendered.
|
|
95
|
+
* @param {string} pRenderDestinationAddress - The address where the renderable was rendered.
|
|
96
|
+
* @param {any} pRecord - The record (data) that was used by the renderable.
|
|
97
|
+
* @param {string} pContent - The content that was rendered.
|
|
98
|
+
*
|
|
99
|
+
* @return {boolean} The result of the superclass's onAfterRender method.
|
|
94
100
|
*/
|
|
95
|
-
onAfterRender()
|
|
101
|
+
onAfterRender(pRenderable, pRenderDestinationAddress, pRecord, pContent)
|
|
96
102
|
{
|
|
97
103
|
this.regenerateFormSectionTemplates();
|
|
98
104
|
this.renderFormSections();
|
|
@@ -102,7 +108,7 @@ class PictFormMetacontroller extends libPictViewClass
|
|
|
102
108
|
this.marshalToView();
|
|
103
109
|
}
|
|
104
110
|
|
|
105
|
-
return super.onAfterRender();
|
|
111
|
+
return super.onAfterRender(pRenderable, pRenderDestinationAddress, pRecord, pContent);
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
/**
|
|
@@ -567,14 +573,14 @@ class PictFormMetacontroller extends libPictViewClass
|
|
|
567
573
|
* Add a dynamic view to the metacontroller.
|
|
568
574
|
* @param {string} pViewHash
|
|
569
575
|
* @param {Object} pViewConfiguration
|
|
570
|
-
* @
|
|
576
|
+
* @return {libPictViewDynamicForm}
|
|
571
577
|
*/
|
|
572
578
|
addDynamicView(pViewHash, pViewConfiguration)
|
|
573
579
|
{
|
|
574
580
|
if (pViewHash in this.pict.views)
|
|
575
581
|
{
|
|
576
582
|
this.log.error(`addDynamicView() called with a view hash that already exists [${pViewHash}].`);
|
|
577
|
-
return
|
|
583
|
+
return null;
|
|
578
584
|
}
|
|
579
585
|
|
|
580
586
|
return this.pict.addView(pViewHash, pViewConfiguration, libPictViewDynamicForm);
|
|
@@ -7,10 +7,8 @@ export = PictSectionFormApplication;
|
|
|
7
7
|
* @class
|
|
8
8
|
* @extends libPictApplication
|
|
9
9
|
*/
|
|
10
|
-
declare class PictSectionFormApplication {
|
|
10
|
+
declare class PictSectionFormApplication extends libPictApplication {
|
|
11
11
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
12
|
-
/** @type {import('pict') & import('fable')} */
|
|
13
|
-
pict: import("pict") & any;
|
|
14
12
|
/**
|
|
15
13
|
* Marshals data from any rendered dynamic views to application data.
|
|
16
14
|
*/
|
|
@@ -23,6 +21,7 @@ declare class PictSectionFormApplication {
|
|
|
23
21
|
declare namespace PictSectionFormApplication {
|
|
24
22
|
export { default_configuration };
|
|
25
23
|
}
|
|
24
|
+
import libPictApplication = require("pict-application");
|
|
26
25
|
declare namespace default_configuration {
|
|
27
26
|
let Name: string;
|
|
28
27
|
let Hash: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Application-Form.d.ts","sourceRoot":"","sources":["../../../source/application/Pict-Application-Form.js"],"names":[],"mappings":";AAIA;;;;;;;GAOG;AACH;IAEC,2DAWC;
|
|
1
|
+
{"version":3,"file":"Pict-Application-Form.d.ts","sourceRoot":"","sources":["../../../source/application/Pict-Application-Form.js"],"names":[],"mappings":";AAIA;;;;;;;GAOG;AACH;IAEC,2DAWC;IAED;;OAEG;IACH,6CAGC;IAED;;OAEG;IACH,6CAGC;CACD"}
|
|
@@ -22,10 +22,10 @@ declare class PictInputExtensionProvider {
|
|
|
22
22
|
* @param {Object} pGroup - The group definition object.
|
|
23
23
|
* @param {Object} pRow - The Row index.
|
|
24
24
|
* @param {Object} pInput - The input object.
|
|
25
|
-
* @param {
|
|
25
|
+
* @param {any} pValue - The value of the input object
|
|
26
26
|
* @param {string} pHTMLSelector - The HTML selector for the input object
|
|
27
27
|
*/
|
|
28
|
-
onInputInitialize(pView: any, pGroup: any, pRow: any, pInput: any, pValue:
|
|
28
|
+
onInputInitialize(pView: any, pGroup: any, pRow: any, pInput: any, pValue: any, pHTMLSelector: string): boolean;
|
|
29
29
|
/**
|
|
30
30
|
* A tabular input has been initialized (rendered into the DOM)
|
|
31
31
|
*
|
|
@@ -34,11 +34,11 @@ declare class PictInputExtensionProvider {
|
|
|
34
34
|
* @param {Object} pView - The view object.
|
|
35
35
|
* @param {Object} pGroup - The group definition object.
|
|
36
36
|
* @param {Object} pInput - The input object.
|
|
37
|
-
* @param {
|
|
37
|
+
* @param {any} pValue - The value of the input object
|
|
38
38
|
* @param {string} pHTMLSelector - The HTML selector for the input object (it will return an array).
|
|
39
39
|
* @param {number} pRowIndex - The row index of the tabular data
|
|
40
40
|
*/
|
|
41
|
-
onInputInitializeTabular(pView: any, pGroup: any, pInput: any, pValue:
|
|
41
|
+
onInputInitializeTabular(pView: any, pGroup: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number): boolean;
|
|
42
42
|
/**
|
|
43
43
|
* Called when the data change function is called
|
|
44
44
|
*
|
|
@@ -89,45 +89,45 @@ declare class PictInputExtensionProvider {
|
|
|
89
89
|
*
|
|
90
90
|
* @param {Object} pView - The view object.
|
|
91
91
|
* @param {Object} pInput - The input object.
|
|
92
|
-
* @param {
|
|
92
|
+
* @param {any} pValue - The value from AppData.
|
|
93
93
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
94
94
|
* @returns {boolean} - Returns true.
|
|
95
95
|
*/
|
|
96
|
-
onDataRequest(pView: any, pInput: any, pValue:
|
|
96
|
+
onDataRequest(pView: any, pInput: any, pValue: any, pHTMLSelector: string): boolean;
|
|
97
97
|
/**
|
|
98
98
|
* Handles data requests for the Pict-Provider-InputExtension.
|
|
99
99
|
*
|
|
100
100
|
* @param {Object} pView - The view object.
|
|
101
101
|
* @param {Object} pInput - The input object.
|
|
102
|
-
* @param {
|
|
102
|
+
* @param {any} pValue - The value from AppData.
|
|
103
103
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
104
104
|
* @param {number} pRowIndex - The row index of the tabular data.
|
|
105
105
|
* @returns {boolean} - Returns true.
|
|
106
106
|
*/
|
|
107
|
-
onDataRequestTabular(pView: any, pInput: any, pValue:
|
|
107
|
+
onDataRequestTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number): boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Handles events for the Pict-Provider-InputExtension.
|
|
110
110
|
*
|
|
111
111
|
* @param {Object} pView - The view object.
|
|
112
112
|
* @param {Object} pInput - The input object.
|
|
113
|
-
* @param {
|
|
113
|
+
* @param {any} pValue - The value from AppData.
|
|
114
114
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
115
115
|
* @param {string} pEvent - The event hash that is expected to be triggered.
|
|
116
116
|
* @returns {boolean} - Returns true.
|
|
117
117
|
*/
|
|
118
|
-
onEvent(pView: any, pInput: any, pValue:
|
|
118
|
+
onEvent(pView: any, pInput: any, pValue: any, pHTMLSelector: string, pEvent: string): boolean;
|
|
119
119
|
/**
|
|
120
120
|
* Handles events for the Pict-Provider-InputExtension.
|
|
121
121
|
*
|
|
122
122
|
* @param {Object} pView - The view object.
|
|
123
123
|
* @param {Object} pInput - The input object.
|
|
124
|
-
* @param {
|
|
124
|
+
* @param {any} pValue - The value from AppData.
|
|
125
125
|
* @param {string} pHTMLSelector - The HTML selector.
|
|
126
126
|
* @param {number} pRowIndex - The row index of the tabular data.
|
|
127
127
|
* @param {string} pEvent - The event hash that is expected to be triggered.
|
|
128
128
|
* @returns {boolean} - Returns true.
|
|
129
129
|
*/
|
|
130
|
-
onEventTabular(pView: any, pInput: any, pValue:
|
|
130
|
+
onEventTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number, pEvent: string): boolean;
|
|
131
131
|
}
|
|
132
132
|
declare namespace PictInputExtensionProvider {
|
|
133
133
|
export { _DefaultProviderConfiguration as default_configuration };
|
|
@@ -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;IAED;;;;;;;;;;;OAWG;IACH,2EAHW,
|
|
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;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"}
|
|
@@ -59,27 +59,6 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
|
|
|
59
59
|
* @returns {any} - The result of the data marshaling.
|
|
60
60
|
*/
|
|
61
61
|
onDataMarshalToFormTabular(pView: any, pGroup: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number): any;
|
|
62
|
-
/**
|
|
63
|
-
* Handles the data request event for the specified input.
|
|
64
|
-
*
|
|
65
|
-
* @param {Object} pView - The view object.
|
|
66
|
-
* @param {Object} pInput - The input object.
|
|
67
|
-
* @param {any} pValue - The value to be assigned.
|
|
68
|
-
* @param {string} pHTMLSelector - The HTML selector.
|
|
69
|
-
* @returns {boolean} - Returns true if the data request is successful, otherwise false.
|
|
70
|
-
*/
|
|
71
|
-
onDataRequest(pView: any, pInput: any, pValue: any, pHTMLSelector: string): boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Handles the data request event for the specified input when in a tabular section.
|
|
74
|
-
*
|
|
75
|
-
* @param {Object} pView - The view object.
|
|
76
|
-
* @param {Object} pInput - The input object.
|
|
77
|
-
* @param {any} pValue - The value to be assigned.
|
|
78
|
-
* @param {string} pHTMLSelector - The HTML selector.
|
|
79
|
-
* @param {number} pRowIndex - The index of the row.
|
|
80
|
-
* @returns {boolean} - Returns true if the data request is successful, otherwise false.
|
|
81
|
-
*/
|
|
82
|
-
onDataRequestTabular(pView: any, pInput: any, pValue: any, pHTMLSelector: string, pRowIndex: number): boolean;
|
|
83
62
|
}
|
|
84
63
|
import libPictSectionInputExtension = require("../Pict-Provider-InputExtension.js");
|
|
85
64
|
//# sourceMappingURL=Pict-Provider-Input-DateTime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Provider-Input-DateTime.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-DateTime.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,4CAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;;;;;OAYG;IACH,6EAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAMf;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAMf;
|
|
1
|
+
{"version":3,"file":"Pict-Provider-Input-DateTime.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-DateTime.js"],"names":[],"mappings":";AAEA;;;;GAIG;AACH;IAEC,2DAQC;IAJA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT;;;;;OAKG;IACH,qCAHW,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,4CAJW,MAAM,aACN,MAAM,GACJ,MAAM,CAKlB;IAED;;;;;;;;;;;;OAYG;IACH,6EAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAMf;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAMf;CAmED"}
|
|
@@ -47,18 +47,6 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
|
|
|
47
47
|
log: any;
|
|
48
48
|
gatherEntitySet(fCallback: any, pEntityInformation: any, pView: any, pInput: any, pValue: any): any;
|
|
49
49
|
gatherDataFromServer(pView: any, pInput: any, pValue: any, pHTMLSelector: any): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Initializes the input element for the Pict provider select input.
|
|
52
|
-
*
|
|
53
|
-
* @param {Object} pView - The view object.
|
|
54
|
-
* @param {Object} pGroup - The group object.
|
|
55
|
-
* @param {Object} pRow - The row object.
|
|
56
|
-
* @param {Object} pInput - The input object.
|
|
57
|
-
* @param {any} pValue - The input value.
|
|
58
|
-
* @param {string} pHTMLSelector - The HTML selector.
|
|
59
|
-
* @returns {boolean} - Returns true if the input element is successfully initialized, false otherwise.
|
|
60
|
-
*/
|
|
61
|
-
onInputInitialize(pView: any, pGroup: any, pRow: any, pInput: any, pValue: any, pHTMLSelector: string): boolean;
|
|
62
50
|
/**
|
|
63
51
|
* Initializes a tabular input element.
|
|
64
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Provider-Input-EntityBundleRequest.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-EntityBundleRequest.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,4DAA4D;IAC5D,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,aAAa,EAAE,MAAM,GAAG,CAAA;KAAE,CAC9C;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT,oGA4DC;IAED,wFAgDC;
|
|
1
|
+
{"version":3,"file":"Pict-Provider-Input-EntityBundleRequest.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-EntityBundleRequest.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH;IAEC,2DAUC;IANA,6BAA6B;IAC7B,MADW,OAAO,MAAM,CAAC,CAChB;IACT,4DAA4D;IAC5D,OADW,OAAO,MAAM,CAAC,GAAG;QAAE,aAAa,EAAE,MAAM,GAAG,CAAA;KAAE,CAC9C;IACV,kBAAkB;IAClB,KADW,GAAG,CACN;IAGT,oGA4DC;IAED,wFAgDC;IAoBD;;;;;;;;;;OAUG;IACH,uEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;OAQG;IACH,8CAJW,GAAG,iBACH,MAAM,GACJ,GAAG,CAMf;IAED;;;;;;;;;OASG;IACH,qDALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAMf;IAED;;;;;;;;;;OAUG;IACH,6EAJW,GAAG,iBACH,MAAM,GACJ,OAAO,CAKnB;IAED;;;;;;;;;;OAUG;IACH,yEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAKf;CACD"}
|
|
@@ -37,18 +37,6 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
|
|
|
37
37
|
* @returns {string} - The generated tabular select dropdown ID.
|
|
38
38
|
*/
|
|
39
39
|
getTabularSelectDropdownID(pInputHTMLID: string, pRowIndex: number): string;
|
|
40
|
-
/**
|
|
41
|
-
* Initializes the input element for the Pict provider select input.
|
|
42
|
-
*
|
|
43
|
-
* @param {Object} pView - The view object.
|
|
44
|
-
* @param {Object} pGroup - The group object.
|
|
45
|
-
* @param {Object} pRow - The row object.
|
|
46
|
-
* @param {Object} pInput - The input object.
|
|
47
|
-
* @param {any} pValue - The input value.
|
|
48
|
-
* @param {string} pHTMLSelector - The HTML selector.
|
|
49
|
-
* @returns {boolean} - Returns true if the input element is successfully initialized, false otherwise.
|
|
50
|
-
*/
|
|
51
|
-
onInputInitialize(pView: any, pGroup: any, pRow: any, pInput: any, pValue: any, pHTMLSelector: string): boolean;
|
|
52
40
|
/**
|
|
53
41
|
* Initializes a tabular input element.
|
|
54
42
|
*
|
|
@@ -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;
|
|
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;IA+CD;;;;;;;;;;OAUG;IACH,uEALW,GAAG,iBACH,MAAM,aACN,MAAM,GACJ,GAAG,CAoCf;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"}
|
|
@@ -20,17 +20,6 @@ declare class CustomInputHandler extends libPictSectionInputExtension {
|
|
|
20
20
|
* @returns {string} - The generated HTML ID for the select input element.
|
|
21
21
|
*/
|
|
22
22
|
getTabSelectorInputHTMLID(pInputHTMLID: string): string;
|
|
23
|
-
/**
|
|
24
|
-
* Initializes the input element for the Pict provider select input.
|
|
25
|
-
* @param {Object} pView - The view object.
|
|
26
|
-
* @param {Object} pGroup - The group object.
|
|
27
|
-
* @param {Object} pRow - The row object.
|
|
28
|
-
* @param {Object} pInput - The input object.
|
|
29
|
-
* @param {any} pValue - The input value.
|
|
30
|
-
* @param {string} pHTMLTabSelector - The HTML selector.
|
|
31
|
-
* @returns {boolean} - Returns true if the input element is successfully initialized, false otherwise.
|
|
32
|
-
*/
|
|
33
|
-
onInputInitialize(pView: any, pGroup: any, pRow: any, pInput: any, pValue: any, pHTMLTabSelector: string): boolean;
|
|
34
23
|
/**
|
|
35
24
|
* Handles the change event for the data in the select input.
|
|
36
25
|
* @param {Object} pView - The view object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-Provider-Input-TabSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabSelector.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;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;
|
|
1
|
+
{"version":3,"file":"Pict-Provider-Input-TabSelector.d.ts","sourceRoot":"","sources":["../../../../source/providers/inputs/Pict-Provider-Input-TabSelector.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;;;;OAIG;IACH,wCAHW,MAAM,GACJ,MAAM,CAKlB;IA6CD;;;;;;;OAOG;IACH,8CAJW,GAAG,oBACH,MAAM,GACJ,GAAG,CAKf;IAED;;;;;;;;;OASG;IACH,6EAJW,GAAG,oBACH,MAAM,GACJ,OAAO,CAoCnB;IAED;;;;;;;OAOG;IACH,+CAJW,GAAG,oBACH,MAAM,GACJ,GAAG,CAQf;CACD"}
|
|
@@ -11,7 +11,7 @@ declare class PictViewDynamicForm extends libPictViewClass {
|
|
|
11
11
|
constructor(pFable: any, pOptions: any, pServiceHash: any);
|
|
12
12
|
/** @type {import('pict') & { PictApplication: import('pict-application'), log: any; instantiateServiceProviderWithoutRegistration: (hash: string) => any; }} */
|
|
13
13
|
pict: import("pict") & {
|
|
14
|
-
PictApplication:
|
|
14
|
+
PictApplication: import("pict-application");
|
|
15
15
|
log: any;
|
|
16
16
|
instantiateServiceProviderWithoutRegistration: (hash: string) => any;
|
|
17
17
|
};
|
|
@@ -151,6 +151,15 @@ declare class PictViewDynamicForm extends libPictViewClass {
|
|
|
151
151
|
* @returns {any} The result of the solve operation.
|
|
152
152
|
*/
|
|
153
153
|
onSolve(): any;
|
|
154
|
+
/**
|
|
155
|
+
* Lifecycle hook that triggers after the view is rendered.
|
|
156
|
+
*
|
|
157
|
+
* @param {any} [pRenderable] - The renderable that was rendered.
|
|
158
|
+
* @param {string} [pRenderDestinationAddress] - The address where the renderable was rendered.
|
|
159
|
+
* @param {any} [pRecord] - The record (data) that was used by the renderable.
|
|
160
|
+
* @param {string} [pContent] - The content that was rendered.
|
|
161
|
+
*/
|
|
162
|
+
onAfterRender(pRenderable?: any, pRenderDestinationAddress?: string, pRecord?: any, pContent?: string): boolean;
|
|
154
163
|
/**
|
|
155
164
|
* Executes layout provider functions based on the given function name.
|
|
156
165
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":";AAQA;;;;;;;GAOG;AACH;IAEC,2DAmGC;IAzDA,gKAAgK;IAChK,MADW,OAAO,MAAM,CAAC,GAAG;QAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"Pict-View-DynamicForm.d.ts","sourceRoot":"","sources":["../../../source/views/Pict-View-DynamicForm.js"],"names":[],"mappings":"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"}
|
|
@@ -33,13 +33,6 @@ declare class PictFormMetacontroller extends libPictViewClass {
|
|
|
33
33
|
* @returns {void}
|
|
34
34
|
*/
|
|
35
35
|
onAfterInitializeAsync(fCallback: ErrorCallback): void;
|
|
36
|
-
/**
|
|
37
|
-
* Executes after the view is rendered.
|
|
38
|
-
* It regenerates the form section templates, renders the form sections,
|
|
39
|
-
* and optionally populates the form with data.
|
|
40
|
-
* @returns {any} The result of the super class's onAfterRender method.
|
|
41
|
-
*/
|
|
42
|
-
onAfterRender(): any;
|
|
43
36
|
/**
|
|
44
37
|
* Executes the solve operation -- automatically solves all dynamic views that are present.
|
|
45
38
|
*
|
|
@@ -120,9 +113,9 @@ declare class PictFormMetacontroller extends libPictViewClass {
|
|
|
120
113
|
* Add a dynamic view to the metacontroller.
|
|
121
114
|
* @param {string} pViewHash
|
|
122
115
|
* @param {Object} pViewConfiguration
|
|
123
|
-
* @
|
|
116
|
+
* @return {libPictViewDynamicForm}
|
|
124
117
|
*/
|
|
125
|
-
addDynamicView(pViewHash: string, pViewConfiguration: any):
|
|
118
|
+
addDynamicView(pViewHash: string, pViewConfiguration: any): libPictViewDynamicForm;
|
|
126
119
|
/**
|
|
127
120
|
* Returns whether the object is a Pict Metacontroller.
|
|
128
121
|
*
|
|
@@ -134,6 +127,7 @@ declare namespace PictFormMetacontroller {
|
|
|
134
127
|
export { default_configuration, SortFunction };
|
|
135
128
|
}
|
|
136
129
|
import libPictViewClass = require("pict-view");
|
|
130
|
+
import libPictViewDynamicForm = require("./Pict-View-DynamicForm.js");
|
|
137
131
|
declare namespace default_configuration {
|
|
138
132
|
let AutoRender: boolean;
|
|
139
133
|
let AutoPopulateDefaultObject: boolean;
|
|
@@ -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;
|
|
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"}
|