@rxap/form-window-system 21.0.1 → 22.0.0-dev.1

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 (105) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +75 -5
  4. package/compodoc/classes/FormWindowRef.html +77 -23
  5. package/compodoc/dependencies.html +120 -33
  6. package/compodoc/directives/CloseWindowAfterSubmitDirective.html +74 -20
  7. package/compodoc/directives/FormWindowFooterDirective.html +87 -20
  8. package/compodoc/directives/OpenFormDirective.html +299 -398
  9. package/compodoc/directives/OpenFormWindowMethodDirective.html +288 -246
  10. package/compodoc/index.html +46 -5
  11. package/compodoc/injectables/FormWindowService.html +78 -18
  12. package/compodoc/injectables/OpenFormWindowMethod.html +66 -17
  13. package/compodoc/interfaces/FormWindowFooterTemplateContext.html +185 -125
  14. package/compodoc/interfaces/FormWindowOptions.html +473 -369
  15. package/compodoc/js/architecture-graph.js +288 -0
  16. package/compodoc/js/libs/bootstrap-native.js +4 -2
  17. package/compodoc/js/libs/jszip.min.js +13 -0
  18. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  19. package/compodoc/js/libs/tablesort.min.js +3 -3
  20. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  21. package/compodoc/js/libs/vis-network.min.js +78 -0
  22. package/compodoc/js/menu-wc.js +28 -15
  23. package/compodoc/js/menu.js +10 -11
  24. package/compodoc/js/routes/routes_index.js +1 -0
  25. package/compodoc/js/routes.js +142 -34
  26. package/compodoc/js/search/search-lunr.js +6 -8
  27. package/compodoc/js/search/search.js +118 -66
  28. package/compodoc/js/search/search_index.js +2 -2
  29. package/compodoc/js/tabs.js +98 -15
  30. package/compodoc/js/tree.js +44 -7
  31. package/compodoc/license.html +48 -6
  32. package/compodoc/llms.txt +155 -0
  33. package/compodoc/miscellaneous/functions.html +48 -6
  34. package/compodoc/miscellaneous/variables.html +79 -8
  35. package/compodoc/modules.html +44 -3
  36. package/compodoc/overview.html +54 -3
  37. package/compodoc/properties.html +45 -4
  38. package/compodoc/routes.html +227 -0
  39. package/compodoc/styles/compodoc.css +365 -44
  40. package/compodoc/styles/dark.css +16 -0
  41. package/compodoc/template-playground/default-templates.json +192 -0
  42. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  43. package/compodoc/template-playground/main.ts +9 -0
  44. package/compodoc/template-playground/template-editor.service.ts +173 -0
  45. package/compodoc/template-playground/template-playground.component.ts +614 -0
  46. package/compodoc/template-playground/template-playground.module.ts +29 -0
  47. package/compodoc/template-playground/zip-export.service.ts +86 -0
  48. package/compodoc/template-playground-app/app.js +1389 -0
  49. package/compodoc/template-playground-app/index.html +462 -0
  50. package/docs/documentation.json +1097 -883
  51. package/docs/html/assets/highlight.css +1 -1
  52. package/docs/html/assets/icons.js +1 -1
  53. package/docs/html/assets/icons.svg +1 -1
  54. package/docs/html/assets/main.js +5 -5
  55. package/docs/html/assets/search.js +1 -1
  56. package/docs/html/assets/style.css +265 -228
  57. package/docs/html/classes/CloseWindowAfterSubmitDirective.html +95 -6
  58. package/docs/html/classes/FormWindowFooterDirective.html +110 -6
  59. package/docs/html/classes/FormWindowRef.html +138 -8
  60. package/docs/html/classes/FormWindowService.html +83 -3
  61. package/docs/html/classes/OpenFormDirective.html +236 -21
  62. package/docs/html/classes/OpenFormWindowMethod.html +92 -3
  63. package/docs/html/classes/OpenFormWindowMethodDirective.html +225 -21
  64. package/docs/html/hierarchy.html +29 -0
  65. package/docs/html/index.html +40 -4
  66. package/docs/html/interfaces/FormWindowFooterTemplateContext.html +71 -4
  67. package/docs/html/interfaces/FormWindowOptions.html +258 -32
  68. package/docs/html/modules.html +44 -1
  69. package/docs/html/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT.html +33 -1
  70. package/docs/html/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS.html +33 -1
  71. package/docs/html/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR.html +33 -1
  72. package/docs/html/variables/RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR.html +36 -1
  73. package/docs/markdown/README.md +1 -1
  74. package/docs/markdown/classes/CloseWindowAfterSubmitDirective.md +7 -7
  75. package/docs/markdown/classes/FormWindowFooterDirective.md +14 -10
  76. package/docs/markdown/classes/FormWindowRef.md +16 -14
  77. package/docs/markdown/classes/FormWindowService.md +10 -8
  78. package/docs/markdown/classes/OpenFormDirective.md +38 -34
  79. package/docs/markdown/classes/OpenFormWindowMethod.md +10 -8
  80. package/docs/markdown/classes/OpenFormWindowMethodDirective.md +29 -25
  81. package/docs/markdown/globals.md +2 -2
  82. package/docs/markdown/interfaces/FormWindowFooterTemplateContext.md +8 -6
  83. package/docs/markdown/interfaces/FormWindowOptions.md +69 -75
  84. package/docs/markdown/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT.md +2 -2
  85. package/docs/markdown/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS.md +2 -2
  86. package/docs/markdown/variables/RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR.md +2 -2
  87. package/docs/markdown/variables/RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR.md +3 -3
  88. package/docs/wiki/Class.CloseWindowAfterSubmitDirective.md +6 -6
  89. package/docs/wiki/Class.FormWindowFooterDirective.md +13 -9
  90. package/docs/wiki/Class.FormWindowRef.md +15 -13
  91. package/docs/wiki/Class.FormWindowService.md +9 -7
  92. package/docs/wiki/Class.OpenFormDirective.md +37 -33
  93. package/docs/wiki/Class.OpenFormWindowMethod.md +9 -7
  94. package/docs/wiki/Class.OpenFormWindowMethodDirective.md +28 -24
  95. package/docs/wiki/Interface.FormWindowFooterTemplateContext.md +7 -5
  96. package/docs/wiki/Interface.FormWindowOptions.md +68 -74
  97. package/docs/wiki/Variable.RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT.md +1 -1
  98. package/docs/wiki/Variable.RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS.md +1 -1
  99. package/docs/wiki/Variable.RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR.md +1 -1
  100. package/docs/wiki/Variable.RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR.md +2 -2
  101. package/docs/wiki/globals.md +1 -1
  102. package/fesm2022/rxap-form-window-system.mjs +701 -371
  103. package/fesm2022/rxap-form-window-system.mjs.map +1 -1
  104. package/package.json +42 -42
  105. package/types/rxap-form-window-system.d.ts +216 -140
