@memberjunction/react-runtime 5.50.0 → 6.1.0-edge.0

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.
@@ -1,34 +1,42 @@
1
1
 
2
- > @memberjunction/react-runtime@5.50.0 build
2
+ > @memberjunction/react-runtime@6.1.0-edge.0 build /home/runner/work/MJ/MJ/packages/React/runtime
3
3
  > npm run build:node && npm run build:umd
4
4
 
5
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
6
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
7
+ npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
8
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
5
9
 
6
- > @memberjunction/react-runtime@5.50.0 build:node
10
+ > @memberjunction/react-runtime@6.1.0-edge.0 build:node
7
11
  > tsc && tsc-alias -f
8
12
 
13
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
14
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
15
+ npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
16
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
9
17
 
10
- > @memberjunction/react-runtime@5.50.0 build:umd
18
+ > @memberjunction/react-runtime@6.1.0-edge.0 build:umd
11
19
  > webpack --config webpack.umd.config.cjs
12
20
 
13
- Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
21
+ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
14
22
  npx update-browserslist-db@latest
15
23
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
16
24
  [BABEL] Note: The code generator has deoptimised the styling of /home/runner/work/MJ/MJ/packages/MJCoreEntities/dist/generated/entity_subclasses.js as it exceeds the max of 500KB.
17
- asset runtime.umd.js 8.78 MiB [compared for emit] [big] (name: main)
18
- asset 324.runtime.umd.js 218 KiB [compared for emit]
19
- asset 490.runtime.umd.js 182 KiB [compared for emit] (id hint: vendors)
20
- orphan modules 8.77 MiB [orphan] 571 modules
25
+ asset runtime.umd.js 8.85 MiB [emitted] [big] (name: main)
26
+ asset 324.runtime.umd.js 218 KiB [emitted]
27
+ asset 456.runtime.umd.js 184 KiB [emitted] (id hint: vendors)
28
+ orphan modules 8.83 MiB [orphan] 571 modules
21
29
  runtime modules 6.94 KiB 10 modules
22
- cacheable modules 8.91 MiB
23
- modules by path ../../../node_modules/ 781 KiB
24
- modules by path ../../../node_modules/rxjs/dist/esm5/internal/ 30.4 KiB 16 modules
25
- modules by path ../../../node_modules/debug/src/*.js 12.7 KiB 2 modules
30
+ cacheable modules 8.97 MiB
31
+ modules by path ../../../node_modules/.pnpm/ 781 KiB
32
+ modules by path ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/ 30.4 KiB 16 modules
33
+ modules by path ../../../node_modules/.pnpm/debug@4.4.3_supports-color@5.5.0/node_modules/...(truncated) 12.7 KiB 2 modules
26
34
  + 7 modules
27
- modules by path ../../MJCoreEntities/dist/ 5.43 MiB
28
- ../../MJCoreEntities/dist/index.js + 66 modules 5.41 MiB [built] [code generated]
35
+ modules by path ../../MJCoreEntities/dist/ 5.46 MiB
36
+ ../../MJCoreEntities/dist/index.js + 66 modules 5.44 MiB [built] [code generated]
29
37
  ../../MJCoreEntities/dist/engines/UserViewEngine.js 19.6 KiB [built] [code generated]
30
- ./dist/index.js + 29 modules 439 KiB [built] [code generated]
31
- ../../MJCore/dist/index.js + 88 modules 1.8 MiB [built] [code generated]
32
- ../../MJGlobal/dist/index.js + 24 modules 312 KiB [built] [code generated]
38
+ ./dist/index.js + 29 modules 445 KiB [built] [code generated]
39
+ ../../MJCore/dist/index.js + 88 modules 1.82 MiB [built] [code generated]
40
+ ../../MJGlobal/dist/index.js + 24 modules 314 KiB [built] [code generated]
33
41
  ../../GraphQLDataProvider/dist/index.mjs 194 KiB [built] [code generated]
34
- webpack 5.105.0 compiled successfully in 67753 ms
42
+ webpack 5.105.0 compiled successfully in 88116 ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @memberjunction/react-runtime
2
2
 
3
+ ## 6.1.0-edge.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5c6e36c: feat(components): theme-aware registry components — viz ramps, spec-level StyleOverrides, hardcoded-color migration.
8
+
9
+ `ComponentStyles` gains `sequentialScale`/`divergingScale` visualization ramps (backed by new `--mj-viz-seq-*`/`--mj-viz-div-*` theme tokens with dark-mode re-anchors), plus status text/border and overlay color slots bridged from `--mj-status-*`/`--mj-bg-overlay`, and `secondary`/`secondaryHover` bridged from `--mj-brand-secondary(-hover)`. `ComponentSpec` gains an optional `styleOverrides` field (`chartPalette`, `sequentialScale`, `divergingScale`, `fontScale`, with provenance) so user-requested styling is carried as spec data instead of color literals in generated code; the new `ApplyStyleOverrides` utility in `@memberjunction/react-runtime` layers it above theme-resolved styles. `MJReactComponent` applies overrides over both explicit styles and the bridged live theme (memoized so styles identity stays stable), and restyles in place when a spec change touches only `styleOverrides`. The test harness applies overrides to generation-time screenshots. All 10 generic registry components now read `styles.colors.*`/palette slots with their previous literals kept as no-theme fallbacks.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [2412415]
14
+ - Updated dependencies [9699d0e]
15
+ - Updated dependencies [052b4c7]
16
+ - Updated dependencies [9a905e8]
17
+ - Updated dependencies [841e6ea]
18
+ - Updated dependencies [1d88e00]
19
+ - Updated dependencies [27e4d09]
20
+ - Updated dependencies [5c6e36c]
21
+ - @memberjunction/core-entities@6.1.0-edge.0
22
+ - @memberjunction/core@6.1.0-edge.0
23
+ - @memberjunction/interactive-component-types@6.1.0-edge.0
24
+ - @memberjunction/graphql-dataprovider@6.1.0-edge.0
25
+ - @memberjunction/global@6.1.0-edge.0
26
+
27
+ ## 6.0.0
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [a2670a9]
32
+ - @memberjunction/core@6.0.0
33
+ - @memberjunction/graphql-dataprovider@6.0.0
34
+ - @memberjunction/interactive-component-types@6.0.0
35
+ - @memberjunction/core-entities@6.0.0
36
+ - @memberjunction/global@6.0.0
37
+
38
+ ## 5.51.0
39
+
40
+ ### Patch Changes
41
+
42
+ - a8fc549: - Fix BaseEngine cache callback fingerprint mismatch that broke cross-server invalidation via Redis pub/sub by extracting a shared BuildRunViewParamsForConfig method to ensure consistent RunViewParams across LoadSingleEntityConfig, LoadMultipleEntityConfigs, and RegisterCacheChangeCallbacks
43
+ - Eliminate React CDN script execution order race condition in library-loader by enforcing sequential script loading
44
+ - Make ChangeDetectorRef optional in BaseResourceComponent to prevent NG0201 injection errors
45
+ - Regenerate spDeleteAIPrompt and spDeleteAIConfiguration stored procedures to remove stale AIPromptRun.AgentRunID cascade references
46
+ - Updated dependencies [a8fc549]
47
+ - @memberjunction/core@5.51.0
48
+ - @memberjunction/graphql-dataprovider@5.51.0
49
+ - @memberjunction/interactive-component-types@5.51.0
50
+ - @memberjunction/core-entities@5.51.0
51
+ - @memberjunction/global@5.51.0
52
+
3
53
  ## 5.50.0
4
54
 
5
55
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2023 MemberJunction
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -43,17 +43,17 @@ __webpack_require__.r(__webpack_exports__);
43
43
  /* harmony export */ gql: () => (/* reexport safe */ graphql_request__WEBPACK_IMPORTED_MODULE_0__.J1),
