@aiquants/enrichment-react 0.10.0 → 0.12.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.
@@ -0,0 +1 @@
1
+ "use strict";var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var p=(e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})},d=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!u.call(e,n)&&n!==o&&r(e,n,{get:()=>t[n],enumerable:!(i=c(t,n))||i.enumerable});return e};var l=e=>d(r({},"__esModule",{value:!0}),e);var g={};p(g,{PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX:()=>s,clearPipelineEditorWorkCopies:()=>w,hasPipelineEditorWorkCopies:()=>h});module.exports=l(g);var s="@aiquants/enrichment-react:pipeline-editor:";function a(e){return Array.from({length:e.length},(t,o)=>e.key(o)).filter(t=>t?.startsWith(s)===!0)}function h(){if(typeof window>"u")return!1;try{return a(window.sessionStorage).length>0}catch{return!1}}function w(){if(!(typeof window>"u"))try{let e=window.sessionStorage;for(let t of a(e))e.removeItem(t)}catch(e){console.warn("[@aiquants/enrichment-react] could not remove the pipeline editors' work copies from sessionStorage; continuing without them.",e)}}0&&(module.exports={PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX,clearPipelineEditorWorkCopies,hasPipelineEditorWorkCopies});
@@ -0,0 +1,4 @@
1
+ declare const PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX = "@aiquants/enrichment-react:pipeline-editor:";
2
+ declare function hasPipelineEditorWorkCopies(): boolean;
3
+ declare function clearPipelineEditorWorkCopies(): void;
4
+ export { PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX, clearPipelineEditorWorkCopies, hasPipelineEditorWorkCopies };
@@ -0,0 +1,4 @@
1
+ declare const PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX = "@aiquants/enrichment-react:pipeline-editor:";
2
+ declare function hasPipelineEditorWorkCopies(): boolean;
3
+ declare function clearPipelineEditorWorkCopies(): void;
4
+ export { PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX, clearPipelineEditorWorkCopies, hasPipelineEditorWorkCopies };
@@ -0,0 +1 @@
1
+ var r="@aiquants/enrichment-react:pipeline-editor:";function o(e){return Array.from({length:e.length},(t,n)=>e.key(n)).filter(t=>t?.startsWith(r)===!0)}function i(){if(typeof window>"u")return!1;try{return o(window.sessionStorage).length>0}catch{return!1}}function s(){if(!(typeof window>"u"))try{let e=window.sessionStorage;for(let t of o(e))e.removeItem(t)}catch(e){console.warn("[@aiquants/enrichment-react] could not remove the pipeline editors' work copies from sessionStorage; continuing without them.",e)}}export{r as PIPELINE_EDITOR_WORK_COPY_KEY_PREFIX,s as clearPipelineEditorWorkCopies,i as hasPipelineEditorWorkCopies};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/enrichment-react",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "React UI components for storage metadata AI enrichment: ingest console, pipeline flow viewer, document change history inspector and recent changes card, search and model-comparison workbenches, strategy board, embedding variant board, and status, health, storage, and ontology cards.",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -17,6 +17,16 @@
17
17
  "types": "./dist/index.d.cts",
18
18
  "default": "./dist/index.cjs"
19
19
  }
20
+ },
21
+ "./work-copies": {
22
+ "import": {
23
+ "types": "./dist/work-copies.d.ts",
24
+ "default": "./dist/work-copies.js"
25
+ },
26
+ "require": {
27
+ "types": "./dist/work-copies.d.cts",
28
+ "default": "./dist/work-copies.cjs"
29
+ }
20
30
  }
21
31
  },
22
32
  "files": [
@@ -37,14 +47,18 @@
37
47
  "author": "AI Quants",
38
48
  "license": "MIT",
39
49
  "peerDependencies": {
40
- "@aiquants/console-ui": "^0.5.0",
41
- "@aiquants/enrichment-core": "^0.13.0",
50
+ "@aiquants/auth-core": "^0.8.0",
51
+ "@aiquants/console-ui": "^0.7.0",
52
+ "@aiquants/enrichment-core": "^0.14.0",
53
+ "@aiquants/plugin-settings": "^0.1.0",
42
54
  "react": ">=19",
43
55
  "react-dom": ">=19"
44
56
  },
45
57
  "devDependencies": {
46
- "@aiquants/console-ui": "0.5.0",
47
- "@aiquants/enrichment-core": "0.13.0",
58
+ "@aiquants/auth-core": "0.8.0",
59
+ "@aiquants/console-ui": "0.7.0",
60
+ "@aiquants/enrichment-core": "0.14.0",
61
+ "@aiquants/plugin-settings": "0.1.0",
48
62
  "@testing-library/jest-dom": "^6.9.1",
49
63
  "@testing-library/react": "^16.3.2",
50
64
  "@testing-library/user-event": "^14.6.1",
@@ -72,9 +86,9 @@
72
86
  "build:self": "tsup && node ../../.config/scripts/strip-dts-comments.mjs dist",
73
87
  "build:watch": "tsup --watch",
74
88
  "dev": "tsup --watch",
75
- "publish:patch": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version patch --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
76
- "publish:minor": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version minor --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
77
- "publish:major": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version major --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
89
+ "publish:patch": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump patch && pnpm version patch --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
90
+ "publish:minor": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump minor && pnpm version minor --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
91
+ "publish:major": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump major && pnpm version major --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
78
92
  "typecheck": "tsc --noEmit",
79
93
  "clean": "rimraf dist",
80
94
  "lint": "biome lint src/",