@memberjunction/ng-base-forms 6.2.0-edge.7 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +10 -0
  2. package/dist/lib/base-form-component.d.ts +15 -2
  3. package/dist/lib/base-form-component.d.ts.map +1 -1
  4. package/dist/lib/base-form-component.js +18 -8
  5. package/dist/lib/base-form-component.js.map +1 -1
  6. package/dist/lib/chrome/form-chrome-coordinator.service.d.ts.map +1 -1
  7. package/dist/lib/chrome/form-chrome-coordinator.service.js +4 -1
  8. package/dist/lib/chrome/form-chrome-coordinator.service.js.map +1 -1
  9. package/dist/lib/chrome/phone-viewport.d.ts +15 -0
  10. package/dist/lib/chrome/phone-viewport.d.ts.map +1 -0
  11. package/dist/lib/chrome/phone-viewport.js +28 -0
  12. package/dist/lib/chrome/phone-viewport.js.map +1 -0
  13. package/dist/lib/comments/form-record-comments-coordinator.service.d.ts +159 -0
  14. package/dist/lib/comments/form-record-comments-coordinator.service.d.ts.map +1 -0
  15. package/dist/lib/comments/form-record-comments-coordinator.service.js +421 -0
  16. package/dist/lib/comments/form-record-comments-coordinator.service.js.map +1 -0
  17. package/dist/lib/comments/record-comments.component.d.ts +205 -0
  18. package/dist/lib/comments/record-comments.component.d.ts.map +1 -0
  19. package/dist/lib/comments/record-comments.component.js +2019 -0
  20. package/dist/lib/comments/record-comments.component.js.map +1 -0
  21. package/dist/lib/container/record-form-container.component.d.ts +47 -1
  22. package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
  23. package/dist/lib/container/record-form-container.component.js +876 -316
  24. package/dist/lib/container/record-form-container.component.js.map +1 -1
  25. package/dist/lib/field/default-fk-lookup-strategy.d.ts.map +1 -1
  26. package/dist/lib/field/default-fk-lookup-strategy.js +14 -6
  27. package/dist/lib/field/default-fk-lookup-strategy.js.map +1 -1
  28. package/dist/lib/field/fk-lookup-strategy.d.ts +11 -0
  29. package/dist/lib/field/fk-lookup-strategy.d.ts.map +1 -1
  30. package/dist/lib/field/fk-lookup-strategy.js +10 -0
  31. package/dist/lib/field/fk-lookup-strategy.js.map +1 -1
  32. package/dist/lib/field/fk-search-utils.d.ts +17 -0
  33. package/dist/lib/field/fk-search-utils.d.ts.map +1 -1
  34. package/dist/lib/field/fk-search-utils.js +29 -0
  35. package/dist/lib/field/fk-search-utils.js.map +1 -1
  36. package/dist/lib/field/form-field.component.d.ts +35 -1
  37. package/dist/lib/field/form-field.component.d.ts.map +1 -1
  38. package/dist/lib/field/form-field.component.js +631 -446
  39. package/dist/lib/field/form-field.component.js.map +1 -1
  40. package/dist/lib/host/entity-form-host.component.d.ts +6 -0
  41. package/dist/lib/host/entity-form-host.component.d.ts.map +1 -1
  42. package/dist/lib/host/entity-form-host.component.js +17 -3
  43. package/dist/lib/host/entity-form-host.component.js.map +1 -1
  44. package/dist/lib/panel/collapsible-panel.component.d.ts +5 -0
  45. package/dist/lib/panel/collapsible-panel.component.d.ts.map +1 -1
  46. package/dist/lib/panel/collapsible-panel.component.js +109 -30
  47. package/dist/lib/panel/collapsible-panel.component.js.map +1 -1
  48. package/dist/lib/related-grid-height.d.ts +2 -2
  49. package/dist/lib/related-grid-height.d.ts.map +1 -1
  50. package/dist/lib/related-grid-height.js +2 -2
  51. package/dist/lib/related-grid-height.js.map +1 -1
  52. package/dist/lib/section-indicators/form-section-indicators.d.ts +4 -0
  53. package/dist/lib/section-indicators/form-section-indicators.d.ts.map +1 -1
  54. package/dist/lib/section-indicators/form-section-indicators.js +15 -1
  55. package/dist/lib/section-indicators/form-section-indicators.js.map +1 -1
  56. package/dist/lib/toolbar/actions/record-comments-toolbar-action.d.ts +17 -0
  57. package/dist/lib/toolbar/actions/record-comments-toolbar-action.d.ts.map +1 -0
  58. package/dist/lib/toolbar/actions/record-comments-toolbar-action.js +52 -0
  59. package/dist/lib/toolbar/actions/record-comments-toolbar-action.js.map +1 -0
  60. package/dist/lib/toolbar/base-form-toolbar-action.d.ts +9 -0
  61. package/dist/lib/toolbar/base-form-toolbar-action.d.ts.map +1 -1
  62. package/dist/lib/toolbar/base-form-toolbar-action.js.map +1 -1
  63. package/dist/lib/toolbar/form-toolbar.component.d.ts +107 -2
  64. package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
  65. package/dist/lib/toolbar/form-toolbar.component.js +927 -415
  66. package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
  67. package/dist/lib/types/form-toolbar-item.d.ts +1 -1
  68. package/dist/lib/types/form-toolbar-item.d.ts.map +1 -1
  69. package/dist/lib/types/form-toolbar-item.js.map +1 -1
  70. package/dist/lib/types/form-types.d.ts +8 -0
  71. package/dist/lib/types/form-types.d.ts.map +1 -1
  72. package/dist/lib/types/form-types.js.map +1 -1
  73. package/dist/lib/types/toolbar-config.d.ts +2 -0
  74. package/dist/lib/types/toolbar-config.d.ts.map +1 -1
  75. package/dist/lib/types/toolbar-config.js.map +1 -1
  76. package/dist/module.d.ts +15 -14
  77. package/dist/module.d.ts.map +1 -1
  78. package/dist/module.js +15 -5
  79. package/dist/module.js.map +1 -1
  80. package/dist/public-api.d.ts +3 -0
  81. package/dist/public-api.d.ts.map +1 -1
  82. package/dist/public-api.js +3 -0
  83. package/dist/public-api.js.map +1 -1
  84. 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' | 'links' | 'attachments' | 'refresh' | 'clone' | 'ask-ai';
