@bpost/bp-address-auto-complete-by-component 1.1.7 → 1.1.9

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 (106) hide show
  1. package/esm2020/lib/box-number/box-number.component.mjs +921 -0
  2. package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +1420 -0
  3. package/esm2020/lib/lib-address-autocomplete-by-component.module.mjs +65 -0
  4. package/esm2020/lib/lib-address-autocomplete-by-component.service.mjs +14 -0
  5. package/esm2020/lib/locality/locality.component.mjs +777 -0
  6. package/esm2020/lib/model/Box.mjs +30 -0
  7. package/esm2020/lib/model/Locality.mjs +30 -0
  8. package/esm2020/lib/model/Street.mjs +30 -0
  9. package/esm2020/lib/model/query-parameters.model.mjs +21 -0
  10. package/esm2020/lib/services/adress.service.mjs +64 -0
  11. package/esm2020/lib/services/http.service.mjs +57 -0
  12. package/esm2020/lib/services/locale.service.mjs +37 -0
  13. package/esm2020/lib/services/nis9.service.mjs +26 -0
  14. package/esm2020/lib/services/unicode.service.mjs +376 -0
  15. package/esm2020/lib/street/street.component.mjs +766 -0
  16. package/esm2020/lib/street-number/street-number.component.mjs +1008 -0
  17. package/{esm2022 → esm2020}/lib/utils/constants.mjs +2 -2
  18. package/esm2020/lib/utils/domhandler.mjs +47 -0
  19. package/esm2020/lib/utils/highlight-suggestion.pipe.mjs +62 -0
  20. package/esm2020/lib/utils/prefill-data.mjs +24 -0
  21. package/esm2020/lib/utils/prefilled-parameters.mjs +23 -0
  22. package/esm2020/lib/utils/preflll.event.mjs +7 -0
  23. package/esm2020/lib/utils/visible-suggestion.directive.mjs +39 -0
  24. package/{fesm2022 → fesm2015}/bpost-bp-address-auto-complete-by-component.mjs +1257 -1437
  25. package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  26. package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs +5779 -0
  27. package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  28. package/lib/lib-address-autocomplete-by-component.component.d.ts +1 -1
  29. package/lib/lib-address-autocomplete-by-component.module.d.ts +15 -0
  30. package/package.json +11 -5
  31. package/VERSION.md +0 -197
  32. package/esm2022/lib/box-number/box-number.component.mjs +0 -939
  33. package/esm2022/lib/lib-address-autocomplete-by-component.component.mjs +0 -1432
  34. package/esm2022/lib/lib-address-autocomplete-by-component.module.mjs +0 -45
  35. package/esm2022/lib/lib-address-autocomplete-by-component.service.mjs +0 -17
  36. package/esm2022/lib/locality/locality.component.mjs +0 -832
  37. package/esm2022/lib/model/Box.mjs +0 -35
  38. package/esm2022/lib/model/Locality.mjs +0 -35
  39. package/esm2022/lib/model/Street.mjs +0 -35
  40. package/esm2022/lib/model/query-parameters.model.mjs +0 -23
  41. package/esm2022/lib/services/adress.service.mjs +0 -69
  42. package/esm2022/lib/services/http.service.mjs +0 -61
  43. package/esm2022/lib/services/locale.service.mjs +0 -39
  44. package/esm2022/lib/services/nis9.service.mjs +0 -28
  45. package/esm2022/lib/services/unicode.service.mjs +0 -380
  46. package/esm2022/lib/street/street.component.mjs +0 -809
  47. package/esm2022/lib/street-number/street-number.component.mjs +0 -1026
  48. package/esm2022/lib/utils/domhandler.mjs +0 -51
  49. package/esm2022/lib/utils/highlight-suggestion.pipe.mjs +0 -76
  50. package/esm2022/lib/utils/prefill-data.mjs +0 -26
  51. package/esm2022/lib/utils/prefilled-parameters.mjs +0 -25
  52. package/esm2022/lib/utils/preflll.event.mjs +0 -9
  53. package/esm2022/lib/utils/visible-suggestion.directive.mjs +0 -41
  54. package/fesm2022/bpost-bp-address-auto-complete-by-component.mjs.map +0 -1
  55. package/install-and-start-demo.bat +0 -11
  56. package/tutorial/aacwidget-tutorial/.editorconfig +0 -16
  57. package/tutorial/aacwidget-tutorial/angular.json +0 -128
  58. package/tutorial/aacwidget-tutorial/browserslist +0 -13
  59. package/tutorial/aacwidget-tutorial/e2e/protractor.conf.js +0 -32
  60. package/tutorial/aacwidget-tutorial/e2e/src/app.e2e-spec.ts +0 -23
  61. package/tutorial/aacwidget-tutorial/e2e/src/app.po.ts +0 -11
  62. package/tutorial/aacwidget-tutorial/e2e/tsconfig.json +0 -13
  63. package/tutorial/aacwidget-tutorial/karma.conf.js +0 -32
  64. package/tutorial/aacwidget-tutorial/package-lock.json +0 -13314
  65. package/tutorial/aacwidget-tutorial/src/app/app-routing.module.ts +0 -18
  66. package/tutorial/aacwidget-tutorial/src/app/app.component.html +0 -6
  67. package/tutorial/aacwidget-tutorial/src/app/app.component.scss +0 -0
  68. package/tutorial/aacwidget-tutorial/src/app/app.component.spec.ts +0 -35
  69. package/tutorial/aacwidget-tutorial/src/app/app.component.ts +0 -28
  70. package/tutorial/aacwidget-tutorial/src/app/app.module.ts +0 -47
  71. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.html +0 -57
  72. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.scss +0 -0
  73. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.ts +0 -160
  74. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.html +0 -20
  75. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.scss +0 -0
  76. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.spec.ts +0 -25
  77. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.ts +0 -49
  78. package/tutorial/aacwidget-tutorial/src/assets/.gitkeep +0 -0
  79. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/de.json +0 -62
  80. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/en.json +0 -62
  81. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/fr.json +0 -62
  82. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/nl.json +0 -62
  83. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-custom.scss +0 -81
  84. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-default.scss +0 -424
  85. package/tutorial/aacwidget-tutorial/src/environments/environment.prod.ts +0 -3
  86. package/tutorial/aacwidget-tutorial/src/environments/environment.ts +0 -16
  87. package/tutorial/aacwidget-tutorial/src/favicon.ico +0 -0
  88. package/tutorial/aacwidget-tutorial/src/index.html +0 -45
  89. package/tutorial/aacwidget-tutorial/src/main.ts +0 -12
  90. package/tutorial/aacwidget-tutorial/src/polyfills.ts +0 -63
  91. package/tutorial/aacwidget-tutorial/src/styles.scss +0 -4
  92. package/tutorial/aacwidget-tutorial/src/test.ts +0 -25
  93. package/tutorial/aacwidget-tutorial/tsconfig.app.json +0 -15
  94. package/tutorial/aacwidget-tutorial/tsconfig.json +0 -23
  95. package/tutorial/aacwidget-tutorial/tsconfig.spec.json +0 -18
  96. package/tutorial/aacwidget-tutorial/tslint.json +0 -148
  97. package/tutorial/tutorial-videos.txt +0 -41
  98. /package/{esm2022 → esm2020}/bpost-bp-address-auto-complete-by-component.mjs +0 -0
  99. /package/{esm2022 → esm2020}/lib/enum/address-level.enum.mjs +0 -0
  100. /package/{esm2022 → esm2020}/lib/enum/index.mjs +0 -0
  101. /package/{esm2022 → esm2020}/lib/enum/input-name.enum.mjs +0 -0
  102. /package/{esm2022 → esm2020}/lib/enum/source-type.enum.mjs +0 -0
  103. /package/{esm2022 → esm2020}/lib/enum/suggestion-level-type.enum.mjs +0 -0
  104. /package/{esm2022 → esm2020}/lib/enum/validation-message-option-type.enum.mjs +0 -0
  105. /package/{esm2022 → esm2020}/lib/enum/validation-message-type.enum.mjs +0 -0
  106. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
