@bpost/bp-address-auto-complete-by-component 1.1.6 → 1.1.7
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/VERSION.md +197 -0
- package/esm2022/lib/box-number/box-number.component.mjs +939 -0
- package/esm2022/lib/lib-address-autocomplete-by-component.component.mjs +1432 -0
- package/esm2022/lib/lib-address-autocomplete-by-component.module.mjs +45 -0
- package/esm2022/lib/lib-address-autocomplete-by-component.service.mjs +17 -0
- package/esm2022/lib/locality/locality.component.mjs +832 -0
- package/esm2022/lib/model/Box.mjs +35 -0
- package/esm2022/lib/model/Locality.mjs +35 -0
- package/esm2022/lib/model/Street.mjs +35 -0
- package/esm2022/lib/model/query-parameters.model.mjs +23 -0
- package/esm2022/lib/services/adress.service.mjs +69 -0
- package/esm2022/lib/services/http.service.mjs +61 -0
- package/esm2022/lib/services/locale.service.mjs +39 -0
- package/esm2022/lib/services/nis9.service.mjs +28 -0
- package/esm2022/lib/services/unicode.service.mjs +380 -0
- package/esm2022/lib/street/street.component.mjs +809 -0
- package/esm2022/lib/street-number/street-number.component.mjs +1026 -0
- package/{esm2020 → esm2022}/lib/utils/constants.mjs +2 -2
- package/esm2022/lib/utils/domhandler.mjs +51 -0
- package/esm2022/lib/utils/highlight-suggestion.pipe.mjs +76 -0
- package/esm2022/lib/utils/prefill-data.mjs +26 -0
- package/esm2022/lib/utils/prefilled-parameters.mjs +25 -0
- package/esm2022/lib/utils/preflll.event.mjs +9 -0
- package/esm2022/lib/utils/visible-suggestion.directive.mjs +41 -0
- package/{fesm2015 → fesm2022}/bpost-bp-address-auto-complete-by-component.mjs +1623 -1255
- package/fesm2022/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
- package/install-and-start-demo.bat +11 -0
- package/lib/box-number/box-number.component.d.ts +5 -1
- package/lib/lib-address-autocomplete-by-component.component.d.ts +8 -1
- package/lib/lib-address-autocomplete-by-component.module.d.ts +0 -15
- package/lib/locality/locality.component.d.ts +5 -1
- package/lib/street/street.component.d.ts +5 -1
- package/lib/street-number/street-number.component.d.ts +5 -1
- package/package.json +7 -13
- package/tutorial/aacwidget-tutorial/.editorconfig +16 -0
- package/tutorial/aacwidget-tutorial/angular.json +128 -0
- package/tutorial/aacwidget-tutorial/browserslist +13 -0
- package/tutorial/aacwidget-tutorial/e2e/protractor.conf.js +32 -0
- package/tutorial/aacwidget-tutorial/e2e/src/app.e2e-spec.ts +23 -0
- package/tutorial/aacwidget-tutorial/e2e/src/app.po.ts +11 -0
- package/tutorial/aacwidget-tutorial/e2e/tsconfig.json +13 -0
- package/tutorial/aacwidget-tutorial/karma.conf.js +32 -0
- package/tutorial/aacwidget-tutorial/package-lock.json +13314 -0
- package/tutorial/aacwidget-tutorial/src/app/app-routing.module.ts +18 -0
- package/tutorial/aacwidget-tutorial/src/app/app.component.html +6 -0
- package/tutorial/aacwidget-tutorial/src/app/app.component.scss +0 -0
- package/tutorial/aacwidget-tutorial/src/app/app.component.spec.ts +35 -0
- package/tutorial/aacwidget-tutorial/src/app/app.component.ts +28 -0
- package/tutorial/aacwidget-tutorial/src/app/app.module.ts +47 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.html +57 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.scss +0 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.ts +160 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.html +20 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.scss +0 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.spec.ts +25 -0
- package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.ts +49 -0
- package/tutorial/aacwidget-tutorial/src/assets/.gitkeep +0 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/de.json +62 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/en.json +62 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/fr.json +62 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/nl.json +62 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-custom.scss +81 -0
- package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-default.scss +424 -0
- package/tutorial/aacwidget-tutorial/src/environments/environment.prod.ts +3 -0
- package/tutorial/aacwidget-tutorial/src/environments/environment.ts +16 -0
- package/tutorial/aacwidget-tutorial/src/favicon.ico +0 -0
- package/tutorial/aacwidget-tutorial/src/index.html +45 -0
- package/tutorial/aacwidget-tutorial/src/main.ts +12 -0
- package/tutorial/aacwidget-tutorial/src/polyfills.ts +63 -0
- package/tutorial/aacwidget-tutorial/src/styles.scss +4 -0
- package/tutorial/aacwidget-tutorial/src/test.ts +25 -0
- package/tutorial/aacwidget-tutorial/tsconfig.app.json +15 -0
- package/tutorial/aacwidget-tutorial/tsconfig.json +23 -0
- package/tutorial/aacwidget-tutorial/tsconfig.spec.json +18 -0
- package/tutorial/aacwidget-tutorial/tslint.json +148 -0
- package/tutorial/tutorial-videos.txt +41 -0
- package/esm2020/lib/box-number/box-number.component.mjs +0 -873
- package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +0 -1383
- package/esm2020/lib/lib-address-autocomplete-by-component.module.mjs +0 -65
- package/esm2020/lib/lib-address-autocomplete-by-component.service.mjs +0 -14
- package/esm2020/lib/locality/locality.component.mjs +0 -747
- package/esm2020/lib/model/Box.mjs +0 -30
- package/esm2020/lib/model/Locality.mjs +0 -30
- package/esm2020/lib/model/Street.mjs +0 -30
- package/esm2020/lib/model/query-parameters.model.mjs +0 -21
- package/esm2020/lib/services/adress.service.mjs +0 -64
- package/esm2020/lib/services/http.service.mjs +0 -57
- package/esm2020/lib/services/locale.service.mjs +0 -37
- package/esm2020/lib/services/nis9.service.mjs +0 -26
- package/esm2020/lib/services/unicode.service.mjs +0 -376
- package/esm2020/lib/street/street.component.mjs +0 -735
- package/esm2020/lib/street-number/street-number.component.mjs +0 -967
- package/esm2020/lib/utils/domhandler.mjs +0 -47
- package/esm2020/lib/utils/highlight-suggestion.pipe.mjs +0 -62
- package/esm2020/lib/utils/prefill-data.mjs +0 -24
- package/esm2020/lib/utils/prefilled-parameters.mjs +0 -23
- package/esm2020/lib/utils/preflll.event.mjs +0 -7
- package/esm2020/lib/utils/visible-suggestion.directive.mjs +0 -39
- package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +0 -1
- package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs +0 -5592
- package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +0 -1
- /package/{esm2020 → esm2022}/bpost-bp-address-auto-complete-by-component.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/address-level.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/input-name.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/source-type.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/suggestion-level-type.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/validation-message-option-type.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/enum/validation-message-type.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{bpost-bp-address-auto-complete-by-component.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
call rmdir demo /Q /S
|
|
2
|
+
call mkdir demo
|
|
3
|
+
cd demo
|
|
4
|
+
call npm init -y
|
|
5
|
+
call npm i @bpost/bp-address-auto-complete-by-component-demo-application --save
|
|
6
|
+
call xcopy .\node_modules\@bpost\bp-address-auto-complete-by-component-demo-application\*.* . /S /Y
|
|
7
|
+
call npm i
|
|
8
|
+
echo call ./node_modules/.bin/ng serve --port 4210 -o > run-demo.bat
|
|
9
|
+
call run-demo.bat
|
|
10
|
+
|
|
11
|
+
|
|
@@ -33,6 +33,9 @@ export declare class BoxNumberComponent implements OnInit, AfterViewChecked, OnC
|
|
|
33
33
|
streetNumber: string;
|
|
34
34
|
selectedAddress: any;
|
|
35
35
|
notInListAllowed: boolean;
|
|
36
|
+
allowNoValidation: boolean;
|
|
37
|
+
validatedByBackend: boolean;
|
|
38
|
+
numberOfExceptions: number;
|
|
36
39
|
set inputLang(val: string);
|
|
37
40
|
messageOption: string;
|
|
38
41
|
µ: any;
|
|
@@ -50,6 +53,7 @@ export declare class BoxNumberComponent implements OnInit, AfterViewChecked, OnC
|
|
|
50
53
|
clearInputEventEmitter: EventEmitter<string>;
|
|
51
54
|
prefillEventEmitter: EventEmitter<PrefillEvent>;
|
|
52
55
|
boxNumberChanged: EventEmitter<string>;
|
|
56
|
+
numberOfExceptionsEmitter: EventEmitter<any>;
|
|
53
57
|
searchText: string;
|
|
54
58
|
addressIsValidated: boolean;
|
|
55
59
|
suggestionValidationMessage: string;
|
|
@@ -142,5 +146,5 @@ export declare class BoxNumberComponent implements OnInit, AfterViewChecked, OnC
|
|
|
142
146
|
isDisabled(): boolean;
|
|
143
147
|
onInputClick(): void;
|
|
144
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<BoxNumberComponent, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BoxNumberComponent, "bp-box-number", never, { "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "addressParams": "addressParams"; "postalCode": "postalCode"; "locality": "locality"; "streetName": "streetName"; "streetNumber": "streetNumber"; "selectedAddress": "selectedAddress"; "notInListAllowed": "notInListAllowed"; "inputLang": "inputLang"; "messageOption": "messageOption"; "isReadonly": "isReadonly"; "suggestionLevel": "suggestionLevel"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "emptyResponseEvent": "emptyResponseEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "boxNumberChanged": "boxNumberChanged"; }, never, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxNumberComponent, "bp-box-number", never, { "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "addressParams": "addressParams"; "postalCode": "postalCode"; "locality": "locality"; "streetName": "streetName"; "streetNumber": "streetNumber"; "selectedAddress": "selectedAddress"; "notInListAllowed": "notInListAllowed"; "allowNoValidation": "allowNoValidation"; "validatedByBackend": "validatedByBackend"; "numberOfExceptions": "numberOfExceptions"; "inputLang": "inputLang"; "messageOption": "messageOption"; "isReadonly": "isReadonly"; "suggestionLevel": "suggestionLevel"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "emptyResponseEvent": "emptyResponseEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "boxNumberChanged": "boxNumberChanged"; "numberOfExceptionsEmitter": "numberOfExceptionsEmitter"; }, never, never>;
|
|
146
150
|
}
|
|
@@ -58,6 +58,9 @@ export declare class LibAddressAutocompleteByComponentComponent implements OnIni
|
|
|
58
58
|
maxSuggestionBoxNb: number;
|
|
59
59
|
visibleSuggestionBoxNbCount: number;
|
|
60
60
|
sortCriteriaBoxNb: string;
|
|
61
|
+
allowNoValidation: number;
|
|
62
|
+
validatedByBackend: boolean;
|
|
63
|
+
numberOfExceptions: number;
|
|
61
64
|
boxNumberPrefillData: PrefillData;
|
|
62
65
|
suggestionLevel: SuggestionLevelType;
|
|
63
66
|
boxNumber: string;
|
|
@@ -80,6 +83,8 @@ export declare class LibAddressAutocompleteByComponentComponent implements OnIni
|
|
|
80
83
|
addressCompleteEventEmitter: EventEmitter<any>;
|
|
81
84
|
validationMessageEventEmitter: EventEmitter<any>;
|
|
82
85
|
clearInputEventEmitter: EventEmitter<string>;
|
|
86
|
+
validatedByBackendEventEmitter: EventEmitter<boolean>;
|
|
87
|
+
numberOfExceptionsEventEmitter: EventEmitter<number>;
|
|
83
88
|
prefillData: PrefillData;
|
|
84
89
|
processingPrefillData: boolean;
|
|
85
90
|
apiKey: string;
|
|
@@ -116,6 +121,8 @@ export declare class LibAddressAutocompleteByComponentComponent implements OnIni
|
|
|
116
121
|
messageType: ValidationMessageType;
|
|
117
122
|
translatedMessage: string;
|
|
118
123
|
}): void;
|
|
124
|
+
setNumberOfExceptions(event: any): void;
|
|
125
|
+
setValidatedByBackend(event: any): void;
|
|
119
126
|
updatePostalCodeLocality(address: any): void;
|
|
120
127
|
updateStreetName(address: any): void;
|
|
121
128
|
updateStreetNumber(address: any): void;
|
|
@@ -131,5 +138,5 @@ export declare class LibAddressAutocompleteByComponentComponent implements OnIni
|
|
|
131
138
|
onBoxNumberPrefillEvent_new(event: PrefillEvent): void;
|
|
132
139
|
onBoxNumberPrefillEvent(event: PrefillEvent): void;
|
|
133
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibAddressAutocompleteByComponentComponent, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibAddressAutocompleteByComponentComponent, "bp-lib-address-autocomplete-by-component", never, { "inputLang": "inputLang"; "clearInput": "clearInput"; "validationMessageOption": "validationMessageOption"; "defaultLang": "defaultLang"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "minLevel": "minLevel"; "notInListAllowed": "notInListAllowed"; "addressParams": "addressParams"; "messageOption": "messageOption"; "localityUrl": "localityUrl"; "maxSuggestionLocality": "maxSuggestionLocality"; "visibleSuggestionLocalityCount": "visibleSuggestionLocalityCount"; "sortCriteriaLocality": "sortCriteriaLocality"; "streetUrl": "streetUrl"; "maxSuggestionStreet": "maxSuggestionStreet"; "visibleSuggestionStreetCount": "visibleSuggestionStreetCount"; "sortCriteriaStreet": "sortCriteriaStreet"; "streetNumberUrl": "streetNumberUrl"; "maxSuggestionStreetNb": "maxSuggestionStreetNb"; "visibleSuggestionStreetNbCount": "visibleSuggestionStreetNbCount"; "sortCriteriaStreetNb": "sortCriteriaStreetNb"; "boxNumberUrl": "boxNumberUrl"; "maxSuggestionBoxNb": "maxSuggestionBoxNb"; "visibleSuggestionBoxNbCount": "visibleSuggestionBoxNbCount"; "sortCriteriaBoxNb": "sortCriteriaBoxNb"; "suggestionLevel": "suggestionLevel"; "apiKey": "apiKey"; "isReadonly": "isReadonly"; "nis9InResponse": "nis9InResponse"; "nis9ServiceURL": "nis9ServiceURL"; }, { "addressCompleteEventEmitter": "addressCompleteEventEmitter"; "validationMessageEventEmitter": "validationMessageEventEmitter"; "clearInputEventEmitter": "clearInputEventEmitter"; }, never, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibAddressAutocompleteByComponentComponent, "bp-lib-address-autocomplete-by-component", never, { "inputLang": "inputLang"; "clearInput": "clearInput"; "validationMessageOption": "validationMessageOption"; "defaultLang": "defaultLang"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "minLevel": "minLevel"; "notInListAllowed": "notInListAllowed"; "addressParams": "addressParams"; "messageOption": "messageOption"; "localityUrl": "localityUrl"; "maxSuggestionLocality": "maxSuggestionLocality"; "visibleSuggestionLocalityCount": "visibleSuggestionLocalityCount"; "sortCriteriaLocality": "sortCriteriaLocality"; "streetUrl": "streetUrl"; "maxSuggestionStreet": "maxSuggestionStreet"; "visibleSuggestionStreetCount": "visibleSuggestionStreetCount"; "sortCriteriaStreet": "sortCriteriaStreet"; "streetNumberUrl": "streetNumberUrl"; "maxSuggestionStreetNb": "maxSuggestionStreetNb"; "visibleSuggestionStreetNbCount": "visibleSuggestionStreetNbCount"; "sortCriteriaStreetNb": "sortCriteriaStreetNb"; "boxNumberUrl": "boxNumberUrl"; "maxSuggestionBoxNb": "maxSuggestionBoxNb"; "visibleSuggestionBoxNbCount": "visibleSuggestionBoxNbCount"; "sortCriteriaBoxNb": "sortCriteriaBoxNb"; "allowNoValidation": "allowNoValidation"; "validatedByBackend": "validatedByBackend"; "numberOfExceptions": "numberOfExceptions"; "suggestionLevel": "suggestionLevel"; "apiKey": "apiKey"; "isReadonly": "isReadonly"; "nis9InResponse": "nis9InResponse"; "nis9ServiceURL": "nis9ServiceURL"; }, { "addressCompleteEventEmitter": "addressCompleteEventEmitter"; "validationMessageEventEmitter": "validationMessageEventEmitter"; "clearInputEventEmitter": "clearInputEventEmitter"; "validatedByBackendEventEmitter": "validatedByBackendEventEmitter"; "numberOfExceptionsEventEmitter": "numberOfExceptionsEventEmitter"; }, never, never>;
|
|
135
142
|
}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./utils/highlight-suggestion.pipe";
|
|
3
|
-
import * as i2 from "./utils/visible-suggestion.directive";
|
|
4
|
-
import * as i3 from "./lib-address-autocomplete-by-component.component";
|
|
5
|
-
import * as i4 from "./locality/locality.component";
|
|
6
|
-
import * as i5 from "./street/street.component";
|
|
7
|
-
import * as i6 from "./street-number/street-number.component";
|
|
8
|
-
import * as i7 from "./box-number/box-number.component";
|
|
9
|
-
import * as i8 from "@angular/common";
|
|
10
|
-
import * as i9 from "@angular/common/http";
|
|
11
|
-
import * as i10 from "@angular/forms";
|
|
12
|
-
import * as i11 from "@ngx-translate/core";
|
|
13
1
|
export declare class LibAddressAutocompleteByComponentModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LibAddressAutocompleteByComponentModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LibAddressAutocompleteByComponentModule, [typeof i1.HighlightSuggestionPipe, typeof i2.VisibleSuggestionDirective, typeof i3.LibAddressAutocompleteByComponentComponent, typeof i4.LocalityComponent, typeof i5.StreetComponent, typeof i6.StreetNumberComponent, typeof i7.BoxNumberComponent], [typeof i8.CommonModule, typeof i9.HttpClientModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.TranslateModule], [typeof i3.LibAddressAutocompleteByComponentComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LibAddressAutocompleteByComponentModule>;
|
|
17
2
|
}
|
|
@@ -28,6 +28,9 @@ export declare class LocalityComponent implements OnInit, OnChanges, OnDestroy,
|
|
|
28
28
|
showDebugMessageToConsole: boolean;
|
|
29
29
|
set inputLang(val: string);
|
|
30
30
|
isReadonly: boolean;
|
|
31
|
+
allowNoValidation: boolean;
|
|
32
|
+
validatedByBackend: boolean;
|
|
33
|
+
numberOfExceptions: number;
|
|
31
34
|
messageChanged: EventEmitter<{
|
|
32
35
|
messageType: ValidationMessageType;
|
|
33
36
|
translatedMessage: string;
|
|
@@ -38,6 +41,7 @@ export declare class LocalityComponent implements OnInit, OnChanges, OnDestroy,
|
|
|
38
41
|
textChangeEvent: EventEmitter<any>;
|
|
39
42
|
clearInputEventEmitter: EventEmitter<string>;
|
|
40
43
|
prefillEventEmitter: EventEmitter<PrefillEvent>;
|
|
44
|
+
numberOfExceptionsEmitter: EventEmitter<any>;
|
|
41
45
|
addressIsValidated: boolean;
|
|
42
46
|
bpTypeAhead: string;
|
|
43
47
|
collapseDropdown: boolean;
|
|
@@ -118,5 +122,5 @@ export declare class LocalityComponent implements OnInit, OnChanges, OnDestroy,
|
|
|
118
122
|
setSearchText(value: any): void;
|
|
119
123
|
setSearchTextBasedOnArrowSelection(newVal: any, oldVal: any): void;
|
|
120
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalityComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LocalityComponent, "bp-locality", never, { "labelResourceKey": "labelResourceKey"; "messageOption": "messageOption"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggestionCount": "visibleSuggestionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "inputText": "inputText"; "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "inputLang": "inputLang"; "isReadonly": "isReadonly"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; }, never, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocalityComponent, "bp-locality", never, { "labelResourceKey": "labelResourceKey"; "messageOption": "messageOption"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggestionCount": "visibleSuggestionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "inputText": "inputText"; "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "inputLang": "inputLang"; "isReadonly": "isReadonly"; "allowNoValidation": "allowNoValidation"; "validatedByBackend": "validatedByBackend"; "numberOfExceptions": "numberOfExceptions"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "numberOfExceptionsEmitter": "numberOfExceptionsEmitter"; }, never, never>;
|
|
122
126
|
}
|
|
@@ -28,6 +28,9 @@ export declare class StreetComponent implements OnInit, AfterViewChecked, OnChan
|
|
|
28
28
|
locality: string;
|
|
29
29
|
inputText: string;
|
|
30
30
|
messageOption: string;
|
|
31
|
+
allowNoValidation: boolean;
|
|
32
|
+
validatedByBackend: boolean;
|
|
33
|
+
numberOfExceptions: number;
|
|
31
34
|
set inputLang(val: string);
|
|
32
35
|
isReadonly: boolean;
|
|
33
36
|
messageChanged: EventEmitter<{
|
|
@@ -40,6 +43,7 @@ export declare class StreetComponent implements OnInit, AfterViewChecked, OnChan
|
|
|
40
43
|
textChangeEvent: EventEmitter<any>;
|
|
41
44
|
clearInputEventEmitter: EventEmitter<string>;
|
|
42
45
|
prefillEventEmitter: EventEmitter<PrefillEvent>;
|
|
46
|
+
numberOfExceptionsEmitter: EventEmitter<any>;
|
|
43
47
|
searchText: string;
|
|
44
48
|
addressIsValidated: boolean;
|
|
45
49
|
suggestionValidationMessage: string;
|
|
@@ -126,5 +130,5 @@ export declare class StreetComponent implements OnInit, AfterViewChecked, OnChan
|
|
|
126
130
|
isDisabled(): boolean;
|
|
127
131
|
onInputClick(): void;
|
|
128
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<StreetComponent, never>;
|
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StreetComponent, "bp-street", never, { "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "postalCode": "postalCode"; "locality": "locality"; "inputText": "inputText"; "messageOption": "messageOption"; "inputLang": "inputLang"; "isReadonly": "isReadonly"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; }, never, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StreetComponent, "bp-street", never, { "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "postalCode": "postalCode"; "locality": "locality"; "inputText": "inputText"; "messageOption": "messageOption"; "allowNoValidation": "allowNoValidation"; "validatedByBackend": "validatedByBackend"; "numberOfExceptions": "numberOfExceptions"; "inputLang": "inputLang"; "isReadonly": "isReadonly"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "numberOfExceptionsEmitter": "numberOfExceptionsEmitter"; }, never, never>;
|
|
130
134
|
}
|
|
@@ -32,6 +32,9 @@ export declare class StreetNumberComponent implements OnInit, AfterViewChecked,
|
|
|
32
32
|
streetName: string;
|
|
33
33
|
notInListAllowed: boolean;
|
|
34
34
|
selectedAddress: any;
|
|
35
|
+
allowNoValidation: boolean;
|
|
36
|
+
validatedByBackend: boolean;
|
|
37
|
+
numberOfExceptions: number;
|
|
35
38
|
set inputLang(val: string);
|
|
36
39
|
messageOption: string;
|
|
37
40
|
inputText: string;
|
|
@@ -49,6 +52,7 @@ export declare class StreetNumberComponent implements OnInit, AfterViewChecked,
|
|
|
49
52
|
clearInputEventEmitter: EventEmitter<string>;
|
|
50
53
|
prefillEventEmitter: EventEmitter<PrefillEvent>;
|
|
51
54
|
streetNumberChanged: EventEmitter<string>;
|
|
55
|
+
numberOfExceptionsEmitter: EventEmitter<any>;
|
|
52
56
|
searchText: string;
|
|
53
57
|
addressIsValidated: boolean;
|
|
54
58
|
addressIsComplete: boolean;
|
|
@@ -142,5 +146,5 @@ export declare class StreetNumberComponent implements OnInit, AfterViewChecked,
|
|
|
142
146
|
isDisabled(): boolean;
|
|
143
147
|
onInputClick(): void;
|
|
144
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<StreetNumberComponent, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StreetNumberComponent, "bp-street-number", never, { "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "addressParams": "addressParams"; "postalCode": "postalCode"; "locality": "locality"; "streetName": "streetName"; "notInListAllowed": "notInListAllowed"; "selectedAddress": "selectedAddress"; "inputLang": "inputLang"; "messageOption": "messageOption"; "inputText": "inputText"; "isReadonly": "isReadonly"; "suggestionLevel": "suggestionLevel"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "emptyResponseEvent": "emptyResponseEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "streetNumberChanged": "streetNumberChanged"; }, never, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StreetNumberComponent, "bp-street-number", never, { "prefillData": "prefillData"; "showDebugMessageToConsole": "showDebugMessageToConsole"; "labelResourceKey": "labelResourceKey"; "maxSuggesionCount": "maxSuggesionCount"; "visibleSuggesionCount": "visibleSuggesionCount"; "sortCriteria": "sortCriteria"; "baseUrl": "baseUrl"; "addressParams": "addressParams"; "postalCode": "postalCode"; "locality": "locality"; "streetName": "streetName"; "notInListAllowed": "notInListAllowed"; "selectedAddress": "selectedAddress"; "allowNoValidation": "allowNoValidation"; "validatedByBackend": "validatedByBackend"; "numberOfExceptions": "numberOfExceptions"; "inputLang": "inputLang"; "messageOption": "messageOption"; "inputText": "inputText"; "isReadonly": "isReadonly"; "suggestionLevel": "suggestionLevel"; }, { "messageChanged": "messageChanged"; "addressChanged": "addressChanged"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; "textChangeEvent": "textChangeEvent"; "emptyResponseEvent": "emptyResponseEvent"; "clearInputEventEmitter": "clearInputEventEmitter"; "prefillEventEmitter": "prefillEventEmitter"; "streetNumberChanged": "streetNumberChanged"; "numberOfExceptionsEmitter": "numberOfExceptionsEmitter"; }, never, never>;
|
|
146
150
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpost/bp-address-auto-complete-by-component",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.2.0",
|
|
6
6
|
"@angular/core": "^13.2.0"
|
|
@@ -8,23 +8,17 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.3.0"
|
|
10
10
|
},
|
|
11
|
-
"module": "
|
|
12
|
-
"
|
|
13
|
-
"esm2020": "esm2020/bpost-bp-address-auto-complete-by-component.mjs",
|
|
14
|
-
"fesm2020": "fesm2020/bpost-bp-address-auto-complete-by-component.mjs",
|
|
15
|
-
"fesm2015": "fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
|
|
16
|
-
"typings": "bpost-bp-address-auto-complete-by-component.d.ts",
|
|
11
|
+
"module": "fesm2022/bpost-bp-address-auto-complete-by-component.mjs",
|
|
12
|
+
"typings": "index.d.ts",
|
|
17
13
|
"exports": {
|
|
18
14
|
"./package.json": {
|
|
19
15
|
"default": "./package.json"
|
|
20
16
|
},
|
|
21
17
|
".": {
|
|
22
|
-
"types": "./
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"node": "./fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
|
|
27
|
-
"default": "./fesm2020/bpost-bp-address-auto-complete-by-component.mjs"
|
|
18
|
+
"types": "./index.d.ts",
|
|
19
|
+
"esm2022": "./esm2022/bpost-bp-address-auto-complete-by-component.mjs",
|
|
20
|
+
"esm": "./esm2022/bpost-bp-address-auto-complete-by-component.mjs",
|
|
21
|
+
"default": "./fesm2022/bpost-bp-address-auto-complete-by-component.mjs"
|
|
28
22
|
}
|
|
29
23
|
},
|
|
30
24
|
"sideEffects": false
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Editor configuration, see https://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
insert_final_newline = true
|
|
9
|
+
trim_trailing_whitespace = true
|
|
10
|
+
|
|
11
|
+
[*.ts]
|
|
12
|
+
quote_type = single
|
|
13
|
+
|
|
14
|
+
[*.md]
|
|
15
|
+
max_line_length = off
|
|
16
|
+
trim_trailing_whitespace = false
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"aacwidget-demo": {
|
|
7
|
+
"projectType": "application",
|
|
8
|
+
"schematics": {
|
|
9
|
+
"@schematics/angular:component": {
|
|
10
|
+
"style": "scss"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"root": "",
|
|
14
|
+
"sourceRoot": "src",
|
|
15
|
+
"prefix": "app",
|
|
16
|
+
"architect": {
|
|
17
|
+
"build": {
|
|
18
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
19
|
+
"options": {
|
|
20
|
+
"outputPath": "dist/aacwidget-demo",
|
|
21
|
+
"index": "src/index.html",
|
|
22
|
+
"main": "src/main.ts",
|
|
23
|
+
"polyfills": "src/polyfills.ts",
|
|
24
|
+
"tsConfig": "tsconfig.app.json",
|
|
25
|
+
"aot": true,
|
|
26
|
+
"assets": [
|
|
27
|
+
"src/favicon.ico",
|
|
28
|
+
"src/assets"
|
|
29
|
+
],
|
|
30
|
+
"styles": [
|
|
31
|
+
"src/styles.scss"
|
|
32
|
+
],
|
|
33
|
+
"scripts": []
|
|
34
|
+
},
|
|
35
|
+
"configurations": {
|
|
36
|
+
"production": {
|
|
37
|
+
"fileReplacements": [
|
|
38
|
+
{
|
|
39
|
+
"replace": "src/environments/environment.ts",
|
|
40
|
+
"with": "src/environments/environment.prod.ts"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"optimization": true,
|
|
44
|
+
"outputHashing": "all",
|
|
45
|
+
"sourceMap": false,
|
|
46
|
+
"extractCss": true,
|
|
47
|
+
"namedChunks": false,
|
|
48
|
+
"extractLicenses": true,
|
|
49
|
+
"vendorChunk": false,
|
|
50
|
+
"buildOptimizer": true,
|
|
51
|
+
"budgets": [
|
|
52
|
+
{
|
|
53
|
+
"type": "initial",
|
|
54
|
+
"maximumWarning": "2mb",
|
|
55
|
+
"maximumError": "5mb"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "anyComponentStyle",
|
|
59
|
+
"maximumWarning": "6kb",
|
|
60
|
+
"maximumError": "10kb"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"serve": {
|
|
67
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
68
|
+
"options": {
|
|
69
|
+
"browserTarget": "aacwidget-demo:build"
|
|
70
|
+
},
|
|
71
|
+
"configurations": {
|
|
72
|
+
"production": {
|
|
73
|
+
"browserTarget": "aacwidget-demo:build:production"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"extract-i18n": {
|
|
78
|
+
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
79
|
+
"options": {
|
|
80
|
+
"browserTarget": "aacwidget-demo:build"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"test": {
|
|
84
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
85
|
+
"options": {
|
|
86
|
+
"main": "src/test.ts",
|
|
87
|
+
"polyfills": "src/polyfills.ts",
|
|
88
|
+
"tsConfig": "tsconfig.spec.json",
|
|
89
|
+
"karmaConfig": "karma.conf.js",
|
|
90
|
+
"assets": [
|
|
91
|
+
"src/favicon.ico",
|
|
92
|
+
"src/assets"
|
|
93
|
+
],
|
|
94
|
+
"styles": [
|
|
95
|
+
"src/styles.scss"
|
|
96
|
+
],
|
|
97
|
+
"scripts": []
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"lint": {
|
|
101
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
102
|
+
"options": {
|
|
103
|
+
"tsConfig": [
|
|
104
|
+
"tsconfig.app.json",
|
|
105
|
+
"tsconfig.spec.json",
|
|
106
|
+
"e2e/tsconfig.json"
|
|
107
|
+
],
|
|
108
|
+
"exclude": [
|
|
109
|
+
"**/node_modules/**"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"e2e": {
|
|
114
|
+
"builder": "@angular-devkit/build-angular:protractor",
|
|
115
|
+
"options": {
|
|
116
|
+
"protractorConfig": "e2e/protractor.conf.js",
|
|
117
|
+
"devServerTarget": "aacwidget-demo:serve"
|
|
118
|
+
},
|
|
119
|
+
"configurations": {
|
|
120
|
+
"production": {
|
|
121
|
+
"devServerTarget": "aacwidget-demo:serve:production"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}},
|
|
127
|
+
"defaultProject": "aacwidget-demo"
|
|
128
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
2
|
+
# For additional information regarding the format and rule options, please see:
|
|
3
|
+
# https://github.com/browserslist/browserslist#queries
|
|
4
|
+
|
|
5
|
+
# You can see what browsers were selected by your queries by running:
|
|
6
|
+
# npx browserslist
|
|
7
|
+
|
|
8
|
+
> 0.5%
|
|
9
|
+
last 2 versions
|
|
10
|
+
Firefox ESR
|
|
11
|
+
not dead
|
|
12
|
+
# not IE 9-11 # For IE 9-11 support, remove 'not'.
|
|
13
|
+
IE 9-11
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
// Protractor configuration file, see link for more information
|
|
3
|
+
// https://github.com/angular/protractor/blob/master/lib/config.ts
|
|
4
|
+
|
|
5
|
+
const { SpecReporter } = require('jasmine-spec-reporter');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @type { import("protractor").Config }
|
|
9
|
+
*/
|
|
10
|
+
exports.config = {
|
|
11
|
+
allScriptsTimeout: 11000,
|
|
12
|
+
specs: [
|
|
13
|
+
'./src/**/*.e2e-spec.ts'
|
|
14
|
+
],
|
|
15
|
+
capabilities: {
|
|
16
|
+
browserName: 'chrome'
|
|
17
|
+
},
|
|
18
|
+
directConnect: true,
|
|
19
|
+
baseUrl: 'http://localhost:4200/',
|
|
20
|
+
framework: 'jasmine',
|
|
21
|
+
jasmineNodeOpts: {
|
|
22
|
+
showColors: true,
|
|
23
|
+
defaultTimeoutInterval: 30000,
|
|
24
|
+
print: function() {}
|
|
25
|
+
},
|
|
26
|
+
onPrepare() {
|
|
27
|
+
require('ts-node').register({
|
|
28
|
+
project: require('path').join(__dirname, './tsconfig.json')
|
|
29
|
+
});
|
|
30
|
+
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AppPage } from './app.po';
|
|
2
|
+
import { browser, logging } from 'protractor';
|
|
3
|
+
|
|
4
|
+
describe('workspace-project App', () => {
|
|
5
|
+
let page: AppPage;
|
|
6
|
+
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
page = new AppPage();
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
it('should display welcome message', () => {
|
|
12
|
+
page.navigateTo();
|
|
13
|
+
expect(page.getTitleText()).toEqual('aacwidget-demo app is running!');
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
afterEach(async () => {
|
|
17
|
+
// Assert that there are no errors emitted from the browser
|
|
18
|
+
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
|
|
19
|
+
expect(logs).not.toContain(jasmine.objectContaining({
|
|
20
|
+
level: logging.Level.SEVERE,
|
|
21
|
+
} as logging.Entry));
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { browser, by, element } from 'protractor';
|
|
2
|
+
|
|
3
|
+
export class AppPage {
|
|
4
|
+
navigateTo(): Promise<unknown> {
|
|
5
|
+
return browser.get(browser.baseUrl) as Promise<unknown>;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
getTitleText(): Promise<string> {
|
|
9
|
+
return element(by.css('app-root .content span')).getText() as Promise<string>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Karma configuration file, see link for more information
|
|
2
|
+
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
+
|
|
4
|
+
module.exports = function (config) {
|
|
5
|
+
config.set({
|
|
6
|
+
basePath: '',
|
|
7
|
+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
+
plugins: [
|
|
9
|
+
require('karma-jasmine'),
|
|
10
|
+
require('karma-chrome-launcher'),
|
|
11
|
+
require('karma-jasmine-html-reporter'),
|
|
12
|
+
require('karma-coverage-istanbul-reporter'),
|
|
13
|
+
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
+
],
|
|
15
|
+
client: {
|
|
16
|
+
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
17
|
+
},
|
|
18
|
+
coverageIstanbulReporter: {
|
|
19
|
+
dir: require('path').join(__dirname, './coverage/aacwidget-demo'),
|
|
20
|
+
reports: ['html', 'lcovonly', 'text-summary'],
|
|
21
|
+
fixWebpackSourcePaths: true
|
|
22
|
+
},
|
|
23
|
+
reporters: ['progress', 'kjhtml'],
|
|
24
|
+
port: 9876,
|
|
25
|
+
colors: true,
|
|
26
|
+
logLevel: config.LOG_INFO,
|
|
27
|
+
autoWatch: true,
|
|
28
|
+
browsers: ['Chrome'],
|
|
29
|
+
singleRun: false,
|
|
30
|
+
restartOnFileChange: true
|
|
31
|
+
});
|
|
32
|
+
};
|