5
+ export type StandardToolbarItemKey = 'edit' | 'delete' | 'favorite' | 'history' | 'list' | 'tags' | 'comments' | '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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OAAO,CAAC,CAAC;IAE3E;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC1E;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,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,mCAAmC;IACnC,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 | '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"]}
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 | 'comments'\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"]}
@@ -1,5 +1,13 @@
1
1
  import type { BaseEntity } from '@memberjunction/core';
2
2
  import { ValidationErrorInfo } from '@memberjunction/global';
3
+ /**
4
+ * Host-supplied callback for switching between the entity's default (custom) form
5
+ * and its CodeGen standard form when a standard alternative exists.
6
+ */
7
+ export interface FormModeSwitch {
8
+ Mode: 'default' | 'standard';
9
+ Switch: (mode: 'default' | 'standard') => boolean;
10
+ }
3
11
  /**
4
12
  * Width mode for the form panels container.
5
13
  * - 'centered': Max-width constrained and centered (default, good for readability)
@@ -1 +1 @@
1
- {"version":3,"file":"form-types.d.ts","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,YAAY,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,gBAAgB,GAAG,WAAW,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,OAAO;IAC1C,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,wGAAwG;IACxG,UAAU,EAAE,OAAO,CAAC;IACpB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,CAAC;IACb,gCAAgC;IAChC,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;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AO,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;AAED,wDAAwD;AACxD,wBAAgB,wBAAwB,IAAI,WAAW,CAEtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"AAwNA;;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;AAED,wDAAwD;AACxD,MAAM,UAAU,wBAAwB;IACtC,OAAO,wBAAwB,EAAE,CAAC;AACpC,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 /**\n * Increments every time the form publishes a fresh set of `validationErrors` (each failed save).\n * A field compares it with the revision current when the user last edited it: an edit made AFTER\n * the failure means the user is addressing the error, so the field goes back to its own live\n * validation; an edit made BEFORE it must not hide an error the save just reported — which is what\n * happened to a server-side `ValidateAsync()` refusal on the very field the user had just typed in.\n */\n validationRevision?: number;\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 * Fields a form contribution stands in for, so no section draws them. The panel that\n * made the claim renders at the top of the section that held the field.\n *\n * Field-level, where `hiddenSectionKeys` is section-level: one removes an input from\n * inside a card, the other removes the card.\n */\n claimedFieldNames?: string[];\n /**\n * Field names to omit from the form. A draft evaluation uses this to hide\n * cohort figures until the viewer submits.\n */\n hiddenFieldNames?: 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\n/** @deprecated Use {@link CreateDefaultFormContext}. */\nexport function createDefaultFormContext(): FormContext {\n return CreateDefaultFormContext();\n}\n"]}
1
+ {"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../../src/lib/types/form-types.ts"],"names":[],"mappings":"AAiOA;;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;AAED,wDAAwD;AACxD,MAAM,UAAU,wBAAwB;IACtC,OAAO,wBAAwB,EAAE,CAAC;AACpC,CAAC","sourcesContent":["import type { BaseEntity } from '@memberjunction/core';\nimport { ValidationErrorInfo } from '@memberjunction/global';\n\n/**\n * Host-supplied callback for switching between the entity's default (custom) form\n * and its CodeGen standard form when a standard alternative exists.\n */\nexport interface FormModeSwitch {\n Mode: 'default' | 'standard';\n Switch: (mode: 'default' | 'standard') => boolean;\n}\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 /**\n * Increments every time the form publishes a fresh set of `validationErrors` (each failed save).\n * A field compares it with the revision current when the user last edited it: an edit made AFTER\n * the failure means the user is addressing the error, so the field goes back to its own live\n * validation; an edit made BEFORE it must not hide an error the save just reported — which is what\n * happened to a server-side `ValidateAsync()` refusal on the very field the user had just typed in.\n */\n validationRevision?: number;\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 * Fields a form contribution stands in for, so no section draws them. The panel that\n * made the claim renders at the top of the section that held the field.\n *\n * Field-level, where `hiddenSectionKeys` is section-level: one removes an input from\n * inside a card, the other removes the card.\n */\n claimedFieldNames?: string[];\n /**\n * Field names to omit from the form. A draft evaluation uses this to hide\n * cohort figures until the viewer submits.\n */\n hiddenFieldNames?: 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\n/** @deprecated Use {@link CreateDefaultFormContext}. */\nexport function createDefaultFormContext(): FormContext {\n return CreateDefaultFormContext();\n}\n"]}
@@ -34,6 +34,8 @@ export interface FormToolbarConfig {
34
34
  ShowTagsButton: boolean;
35
35
  /** Show the Links button for viewing linked records across the workspace. Default: true */
36
36
  ShowLinksButton: boolean;
37
+ /** Show the Comments button for viewing/managing anchored record conversations. Default: true */
38
+ ShowCommentsButton?: boolean;
37
39
  /** Show the Ask AI button for opening the AI assistant with active record context. Default: true */
38
40
  ShowAskAIButton?: boolean;
39
41
  /** Show the Attachments button for viewing/managing linked file attachments. Default: true */
@@ -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,2FAA2F;IAC3F,eAAe,EAAE,OAAO,CAAC;IAEzB,oGAAoG;IACpG,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,8FAA8F;IAC9F,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;;;;;;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;;;;;OAKG;IACH,4BAA4B,EAAE,OAAO,CAAC;IAEtC;;;OAGG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB,4DAA4D;IAC5D,mBAAmB,EAAE,OA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,IAAI;IACxB,aAAa,EAAE,IAAI;IACnB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF;;;;;;;;GAQG;AACH,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,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"]}
1
+ {"version":3,"file":"toolbar-config.js","sourceRoot":"","sources":["../../../src/lib/types/toolbar-config.ts"],"names":[],"mappings":"AAsJA;;;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;IACrB,qBAAqB,EAAE,IAAI;IAC3B,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;IACzB,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,IAAI;IACvB,4BAA4B,EAAE,IAAI;IAClC,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,IAAI;IACnB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAsB;IACxD,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;IACrB,qBAAqB,EAAE,IAAI;IAC3B,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;IACzB,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,IAAI;IACvB,4BAA4B,EAAE,IAAI;IAClC,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,IAAI;IACnB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEF;;;;;;;;GAQG;AACH,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,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 Comments button for viewing/managing anchored record conversations. Default: true */\n ShowCommentsButton?: 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
@@ -24,19 +24,20 @@ import * as i22 from "./lib/links/record-links-drawer.component";
24
24
  import * as i23 from "./lib/links/record-link.directive";
25
25
  import * as i24 from "./lib/links/record-link.component";
26
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";
27
+ import * as i26 from "./lib/comments/record-comments.component";
28
+ import * as i27 from "@angular/common";
29
+ import * as i28 from "@angular/forms";
30
+ import * as i29 from "@memberjunction/ng-ui-components";
31
+ import * as i30 from "@memberjunction/ng-record-changes";
32
+ import * as i31 from "@memberjunction/ng-list-management";
33
+ import * as i32 from "@memberjunction/ng-entity-viewer";
34
+ import * as i33 from "@memberjunction/ng-record-tags";
35
+ import * as i34 from "@memberjunction/ng-file-storage";
36
+ import * as i35 from "@memberjunction/ng-react";
37
+ import * as i36 from "@memberjunction/ng-markdown";
38
+ import * as i37 from "@memberjunction/ng-code-editor";
39
+ import * as i38 from "@memberjunction/ng-shared-generic";
40
+ import * as i39 from "@memberjunction/ng-record-clone";
40
41
  /**
41
42
  * BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.
42
43
  *
@@ -58,7 +59,7 @@ import * as i38 from "@memberjunction/ng-record-clone";
58
59
  */
59
60
  export declare class BaseFormsModule {
60
61
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormsModule, never>;
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]>;
62
+ 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.MjRecordCommentsComponent], [typeof i27.CommonModule, typeof i28.FormsModule, typeof i29.MJEmptyStateComponent, typeof i29.MJAlertComponent, typeof i29.MJButtonDirective, typeof i30.RecordChangesModule, typeof i31.ListManagementModule, typeof i32.EntityViewerModule, typeof i33.RecordTagsModule, typeof i34.FileStorageModule, typeof i35.MJReactModule, typeof i36.MarkdownModule, typeof i37.CodeEditorModule, typeof i38.MJSafeRichHtmlPipe, typeof i38.SharedGenericModule, typeof i29.MJButtonDirective, typeof i29.MjIconPickerComponent, typeof i29.MJBottomSheetComponent, typeof i39.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, typeof i26.MjRecordCommentsComponent]>;
62
63
  static ɵinj: i0.ɵɵInjectorDeclaration<BaseFormsModule>;
63
64
  }
