pict-section-recordset 1.0.10 → 1.0.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-recordset",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Pict dynamic record set management views",
5
5
  "main": "source/Pict-Section-RecordSet.js",
6
6
  "directories": {
@@ -33,7 +33,7 @@
33
33
  "browser-env": "^3.3.0",
34
34
  "eslint": "^9.27.0",
35
35
  "jquery": "^3.7.1",
36
- "pict": "^1.0.252",
36
+ "pict": "^1.0.257",
37
37
  "pict-application": "^1.0.25",
38
38
  "pict-service-commandlineutility": "^1.0.15",
39
39
  "quackage": "^1.0.41",
@@ -43,7 +43,7 @@
43
43
  "fable-serviceproviderbase": "^3.0.15",
44
44
  "pict-provider": "^1.0.3",
45
45
  "pict-router": "^1.0.3",
46
- "pict-section-form": "^1.0.90",
46
+ "pict-section-form": "^1.0.95",
47
47
  "pict-template": "^1.0.10",
48
48
  "pict-view": "^1.0.60"
49
49
  },
@@ -33,6 +33,19 @@ class RecordSetProvider extends libRecordSetProviderBase
33
33
  this._Schema = { };
34
34
  }
35
35
 
36
+ /** @return {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
37
+ get entityProvider()
38
+ {
39
+ /** @type {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
40
+ //TODO: figure out a pattern to share this with other consumers, to consolidate cache
41
+ this._EntityProvider = this.pict.instantiateServiceProviderWithoutRegistration('EntityProvider');
42
+ if (this.options.URLPrefix)
43
+ {
44
+ this._EntityProvider.options.urlPrefix = this.options.URLPrefix;
45
+ }
46
+ return this._EntityProvider;
47
+ }
48
+
36
49
  /**
37
50
  * @typedef {(error?: Error, result?: T) => void} RecordSetCallback
38
51
  * @template T = Record<string, any>
@@ -301,16 +314,6 @@ class RecordSetProvider extends libRecordSetProviderBase
301
314
  return pRecord;
302
315
  }
303
316
 
304
- onBeforeInitialize()
305
- {
306
- /** @type {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
307
- this.entityProvider = this.pict.instantiateServiceProviderWithoutRegistration('EntityProvider');
308
- if (this.options.URLPrefix)
309
- {
310
- this.entityProvider.options.urlPrefix = this.options.URLPrefix;
311
- }
312
- }
313
-
314
317
  /**
315
318
  * @param {(error?: Error) => void} fCallback - The callback function.
316
319
  */
@@ -12,6 +12,10 @@ declare class RecordSetProvider extends libRecordSetProviderBase {
12
12
  pict: any & import("pict");
13
13
  /** @type {Record<string, any>} */
14
14
  _Schema: Record<string, any>;
15
+ /** @return {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
16
+ get entityProvider(): import("pict/types/source/Pict-Meadow-EntityProvider.js");
17
+ /** @type {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
18
+ _EntityProvider: import("pict/types/source/Pict-Meadow-EntityProvider.js");
15
19
  /**
16
20
  * @typedef {(error?: Error, result?: T) => void} RecordSetCallback
17
21
  * @template T = Record<string, any>
@@ -64,9 +68,6 @@ declare class RecordSetProvider extends libRecordSetProviderBase {
64
68
  * @param {Record<string, any>} pRecord - The record to clone.
65
69
  */
66
70
  cloneRecord(pRecord: Record<string, any>): Promise<any>;
67
- onBeforeInitialize(): void;
68
- /** @type {import('pict/types/source/Pict-Meadow-EntityProvider.js')} */
69
- entityProvider: import("pict/types/source/Pict-Meadow-EntityProvider.js");
70
71
  /**
71
72
  * @param {(error?: Error) => void} fCallback - The callback function.
72
73
  */
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAgBE,+CAA+C;IAC/C,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,CAClC;IAET,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACZ;IAGnB;;;OAGG;IAEH;;;;OAIG;IACH,qBAFW,MAAM,GAAC,MAAM,gBA4BvB;IAED;;;;OAIG;IACH,uBAFW,MAAM,GAAC,MAAM,gBA2BvB;IA8CD;;;;OAIG;IACH,4BAFW,eAAe,gBAyBzB;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,GAAC,MAAM,gBAKvB;IAaD;;;;OAIG;IACH,qBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAK7B;IAcD,2BAQC;IANA,wEAAwE;IACxE,gBADW,OAAO,iDAAiD,CAAC,CAC2B;IAOhG;;OAEG;IACH,6BAFW,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,QA2BjC;IAED,gDAcC;CACD;;;;;uBAlWY,OAAO,oCAAoC,EAAE,eAAe;uBAC5D,OAAO,oCAAoC,EAAE,eAAe"}
1
+ {"version":3,"file":"RecordSet-RecordProvider-MeadowEndpoints.d.ts","sourceRoot":"","sources":["../../source/providers/RecordSet-RecordProvider-MeadowEndpoints.js"],"names":[],"mappings":";AAGA;;;GAGG;AAEH;;;GAGG;AACH;IAgBE,+CAA+C;IAC/C,MADW,GAAe,GAAG,OAAO,MAAM,CAAC,CAClC;IAET,kCAAkC;IAClC,SADW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACZ;IAGnB,0EAA0E;IAC1E,sBADa,OAAO,iDAAiD,CAAC,CAWrE;IARA,wEAAwE;IAExE,iBAFW,OAAO,iDAAiD,CAAC,CAE4B;IAQjG;;;OAGG;IAEH;;;;OAIG;IACH,qBAFW,MAAM,GAAC,MAAM,gBA4BvB;IAED;;;;OAIG;IACH,uBAFW,MAAM,GAAC,MAAM,gBA2BvB;IA8CD;;;;OAIG;IACH,4BAFW,eAAe,gBAyBzB;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAsB7B;IAED;;;;OAIG;IACH,sBAFW,MAAM,GAAC,MAAM,gBAKvB;IAaD;;;;OAIG;IACH,qBAFW,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAK7B;IAcD;;OAEG;IACH,6BAFW,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,QA2BjC;IAED,gDAcC;CACD;;;;;uBArWY,OAAO,oCAAoC,EAAE,eAAe;uBAC5D,OAAO,oCAAoC,EAAE,eAAe"}