44
44
  /* harmony export */ setupGraphQLClient: () => (/* binding */ xe)
45
45
  /* harmony export */ });
46
- /* harmony import */ var graphql_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(215);
47
- /* harmony import */ var _memberjunction_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(752);
48
- /* harmony import */ var _memberjunction_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(198);
49
- /* harmony import */ var _memberjunction_core_entities__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(148);
50
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(600);
51
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49);
52
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(156);
53
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(226);
54
- /* harmony import */ var graphql_ws__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(497);
55
- /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(718);
56
- /* harmony import */ var _tempfix_idb__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(196);
46
+ /* harmony import */ var graphql_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(927);
47
+ /* harmony import */ var _memberjunction_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63);
48
+ /* harmony import */ var _memberjunction_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(899);
49
+ /* harmony import */ var _memberjunction_core_entities__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(835);
50
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(942);
51
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(291);
52
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(562);
53
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(112);
54
+ /* harmony import */ var graphql_ws__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(283);
55
+ /* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(289);
56
+ /* harmony import */ var _tempfix_idb__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(74);
57
57
  var se=Object.defineProperty;var d=(g,e)=>se(g,"name",{value:e,configurable:!0});class A{static{d(this,"FieldMapper")}static{this.DB_PREFIX="__mj_"}static{this.GQL_PREFIX="_mj__"}constructor(){}MapFields(e){if(e)for(const t in e){const r=this.MapFieldName(t);r!==t&&(e[r]=e[t],delete e[t])}return e}MapFieldName(e){return e.startsWith(A.DB_PREFIX)?A.GQL_PREFIX+e.substring(A.DB_PREFIX.length):e}ReverseMapFieldName(e){return e.startsWith(A.GQL_PREFIX)?A.DB_PREFIX+e.substring(A.GQL_PREFIX.length):e}ReverseMapFields(e){for(const t in e){const r=this.ReverseMapFieldName(t);r!==t&&(e[r]=e[t],delete e[t])}return e}}class z extends _memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .TransactionGroupBase */ .VHz{static{d(this,"GraphQLTransactionGroup")}constructor(e){super(),this._provider=e}async HandleSubmit(){const e=(0,graphql_request__WEBPACK_IMPORTED_MODULE_0__/* .gql */ .J1)`
58
58
  mutation ExecuteTransactionGroup($group: TransactionInputType!) {
59
59
  ExecuteTransactionGroup(group: $group) {
@@ -361,7 +361,7 @@ var se=Object.defineProperty;var d=(g,e)=>se(g,"name",{value:e,configurable:!0})
361
361
  }
362
362
  }
363
363
  }
364
- `,r={entityDocumentID:e.entityDocumentID};e.maxRecords!==void 0&&(r.maxRecords=e.maxRecords),e.filter!==void 0&&(r.filter=e.filter);const s=await this._dataProvider.ExecuteGQL(t,r);if(!s?.FetchEntityVectors)throw new Error("Invalid response from server");return s.FetchEntityVectors}catch(t){const r=t;return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogError */ .ZI8)("GraphQLAIClient.FetchEntityVectors failed",void 0,r),{Success:!1,Results:[],TotalCount:0,ElapsedMs:0,ErrorMessage:r.message||"Unknown error"}}}}const F="5.50.0",$="default";class X{static{d(this,"BrowserStorageProviderBase")}constructor(){this._storage=new Map}getCategoryMap(e){const t=e||$;let r=this._storage.get(t);return r||(r=new Map,this._storage.set(t,r)),r}async GetItem(e,t){const s=this.getCategoryMap(t||$).get(e);return s===void 0?null:s}async GetItems(e,t){const r=new Map;if(e.length===0)return r;const s=this.getCategoryMap(t||$);for(const n of new Set(e)){const a=s.get(n);r.set(n,a===void 0?null:a)}return r}async SetItem(e,t,r){this.getCategoryMap(r||$).set(e,t)}async Remove(e,t){this.getCategoryMap(t||$).delete(e)}async ClearCategory(e){const t=e||$;this._storage.delete(t)}async GetCategoryKeys(e){const t=this._storage.get(e||$);return t?Array.from(t.keys()):[]}}const $e="MJ_Metadata",Pe=0;function Me(){try{const g=F.split("."),e=parseInt(g[0],10),t=parseInt(g[1],10);if(!Number.isFinite(e)||!Number.isFinite(t))throw new Error(`Could not parse major.minor from version "${F}"`);return e*1e3+t+Pe}catch(g){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:g,message:"Failed to derive IDB version from PACKAGE_VERSION; using fallback 99999"}),99999}}d(Me,"computeIdbVersion");const Ae=Me(),Y=["mj:default","mj:Metadata","mj:RunViewCache","mj:RunQueryCache","mj:DatasetCache"];class Z extends X{static{d(this,"BrowserIndexedDBStorageProvider")}constructor(){super(),this._dbReady=!1,this.dbPromise=(0,_tempfix_idb__WEBPACK_IMPORTED_MODULE_10__/* .openDB */ .P2)($e,Ae,{upgrade:d((e,t,r)=>{try{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)(`[IDBCache] Upgrading IndexedDB schema v${t} \u2192 v${r} (package ${F}). Dropping all stores; caches will repopulate on first use.`);for(const s of Array.from(e.objectStoreNames))e.deleteObjectStore(s);for(const s of Y)e.objectStoreNames.contains(s)||e.createObjectStore(s)}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message})}},"upgrade"),blocked:d((e,t)=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)(`[IDBCache] Upgrade from v${e} to v${t} blocked by another tab. Close other tabs to allow the upgrade to proceed.`)},"blocked")}),this.dbPromise.then(e=>{this._dbReady=!0,e.onversionchange=()=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)("[IDBCache] DB schema upgraded in another tab \u2014 closing local connection."),e.close(),this._dbReady=!1}}).catch(e=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:e,message:"IndexedDB initialization failed: "+e?.message})})}get IsReady(){return this._dbReady}isKnownCategory(e){const t=`mj:${e}`;return Y.includes(t)}getStoreName(e){const t=e||$;return this.isKnownCategory(t)?`mj:${t}`:"mj:default"}getStoreKey(e,t){const r=t||$;return this.isKnownCategory(r)?e:`[${r}]:${e}`}async SetItem(e,t,r){try{const s=await this.dbPromise,n=this.getStoreName(r),a=this.getStoreKey(e,r),i=s.transaction(n,"readwrite");await i.objectStore(n).put(t,a),await i.done}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message})}}async GetItem(e,t){try{const r=await this.dbPromise,s=this.getStoreName(t),n=this.getStoreKey(e,t),a=await r.transaction(s).objectStore(s).get(n);return a===void 0?null:a}catch(r){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:r,message:r?.message}),null}}async GetItems(e,t){const r=new Map;if(e.length===0)return r;try{const s=await this.dbPromise,n=this.getStoreName(t),a=Array.from(new Set(e)),i=a.map(f=>this.getStoreKey(f,t)),o=s.transaction(n,"readonly"),m=o.objectStore(n),u=i.map(f=>m.get(f)),h=await Promise.all(u);await o.done;for(let f=0;f<a.length;f++){const y=h[f];r.set(a[f],y===void 0?null:y)}return r}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message});for(const n of new Set(e))r.set(n,null);return r}}async Remove(e,t){try{const r=await this.dbPromise,s=this.getStoreName(t),n=this.getStoreKey(e,t),a=r.transaction(s,"readwrite");await a.objectStore(s).delete(n),await a.done}catch(r){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:r,message:r?.message})}}async ClearCategory(e){try{const t=await this.dbPromise,r=e||$,s=this.getStoreName(e);if(this.isKnownCategory(r)){const n=t.transaction(s,"readwrite");await n.objectStore(s).clear(),await n.done}else{const n=`[${r}]:`,a=t.transaction("mj:default","readwrite"),i=a.objectStore("mj:default"),o=await i.getAllKeys();for(const m of o)typeof m=="string"&&m.startsWith(n)&&await i.delete(m);await a.done}}catch(t){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:t,message:t?.message})}}async GetCategoryKeys(e){try{const t=await this.dbPromise,r=e||$,s=this.getStoreName(e),i=await t.transaction(s,"readonly").objectStore(s).getAllKeys();if(this.isKnownCategory(r))return i.map(m=>String(m));const o=`[${r}]:`;return i.map(m=>String(m)).filter(m=>m.startsWith(o)).map(m=>m.slice(o.length))}catch(t){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:t,message:t?.message}),[]}}}const b=new A,Ne=(0,graphql_request__WEBPACK_IMPORTED_MODULE_0__/* .gql */ .J1)`subscription RemoteOperationProgress($channelId: ID!) {
364
+ `,r={entityDocumentID:e.entityDocumentID};e.maxRecords!==void 0&&(r.maxRecords=e.maxRecords),e.filter!==void 0&&(r.filter=e.filter);const s=await this._dataProvider.ExecuteGQL(t,r);if(!s?.FetchEntityVectors)throw new Error("Invalid response from server");return s.FetchEntityVectors}catch(t){const r=t;return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogError */ .ZI8)("GraphQLAIClient.FetchEntityVectors failed",void 0,r),{Success:!1,Results:[],TotalCount:0,ElapsedMs:0,ErrorMessage:r.message||"Unknown error"}}}}const F="6.1.0-edge.0",$="default";class X{static{d(this,"BrowserStorageProviderBase")}constructor(){this._storage=new Map}getCategoryMap(e){const t=e||$;let r=this._storage.get(t);return r||(r=new Map,this._storage.set(t,r)),r}async GetItem(e,t){const s=this.getCategoryMap(t||$).get(e);return s===void 0?null:s}async GetItems(e,t){const r=new Map;if(e.length===0)return r;const s=this.getCategoryMap(t||$);for(const n of new Set(e)){const a=s.get(n);r.set(n,a===void 0?null:a)}return r}async SetItem(e,t,r){this.getCategoryMap(r||$).set(e,t)}async Remove(e,t){this.getCategoryMap(t||$).delete(e)}async ClearCategory(e){const t=e||$;this._storage.delete(t)}async GetCategoryKeys(e){const t=this._storage.get(e||$);return t?Array.from(t.keys()):[]}}const $e="MJ_Metadata",Pe=0;function Me(){try{const g=F.split("."),e=parseInt(g[0],10),t=parseInt(g[1],10);if(!Number.isFinite(e)||!Number.isFinite(t))throw new Error(`Could not parse major.minor from version "${F}"`);return e*1e3+t+Pe}catch(g){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:g,message:"Failed to derive IDB version from PACKAGE_VERSION; using fallback 99999"}),99999}}d(Me,"computeIdbVersion");const Ae=Me(),Y=["mj:default","mj:Metadata","mj:RunViewCache","mj:RunQueryCache","mj:DatasetCache"];class Z extends X{static{d(this,"BrowserIndexedDBStorageProvider")}constructor(){super(),this._dbReady=!1,this.dbPromise=(0,_tempfix_idb__WEBPACK_IMPORTED_MODULE_10__/* .openDB */ .P2)($e,Ae,{upgrade:d((e,t,r)=>{try{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)(`[IDBCache] Upgrading IndexedDB schema v${t} \u2192 v${r} (package ${F}). Dropping all stores; caches will repopulate on first use.`);for(const s of Array.from(e.objectStoreNames))e.deleteObjectStore(s);for(const s of Y)e.objectStoreNames.contains(s)||e.createObjectStore(s)}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message})}},"upgrade"),blocked:d((e,t)=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)(`[IDBCache] Upgrade from v${e} to v${t} blocked by another tab. Close other tabs to allow the upgrade to proceed.`)},"blocked")}),this.dbPromise.then(e=>{this._dbReady=!0,e.onversionchange=()=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogStatus */ .b09)("[IDBCache] DB schema upgraded in another tab \u2014 closing local connection."),e.close(),this._dbReady=!1}}).catch(e=>{(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:e,message:"IndexedDB initialization failed: "+e?.message})})}get IsReady(){return this._dbReady}isKnownCategory(e){const t=`mj:${e}`;return Y.includes(t)}getStoreName(e){const t=e||$;return this.isKnownCategory(t)?`mj:${t}`:"mj:default"}getStoreKey(e,t){const r=t||$;return this.isKnownCategory(r)?e:`[${r}]:${e}`}async SetItem(e,t,r){try{const s=await this.dbPromise,n=this.getStoreName(r),a=this.getStoreKey(e,r),i=s.transaction(n,"readwrite");await i.objectStore(n).put(t,a),await i.done}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message})}}async GetItem(e,t){try{const r=await this.dbPromise,s=this.getStoreName(t),n=this.getStoreKey(e,t),a=await r.transaction(s).objectStore(s).get(n);return a===void 0?null:a}catch(r){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:r,message:r?.message}),null}}async GetItems(e,t){const r=new Map;if(e.length===0)return r;try{const s=await this.dbPromise,n=this.getStoreName(t),a=Array.from(new Set(e)),i=a.map(f=>this.getStoreKey(f,t)),o=s.transaction(n,"readonly"),m=o.objectStore(n),u=i.map(f=>m.get(f)),h=await Promise.all(u);await o.done;for(let f=0;f<a.length;f++){const y=h[f];r.set(a[f],y===void 0?null:y)}return r}catch(s){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:s,message:s?.message});for(const n of new Set(e))r.set(n,null);return r}}async Remove(e,t){try{const r=await this.dbPromise,s=this.getStoreName(t),n=this.getStoreKey(e,t),a=r.transaction(s,"readwrite");await a.objectStore(s).delete(n),await a.done}catch(r){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:r,message:r?.message})}}async ClearCategory(e){try{const t=await this.dbPromise,r=e||$,s=this.getStoreName(e);if(this.isKnownCategory(r)){const n=t.transaction(s,"readwrite");await n.objectStore(s).clear(),await n.done}else{const n=`[${r}]:`,a=t.transaction("mj:default","readwrite"),i=a.objectStore("mj:default"),o=await i.getAllKeys();for(const m of o)typeof m=="string"&&m.startsWith(n)&&await i.delete(m);await a.done}}catch(t){(0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:t,message:t?.message})}}async GetCategoryKeys(e){try{const t=await this.dbPromise,r=e||$,s=this.getStoreName(e),i=await t.transaction(s,"readonly").objectStore(s).getAllKeys();if(this.isKnownCategory(r))return i.map(m=>String(m));const o=`[${r}]:`;return i.map(m=>String(m)).filter(m=>m.startsWith(o)).map(m=>m.slice(o.length))}catch(t){return (0,_memberjunction_core__WEBPACK_IMPORTED_MODULE_1__/* .LogErrorEx */ .Q1A)({error:t,message:t?.message}),[]}}}const b=new A,Ne=(0,graphql_request__WEBPACK_IMPORTED_MODULE_0__/* .gql */ .J1)`subscription RemoteOperationProgress($channelId: ID!) {
365
365
  RemoteOperationProgress(channelId: $channelId) {
366
366
  ChannelId
367
367
  ProgressJSON
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (this["webpackChunkMJReactRuntime"] = this["webpackChunkMJReactRuntime"] || []).push([[490],{
2
+ (this["webpackChunkMJReactRuntime"] = this["webpackChunkMJReactRuntime"] || []).push([[456],{
3
3
 
4
- /***/ 196
4
+ /***/ 74
5
5
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6
6
 
7
7
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -317,7 +317,7 @@ replaceTraps((oldTraps) => ({
317
317
 
318
318
  /***/ },
319
319
 
320
- /***/ 215
320
+ /***/ 927
321
321
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
322
322
 
323
323
 
@@ -329,7 +329,7 @@ __webpack_require__.d(__webpack_exports__, {
329
329
 
330
330
  // UNUSED EXPORTS: ClientError, analyzeDocument, batchRequests, default, rawRequest, request
331
331
 
332
- ;// ../../../node_modules/graphql-request/build/legacy/classes/ClientError.js
332
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/classes/ClientError.js
333
333
  class ClientError extends Error {
334
334
  response;
335
335
  request;
@@ -352,7 +352,7 @@ class ClientError extends Error {
352
352
  }
353
353
  }
354
354
  //# sourceMappingURL=ClientError.js.map
355
- ;// ../../../node_modules/graphql-request/build/lib/prelude.js
355
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/lib/prelude.js
356
356
  const uppercase = (str) => str.toUpperCase();
357
357
  const callOrIdentity = (value) => {
358
358
  return typeof value === `function` ? value() : value;
@@ -483,7 +483,7 @@ const partitionErrors = (array) => {
483
483
  return [values, errors];
484
484
  };
485
485
  //# sourceMappingURL=prelude.js.map
486
- ;// ../../../node_modules/graphql-request/build/legacy/functions/batchRequests.js
486
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/functions/batchRequests.js
487
487
  /* unused harmony import specifier */ var GraphQLClient;
488
488
 
489
489
  /**
@@ -549,7 +549,7 @@ const parseBatchRequestArgs = (documentsOrOptions, requestHeaders) => {
549
549
  };
550
550
  };
551
551
  //# sourceMappingURL=batchRequests.js.map
552
- ;// ../../../node_modules/graphql-request/build/legacy/functions/rawRequest.js
552
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/functions/rawRequest.js
553
553
  /* unused harmony import specifier */ var rawRequest_GraphQLClient;
554
554
 
555
555
  /**
@@ -586,7 +586,7 @@ const parseRawRequestArgs = (queryOrOptions, variables, requestHeaders) => {
586
586
  };
587
587
  };
588
588
  //# sourceMappingURL=rawRequest.js.map
589
- ;// ../../../node_modules/graphql/language/kinds.mjs
589
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/kinds.mjs
590
590
  /**
591
591
  * The set of allowed kind values for AST nodes.
592
592
  */
@@ -650,7 +650,7 @@ var Kind;
650
650
  * @deprecated Please use `Kind`. Will be remove in v17.
651
651
  */
652
652
 
653
- ;// ../../../node_modules/graphql-request/build/lib/http.js
653
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/lib/http.js
654
654
  const ACCEPT_HEADER = `Accept`;
655
655
  const CONTENT_TYPE_HEADER = `Content-Type`;
656
656
  const CONTENT_TYPE_JSON = `application/json`;
@@ -659,7 +659,7 @@ const statusCodes = {
659
659
  success: 200,
660
660
  };
661
661
  //# sourceMappingURL=http.js.map
662
- ;// ../../../node_modules/graphql-request/build/legacy/lib/graphql.js
662
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/lib/graphql.js
663
663
 
664
664
 
665
665
 
@@ -749,7 +749,7 @@ const isOperationDefinitionNode = (definition) => {
749
749
  && definition.kind === Kind.OPERATION_DEFINITION);
750
750
  };
751
751
  //# sourceMappingURL=graphql.js.map
752
- ;// ../../../node_modules/graphql/jsutils/isObjectLike.mjs
752
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/isObjectLike.mjs
753
753
  /**
754
754
  * Return true if `value` is object-like. A value is object-like if it's not
755
755
  * `null` and has a `typeof` result of "object".
@@ -758,7 +758,7 @@ function isObjectLike(value) {
758
758
  return typeof value == 'object' && value !== null;
759
759
  }
760
760
 
761
- ;// ../../../node_modules/graphql/jsutils/invariant.mjs
761
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/invariant.mjs
762
762
  function invariant(condition, message) {
763
763
  const booleanCondition = Boolean(condition);
764
764
 
@@ -769,7 +769,7 @@ function invariant(condition, message) {
769
769
  }
770
770
  }
771
771
 
772
- ;// ../../../node_modules/graphql/language/location.mjs
772
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/location.mjs
773
773
 
774
774
  const LineRegExp = /\r\n|[\n\r]/g;
775
775
  /**
@@ -801,7 +801,7 @@ function getLocation(source, position) {
801
801
  };
802
802
  }
803
803
 
804
- ;// ../../../node_modules/graphql/language/printLocation.mjs
804
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/printLocation.mjs
805
805
 
806
806
 
807
807
  /**
@@ -869,7 +869,7 @@ function printPrefixedLines(lines) {
869
869
  .join('\n');
870
870
  }
871
871
 
872
- ;// ../../../node_modules/graphql/error/GraphQLError.mjs
872
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/error/GraphQLError.mjs
873
873
 
874
874
 
875
875
 
@@ -1121,7 +1121,7 @@ function formatError(error) {
1121
1121
  return error.toJSON();
1122
1122
  }
1123
1123
 
1124
- ;// ../../../node_modules/graphql/error/syntaxError.mjs
1124
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/error/syntaxError.mjs
1125
1125
 
1126
1126
  /**
1127
1127
  * Produces a GraphQLError representing a syntax error, containing useful
@@ -1135,7 +1135,7 @@ function syntaxError(source, position, description) {
1135
1135
  });
1136
1136
  }
1137
1137
 
1138
- ;// ../../../node_modules/graphql/language/ast.mjs
1138
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/ast.mjs
1139
1139
  /**
1140
1140
  * Contains a range of UTF-8 character offsets and token references that
1141
1141
  * identify the region of the source from which the AST derived.
@@ -1358,7 +1358,7 @@ var OperationTypeNode;
1358
1358
 
1359
1359
 
1360
1360
 
1361
- ;// ../../../node_modules/graphql/language/directiveLocation.mjs
1361
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/directiveLocation.mjs
1362
1362
  /**
1363
1363
  * The set of allowed directive location values.
1364
1364
  */
@@ -1393,7 +1393,7 @@ var DirectiveLocation;
1393
1393
  * @deprecated Please use `DirectiveLocation`. Will be remove in v17.
1394
1394
  */
1395
1395
 
1396
- ;// ../../../node_modules/graphql/language/characterClasses.mjs
1396
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/characterClasses.mjs
1397
1397
  /**
1398
1398
  * ```
