@memberjunction/interactive-component-types 3.4.0 → 4.1.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.
package/README.md CHANGED
@@ -6,14 +6,40 @@ Type definitions and interfaces for MemberJunction's Interactive Components syst
6
6
 
7
7
  The `@memberjunction/interactive-component-types` package provides the foundational types and interfaces for building interactive components in MemberJunction. These components are designed to be dynamically generated, data-aware, and AI-enhanced, allowing for rich user experiences with minimal configuration.
8
8
 
9
+ ```mermaid
10
+ graph TD
11
+ A["InteractiveComponentSpec<br/>(Component Definition)"] --> B["ComponentInitFunction"]
12
+ B --> C["Props & Events"]
13
+ B --> D["SimpleDataContext"]
14
+ B --> E["SimpleMetadata"]
15
+ B --> F["SimpleRunView / RunQuery"]
16
+ B --> G["SimpleAITools"]
17
+
18
+ G --> H["ExecutePrompt<br/>(LLM Calls)"]
19
+ G --> I["EmbedText<br/>(Vector Embeddings)"]
20
+ G --> J["VectorService<br/>(Similarity / KNN)"]
21
+
22
+ A --> K["ComponentObject<br/>(Runtime Interface)"]
23
+ K --> L["Standard Methods<br/>(print, refresh, isDirty)"]
24
+ K --> M["Custom Methods<br/>(RegisterMethod)"]
25
+
26
+ style A fill:#2d6a9f,stroke:#1a4971,color:#fff
27
+ style B fill:#7c5295,stroke:#563a6b,color:#fff
28
+ style G fill:#2d8659,stroke:#1a5c3a,color:#fff
29
+ style K fill:#b8762f,stroke:#8a5722,color:#fff
30
+ style H fill:#2d8659,stroke:#1a5c3a,color:#fff
31
+ style I fill:#2d8659,stroke:#1a5c3a,color:#fff
32
+ style J fill:#2d8659,stroke:#1a5c3a,color:#fff
33
+ ```
34
+
9
35
  ## Key Features
10
36
 
11
- - **Dynamic Component Generation**: Type-safe specifications for runtime component creation
12
- - **Data Context Management**: Support for both static and dynamic data loading
13
- - **AI Tool Integration**: Built-in interfaces for AI operations within components
14
- - **Framework Agnostic**: Core types that work across React, Angular, and other frameworks
15
- - **Vector Operations**: Support for similarity calculations and vector-based data operations
16
- - **Metadata Access**: Direct access to MemberJunction's metadata system
37
+ - **Dynamic Component Generation** -- Type-safe specifications for runtime component creation
38
+ - **Data Context Management** -- Support for both static and dynamic data loading
39
+ - **AI Tool Integration** -- Built-in interfaces for AI operations within components
40
+ - **Framework Agnostic** -- Core types that work across React, Angular, and other frameworks
41
+ - **Vector Operations** -- Support for similarity calculations and vector-based data operations
42
+ - **Metadata Access** -- Direct access to MemberJunction's metadata system
17
43
 
18
44
  ## Installation
19
45
 
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  /**
3
2
  * Constraint Validation Types
4
3
  *
@@ -28,5 +27,5 @@
28
27
  * }
29
28
  * ```
30
29
  */
31
- Object.defineProperty(exports, "__esModule", { value: true });
30
+ export {};
32
31
  //# sourceMappingURL=component-constraints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-constraints.js","sourceRoot":"","sources":["../src/component-constraints.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG"}