64
65
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBA+Ea,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAI"}
package/dist/module.js CHANGED
@@ -24,7 +24,7 @@ import { MJReactModule } from '@memberjunction/ng-react';
24
24
  import { MarkdownModule } from '@memberjunction/ng-markdown';
25
25
  import { CodeEditorModule } from '@memberjunction/ng-code-editor';
26
26
  import { MJSafeRichHtmlPipe, SharedGenericModule } from '@memberjunction/ng-shared-generic';
27
- import { MJEmptyStateComponent, MJAlertComponent, MJButtonDirective, MjIconPickerComponent } from '@memberjunction/ng-ui-components';
27
+ import { MJEmptyStateComponent, MJAlertComponent, MJButtonDirective, MjIconPickerComponent, MJBottomSheetComponent } from '@memberjunction/ng-ui-components';
28
28
  import { InteractiveFormComponent } from './lib/interactive-form/interactive-form.component';
29
29
  import { InteractiveFormPanelComponent } from './lib/interactive-form/interactive-form-panel.component';
30
30
  import { MjEntityFormHostComponent } from './lib/host/entity-form-host.component';
@@ -37,11 +37,13 @@ import { MjRecordLinksDrawerComponent } from './lib/links/record-links-drawer.co
37
37
  import { MjRecordLinkDirective } from './lib/links/record-link.directive';