1399
1399
  * WhiteSpace ::
@@ -1459,7 +1459,7 @@ function isNameContinue(code) {
1459
1459
  return isLetter(code) || isDigit(code) || code === 0x005f;
1460
1460
  }
1461
1461
 
1462
- ;// ../../../node_modules/graphql/language/blockString.mjs
1462
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/blockString.mjs
1463
1463
 
1464
1464
  /**
1465
1465
  * Produces the value of a block string from its parsed raw value, similar to
@@ -1639,7 +1639,7 @@ function printBlockString(value, options) {
1639
1639
  return '"""' + result + '"""';
1640
1640
  }
1641
1641
 
1642
- ;// ../../../node_modules/graphql/language/tokenKind.mjs
1642
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/tokenKind.mjs
1643
1643
  /**
1644
1644
  * An exported enum describing the different kinds of tokens that the
1645
1645
  * lexer emits.
@@ -1679,7 +1679,7 @@ var TokenKind;
1679
1679
  * @deprecated Please use `TokenKind`. Will be remove in v17.
1680
1680
  */
1681
1681
 
1682
- ;// ../../../node_modules/graphql/language/lexer.mjs
1682
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/lexer.mjs
1683
1683
 
1684
1684
 
1685
1685
 
@@ -2596,7 +2596,7 @@ function readName(lexer, start) {
2596
2596
  );