1
+ {"version":3,"file":"component-constraints.js","sourceRoot":"","sources":["../src/component-constraints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG"}
@@ -1,4 +1,4 @@
1
- import { ComponentSpec } from "./component-spec";
1
+ import { ComponentSpec } from "./component-spec.js";
2
2
  /**
3
3
  * Defines a given option for a generated component that the user can choose. The code/componentObjectName properties are used to render the component in the UI.
4
4
  */
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=component-option.js.map
@@ -1,4 +1,4 @@
1
- import { PropertyConstraint } from './component-constraints';
1
+ import { PropertyConstraint } from './component-constraints.js';
2
2
  /**
3
3
  * Definition of a single property of a component.
4
4
  */
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=component-props-events.js.map
@@ -1,6 +1,6 @@
1
- import { ComponentSpec } from "./component-spec";
2
- import { ComponentEntitySimplePermission } from "./data-requirements";
3
- import { ComponentLibraryDependency } from "./library-dependency";
1
+ import { ComponentSpec } from "./component-spec.js";
2
+ import { ComponentEntitySimplePermission } from "./data-requirements.js";
3
+ import { ComponentLibraryDependency } from "./library-dependency.js";
4
4
  import { UserInfo } from "@memberjunction/core";
5
5
  /**
6
6
  * Runtime extension of ComponentSpec that provides helper methods for permission checking,
@@ -1,14 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentSpecRuntime = void 0;
4
- const component_spec_1 = require("./component-spec");
5
- const core_1 = require("@memberjunction/core");
1
+ import { ComponentSpec } from "./component-spec.js";
2
+ import { EntityPermissionType, Metadata } from "@memberjunction/core";
6
3
  /**
7
4
  * Runtime extension of ComponentSpec that provides helper methods for permission checking,
8
5
  * validation, and other runtime operations. This class is not included in AI prompts
9
6
  * to keep token usage efficient.
10
7
  */
11
- class ComponentSpecRuntime extends component_spec_1.ComponentSpec {
8
+ export class ComponentSpecRuntime extends ComponentSpec {
12
9
  /**
13
10
  * Get all unique permissions required by this component across all entities.
14
11
  * This aggregates permissions from all entity data requirements to provide
@@ -61,11 +58,11 @@ class ComponentSpecRuntime extends component_spec_1.ComponentSpec {
61
58
  */
62
59
  convertToEntityPermissionType(permission) {
63
60
  switch (permission) {
64
- case 'read': return core_1.EntityPermissionType.Read;
65
- case 'create': return core_1.EntityPermissionType.Create;
66
- case 'update': return core_1.EntityPermissionType.Update;
67
- case 'delete': return core_1.EntityPermissionType.Delete;
68
- default: return core_1.EntityPermissionType.Read; // Safe default
61
+ case 'read': return EntityPermissionType.Read;
62
+ case 'create': return EntityPermissionType.Create;
63
+ case 'update': return EntityPermissionType.Update;
64
+ case 'delete': return EntityPermissionType.Delete;
65
+ default: return EntityPermissionType.Read; // Safe default
69
66
  }
70
67
  }
71
68
  /**
@@ -80,7 +77,7 @@ class ComponentSpecRuntime extends component_spec_1.ComponentSpec {
80
77
  const missing = [];
81
78
  const degraded = [];
82
79
  // Get metadata instance to access entity information
83
- const md = new core_1.Metadata();
80
+ const md = new Metadata();
84
81
  // Check each entity's required permissions
85
82
  for (const entityReq of this.dataRequirements?.entities || []) {
86
83
  // Find the entity in the metadata
@@ -214,5 +211,4 @@ class ComponentSpecRuntime extends component_spec_1.ComponentSpec {
214
211
  return allDeps;
215
212
  }
216
213
  }
217
- exports.ComponentSpecRuntime = ComponentSpecRuntime;
218
214
  //# sourceMappingURL=component-spec-runtime.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-spec-runtime.js","sourceRoot":"","sources":["../src/component-spec-runtime.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAGjD,+CAAgF;AAEhF;;;;GAIG;AACH,MAAa,oBAAqB,SAAQ,8BAAa;IACnD;;;;;;OAMG;IACI,sBAAsB;QACzB,MAAM,WAAW,GAAG,IAAI,GAAG,EAAmC,CAAC;QAE/D,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YAC7C,MAAM,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACnC,CAAC;IAED;;;;;;OAMG;IACI,qBAAqB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;IACrD,CAAC;IAED;;;;;OAKG;IACI,mBAAmB;QACtB,OAAO,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,E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OAKG;IACI,sBAAsB;QACzB,OAAO,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACI,gBAAgB,CAAC,mBAA2B;QAC/C,OAAO,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAC9B,GAAG,CAAC,IAAI,KAAK,mBAAmB;YAChC,GAAG,CAAC,cAAc,KAAK,mBAAmB,CAC7C,IAAI,KAAK,CAAC;IACf,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CAAC,eAAe,IAAI,GAAG,EAAU;QACtD,MAAM,OAAO,GAAoB,EAAE,CAAC;QAEpC,eAAe;QACf,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9B,OAAO,OAAO,CAAC;QACnB,CAAC;QACD,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE5B,8BAA8B;QAC9B,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,YAAY,IAAI,EAAE,EAAE,CAAC;YACxC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAElB,6DAA6D;YAC7D,IAAI,GAAG,YAAY,oBAAoB,EAAE,CAAC;gBACtC,OAAO,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC;YAC1D,CAAC;QACL,CAAC;QAED,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ"}
@@ -1,7 +1,7 @@
1
- import { ComponentEvent, ComponentProperty } from "./component-props-events";
2
- import { ComponentDataRequirements } from "./data-requirements";
3
- import { ComponentLibraryDependency } from "./library-dependency";
4
- import { ComponentTypeDefinition } from "./component-constraints";
1
+ import { ComponentEvent, ComponentProperty } from "./component-props-events.js";
2
+ import { ComponentDataRequirements } from "./data-requirements.js";
3
+ import { ComponentLibraryDependency } from "./library-dependency.js";
4
+ import { ComponentTypeDefinition } from "./component-constraints.js";
5
5
  /**
6
6
  * Tracks the current change being applied to this component.
7
7
  * Populated by Impact Assessor at the start of a modification flow,
@@ -1,11 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentSpec = void 0;
4
1
  /**
5
2
  * Specification for an interactive component
6
3
  */
7
- class ComponentSpec {
4
+ export class ComponentSpec {
8
5
  }
9
- exports.ComponentSpec = ComponentSpec;
10
6
  ;
11
7
  //# sourceMappingURL=component-spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":";;;AAgFA;;GAEG;AACH,MAAa,aAAa;CA+KzB;AA/KD,sCA+KC;AAAA,CAAC"}
1
+ {"version":3,"file":"component-spec.js","sourceRoot":"","sources":["../src/component-spec.ts"],"names":[],"mappings":"AAgFA;;GAEG;AACH,MAAM,OAAO,aAAa;CA+KzB;AAAA,CAAC"}
@@ -1,12 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleEntityInfo = exports.SimpleEntityFieldInfo = void 0;
4
1
  /**
5
2
  * Lightweight class to share field metadata for component validation and linting.
6
3
  * This is a simplified version of EntityFieldInfo from @memberjunction/core,
7
4
  * designed for contexts where full field metadata isn't needed.
8
5
  **/
9
- class SimpleEntityFieldInfo {
6
+ export class SimpleEntityFieldInfo {
10
7
  constructor(init) {
11
8
  if (init) {
12
9
  Object.assign(this, init);
@@ -49,14 +46,13 @@ class SimpleEntityFieldInfo {
49
46
  };
50
47
  }
51
48
  }
52
- exports.SimpleEntityFieldInfo = SimpleEntityFieldInfo;
53
49
  /**
54
50
  * Lightweight class to share entity metadata for component validation and linting.
55
51
  * Contains the entity name and complete list of all fields in the entity.
56
52
  * This is a simplified version of EntityInfo from @memberjunction/core,
57
53
  * designed for contexts where full entity metadata isn't needed.
58
54
  */
59
- class SimpleEntityInfo {
55
+ export class SimpleEntityInfo {
60
56
  constructor(init) {
61
57
  this.fields = [];
62
58
  if (init) {
@@ -121,5 +117,4 @@ class SimpleEntityInfo {
121
117
  return new Set(this.fields.map(f => f.name));
122
118
  }
123
119
  }
124
- exports.SimpleEntityInfo = SimpleEntityInfo;
125
120
  //# sourceMappingURL=data-requirements.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-requirements.js","sourceRoot":"","sources":["../src/data-requirements.ts"],"names":[],"mappings":";;;AA+KA;;;;IAII;AACJ,MAAa,qBAAqB;IAkC9B,YAAY,IAAqC;QAC7C,IAAI,IAAI,EAAE,CAAC;YACP,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC9B,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,SAA0B;QACjD,OAAO,IAAI,qBAAqB,CAAC;YAC7B,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,QAAQ,EAAE,SAAS,CAAC,QAAQ;YAC5B,aAAa,EAAE,SAAS,CAAC,aAAa;YACtC,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,UAAU,EAAE,SAAS,CAAC,UAAU;YAChC,YAAY,EAAE,SAAS,CAAC,YAAY;YACpC,cAAc,EAAE,SAAS,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;YAC9D,WAAW,EAAE,SAAS,CAAC,WAAW;SACrC,CAAC,CAAC;IACP,CAAC;IAED;;;;;OAKG;IACH,iBAAiB;QACb,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,2EAA2E;YAC3E,iE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ACvD,CAAC;IAED;;;OAGG;IACH,eAAe;QACX,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IACjD,CAAC;CACJ"}
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from './data-requirements';
2
- export * from './component-option';
3
- export * from './runtime-types';
4
- export * from './shared';
5
- export * from './component-props-events';
6
- export * from './component-constraints';
7
- export * from './util';
8
- export * from './component-spec';
9
- export * from './component-spec-runtime';
10
- export * from './library-dependency';
1
+ export * from './data-requirements.js';
2
+ export * from './component-option.js';
3
+ export * from './runtime-types.js';
4
+ export * from './shared.js';
5
+ export * from './component-props-events.js';
6
+ export * from './component-constraints.js';
7
+ export * from './util.js';
8
+ export * from './component-spec.js';
9
+ export * from './component-spec-runtime.js';
10
+ export * from './library-dependency.js';
11
11
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,27 +1,11 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./data-requirements"), exports);
18
- __exportStar(require("./component-option"), exports);
19
- __exportStar(require("./runtime-types"), exports);
20
- __exportStar(require("./shared"), exports);
21
- __exportStar(require("./component-props-events"), exports);
22
- __exportStar(require("./component-constraints"), exports);
23
- __exportStar(require("./util"), exports);
24
- __exportStar(require("./component-spec"), exports);
25
- __exportStar(require("./component-spec-runtime"), exports);
26
- __exportStar(require("./library-dependency"), exports);
1
+ export * from './data-requirements.js';
2
+ export * from './component-option.js';
3
+ export * from './runtime-types.js';
4
+ export * from './shared.js';
5
+ export * from './component-props-events.js';
6
+ export * from './component-constraints.js';
7
+ export * from './util.js';
8
+ export * from './component-spec.js';
9
+ export * from './component-spec-runtime.js';
10
+ export * from './library-dependency.js';
27
11
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,2CAAyB;AACzB,2DAAyC;AACzC,0DAAwC;AACxC,yCAAuB;AACvB,mDAAiC;AACjC,2DAAyC;AACzC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=library-dependency.js.map
@@ -1,5 +1,5 @@
1
1
  import { CompositeKey } from "@memberjunction/core";
2
- import { SimpleAITools, SimpleMetadata, SimpleRunQuery, SimpleRunView } from "./shared";
2
+ import { SimpleAITools, SimpleMetadata, SimpleRunQuery, SimpleRunView } from "./shared.js";
3
3
  /**
4
4
  * Callbacks a component can use.
5
5
  */
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=runtime-types.js.map
package/dist/shared.js CHANGED
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=shared.js.map
package/dist/util.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentSpec } from "./component-spec";
1
+ import { ComponentSpec } from "./component-spec.js";
2
2
  /**
3
3
  * Builds the complete code for a component based on the provided spec.
4
4
  *
package/dist/util.js CHANGED
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuildComponentCode = exports.BuildComponentCompleteCode = void 0;
4
1
  /**
5
2
  * Builds the complete code for a component based on the provided spec.
6
3
  *
@@ -12,7 +9,7 @@ exports.BuildComponentCode = exports.BuildComponentCompleteCode = void 0;
12
9
  * @param spec - The ComponentRootSpec defining the component structure and behavior
13
10
  * @returns A string containing the complete executable JavaScript code for the component
14
11
  */
15
- function BuildComponentCompleteCode(spec) {
12
+ export function BuildComponentCompleteCode(spec) {
16
13
  // Start with the base code for the root component
17
14
  // Return empty string if no code provided (allows UI to hide Code tab)
18
15
  if (!spec.code || !spec.code.trim()) {
@@ -34,13 +31,12 @@ function BuildComponentCompleteCode(spec) {
34
31
  // Return the complete code for this component
35
32
  return code;
36
33
  }
37
- exports.BuildComponentCompleteCode = BuildComponentCompleteCode;
38
34
  /**
39
35
  * Builds the code for a component dependency based on the provided spec including recursive dependency components.
40
36
  * @param spec - The ComponentSpec defining the dependency component structure and behavior
41
37
  * @returns A string containing the executable JavaScript code for the component dependency
42
38
  */
43
- function BuildComponentCode(dep, path) {
39
+ export function BuildComponentCode(dep, path) {
44
40
  // Start with the base code for the component
45
41
  let commentHeader = `/*******************************************************\n ${path ? `${path} > ` : ''}${dep.name}\n ${dep.description}\n*******************************************************/\n`;
46
42
  let code = commentHeader + dep.code;
@@ -58,5 +54,4 @@ function BuildComponentCode(dep, path) {
58
54
  // Return the complete code for this dependency component
59
55
  return code;
60
56
  }
61
- exports.BuildComponentCode = BuildComponentCode;
62
57
  //# sourceMappingURL=util.js.map
package/dist/util.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;GAUG;AACH,SAAgB,0BAA0B,CAAC,IAAmB;IAC1D,kDAAkD;IAClD,uEAAuE;IACvE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;QAClC,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;IACrB,uFAAuF;IACvF,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvD,iFAAiF;QACjF,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC5C,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAChC,qFAAqF;YACrF,IAAI,IAAI,MAAM,GAAG,OAAO,CAAC;QAC7B,CAAC;IACL,CAAC;IACD,8CAA8C;IAC9C,OAAO,IAAI,CAAC;AAChB,CAAC;AArBD,gEAqBC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,GAAkB,EAAE,IAAY;IAC/D,6CAA6C;IAC7C,IAAI,aAAa,GAAG,gEAAgE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,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.0",
3
+ "type": "module",
4
+ "version": "4.1.0",
4
5
  "description": "MemberJunction: Interactive Component - Type specifications for MJ Interactive UI Componentry",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
@@ -9,18 +10,18 @@
9
10
  ],
10
11
  "scripts": {
11
12
  "start": "ts-node-dev src/index.ts",
12
- "build": "tsc",
13
+ "build": "tsc && tsc-alias -f",
13
14
  "test": "echo \"Error: no test specified\" && exit 1"
14
15
  },
15
16
  "author": "MemberJunction.com",
16
17
  "license": "ISC",
17
18
  "devDependencies": {
18
19
  "ts-node-dev": "^2.0.0",
19
- "typescript": "^5.4.5"
20
+ "typescript": "^5.9.3"
20
21
  },
21
22
  "dependencies": {
22
- "@memberjunction/core": "3.4.0",
23
- "@memberjunction/ai-vectors-memory": "3.4.0"
23
+ "@memberjunction/core": "4.1.0",
24
+ "@memberjunction/ai-vectors-memory": "4.1.0"
24
25
  },
25
26
  "repository": {
26
27
  "type": "git",