@memberjunction/ng-base-forms 6.1.0-edge.2 → 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.
- package/LICENSE +180 -4
- package/README.md +4 -1
- package/dist/lib/base-form-component.d.ts +93 -3
- package/dist/lib/base-form-component.d.ts.map +1 -1
- package/dist/lib/base-form-component.js +240 -9
- package/dist/lib/base-form-component.js.map +1 -1
- package/dist/lib/chrome/base-form-policy.d.ts +26 -0
- package/dist/lib/chrome/base-form-policy.d.ts.map +1 -0
- package/dist/lib/chrome/base-form-policy.js +9 -0
- package/dist/lib/chrome/base-form-policy.js.map +1 -0
- package/dist/lib/chrome/clipped-title.d.ts +8 -0
- package/dist/lib/chrome/clipped-title.d.ts.map +1 -0
- package/dist/lib/chrome/clipped-title.js +18 -0
- package/dist/lib/chrome/clipped-title.js.map +1 -0
- package/dist/lib/chrome/form-chrome-coordinator.service.d.ts +35 -0
- package/dist/lib/chrome/form-chrome-coordinator.service.d.ts.map +1 -0
- package/dist/lib/chrome/form-chrome-coordinator.service.js +96 -0
- package/dist/lib/chrome/form-chrome-coordinator.service.js.map +1 -0
- package/dist/lib/chrome/form-chrome-rail-pref.d.ts +24 -0
- package/dist/lib/chrome/form-chrome-rail-pref.d.ts.map +1 -0
- package/dist/lib/chrome/form-chrome-rail-pref.js +52 -0
- package/dist/lib/chrome/form-chrome-rail-pref.js.map +1 -0
- package/dist/lib/chrome/form-chrome.d.ts +59 -0
- package/dist/lib/chrome/form-chrome.d.ts.map +1 -0
- package/dist/lib/chrome/form-chrome.js +37 -0
- package/dist/lib/chrome/form-chrome.js.map +1 -0
- package/dist/lib/chrome/load-form-chrome-rules.d.ts +8 -0
- package/dist/lib/chrome/load-form-chrome-rules.d.ts.map +1 -0
- package/dist/lib/chrome/load-form-chrome-rules.js +70 -0
- package/dist/lib/chrome/load-form-chrome-rules.js.map +1 -0
- package/dist/lib/chrome/resolve-form-chrome.d.ts +114 -0
- package/dist/lib/chrome/resolve-form-chrome.d.ts.map +1 -0
- package/dist/lib/chrome/resolve-form-chrome.js +713 -0
- package/dist/lib/chrome/resolve-form-chrome.js.map +1 -0
- package/dist/lib/container/record-form-container.component.d.ts +170 -6
- package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
- package/dist/lib/container/record-form-container.component.js +1194 -62
- package/dist/lib/container/record-form-container.component.js.map +1 -1
- package/dist/lib/explorer-entity-data-grid.component.d.ts +54 -1
- package/dist/lib/explorer-entity-data-grid.component.d.ts.map +1 -1
- package/dist/lib/explorer-entity-data-grid.component.js +143 -7
- package/dist/lib/explorer-entity-data-grid.component.js.map +1 -1
- package/dist/lib/form-record-refresh.coordinator.d.ts +27 -0
- package/dist/lib/form-record-refresh.coordinator.d.ts.map +1 -0
- package/dist/lib/form-record-refresh.coordinator.js +33 -0
- package/dist/lib/form-record-refresh.coordinator.js.map +1 -0
- package/dist/lib/form-state.interface.d.ts +4 -0
- package/dist/lib/form-state.interface.d.ts.map +1 -1
- package/dist/lib/form-state.interface.js.map +1 -1
- package/dist/lib/form-state.service.d.ts +5 -0
- package/dist/lib/form-state.service.d.ts.map +1 -1
- package/dist/lib/form-state.service.js +23 -2
- package/dist/lib/form-state.service.js.map +1 -1
- package/dist/lib/host/entity-form-host.component.d.ts +5 -1
- package/dist/lib/host/entity-form-host.component.d.ts.map +1 -1
- package/dist/lib/host/entity-form-host.component.js +16 -2
- package/dist/lib/host/entity-form-host.component.js.map +1 -1
- package/dist/lib/isa-related-panel/isa-related-panel.component.d.ts +6 -2
- package/dist/lib/isa-related-panel/isa-related-panel.component.d.ts.map +1 -1
- package/dist/lib/isa-related-panel/isa-related-panel.component.js +15 -1
- package/dist/lib/isa-related-panel/isa-related-panel.component.js.map +1 -1
- package/dist/lib/panel/collapsible-panel.component.d.ts +24 -2
- package/dist/lib/panel/collapsible-panel.component.d.ts.map +1 -1
- package/dist/lib/panel/collapsible-panel.component.js +104 -10
- package/dist/lib/panel/collapsible-panel.component.js.map +1 -1
- package/dist/lib/panel-slot/base-form-panel.d.ts +85 -1
- package/dist/lib/panel-slot/base-form-panel.d.ts.map +1 -1
- package/dist/lib/panel-slot/base-form-panel.js +72 -3
- package/dist/lib/panel-slot/base-form-panel.js.map +1 -1
- package/dist/lib/panel-slot/collect-form-panel-registrations.d.ts +8 -0
- package/dist/lib/panel-slot/collect-form-panel-registrations.d.ts.map +1 -0
- package/dist/lib/panel-slot/collect-form-panel-registrations.js +19 -0
- package/dist/lib/panel-slot/collect-form-panel-registrations.js.map +1 -0
- package/dist/lib/panel-slot/form-contribution.d.ts +79 -0
- package/dist/lib/panel-slot/form-contribution.d.ts.map +1 -0
- package/dist/lib/panel-slot/form-contribution.js +253 -0
- package/dist/lib/panel-slot/form-contribution.js.map +1 -0
- package/dist/lib/panel-slot/form-contributions.component.d.ts +27 -0
- package/dist/lib/panel-slot/form-contributions.component.d.ts.map +1 -0
- package/dist/lib/panel-slot/form-contributions.component.js +83 -0
- package/dist/lib/panel-slot/form-contributions.component.js.map +1 -0
- package/dist/lib/panel-slot/form-panel-slot.component.d.ts +2 -0
- package/dist/lib/panel-slot/form-panel-slot.component.d.ts.map +1 -1
- package/dist/lib/panel-slot/form-panel-slot.component.js +35 -4
- package/dist/lib/panel-slot/form-panel-slot.component.js.map +1 -1
- package/dist/lib/panel-slot/related-entity-grid-panel.component.d.ts +22 -0
- package/dist/lib/panel-slot/related-entity-grid-panel.component.d.ts.map +1 -0
- package/dist/lib/panel-slot/related-entity-grid-panel.component.js +78 -0
- package/dist/lib/panel-slot/related-entity-grid-panel.component.js.map +1 -0
- package/dist/lib/related-grid-height.d.ts +20 -0
- package/dist/lib/related-grid-height.d.ts.map +1 -0
- package/dist/lib/related-grid-height.js +30 -0
- package/dist/lib/related-grid-height.js.map +1 -0
- package/dist/lib/section-manager/section-manager.component.d.ts +20 -1
- package/dist/lib/section-manager/section-manager.component.d.ts.map +1 -1
- package/dist/lib/section-manager/section-manager.component.js +204 -25
- package/dist/lib/section-manager/section-manager.component.js.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.d.ts +55 -4
- package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.js +734 -306
- package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
- package/dist/lib/types/form-events.d.ts +35 -0
- package/dist/lib/types/form-events.d.ts.map +1 -1
- package/dist/lib/types/form-events.js +45 -0
- package/dist/lib/types/form-events.js.map +1 -1
- package/dist/lib/types/form-toolbar-item.d.ts +145 -0
- package/dist/lib/types/form-toolbar-item.d.ts.map +1 -0
- package/dist/lib/types/form-toolbar-item.js +2 -0
- package/dist/lib/types/form-toolbar-item.js.map +1 -0
- package/dist/lib/types/form-types.d.ts +8 -0
- package/dist/lib/types/form-types.d.ts.map +1 -1
- package/dist/lib/types/form-types.js.map +1 -1
- package/dist/lib/types/toolbar-config.d.ts +7 -2
- package/dist/lib/types/toolbar-config.d.ts.map +1 -1
- package/dist/lib/types/toolbar-config.js +6 -0
- package/dist/lib/types/toolbar-config.js.map +1 -1
- package/dist/module.d.ts +17 -14
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +14 -0
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +13 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +14 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +19 -18
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { BaseEntity } from '@memberjunction/core';
|
|
2
|
+
/**
|
|
3
|
+
* Well-known keys for built-in standard form toolbar buttons.
|
|
4
|
+
*/
|
|
5
|
+
export type StandardToolbarItemKey = 'edit' | 'delete' | 'favorite' | 'history' | 'list' | 'tags' | 'attachments' | 'refresh';
|
|
6
|
+
/**
|
|
7
|
+
* Union of standard toolbar item keys and any custom button key.
|
|
8
|
+
*/
|
|
9
|
+
export type FormToolbarItemKey = StandardToolbarItemKey | (string & {});
|
|
10
|
+
/**
|
|
11
|
+
* Visual styling variant for toolbar buttons.
|
|
12
|
+
*/
|
|
13
|
+
export type ToolbarItemVariant = 'default' | 'primary' | 'secondary' | 'accent' | 'danger' | 'ghost';
|
|
14
|
+
/**
|
|
15
|
+
* Placement group for toolbar buttons:
|
|
16
|
+
* - 'actions': the main action button group on the left side (alongside Edit/Delete/Favorite)
|
|
17
|
+
* - 'right': right side (before section search & controls)
|
|
18
|
+
* - 'overflow': secondary / overflow menu for lower-frequency actions
|
|
19
|
+
*/
|
|
20
|
+
export type ToolbarItemPlacement = 'actions' | 'right' | 'overflow';
|
|
21
|
+
/**
|
|
22
|
+
* When the toolbar item should be available:
|
|
23
|
+
* - 'read': only in read mode (default)
|
|
24
|
+
* - 'edit': only in edit mode
|
|
25
|
+
* - 'both': in both read and edit modes
|
|
26
|
+
*/
|
|
27
|
+
export type ToolbarItemMode = 'read' | 'edit' | 'both';
|
|
28
|
+
/**
|
|
29
|
+
* Event arguments emitted or passed to handlers when a toolbar item is clicked.
|
|
30
|
+
*/
|
|
31
|
+
export interface FormToolbarItemClickEventArgs {
|
|
32
|
+
/** The unique key of the clicked toolbar item */
|
|
33
|
+
ItemKey: string;
|
|
34
|
+
/** The configuration of the clicked toolbar item */
|
|
35
|
+
Item: FormToolbarItemConfig;
|
|
36
|
+
/** The entity record being viewed/edited */
|
|
37
|
+
Record: BaseEntity;
|
|
38
|
+
/** Whether the form is currently in edit mode */
|
|
39
|
+
EditMode: boolean;
|
|
40
|
+
/** Optional reference to the host form component */
|
|
41
|
+
FormComponent?: unknown;
|
|
42
|
+
/** Set to true to cancel default behavior (if applicable) */
|
|
43
|
+
Cancel?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Configuration for registering or customizing a form toolbar item (action button).
|
|
47
|
+
*
|
|
48
|
+
* Supports dynamic predicates for visibility, enabled/disabled state (with optional
|
|
49
|
+
* disabled reason tooltips), badges, and async click handlers.
|
|
50
|
+
*/
|
|
51
|
+
export interface FormToolbarItemConfig {
|
|
52
|
+
/**
|
|
53
|
+
* Unique identifier for this toolbar item (e.g. 'confirm-order', 'post', 'edit').
|
|
54
|
+
*/
|
|
55
|
+
Key: string;
|
|
56
|
+
/**
|
|
57
|
+
* Optional button label text (e.g. "Confirm Order").
|
|
58
|
+
*/
|
|
59
|
+
Text?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Tooltip text shown on hover when enabled.
|
|
62
|
+
*/
|
|
63
|
+
Description?: string;
|
|
64
|
+
/**
|
|
65
|
+
* FontAwesome icon class (e.g. "fa-solid fa-check-double", "fa-solid fa-calculator").
|
|
66
|
+
*/
|
|
67
|
+
Icon?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Visual styling variant. Default: 'default' (or 'primary' for key actions).
|
|
70
|
+
*/
|
|
71
|
+
Variant?: ToolbarItemVariant;
|
|
72
|
+
/**
|
|
73
|
+
* In which mode(s) this button should appear. Default: 'read'.
|
|
74
|
+
*/
|
|
75
|
+
Mode?: ToolbarItemMode;
|
|
76
|
+
/**
|
|
77
|
+
* Placement group in the toolbar. Default: 'actions'.
|
|
78
|
+
*/
|
|
79
|
+
Placement?: ToolbarItemPlacement;
|
|
80
|
+
/**
|
|
81
|
+
* Numeric sort order within its placement group. Lower numbers appear first.
|
|
82
|
+
* Standard built-in items default to:
|
|
83
|
+
* - edit: 10
|
|
84
|
+
* - delete: 20
|
|
85
|
+
* - favorite: 30
|
|
86
|
+
* - history: 40
|
|
87
|
+
* - list: 50
|
|
88
|
+
* - tags: 60
|
|
89
|
+
* - attachments: 70
|
|
90
|
+
* Custom action items default to 100 unless specified (e.g. 5 to appear before Edit).
|
|
91
|
+
*/
|
|
92
|
+
Order?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Whether the button is visible. Can be a boolean or a reactive predicate function.
|
|
95
|
+
* Default: true.
|
|
96
|
+
*/
|
|
97
|
+
Visible?: boolean | ((record: BaseEntity, editMode: boolean) => boolean);
|
|
98
|
+
/**
|
|
99
|
+
* Whether the button is disabled.
|
|
100
|
+
* Can be:
|
|
101
|
+
* - `boolean`: true = disabled, false = enabled
|
|
102
|
+
* - `string`: disabled, and the string is used as the tooltip explaining why (e.g. "Save draft changes first")
|
|
103
|
+
* - `predicate function`: returning boolean or reason string
|
|
104
|
+
* Default: false.
|
|
105
|
+
*/
|
|
106
|
+
Disabled?: boolean | string | ((record: BaseEntity, editMode: boolean) => boolean | string);
|
|
107
|
+
/**
|
|
108
|
+
* Optional badge count or text (e.g. "v3", 5).
|
|
109
|
+
*/
|
|
110
|
+
Badge?: string | number | ((record: BaseEntity) => string | number | null | undefined);
|
|
111
|
+
/**
|
|
112
|
+
* Whether to display a loading spinner on the button while an operation is in progress.
|
|
113
|
+
*/
|
|
114
|
+
IsLoading?: boolean | ((record: BaseEntity, editMode: boolean) => boolean);
|
|
115
|
+
/**
|
|
116
|
+
* Optional custom CSS class name to append to the button element.
|
|
117
|
+
*/
|
|
118
|
+
CssClass?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Handler function invoked when the button is clicked.
|
|
121
|
+
*/
|
|
122
|
+
OnClick?: (event: FormToolbarItemClickEventArgs) => Promise<void> | void;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Resolved runtime state of a toolbar item, evaluated against the active record and edit mode.
|
|
126
|
+
*/
|
|
127
|
+
export interface ResolvedToolbarItem {
|
|
128
|
+
Key: string;
|
|
129
|
+
Text: string;
|
|
130
|
+
Description: string;
|
|
131
|
+
Icon: string;
|
|
132
|
+
Variant: ToolbarItemVariant;
|
|
133
|
+
Mode: ToolbarItemMode;
|
|
134
|
+
Placement: ToolbarItemPlacement;
|
|
135
|
+
Order: number;
|
|
136
|
+
Visible: boolean;
|
|
137
|
+
Disabled: boolean;
|
|
138
|
+
DisabledReason?: string;
|
|
139
|
+
Badge?: string | number;
|
|
140
|
+
IsLoading: boolean;
|
|
141
|
+
CssClass: string;
|
|
142
|
+
IsStandard: boolean;
|
|
143
|
+
Config: FormToolbarItemConfig;
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=form-toolbar-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-toolbar-item.d.ts","sourceRoot":"","sources":["../../../src/lib/types/form-toolbar-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAC9B,MAAM,GACN,QAAQ,GACR,UAAU,GACV,SAAS,GACT,MAAM,GACN,MAAM,GACN,aAAa,GACb,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,OAAO,CAAC;AAEZ;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAC;IAEhB,oDAAoD;IACpD,IAAI,EAAE,qBAAqB,CAAC;IAE5B,4CAA4C;IAC5C,MAAM,EAAE,UAAU,CAAC;IAEnB,iDAAiD;IACjD,QAAQ,EAAE,OAAO,CAAC;IAElB,oDAAoD;IACpD,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,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S,EAAE,oBAAoB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,qBAAqB,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-toolbar-item.js","sourceRoot":"","sources":["../../../src/lib/types/form-toolbar-item.ts"],"names":[],"mappings":"","sourcesContent":["import { BaseEntity } from '@memberjunction/core';\n\n/**\n * Well-known keys for built-in standard form toolbar buttons.\n */\nexport type StandardToolbarItemKey =\n | 'edit'\n | 'delete'\n | 'favorite'\n | 'history'\n | 'list'\n | 'tags'\n | 'attachments'\n | 'refresh';\n\n/**\n * Union of standard toolbar item keys and any custom button key.\n */\nexport type FormToolbarItemKey = StandardToolbarItemKey | (string & {});\n\n/**\n * Visual styling variant for toolbar buttons.\n */\nexport type ToolbarItemVariant =\n | 'default'\n | 'primary'\n | 'secondary'\n | 'accent'\n | 'danger'\n | 'ghost';\n\n/**\n * Placement group for toolbar buttons:\n * - 'actions': the main action button group on the left side (alongside Edit/Delete/Favorite)\n * - 'right': right side (before section search & controls)\n * - 'overflow': secondary / overflow menu for lower-frequency actions\n */\nexport type ToolbarItemPlacement = 'actions' | 'right' | 'overflow';\n\n/**\n * When the toolbar item should be available:\n * - 'read': only in read mode (default)\n * - 'edit': only in edit mode\n * - 'both': in both read and edit modes\n */\nexport type ToolbarItemMode = 'read' | 'edit' | 'both';\n\n/**\n * Event arguments emitted or passed to handlers when a toolbar item is clicked.\n */\nexport interface FormToolbarItemClickEventArgs {\n /** The unique key of the clicked toolbar item */\n ItemKey: string;\n\n /** The configuration of the clicked toolbar item */\n Item: FormToolbarItemConfig;\n\n /** The entity record being viewed/edited */\n Record: BaseEntity;\n\n /** Whether the form is currently in edit mode */\n EditMode: boolean;\n\n /** Optional reference to the host form component */\n FormComponent?: unknown;\n\n /** Set to true to cancel default behavior (if applicable) */\n Cancel?: boolean;\n}\n\n/**\n * Configuration for registering or customizing a form toolbar item (action button).\n *\n * Supports dynamic predicates for visibility, enabled/disabled state (with optional\n * disabled reason tooltips), badges, and async click handlers.\n */\nexport interface FormToolbarItemConfig {\n /**\n * Unique identifier for this toolbar item (e.g. 'confirm-order', 'post', 'edit').\n */\n Key: string;\n\n /**\n * Optional button label text (e.g. \"Confirm Order\").\n */\n Text?: string;\n\n /**\n * Tooltip text shown on hover when enabled.\n */\n Description?: string;\n\n /**\n * FontAwesome icon class (e.g. \"fa-solid fa-check-double\", \"fa-solid fa-calculator\").\n */\n Icon?: string;\n\n /**\n * Visual styling variant. Default: 'default' (or 'primary' for key actions).\n */\n Variant?: ToolbarItemVariant;\n\n /**\n * In which mode(s) this button should appear. Default: 'read'.\n */\n Mode?: ToolbarItemMode;\n\n /**\n * Placement group in the toolbar. Default: 'actions'.\n */\n Placement?: ToolbarItemPlacement;\n\n /**\n * Numeric sort order within its placement group. Lower numbers appear first.\n * Standard built-in items default to:\n * - edit: 10\n * - delete: 20\n * - favorite: 30\n * - history: 40\n * - list: 50\n * - tags: 60\n * - attachments: 70\n * Custom action items default to 100 unless specified (e.g. 5 to appear before Edit).\n */\n Order?: number;\n\n /**\n * Whether the button is visible. Can be a boolean or a reactive predicate function.\n * Default: true.\n */\n Visible?: boolean | ((record: BaseEntity, editMode: boolean) => boolean);\n\n /**\n * Whether the button is disabled.\n * Can be:\n * - `boolean`: true = disabled, false = enabled\n * - `string`: disabled, and the string is used as the tooltip explaining why (e.g. \"Save draft changes first\")\n * - `predicate function`: returning boolean or reason string\n * Default: false.\n */\n Disabled?: boolean | string | ((record: BaseEntity, editMode: boolean) => boolean | string);\n\n /**\n * Optional badge count or text (e.g. \"v3\", 5).\n */\n Badge?: string | number | ((record: BaseEntity) => string | number | null | undefined);\n\n /**\n * Whether to display a loading spinner on the button while an operation is in progress.\n */\n IsLoading?: boolean | ((record: BaseEntity, editMode: boolean) => boolean);\n\n /**\n * Optional custom CSS class name to append to the button element.\n */\n CssClass?: string;\n\n /**\n * Handler function invoked when the button is clicked.\n */\n OnClick?: (event: FormToolbarItemClickEventArgs) => Promise<void> | void;\n}\n\n/**\n * Resolved runtime state of a toolbar item, evaluated against the active record and edit mode.\n */\nexport interface ResolvedToolbarItem {\n Key: string;\n Text: string;\n Description: string;\n Icon: string;\n Variant: ToolbarItemVariant;\n Mode: ToolbarItemMode;\n Placement: ToolbarItemPlacement;\n Order: number;\n Visible: boolean;\n Disabled: boolean;\n DisabledReason?: string;\n Badge?: string | number;\n IsLoading: boolean;\n CssClass: string;\n IsStandard: boolean;\n Config: FormToolbarItemConfig;\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseEntity } from '@memberjunction/core';
|
|
1
2
|
import { ValidationErrorInfo } from '@memberjunction/global';
|
|
2
3
|
/**
|
|
3
4
|
* Width mode for the form panels container.
|
|
@@ -124,6 +125,13 @@ export interface RecordSavedEvent {
|
|
|
124
125
|
RecordDisplayName?: string;
|
|
125
126
|
Result: FormSaveResult;
|
|
126
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Event emitted after a saved record is reloaded from the database in place.
|
|
130
|
+
*/
|
|
131
|
+
export interface RecordRefreshedEvent {
|
|
132
|
+
EntityName: string;
|
|
133
|
+
Record: BaseEntity;
|
|
134
|
+
}
|
|
127
135
|
/**
|
|
128
136
|
* Event emitted after a record is deleted.
|
|
129
137
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-types.d.ts","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;GAI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AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAC/C,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC;AAE1C;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,WAAW,CAOtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"AAmMA;;GAEG;AACH,MAAM,UAAU,wBAAwB;IACtC,OAAO;QACL,aAAa,EAAE,EAAE;QACjB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC","sourcesContent":["import type { BaseEntity } from '@memberjunction/core';\nimport { ValidationErrorInfo } from '@memberjunction/global';\n\n/**\n * Width mode for the form panels container.\n * - 'centered': Max-width constrained and centered (default, good for readability)\n * - 'full-width': No max-width constraint, uses full available width\n */\nexport type FormWidthMode = 'centered' | 'full-width';\n\n/**\n * Variant for collapsible panel styling.\n * - 'default': Standard white card with accent border\n * - 'related-entity': Blue-accented card for related entity grid sections\n * - 'inherited': Purple-accented card for IS-A inherited field sections\n */\nexport type PanelVariant = 'default' | 'related-entity' | 'inherited';\n\n/**\n * Information about a section within the form.\n * Used to initialize and track section state.\n *\n * @template M Optional metadata type for custom per-section data\n */\nexport interface FormSectionInfo<M = unknown> {\n /** Unique key for this section (used in state persistence) */\n SectionKey: string;\n /** Display name shown in the panel header */\n SectionName: string;\n /** Whether the section starts expanded. Default: true for field sections, false for related entities */\n IsExpanded: boolean;\n /** Row count for related entity sections (shown as badge) */\n RowCount?: number;\n /** Custom metadata attached to this section */\n Metadata?: M;\n /** Panel variant for styling */\n Variant?: PanelVariant;\n /** Font Awesome icon class for the section header */\n Icon?: string;\n /**\n * If set, indicates this section contains fields inherited from a parent entity.\n * The value is the parent entity name (e.g., \"Products\" for a Meeting IS-A Product).\n */\n InheritedFromEntity?: string;\n}\n\n/**\n * Event emitted when a panel drag-to-reorder operation starts.\n */\nexport interface PanelDragStartEvent {\n SectionKey: string;\n Event: DragEvent;\n}\n\n/**\n * Event emitted when a panel is dropped onto another panel for reordering.\n */\nexport interface PanelDropEvent {\n SourceSectionKey: string;\n TargetSectionKey: string;\n}\n\n/**\n * Context object passed from the form to all child components (panels, fields).\n * Eliminates the need for many individual @Input properties.\n *\n * Property names use camelCase to maintain structural compatibility with\n * {@link BaseFormContext} from `@memberjunction/ng-base-forms`. This allows\n * BaseFormComponent.formContext to be passed directly to ng-forms components.\n */\nexport interface FormContext {\n /** Current search filter string for highlighting/filtering sections and fields */\n sectionFilter?: string;\n /** Whether to show fields that have empty values in read-only mode */\n showEmptyFields?: boolean;\n /**\n * When true, all fields show their validation errors regardless of touched state.\n * Set to true after a failed save attempt; reset on successful save or cancel.\n */\n showValidation?: boolean;\n /**\n * Validation errors from the most recent full-record Validate() call.\n * Fields filter by `ValidationErrorInfo.Source === FieldName` to find their errors.\n */\n validationErrors?: ValidationErrorInfo[];\n /** Whether drag-and-drop section reordering is allowed. Read by panels to show/hide drag handles. */\n allowSectionReorder?: boolean;\n /**\n * Whether section headers may collapse/expand. When false, panels render\n * always-expanded with no toggle chevron. Read by collapsible panels.\n * Undefined / true means collapsible (the default).\n */\n collapsibleSections?: boolean;\n /**\n * Whether in-form record (FK) links are interactive. When false, FK values\n * render as plain text instead of clickable links — used by dialog/slide-in\n * surfaces so a modal context doesn't navigate the user away. Undefined /\n * true means links are live (the default).\n */\n enableRecordLinks?: boolean;\n /**\n * Section-visibility rules, propagated from {@link EntityFormConfig}. Read by\n * every collapsible panel — including slot-injected `BaseFormPanel`s — so\n * per-instance show/hide applies uniformly across generated, custom, and\n * injected sections. `showRelatedEntities === false` hides related-entity\n * panels; `hiddenSectionKeys` / `visibleSectionKeys` (allow-list) target\n * specific section keys.\n */\n showRelatedEntities?: boolean;\n hiddenSectionKeys?: string[];\n visibleSectionKeys?: string[];\n}\n\n/**\n * Result of a form save operation.\n */\nexport interface FormSaveResult {\n /** Whether the save was successful */\n Success: boolean;\n /** Error message if save failed */\n ErrorMessage?: string;\n /** Number of milliseconds the save took */\n DurationMs?: number;\n}\n\n/**\n * Event emitted after a record is saved.\n */\nexport interface RecordSavedEvent {\n EntityName: string;\n RecordId: string;\n /** The display name of the saved record (for tab title updates, etc.) */\n RecordDisplayName?: string;\n Result: FormSaveResult;\n}\n\n/**\n * Event emitted after a saved record is reloaded from the database in place.\n */\nexport interface RecordRefreshedEvent {\n EntityName: string;\n Record: BaseEntity;\n}\n\n/**\n * Event emitted after a record is deleted.\n */\nexport interface RecordDeletedEvent {\n EntityName: string;\n RecordId: string;\n}\n\n/**\n * Event emitted when a record save fails.\n */\nexport interface RecordSaveFailedEvent {\n EntityName: string;\n ErrorMessage: string;\n}\n\n/**\n * Event emitted when a record delete fails.\n */\nexport interface RecordDeleteFailedEvent {\n EntityName: string;\n ErrorMessage: string;\n}\n\n/**\n * Event emitted when validation fails before save.\n */\nexport interface ValidationFailedEvent {\n EntityName: string;\n Errors: string[];\n}\n\n/**\n * Notification event emitted by BaseFormComponent.\n * The host application subscribes and maps to its own notification system (toasts, snackbars, etc.).\n */\nexport interface FormNotificationEvent {\n /** The notification message text */\n Message: string;\n /** Notification severity */\n Type: 'success' | 'error' | 'warning' | 'info';\n /** Duration in milliseconds the notification should display */\n Duration: number;\n}\n\n/**\n * Backward-compatible alias for FormContext.\n * Explorer's BaseFormComponent used this name; new code should use FormContext.\n */\nexport type BaseFormContext = FormContext;\n\n/**\n * Creates a default FormContext with sensible defaults.\n */\nexport function createDefaultFormContext(): FormContext {\n return {\n sectionFilter: '',\n showEmptyFields: false,\n showValidation: false,\n validationErrors: []\n };\n}\n"]}
|
|
@@ -22,6 +22,8 @@ export interface FormToolbarConfig {
|
|
|
22
22
|
ShowEditButton: boolean;
|
|
23
23
|
/** Show the Delete button in read mode. Default: true */
|
|
24
24
|
ShowDeleteButton: boolean;
|
|
25
|
+
/** Show the Refresh button in read mode (reloads record from database). Default: true */
|
|
26
|
+
ShowRefreshButton: boolean;
|
|
25
27
|
/** Show the Favorite/Unfavorite button. Default: true */
|
|
26
28
|
ShowFavoriteButton: boolean;
|
|
27
29
|
/** Show the Record History button (only if entity tracks changes). Default: true */
|
|
@@ -30,6 +32,8 @@ export interface FormToolbarConfig {
|
|
|
30
32
|
ShowListButton: boolean;
|
|
31
33
|
/** Show the Tags button for viewing/managing tags on this record. Default: true */
|
|
32
34
|
ShowTagsButton: boolean;
|
|
35
|
+
/** Show the Attachments button for viewing/managing linked file attachments. Default: true */
|
|
36
|
+
ShowAttachmentsButton: boolean;
|
|
33
37
|
/**
|
|
34
38
|
* Show the **form-variant picker** button — a right-side toolbar button
|
|
35
39
|
* (form icon) that opens a dropdown of available `EntityFormOverride`
|
|
@@ -58,8 +62,9 @@ export interface FormToolbarConfig {
|
|
|
58
62
|
ShowSectionFilter: boolean;
|
|
59
63
|
/**
|
|
60
64
|
* Show the Expand-All and Collapse-All chevron buttons. Only relevant for
|
|
61
|
-
*
|
|
62
|
-
* their own open/closed state should set this
|
|
65
|
+
* accordion chrome — left-nav / right-nav hide these even when true.
|
|
66
|
+
* Custom layouts that manage their own open/closed state should set this
|
|
67
|
+
* to false. Default: true
|
|
63
68
|
*/
|
|
64
69
|
ShowExpandCollapseAllButtons: boolean;
|
|
65
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-config.d.ts","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAiB;IAGhC,uDAAuD;IACvD,cAAc,EAAE,OAAO,CAAC;IAExB,yDAAyD;IACzD,gBAAgB,EAAE,OAAO,CAAC;IAE1B,yDAAyD;IACzD,kBAAkB,EAAE,OAAO,CAAC;IAE5B,oFAAoF;IACpF,iBAAiB,EAAE,OAAO,CAAC;IAE3B,wEAAwE;IACxE,cAAc,EAAE,OAAO,CAAC;IAExB,mFAAmF;IACnF,cAAc,EAAE,OAAO,CAAC;IAExB;;;;;;;;;OASG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B,+DAA+D;IAC/D,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B,kEAAkE;IAClE,cAAc,EAAE,OAAO,CAAC;IAExB,iFAAiF;IACjF,iBAAiB,EAAE,OAAO,CAAC;IAE3B,0DAA0D;IAC1D,iBAAiB,EAAE,OAAO,CAAC;IAE3B
|
|
1
|
+
{"version":3,"file":"toolbar-config.d.ts","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,iBAAiB;IAGhC,uDAAuD;IACvD,cAAc,EAAE,OAAO,CAAC;IAExB,yDAAyD;IACzD,gBAAgB,EAAE,OAAO,CAAC;IAE1B,yFAAyF;IACzF,iBAAiB,EAAE,OAAO,CAAC;IAE3B,yDAAyD;IACzD,kBAAkB,EAAE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true,
|
|
9
10
|
ShowHistoryButton: true,
|
|
10
11
|
ShowListButton: true,
|
|
11
12
|
ShowTagsButton: true,
|
|
13
|
+
ShowAttachmentsButton: true,
|
|
12
14
|
ShowFormVariantPicker: true,
|
|
13
15
|
ShowEntityHierarchy: true,
|
|
14
16
|
ShowSectionControls: true,
|
|
@@ -31,10 +33,12 @@ export const DEFAULT_TOOLBAR_CONFIG = {
|
|
|
31
33
|
export const EXPLORER_TOOLBAR_CONFIG = {
|
|
32
34
|
ShowEditButton: true,
|
|
33
35
|
ShowDeleteButton: true,
|
|
36
|
+
ShowRefreshButton: true,
|
|
34
37
|
ShowFavoriteButton: true,
|
|
35
38
|
ShowHistoryButton: true,
|
|
36
39
|
ShowListButton: true,
|
|
37
40
|
ShowTagsButton: true,
|
|
41
|
+
ShowAttachmentsButton: true,
|
|
38
42
|
ShowFormVariantPicker: true,
|
|
39
43
|
ShowEntityHierarchy: true,
|
|
40
44
|
ShowSectionControls: true,
|
|
@@ -61,10 +65,12 @@ export const EXPLORER_TOOLBAR_CONFIG = {
|
|
|
61
65
|
export const CUSTOM_LAYOUT_TOOLBAR_CONFIG = {
|
|
62
66
|
ShowEditButton: true,
|
|
63
67
|
ShowDeleteButton: true,
|
|
68
|
+
ShowRefreshButton: true,
|
|
64
69
|
ShowFavoriteButton: true,
|
|
65
70
|
ShowHistoryButton: true,
|
|
66
71
|
ShowListButton: true,
|
|
67
72
|
ShowTagsButton: true,
|
|
73
|
+
ShowAttachmentsButton: true,
|
|
68
74
|
ShowFormVariantPicker: true,
|
|
69
75
|
ShowEntityHierarchy: true,
|
|
70
76
|
ShowSectionControls: false, // ← hides the whole right group
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-config.js","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolbar-config.js","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AA0HA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H,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D,cAAc,EAAE,IAAI;IACpB,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,IAAI;IACxB,iBAAiB,EAAE,IAAI;IACvB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,IAAI;IACpB,qBAAqB,EAAE,IAAI;IAC3B,qBAAqB,EAAE,IAAI;IAC3B,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,KAAK,EAAa,gCAAgC;IACvE,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,KAAK;IACxB,4BAA4B,EAAE,KAAK;IACnC,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,KAAK;IAC1B,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,IAAI;IACnB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE;CAClB,CAAC","sourcesContent":["import { TemplateRef } from '@angular/core';\nimport { CustomToolbarButton } from './form-events';\n\n/**\n * Configuration object for the form toolbar.\n * Controls which buttons/sections are visible and behavioral options.\n *\n * Pass to `<mj-form-toolbar [config]=\"toolbarConfig\">` to customize the toolbar.\n * Use `DEFAULT_TOOLBAR_CONFIG` as a starting point and override specific properties.\n *\n * @example\n * ```typescript\n * const myConfig: FormToolbarConfig = {\n * ...DEFAULT_TOOLBAR_CONFIG,\n * ShowDeleteButton: false, // Hide delete for this form\n * ShowEntityHierarchy: true, // Show IS-A breadcrumb\n * ShowFavoriteButton: false, // No favorites in this app\n * };\n * ```\n */\nexport interface FormToolbarConfig {\n // ---- Visibility ----\n\n /** Show the Edit button in read mode. Default: true */\n ShowEditButton: boolean;\n\n /** Show the Delete button in read mode. Default: true */\n ShowDeleteButton: boolean;\n\n /** Show the Refresh button in read mode (reloads record from database). Default: true */\n ShowRefreshButton: boolean;\n\n /** Show the Favorite/Unfavorite button. Default: true */\n ShowFavoriteButton: boolean;\n\n /** Show the Record History button (only if entity tracks changes). Default: true */\n ShowHistoryButton: boolean;\n\n /** Show the Lists button for managing list membership. Default: true */\n ShowListButton: boolean;\n\n /** Show the Tags button for viewing/managing tags on this record. Default: true */\n ShowTagsButton: boolean;\n\n /** Show the Attachments button for viewing/managing linked file attachments. Default: true */\n ShowAttachmentsButton: boolean;\n\n /**\n * Show the **form-variant picker** button — a right-side toolbar button\n * (form icon) that opens a dropdown of available `EntityFormOverride`\n * variants (Default form + any active overrides) so the user can switch\n * which form renders this entity record. Only actually renders when the\n * host has supplied a `Variants` list with more than one item. Default: true.\n *\n * Set to false when the host doesn't want the user-facing form-switching\n * UX (e.g. embedded record views with a single canonical form).\n */\n ShowFormVariantPicker: boolean;\n\n /** Show the IS-A entity hierarchy breadcrumb. Default: true */\n ShowEntityHierarchy: boolean;\n\n /**\n * Master toggle for the entire right-hand section-controls group\n * (search, expand-all, collapse-all, manage sections, width toggle).\n * When false, the individual Show- and Allow- flags below are irrelevant.\n * Default: true\n */\n ShowSectionControls: boolean;\n\n /** Show the edit banner when entering edit mode. Default: true */\n ShowEditBanner: boolean;\n\n /** Show the \"Changes\" button when record is dirty in edit mode. Default: true */\n ShowChangesButton: boolean;\n\n /** Show the section search/filter input. Default: true */\n ShowSectionFilter: boolean;\n\n /**\n * Show the Expand-All and Collapse-All chevron buttons. Only relevant for\n * accordion chrome — left-nav / right-nav hide these even when true.\n * Custom layouts that manage their own open/closed state should set this\n * to false. Default: true\n */\n ShowExpandCollapseAllButtons: boolean;\n\n /**\n * Show the width-mode toggle button (centered ⇄ full-width). Custom\n * layouts with a fixed width should set this to false. Default: true\n */\n ShowWidthToggle: boolean;\n\n /** Allow drag-and-drop section reordering. Default: true */\n AllowSectionReorder: boolean;\n\n /** Show the \"Manage Sections\" button (section manager drawer). Default: true */\n ShowSectionManager: boolean;\n\n // ---- Behavior ----\n\n /**\n * Whether the toolbar should be sticky at the top when scrolling.\n * Default: true\n */\n StickyToolbar: boolean;\n\n // ---- Custom Slots ----\n\n /**\n * Optional template reference for additional toolbar actions.\n * Rendered after the standard buttons via ng-content or TemplateRef.\n */\n AdditionalActions: TemplateRef<unknown> | null;\n\n /**\n * Custom toolbar buttons to display in the read-mode toolbar.\n * Shown after the standard buttons (edit, delete, favorite, history, lists).\n */\n CustomButtons: CustomToolbarButton[];\n}\n\n/**\n * Default toolbar configuration - everything visible and sticky.\n * Use as a base and override individual properties.\n */\nexport const DEFAULT_TOOLBAR_CONFIG: FormToolbarConfig = {\n ShowEditButton: true,\n ShowDeleteButton: true,\n ShowRefreshButton: true,\n ShowFavoriteButton: true,\n ShowHistoryButton: true,\n ShowListButton: true,\n ShowTagsButton: true,\n ShowAttachmentsButton: true,\n ShowFormVariantPicker: true,\n ShowEntityHierarchy: true,\n ShowSectionControls: true,\n ShowEditBanner: true,\n ShowChangesButton: true,\n ShowSectionFilter: true,\n ShowExpandCollapseAllButtons: true,\n ShowWidthToggle: true,\n AllowSectionReorder: true,\n ShowSectionManager: true,\n StickyToolbar: true,\n AdditionalActions: null,\n CustomButtons: []\n};\n\n/**\n * Toolbar config for use inside MJ Explorer where favorites, history, and\n * list management are handled by the host app.\n * Pass as `[ToolbarConfig]=\"EXPLORER_TOOLBAR_CONFIG\"` on the container.\n */\nexport const EXPLORER_TOOLBAR_CONFIG: FormToolbarConfig = {\n ShowEditButton: true,\n ShowDeleteButton: true,\n ShowRefreshButton: true,\n ShowFavoriteButton: true,\n ShowHistoryButton: true,\n ShowListButton: true,\n ShowTagsButton: true,\n ShowAttachmentsButton: true,\n ShowFormVariantPicker: true,\n ShowEntityHierarchy: true,\n ShowSectionControls: true,\n ShowEditBanner: true,\n ShowChangesButton: true,\n ShowSectionFilter: true,\n ShowExpandCollapseAllButtons: true,\n ShowWidthToggle: true,\n AllowSectionReorder: true,\n ShowSectionManager: true,\n StickyToolbar: true,\n AdditionalActions: null,\n CustomButtons: []\n};\n\n/**\n * Toolbar config for custom-layout forms (Actions, AI Agents, etc.) that\n * manage their own panel open/closed state and layout. Hides the entire\n * right-hand section-controls group since search/expand-all/width-toggle\n * don't apply to forms that don't use MJ collapsible panels.\n *\n * Still shows the left-side action buttons (edit, save, delete, favorite,\n * history, lists, tags, changes) — those work the same for any entity form.\n */\nexport const CUSTOM_LAYOUT_TOOLBAR_CONFIG: FormToolbarConfig = {\n ShowEditButton: true,\n ShowDeleteButton: true,\n ShowRefreshButton: true,\n ShowFavoriteButton: true,\n ShowHistoryButton: true,\n ShowListButton: true,\n ShowTagsButton: true,\n ShowAttachmentsButton: true,\n ShowFormVariantPicker: true,\n ShowEntityHierarchy: true,\n ShowSectionControls: false, // ← hides the whole right group\n ShowEditBanner: true,\n ShowChangesButton: true,\n ShowSectionFilter: false,\n ShowExpandCollapseAllButtons: false,\n ShowWidthToggle: false,\n AllowSectionReorder: false,\n ShowSectionManager: false,\n StickyToolbar: true,\n AdditionalActions: null,\n CustomButtons: []\n};\n"]}
|
package/dist/module.d.ts
CHANGED
|
@@ -9,19 +9,22 @@ import * as i7 from "./lib/explorer-entity-data-grid.component";
|
|
|
9
9
|
import * as i8 from "./lib/isa-related-panel/isa-related-card.component";
|
|
10
10
|
import * as i9 from "./lib/isa-related-panel/isa-related-panel.component";
|
|
11
11
|
import * as i10 from "./lib/panel-slot/form-panel-slot.component";
|
|
12
|
-
import * as i11 from "./lib/
|
|
13
|
-
import * as i12 from "./lib/
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "@
|
|
17
|
-
import * as i16 from "@
|
|
18
|
-
import * as i17 from "@memberjunction/ng-
|
|
19
|
-
import * as i18 from "@memberjunction/ng-
|
|
20
|
-
import * as i19 from "@memberjunction/ng-
|
|
21
|
-
import * as i20 from "@memberjunction/ng-
|
|
22
|
-
import * as i21 from "@memberjunction/ng-
|
|
23
|
-
import * as i22 from "@memberjunction/ng-
|
|
24
|
-
import * as i23 from "@memberjunction/ng-
|
|
12
|
+
import * as i11 from "./lib/panel-slot/form-contributions.component";
|
|
13
|
+
import * as i12 from "./lib/panel-slot/related-entity-grid-panel.component";
|
|
14
|
+
import * as i13 from "./lib/interactive-form/interactive-form.component";
|
|
15
|
+
import * as i14 from "./lib/host/entity-form-host.component";
|
|
16
|
+
import * as i15 from "@angular/common";
|
|
17
|
+
import * as i16 from "@angular/forms";
|
|
18
|
+
import * as i17 from "@memberjunction/ng-ui-components";
|
|
19
|
+
import * as i18 from "@memberjunction/ng-record-changes";
|
|
20
|
+
import * as i19 from "@memberjunction/ng-list-management";
|
|
21
|
+
import * as i20 from "@memberjunction/ng-entity-viewer";
|
|
22
|
+
import * as i21 from "@memberjunction/ng-record-tags";
|
|
23
|
+
import * as i22 from "@memberjunction/ng-file-storage";
|
|
24
|
+
import * as i23 from "@memberjunction/ng-react";
|
|
25
|
+
import * as i24 from "@memberjunction/ng-markdown";
|
|
26
|
+
import * as i25 from "@memberjunction/ng-code-editor";
|
|
27
|
+
import * as i26 from "@memberjunction/ng-shared-generic";
|
|
25
28
|
/**
|
|
26
29
|
* BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.
|
|
27
30
|
*
|
|
@@ -43,7 +46,7 @@ import * as i23 from "@memberjunction/ng-shared-generic";
|
|
|
43
46
|
*/
|
|
44
47
|
export declare class BaseFormsModule {
|
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormsModule, never>;
|
|
46
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseFormsModule, [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.SectionLoaderComponent, typeof i7.ExplorerEntityDataGridComponent, typeof i8.MjIsaRelatedCardComponent, typeof i9.MjIsaRelatedPanelComponent, typeof i10.FormPanelSlotComponent, typeof i11.
|
|
49
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseFormsModule, [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.SectionLoaderComponent, typeof i7.ExplorerEntityDataGridComponent, typeof i8.MjIsaRelatedCardComponent, typeof i9.MjIsaRelatedPanelComponent, typeof i10.FormPanelSlotComponent, typeof i11.FormContributionsComponent, typeof i12.RelatedEntityGridPanelComponent, typeof i13.InteractiveFormComponent, typeof i14.MjEntityFormHostComponent], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.MJEmptyStateComponent, typeof i17.MJAlertComponent, typeof i18.RecordChangesModule, typeof i19.ListManagementModule, typeof i20.EntityViewerModule, typeof i21.RecordTagsModule, typeof i22.FileStorageModule, typeof i23.MJReactModule, typeof i24.MarkdownModule, typeof i25.CodeEditorModule, typeof i26.MJSafeRichHtmlPipe, typeof i26.SharedGenericModule], [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.SectionLoaderComponent, typeof i7.ExplorerEntityDataGridComponent, typeof i8.MjIsaRelatedCardComponent, typeof i9.MjIsaRelatedPanelComponent, typeof i10.FormPanelSlotComponent, typeof i11.FormContributionsComponent, typeof i12.RelatedEntityGridPanelComponent, typeof i13.InteractiveFormComponent, typeof i14.MjEntityFormHostComponent]>;
|
|
47
50
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaseFormsModule>;
|
|
48
51
|
}
|
|
49
52
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAkDa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
|
package/dist/module.js
CHANGED
|
@@ -11,10 +11,13 @@ import { ExplorerEntityDataGridComponent } from './lib/explorer-entity-data-grid
|
|
|
11
11
|
import { MjIsaRelatedCardComponent } from './lib/isa-related-panel/isa-related-card.component';
|
|
12
12
|
import { MjIsaRelatedPanelComponent } from './lib/isa-related-panel/isa-related-panel.component';
|
|
13
13
|
import { FormPanelSlotComponent } from './lib/panel-slot/form-panel-slot.component';
|
|
14
|
+
import { FormContributionsComponent } from './lib/panel-slot/form-contributions.component';
|
|
15
|
+
import { RelatedEntityGridPanelComponent } from './lib/panel-slot/related-entity-grid-panel.component';
|
|
14
16
|
import { RecordChangesModule } from '@memberjunction/ng-record-changes';
|
|
15
17
|
import { ListManagementModule } from '@memberjunction/ng-list-management';
|
|
16
18
|
import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
|
|
17
19
|
import { RecordTagsModule } from '@memberjunction/ng-record-tags';
|
|
20
|
+
import { FileStorageModule } from '@memberjunction/ng-file-storage';
|
|
18
21
|
import { MJReactModule } from '@memberjunction/ng-react';
|
|
19
22
|
import { MarkdownModule } from '@memberjunction/ng-markdown';
|
|
20
23
|
import { CodeEditorModule } from '@memberjunction/ng-code-editor';
|
|
@@ -53,6 +56,7 @@ export class BaseFormsModule {
|
|
|
53
56
|
ListManagementModule,
|
|
54
57
|
EntityViewerModule,
|
|
55
58
|
RecordTagsModule,
|
|
59
|
+
FileStorageModule,
|
|
56
60
|
MJReactModule,
|
|
57
61
|
MarkdownModule,
|
|
58
62
|
CodeEditorModule,
|
|
@@ -72,6 +76,8 @@ export class BaseFormsModule {
|
|
|
72
76
|
MjIsaRelatedCardComponent,
|
|
73
77
|
MjIsaRelatedPanelComponent,
|
|
74
78
|
FormPanelSlotComponent,
|
|
79
|
+
FormContributionsComponent,
|
|
80
|
+
RelatedEntityGridPanelComponent,
|
|
75
81
|
InteractiveFormComponent,
|
|
76
82
|
MjEntityFormHostComponent
|
|
77
83
|
],
|
|
@@ -84,6 +90,7 @@ export class BaseFormsModule {
|
|
|
84
90
|
ListManagementModule,
|
|
85
91
|
EntityViewerModule,
|
|
86
92
|
RecordTagsModule,
|
|
93
|
+
FileStorageModule,
|
|
87
94
|
MJReactModule,
|
|
88
95
|
MarkdownModule,
|
|
89
96
|
CodeEditorModule,
|
|
@@ -101,6 +108,8 @@ export class BaseFormsModule {
|
|
|
101
108
|
MjIsaRelatedCardComponent,
|
|
102
109
|
MjIsaRelatedPanelComponent,
|
|
103
110
|
FormPanelSlotComponent,
|
|
111
|
+
FormContributionsComponent,
|
|
112
|
+
RelatedEntityGridPanelComponent,
|
|
104
113
|
InteractiveFormComponent,
|
|
105
114
|
MjEntityFormHostComponent
|
|
106
115
|
]
|
|
@@ -116,6 +125,8 @@ export class BaseFormsModule {
|
|
|
116
125
|
MjIsaRelatedCardComponent,
|
|
117
126
|
MjIsaRelatedPanelComponent,
|
|
118
127
|
FormPanelSlotComponent,
|
|
128
|
+
FormContributionsComponent,
|
|
129
|
+
RelatedEntityGridPanelComponent,
|
|
119
130
|
InteractiveFormComponent,
|
|
120
131
|
MjEntityFormHostComponent], imports: [CommonModule,
|
|
121
132
|
FormsModule,
|
|
@@ -125,6 +136,7 @@ export class BaseFormsModule {
|
|
|
125
136
|
ListManagementModule,
|
|
126
137
|
EntityViewerModule,
|
|
127
138
|
RecordTagsModule,
|
|
139
|
+
FileStorageModule,
|
|
128
140
|
MJReactModule,
|
|
129
141
|
MarkdownModule,
|
|
130
142
|
CodeEditorModule,
|
|
@@ -139,6 +151,8 @@ export class BaseFormsModule {
|
|
|
139
151
|
MjIsaRelatedCardComponent,
|
|
140
152
|
MjIsaRelatedPanelComponent,
|
|
141
153
|
FormPanelSlotComponent,
|
|
154
|
+
FormContributionsComponent,
|
|
155
|
+
RelatedEntityGridPanelComponent,
|
|
142
156
|
InteractiveFormComponent,
|
|
143
157
|
MjEntityFormHostComponent] }); })();
|
|
144
158
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAk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ClB,gBAAgB;oBAChB,iBAAiB;oBACjB,aAAa;oBACb,cAAc;oBACd,gBAAgB;oBAChB,kBAAkB;oBAClB,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,sBAAsB;oBACtB,oBAAoB;oBACpB,2BAA2B;oBAC3B,8BAA8B;oBAC9B,yBAAyB;oBACzB,sBAAsB;oBACtB,+BAA+B;oBAC/B,yBAAyB;oBACzB,0BAA0B;oBAC1B,sBAAsB;oBACtB,0BAA0B;oBAC1B,+BAA+B;oBAC/B,wBAAwB;oBACxB,yBAAyB;iBAC1B;aACF;;wFACY,eAAe,mBAhDxB,sBAAsB;QACtB,oBAAoB;QACpB,2BAA2B;QAC3B,8BAA8B;QAC9B,yBAAyB;QACzB,sBAAsB;QACtB,+BAA+B;QAC/B,yBAAyB;QACzB,0BAA0B;QAC1B,sBAAsB;QACtB,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;QACxB,yBAAyB,aAGzB,YAAY;QACZ,WAAW;QACX,qBAAqB;QACrB,gBAAgB;QAChB,mBAAmB;QACnB,oBAAoB;QACpB,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,aAAa;QACb,cAAc;QACd,gBAAgB;QAChB,kBAAkB;QAClB,mBAAmB,aAGnB,sBAAsB;QACtB,oBAAoB;QACpB,2BAA2B;QAC3B,8BAA8B;QAC9B,yBAAyB;QACzB,sBAAsB;QACtB,+BAA+B;QAC/B,yBAAyB;QACzB,0BAA0B;QAC1B,sBAAsB;QACtB,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;QACxB,yBAAyB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { MjFormToolbarComponent } from './lib/toolbar/form-toolbar.component';\nimport { MjFormFieldComponent } from './lib/field/form-field.component';\nimport { MjCollapsiblePanelComponent } from './lib/panel/collapsible-panel.component';\nimport { MjRecordFormContainerComponent } from './lib/container/record-form-container.component';\nimport { MjSectionManagerComponent } from './lib/section-manager/section-manager.component';\nimport { SectionLoaderComponent } from './lib/section-loader-component';\nimport { ExplorerEntityDataGridComponent } from './lib/explorer-entity-data-grid.component';\nimport { MjIsaRelatedCardComponent } from './lib/isa-related-panel/isa-related-card.component';\nimport { MjIsaRelatedPanelComponent } from './lib/isa-related-panel/isa-related-panel.component';\nimport { FormPanelSlotComponent } from './lib/panel-slot/form-panel-slot.component';\nimport { FormContributionsComponent } from './lib/panel-slot/form-contributions.component';\nimport { RelatedEntityGridPanelComponent } from './lib/panel-slot/related-entity-grid-panel.component';\nimport { RecordChangesModule } from '@memberjunction/ng-record-changes';\nimport { ListManagementModule } from '@memberjunction/ng-list-management';\nimport { EntityViewerModule } from '@memberjunction/ng-entity-viewer';\nimport { RecordTagsModule } from '@memberjunction/ng-record-tags';\nimport { FileStorageModule } from '@memberjunction/ng-file-storage';\nimport { MJReactModule } from '@memberjunction/ng-react';\nimport { MarkdownModule } from '@memberjunction/ng-markdown';\nimport { CodeEditorModule } from '@memberjunction/ng-code-editor';\nimport { MJSafeRichHtmlPipe, SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { MJEmptyStateComponent, MJAlertComponent } from '@memberjunction/ng-ui-components';\nimport { InteractiveFormComponent } from './lib/interactive-form/interactive-form.component';\nimport { MjEntityFormHostComponent } from './lib/host/entity-form-host.component';\n\n/**\n * BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.\n *\n * Provides:\n * - **MjRecordFormContainerComponent** (`<mj-record-form-container>`): Top-level container\n * with sticky toolbar, section state management, and content slots.\n * - **MjFormToolbarComponent** (`<mj-form-toolbar>`): Configurable toolbar with read/edit mode\n * actions, IS-A hierarchy breadcrumb, section controls, and inline delete dialog.\n * - **MjCollapsiblePanelComponent** (`<mj-collapsible-panel>`): Collapsible section with\n * drag-to-reorder, search filtering, and inherited/related variants.\n * - **MjFormFieldComponent** (`<mj-form-field>`): Entity field renderer with clean read-only\n * display and modern edit-mode inputs (native HTML with custom select and autocomplete).\n * - **SectionLoaderComponent** (`<mj-form-section>`): Dynamic section loader via ClassFactory.\n * - **ExplorerEntityDataGridComponent** (`<mj-explorer-entity-data-grid>`): Data grid wrapper\n * for related entity sections with Navigate event support.\n *\n * All navigation actions are emitted as events via {@link FormNavigationEvent}.\n * The host application subscribes and maps to its own routing system.\n */\n@NgModule({\n declarations: [\n MjFormToolbarComponent,\n MjFormFieldComponent,\n MjCollapsiblePanelComponent,\n MjRecordFormContainerComponent,\n MjSectionManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n MjEntityFormHostComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n MJEmptyStateComponent,\n MJAlertComponent,\n RecordChangesModule,\n ListManagementModule,\n EntityViewerModule,\n RecordTagsModule,\n FileStorageModule,\n MJReactModule,\n MarkdownModule,\n CodeEditorModule,\n MJSafeRichHtmlPipe,\n SharedGenericModule\n ],\n exports: [\n MjFormToolbarComponent,\n MjFormFieldComponent,\n MjCollapsiblePanelComponent,\n MjRecordFormContainerComponent,\n MjSectionManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n MjEntityFormHostComponent\n ]\n})\nexport class BaseFormsModule { }\n"]}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './lib/types/form-types';
|
|
|
13
13
|
export * from './lib/types/navigation-events';
|
|
14
14
|
export * from './lib/types/toolbar-config';
|
|
15
15
|
export * from './lib/types/form-events';
|
|
16
|
+
export * from './lib/types/form-toolbar-item';
|
|
16
17
|
export * from './lib/types/entity-form-config';
|
|
17
18
|
export * from './lib/resolver/form-resolver.service';
|
|
18
19
|
export * from './lib/host/entity-form-host.component';
|
|
@@ -28,6 +29,7 @@ export * from './lib/base-form-section-component';
|
|
|
28
29
|
export * from './lib/base-form-section-info';
|
|
29
30
|
export * from './lib/form-state.interface';
|
|
30
31
|
export * from './lib/form-state.service';
|
|
32
|
+
export * from './lib/form-record-refresh.coordinator';
|
|
31
33
|
export * from './lib/toolbar/form-toolbar.component';
|
|
32
34
|
export * from './lib/field/form-field.component';
|
|
33
35
|
export * from './lib/field/fk-search-utils';
|
|
@@ -43,5 +45,16 @@ export * from './lib/isa-related-panel/isa-related-panel.component';
|
|
|
43
45
|
export * from './lib/panel-slot/base-form-panel';
|
|
44
46
|
export * from './lib/panel-slot/form-panel-slot.component';
|
|
45
47
|
export * from './lib/panel-slot/form-slot-coordinator.service';
|
|
48
|
+
export * from './lib/panel-slot/form-contribution';
|
|
49
|
+
export * from './lib/panel-slot/collect-form-panel-registrations';
|
|
50
|
+
export * from './lib/panel-slot/form-contributions.component';
|
|
51
|
+
export * from './lib/panel-slot/related-entity-grid-panel.component';
|
|
46
52
|
export * from './lib/interactive-form/interactive-form.component';
|
|
53
|
+
export * from './lib/chrome/form-chrome';
|
|
54
|
+
export * from './lib/chrome/base-form-policy';
|
|
55
|
+
export * from './lib/chrome/resolve-form-chrome';
|
|
56
|
+
export * from './lib/chrome/load-form-chrome-rules';
|
|
57
|
+
export * from './lib/chrome/form-chrome-coordinator.service';
|
|
58
|
+
export * from './lib/chrome/form-chrome-rail-pref';
|
|
59
|
+
export * from './lib/related-grid-height';
|
|
47
60
|
//# sourceMappingURL=public-api.d.ts.map
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,cAAc,UAAU,CAAC;AAGzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C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C5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AAKpE,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,mDAAmD,CAAC;AAClE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAGlE,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -15,6 +15,7 @@ export * from './lib/types/form-types';
|
|
|
15
15
|
export * from './lib/types/navigation-events';
|
|
16
16
|
export * from './lib/types/toolbar-config';
|
|
17
17
|
export * from './lib/types/form-events';
|
|
18
|
+
export * from './lib/types/form-toolbar-item';
|
|
18
19
|
export * from './lib/types/entity-form-config';
|
|
19
20
|
// Form resolution (form-variant / interactive-override picker — Generic, no Explorer deps)
|
|
20
21
|
export * from './lib/resolver/form-resolver.service';
|
|
@@ -35,6 +36,7 @@ export * from './lib/base-form-section-info';
|
|
|
35
36
|
// State management
|
|
36
37
|
export * from './lib/form-state.interface';
|
|
37
38
|
export * from './lib/form-state.service';
|
|
39
|
+
export * from './lib/form-record-refresh.coordinator';
|
|
38
40
|
// Components
|
|
39
41
|
export * from './lib/toolbar/form-toolbar.component';
|
|
40
42
|
export * from './lib/field/form-field.component';
|
|
@@ -54,5 +56,17 @@ export * from './lib/isa-related-panel/isa-related-panel.component';
|
|
|
54
56
|
export * from './lib/panel-slot/base-form-panel';
|
|
55
57
|
export * from './lib/panel-slot/form-panel-slot.component';
|
|
56
58
|
export * from './lib/panel-slot/form-slot-coordinator.service';
|
|
59
|
+
export * from './lib/panel-slot/form-contribution';
|
|
60
|
+
export * from './lib/panel-slot/collect-form-panel-registrations';
|
|
61
|
+
export * from './lib/panel-slot/form-contributions.component';
|
|
62
|
+
export * from './lib/panel-slot/related-entity-grid-panel.component';
|
|
57
63
|
export * from './lib/interactive-form/interactive-form.component';
|
|
64
|
+
// Form chrome (accordion / left-nav / More grouping)
|
|
65
|
+
export * from './lib/chrome/form-chrome';
|
|
66
|
+
export * from './lib/chrome/base-form-policy';
|
|
67
|
+
export * from './lib/chrome/resolve-form-chrome';
|
|
68
|
+
export * from './lib/chrome/load-form-chrome-rules';
|
|
69
|
+
export * from './lib/chrome/form-chrome-coordinator.service';
|
|
70
|
+
export * from './lib/chrome/form-chrome-rail-pref';
|
|
71
|
+
export * from './lib/related-grid-height';
|
|
58
72
|
//# sourceMappingURL=public-api.js.map
|