@memberjunction/ng-base-forms 6.2.0-edge.5 → 6.2.0-edge.6

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.
Files changed (95) hide show
  1. package/README.md +195 -2
  2. package/dist/lib/base-form-component.d.ts +23 -1
  3. package/dist/lib/base-form-component.d.ts.map +1 -1
  4. package/dist/lib/base-form-component.js +54 -10
  5. package/dist/lib/base-form-component.js.map +1 -1
  6. package/dist/lib/chrome/form-composition-snapshot.d.ts +52 -0
  7. package/dist/lib/chrome/form-composition-snapshot.d.ts.map +1 -1
  8. package/dist/lib/chrome/form-composition-snapshot.js +4 -0
  9. package/dist/lib/chrome/form-composition-snapshot.js.map +1 -1
  10. package/dist/lib/container/record-form-container.component.d.ts +107 -1
  11. package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
  12. package/dist/lib/container/record-form-container.component.js +1494 -316
  13. package/dist/lib/container/record-form-container.component.js.map +1 -1
  14. package/dist/lib/field/form-field.component.d.ts +159 -14
  15. package/dist/lib/field/form-field.component.d.ts.map +1 -1
  16. package/dist/lib/field/form-field.component.js +1360 -469
  17. package/dist/lib/field/form-field.component.js.map +1 -1
  18. package/dist/lib/form-record-refresh.coordinator.d.ts +124 -0
  19. package/dist/lib/form-record-refresh.coordinator.d.ts.map +1 -1
  20. package/dist/lib/form-record-refresh.coordinator.js +93 -13
  21. package/dist/lib/form-record-refresh.coordinator.js.map +1 -1
  22. package/dist/lib/host/entity-form-host.component.d.ts +104 -2
  23. package/dist/lib/host/entity-form-host.component.d.ts.map +1 -1
  24. package/dist/lib/host/entity-form-host.component.js +272 -34
  25. package/dist/lib/host/entity-form-host.component.js.map +1 -1
  26. package/dist/lib/isa-related-panel/isa-related-card.component.js +7 -4
  27. package/dist/lib/isa-related-panel/isa-related-card.component.js.map +1 -1
  28. package/dist/lib/isa-related-panel/isa-related-panel.component.js +1 -2
  29. package/dist/lib/isa-related-panel/isa-related-panel.component.js.map +1 -1
  30. package/dist/lib/links/record-link-utils.d.ts +83 -0
  31. package/dist/lib/links/record-link-utils.d.ts.map +1 -0
  32. package/dist/lib/links/record-link-utils.js +232 -0
  33. package/dist/lib/links/record-link-utils.js.map +1 -0
  34. package/dist/lib/links/record-link.component.d.ts +50 -0
  35. package/dist/lib/links/record-link.component.d.ts.map +1 -0
  36. package/dist/lib/links/record-link.component.js +319 -0
  37. package/dist/lib/links/record-link.component.js.map +1 -0
  38. package/dist/lib/links/record-link.directive.d.ts +94 -0
  39. package/dist/lib/links/record-link.directive.d.ts.map +1 -0
  40. package/dist/lib/links/record-link.directive.js +277 -0
  41. package/dist/lib/links/record-link.directive.js.map +1 -0
  42. package/dist/lib/links/record-links-drawer.component.d.ts +21 -0
  43. package/dist/lib/links/record-links-drawer.component.d.ts.map +1 -0
  44. package/dist/lib/links/record-links-drawer.component.js +61 -0
  45. package/dist/lib/links/record-links-drawer.component.js.map +1 -0
  46. package/dist/lib/links/record-links.component.d.ts +249 -0
  47. package/dist/lib/links/record-links.component.d.ts.map +1 -0
  48. package/dist/lib/links/record-links.component.js +1523 -0
  49. package/dist/lib/links/record-links.component.js.map +1 -0
  50. package/dist/lib/panel-slot/form-field-panel-slot.component.d.ts.map +1 -1
  51. package/dist/lib/panel-slot/form-field-panel-slot.component.js +3 -1
  52. package/dist/lib/panel-slot/form-field-panel-slot.component.js.map +1 -1
  53. package/dist/lib/panel-slot/form-panel-slot.component.d.ts.map +1 -1
  54. package/dist/lib/panel-slot/form-panel-slot.component.js +6 -0
  55. package/dist/lib/panel-slot/form-panel-slot.component.js.map +1 -1
  56. package/dist/lib/preview-popover/record-preview-popover.component.d.ts +187 -0
  57. package/dist/lib/preview-popover/record-preview-popover.component.d.ts.map +1 -0
  58. package/dist/lib/preview-popover/record-preview-popover.component.js +1060 -0
  59. package/dist/lib/preview-popover/record-preview-popover.component.js.map +1 -0
  60. package/dist/lib/preview-popover/record-preview-popover.service.d.ts +105 -0
  61. package/dist/lib/preview-popover/record-preview-popover.service.d.ts.map +1 -0
  62. package/dist/lib/preview-popover/record-preview-popover.service.js +278 -0
  63. package/dist/lib/preview-popover/record-preview-popover.service.js.map +1 -0
  64. package/dist/lib/resolver/form-resolver.service.d.ts +44 -1
  65. package/dist/lib/resolver/form-resolver.service.d.ts.map +1 -1
  66. package/dist/lib/resolver/form-resolver.service.js +51 -3
  67. package/dist/lib/resolver/form-resolver.service.js.map +1 -1
  68. package/dist/lib/toolbar/actions/record-links-toolbar-action.d.ts +21 -0
  69. package/dist/lib/toolbar/actions/record-links-toolbar-action.d.ts.map +1 -0
  70. package/dist/lib/toolbar/actions/record-links-toolbar-action.js +90 -0
  71. package/dist/lib/toolbar/actions/record-links-toolbar-action.js.map +1 -0
  72. package/dist/lib/toolbar/base-form-toolbar-action.d.ts +189 -0
  73. package/dist/lib/toolbar/base-form-toolbar-action.d.ts.map +1 -0
  74. package/dist/lib/toolbar/base-form-toolbar-action.js +274 -0
  75. package/dist/lib/toolbar/base-form-toolbar-action.js.map +1 -0
  76. package/dist/lib/toolbar/form-toolbar.component.d.ts +21 -1
  77. package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
  78. package/dist/lib/toolbar/form-toolbar.component.js +295 -195
  79. package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
  80. package/dist/lib/types/form-toolbar-item.d.ts +1 -1
  81. package/dist/lib/types/form-toolbar-item.d.ts.map +1 -1
  82. package/dist/lib/types/form-toolbar-item.js.map +1 -1
  83. package/dist/lib/types/toolbar-config.d.ts +4 -0
  84. package/dist/lib/types/toolbar-config.d.ts.map +1 -1
  85. package/dist/lib/types/toolbar-config.js +6 -0
  86. package/dist/lib/types/toolbar-config.js.map +1 -1
  87. package/dist/module.d.ts +19 -14
  88. package/dist/module.d.ts.map +1 -1
  89. package/dist/module.js +39 -6
  90. package/dist/module.js.map +1 -1
  91. package/dist/public-api.d.ts +9 -0
  92. package/dist/public-api.d.ts.map +1 -1
  93. package/dist/public-api.js +9 -0
  94. package/dist/public-api.js.map +1 -1
  95. package/package.json +20 -20