2597
2597
  }
2598
2598
 
2599
- ;// ../../../node_modules/graphql/jsutils/devAssert.mjs
2599
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/devAssert.mjs
2600
2600
  function devAssert(condition, message) {
2601
2601
  const booleanCondition = Boolean(condition);
2602
2602
 
@@ -2605,7 +2605,7 @@ function devAssert(condition, message) {
2605
2605
  }
2606
2606
  }
2607
2607
 
2608
- ;// ../../../node_modules/graphql/jsutils/inspect.mjs
2608
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/inspect.mjs
2609
2609
  const MAX_ARRAY_LENGTH = 10;
2610
2610
  const MAX_RECURSIVE_DEPTH = 2;
2611
2611
  /**
@@ -2722,7 +2722,7 @@ function getObjectTag(object) {
2722
2722
  return tag;
2723
2723
  }
2724
2724
 
2725
- ;// ../../../node_modules/graphql/jsutils/instanceOf.mjs
2725
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/instanceOf.mjs
2726
2726
 
2727
2727
  /* c8 ignore next 3 */
2728
2728
 
@@ -2781,7 +2781,7 @@ spurious results.`);
2781
2781
  return false;
2782
2782
  };
2783
2783
 
2784
- ;// ../../../node_modules/graphql/language/source.mjs
2784
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/source.mjs
2785
2785
 
2786
2786
 
2787
2787
 
@@ -2833,7 +2833,7 @@ function isSource(source) {
2833
2833
  return instanceOf(source, Source);
2834
2834
  }
2835
2835
 
2836
- ;// ../../../node_modules/graphql/language/parser.mjs
2836
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/parser.mjs
2837
2837
  /* unused harmony import specifier */ var SchemaCoordinateLexer;
2838
2838
  /* unused harmony import specifier */ var parser_isSource;
2839
2839
  /* unused harmony import specifier */ var parser_Source;
@@ -4484,7 +4484,7 @@ function getTokenKindDesc(kind) {
4484
4484
  return isPunctuatorTokenKind(kind) ? `"${kind}"` : kind;
4485
4485
  }
4486
4486
 
4487
- ;// ../../../node_modules/graphql/language/printString.mjs
4487
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/printString.mjs
4488
4488
  /**
4489
4489
  * Prints a string as a GraphQL StringValue literal. Replaces control characters
4490
4490
  * and excluded characters (" U+0022 and \\ U+005C) with escape sequences.
@@ -4662,7 +4662,7 @@ const escapeSequences = [
4662
4662
  '\\u009F',
4663
4663
  ];
4664
4664
 
4665
- ;// ../../../node_modules/graphql/language/visitor.mjs
4665
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/visitor.mjs
4666
4666
  /* unused harmony import specifier */ var visitor_Kind;
4667
4667
 
4668
4668
 
@@ -5023,7 +5023,7 @@ function getVisitFn(visitor, kind, isLeaving) {
5023
5023
  return isLeaving ? leave : enter;
5024
5024
  }
5025
5025
 
5026
- ;// ../../../node_modules/graphql/language/printer.mjs
5026
+ ;// ../../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/printer.mjs
5027
5027
 
5028
5028
 
5029
5029
 
@@ -5393,7 +5393,7 @@ function hasMultilineItems(maybeArray) {
5393
5393
  : false;
5394
5394
  }
5395
5395
 
5396
- ;// ../../../node_modules/graphql-request/build/legacy/helpers/analyzeDocument.js
5396
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/helpers/analyzeDocument.js
5397
5397
 
5398
5398
 
5399
5399
 
@@ -5468,10 +5468,10 @@ const analyzeDocument = (document, excludeOperationName) => {
5468
5468
  return { expression, operationName, isMutation };
5469
5469
  };
5470
5470
  //# sourceMappingURL=analyzeDocument.js.map
5471
- ;// ../../../node_modules/graphql-request/build/legacy/helpers/defaultJsonSerializer.js
5471
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/helpers/defaultJsonSerializer.js
5472
5472
  const defaultJsonSerializer = JSON;
5473
5473
  //# sourceMappingURL=defaultJsonSerializer.js.map
5474
- ;// ../../../node_modules/graphql-request/build/legacy/helpers/runRequest.js
5474
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/helpers/runRequest.js
5475
5475
 
5476
5476
 
5477
5477
 
@@ -5670,7 +5670,7 @@ const buildQueryParams = (params) => {
5670
5670
  }
5671
5671
  };
5672
5672
  //# sourceMappingURL=runRequest.js.map
5673
- ;// ../../../node_modules/graphql-request/build/legacy/classes/GraphQLClient.js
5673
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/classes/GraphQLClient.js
5674
5674
 
5675
5675
 
5676
5676
 
@@ -5832,7 +5832,7 @@ class GraphQLClient_GraphQLClient {
5832
5832
  }
5833
5833
  }
5834
5834
  //# sourceMappingURL=GraphQLClient.js.map
5835
- ;// ../../../node_modules/graphql-request/build/legacy/functions/request.js
5835
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/functions/request.js
5836
5836
  /* unused harmony import specifier */ var request_GraphQLClient;
5837
5837
 
5838
5838
  // dprint-ignore
@@ -5867,7 +5867,7 @@ const parseRequestExtendedArgs = (urlOrOptions, document, ...variablesAndRequest
5867
5867
  : urlOrOptions;
5868
5868
  };
5869
5869
  //# sourceMappingURL=request.js.map
5870
- ;// ../../../node_modules/graphql-request/build/legacy/functions/gql.js
5870
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/legacy/functions/gql.js
5871
5871
  /**
5872
5872
  * Convenience passthrough template tag to get the benefits of tooling for the gql template tag. This does not actually parse the input into a GraphQL DocumentNode like graphql-tag package does. It just returns the string with any variables given interpolated. Can save you a bit of performance and having to install another package.
5873
5873
  *
@@ -5886,7 +5886,7 @@ const gql = (chunks, ...variables) => {
5886
5886
  return chunks.reduce((acc, chunk, index) => `${acc}${chunk}${index in variables ? String(variables[index]) : ``}`, ``);
5887
5887
  };
5888
5888
  //# sourceMappingURL=gql.js.map
5889
- ;// ../../../node_modules/graphql-request/build/entrypoints/main.js
5889
+ ;// ../../../node_modules/.pnpm/graphql-request@7.4.0_graphql@16.12.0/node_modules/graphql-request/build/entrypoints/main.js
5890
5890
  /* unused harmony import specifier */ var main_request;
5891
5891
 
5892
5892
 
@@ -5901,7 +5901,7 @@ const gql = (chunks, ...variables) => {
5901
5901
 
5902
5902
  /***/ },
5903
5903
 
5904
- /***/ 497
5904
+ /***/ 283
5905
5905
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
5906
5906
 
5907
5907
 
@@ -5912,7 +5912,7 @@ __webpack_require__.d(__webpack_exports__, {
5912
5912
 
5913
5913
  // UNUSED EXPORTS: CloseCode, DEPRECATED_GRAPHQL_WS_PROTOCOL, GRAPHQL_TRANSPORT_WS_PROTOCOL, MessageType, TerminatedCloseEvent, parseMessage, stringifyMessage, validateMessage
5914
5914
 
5915
- ;// ../../../node_modules/graphql-ws/dist/common-CGW11Fyb.js
5915
+ ;// ../../../node_modules/.pnpm/graphql-ws@6.0.7_graphql@16.12.0_ws@8.19.0/node_modules/graphql-ws/dist/common-CGW11Fyb.js
5916
5916
  function extendedTypeof(val) {
5917
5917
  if (val === null) {
5918
5918
  return "null";
@@ -6121,7 +6121,7 @@ function stringifyMessage(msg, replacer) {
6121
6121
 
6122
6122
 
6123
6123
 
6124
- ;// ../../../node_modules/graphql-ws/dist/client.js
6124
+ ;// ../../../node_modules/.pnpm/graphql-ws@6.0.7_graphql@16.12.0_ws@8.19.0/node_modules/graphql-ws/dist/client.js
6125
6125
 
6126
6126
 
6127
6127
 
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ export { createErrorBoundary, withErrorBoundary, formatComponentError, createErr
13
13
  export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths, PropBuilderOptions } from './runtime/index.js';
14
14
  export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy, HierarchyRegistrationResult, ComponentRegistrationError, HierarchyRegistrationOptions } from './runtime/index.js';
15
15
  export { ReactRootManager, reactRootManager, ManagedReactRoot, RuntimeHook, RootHookContext } from './runtime/index.js';
16
- export { SetupStyles, createDefaultComponentStyles, BuildStylesFromTheme } from './utilities/component-styles.js';
16
+ export { SetupStyles, createDefaultComponentStyles, BuildStylesFromTheme, ApplyStyleOverrides } from './utilities/component-styles.js';
17
17
  export { buildAntdThemeConfig, wrapWithLibraryThemeProviders } from './utilities/component-library-theming.js';
18
18
  export { StandardLibraries, StandardLibraryManager, createStandardLibraries } from './utilities/standard-libraries.js';
19
19
  export { LibraryLoader, LibraryLoadOptions, LibraryLoadResult } from './utilities/library-loader.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/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AO,CAAC,OAAO,SAAS,EAAE,cAAc,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,SAAS,EAAE,cAAc,CAAC,CAAC;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,qBAAqB,EAAE,sBAAsB,CAAC,CAAC;CACzE,EACD,cAAc,CAAC,EAAE,OAAO,SAAS,EAAE,cAAc,EACjD,KAAK,GAAE,OAAe;;;;;;;EAwCvB"}
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ export { createErrorBoundary, withErrorBoundary, formatComponentError, createErr
12
12
  export { buildComponentProps, normalizeCallbacks, normalizeStyles, validateComponentProps, mergeProps, createPropsTransformer, wrapCallbacksWithLogging, extractPropPaths } from './runtime/index.js';
13
13
  export { ComponentHierarchyRegistrar, registerComponentHierarchy, validateComponentSpec, flattenComponentHierarchy, countComponentsInHierarchy } from './runtime/index.js';
14
14
  export { ReactRootManager, reactRootManager } from './runtime/index.js';
15
- export { SetupStyles, createDefaultComponentStyles, BuildStylesFromTheme } from './utilities/component-styles.js';
15
+ export { SetupStyles, createDefaultComponentStyles, BuildStylesFromTheme, ApplyStyleOverrides } from './utilities/component-styles.js';
16
16
  export { buildAntdThemeConfig, wrapWithLibraryThemeProviders } from './utilities/component-library-theming.js';
17
17
  export { StandardLibraryManager, createStandardLibraries } from './utilities/standard-libraries.js';
18
18
  export { LibraryLoader } from './utilities/library-loader.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE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GAAG,IAAI,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACvD,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAEzC,MAAM,QAAQ,GAAG,IAAI,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACvD,MAAM,QAAQ,GAAG,IAAI,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;IAG3E,MAAM,OAAO,GAAG,IAAI,gBAAgB,CAClC,QAAQ,EACR,QAAQ,EACR,cAAc,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EACjD,aAAa,CACd,CAAC;IAEF,OAAO;QACL,QAAQ;QACR,QAAQ;QACR,QAAQ;QACR,OAAO;QACP,OAAO,EAAE,OAAO;QAChB,KAAK;KACN,CAAC;AACJ,CAAC","sourcesContent":["/**\n * @fileoverview Main entry point for the MemberJunction React Runtime.\n * Exports all public APIs for platform-agnostic React component compilation and execution.\n * @module @memberjunction/react-runtime\n */\n\n// Import necessary classes for createReactRuntime function\nimport { ComponentCompiler } from './compiler';\nimport { ComponentRegistry } from './registry';\nimport { ComponentResolver } from './registry';\nimport { ComponentManager } from './component-manager';\n\n// Export all types\nexport * from './types';\n\n// Export compiler APIs\nexport { ComponentCompiler } from './compiler';\nexport { \n DEFAULT_PRESETS,\n DEFAULT_PLUGINS,\n PRODUCTION_CONFIG,\n DEVELOPMENT_CONFIG,\n getBabelConfig,\n validateBabelPresets,\n getJSXConfig\n} from './compiler';\n\n// Export registry APIs\nexport { ComponentRegistry } from './registry';\nexport { \n ComponentResolver,\n ComponentSpec,\n ResolvedComponents,\n ComponentRegistryService,\n IComponentRegistryClient\n} from './registry';\n\n// Export unified ComponentManager\nexport { ComponentManager } from './component-manager';\nexport type {\n LoadOptions,\n LoadResult,\n HierarchyResult,\n ComponentManagerConfig\n} from './component-manager';\n\n// Export runtime APIs\nexport {\n createErrorBoundary,\n withErrorBoundary,\n formatComponentError,\n createErrorLogger\n} from './runtime';\n\n\nexport {\n buildComponentProps,\n normalizeCallbacks,\n normalizeStyles,\n validateComponentProps,\n mergeProps,\n createPropsTransformer,\n wrapCallbacksWithLogging,\n extractPropPaths,\n PropBuilderOptions\n} from './runtime';\n\nexport {\n ComponentHierarchyRegistrar,\n registerComponentHierarchy,\n validateComponentSpec,\n flattenComponentHierarchy,\n countComponentsInHierarchy,\n HierarchyRegistrationResult,\n ComponentRegistrationError,\n HierarchyRegistrationOptions\n} from './runtime';\n\nexport {\n ReactRootManager,\n reactRootManager,\n ManagedReactRoot,\n RuntimeHook,\n RootHookContext\n} from './runtime';\n\n// Export utilities\n\nexport {\n SetupStyles,\n createDefaultComponentStyles,\n BuildStylesFromTheme\n} from './utilities/component-styles';\n\nexport {\n buildAntdThemeConfig,\n wrapWithLibraryThemeProviders\n} from './utilities/component-library-theming';\n\nexport {\n StandardLibraries,\n StandardLibraryManager,\n createStandardLibraries\n} from './utilities/standard-libraries';\n\nexport {\n LibraryLoader,\n LibraryLoadOptions,\n LibraryLoadResult\n} from './utilities/library-loader';\n\nexport {\n getCoreRuntimeLibraries,\n isCoreRuntimeLibrary\n} from './utilities/core-libraries';\n\nexport {\n LibraryRegistry,\n LibraryDefinition\n} from './utilities/library-registry';\n\nexport {\n ComponentErrorAnalyzer,\n FailedComponentInfo\n} from './utilities/component-error-analyzer';\n\nexport {\n ResourceManager,\n resourceManager,\n ManagedResource\n} from './utilities/resource-manager';\n\nexport {\n CacheManager,\n CacheEntry,\n CacheOptions\n} from './utilities/cache-manager';\n\nexport {\n unwrapLibraryComponent,\n unwrapLibraryComponents,\n unwrapAllLibraryComponents,\n // Legacy exports for backward compatibility\n unwrapComponent,\n unwrapComponents,\n unwrapAllComponents\n} from './utilities/component-unwrapper';\n\nexport {\n USER_STATE_KEY_PREFIX,\n resolveUserStateScope,\n userStateStorageKey,\n parseStoredUserSettings,\n mergeUserSettings,\n applyUserSettingsUpdate\n} from './utilities/user-state';\n\n// Version information\nexport const VERSION = '2.69.1';\n\n// Default configurations\nexport const DEFAULT_CONFIGS = {\n compiler: {\n babel: {\n presets: ['react'],\n plugins: []\n },\n minify: false,\n sourceMaps: false,\n cache: true,\n maxCacheSize: 100\n },\n registry: {\n maxComponents: 1000,\n cleanupInterval: 60000,\n useLRU: true,\n enableNamespaces: true\n }\n};\n\n/**\n * Creates a complete React runtime instance with all necessary components\n * @param babelInstance - Babel standalone instance for compilation\n * @param config - Optional configuration overrides\n * @param runtimeContext - Optional runtime context for registry-based components\n * @param debug - Enable debug logging (defaults to false)\n * @returns Object containing compiler, registry, and resolver instances\n */\nexport function createReactRuntime(\n babelInstance: any,\n config?: {\n compiler?: Partial<import('./types').CompilerConfig>;\n registry?: Partial<import('./types').RegistryConfig>;\n manager?: Partial<import('./component-manager').ComponentManagerConfig>;\n },\n runtimeContext?: import('./types').RuntimeContext,\n debug: boolean = false\n) {\n // Merge debug flag into configs\n const compilerConfig = {\n ...config?.compiler,\n debug: config?.compiler?.debug ?? debug\n };\n \n const registryConfig = {\n ...config?.registry,\n debug: config?.registry?.debug ?? debug\n };\n \n const managerConfig = {\n ...config?.manager,\n debug: config?.manager?.debug ?? debug\n };\n \n const compiler = new ComponentCompiler(compilerConfig);\n compiler.setBabelInstance(babelInstance);\n \n const registry = new ComponentRegistry(registryConfig);\n const resolver = new ComponentResolver(registry, compiler, runtimeContext);\n \n // Create the unified ComponentManager\n const manager = new ComponentManager(\n compiler,\n registry,\n runtimeContext || { React: null, ReactDOM: null },\n managerConfig\n );\n\n return {\n compiler,\n registry,\n resolver,\n manager, // New unified manager\n version: VERSION,\n debug\n };\n}"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO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E,OAAO;QAClB,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,IAAI,KAAK;KACvC,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAI,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACvD,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAEzC,MAAM,QAAQ,GAAG,IAAI,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACvD,MAAM,QAAQ,GAAG,IAAI,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;IAG3E,MAAM,OAAO,GAAG,IAAI,gBAAgB,CAClC,QAAQ,EACR,QAAQ,EACR,cAAc,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EACjD,aAAa,CACd,CAAC;IAEF,OAAO;QACL,QAAQ;QACR,QAAQ;QACR,QAAQ;QACR,OAAO;QACP,OAAO,EAAE,OAAO;QAChB,KAAK;KACN,CAAC;AACJ,CAAC","sourcesContent":["/**\n * @fileoverview Main entry point for the MemberJunction React Runtime.\n * Exports all public APIs for platform-agnostic React component compilation and execution.\n * @module @memberjunction/react-runtime\n */\n\n// Import necessary classes for createReactRuntime function\nimport { ComponentCompiler } from './compiler';\nimport { ComponentRegistry } from './registry';\nimport { ComponentResolver } from './registry';\nimport { ComponentManager } from './component-manager';\n\n// Export all types\nexport * from './types';\n\n// Export compiler APIs\nexport { ComponentCompiler } from './compiler';\nexport { \n DEFAULT_PRESETS,\n DEFAULT_PLUGINS,\n PRODUCTION_CONFIG,\n DEVELOPMENT_CONFIG,\n getBabelConfig,\n validateBabelPresets,\n getJSXConfig\n} from './compiler';\n\n// Export registry APIs\nexport { ComponentRegistry } from './registry';\nexport { \n ComponentResolver,\n ComponentSpec,\n ResolvedComponents,\n ComponentRegistryService,\n IComponentRegistryClient\n} from './registry';\n\n// Export unified ComponentManager\nexport { ComponentManager } from './component-manager';\nexport type {\n LoadOptions,\n LoadResult,\n HierarchyResult,\n ComponentManagerConfig\n} from './component-manager';\n\n// Export runtime APIs\nexport {\n createErrorBoundary,\n withErrorBoundary,\n formatComponentError,\n createErrorLogger\n} from './runtime';\n\n\nexport {\n buildComponentProps,\n normalizeCallbacks,\n normalizeStyles,\n validateComponentProps,\n mergeProps,\n createPropsTransformer,\n wrapCallbacksWithLogging,\n extractPropPaths,\n PropBuilderOptions\n} from './runtime';\n\nexport {\n ComponentHierarchyRegistrar,\n registerComponentHierarchy,\n validateComponentSpec,\n flattenComponentHierarchy,\n countComponentsInHierarchy,\n HierarchyRegistrationResult,\n ComponentRegistrationError,\n HierarchyRegistrationOptions\n} from './runtime';\n\nexport {\n ReactRootManager,\n reactRootManager,\n ManagedReactRoot,\n RuntimeHook,\n RootHookContext\n} from './runtime';\n\n// Export utilities\n\nexport {\n SetupStyles,\n createDefaultComponentStyles,\n BuildStylesFromTheme,\n ApplyStyleOverrides\n} from './utilities/component-styles';\n\nexport {\n buildAntdThemeConfig,\n wrapWithLibraryThemeProviders\n} from './utilities/component-library-theming';\n\nexport {\n StandardLibraries,\n StandardLibraryManager,\n createStandardLibraries\n} from './utilities/standard-libraries';\n\nexport {\n LibraryLoader,\n LibraryLoadOptions,\n LibraryLoadResult\n} from './utilities/library-loader';\n\nexport {\n getCoreRuntimeLibraries,\n isCoreRuntimeLibrary\n} from './utilities/core-libraries';\n\nexport {\n LibraryRegistry,\n LibraryDefinition\n} from './utilities/library-registry';\n\nexport {\n ComponentErrorAnalyzer,\n FailedComponentInfo\n} from './utilities/component-error-analyzer';\n\nexport {\n ResourceManager,\n resourceManager,\n ManagedResource\n} from './utilities/resource-manager';\n\nexport {\n CacheManager,\n CacheEntry,\n CacheOptions\n} from './utilities/cache-manager';\n\nexport {\n unwrapLibraryComponent,\n unwrapLibraryComponents,\n unwrapAllLibraryComponents,\n // Legacy exports for backward compatibility\n unwrapComponent,\n unwrapComponents,\n unwrapAllComponents\n} from './utilities/component-unwrapper';\n\nexport {\n USER_STATE_KEY_PREFIX,\n resolveUserStateScope,\n userStateStorageKey,\n parseStoredUserSettings,\n mergeUserSettings,\n applyUserSettingsUpdate\n} from './utilities/user-state';\n\n// Version information\nexport const VERSION = '2.69.1';\n\n// Default configurations\nexport const DEFAULT_CONFIGS = {\n compiler: {\n babel: {\n presets: ['react'],\n plugins: []\n },\n minify: false,\n sourceMaps: false,\n cache: true,\n maxCacheSize: 100\n },\n registry: {\n maxComponents: 1000,\n cleanupInterval: 60000,\n useLRU: true,\n enableNamespaces: true\n }\n};\n\n/**\n * Creates a complete React runtime instance with all necessary components\n * @param babelInstance - Babel standalone instance for compilation\n * @param config - Optional configuration overrides\n * @param runtimeContext - Optional runtime context for registry-based components\n * @param debug - Enable debug logging (defaults to false)\n * @returns Object containing compiler, registry, and resolver instances\n */\nexport function createReactRuntime(\n babelInstance: any,\n config?: {\n compiler?: Partial<import('./types').CompilerConfig>;\n registry?: Partial<import('./types').RegistryConfig>;\n manager?: Partial<import('./component-manager').ComponentManagerConfig>;\n },\n runtimeContext?: import('./types').RuntimeContext,\n debug: boolean = false\n) {\n // Merge debug flag into configs\n const compilerConfig = {\n ...config?.compiler,\n debug: config?.compiler?.debug ?? debug\n };\n \n const registryConfig = {\n ...config?.registry,\n debug: config?.registry?.debug ?? debug\n };\n \n const managerConfig = {\n ...config?.manager,\n debug: config?.manager?.debug ?? debug\n };\n \n const compiler = new ComponentCompiler(compilerConfig);\n compiler.setBabelInstance(babelInstance);\n \n const registry = new ComponentRegistry(registryConfig);\n const resolver = new ComponentResolver(registry, compiler, runtimeContext);\n \n // Create the unified ComponentManager\n const manager = new ComponentManager(\n compiler,\n registry,\n runtimeContext || { React: null, ReactDOM: null },\n managerConfig\n );\n\n return {\n compiler,\n registry,\n resolver,\n manager, // New unified manager\n version: VERSION,\n debug\n };\n}"]}