@memberjunction/ng-hierarchy-tree 0.0.0 → 6.1.0-edge.3

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,252 @@
1
+ import { CompositeKey } from '@memberjunction/core';
2
+ /**
3
+ * Orientation options for the visual hierarchy layout.
4
+ *
5
+ * - `'top-to-bottom'`: Classical vertical tree / organizational chart (root at top, leaves at bottom).
6
+ * - `'left-to-right'`: Horizontal branch hierarchy (root at left, leaves at right), ideal for deep taxonomies.
7
+ */
8
+ export type HierarchyTreeOrientation = 'top-to-bottom' | 'left-to-right';
9
+ /**
10
+ * Node card styling variant.
11
+ *
12
+ * - `'card'`: Detailed rectangular card with icon, title, subtitle badge, and action buttons.
13
+ * - `'compact'`: Streamlined pill-style node card for dense taxonomies.
14
+ */
15
+ export type HierarchyNodeStyle = 'card' | 'compact';
16
+ /**
17
+ * Represents a single node within the visual hierarchy tree.
18
+ *
19
+ * Contains both domain entity data and layout/interactive state (expansion,
20
+ * selection, highlight, descendant counts, and primary key composite mapping).
21
+ */
22
+ export interface HierarchyNodeData<T = Record<string, unknown>> {
23
+ /**
24
+ * Unique string identifier for the node, typically the serialized primary key or single ID value.
25
+ */
26
+ ID: string;
27
+ /**
28
+ * The MemberJunction composite primary key representing this entity record.
29
+ * Derived dynamically from entity metadata to support composite keys.
30
+ */
31
+ PrimaryKey: CompositeKey;
32
+ /**
33
+ * Primary display label for the node card (e.g. Organization Name, Category Name).
34
+ */
35
+ Name: string;
36
+ /**
37
+ * Optional secondary subtitle or description (e.g. Type, Account Code, Role).
38
+ */
39
+ Subtitle?: string;
40
+ /**
41
+ * Font Awesome icon class or image URL displayed in the node card header (e.g. `'fa-solid fa-building'`).
42
+ */
43
+ Icon?: string;
44
+ /**
45
+ * Accent color hex or CSS variable string for the node's visual badge and border indicator.
46
+ */
47
+ Color?: string;
48
+ /**
49
+ * The primary key string of the parent node, or `null`/`undefined` for root nodes.
50
+ */
51
+ ParentID?: string | null;
52
+ /**
53
+ * Number of immediate direct child nodes.
54
+ */
55
+ DirectChildCount: number;
56
+ /**
57
+ * Total recursive count of all descendants under this subtree.
58
+ */
59
+ TotalDescendantCount: number;
60
+ /**
61
+ * The depth level of this node within the hierarchy (0 for root nodes).
62
+ */
63
+ Depth: number;
64
+ /**
65
+ * Whether this node's children are currently expanded (`true`) or collapsed (`false`).
66
+ */
67
+ IsExpanded: boolean;
68
+ /**
69
+ * Whether this node is currently selected/active in the view.
70
+ */
71
+ IsSelected: boolean;
72
+ /**
73
+ * Whether this node matches an active search query or highlighted path.
74
+ */
75
+ IsHighlighted: boolean;
76
+ /**
77
+ * Whether this node is currently set as the temporary focused subtree root.
78
+ */
79
+ IsFocusRoot: boolean;
80
+ /**
81
+ * The underlying MemberJunction entity instance or record object if loaded.
82
+ */
83
+ Record?: T;
84
+ /**
85
+ * Currently visible child nodes in the visual layout.
86
+ */
87
+ Children: HierarchyNodeData<T>[];
88
+ /**
89
+ * Full set of child nodes preserved when the node is collapsed.
90
+ * @internal
91
+ */
92
+ _allChildren?: HierarchyNodeData<T>[];
93
+ /**
94
+ * Layout coordinate X computed by D3.
95
+ * @internal
96
+ */
97
+ x?: number;
98
+ /**
99
+ * Layout coordinate Y computed by D3.
100
+ * @internal
101
+ */
102
+ y?: number;
103
+ }
104
+ /**
105
+ * Declarative configuration options for the {@link HierarchyTreeComponent}.
106
+ */
107
+ export interface HierarchyTreeConfig {
108
+ /**
109
+ * The MemberJunction entity name (e.g. `'MJ_BizApps_Common: Organizations'`, `'MJ_BizApps_Orders: Product Categories'`).
110
+ * The component queries this entity and uses its metadata for primary keys and foreign keys.
111
+ */
112
+ EntityName: string;
113
+ /**
114
+ * The self-referencing foreign key field name that points to the parent record (e.g. `'ParentID'`, `'ParentCategoryID'`).
115
+ * If omitted, defaults to `'ParentID'` or automatically resolves from the entity's self-referencing foreign key metadata.
116
+ */
117
+ ParentField?: string;
118
+ /**
119
+ * The field name to use for the primary node label.
120
+ * If omitted, automatically defaults to the entity's configured `NameField` / `IsNameField`.
121
+ */
122
+ NameField?: string;
123
+ /**
124
+ * Optional field name to use for the node subtitle / secondary tag (e.g. `'OrganizationType'`, `'AccountCode'`).
125
+ */
126
+ SubtitleField?: string;
127
+ /**
128
+ * Optional field name containing a Font Awesome icon class or image URL.
129
+ */
130
+ IconField?: string;
131
+ /**
132
+ * Default Font Awesome icon class when a node does not provide one.
133
+ * @default `'fa-solid fa-sitemap'`
134
+ */
135
+ DefaultIcon?: string;
136
+ /**
137
+ * Optional field name containing a hex color or theme token for the node accent.
138
+ */
139
+ ColorField?: string;
140
+ /**
141
+ * Default accent color when a node does not provide one. Prefer a design token over a
142
+ * literal so the accent follows the active theme.
143
+ * @default `'var(--mj-brand-primary, #38bdf8)'`
144
+ */
145
+ DefaultColor?: string;
146
+ /**
147
+ * Optional SQL-like filter string applied to the `RunView` query (e.g. `'IsActive = 1'`).
148
+ */
149
+ ExtraFilter?: string;
150
+ /**
151
+ * Optional order-by clause for sorting sibling nodes (e.g. `'Name ASC'`, `'Sequence ASC'`).
152
+ * @default `'Name ASC'`
153
+ */
154
+ OrderBy?: string;
155
+ /**
156
+ * Optional maximum number of rows to retrieve via `RunView`. `0` loads all records.
157
+ * @default 0
158
+ */
159
+ MaxRows?: number;
160
+ /**
161
+ * Optional active / selected record ID. When provided, the node is highlighted and all ancestors
162
+ * are expanded so it is visible in full tree context.
163
+ */
164
+ ActiveRecordID?: string;
165
+ /**
166
+ * Optional subtree focus record ID. When provided, the tree renders only the specified record and its descendants.
167
+ */
168
+ FocusRecordID?: string;
169
+ /**
170
+ * Layout orientation.
171
+ * @default `'top-to-bottom'`
172
+ */
173
+ Orientation?: HierarchyTreeOrientation;
174
+ /**
175
+ * Visual style for node cards.
176
+ * @default `'card'`
177
+ */
178
+ NodeStyle?: HierarchyNodeStyle;
179
+ /**
180
+ * Whether to allow interactive drag-and-drop reparenting of nodes.
181
+ * @default false
182
+ */
183
+ AllowDragDropReparent?: boolean;
184
+ /**
185
+ * Whether to display quick node action buttons (Open Record, Add Child, Focus Subtree) on node cards.
186
+ * @default true
187
+ */
188
+ AllowNodeActions?: boolean;
189
+ /**
190
+ * Whether to display the interactive search / filter bar at the top of the tree.
191
+ * @default true
192
+ */
193
+ ShowSearch?: boolean;
194
+ /**
195
+ * Whether to display the zoom / navigation toolbar (Fit, Zoom In, Zoom Out, Expand All, Collapse All).
196
+ * @default true
197
+ */
198
+ ShowToolbar?: boolean;
199
+ /**
200
+ * Maximum depth to expand initially upon loading. `0` expands all levels.
201
+ * @default 0
202
+ */
203
+ InitialExpandDepth?: number;
204
+ /**
205
+ * Width of individual node cards in pixels.
206
+ * @default 230
207
+ */
208
+ NodeWidth?: number;
209
+ /**
210
+ * Height of individual node cards in pixels.
211
+ * @default 90
212
+ */
213
+ NodeHeight?: number;
214
+ /**
215
+ * Horizontal spacing between sibling nodes in pixels.
216
+ * @default 40
217
+ */
218
+ SiblingSpacing?: number;
219
+ /**
220
+ * Vertical spacing between hierarchy depth levels in pixels.
221
+ * @default 70
222
+ */
223
+ LevelSpacing?: number;
224
+ /**
225
+ * Total height of the tree container (e.g. `'100%'`, `'560px'`).
226
+ * @default `'100%'`
227
+ */
228
+ Height?: string;
229
+ /**
230
+ * Minimum height of the tree container.
231
+ * @default `'500px'`
232
+ */
233
+ MinHeight?: string;
234
+ /**
235
+ * Whether single-clicking a node card triggers navigation to that record.
236
+ * @default true
237
+ */
238
+ NavigateOnNodeClick?: boolean;
239
+ /**
240
+ * When multiple root trees exist and an active/focus record is specified,
241
+ * automatically focuses on the root branch containing the active record.
242
+ * Users can click "Show All Roots" to zoom out to the full forest.
243
+ * @default true
244
+ */
245
+ AutoRootFocus?: boolean;
246
+ /**
247
+ * Whether to enable verbose diagnostic console logging.
248
+ * @default false
249
+ */
250
+ Verbose?: boolean;
251
+ }
252
+ //# sourceMappingURL=hierarchy-tree.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hierarchy-tree.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IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=hierarchy-tree.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hierarchy-tree.types.js","sourceRoot":"","sources":["../../../src/lib/models/hierarchy-tree.types.ts"],"names":[],"mappings":"","sourcesContent":["import { CompositeKey } from '@memberjunction/core';\n\n/**\n * Orientation options for the visual hierarchy layout.\n *\n * - `'top-to-bottom'`: Classical vertical tree / organizational chart (root at top, leaves at bottom).\n * - `'left-to-right'`: Horizontal branch hierarchy (root at left, leaves at right), ideal for deep taxonomies.\n */\nexport type HierarchyTreeOrientation = 'top-to-bottom' | 'left-to-right';\n\n/**\n * Node card styling variant.\n *\n * - `'card'`: Detailed rectangular card with icon, title, subtitle badge, and action buttons.\n * - `'compact'`: Streamlined pill-style node card for dense taxonomies.\n */\nexport type HierarchyNodeStyle = 'card' | 'compact';\n\n/**\n * Represents a single node within the visual hierarchy tree.\n *\n * Contains both domain entity data and layout/interactive state (expansion,\n * selection, highlight, descendant counts, and primary key composite mapping).\n */\nexport interface HierarchyNodeData<T = Record<string, unknown>> {\n /**\n * Unique string identifier for the node, typically the serialized primary key or single ID value.\n */\n ID: string;\n\n /**\n * The MemberJunction composite primary key representing this entity record.\n * Derived dynamically from entity metadata to support composite keys.\n */\n PrimaryKey: CompositeKey;\n\n /**\n * Primary display label for the node card (e.g. Organization Name, Category Name).\n */\n Name: string;\n\n /**\n * Optional secondary subtitle or description (e.g. Type, Account Code, Role).\n */\n Subtitle?: string;\n\n /**\n * Font Awesome icon class or image URL displayed in the node card header (e.g. `'fa-solid fa-building'`).\n */\n Icon?: string;\n\n /**\n * Accent color hex or CSS variable string for the node's visual badge and border indicator.\n */\n Color?: string;\n\n /**\n * The primary key string of the parent node, or `null`/`undefined` for root nodes.\n */\n ParentID?: string | null;\n\n /**\n * Number of immediate direct child nodes.\n */\n DirectChildCount: number;\n\n /**\n * Total recursive count of all descendants under this subtree.\n */\n TotalDescendantCount: number;\n\n /**\n * The depth level of this node within the hierarchy (0 for root nodes).\n */\n Depth: number;\n\n /**\n * Whether this node's children are currently expanded (`true`) or collapsed (`false`).\n */\n IsExpanded: boolean;\n\n /**\n * Whether this node is currently selected/active in the view.\n */\n IsSelected: boolean;\n\n /**\n * Whether this node matches an active search query or highlighted path.\n */\n IsHighlighted: boolean;\n\n /**\n * Whether this node is currently set as the temporary focused subtree root.\n */\n IsFocusRoot: boolean;\n\n /**\n * The underlying MemberJunction entity instance or record object if loaded.\n */\n Record?: T;\n\n /**\n * Currently visible child nodes in the visual layout.\n */\n Children: HierarchyNodeData<T>[];\n\n /**\n * Full set of child nodes preserved when the node is collapsed.\n * @internal\n */\n _allChildren?: HierarchyNodeData<T>[];\n\n /**\n * Layout coordinate X computed by D3.\n * @internal\n */\n x?: number;\n\n /**\n * Layout coordinate Y computed by D3.\n * @internal\n */\n y?: number;\n}\n\n/**\n * Declarative configuration options for the {@link HierarchyTreeComponent}.\n */\nexport interface HierarchyTreeConfig {\n /**\n * The MemberJunction entity name (e.g. `'MJ_BizApps_Common: Organizations'`, `'MJ_BizApps_Orders: Product Categories'`).\n * The component queries this entity and uses its metadata for primary keys and foreign keys.\n */\n EntityName: string;\n\n /**\n * The self-referencing foreign key field name that points to the parent record (e.g. `'ParentID'`, `'ParentCategoryID'`).\n * If omitted, defaults to `'ParentID'` or automatically resolves from the entity's self-referencing foreign key metadata.\n */\n ParentField?: string;\n\n /**\n * The field name to use for the primary node label.\n * If omitted, automatically defaults to the entity's configured `NameField` / `IsNameField`.\n */\n NameField?: string;\n\n /**\n * Optional field name to use for the node subtitle / secondary tag (e.g. `'OrganizationType'`, `'AccountCode'`).\n */\n SubtitleField?: string;\n\n /**\n * Optional field name containing a Font Awesome icon class or image URL.\n */\n IconField?: string;\n\n /**\n * Default Font Awesome icon class when a node does not provide one.\n * @default `'fa-solid fa-sitemap'`\n */\n DefaultIcon?: string;\n\n /**\n * Optional field name containing a hex color or theme token for the node accent.\n */\n ColorField?: string;\n\n /**\n * Default accent color when a node does not provide one. Prefer a design token over a\n * literal so the accent follows the active theme.\n * @default `'var(--mj-brand-primary, #38bdf8)'`\n */\n DefaultColor?: string;\n\n /**\n * Optional SQL-like filter string applied to the `RunView` query (e.g. `'IsActive = 1'`).\n */\n ExtraFilter?: string;\n\n /**\n * Optional order-by clause for sorting sibling nodes (e.g. `'Name ASC'`, `'Sequence ASC'`).\n * @default `'Name ASC'`\n */\n OrderBy?: string;\n\n /**\n * Optional maximum number of rows to retrieve via `RunView`. `0` loads all records.\n * @default 0\n */\n MaxRows?: number;\n\n /**\n * Optional active / selected record ID. When provided, the node is highlighted and all ancestors\n * are expanded so it is visible in full tree context.\n */\n ActiveRecordID?: string;\n\n /**\n * Optional subtree focus record ID. When provided, the tree renders only the specified record and its descendants.\n */\n FocusRecordID?: string;\n\n /**\n * Layout orientation.\n * @default `'top-to-bottom'`\n */\n Orientation?: HierarchyTreeOrientation;\n\n /**\n * Visual style for node cards.\n * @default `'card'`\n */\n NodeStyle?: HierarchyNodeStyle;\n\n /**\n * Whether to allow interactive drag-and-drop reparenting of nodes.\n * @default false\n */\n AllowDragDropReparent?: boolean;\n\n /**\n * Whether to display quick node action buttons (Open Record, Add Child, Focus Subtree) on node cards.\n * @default true\n */\n AllowNodeActions?: boolean;\n\n /**\n * Whether to display the interactive search / filter bar at the top of the tree.\n * @default true\n */\n ShowSearch?: boolean;\n\n /**\n * Whether to display the zoom / navigation toolbar (Fit, Zoom In, Zoom Out, Expand All, Collapse All).\n * @default true\n */\n ShowToolbar?: boolean;\n\n /**\n * Maximum depth to expand initially upon loading. `0` expands all levels.\n * @default 0\n */\n InitialExpandDepth?: number;\n\n /**\n * Width of individual node cards in pixels.\n * @default 230\n */\n NodeWidth?: number;\n\n /**\n * Height of individual node cards in pixels.\n * @default 90\n */\n NodeHeight?: number;\n\n /**\n * Horizontal spacing between sibling nodes in pixels.\n * @default 40\n */\n SiblingSpacing?: number;\n\n /**\n * Vertical spacing between hierarchy depth levels in pixels.\n * @default 70\n */\n LevelSpacing?: number;\n\n /**\n * Total height of the tree container (e.g. `'100%'`, `'560px'`).\n * @default `'100%'`\n */\n Height?: string;\n\n /**\n * Minimum height of the tree container.\n * @default `'500px'`\n */\n MinHeight?: string;\n\n /**\n * Whether single-clicking a node card triggers navigation to that record.\n * @default true\n */\n NavigateOnNodeClick?: boolean;\n\n /**\n * When multiple root trees exist and an active/focus record is specified,\n * automatically focuses on the root branch containing the active record.\n * Users can click \"Show All Roots\" to zoom out to the full forest.\n * @default true\n */\n AutoRootFocus?: boolean;\n\n /**\n * Whether to enable verbose diagnostic console logging.\n * @default false\n */\n Verbose?: boolean;\n}\n"]}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Public API Surface of @memberjunction/ng-hierarchy-tree
3
+ */
4
+ export * from './lib/hierarchy-tree.module';
5
+ export * from './lib/components/hierarchy-tree.component';
6
+ export * from './lib/models/hierarchy-tree.types';
7
+ export * from './lib/events/hierarchy-tree.events';
8
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,cAAc,6BAA6B,CAAC;AAG5C,cAAc,2CAA2C,CAAC;AAG1D,cAAc,mCAAmC,CAAC;AAGlD,cAAc,oCAAoC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Public API Surface of @memberjunction/ng-hierarchy-tree
3
+ */
4
+ // Module
5
+ export * from './lib/hierarchy-tree.module';
6
+ // Components
7
+ export * from './lib/components/hierarchy-tree.component';
8
+ // Models & Types
9
+ export * from './lib/models/hierarchy-tree.types';
10
+ // Events
11
+ export * from './lib/events/hierarchy-tree.events';
12
+ //# sourceMappingURL=public-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,6BAA6B,CAAC;AAE5C,aAAa;AACb,cAAc,2CAA2C,CAAC;AAE1D,iBAAiB;AACjB,cAAc,mCAAmC,CAAC;AAElD,SAAS;AACT,cAAc,oCAAoC,CAAC","sourcesContent":["/**\n * Public API Surface of @memberjunction/ng-hierarchy-tree\n */\n\n// Module\nexport * from './lib/hierarchy-tree.module';\n\n// Components\nexport * from './lib/components/hierarchy-tree.component';\n\n// Models & Types\nexport * from './lib/models/hierarchy-tree.types';\n\n// Events\nexport * from './lib/events/hierarchy-tree.events';\n"]}
package/package.json CHANGED
@@ -1,10 +1,56 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-hierarchy-tree",
3
- "version": "0.0.0",
4
- "description": "OIDC trusted publishing setup package for @memberjunction/ng-hierarchy-tree",
3
+ "version": "6.1.0-edge.3",
4
+ "description": "MemberJunction: Generic interactive visual hierarchy and org-chart component with D3 layout, Before/After cancelable events, and MJ design tokens",
5
+ "main": "./dist/public-api.js",
6
+ "typings": "./dist/public-api.d.ts",
7
+ "files": [
8
+ "/dist"
9
+ ],
5
10
  "keywords": [
6
- "oidc",
7
- "trusted-publishing",
8
- "setup"
9
- ]
10
- }
11
+ "angular",
12
+ "hierarchy",
13
+ "tree",
14
+ "org-chart",
15
+ "taxonomy",
16
+ "visualization",
17
+ "memberjunction"
18
+ ],
19
+ "author": "",
20
+ "license": "ISC",
21
+ "devDependencies": {
22
+ "@angular/compiler": "21.1.3",
23
+ "@angular/compiler-cli": "21.1.3",
24
+ "@memberjunction/ng-test-utils": "6.1.0-edge.3",
25
+ "@types/d3": "^7.4.3",
26
+ "vitest": "^4.0.18"
27
+ },
28
+ "peerDependencies": {
29
+ "@angular/common": "^21.1.3",
30
+ "@angular/core": "^21.1.3",
31
+ "@angular/forms": "^21.1.3"
32
+ },
33
+ "dependencies": {
34
+ "@memberjunction/core": "6.1.0-edge.3",
35
+ "@memberjunction/core-entities": "6.1.0-edge.3",
36
+ "@memberjunction/global": "6.1.0-edge.3",
37
+ "@memberjunction/ng-base-forms": "6.1.0-edge.3",
38
+ "@memberjunction/ng-base-types": "6.1.0-edge.3",
39
+ "@memberjunction/ng-ui-components": "6.1.0-edge.3",
40
+ "d3": "^7.9.0",
41
+ "rxjs": "^7.8.2",
42
+ "tslib": "^2.8.1"
43
+ },
44
+ "sideEffects": false,
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/MemberJunction/MJ"
48
+ },
49
+ "mjUILayer": "widgets",
50
+ "scripts": {
51
+ "test": "vitest run",
52
+ "test:types": "tsc --noEmit -p tsconfig.spec.json",
53
+ "build": "ngc",
54
+ "test:watch": "vitest"
55
+ }
56
+ }