@@ -2,7 +2,7 @@ import { BaseEntity } from '@memberjunction/core';
2
2
  /**
3
3
  * Well-known keys for built-in standard form toolbar buttons.
4
4
  */
5
- export type StandardToolbarItemKey = 'edit' | 'delete' | 'favorite' | 'history' | 'list' | 'tags' | 'attachments' | 'refresh' | 'clone';
5
+ export type StandardToolbarItemKey = 'edit' | 'delete' | 'favorite' | 'history' | 'list' | 'tags' | 'links' | 'attachments' | 'refresh' | 'clone' | 'ask-ai';
6
6
  /**
7
7
  * Union of standard toolbar item keys and any custom button key.
8
8
  */
@@ -1 +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,GACT,OAAO,CAAC;AAEZ;;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;IAEn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ACnC,SAAS,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;CAC/B"}
@@ -1 +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 | 'clone';\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 * In read mode the toolbar renders inline items (Edit and non-pinnable custom items) first, in\n * `Order`, then the user's pinned items in the order they were pinned; `Order` also sorts the\n * More menu. So a custom inline item with the default 100 sits after Edit and before the pins.\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 * Label for the item in the toolbar's More menu. Defaults to `Text`, then `Description`.\n */\n MenuLabel?: string;\n\n /**\n * Whether the item takes part in per-user pinning: shown as a button only when the user pins\n * it, otherwise listed in the More menu. Built-in items (except Edit) are pinnable. Custom\n * items default to false and always render inline, so app-specific actions stay in view.\n * Inline items render before pinned ones regardless of `Order` (see {@link Order}).\n */\n Pinnable?: boolean;\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 /** Label used in the More menu. */\n MenuLabel: string;\n /** Whether the item is pinned or listed in the More menu rather than always inline. */\n Pinnable: boolean;\n Config: FormToolbarItemConfig;\n}\n"]}
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 | 'links'\n | 'attachments'\n | 'refresh'\n | 'clone'\n | 'ask-ai';\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 * In read mode the toolbar renders inline items (Edit and non-pinnable custom items) first, in\n * `Order`, then the user's pinned items in the order they were pinned; `Order` also sorts the\n * More menu. So a custom inline item with the default 100 sits after Edit and before the pins.\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 * Label for the item in the toolbar's More menu. Defaults to `Text`, then `Description`.\n */\n MenuLabel?: string;\n\n /**\n * Whether the item takes part in per-user pinning: shown as a button only when the user pins\n * it, otherwise listed in the More menu. Built-in items (except Edit) are pinnable. Custom\n * items default to false and always render inline, so app-specific actions stay in view.\n * Inline items render before pinned ones regardless of `Order` (see {@link Order}).\n */\n Pinnable?: boolean;\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 /** Label used in the More menu. */\n MenuLabel: string;\n /** Whether the item is pinned or listed in the More menu rather than always inline. */\n Pinnable: boolean;\n Config: FormToolbarItemConfig;\n}\n"]}
@@ -32,6 +32,10 @@ export interface FormToolbarConfig {
32
32
  ShowListButton: boolean;
33
33
  /** Show the Tags button for viewing/managing tags on this record. Default: true */
34
34
  ShowTagsButton: boolean;
35
+ /** Show the Links button for viewing linked records across the workspace. Default: true */
36
+ ShowLinksButton: boolean;
37
+ /** Show the Ask AI button for opening the AI assistant with active record context. Default: true */
38
+ ShowAskAIButton?: boolean;
35
39
  /** Show the Attachments button for viewing/managing linked file attachments. Default: true */
36
40
  ShowAttachmentsButton: boolean;
37
41
  /**
@@ -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,yFAAyF;IACzF,iBAAiB,EAAE,OAAO,CAAC;IAE3B,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,8FAA8F;IAC9F,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;;OAIG;IACH,eAAe,CA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G,IAAI,CAAC;IAE/C;;;OAGG;IACH,aAAa,EAAE,mBAAmB,EAAE,CAAC;CACtC;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAyBpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,iBAyBrC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAyB1C,CAAC"}
@@ -10,6 +10,8 @@ export const DEFAULT_TOOLBAR_CONFIG = {
10
10
  ShowHistoryButton: true,
11
11
  ShowListButton: true,
12
12
  ShowTagsButton: true,
13
+ ShowLinksButton: true,
14
+ ShowAskAIButton: true,
13
15
  ShowAttachmentsButton: true,
14
16
  ShowCloneButton: true,
15
17
  ShowFormVariantPicker: true,
@@ -39,6 +41,8 @@ export const EXPLORER_TOOLBAR_CONFIG = {
39
41
  ShowHistoryButton: true,
40
42
  ShowListButton: true,
41
43
  ShowTagsButton: true,
44
+ ShowLinksButton: true,
45
+ ShowAskAIButton: true,
42
46
  ShowAttachmentsButton: true,
43
47
  ShowCloneButton: true,
44
48
  ShowFormVariantPicker: true,
@@ -72,6 +76,8 @@ export const CUSTOM_LAYOUT_TOOLBAR_CONFIG = {
72
76
  ShowHistoryButton: true,
73
77
  ShowListButton: true,
74
78
  ShowTagsButton: true,
79
+ ShowLinksButton: true,
80
+ ShowAskAIButton: true,
75
81
  ShowAttachmentsButton: true,
76
82
  ShowCloneButton: true,
77
83
  ShowFormVariantPicker: true,
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar-config.js","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AA6IA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAsB;IACvD,cAAc,EAAE,IAAI;IACpB,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,IAAI;IACxB,iBAAiB,EAAE,IAAI;IACvB,cAAc,EAAE,IAAI;I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EAAE,IAAI;IACvB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,IAAI;IACpB,qBAAqB,EAAE,IAAI;IAC3B,eAAe,EAAE,IAAI;IACrB,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 Clone action for saved records, which opens the `ng-record-clone` slide-in.\n * The button still appears only when the entity's `Configuration.Clone.Enabled` is true\n * and `RecordClone.Describe` says the user may clone it. Omitted means off.\n */\n ShowCloneButton?: 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 /**\n * How many pinnable actions a user may pin as toolbar buttons; the rest are in the More menu.\n * The same for every user and screen width. Default: 3.\n */\n MaxPinnedActions?: number;\n\n /**\n * Pinnable actions shown as buttons for a user who has not chosen their own pins yet.\n * Default: `['favorite', 'history']`.\n */\n DefaultPinnedActions?: string[];\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 ShowCloneButton: 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 ShowCloneButton: 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 ShowCloneButton: 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"]}
1
+ {"version":3,"file":"toolbar-config.js","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AAmJA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAsB;IACvD,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,eAAe,EAAE,IAAI;IACrB,eAAe,EAAE,IAAI;IACrB,qBAAqB,EAAE,IAAI;IAC3B,eAAe,EAAE,IAAI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AAE,IAAI;IACpB,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,IAAI;IACrB,eAAe,EAAE,IAAI;IACrB,qBAAqB,EAAE,IAAI;IAC3B,eAAe,EAAE,IAAI;IACrB,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 Links button for viewing linked records across the workspace. Default: true */\n ShowLinksButton: boolean;\n\n /** Show the Ask AI button for opening the AI assistant with active record context. Default: true */\n ShowAskAIButton?: boolean;\n\n /** Show the Attachments button for viewing/managing linked file attachments. Default: true */\n ShowAttachmentsButton: boolean;\n\n /**\n * Show the Clone action for saved records, which opens the `ng-record-clone` slide-in.\n * The button still appears only when the entity's `Configuration.Clone.Enabled` is true\n * and `RecordClone.Describe` says the user may clone it. Omitted means off.\n */\n ShowCloneButton?: 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 /**\n * How many pinnable actions a user may pin as toolbar buttons; the rest are in the More menu.\n * The same for every user and screen width. Default: 3.\n */\n MaxPinnedActions?: number;\n\n /**\n * Pinnable actions shown as buttons for a user who has not chosen their own pins yet.\n * Default: `['favorite', 'history']`.\n */\n DefaultPinnedActions?: string[];\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 ShowLinksButton: true,\n ShowAskAIButton: true,\n ShowAttachmentsButton: true,\n ShowCloneButton: 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 ShowLinksButton: true,\n ShowAskAIButton: true,\n ShowAttachmentsButton: true,\n ShowCloneButton: 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 ShowLinksButton: true,\n ShowAskAIButton: true,\n ShowAttachmentsButton: true,\n ShowCloneButton: 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
@@ -19,19 +19,24 @@ import * as i17 from "./lib/host/entity-form-host.component";
19
19
  import * as i18 from "./lib/apply/form-placement-dialog.component";
20
20
  import * as i19 from "./lib/apply/form-placement-preview.component";
21
21
  import * as i20 from "./lib/panel-slot/placement-preview-panel.component";
22
- import * as i21 from "@angular/common";
23
- import * as i22 from "@angular/forms";
24
- import * as i23 from "@memberjunction/ng-ui-components";
25
- import * as i24 from "@memberjunction/ng-record-changes";
26
- import * as i25 from "@memberjunction/ng-list-management";
27
- import * as i26 from "@memberjunction/ng-entity-viewer";
28
- import * as i27 from "@memberjunction/ng-record-tags";
29
- import * as i28 from "@memberjunction/ng-file-storage";
30
- import * as i29 from "@memberjunction/ng-react";
31
- import * as i30 from "@memberjunction/ng-markdown";
32
- import * as i31 from "@memberjunction/ng-code-editor";
33
- import * as i32 from "@memberjunction/ng-shared-generic";
34
- import * as i33 from "@memberjunction/ng-record-clone";
22
+ import * as i21 from "./lib/links/record-links.component";
23
+ import * as i22 from "./lib/links/record-links-drawer.component";
24
+ import * as i23 from "./lib/links/record-link.directive";
25
+ import * as i24 from "./lib/links/record-link.component";
26
+ import * as i25 from "./lib/preview-popover/record-preview-popover.component";
27
+ import * as i26 from "@angular/common";
28
+ import * as i27 from "@angular/forms";
29
+ import * as i28 from "@memberjunction/ng-ui-components";
30
+ import * as i29 from "@memberjunction/ng-record-changes";
31
+ import * as i30 from "@memberjunction/ng-list-management";
32
+ import * as i31 from "@memberjunction/ng-entity-viewer";
33
+ import * as i32 from "@memberjunction/ng-record-tags";
34
+ import * as i33 from "@memberjunction/ng-file-storage";
35
+ import * as i34 from "@memberjunction/ng-react";
36
+ import * as i35 from "@memberjunction/ng-markdown";
37
+ import * as i36 from "@memberjunction/ng-code-editor";
38
+ import * as i37 from "@memberjunction/ng-shared-generic";
39
+ import * as i38 from "@memberjunction/ng-record-clone";
35
40
  /**
36
41
  * BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.
37
42
  *
@@ -53,7 +58,7 @@ import * as i33 from "@memberjunction/ng-record-clone";
53
58
  */
54
59
  export declare class BaseFormsModule {
55
60
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormsModule, never>;
56
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaseFormsModule, [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.MjPanelManagerComponent, typeof i7.SectionLoaderComponent, typeof i8.ExplorerEntityDataGridComponent, typeof i9.MjIsaRelatedCardComponent, typeof i10.MjIsaRelatedPanelComponent, typeof i11.FormPanelSlotComponent, typeof i12.FormFieldPanelSlotComponent, typeof i13.FormContributionsComponent, typeof i14.RelatedEntityGridPanelComponent, typeof i15.InteractiveFormComponent, typeof i16.InteractiveFormPanelComponent, typeof i17.MjEntityFormHostComponent, typeof i18.MjFormPlacementDialogComponent, typeof i19.MjFormPlacementPreviewComponent, typeof i20.PlacementPreviewPanelComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i23.MJEmptyStateComponent, typeof i23.MJAlertComponent, typeof i24.RecordChangesModule, typeof i25.ListManagementModule, typeof i26.EntityViewerModule, typeof i27.RecordTagsModule, typeof i28.FileStorageModule, typeof i29.MJReactModule, typeof i30.MarkdownModule, typeof i31.CodeEditorModule, typeof i32.MJSafeRichHtmlPipe, typeof i32.SharedGenericModule, typeof i23.MJButtonDirective, typeof i23.MjIconPickerComponent, typeof i33.RecordCloneSlideInComponent], [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.MjPanelManagerComponent, typeof i7.SectionLoaderComponent, typeof i8.ExplorerEntityDataGridComponent, typeof i9.MjIsaRelatedCardComponent, typeof i10.MjIsaRelatedPanelComponent, typeof i11.FormPanelSlotComponent, typeof i12.FormFieldPanelSlotComponent, typeof i13.FormContributionsComponent, typeof i14.RelatedEntityGridPanelComponent, typeof i15.InteractiveFormComponent, typeof i16.InteractiveFormPanelComponent, typeof i17.MjEntityFormHostComponent, typeof i18.MjFormPlacementDialogComponent, typeof i19.MjFormPlacementPreviewComponent, typeof i20.PlacementPreviewPanelComponent]>;
61
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaseFormsModule, [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.MjPanelManagerComponent, typeof i7.SectionLoaderComponent, typeof i8.ExplorerEntityDataGridComponent, typeof i9.MjIsaRelatedCardComponent, typeof i10.MjIsaRelatedPanelComponent, typeof i11.FormPanelSlotComponent, typeof i12.FormFieldPanelSlotComponent, typeof i13.FormContributionsComponent, typeof i14.RelatedEntityGridPanelComponent, typeof i15.InteractiveFormComponent, typeof i16.InteractiveFormPanelComponent, typeof i17.MjEntityFormHostComponent, typeof i18.MjFormPlacementDialogComponent, typeof i19.MjFormPlacementPreviewComponent, typeof i20.PlacementPreviewPanelComponent, typeof i21.MjRecordLinksComponent, typeof i22.MjRecordLinksDrawerComponent, typeof i23.MjRecordLinkDirective, typeof i24.MjRecordLinkComponent, typeof i25.MjRecordPreviewPopoverComponent], [typeof i26.CommonModule, typeof i27.FormsModule, typeof i28.MJEmptyStateComponent, typeof i28.MJAlertComponent, typeof i28.MJButtonDirective, typeof i29.RecordChangesModule, typeof i30.ListManagementModule, typeof i31.EntityViewerModule, typeof i32.RecordTagsModule, typeof i33.FileStorageModule, typeof i34.MJReactModule, typeof i35.MarkdownModule, typeof i36.CodeEditorModule, typeof i37.MJSafeRichHtmlPipe, typeof i37.SharedGenericModule, typeof i28.MJButtonDirective, typeof i28.MjIconPickerComponent, typeof i38.RecordCloneSlideInComponent], [typeof i1.MjFormToolbarComponent, typeof i2.MjFormFieldComponent, typeof i3.MjCollapsiblePanelComponent, typeof i4.MjRecordFormContainerComponent, typeof i5.MjSectionManagerComponent, typeof i6.MjPanelManagerComponent, typeof i7.SectionLoaderComponent, typeof i8.ExplorerEntityDataGridComponent, typeof i9.MjIsaRelatedCardComponent, typeof i10.MjIsaRelatedPanelComponent, typeof i11.FormPanelSlotComponent, typeof i12.FormFieldPanelSlotComponent, typeof i13.FormContributionsComponent, typeof i14.RelatedEntityGridPanelComponent, typeof i15.InteractiveFormComponent, typeof i16.InteractiveFormPanelComponent, typeof i17.MjEntityFormHostComponent, typeof i18.MjFormPlacementDialogComponent, typeof i19.MjFormPlacementPreviewComponent, typeof i20.PlacementPreviewPanelComponent, typeof i21.MjRecordLinksComponent, typeof i22.MjRecordLinksDrawerComponent, typeof i23.MjRecordLinkDirective, typeof i24.MjRecordLinkComponent, typeof i25.MjRecordPreviewPopoverComponent]>;
57
62
  static ɵinj: i0.ɵɵInjectorDeclaration<BaseFormsModule>;
58
63
  }
59
64
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAiEa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBA4Ea,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
package/dist/module.js CHANGED
@@ -32,8 +32,16 @@ import { MjFormPlacementDialogComponent } from './lib/apply/form-placement-dialo
32
32
  import { MjFormPlacementPreviewComponent } from './lib/apply/form-placement-preview.component';
33
33
  import { PlacementPreviewPanelComponent } from './lib/panel-slot/placement-preview-panel.component';
34
34
  import { RecordCloneSlideInComponent } from '@memberjunction/ng-record-clone';
35
+ import { MjRecordLinksComponent } from './lib/links/record-links.component';
36
+ import { MjRecordLinksDrawerComponent } from './lib/links/record-links-drawer.component';
37
+ import { MjRecordLinkDirective } from './lib/links/record-link.directive';
38
+ import { MjRecordLinkComponent } from './lib/links/record-link.component';
39
+ import { MjRecordPreviewPopoverComponent } from './lib/preview-popover/record-preview-popover.component';
35
40
  import * as i0 from "@angular/core";
36
- import * as i1 from "@memberjunction/ng-react";
41
+ import * as i1 from "@angular/common";
42
+ import * as i2 from "@memberjunction/ng-markdown";
43
+ import * as i3 from "@memberjunction/ng-code-editor";
44
+ import * as i4 from "@memberjunction/ng-react";
37
45
  /**
38
46
  * BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.
39
47
  *
@@ -95,13 +103,19 @@ export class BaseFormsModule {
95
103
  MjEntityFormHostComponent,
96
104
  MjFormPlacementDialogComponent,
97
105
  MjFormPlacementPreviewComponent,
98
- PlacementPreviewPanelComponent
106
+ PlacementPreviewPanelComponent,
107
+ MjRecordLinksComponent,
108
+ MjRecordLinksDrawerComponent,
109
+ MjRecordLinkDirective,
110
+ MjRecordLinkComponent,
111
+ MjRecordPreviewPopoverComponent
99
112
  ],
100
113
  imports: [
101
114
  CommonModule,
102
115
  FormsModule,
103
116
  MJEmptyStateComponent,
104
117
  MJAlertComponent,
118
+ MJButtonDirective,
105
119
  RecordChangesModule,
106
120
  ListManagementModule,
107
121
  EntityViewerModule,
@@ -136,7 +150,12 @@ export class BaseFormsModule {
136
150
  MjEntityFormHostComponent,
137
151
  MjFormPlacementDialogComponent,
138
152
  MjFormPlacementPreviewComponent,
139
- PlacementPreviewPanelComponent
153
+ PlacementPreviewPanelComponent,
154
+ MjRecordLinksComponent,
155
+ MjRecordLinksDrawerComponent,
156
+ MjRecordLinkDirective,
157
+ MjRecordLinkComponent,
158
+ MjRecordPreviewPopoverComponent
140
159
  ]
141
160
  }]
142
161
  }], null, null); })();
@@ -159,10 +178,16 @@ export class BaseFormsModule {
159
178
  MjEntityFormHostComponent,
160
179
  MjFormPlacementDialogComponent,
161
180
  MjFormPlacementPreviewComponent,
162
- PlacementPreviewPanelComponent], imports: [CommonModule,
181
+ PlacementPreviewPanelComponent,
182
+ MjRecordLinksComponent,
183
+ MjRecordLinksDrawerComponent,
184
+ MjRecordLinkDirective,
185
+ MjRecordLinkComponent,
186
+ MjRecordPreviewPopoverComponent], imports: [CommonModule,
163
187
  FormsModule,
164
188
  MJEmptyStateComponent,
165
189
  MJAlertComponent,
190
+ MJButtonDirective,
166
191
  RecordChangesModule,
167
192
  ListManagementModule,
168
193
  EntityViewerModule,
@@ -194,7 +219,15 @@ export class BaseFormsModule {
194
219
  MjEntityFormHostComponent,
195
220
  MjFormPlacementDialogComponent,
196
221
  MjFormPlacementPreviewComponent,
197
- PlacementPreviewPanelComponent] }); })();
222
+ PlacementPreviewPanelComponent,
223
+ MjRecordLinksComponent,
224
+ MjRecordLinksDrawerComponent,
225
+ MjRecordLinkDirective,
226
+ MjRecordLinkComponent,
227
+ MjRecordPreviewPopoverComponent] }); })();
228
+ i0.ɵɵsetComponentScope(MjFormFieldComponent, [i1.NgTemplateOutlet, i1.NgStyle, i2.MarkdownComponent, i3.CodeEditorComponent, MjRecordLinkDirective], [MJSafeRichHtmlPipe]);
198
229
  i0.ɵɵsetComponentScope(MjCollapsiblePanelComponent, [FormFieldPanelSlotComponent], []);
199
- i0.ɵɵsetComponentScope(InteractiveFormComponent, [MJAlertComponent, i1.MJReactComponent, MjRecordFormContainerComponent], []);
230
+ i0.ɵɵsetComponentScope(MjIsaRelatedPanelComponent, [MjIsaRelatedCardComponent], []);
231
+ i0.ɵɵsetComponentScope(InteractiveFormComponent, [MJAlertComponent, i4.MJReactComponent, MjRecordFormContainerComponent], []);
232
+ i0.ɵɵsetComponentScope(MjRecordLinksComponent, [i1.NgTemplateOutlet, MjRecordLinkDirective], []);
200
233
  //# sourceMappingURL=module.js.map
@@ -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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AC9B,yBAAyB;QACzB,uBAAuB;QACvB,sBAAsB;QACtB,+BAA+B;QAC/B,yBAAyB;QACzB,0BAA0B;QAC1B,sBAAsB;QACtB,2BAA2B;QAC3B,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;QACxB,6BAA6B;QAC7B,yBAAyB;QACzB,8BAA8B;QAC9B,+BAA+B;QAC/B,8BAA8B;uBA1D9B,2BAA2B,GAS3B,2BAA2B;uBAG3B,wBAAwB,GAWxB,gBAAgB,uBAtBhB,8BAA8B","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 { MjPanelManagerComponent } from './lib/panel-manager/panel-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 { FormFieldPanelSlotComponent } from './lib/panel-slot/form-field-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, MJButtonDirective, MjIconPickerComponent } from '@memberjunction/ng-ui-components';\nimport { InteractiveFormComponent } from './lib/interactive-form/interactive-form.component';\nimport { InteractiveFormPanelComponent } from './lib/interactive-form/interactive-form-panel.component';\nimport { MjEntityFormHostComponent } from './lib/host/entity-form-host.component';\nimport { MjFormPlacementDialogComponent } from './lib/apply/form-placement-dialog.component';\nimport { MjFormPlacementPreviewComponent } from './lib/apply/form-placement-preview.component';\nimport { PlacementPreviewPanelComponent } from './lib/panel-slot/placement-preview-panel.component';\nimport { RecordCloneSlideInComponent } from '@memberjunction/ng-record-clone';\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 MjPanelManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormFieldPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n InteractiveFormPanelComponent,\n MjEntityFormHostComponent,\n MjFormPlacementDialogComponent,\n MjFormPlacementPreviewComponent,\n PlacementPreviewPanelComponent\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 MJButtonDirective,\n MjIconPickerComponent,\n RecordCloneSlideInComponent\n ],\n exports: [\n MjFormToolbarComponent,\n MjFormFieldComponent,\n MjCollapsiblePanelComponent,\n MjRecordFormContainerComponent,\n MjSectionManagerComponent,\n MjPanelManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormFieldPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n InteractiveFormPanelComponent,\n MjEntityFormHostComponent,\n MjFormPlacementDialogComponent,\n MjFormPlacementPreviewComponent,\n PlacementPreviewPanelComponent\n ]\n})\nexport class BaseFormsModule { }\n"]}
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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,8BAA8B;QAC9B,+BAA+B;QAC/B,8BAA8B;QAC9B,sBAAsB;QACtB,4BAA4B;QAC5B,qBAAqB;QACrB,qBAAqB;QACrB,+BAA+B,aAG/B,YAAY;QACZ,WAAW;QACX,qBAAqB;QACrB,gBAAgB;QAChB,iBAAiB;QACjB,mBAAmB;QACnB,oBAAoB;QACpB,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,aAAa;QACb,cAAc;QACd,gBAAgB;QAChB,kBAAkB;QAClB,mBAAmB;QACnB,iBAAiB;QACjB,qBAAqB;QACrB,2BAA2B,aAG3B,sBAAsB;QACtB,oBAAoB;QACpB,2BAA2B;QAC3B,8BAA8B;QAC9B,yBAAyB;QACzB,uBAAuB;QACvB,sBAAsB;QACtB,+BAA+B;QAC/B,yBAAyB;QACzB,0BAA0B;QAC1B,sBAAsB;QACtB,2BAA2B;QAC3B,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;QACxB,6BAA6B;QAC7B,yBAAyB;QACzB,8BAA8B;QAC9B,+BAA+B;QAC/B,8BAA8B;QAC9B,sBAAsB;QACtB,4BAA4B;QAC5B,qBAAqB;QACrB,qBAAqB;QACrB,+BAA+B;uBAtE/B,oBAAoB,kFAqBpB,qBAAqB,IAkBrB,kBAAkB;uBAtClB,2BAA2B,GAS3B,2BAA2B;uBAF3B,0BAA0B,GAD1B,yBAAyB;uBAMzB,wBAAwB,GAgBxB,gBAAgB,uBA3BhB,8BAA8B;uBAiB9B,sBAAsB,wBAEtB,qBAAqB","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 { MjPanelManagerComponent } from './lib/panel-manager/panel-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 { FormFieldPanelSlotComponent } from './lib/panel-slot/form-field-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, MJButtonDirective, MjIconPickerComponent } from '@memberjunction/ng-ui-components';\nimport { InteractiveFormComponent } from './lib/interactive-form/interactive-form.component';\nimport { InteractiveFormPanelComponent } from './lib/interactive-form/interactive-form-panel.component';\nimport { MjEntityFormHostComponent } from './lib/host/entity-form-host.component';\nimport { MjFormPlacementDialogComponent } from './lib/apply/form-placement-dialog.component';\nimport { MjFormPlacementPreviewComponent } from './lib/apply/form-placement-preview.component';\nimport { PlacementPreviewPanelComponent } from './lib/panel-slot/placement-preview-panel.component';\nimport { RecordCloneSlideInComponent } from '@memberjunction/ng-record-clone';\nimport { MjRecordLinksComponent } from './lib/links/record-links.component';\nimport { MjRecordLinksDrawerComponent } from './lib/links/record-links-drawer.component';\nimport { MjRecordLinkDirective } from './lib/links/record-link.directive';\nimport { MjRecordLinkComponent } from './lib/links/record-link.component';\nimport { MjRecordPreviewPopoverComponent } from './lib/preview-popover/record-preview-popover.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 MjPanelManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormFieldPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n InteractiveFormPanelComponent,\n MjEntityFormHostComponent,\n MjFormPlacementDialogComponent,\n MjFormPlacementPreviewComponent,\n PlacementPreviewPanelComponent,\n MjRecordLinksComponent,\n MjRecordLinksDrawerComponent,\n MjRecordLinkDirective,\n MjRecordLinkComponent,\n MjRecordPreviewPopoverComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n MJEmptyStateComponent,\n MJAlertComponent,\n MJButtonDirective,\n RecordChangesModule,\n ListManagementModule,\n EntityViewerModule,\n RecordTagsModule,\n FileStorageModule,\n MJReactModule,\n MarkdownModule,\n CodeEditorModule,\n MJSafeRichHtmlPipe,\n SharedGenericModule,\n MJButtonDirective,\n MjIconPickerComponent,\n RecordCloneSlideInComponent\n ],\n exports: [\n MjFormToolbarComponent,\n MjFormFieldComponent,\n MjCollapsiblePanelComponent,\n MjRecordFormContainerComponent,\n MjSectionManagerComponent,\n MjPanelManagerComponent,\n SectionLoaderComponent,\n ExplorerEntityDataGridComponent,\n MjIsaRelatedCardComponent,\n MjIsaRelatedPanelComponent,\n FormPanelSlotComponent,\n FormFieldPanelSlotComponent,\n FormContributionsComponent,\n RelatedEntityGridPanelComponent,\n InteractiveFormComponent,\n InteractiveFormPanelComponent,\n MjEntityFormHostComponent,\n MjFormPlacementDialogComponent,\n MjFormPlacementPreviewComponent,\n PlacementPreviewPanelComponent,\n MjRecordLinksComponent,\n MjRecordLinksDrawerComponent,\n MjRecordLinkDirective,\n MjRecordLinkComponent,\n MjRecordPreviewPopoverComponent\n ]\n})\nexport class BaseFormsModule { }\n"]}
@@ -37,6 +37,8 @@ export * from './lib/form-record-refresh.coordinator';
37
37
  export * from './lib/form-field-edit.coordinator';
38
38
  export * from './lib/duplicate-entry-check/duplicate-entry-check';
39
39
  export * from './lib/toolbar/form-toolbar.component';
40
+ export * from './lib/toolbar/base-form-toolbar-action';
41
+ export * from './lib/toolbar/actions/record-links-toolbar-action';
40
42
  export * from './lib/field/form-field.component';
41
43
  export * from './lib/field/fk-search-utils';
42
44
  export * from './lib/field/fk-lookup-strategy';
@@ -50,6 +52,13 @@ export * from './lib/explorer-entity-data-grid.component';
50
52
  export * from './lib/isa-related-panel/isa-hierarchy-utils';
51
53
  export * from './lib/isa-related-panel/isa-related-card.component';
52
54
  export * from './lib/isa-related-panel/isa-related-panel.component';
55
+ export * from './lib/links/record-links.component';
56
+ export * from './lib/links/record-links-drawer.component';
57
+ export * from './lib/links/record-link-utils';
58
+ export * from './lib/links/record-link.directive';
59
+ export * from './lib/links/record-link.component';
60
+ export * from './lib/preview-popover/record-preview-popover.component';
61
+ export * from './lib/preview-popover/record-preview-popover.service';
53
62
  export * from './lib/panel-slot/base-form-panel';
54
63
  export * from './lib/panel-slot/form-panel-slot.component';
55
64
  export * from './lib/panel-slot/form-field-panel-slot.component';
@@ -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,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAG/C,cAAc,kDAAkD,CAAC;AACjE,cAAc,qEAAqE,CAAC;AACpF,cAAc,kDAAkD,CAAC;AAGjE,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAG7C,cAAc,uCAAuC,CAAC;AAGtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AAGtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAG7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAGlD,cAAc,mDAAmD,CAAC;AAGlE,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,c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AAC;AACvD,cAAc,wCAAwC,CAAC;AAKvD,OAAO,EACH,mBAAmB,EACnB,8BAA8B,EAC9B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AAIpD,YAAY,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACtE,YAAY,EACR,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,0CAA0C,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC"}
@@ -47,6 +47,8 @@ export * from './lib/form-field-edit.coordinator';
47
47
  export * from './lib/duplicate-entry-check/duplicate-entry-check';
48
48
  // Components
49
49
  export * from './lib/toolbar/form-toolbar.component';
50
+ export * from './lib/toolbar/base-form-toolbar-action';
51
+ export * from './lib/toolbar/actions/record-links-toolbar-action';
50
52
  export * from './lib/field/form-field.component';
51
53
  export * from './lib/field/fk-search-utils';
52
54
  export * from './lib/field/fk-lookup-strategy';
@@ -60,6 +62,13 @@ export * from './lib/explorer-entity-data-grid.component';
60
62
  export * from './lib/isa-related-panel/isa-hierarchy-utils';
61
63
  export * from './lib/isa-related-panel/isa-related-card.component';
62
64
  export * from './lib/isa-related-panel/isa-related-panel.component';
65
+ export * from './lib/links/record-links.component';
66
+ export * from './lib/links/record-links-drawer.component';
67
+ export * from './lib/links/record-link-utils';
68
+ export * from './lib/links/record-link.directive';
69
+ export * from './lib/links/record-link.component';
70
+ export * from './lib/preview-popover/record-preview-popover.component';
71
+ export * from './lib/preview-popover/record-preview-popover.service';
63
72
  // Dynamic slot-injection extension point for form panels.
64
73
  // See packages/Angular/Generic/base-forms/PANELS.md for the architecture +
65
74
  // authoring guide.
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,SAAS;AACT,cAAc,UAAU,CAAC;AAEzB,uBAAuB;AACvB,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAE/C,+FAA+F;AAC/F,cAAc,kDAAkD,CAAC;AACjE,cAAc,qEAAqE,CAAC;AACpF,cAAc,kDAAkD,CAAC;AAEjE,2FAA2F;AAC3F,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAE7C,8EAA8E;AAC9E,cAAc,uCAAuC,CAAC;AAEtD,0EAA0E;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AAEtD,eAAe;AACf,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAE7C,mBAAmB;AACnB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAElD,uFAAuF;AACvF,cAAc,mDAAmD,CAAC;AAElE,aAAa;AACb,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD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CAA6C,CAAC","sourcesContent":["/**\n * @memberjunction/ng-base-forms\n *\n * Modern form components for rendering and editing MemberJunction entity records.\n * Provides configurable toolbar, inline-editing fields, collapsible panels with\n * IS-A inheritance support, and event-driven navigation.\n *\n * Zero Explorer dependencies - usable in any Angular application.\n * Uses only native HTML elements with custom styling (no PrimeNG dependency).\n */\n\n// Module\nexport * from './module';\n\n// Types and interfaces\nexport * from './lib/types/form-types';\nexport * from './lib/types/navigation-events';\nexport * from './lib/types/toolbar-config';\nexport * from './lib/types/form-events';\nexport * from './lib/types/form-toolbar-item';\nexport * from './lib/types/entity-form-config';\n\n// Section indicators (unsaved-changes dot + invalid-field count on panels and the chrome rail)\nexport * from './lib/section-indicators/form-section-indicators';\nexport * from './lib/section-indicators/form-section-indicator-coordinator.service';\nexport * from './lib/section-indicators/form-section-field-host';\n\n// Form resolution (form-variant / interactive-override picker — Generic, no Explorer deps)\nexport * from './lib/resolver/form-resolver.service';\nexport * from './lib/resolver/form-variants';\n\n// Presentation-agnostic form host (resolve → load → create → wire → teardown)\nexport * from './lib/host/entity-form-host.component';\n\n// Overlay shells (dialog / slide-in) + imperative presenter (Layer 3 + 4)\nexport * from './lib/overlays/base-form-overlay';\nexport * from './lib/overlays/form-dialog.component';\nexport * from './lib/overlays/form-slide-in.component';\nexport * from './lib/overlays/form-window.component';\nexport * from './lib/overlays/form-presenter.types';\nexport * from './lib/overlays/form-presenter.service';\n\n// Base classes\nexport * from './lib/base-record-component';\nexport * from './lib/base-form-component';\nexport * from './lib/base-form-section-component';\nexport * from './lib/base-form-section-info';\n\n// State management\nexport * from './lib/form-state.interface';\nexport * from './lib/form-state.service';\nexport * from './lib/form-record-refresh.coordinator';\nexport * from './lib/form-field-edit.coordinator';\n\n// Entry-time duplicate check (flags possible duplicates while a new record is entered)\nexport * from './lib/duplicate-entry-check/duplicate-entry-check';\n\n// Components\nexport * from './lib/toolbar/form-toolbar.component';\nexport * from './lib/field/form-field.component';\nexport * from './lib/field/fk-search-utils';\nexport * from './lib/field/fk-lookup-strategy';\nexport * from './lib/field/default-fk-lookup-strategy';\nexport * from './lib/field/linked-field-options';\nexport * from './lib/panel/collapsible-panel.component';\nexport * from './lib/container/record-form-container.component';\nexport * from './lib/section-manager/section-manager.component';\nexport * from './lib/section-loader-component';\nexport * from './lib/explorer-entity-data-grid.component';\nexport * from './lib/isa-related-panel/isa-hierarchy-utils';\nexport * from './lib/isa-related-panel/isa-related-card.component';\nexport * from './lib/isa-related-panel/isa-related-panel.component';\n\n// Dynamic slot-injection extension point for form panels.\n// See packages/Angular/Generic/base-forms/PANELS.md for the architecture +\n// authoring guide.\nexport * from './lib/panel-slot/base-form-panel';\nexport * from './lib/panel-slot/form-panel-slot.component';\nexport * from './lib/panel-slot/form-field-panel-slot.component';\nexport * from './lib/panel-slot/mount-form-contribution';\nexport * from './lib/panel-slot/form-slot-coordinator.service';\nexport * from './lib/panel-slot/form-contribution';\nexport * from './lib/panel-slot/collect-form-panel-registrations';\nexport * from './lib/panel-slot/collect-form-contribution-registrations';\nexport * from './lib/panel-slot/panel-hides';\nexport * from './lib/panel-slot/placement-preview';\nexport * from './lib/panel-slot/placement-preview-panel.component';\nexport * from './lib/panel-slot/form-contributions.component';\nexport * from './lib/panel-slot/related-entity-grid-panel.component';\nexport * from './lib/interactive-form/interactive-form.component';\n\n// Form chrome (accordion / left-nav / More grouping)\nexport * from './lib/chrome/form-chrome';\nexport * from './lib/chrome/base-form-policy';\nexport * from './lib/chrome/resolve-form-chrome';\nexport * from './lib/section-counts/form-section-counts';\nexport * from './lib/chrome/load-form-chrome-rules';\nexport * from './lib/chrome/form-chrome-coordinator.service';\nexport * from './lib/chrome/form-chrome-rail-pref';\nexport * from './lib/related-grid-height';\nexport * from './lib/interactive-form/interactive-form-panel.component';\nexport * from './lib/interactive-form/form-panel-host-props.builder';\nexport * from './lib/chrome/form-composition-snapshot';\nexport * from './lib/chrome/form-composition-registry';\n\n// Placing a panel: the dialog, its form preview and the form probe, the types a host passes in\n// and gets back, and the helpers that seed the dialog and apply its answer. The other placement\n// rules stay internal.\nexport {\n ApplyDecisionToSpec,\n PlacementStateFromContribution,\n type FormPlacementContext,\n type FormPlacementDecision,\n type FormPlacementDroppedClaim,\n type FormPlacementExisting,\n type FormPlacementField,\n type FormPlacementRailItem,\n type FormPlacementRelated,\n type FormPlacementReplaceMode,\n type FormPlacementSection,\n type FormPlacementState,\n} from './lib/apply/form-placement';\nexport * from './lib/apply/form-placement-dialog.component';\nexport * from './lib/apply/form-placement-preview.component';\nexport * from './lib/apply/form-slot-probe.service';\n\n// Managing a form: the drawer and the service it writes through, with the types of their\n// inputs and results. The inventory and audience rules behind them stay internal.\nexport type { FormAudience } from './lib/panel-manager/form-audience';\nexport type {\n FormOverrideRow,\n FormPanelCompiledRow,\n FormPanelContributionRow,\n FormPanelRendering,\n FormPanelStockGridRow,\n} from './lib/panel-manager/form-panel-inventory';\nexport * from './lib/panel-manager/form-panel-admin.service';\nexport * from './lib/panel-manager/panel-manager.component';\n"]}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,SAAS;AACT,cAAc,UAAU,CAAC;AAEzB,uBAAuB;AACvB,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAE/C,+FAA+F;AAC/F,cAAc,kDAAkD,CAAC;AACjE,cAAc,qEAAqE,CAAC;AACpF,cAAc,kDAAkD,CAAC;AAEjE,2FAA2F;AAC3F,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAE7C,8EAA8E;AAC9E,cAAc,uCAAuC,CAAC;AAEtD,0EAA0E;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;A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Ac,0DAA0D,CAAC;AACzE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,sDAAsD,CAAC;AACrE,cAAc,mDAAmD,CAAC;AAElE,qDAAqD;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yDAAyD,CAAC;AACxE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AAEvD,+FAA+F;AAC/F,gGAAgG;AAChG,uBAAuB;AACvB,OAAO,EACH,mBAAmB,EACnB,8BAA8B,GAWjC,MAAM,4BAA4B,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AAYpD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC","sourcesContent":["/**\n * @memberjunction/ng-base-forms\n *\n * Modern form components for rendering and editing MemberJunction entity records.\n * Provides configurable toolbar, inline-editing fields, collapsible panels with\n * IS-A inheritance support, and event-driven navigation.\n *\n * Zero Explorer dependencies - usable in any Angular application.\n * Uses only native HTML elements with custom styling (no PrimeNG dependency).\n */\n\n// Module\nexport * from './module';\n\n// Types and interfaces\nexport * from './lib/types/form-types';\nexport * from './lib/types/navigation-events';\nexport * from './lib/types/toolbar-config';\nexport * from './lib/types/form-events';\nexport * from './lib/types/form-toolbar-item';\nexport * from './lib/types/entity-form-config';\n\n// Section indicators (unsaved-changes dot + invalid-field count on panels and the chrome rail)\nexport * from './lib/section-indicators/form-section-indicators';\nexport * from './lib/section-indicators/form-section-indicator-coordinator.service';\nexport * from './lib/section-indicators/form-section-field-host';\n\n// Form resolution (form-variant / interactive-override picker — Generic, no Explorer deps)\nexport * from './lib/resolver/form-resolver.service';\nexport * from './lib/resolver/form-variants';\n\n// Presentation-agnostic form host (resolve → load → create → wire → teardown)\nexport * from './lib/host/entity-form-host.component';\n\n// Overlay shells (dialog / slide-in) + imperative presenter (Layer 3 + 4)\nexport * from './lib/overlays/base-form-overlay';\nexport * from './lib/overlays/form-dialog.component';\nexport * from './lib/overlays/form-slide-in.component';\nexport * from './lib/overlays/form-window.component';\nexport * from './lib/overlays/form-presenter.types';\nexport * from './lib/overlays/form-presenter.service';\n\n// Base classes\nexport * from './lib/base-record-component';\nexport * from './lib/base-form-component';\nexport * from './lib/base-form-section-component';\nexport * from './lib/base-form-section-info';\n\n// State management\nexport * from './lib/form-state.interface';\nexport * from './lib/form-state.service';\nexport * from './lib/form-record-refresh.coordinator';\nexport * from './lib/form-field-edit.coordinator';\n\n// Entry-time duplicate check (flags possible duplicates while a new record is entered)\nexport * from './lib/duplicate-entry-check/duplicate-entry-check';\n\n// Components\nexport * from './lib/toolbar/form-toolbar.component';\nexport * from './lib/toolbar/base-form-toolbar-action';\nexport * from './lib/toolbar/actions/record-links-toolbar-action';\nexport * from './lib/field/form-field.component';\nexport * from './lib/field/fk-search-utils';\nexport * from './lib/field/fk-lookup-strategy';\nexport * from './lib/field/default-fk-lookup-strategy';\nexport * from './lib/field/linked-field-options';\nexport * from './lib/panel/collapsible-panel.component';\nexport * from './lib/container/record-form-container.component';\nexport * from './lib/section-manager/section-manager.component';\nexport * from './lib/section-loader-component';\nexport * from './lib/explorer-entity-data-grid.component';\nexport * from './lib/isa-related-panel/isa-hierarchy-utils';\nexport * from './lib/isa-related-panel/isa-related-card.component';\nexport * from './lib/isa-related-panel/isa-related-panel.component';\nexport * from './lib/links/record-links.component';\nexport * from './lib/links/record-links-drawer.component';\nexport * from './lib/links/record-link-utils';\nexport * from './lib/links/record-link.directive';\nexport * from './lib/links/record-link.component';\nexport * from './lib/preview-popover/record-preview-popover.component';\nexport * from './lib/preview-popover/record-preview-popover.service';\n\n// Dynamic slot-injection extension point for form panels.\n// See packages/Angular/Generic/base-forms/PANELS.md for the architecture +\n// authoring guide.\nexport * from './lib/panel-slot/base-form-panel';\nexport * from './lib/panel-slot/form-panel-slot.component';\nexport * from './lib/panel-slot/form-field-panel-slot.component';\nexport * from './lib/panel-slot/mount-form-contribution';\nexport * from './lib/panel-slot/form-slot-coordinator.service';\nexport * from './lib/panel-slot/form-contribution';\nexport * from './lib/panel-slot/collect-form-panel-registrations';\nexport * from './lib/panel-slot/collect-form-contribution-registrations';\nexport * from './lib/panel-slot/panel-hides';\nexport * from './lib/panel-slot/placement-preview';\nexport * from './lib/panel-slot/placement-preview-panel.component';\nexport * from './lib/panel-slot/form-contributions.component';\nexport * from './lib/panel-slot/related-entity-grid-panel.component';\nexport * from './lib/interactive-form/interactive-form.component';\n\n// Form chrome (accordion / left-nav / More grouping)\nexport * from './lib/chrome/form-chrome';\nexport * from './lib/chrome/base-form-policy';\nexport * from './lib/chrome/resolve-form-chrome';\nexport * from './lib/section-counts/form-section-counts';\nexport * from './lib/chrome/load-form-chrome-rules';\nexport * from './lib/chrome/form-chrome-coordinator.service';\nexport * from './lib/chrome/form-chrome-rail-pref';\nexport * from './lib/related-grid-height';\nexport * from './lib/interactive-form/interactive-form-panel.component';\nexport * from './lib/interactive-form/form-panel-host-props.builder';\nexport * from './lib/chrome/form-composition-snapshot';\nexport * from './lib/chrome/form-composition-registry';\n\n// Placing a panel: the dialog, its form preview and the form probe, the types a host passes in\n// and gets back, and the helpers that seed the dialog and apply its answer. The other placement\n// rules stay internal.\nexport {\n ApplyDecisionToSpec,\n PlacementStateFromContribution,\n type FormPlacementContext,\n type FormPlacementDecision,\n type FormPlacementDroppedClaim,\n type FormPlacementExisting,\n type FormPlacementField,\n type FormPlacementRailItem,\n type FormPlacementRelated,\n type FormPlacementReplaceMode,\n type FormPlacementSection,\n type FormPlacementState,\n} from './lib/apply/form-placement';\nexport * from './lib/apply/form-placement-dialog.component';\nexport * from './lib/apply/form-placement-preview.component';\nexport * from './lib/apply/form-slot-probe.service';\n\n// Managing a form: the drawer and the service it writes through, with the types of their\n// inputs and results. The inventory and audience rules behind them stay internal.\nexport type { FormAudience } from './lib/panel-manager/form-audience';\nexport type {\n FormOverrideRow,\n FormPanelCompiledRow,\n FormPanelContributionRow,\n FormPanelRendering,\n FormPanelStockGridRow,\n} from './lib/panel-manager/form-panel-inventory';\nexport * from './lib/panel-manager/form-panel-admin.service';\nexport * from './lib/panel-manager/panel-manager.component';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-base-forms",
3
- "version": "6.2.0-edge.5",
3
+ "version": "6.2.0-edge.6",
4
4
  "description": "MemberJunction: Generic Angular form components for rendering and editing entity records. Provides configurable toolbar, modern form fields (native HTML, no PrimeNG dependency), collapsible panels with IS-A inheritance support, and event-driven navigation. Zero Explorer dependencies - usable in any Angular application.",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -20,7 +20,7 @@
20
20
  "devDependencies": {
21
21
  "@angular/compiler": "21.2.22",
22
22
  "@angular/compiler-cli": "21.2.22",
23
- "@memberjunction/ng-test-utils": "6.2.0-edge.5",
23
+ "@memberjunction/ng-test-utils": "6.2.0-edge.6",
24
24
  "vitest": "^4.0.18"
25
25
  },
26
26
  "peerDependencies": {
@@ -30,24 +30,24 @@
30
30
  "@angular/forms": "^21.2.22"
31
31
  },
32
32
  "dependencies": {
33
- "@memberjunction/core": "6.2.0-edge.5",
34
- "@memberjunction/core-entities": "6.2.0-edge.5",
35
- "@memberjunction/global": "6.2.0-edge.5",
36
- "@memberjunction/graphql-dataprovider": "6.2.0-edge.5",
37
- "@memberjunction/interactive-component-types": "6.2.0-edge.5",
38
- "@memberjunction/ng-base-types": "6.2.0-edge.5",
39
- "@memberjunction/ng-code-editor": "6.2.0-edge.5",
40
- "@memberjunction/ng-entity-viewer": "6.2.0-edge.5",
41
- "@memberjunction/ng-file-storage": "6.2.0-edge.5",
42
- "@memberjunction/ng-list-management": "6.2.0-edge.5",
43
- "@memberjunction/ng-markdown": "6.2.0-edge.5",
44
- "@memberjunction/ng-notifications": "6.2.0-edge.5",
45
- "@memberjunction/ng-react": "6.2.0-edge.5",
46
- "@memberjunction/ng-record-changes": "6.2.0-edge.5",
47
- "@memberjunction/ng-record-clone": "6.2.0-edge.5",
48
- "@memberjunction/ng-record-tags": "6.2.0-edge.5",
49
- "@memberjunction/ng-shared-generic": "6.2.0-edge.5",
50
- "@memberjunction/ng-ui-components": "6.2.0-edge.5",
33
+ "@memberjunction/core": "6.2.0-edge.6",
34
+ "@memberjunction/core-entities": "6.2.0-edge.6",
35
+ "@memberjunction/global": "6.2.0-edge.6",
36
+ "@memberjunction/graphql-dataprovider": "6.2.0-edge.6",
37
+ "@memberjunction/interactive-component-types": "6.2.0-edge.6",
38
+ "@memberjunction/ng-base-types": "6.2.0-edge.6",
39
+ "@memberjunction/ng-code-editor": "6.2.0-edge.6",
40
+ "@memberjunction/ng-entity-viewer": "6.2.0-edge.6",
41
+ "@memberjunction/ng-file-storage": "6.2.0-edge.6",
42
+ "@memberjunction/ng-list-management": "6.2.0-edge.6",
43
+ "@memberjunction/ng-markdown": "6.2.0-edge.6",
44
+ "@memberjunction/ng-notifications": "6.2.0-edge.6",
45
+ "@memberjunction/ng-react": "6.2.0-edge.6",
46
+ "@memberjunction/ng-record-changes": "6.2.0-edge.6",
47
+ "@memberjunction/ng-record-clone": "6.2.0-edge.6",
48
+ "@memberjunction/ng-record-tags": "6.2.0-edge.6",
49
+ "@memberjunction/ng-shared-generic": "6.2.0-edge.6",
50
+ "@memberjunction/ng-ui-components": "6.2.0-edge.6",
51
51
  "rxjs": "^7.8.2",
52
52
  "tslib": "^2.8.1"
53
53
  },