@@ -1,157 +1,233 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnInit, OnDestroy, StaticProvider, InjectionToken } from '@angular/core';
3
- import { WindowRef, WindowConfig } from '@rxap/window-system';
4
- import { FormDirective, FormDefinition, FormSubmitMethod, FormSubmitSuccessfulMethod, FormLoadMethod, FormType } from '@rxap/forms';
5
- import { Constructor, IconConfig } from '@rxap/utilities';
6
- import { CounterSubject } from '@rxap/rxjs';
7
- import { Method } from '@rxap/pattern';
8
- import { ConfirmClick } from '@rxap/directives';
9
-
10
- declare class CloseWindowAfterSubmitDirective implements OnInit, OnDestroy {
11
- private readonly formSubmit;
12
- private readonly windowRef;
13
- private _subscription?;
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CloseWindowAfterSubmitDirective, never>;
17
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CloseWindowAfterSubmitDirective, "[rxapFormSubmit][rxapCloseWindowAfterSubmit]", never, {}, {}, never, never, true, never>;
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { InjectionToken, OnDestroy, OnInit, StaticProvider } from "@angular/core";
6
+ import { WindowConfig, WindowRef } from "@rxap/window-system";
7
+ import { FormDefinition, FormDirective, FormLoadMethod, FormSubmitMethod, FormSubmitSuccessfulMethod, FormType } from "@rxap/forms";
8
+ import { Constructor, IconConfig } from "@rxap/utilities";
9
+ import { CounterSubject } from "@rxap/rxjs";
10
+ import { Method } from "@rxap/pattern";
11
+ import { ConfirmClick } from "@rxap/directives";
12
+ export declare class CloseWindowAfterSubmitDirective implements OnInit, OnDestroy {
13
+ private readonly formSubmit;
14
+ private readonly windowRef;
15
+ private _subscription?;
16
+ ngOnInit(): void;
17
+ ngOnDestroy(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CloseWindowAfterSubmitDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CloseWindowAfterSubmitDirective, "[rxapFormSubmit][rxapCloseWindowAfterSubmit]", never, {}, {}, never, never, true, never>;
18
20
  }
19
-
20
- interface FormWindowFooterTemplateContext<Data = any> {
21
- $implicit: WindowRef;
22
- formDirective: FormDirective<Data>;
23
- formDefinition: FormDefinition<Data>;
21
+ export interface FormWindowFooterTemplateContext<Data = any> {
22
+ $implicit: WindowRef;
23
+ formDirective: FormDirective<Data>;
24
+ formDefinition: FormDefinition<Data>;
24
25
  }
25
- declare class FormWindowFooterDirective<Data> implements OnInit {
26
- private readonly formDirective;
27
- private readonly windowRef;
28
- private readonly template;
29
- private readonly viewContainerRef;
30
- /**
31
- * Asserts the correct type of the context for the template that `NgForOf` will render.
32
- *
33
- * The presence of this method is a signal to the Ivy template type-check compiler that the
34
- * `NgForOf` structural directive renders its template with a specific context type.
35
- */
36
- static ngTemplateContextGuard<T>(dir: FormWindowFooterDirective<T>, ctx: any): ctx is FormWindowFooterTemplateContext<T>;
37
- ngOnInit(): void;
38
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormWindowFooterDirective<any>, never>;
39
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FormWindowFooterDirective<any>, "[rxapFormWindowFooter]", never, {}, {}, never, never, true, never>;
26
+ export declare class FormWindowFooterDirective<Data> implements OnInit {
27
+ private readonly formDirective;
28
+ private readonly windowRef;
29
+ private readonly template;
30
+ private readonly viewContainerRef;
31
+ /**
32
+ * Asserts the correct type of the context for the template that `NgForOf` will render.
33
+ *
34
+ * The presence of this method is a signal to the Ivy template type-check compiler that the
35
+ * `NgForOf` structural directive renders its template with a specific context type.
36
+ */
37
+ static ngTemplateContextGuard<T>(dir: FormWindowFooterDirective<T>, ctx: any): ctx is FormWindowFooterTemplateContext<T>;
38
+ ngOnInit(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormWindowFooterDirective<any>, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormWindowFooterDirective<any>, "[rxapFormWindowFooter]", never, {}, {}, never, never, true, never>;
40
41
  }
41
-
42
42
  /**
43
43
  * @deprecated removed
44
44
  */
45
- declare class FormWindowRef<Data = any> {
46
- readonly formDefinition: FormDefinition;
47
- readonly windowRef: WindowRef;
48
- constructor(formDefinition: FormDefinition, windowRef: WindowRef);
49
- submit(): void;
50
- reset(): void;
51
- close(result?: any): void;
45
+ export declare class FormWindowRef<Data = any> {
46
+ readonly formDefinition: FormDefinition;
47
+ readonly windowRef: WindowRef;
48
+ constructor(formDefinition: FormDefinition, windowRef: WindowRef);
49
+ submit(): void;
50
+ reset(): void;
51
+ close(result?: any): void;
52
52
  }
53
-
54
- interface FormWindowOptions<FormData, D = any, T = any> extends WindowConfig<D, T> {
55
- initial?: Partial<FormData>;
56
- submitMethod?: FormSubmitMethod<FormData>;
57
- submitSuccessfulMethod?: FormSubmitSuccessfulMethod;
58
- providers?: StaticProvider[];
59
- resetLoad?: boolean;
60
- resetSubmit?: boolean;
61
- loadMethod?: FormLoadMethod<FormData>;
62
- /**
63
- * Stores the context of the form window.
64
- * Can be used to transfer the id or uuid of the
65
- * document the is currently edited
66
- */
67
- context?: any;
53
+ export interface FormWindowOptions<FormData, D = any, T = any> extends WindowConfig<D, T> {
54
+ initial?: Partial<FormData>;
55
+ submitMethod?: FormSubmitMethod<FormData>;
56
+ submitSuccessfulMethod?: FormSubmitSuccessfulMethod;
57
+ providers?: StaticProvider[];
58
+ resetLoad?: boolean;
59
+ resetSubmit?: boolean;
60
+ loadMethod?: FormLoadMethod<FormData>;
61
+ /**
62
+ * Stores the context of the form window.
63
+ * Can be used to transfer the id or uuid of the
64
+ * document the is currently edited
65
+ */
66
+ context?: any;
68
67
  }
69
- declare class FormWindowService {
70
- private readonly windowService;
71
- private readonly injector;
72
- open<FormData>(formDefinitionConstructor: Constructor<FormType<any>>, options?: FormWindowOptions<FormData>): WindowRef<FormDefinition, FormData>;
73
- private extractFormComponent;
74
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormWindowService, never>;
75
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormWindowService>;
68
+ export declare class FormWindowService {
69
+ private readonly windowService;
70
+ private readonly injector;
71
+ open<FormData>(formDefinitionConstructor: Constructor<FormType<any>>, options?: FormWindowOptions<FormData>): WindowRef<FormDefinition, FormData>;
72
+ private extractFormComponent;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormWindowService, never>;
74
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
76
75
  }
77
-
78
- declare class OpenFormWindowMethodDirective<FormData extends Record<string, any> = Record<string, any>, Initial extends Partial<Record<string, any>> = Partial<Record<string, any>>> implements OnDestroy {
79
- private readonly injector;
80
- readonly method: _angular_core.InputSignal<Method<WindowRef<FormDefinition<any, any, any>, FormData>, Initial>>;
81
- readonly initial: _angular_core.InputSignal<Initial | undefined>;
82
- readonly failure$: _angular_core.OutputEmitterRef<Error>;
83
- readonly completed$: _angular_core.OutputEmitterRef<void>;
84
- readonly submitted$: _angular_core.OutputEmitterRef<FormData>;
85
- /**
86
- * true - a remote method call is in progress
87
- */
88
- executing$: CounterSubject;
89
- readonly providers: _angular_core.InputSignal<StaticProvider[] | undefined>;
90
- /**
91
- * Set of all active window ref instances.
92
- *
93
- * Used to distory all windows of the directive is
94
- * destroyed
95
- * @protected
96
- */
97
- protected _windowRefInstance: Set<WindowRef<FormDefinition<any, any, any>, FormData>>;
98
- readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
99
- ngOnDestroy(): void;
100
- onConfirmed(): void;
101
- onClick(): void;
102
- execute(): void;
103
- protected submitted(value: FormData): void;
104
- protected failure(error: Error): void;
105
- protected completed(): void;
106
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<OpenFormWindowMethodDirective<any, any>, never>;
107
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OpenFormWindowMethodDirective<any, any>, "[rxapOpenFormWindowMethod]", never, { "method": { "alias": "rxapOpenFormWindowMethod"; "required": true; "isSignal": true; }; "initial": { "alias": "initial"; "required": false; "isSignal": true; }; "providers": { "alias": "providers"; "required": false; "isSignal": true; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; "isSignal": true; }; }, { "failure$": "failure"; "completed$": "completed"; "submitted$": "submitted"; }, never, never, true, never>;
76
+ export declare class OpenFormWindowMethodDirective<FormData extends Record<string, any> = Record<string, any>, Initial extends Partial<Record<string, any>> = Partial<Record<string, any>>> implements OnDestroy {
77
+ private readonly injector;
78
+ readonly method: import("@angular/core").InputSignal<Method<WindowRef<FormDefinition<any, any, any>, FormData>, Initial>>;
79
+ readonly initial: import("@angular/core").InputSignal<Initial | undefined>;
80
+ readonly failure$: import("@angular/core").OutputEmitterRef<Error>;
81
+ readonly completed$: import("@angular/core").OutputEmitterRef<void>;
82
+ readonly submitted$: import("@angular/core").OutputEmitterRef<FormData>;
83
+ /**
84
+ * true - a remote method call is in progress
85
+ */
86
+ executing$: CounterSubject;
87
+ readonly providers: import("@angular/core").InputSignal<StaticProvider[] | undefined>;
88
+ /**
89
+ * Set of all active window ref instances.
90
+ *
91
+ * Used to distory all windows of the directive is
92
+ * destroyed
93
+ * @protected
94
+ */
95
+ protected _windowRefInstance: Set<WindowRef<FormDefinition<any, any, any>, FormData>>;
96
+ readonly hasConfirmDirective: import("@angular/core").InputSignalWithTransform<boolean, any>;
97
+ ngOnDestroy(): void;
98
+ onConfirmed(): void;
99
+ onClick(): void;
100
+ execute(): void;
101
+ protected submitted(value: FormData): void;
102
+ protected failure(error: Error): void;
103
+ protected completed(): void;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenFormWindowMethodDirective<any, any>, never>;
105
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OpenFormWindowMethodDirective<any, any>, "[rxapOpenFormWindowMethod]", never, {
106
+ "method": {
107
+ "alias": "rxapOpenFormWindowMethod";
108
+ "required": true;
109
+ "isSignal": true;
110
+ };
111
+ "initial": {
112
+ "alias": "initial";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "providers": {
117
+ "alias": "providers";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "hasConfirmDirective": {
122
+ "alias": "rxapConfirm";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ }, {
127
+ "failure$": "failure";
128
+ "completed$": "completed";
129
+ "submitted$": "submitted";
130
+ }, never, never, true, never>;
108
131
  }
109
-
110
- declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR: InjectionToken<unknown>;
111
- declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS: InjectionToken<unknown>;
112
- declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT: InjectionToken<unknown>;
113
- declare class OpenFormWindowMethod<FormData extends Record<string, any> = Record<string, any>> implements Method<WindowRef<FormDefinition, FormData>, Partial<FormData>> {
114
- private readonly formWindowService;
115
- private readonly formDefinitionConstructor;
116
- private readonly injector;
117
- private readonly formComponent;
118
- private readonly defaultOptions;
119
- call(initial?: Partial<FormData>, options?: Partial<FormWindowOptions<FormData>>): WindowRef<FormDefinition, FormData>;
120
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<OpenFormWindowMethod<any>, never>;
121
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<OpenFormWindowMethod<any>>;
132
+ export declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR: InjectionToken<unknown>;
133
+ export declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS: InjectionToken<unknown>;
134
+ export declare const RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT: InjectionToken<unknown>;
135
+ export declare class OpenFormWindowMethod<FormData extends Record<string, any> = Record<string, any>> implements Method<WindowRef<FormDefinition, FormData>, Partial<FormData>> {
136
+ private readonly formWindowService;
137
+ private readonly formDefinitionConstructor;
138
+ private readonly injector;
139
+ private readonly formComponent;
140
+ private readonly defaultOptions;
141
+ call(initial?: Partial<FormData>, options?: Partial<FormWindowOptions<FormData>>): WindowRef<FormDefinition, FormData>;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenFormWindowMethod<any>, never>;
143
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
122
144
  }
123
-
124
145
  /**
125
146
  * @deprecated
126
147
  */
127
- declare const RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR: InjectionToken<unknown>;
148
+ export declare const RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR: InjectionToken<unknown>;
128
149
  /**
129
150
  * @deprecated
130
151
  */
131
- declare class OpenFormDirective<Data, Result = Data> extends ConfirmClick implements OnDestroy {
132
- private readonly formWindowService;
133
- private readonly injector;
134
- readonly type: _angular_core.InputSignal<string>;
135
- readonly submitted: _angular_core.OutputEmitterRef<Result>;
136
- readonly initial: _angular_core.InputSignal<Partial<Data> | undefined>;
137
- readonly title: _angular_core.InputSignal<string | undefined>;
138
- readonly icon: _angular_core.InputSignal<IconConfig | undefined>;
139
- readonly width: _angular_core.InputSignal<string | undefined>;
140
- readonly height: _angular_core.InputSignal<string | undefined>;
141
- readonly resizeable: _angular_core.InputSignal<boolean | undefined>;
142
- readonly draggable: _angular_core.InputSignal<boolean | undefined>;
143
- readonly panelClass: _angular_core.InputSignal<string | undefined>;
144
- private _formWindowRef?;
145
- private readonly defaultFormDefinitionConstructor;
146
- readonly formDefinitionConstructorInput: _angular_core.InputSignal<"" | Constructor<FormType<any>>>;
147
- private readonly formDefinitionConstructor;
148
- readonly onSubmit: _angular_core.InputSignal<(value: Data) => any | Promise<any>>;
149
- onSubmitSuccessful(result: Result): void;
150
- ngOnDestroy(): void;
151
- protected execute(): void;
152
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<OpenFormDirective<any, any>, never>;
153
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OpenFormDirective<any, any>, "[rxapOpenForm]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "initial": { "alias": "initial"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "resizeable": { "alias": "resizeable"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "formDefinitionConstructorInput": { "alias": "rxapOpenForm"; "required": false; "isSignal": true; }; "onSubmit": { "alias": "onSubmit"; "required": false; "isSignal": true; }; }, { "submitted": "submitted"; }, never, never, true, never>;
154
- }
155
-
156
- export { CloseWindowAfterSubmitDirective, FormWindowFooterDirective, FormWindowRef, FormWindowService, OpenFormDirective, OpenFormWindowMethod, OpenFormWindowMethodDirective, RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_COMPONENT, RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFAULT_OPTIONS, RXAP_FORM_WINDOW_SYSTEM_OPEN_FORM_DEFINITION_CONSTRUCTOR, RXAP_WINDOW_FORM_SYSTEM_OPEN_FORM_CONSTRUCTOR };
157
- export type { FormWindowFooterTemplateContext, FormWindowOptions };
152
+ export declare class OpenFormDirective<Data, Result = Data> extends ConfirmClick implements OnDestroy {
153
+ private readonly formWindowService;
154
+ private readonly injector;
155
+ readonly type: import("@angular/core").InputSignal<string>;
156
+ readonly submitted: import("@angular/core").OutputEmitterRef<Result>;
157
+ readonly initial: import("@angular/core").InputSignal<Partial<Data> | undefined>;
158
+ readonly title: import("@angular/core").InputSignal<string | undefined>;
159
+ readonly icon: import("@angular/core").InputSignal<IconConfig | undefined>;
160
+ readonly width: import("@angular/core").InputSignal<string | undefined>;
161
+ readonly height: import("@angular/core").InputSignal<string | undefined>;
162
+ readonly resizeable: import("@angular/core").InputSignal<boolean | undefined>;
163
+ readonly draggable: import("@angular/core").InputSignal<boolean | undefined>;
164
+ readonly panelClass: import("@angular/core").InputSignal<string | undefined>;
165
+ private _formWindowRef?;
166
+ private readonly defaultFormDefinitionConstructor;
167
+ readonly formDefinitionConstructorInput: import("@angular/core").InputSignal<"" | Constructor<FormType<any>>>;
168
+ private readonly formDefinitionConstructor;
169
+ readonly onSubmit: import("@angular/core").InputSignal<(value: Data) => any | Promise<any>>;
170
+ onSubmitSuccessful(result: Result): void;
171
+ ngOnDestroy(): void;
172
+ protected execute(): void;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenFormDirective<any, any>, never>;
174
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OpenFormDirective<any, any>, "[rxapOpenForm]", never, {
175
+ "type": {
176
+ "alias": "type";
177
+ "required": false;
178
+ "isSignal": true;
179
+ };
180
+ "initial": {
181
+ "alias": "initial";
182
+ "required": false;
183
+ "isSignal": true;
184
+ };
185
+ "title": {
186
+ "alias": "title";
187
+ "required": false;
188
+ "isSignal": true;
189
+ };
190
+ "icon": {
191
+ "alias": "icon";
192
+ "required": false;
193
+ "isSignal": true;
194
+ };
195
+ "width": {
196
+ "alias": "width";
197
+ "required": false;
198
+ "isSignal": true;
199
+ };
200
+ "height": {
201
+ "alias": "height";
202
+ "required": false;
203
+ "isSignal": true;
204
+ };
205
+ "resizeable": {
206
+ "alias": "resizeable";
207
+ "required": false;
208
+ "isSignal": true;
209
+ };
210
+ "draggable": {
211
+ "alias": "draggable";
212
+ "required": false;
213
+ "isSignal": true;
214
+ };
215
+ "panelClass": {
216
+ "alias": "panelClass";
217
+ "required": false;
218
+ "isSignal": true;
219
+ };
220
+ "formDefinitionConstructorInput": {
221
+ "alias": "rxapOpenForm";
222
+ "required": false;
223
+ "isSignal": true;
224
+ };
225
+ "onSubmit": {
226
+ "alias": "onSubmit";
227
+ "required": false;
228
+ "isSignal": true;
229
+ };
230
+ }, {
231
+ "submitted": "submitted";
232
+ }, never, never, true, never>;
233
+ }