@@ -1,4 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
2
-
3
- @import 'assets/aacwidget/scss/aacwidget-default.scss';
4
- @import 'assets/aacwidget/scss/aacwidget-custom.scss';
@@ -1,25 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/dist/zone-testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import {
6
- BrowserDynamicTestingModule,
7
- platformBrowserDynamicTesting
8
- } from '@angular/platform-browser-dynamic/testing';
9
-
10
- declare const require: {
11
- context(path: string, deep?: boolean, filter?: RegExp): {
12
- keys(): string[];
13
- <T>(id: string): T;
14
- };
15
- };
16
-
17
- // First, initialize the Angular testing environment.
18
- getTestBed().initTestEnvironment(
19
- BrowserDynamicTestingModule,
20
- platformBrowserDynamicTesting()
21
- );
22
- // Then we find all the tests.
23
- const context = require.context('./', true, /\.spec\.ts$/);
24
- // And load the modules.
25
- context.keys().map(context);
@@ -1,15 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/app",
5
- "types": [],
6
- "target": "es5",
7
- },
8
- "files": [
9
- "src/main.ts",
10
- "src/polyfills.ts"
11
- ],
12
- "include": [
13
- "src/**/*.d.ts"
14
- ]
15
- }
@@ -1,23 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "outDir": "./dist/out-tsc",
6
- "sourceMap": true,
7
- "declaration": false,
8
- "downlevelIteration": true,
9
- "experimentalDecorators": true,
10
- "module": "esnext",
11
- "moduleResolution": "node",
12
- "importHelpers": true,
13
- "target": "es2015",
14
- "lib": [
15
- "es2018",
16
- "dom"
17
- ]
18
- },
19
- "angularCompilerOptions": {
20
- "fullTemplateTypeCheck": true,
21
- "strictInjectionParameters": true
22
- }
23
- }
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts",
12
- "src/polyfills.ts"
13
- ],
14
- "include": [
15
- "src/**/*.spec.ts",
16
- "src/**/*.d.ts"
17
- ]
18
- }
@@ -1,148 +0,0 @@
1
- {
2
- "extends": "tslint:recommended",
3
- "rules": {
4
- "align": {
5
- "options": [
6
- "parameters",
7
- "statements"
8
- ]
9
- },
10
- "array-type": false,
11
- "arrow-return-shorthand": true,
12
- "curly": true,
13
- "deprecation": {
14
- "severity": "warning"
15
- },
16
- "component-class-suffix": true,
17
- "contextual-lifecycle": true,
18
- "directive-class-suffix": true,
19
- "directive-selector": [
20
- true,
21
- "attribute",
22
- "app",
23
- "camelCase"
24
- ],
25
- "component-selector": [
26
- true,
27
- "element",
28
- "app",
29
- "kebab-case"
30
- ],
31
- "eofline": true,
32
- "import-blacklist": [
33
- true,
34
- "rxjs/Rx"
35
- ],
36
- "import-spacing": true,
37
- "indent": {
38
- "options": [
39
- "spaces"
40
- ]
41
- },
42
- "max-classes-per-file": false,
43
- "max-line-length": [
44
- true,
45
- 140
46
- ],
47
- "member-ordering": [
48
- true,
49
- {
50
- "order": [
51
- "static-field",
52
- "instance-field",
53
- "static-method",
54
- "instance-method"
55
- ]
56
- }
57
- ],
58
- "no-console": [
59
- true,
60
- "debug",
61
- "info",
62
- "time",
63
- "timeEnd",
64
- "trace"
65
- ],
66
- "no-empty": false,
67
- "no-inferrable-types": [
68
- true,
69
- "ignore-params"
70
- ],
71
- "no-non-null-assertion": true,
72
- "no-redundant-jsdoc": true,
73
- "no-switch-case-fall-through": true,
74
- "no-var-requires": false,
75
- "object-literal-key-quotes": [
76
- true,
77
- "as-needed"
78
- ],
79
- "quotemark": [
80
- true,
81
- "single"
82
- ],
83
- "semicolon": {
84
- "options": [
85
- "always"
86
- ]
87
- },
88
- "space-before-function-paren": {
89
- "options": {
90
- "anonymous": "never",
91
- "asyncArrow": "always",
92
- "constructor": "never",
93
- "method": "never",
94
- "named": "never"
95
- }
96
- },
97
- "typedef-whitespace": {
98
- "options": [
99
- {
100
- "call-signature": "nospace",
101
- "index-signature": "nospace",
102
- "parameter": "nospace",
103
- "property-declaration": "nospace",
104
- "variable-declaration": "nospace"
105
- },
106
- {
107
- "call-signature": "onespace",
108
- "index-signature": "onespace",
109
- "parameter": "onespace",
110
- "property-declaration": "onespace",
111
- "variable-declaration": "onespace"
112
- }
113
- ]
114
- },
115
- "variable-name": {
116
- "options": [
117
- "ban-keywords",
118
- "check-format",
119
- "allow-pascal-case"
120
- ]
121
- },
122
- "whitespace": {
123
- "options": [
124
- "check-branch",
125
- "check-decl",
126
- "check-operator",
127
- "check-separator",
128
- "check-type",
129
- "check-typecast"
130
- ]
131
- },
132
- "no-conflicting-lifecycle": true,
133
- "no-host-metadata-property": true,
134
- "no-input-rename": true,
135
- "no-inputs-metadata-property": true,
136
- "no-output-native": true,
137
- "no-output-on-prefix": true,
138
- "no-output-rename": true,
139
- "no-outputs-metadata-property": true,
140
- "template-banana-in-box": true,
141
- "template-no-negated-async": true,
142
- "use-lifecycle-interface": true,
143
- "use-pipe-transform-interface": true
144
- },
145
- "rulesDirectory": [
146
- "codelyzer"
147
- ]
148
- }
@@ -1,41 +0,0 @@
1
- bpost aacwidget - address autocomplete component
2
-
3
- session 1:
4
- Setup-default-angular-application
5
- https://youtu.be/rRIlDn--mT8
6
-
7
- session 2:
8
- Integrating-the-widget-in-a-component
9
- https://youtu.be/_GN1hodWiwA
10
-
11
- session 3:
12
- Styling-and-i18n-setup
13
- https://youtu.be/5hZBwTmZZW0
14
-
15
- session 4:
16
- Events-and-static-language-setup
17
- https://youtu.be/6h934ROzTdY
18
-
19
- session 5:
20
- Using-multiple-languages-dynamically
21
- https://youtu.be/q5LeQoh19Zk
22
-
23
- session 6:
24
- Custumize-part-1
25
- https://youtu.be/unz90iuN5oQ
26
-
27
- session 7:
28
- Custumize-part-2
29
- https://youtu.be/jt4pUK3B0RM
30
-
31
- session 8:
32
- Using-IE
33
- https://youtu.be/dqD5iyvyawU
34
-
35
- Session 9:
36
- The not in list feature
37
- https://youtu.be/UPnb8GzZEO4
38
-
39
- session 10:
40
- Pre-filling the widget
41
- https://youtu.be/0BiJ4zUiH7o
File without changes
File without changes