@memberjunction/ng-base-forms 5.36.0 → 5.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/base-form-component.d.ts +28 -0
- package/dist/lib/base-form-component.d.ts.map +1 -1
- package/dist/lib/base-form-component.js +45 -1
- package/dist/lib/base-form-component.js.map +1 -1
- package/dist/lib/container/record-form-container.component.d.ts +63 -1
- package/dist/lib/container/record-form-container.component.d.ts.map +1 -1
- package/dist/lib/container/record-form-container.component.js +134 -42
- package/dist/lib/container/record-form-container.component.js.map +1 -1
- package/dist/lib/interactive-form/interactive-form.component.d.ts +181 -0
- package/dist/lib/interactive-form/interactive-form.component.d.ts.map +1 -0
- package/dist/lib/interactive-form/interactive-form.component.js +560 -0
- package/dist/lib/interactive-form/interactive-form.component.js.map +1 -0
- package/dist/lib/panel-slot/base-form-panel.d.ts +97 -0
- package/dist/lib/panel-slot/base-form-panel.d.ts.map +1 -0
- package/dist/lib/panel-slot/base-form-panel.js +64 -0
- package/dist/lib/panel-slot/base-form-panel.js.map +1 -0
- package/dist/lib/panel-slot/form-panel-slot.component.d.ts +78 -0
- package/dist/lib/panel-slot/form-panel-slot.component.d.ts.map +1 -0
- package/dist/lib/panel-slot/form-panel-slot.component.js +227 -0
- package/dist/lib/panel-slot/form-panel-slot.component.js.map +1 -0
- package/dist/lib/panel-slot/form-slot-coordinator.service.d.ts +57 -0
- package/dist/lib/panel-slot/form-slot-coordinator.service.d.ts.map +1 -0
- package/dist/lib/panel-slot/form-slot-coordinator.service.js +104 -0
- package/dist/lib/panel-slot/form-slot-coordinator.service.js.map +1 -0
- package/dist/lib/toolbar/form-toolbar.component.d.ts +56 -1
- package/dist/lib/toolbar/form-toolbar.component.d.ts.map +1 -1
- package/dist/lib/toolbar/form-toolbar.component.js +294 -136
- package/dist/lib/toolbar/form-toolbar.component.js.map +1 -1
- package/dist/lib/types/navigation-events.d.ts +19 -1
- package/dist/lib/types/navigation-events.d.ts.map +1 -1
- package/dist/lib/types/navigation-events.js.map +1 -1
- package/dist/lib/types/toolbar-config.d.ts +11 -0
- package/dist/lib/types/toolbar-config.d.ts.map +1 -1
- package/dist/lib/types/toolbar-config.js +3 -0
- package/dist/lib/types/toolbar-config.js.map +1 -1
- package/dist/module.d.ts +10 -7
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +21 -7
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +4 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +7 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +12 -10
- package/dist/__tests__/sanity.test.d.ts +0 -2
- package/dist/__tests__/sanity.test.d.ts.map +0 -1
- package/dist/__tests__/sanity.test.js +0 -12
- package/dist/__tests__/sanity.test.js.map +0 -1
- package/dist/__tests__/tag-count-badge.test.d.ts +0 -2
- package/dist/__tests__/tag-count-badge.test.d.ts.map +0 -1
- package/dist/__tests__/tag-count-badge.test.js +0 -70
- package/dist/__tests__/tag-count-badge.test.js.map +0 -1
- package/dist/lib/__tests__/base-forms.test.d.ts +0 -2
- package/dist/lib/__tests__/base-forms.test.d.ts.map +0 -1
- package/dist/lib/__tests__/base-forms.test.js +0 -256
- package/dist/lib/__tests__/base-forms.test.js.map +0 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Document-order chain used by the slot host to figure out where to render a
|
|
6
|
+
* panel whose preferred slot is missing in the current form. Walks forward:
|
|
7
|
+
* a panel registered for `after-fields` looks for the next existing slot down
|
|
8
|
+
* the chain (`after-related`, then `after-everything`) until it finds one.
|
|
9
|
+
*
|
|
10
|
+
* The chain is intentionally short — these are the only positions any panel
|
|
11
|
+
* should ever need. New positions can be added by inserting into this array
|
|
12
|
+
* at the right document-order position.
|
|
13
|
+
*/
|
|
14
|
+
export const FORM_SLOT_CHAIN = [
|
|
15
|
+
'top-area',
|
|
16
|
+
'before-fields',
|
|
17
|
+
'after-fields',
|
|
18
|
+
'after-related',
|
|
19
|
+
'after-everything',
|
|
20
|
+
];
|
|
21
|
+
/**
|
|
22
|
+
* Per-form coordinator that tracks which slot positions are physically present
|
|
23
|
+
* in the current form's DOM. Provided at the `<mj-record-form-container>` level
|
|
24
|
+
* (one instance per form) so descendant slot hosts can register themselves and
|
|
25
|
+
* compute the fallback chain.
|
|
26
|
+
*
|
|
27
|
+
* The container template guarantees an `after-everything` slot host at the very
|
|
28
|
+
* bottom of the form body — so panels whose preferred slot is missing always
|
|
29
|
+
* have a final landing spot. Pre-CodeGen-regen forms still display every
|
|
30
|
+
* panel; post-regen forms display them at the better position.
|
|
31
|
+
*/
|
|
32
|
+
export class FormSlotCoordinator {
|
|
33
|
+
presentSlots = new Set();
|
|
34
|
+
changes$ = new Subject();
|
|
35
|
+
/** Tracks synchronous re-entry depth into safeEmit so an emit storm
|
|
36
|
+
* caused by a future refactor surfaces loudly instead of freezing. */
|
|
37
|
+
emitDepth = 0;
|
|
38
|
+
/** Slot host calls this on init. Idempotent — safe if invoked twice. */
|
|
39
|
+
registerSlot(slot) {
|
|
40
|
+
if (!this.presentSlots.has(slot)) {
|
|
41
|
+
this.presentSlots.add(slot);
|
|
42
|
+
this.safeEmit('registerSlot');
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
/** Slot host calls this on destroy. */
|
|
46
|
+
deregisterSlot(slot) {
|
|
47
|
+
if (this.presentSlots.has(slot)) {
|
|
48
|
+
this.presentSlots.delete(slot);
|
|
49
|
+
this.safeEmit('deregisterSlot');
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
hasSlot(slot) {
|
|
53
|
+
return this.presentSlots.has(slot);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Resolve a preferred slot to the slot that should ACTUALLY render the
|
|
57
|
+
* panel. Returns the preferred slot if it's present; otherwise walks
|
|
58
|
+
* forward in the chain to find the next existing slot.
|
|
59
|
+
*
|
|
60
|
+
* Returns null only in the (impossible) case where no slot at all is
|
|
61
|
+
* present — the container guarantees `after-everything` exists, so this
|
|
62
|
+
* should never happen in practice.
|
|
63
|
+
*/
|
|
64
|
+
resolveSlot(preferred) {
|
|
65
|
+
const startIdx = FORM_SLOT_CHAIN.indexOf(preferred);
|
|
66
|
+
if (startIdx === -1)
|
|
67
|
+
return null;
|
|
68
|
+
for (let i = startIdx; i < FORM_SLOT_CHAIN.length; i++) {
|
|
69
|
+
const candidate = FORM_SLOT_CHAIN[i];
|
|
70
|
+
if (this.presentSlots.has(candidate)) {
|
|
71
|
+
return candidate;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
/** RxJS stream that fires whenever a slot registers or deregisters. */
|
|
77
|
+
get changes() {
|
|
78
|
+
return this.changes$.asObservable();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Emit with re-entrancy detection. If we're already in the middle of an
|
|
82
|
+
* emit (i.e., a subscriber triggered another emit), log loudly so the loop
|
|
83
|
+
* is visible in the console instead of silently freezing the browser.
|
|
84
|
+
*/
|
|
85
|
+
safeEmit(cause) {
|
|
86
|
+
if (this.emitDepth > 10) {
|
|
87
|
+
console.error(`[FormSlotCoordinator] LOOP DETECTED — emit depth ${this.emitDepth} from ${cause}. Bailing out to prevent freeze.`);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
this.emitDepth++;
|
|
91
|
+
try {
|
|
92
|
+
this.changes$.next();
|
|
93
|
+
}
|
|
94
|
+
finally {
|
|
95
|
+
this.emitDepth--;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
static ɵfac = function FormSlotCoordinator_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormSlotCoordinator)(); };
|
|
99
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormSlotCoordinator, factory: FormSlotCoordinator.ɵfac });
|
|
100
|
+
}
|
|
101
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormSlotCoordinator, [{
|
|
102
|
+
type: Injectable
|
|
103
|
+
}], null, null); })();
|
|
104
|
+
//# sourceMappingURL=form-slot-coordinator.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-slot-coordinator.service.js","sourceRoot":"","sources":["../../../src/lib/panel-slot/form-slot-coordinator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAG/B;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC5C,UAAU;IACV,eAAe;IACf,cAAc;IACd,eAAe;IACf,kBAAkB;CACrB,CAAC;AAEF;;;;;;;;;;GAUG;AAEH,MAAM,OAAO,mBAAmB;IACX,YAAY,GAAG,IAAI,GAAG,EAAiB,CAAC;IACxC,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAC;IAChD;2EACuE;IAC/D,SAAS,GAAG,CAAC,CAAC;IAEtB,wEAAwE;IACjE,YAAY,CAAC,IAAmB;QACnC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAC/B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC5B,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QAClC,CAAC;IACL,CAAC;IAED,uCAAuC;IAChC,cAAc,CAAC,IAAmB;QACrC,IAAI,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAC9B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC/B,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QACpC,CA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Slot } from './base-form-panel';\n\n/**\n * Document-order chain used by the slot host to figure out where to render a\n * panel whose preferred slot is missing in the current form. Walks forward:\n * a panel registered for `after-fields` looks for the next existing slot down\n * the chain (`after-related`, then `after-everything`) until it finds one.\n *\n * The chain is intentionally short — these are the only positions any panel\n * should ever need. New positions can be added by inserting into this array\n * at the right document-order position.\n */\nexport const FORM_SLOT_CHAIN: FormPanelSlot[] = [\n 'top-area',\n 'before-fields',\n 'after-fields',\n 'after-related',\n 'after-everything',\n];\n\n/**\n * Per-form coordinator that tracks which slot positions are physically present\n * in the current form's DOM. Provided at the `<mj-record-form-container>` level\n * (one instance per form) so descendant slot hosts can register themselves and\n * compute the fallback chain.\n *\n * The container template guarantees an `after-everything` slot host at the very\n * bottom of the form body — so panels whose preferred slot is missing always\n * have a final landing spot. Pre-CodeGen-regen forms still display every\n * panel; post-regen forms display them at the better position.\n */\n@Injectable()\nexport class FormSlotCoordinator {\n private readonly presentSlots = new Set<FormPanelSlot>();\n private readonly changes$ = new Subject<void>();\n /** Tracks synchronous re-entry depth into safeEmit so an emit storm\n * caused by a future refactor surfaces loudly instead of freezing. */\n private emitDepth = 0;\n\n /** Slot host calls this on init. Idempotent — safe if invoked twice. */\n public registerSlot(slot: FormPanelSlot): void {\n if (!this.presentSlots.has(slot)) {\n this.presentSlots.add(slot);\n this.safeEmit('registerSlot');\n }\n }\n\n /** Slot host calls this on destroy. */\n public deregisterSlot(slot: FormPanelSlot): void {\n if (this.presentSlots.has(slot)) {\n this.presentSlots.delete(slot);\n this.safeEmit('deregisterSlot');\n }\n }\n\n public hasSlot(slot: FormPanelSlot): boolean {\n return this.presentSlots.has(slot);\n }\n\n /**\n * Resolve a preferred slot to the slot that should ACTUALLY render the\n * panel. Returns the preferred slot if it's present; otherwise walks\n * forward in the chain to find the next existing slot.\n *\n * Returns null only in the (impossible) case where no slot at all is\n * present — the container guarantees `after-everything` exists, so this\n * should never happen in practice.\n */\n public resolveSlot(preferred: FormPanelSlot): FormPanelSlot | null {\n const startIdx = FORM_SLOT_CHAIN.indexOf(preferred);\n if (startIdx === -1) return null;\n for (let i = startIdx; i < FORM_SLOT_CHAIN.length; i++) {\n const candidate = FORM_SLOT_CHAIN[i];\n if (this.presentSlots.has(candidate)) {\n return candidate;\n }\n }\n return null;\n }\n\n /** RxJS stream that fires whenever a slot registers or deregisters. */\n public get changes() {\n return this.changes$.asObservable();\n }\n\n /**\n * Emit with re-entrancy detection. If we're already in the middle of an\n * emit (i.e., a subscriber triggered another emit), log loudly so the loop\n * is visible in the console instead of silently freezing the browser.\n */\n private safeEmit(cause: string): void {\n if (this.emitDepth > 10) {\n console.error(`[FormSlotCoordinator] LOOP DETECTED — emit depth ${this.emitDepth} from ${cause}. Bailing out to prevent freeze.`);\n return;\n }\n this.emitDepth++;\n try {\n this.changes$.next();\n } finally {\n this.emitDepth--;\n }\n }\n}\n"]}
|
|
@@ -79,6 +79,25 @@ export declare class MjFormToolbarComponent implements DoCheck {
|
|
|
79
79
|
HasCustomSectionOrder: boolean;
|
|
80
80
|
/** Optional template for additional toolbar actions */
|
|
81
81
|
AdditionalActionsTemplate: TemplateRef<unknown> | null;
|
|
82
|
+
/**
|
|
83
|
+
* Available form variants for this entity. When the array has >1 entry
|
|
84
|
+
* and `Config.ShowFormVariantPicker` is true, the toolbar renders a
|
|
85
|
+
* right-side "form picker" button (icon) that opens a dropdown with
|
|
86
|
+
* the Default form + each variant. Picking emits {@link VariantPicked}
|
|
87
|
+
* with the override ID, or null for the CodeGen Angular default.
|
|
88
|
+
*
|
|
89
|
+
* Shape is intentionally minimal — Generic doesn't depend on the
|
|
90
|
+
* resolver row type. Hosts shape their data into this. See
|
|
91
|
+
* {@link VariantPickerItem} on the container for the canonical shape.
|
|
92
|
+
*/
|
|
93
|
+
Variants: Array<{
|
|
94
|
+
ID: string;
|
|
95
|
+
Label: string;
|
|
96
|
+
Scope: 'User' | 'Role' | 'Global';
|
|
97
|
+
Status: 'Active' | 'Pending' | 'Inactive';
|
|
98
|
+
}>;
|
|
99
|
+
/** The currently-applied variant ID, or null when the Default form is active. */
|
|
100
|
+
CurrentVariantID: string | null;
|
|
82
101
|
/** Emitted for all navigation actions (record links, hierarchy clicks, etc.) */
|
|
83
102
|
Navigate: EventEmitter<FormNavigationEvent>;
|
|
84
103
|
/** Request to enter or exit edit mode */
|
|
@@ -109,6 +128,12 @@ export declare class MjFormToolbarComponent implements DoCheck {
|
|
|
109
128
|
TagsPanelToggled: EventEmitter<void>;
|
|
110
129
|
/** Request to show dirty field changes */
|
|
111
130
|
ShowChangesRequested: EventEmitter<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Emitted when the user picks an item from the form-variant dropdown.
|
|
133
|
+
* Payload is the override ID for a specific variant, or `null` when the
|
|
134
|
+
* user picks the "Default form" row (CodeGen / Angular fallback).
|
|
135
|
+
*/
|
|
136
|
+
VariantPicked: EventEmitter<string | null>;
|
|
112
137
|
/** Emitted when a custom toolbar button is clicked */
|
|
113
138
|
CustomButtonClick: EventEmitter<CustomToolbarButtonClickEventArgs>;
|
|
114
139
|
FilterChange: EventEmitter<string>;
|
|
@@ -197,6 +222,36 @@ export declare class MjFormToolbarComponent implements DoCheck {
|
|
|
197
222
|
OnTagsPanel(): void;
|
|
198
223
|
OnCustomButtonClick(button: CustomToolbarButton): void;
|
|
199
224
|
OnShowChanges(): void;
|
|
225
|
+
/** Whether the variant-picker dropdown is currently open. */
|
|
226
|
+
VariantMenuOpen: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* True iff the toolbar should render the variant-picker button.
|
|
229
|
+
*
|
|
230
|
+
* Note the threshold is `>= 1`, NOT `> 1`. The picker menu always
|
|
231
|
+
* includes the "Default form" row (CodeGen / Angular fallback) — that
|
|
232
|
+
* row isn't in {@link Variants}; it's rendered unconditionally as the
|
|
233
|
+
* first row inside the menu. So any single variant still yields a real
|
|
234
|
+
* choice (Default vs that variant) and the picker should appear. The
|
|
235
|
+
* inline-strip implementation that this replaces used `> 1` and
|
|
236
|
+
* therefore hid the picker for entities with exactly one override,
|
|
237
|
+
* which made that override unreachable from the UI.
|
|
238
|
+
*/
|
|
239
|
+
get ShowVariantPickerButton(): boolean;
|
|
240
|
+
/** Label for the currently-active variant, or "Default form" when none. */
|
|
241
|
+
get CurrentVariantLabel(): string;
|
|
242
|
+
/** Compact subtitle for a variant menu row: "Scope · Status". */
|
|
243
|
+
VariantSubtitle(v: {
|
|
244
|
+
Scope: string;
|
|
245
|
+
Status: string;
|
|
246
|
+
}): string;
|
|
247
|
+
ToggleVariantMenu(): void;
|
|
248
|
+
CloseVariantMenu(): void;
|
|
249
|
+
/**
|
|
250
|
+
* User picked a row in the variant menu. Closes the menu and emits
|
|
251
|
+
* `VariantPicked` (null → "Default form" / CodeGen Angular; UUID →
|
|
252
|
+
* specific override). No-op when the picked value matches the current.
|
|
253
|
+
*/
|
|
254
|
+
OnVariantClick(variantID: string | null): void;
|
|
200
255
|
/**
|
|
201
256
|
* Try to call a method on the legacy form reference.
|
|
202
257
|
* Returns true if the method was found and called, false otherwise.
|
|
@@ -230,6 +285,6 @@ export declare class MjFormToolbarComponent implements DoCheck {
|
|
|
230
285
|
OnResetSectionOrder(): void;
|
|
231
286
|
OnManageSections(): void;
|
|
232
287
|
static ɵfac: i0.ɵɵFactoryDeclaration<MjFormToolbarComponent, never>;
|
|
233
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MjFormToolbarComponent, "mj-form-toolbar", never, { "Form": { "alias": "Form"; "required": false; }; "_deprecatedForm": { "alias": "form"; "required": false; }; "Record": { "alias": "Record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "UserCanEdit": { "alias": "UserCanEdit"; "required": false; }; "UserCanDelete": { "alias": "UserCanDelete"; "required": false; }; "IsFavorite": { "alias": "IsFavorite"; "required": false; }; "FavoriteInitDone": { "alias": "FavoriteInitDone"; "required": false; }; "IsDirty": { "alias": "IsDirty"; "required": false; }; "DirtyFieldNames": { "alias": "DirtyFieldNames"; "required": false; }; "ListCount": { "alias": "ListCount"; "required": false; }; "TagCount": { "alias": "TagCount"; "required": false; }; "IsTagsPanelOpen": { "alias": "IsTagsPanelOpen"; "required": false; }; "VersionCount": { "alias": "VersionCount"; "required": false; }; "EntityInfo": { "alias": "EntityInfo"; "required": false; }; "Config": { "alias": "Config"; "required": false; }; "IsSaving": { "alias": "IsSaving"; "required": false; }; "VisibleSectionCount": { "alias": "VisibleSectionCount"; "required": false; }; "TotalSectionCount": { "alias": "TotalSectionCount"; "required": false; }; "ExpandedSectionCount": { "alias": "ExpandedSectionCount"; "required": false; }; "SearchFilter": { "alias": "SearchFilter"; "required": false; }; "ShowEmptyFields": { "alias": "ShowEmptyFields"; "required": false; }; "WidthMode": { "alias": "WidthMode"; "required": false; }; "HasCustomSectionOrder": { "alias": "HasCustomSectionOrder"; "required": false; }; "AdditionalActionsTemplate": { "alias": "AdditionalActionsTemplate"; "required": false; }; }, { "Navigate": "Navigate"; "EditModeChange": "EditModeChange"; "BeforeSave": "BeforeSave"; "SaveRequested": "SaveRequested"; "BeforeCancel": "BeforeCancel"; "CancelRequested": "CancelRequested"; "BeforeDelete": "BeforeDelete"; "DeleteRequested": "DeleteRequested"; "FavoriteToggled": "FavoriteToggled"; "BeforeHistoryView": "BeforeHistoryView"; "HistoryRequested": "HistoryRequested"; "BeforeListManagement": "BeforeListManagement"; "ListManagementRequested": "ListManagementRequested"; "TagsPanelToggled": "TagsPanelToggled"; "ShowChangesRequested": "ShowChangesRequested"; "CustomButtonClick": "CustomButtonClick"; "FilterChange": "FilterChange"; "ExpandAllRequested": "ExpandAllRequested"; "CollapseAllRequested": "CollapseAllRequested"; "ShowEmptyFieldsChange": "ShowEmptyFieldsChange"; "WidthModeChange": "WidthModeChange"; "ResetSectionOrderRequested": "ResetSectionOrderRequested"; "ManageSectionsRequested": "ManageSectionsRequested"; }, never, ["[toolbar-additional-controls]"], false, never>;
|
|
288
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MjFormToolbarComponent, "mj-form-toolbar", never, { "Form": { "alias": "Form"; "required": false; }; "_deprecatedForm": { "alias": "form"; "required": false; }; "Record": { "alias": "Record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; "UserCanEdit": { "alias": "UserCanEdit"; "required": false; }; "UserCanDelete": { "alias": "UserCanDelete"; "required": false; }; "IsFavorite": { "alias": "IsFavorite"; "required": false; }; "FavoriteInitDone": { "alias": "FavoriteInitDone"; "required": false; }; "IsDirty": { "alias": "IsDirty"; "required": false; }; "DirtyFieldNames": { "alias": "DirtyFieldNames"; "required": false; }; "ListCount": { "alias": "ListCount"; "required": false; }; "TagCount": { "alias": "TagCount"; "required": false; }; "IsTagsPanelOpen": { "alias": "IsTagsPanelOpen"; "required": false; }; "VersionCount": { "alias": "VersionCount"; "required": false; }; "EntityInfo": { "alias": "EntityInfo"; "required": false; }; "Config": { "alias": "Config"; "required": false; }; "IsSaving": { "alias": "IsSaving"; "required": false; }; "VisibleSectionCount": { "alias": "VisibleSectionCount"; "required": false; }; "TotalSectionCount": { "alias": "TotalSectionCount"; "required": false; }; "ExpandedSectionCount": { "alias": "ExpandedSectionCount"; "required": false; }; "SearchFilter": { "alias": "SearchFilter"; "required": false; }; "ShowEmptyFields": { "alias": "ShowEmptyFields"; "required": false; }; "WidthMode": { "alias": "WidthMode"; "required": false; }; "HasCustomSectionOrder": { "alias": "HasCustomSectionOrder"; "required": false; }; "AdditionalActionsTemplate": { "alias": "AdditionalActionsTemplate"; "required": false; }; "Variants": { "alias": "Variants"; "required": false; }; "CurrentVariantID": { "alias": "CurrentVariantID"; "required": false; }; }, { "Navigate": "Navigate"; "EditModeChange": "EditModeChange"; "BeforeSave": "BeforeSave"; "SaveRequested": "SaveRequested"; "BeforeCancel": "BeforeCancel"; "CancelRequested": "CancelRequested"; "BeforeDelete": "BeforeDelete"; "DeleteRequested": "DeleteRequested"; "FavoriteToggled": "FavoriteToggled"; "BeforeHistoryView": "BeforeHistoryView"; "HistoryRequested": "HistoryRequested"; "BeforeListManagement": "BeforeListManagement"; "ListManagementRequested": "ListManagementRequested"; "TagsPanelToggled": "TagsPanelToggled"; "ShowChangesRequested": "ShowChangesRequested"; "VariantPicked": "VariantPicked"; "CustomButtonClick": "CustomButtonClick"; "FilterChange": "FilterChange"; "ExpandAllRequested": "ExpandAllRequested"; "CollapseAllRequested": "CollapseAllRequested"; "ShowEmptyFieldsChange": "ShowEmptyFieldsChange"; "WidthModeChange": "WidthModeChange"; "ResetSectionOrderRequested": "ResetSectionOrderRequested"; "ManageSectionsRequested": "ManageSectionsRequested"; }, never, ["[toolbar-additional-controls]"], false, never>;
|
|
234
289
|
}
|
|
235
290
|
//# sourceMappingURL=form-toolbar.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-toolbar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/toolbar/form-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,WAAW,EAA6B,OAAO,EAAE,MAAM,eAAe,CAAC;AACjJ,OAAO,EAAE,UAAU,EAAE,UAAU,EAAgB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"form-toolbar.component.d.ts","sourceRoot":"","sources":["../../../src/lib/toolbar/form-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,WAAW,EAA6B,OAAO,EAAE,MAAM,eAAe,CAAC;AACjJ,OAAO,EAAE,UAAU,EAAE,UAAU,EAAgB,MAAM,sBAAsB,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAA0B,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAA+C,cAAc,EAAE,MAAM,0CAA0C,CAAC;AACvH,OAAO,EAAE,aAAa,EAAe,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7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