@spicainternational/ngx-sds-components 2.32.2 → 2.33.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.
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/src/lib/date-picker/date-picker.component.mjs +6 -3
- package/esm2020/src/lib/highlight-text/directives/highlight-text.directive.mjs +60 -0
- package/esm2020/src/lib/highlight-text/directives/index.mjs +2 -0
- package/esm2020/src/lib/highlight-text/highlight-text.module.mjs +31 -0
- package/esm2020/src/lib/highlight-text/pipes/highlight-text.pipe.mjs +29 -0
- package/esm2020/src/lib/highlight-text/pipes/index.mjs +2 -0
- package/esm2020/src/lib/highlight-text/public-api.mjs +4 -0
- package/esm2020/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +5 -0
- package/esm2020/src/lib/highlight-text/utils/highlight-text.utils.mjs +97 -0
- package/esm2020/src/lib/highlight-text/utils/index.mjs +2 -0
- package/esm2020/src/lib/message/message.component.mjs +41 -0
- package/esm2020/src/lib/message/message.module.mjs +30 -0
- package/esm2020/src/lib/message/public-api.mjs +3 -0
- package/esm2020/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs +5 -0
- package/esm2020/src/lib/modal/dialog/dialog.component.mjs +20 -8
- package/esm2020/src/lib/modal/modal.component.mjs +6 -2
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +5 -2
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +217 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +1 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs +75 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs.map +1 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs +24 -8
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2015/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +5 -2
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +214 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +1 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs +75 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs.map +1 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs +24 -8
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2020/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/package.json +18 -2
- package/public-api.d.ts +2 -0
- package/src/lib/date-picker/date-picker.component.d.ts +2 -1
- package/src/lib/highlight-text/directives/highlight-text.directive.d.ts +33 -0
- package/src/lib/highlight-text/directives/index.d.ts +1 -0
- package/src/lib/highlight-text/highlight-text.module.d.ts +9 -0
- package/src/lib/highlight-text/package.json +10 -0
- package/src/lib/highlight-text/pipes/highlight-text.pipe.d.ts +11 -0
- package/src/lib/highlight-text/pipes/index.d.ts +1 -0
- package/src/lib/highlight-text/public-api.d.ts +3 -0
- package/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts +5 -0
- package/src/lib/highlight-text/utils/highlight-text.utils.d.ts +23 -0
- package/src/lib/highlight-text/utils/index.d.ts +1 -0
- package/src/lib/message/message.component.d.ts +18 -0
- package/src/lib/message/message.module.d.ts +9 -0
- package/src/lib/message/package.json +10 -0
- package/src/lib/message/public-api.d.ts +2 -0
- package/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.d.ts +5 -0
- package/src/lib/modal/dialog/dialog.component.d.ts +1 -0
- package/src/lib/modal/modal.component.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spicainternational/ngx-sds-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.1",
|
|
4
4
|
"description": "Spica design system angular components.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=13.3.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@fortawesome/pro-light-svg-icons": "^6.1.0",
|
|
12
12
|
"@fortawesome/pro-regular-svg-icons": "^6.1.0",
|
|
13
13
|
"@fortawesome/pro-solid-svg-icons": "^6.1.0",
|
|
14
|
-
"@spicainternational/sds-bootstrap": "^2",
|
|
14
|
+
"@spicainternational/sds-bootstrap": "^2.10",
|
|
15
15
|
"@spicainternational/sds-core": "^3",
|
|
16
16
|
"devextreme": ">=19.0.0",
|
|
17
17
|
"devextreme-angular": ">=19.0.0",
|
|
@@ -118,6 +118,14 @@
|
|
|
118
118
|
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs",
|
|
119
119
|
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs"
|
|
120
120
|
},
|
|
121
|
+
"./src/lib/highlight-text": {
|
|
122
|
+
"types": "./src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts",
|
|
123
|
+
"esm2020": "./esm2020/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
124
|
+
"es2020": "./fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
125
|
+
"es2015": "./fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
126
|
+
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
127
|
+
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs"
|
|
128
|
+
},
|
|
121
129
|
"./src/lib/layout": {
|
|
122
130
|
"types": "./src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.d.ts",
|
|
123
131
|
"esm2020": "./esm2020/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
@@ -126,6 +134,14 @@
|
|
|
126
134
|
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
127
135
|
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs"
|
|
128
136
|
},
|
|
137
|
+
"./src/lib/message": {
|
|
138
|
+
"types": "./src/lib/message/spicainternational-ngx-sds-components-src-lib-message.d.ts",
|
|
139
|
+
"esm2020": "./esm2020/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
140
|
+
"es2020": "./fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
141
|
+
"es2015": "./fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
142
|
+
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
143
|
+
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs"
|
|
144
|
+
},
|
|
129
145
|
"./src/lib/modal": {
|
|
130
146
|
"types": "./src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.d.ts",
|
|
131
147
|
"esm2020": "./esm2020/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export * from '@spicainternational/ngx-sds-components/src/lib/date-picker';
|
|
|
8
8
|
export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
|
|
9
9
|
export * from '@spicainternational/ngx-sds-components/src/lib/duration-pipe';
|
|
10
10
|
export * from '@spicainternational/ngx-sds-components/src/lib/duration-box';
|
|
11
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/highlight-text';
|
|
11
12
|
export * from '@spicainternational/ngx-sds-components/src/lib/layout';
|
|
13
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/message';
|
|
12
14
|
export * from '@spicainternational/ngx-sds-components/src/lib/modal';
|
|
13
15
|
export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
|
|
14
16
|
export * from '@spicainternational/ngx-sds-components/src/lib/page-header';
|
|
@@ -35,6 +35,7 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
35
35
|
getNextDateCallback: (currentDate: string | number | Date) => string | number | Date;
|
|
36
36
|
getPreviousRangeCallback: (currentStartDate: string | number | Date, currentEndDate: string | number | Date) => [string | number | Date, string | number | Date];
|
|
37
37
|
getNextRangeCallback: (currentStartDate: string | number | Date, currentEndDate: string | number | Date) => [string | number | Date, string | number | Date];
|
|
38
|
+
useCustomDisplayContent: boolean;
|
|
38
39
|
previousPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
39
40
|
nextPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
40
41
|
calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -107,5 +108,5 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
107
108
|
private formatDate;
|
|
108
109
|
private generateDateRanges;
|
|
109
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerComponent, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDatePickerComponent, "sds-date-picker", never, { "selectionKind": "selectionKind"; "dateRangeDefinitions": "dateRangeDefinitions"; "selectedDate": "selectedDate"; "selectedDateStart": "selectedDateStart"; "selectedDateEnd": "selectedDateEnd"; "minDate": "minDate"; "maxDate": "maxDate"; "locales": "locales"; "disabled": "disabled"; "validationError": "validationError"; "isValid": "isValid"; "disabledDates": "disabledDates"; "applyText": "applyText"; "cancelText": "cancelText"; "translations": "translations"; "firstDayOfWeek": "firstDayOfWeek"; "dateRangeDefinitionsWidth": "dateRangeDefinitionsWidth"; "showPreviousAndNextButtons": "showPreviousAndNextButtons"; "width": "width"; "dropdownWrapperClass": "dropdownWrapperClass"; "dropdownWrapperId": "dropdownWrapperId"; "getPreviousDateCallback": "getPreviousDateCallback"; "getNextDateCallback": "getNextDateCallback"; "getPreviousRangeCallback": "getPreviousRangeCallback"; "getNextRangeCallback": "getNextRangeCallback"; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; }, ["displayContent"], ["display"]>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDatePickerComponent, "sds-date-picker", never, { "selectionKind": "selectionKind"; "dateRangeDefinitions": "dateRangeDefinitions"; "selectedDate": "selectedDate"; "selectedDateStart": "selectedDateStart"; "selectedDateEnd": "selectedDateEnd"; "minDate": "minDate"; "maxDate": "maxDate"; "locales": "locales"; "disabled": "disabled"; "validationError": "validationError"; "isValid": "isValid"; "disabledDates": "disabledDates"; "applyText": "applyText"; "cancelText": "cancelText"; "translations": "translations"; "firstDayOfWeek": "firstDayOfWeek"; "dateRangeDefinitionsWidth": "dateRangeDefinitionsWidth"; "showPreviousAndNextButtons": "showPreviousAndNextButtons"; "width": "width"; "dropdownWrapperClass": "dropdownWrapperClass"; "dropdownWrapperId": "dropdownWrapperId"; "getPreviousDateCallback": "getPreviousDateCallback"; "getNextDateCallback": "getNextDateCallback"; "getPreviousRangeCallback": "getPreviousRangeCallback"; "getNextRangeCallback": "getNextRangeCallback"; "useCustomDisplayContent": "useCustomDisplayContent"; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; }, ["displayContent"], ["display"]>;
|
|
111
112
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HighlightTextDirective {
|
|
5
|
+
private readonly _elementRef;
|
|
6
|
+
private readonly _sanitizer;
|
|
7
|
+
/**
|
|
8
|
+
* INPUTS
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* CSS classes to be appended to the marked text
|
|
12
|
+
*/
|
|
13
|
+
additionalClasses: string;
|
|
14
|
+
/**
|
|
15
|
+
* Search term that should be found
|
|
16
|
+
*/
|
|
17
|
+
private _search;
|
|
18
|
+
get highlightText(): string;
|
|
19
|
+
set highlightText(value: string);
|
|
20
|
+
/**
|
|
21
|
+
* OTHER PROPS
|
|
22
|
+
*/
|
|
23
|
+
content: string;
|
|
24
|
+
/**
|
|
25
|
+
* For now make this case insensitive. We might change this to
|
|
26
|
+
* input latter if needed
|
|
27
|
+
*/
|
|
28
|
+
protected caseSensitive: boolean;
|
|
29
|
+
constructor(_elementRef: ElementRef, _sanitizer: DomSanitizer);
|
|
30
|
+
protected markSearchedText(highlightText: string): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightTextDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightTextDirective, "[highlightText]", never, { "additionalClasses": "additionalClasses"; "highlightText": "highlightText"; }, {}, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './highlight-text.directive';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./directives/highlight-text.directive";
|
|
3
|
+
import * as i2 from "./pipes/highlight-text.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class SdsHighlightTextModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsHighlightTextModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsHighlightTextModule, [typeof i1.HighlightTextDirective, typeof i2.HighlightTextPipe], [typeof i3.CommonModule], [typeof i1.HighlightTextDirective, typeof i2.HighlightTextPipe]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SdsHighlightTextModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
3
|
+
"es2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
4
|
+
"esm2020": "../../../esm2020/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
5
|
+
"fesm2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
6
|
+
"fesm2015": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs",
|
|
7
|
+
"typings": "spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@spicainternational/ngx-sds-components/src/lib/highlight-text"
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HighlightTextPipe implements PipeTransform {
|
|
5
|
+
private readonly _elementRef;
|
|
6
|
+
private readonly _sanitizer;
|
|
7
|
+
constructor(_elementRef: ElementRef, _sanitizer: DomSanitizer);
|
|
8
|
+
transform(highlightText: string, stringToBeChecked: string, additionalClasses?: string): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightTextPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightTextPipe, "highlightText">;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './highlight-text.pipe';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
|
+
/**
|
|
3
|
+
* @public @function escapeRegex
|
|
4
|
+
* @description
|
|
5
|
+
* Function responsible for substitution of chars that are a no-go for regex
|
|
6
|
+
* @param { string } phrase
|
|
7
|
+
* @returns { string }
|
|
8
|
+
*/
|
|
9
|
+
export declare const escapeRegex: (phrase: string) => string;
|
|
10
|
+
/**
|
|
11
|
+
* @public @function highlightSearchedText
|
|
12
|
+
* @description
|
|
13
|
+
* Function responsible for returning html string
|
|
14
|
+
* with included marker that contains string that matches
|
|
15
|
+
* provided search phrase
|
|
16
|
+
* @param { string } highlightText
|
|
17
|
+
* @param { string } stringToBeChecked
|
|
18
|
+
* @param { string } existingHtmlContent
|
|
19
|
+
* @param { string } additionalClasses
|
|
20
|
+
* @param { string } sanitizer
|
|
21
|
+
* @returns { string }
|
|
22
|
+
*/
|
|
23
|
+
export declare const highlightSearchedText: (highlightText: string, stringToBeChecked: string, existingHtmlContent: string, sanitizer: DomSanitizer, additionalClasses?: string | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './highlight-text.utils';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SdsMessageComponent implements OnInit {
|
|
5
|
+
icon?: IconProp;
|
|
6
|
+
text: string;
|
|
7
|
+
showCloseButton: boolean;
|
|
8
|
+
close: EventEmitter<void>;
|
|
9
|
+
showLearnMoreLink: boolean;
|
|
10
|
+
learnMoreLinkText: string;
|
|
11
|
+
learnMoreLinkUrl: string;
|
|
12
|
+
showMessage: boolean;
|
|
13
|
+
constructor();
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
onCloseButtonClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsMessageComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsMessageComponent, "sds-message", never, { "icon": "icon"; "text": "text"; "showCloseButton": "showCloseButton"; "showLearnMoreLink": "showLearnMoreLink"; "learnMoreLinkText": "learnMoreLinkText"; "learnMoreLinkUrl": "learnMoreLinkUrl"; }, { "close": "close"; }, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./message.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@fortawesome/angular-fontawesome";
|
|
5
|
+
export declare class SdsMessageModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsMessageModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsMessageModule, [typeof i1.SdsMessageComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule], [typeof i1.SdsMessageComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SdsMessageModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
3
|
+
"es2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
4
|
+
"esm2020": "../../../esm2020/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
5
|
+
"fesm2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
6
|
+
"fesm2015": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-message.mjs",
|
|
7
|
+
"typings": "spicainternational-ngx-sds-components-src-lib-message.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@spicainternational/ngx-sds-components/src/lib/message"
|
|
10
|
+
}
|
|
@@ -35,6 +35,7 @@ export declare class SdsDialogComponent implements OnInit {
|
|
|
35
35
|
onSecondaryClick(): void;
|
|
36
36
|
onPrimaryClick(): void;
|
|
37
37
|
onCloseClick(): void;
|
|
38
|
+
onCloseEscapeKeypress(): void;
|
|
38
39
|
onModalClose(): void;
|
|
39
40
|
onModalOpen(): void;
|
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDialogComponent, never>;
|
|
@@ -16,6 +16,7 @@ export declare class SdsModalComponent implements OnInit {
|
|
|
16
16
|
modalOpen: EventEmitter<void>;
|
|
17
17
|
modalClose: EventEmitter<void>;
|
|
18
18
|
closeClick: EventEmitter<void>;
|
|
19
|
+
closeEscapeKeypress: EventEmitter<void>;
|
|
19
20
|
closeIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
21
|
isOpen: boolean;
|
|
21
22
|
private _modal;
|
|
@@ -27,5 +28,5 @@ export declare class SdsModalComponent implements OnInit {
|
|
|
27
28
|
onCloseButtonClick(): void;
|
|
28
29
|
onKeydown(event: KeyboardEvent): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsModalComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdsModalComponent, "sds-modal", never, { "modalTitle": "modalTitle"; "showHeader": "showHeader"; "showFooter": "showFooter"; "size": "size"; "modalDialogId": "modalDialogId"; "showCloseButton": "showCloseButton"; "autoFocusCloseButton": "autoFocusCloseButton"; "translations": "translations"; "isScrollable": "isScrollable"; "closeOnEscape": "closeOnEscape"; }, { "modalOpen": "modalOpen"; "modalClose": "modalClose"; "closeClick": "closeClick"; }, ["headerContent"], ["header", "*", "footer"]>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsModalComponent, "sds-modal", never, { "modalTitle": "modalTitle"; "showHeader": "showHeader"; "showFooter": "showFooter"; "size": "size"; "modalDialogId": "modalDialogId"; "showCloseButton": "showCloseButton"; "autoFocusCloseButton": "autoFocusCloseButton"; "translations": "translations"; "isScrollable": "isScrollable"; "closeOnEscape": "closeOnEscape"; }, { "modalOpen": "modalOpen"; "modalClose": "modalClose"; "closeClick": "closeClick"; "closeEscapeKeypress": "closeEscapeKeypress"; }, ["headerContent"], ["header", "*", "footer"]>;
|
|
31
32
|
}
|