38
38
  import { MjRecordLinkComponent } from './lib/links/record-link.component';
39
39
  import { MjRecordPreviewPopoverComponent } from './lib/preview-popover/record-preview-popover.component';
40
+ import { MjRecordCommentsComponent } from './lib/comments/record-comments.component';
40
41
  import * as i0 from "@angular/core";
41
42
  import * as i1 from "@angular/common";
42
43
  import * as i2 from "@memberjunction/ng-markdown";
43
44
  import * as i3 from "@memberjunction/ng-code-editor";
44
45
  import * as i4 from "@memberjunction/ng-react";
46
+ import * as i5 from "@angular/forms";
45
47
  /**
46
48
  * BaseFormsModule - Form components and base classes for rendering and editing MemberJunction entity records.
47
49
  *
@@ -78,6 +80,7 @@ export class BaseFormsModule {
78
80
  CodeEditorModule,
79
81
  SharedGenericModule,
80
82
  MjIconPickerComponent,
83
+ MJBottomSheetComponent,
81
84
  RecordCloneSlideInComponent] });
82
85
  }
83
86
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseFormsModule, [{
@@ -108,7 +111,8 @@ export class BaseFormsModule {
108
111
  MjRecordLinksDrawerComponent,
109
112
  MjRecordLinkDirective,
110
113
  MjRecordLinkComponent,
111
- MjRecordPreviewPopoverComponent
114
+ MjRecordPreviewPopoverComponent,
115
+ MjRecordCommentsComponent
112
116
  ],
113
117
  imports: [
114
118
  CommonModule,
@@ -128,6 +132,7 @@ export class BaseFormsModule {
128
132
  SharedGenericModule,
129
133
  MJButtonDirective,
130
134
  MjIconPickerComponent,
135
+ MJBottomSheetComponent,
131
136
  RecordCloneSlideInComponent
132
137
  ],
133
138
  exports: [
@@ -155,7 +160,8 @@ export class BaseFormsModule {
155
160
  MjRecordLinksDrawerComponent,
156
161
  MjRecordLinkDirective,
157
162
  MjRecordLinkComponent,
158
- MjRecordPreviewPopoverComponent
163
+ MjRecordPreviewPopoverComponent,
164
+ MjRecordCommentsComponent
159
165
  ]
160
166
  }]
161
167
  }], null, null); })();
@@ -183,7 +189,8 @@ export class BaseFormsModule {
183
189
  MjRecordLinksDrawerComponent,
184
190
  MjRecordLinkDirective,
185
191
  MjRecordLinkComponent,
186
- MjRecordPreviewPopoverComponent], imports: [CommonModule,
192
+ MjRecordPreviewPopoverComponent,
193
+ MjRecordCommentsComponent], imports: [CommonModule,
187
194
  FormsModule,
188
195
  MJEmptyStateComponent,
189
196
  MJAlertComponent,
@@ -200,6 +207,7 @@ export class BaseFormsModule {
200
207
  SharedGenericModule,
201
208
  MJButtonDirective,
202
209
  MjIconPickerComponent,
210
+ MJBottomSheetComponent,
203
211
  RecordCloneSlideInComponent], exports: [MjFormToolbarComponent,
204
212
  MjFormFieldComponent,
205
213
  MjCollapsiblePanelComponent,
@@ -224,10 +232,12 @@ export class BaseFormsModule {
224
232
  MjRecordLinksDrawerComponent,
225
233
  MjRecordLinkDirective,
226
234
  MjRecordLinkComponent,
227
- MjRecordPreviewPopoverComponent] }); })();
235
+ MjRecordPreviewPopoverComponent,
236
+ MjRecordCommentsComponent] }); })();
228
237
  i0.ɵɵsetComponentScope(MjFormFieldComponent, [i1.NgTemplateOutlet, i1.NgStyle, i2.MarkdownComponent, i3.CodeEditorComponent, MjRecordLinkDirective], [MJSafeRichHtmlPipe]);
229
238
  i0.ɵɵsetComponentScope(MjCollapsiblePanelComponent, [FormFieldPanelSlotComponent], []);
230
239
  i0.ɵɵsetComponentScope(MjIsaRelatedPanelComponent, [MjIsaRelatedCardComponent], []);
231
240
  i0.ɵɵsetComponentScope(InteractiveFormComponent, [MJAlertComponent, i4.MJReactComponent, MjRecordFormContainerComponent], []);
232
241
  i0.ɵɵsetComponentScope(MjRecordLinksComponent, [i1.NgTemplateOutlet, MjRecordLinkDirective], []);
242
+ i0.ɵɵsetComponentScope(MjRecordCommentsComponent, [i1.NgStyle, i5.ɵNgNoValidate, i5.NgControlStatusGroup, i5.NgForm, MjRecordLinkDirective], []);
233
243
  //# 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;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,s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AC7B,yBAAyB;QACzB,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"]}
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,EA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sBAAsB;QACtB,4BAA4B;QAC5B,qBAAqB;QACrB,qBAAqB;QACrB,+BAA+B;QAC/B,yBAAyB,aAGzB,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,sBAAsB;QACtB,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;QAC/B,yBAAyB;uBAzEzB,oBAAoB,kFAqBpB,qBAAqB,IAmBrB,kBAAkB;uBAvClB,2BAA2B,GAS3B,2BAA2B;uBAF3B,0BAA0B,GAD1B,yBAAyB;uBAMzB,wBAAwB,GAiBxB,gBAAgB,uBA5BhB,8BAA8B;uBAiB9B,sBAAsB,wBAEtB,qBAAqB;uBAGrB,yBAAyB,qEAHzB,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, MJBottomSheetComponent } 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';\nimport { MjRecordCommentsComponent } from './lib/comments/record-comments.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 MjRecordCommentsComponent\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 MJBottomSheetComponent,\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 MjRecordCommentsComponent\n ]\n})\nexport class BaseFormsModule { }\n"]}
@@ -39,6 +39,9 @@ export * from './lib/duplicate-entry-check/duplicate-entry-check';
39
39
  export * from './lib/toolbar/form-toolbar.component';
40
40
  export * from './lib/toolbar/base-form-toolbar-action';
41
41
  export * from './lib/toolbar/actions/record-links-toolbar-action';
42
+ export * from './lib/toolbar/actions/record-comments-toolbar-action';
43
+ export * from './lib/comments/form-record-comments-coordinator.service';
44
+ export * from './lib/comments/record-comments.component';
42
45
  export * from './lib/field/form-field.component';
43
46
  export * from './lib/field/fk-search-utils';
44
47
  export * from './lib/field/fk-lookup-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cAAc,sDAAsD,CAAC;AACrE,cAAc,wCAAwC,CAAC;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"}
@@ -49,6 +49,9 @@ export * from './lib/duplicate-entry-check/duplicate-entry-check';
49
49
  export * from './lib/toolbar/form-toolbar.component';
50
50
  export * from './lib/toolbar/base-form-toolbar-action';
51
51
  export * from './lib/toolbar/actions/record-links-toolbar-action';
52
+ export * from './lib/toolbar/actions/record-comments-toolbar-action';
53
+ export * from './lib/comments/form-record-comments-coordinator.service';
54
+ export * from './lib/comments/record-comments.component';
52
55
  export * from './lib/field/form-field.component';
53
56
  export * from './lib/field/fk-search-utils';
54
57
  export * from './lib/field/fk-lookup-strategy';
@@ -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,c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AC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AAErE,0DAA0D;AAC1D,2EAA2E;AAC3E,mBAAmB;AACnB,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,mDAAmD,CAAC;AAClE,cAAc,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"]}
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,CA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1D,2EAA2E;AAC3E,mBAAmB;AACnB,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,mDAAmD,CAAC;AAClE,cAAc,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/toolbar/actions/record-comments-toolbar-action';\nexport * from './lib/comments/form-record-comments-coordinator.service';\nexport * from './lib/comments/record-comments.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';\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.7",
3
+ "version": "6.2.0",
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.7",
23
+ "@memberjunction/ng-test-utils": "6.2.0",
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.7",
34
- "@memberjunction/core-entities": "6.2.0-edge.7",
35
- "@memberjunction/global": "6.2.0-edge.7",
36
- "@memberjunction/graphql-dataprovider": "6.2.0-edge.7",
37
- "@memberjunction/interactive-component-types": "6.2.0-edge.7",
38
- "@memberjunction/ng-base-types": "6.2.0-edge.7",
39
- "@memberjunction/ng-code-editor": "6.2.0-edge.7",
40
- "@memberjunction/ng-entity-viewer": "6.2.0-edge.7",
41
- "@memberjunction/ng-file-storage": "6.2.0-edge.7",
42
- "@memberjunction/ng-list-management": "6.2.0-edge.7",
43
- "@memberjunction/ng-markdown": "6.2.0-edge.7",
44
- "@memberjunction/ng-notifications": "6.2.0-edge.7",
45
- "@memberjunction/ng-react": "6.2.0-edge.7",
46
- "@memberjunction/ng-record-changes": "6.2.0-edge.7",
47
- "@memberjunction/ng-record-clone": "6.2.0-edge.7",
48
- "@memberjunction/ng-record-tags": "6.2.0-edge.7",
49
- "@memberjunction/ng-shared-generic": "6.2.0-edge.7",
50
- "@memberjunction/ng-ui-components": "6.2.0-edge.7",
33
+ "@memberjunction/core": "6.2.0",
34
+ "@memberjunction/core-entities": "6.2.0",
35
+ "@memberjunction/global": "6.2.0",
36
+ "@memberjunction/graphql-dataprovider": "6.2.0",
37
+ "@memberjunction/interactive-component-types": "6.2.0",
38
+ "@memberjunction/ng-base-types": "6.2.0",
39
+ "@memberjunction/ng-code-editor": "6.2.0",
40
+ "@memberjunction/ng-entity-viewer": "6.2.0",
41
+ "@memberjunction/ng-file-storage": "6.2.0",
42
+ "@memberjunction/ng-list-management": "6.2.0",
43
+ "@memberjunction/ng-markdown": "6.2.0",
44
+ "@memberjunction/ng-notifications": "6.2.0",
45
+ "@memberjunction/ng-react": "6.2.0",
46
+ "@memberjunction/ng-record-changes": "6.2.0",
47
+ "@memberjunction/ng-record-clone": "6.2.0",
48
+ "@memberjunction/ng-record-tags": "6.2.0",
49
+ "@memberjunction/ng-shared-generic": "6.2.0",
50
+ "@memberjunction/ng-ui-components": "6.2.0",
51
51
  "rxjs": "^7.8.2",
52
52
  "tslib": "^2.8.1"
53
53
  },