@skyux/inline-form 7.0.0-beta.0 → 7.0.0-beta.10
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/documentation.json +83 -63
- package/esm2020/lib/modules/inline-form/inline-form-adapter.service.mjs +28 -25
- package/esm2020/lib/modules/inline-form/inline-form.component.mjs +154 -148
- package/fesm2015/skyux-inline-form.mjs +178 -170
- package/fesm2015/skyux-inline-form.mjs.map +1 -1
- package/fesm2020/skyux-inline-form.mjs +178 -170
- package/fesm2020/skyux-inline-form.mjs.map +1 -1
- package/lib/modules/inline-form/inline-form-adapter.service.d.ts +1 -3
- package/lib/modules/inline-form/inline-form.component.d.ts +6 -16
- package/package.json +3 -3
|
@@ -10,44 +10,34 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* Renders form content in the current view instead of a separate modal.
|
|
11
11
|
*/
|
|
12
12
|
export declare class SkyInlineFormComponent implements OnInit, OnDestroy {
|
|
13
|
-
private
|
|
14
|
-
private elementRef;
|
|
15
|
-
private resourcesService;
|
|
16
|
-
private skyAppWindowRef;
|
|
17
|
-
private changeDetectorRef;
|
|
13
|
+
#private;
|
|
18
14
|
/**
|
|
19
15
|
* Specifies configuration options for the buttons to display with the inline form.
|
|
20
16
|
* @required
|
|
21
17
|
*/
|
|
22
|
-
set config(value: SkyInlineFormConfig);
|
|
23
|
-
get config(): SkyInlineFormConfig;
|
|
18
|
+
set config(value: SkyInlineFormConfig | undefined);
|
|
19
|
+
get config(): SkyInlineFormConfig | undefined;
|
|
24
20
|
/**
|
|
25
21
|
* Specifies a template to use to instantiate the inline form.
|
|
26
22
|
* @required
|
|
27
23
|
*/
|
|
28
|
-
template: TemplateRef<unknown
|
|
24
|
+
template: TemplateRef<unknown> | undefined;
|
|
29
25
|
/**
|
|
30
26
|
* Indicates whether to display the inline form. Users can toggle between displaying
|
|
31
27
|
* and hiding the inline form.
|
|
32
28
|
* @default false
|
|
33
29
|
*/
|
|
34
|
-
set showForm(value: boolean);
|
|
35
|
-
get showForm(): boolean;
|
|
30
|
+
set showForm(value: boolean | undefined);
|
|
31
|
+
get showForm(): boolean | undefined;
|
|
36
32
|
/**
|
|
37
33
|
* Fires when users close the inline form.
|
|
38
34
|
*/
|
|
39
35
|
close: EventEmitter<SkyInlineFormCloseArgs>;
|
|
40
36
|
buttons: SkyInlineFormButtonConfig[];
|
|
41
|
-
private _config;
|
|
42
|
-
private _showForm;
|
|
43
37
|
constructor(adapter: SkyInlineFormAdapterService, elementRef: ElementRef, resourcesService: SkyLibResourcesService, skyAppWindowRef: SkyAppWindowRef, changeDetectorRef: ChangeDetectorRef);
|
|
44
38
|
ngOnInit(): void;
|
|
45
39
|
ngOnDestroy(): void;
|
|
46
40
|
closeInlineForm(event: SkyInlineFormButtonConfig): void;
|
|
47
|
-
private setupButtons;
|
|
48
|
-
private getPresetButtons;
|
|
49
|
-
private getCustomButtons;
|
|
50
|
-
private isValidCustomConfig;
|
|
51
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyInlineFormComponent, never>;
|
|
52
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyInlineFormComponent, "sky-inline-form", never, { "config": "config"; "template": "template"; "showForm": "showForm"; }, { "close": "close"; }, never, ["*"], false>;
|
|
53
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/inline-form",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@angular/animations": "^14.2.0",
|
|
36
36
|
"@angular/common": "^14.2.0",
|
|
37
37
|
"@angular/core": "^14.2.0",
|
|
38
|
-
"@skyux/core": "7.0.0-beta.
|
|
39
|
-
"@skyux/i18n": "7.0.0-beta.
|
|
38
|
+
"@skyux/core": "7.0.0-beta.10",
|
|
39
|
+
"@skyux/i18n": "7.0.0-beta.10"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"tslib": "^2.3.1"
|