@bpost/bp-address-auto-complete-by-component 1.1.1 → 1.1.5

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 (173) hide show
  1. package/bpost-bp-address-auto-complete-by-component.d.ts +1 -11
  2. package/esm2020/bpost-bp-address-auto-complete-by-component.mjs +5 -0
  3. package/esm2020/lib/box-number/box-number.component.mjs +873 -0
  4. package/esm2020/lib/enum/address-level.enum.mjs +8 -0
  5. package/esm2020/lib/enum/index.mjs +7 -0
  6. package/esm2020/lib/enum/input-name.enum.mjs +8 -0
  7. package/esm2020/lib/enum/source-type.enum.mjs +5 -0
  8. package/esm2020/lib/enum/suggestion-level-type.enum.mjs +8 -0
  9. package/esm2020/lib/enum/validation-message-option-type.enum.mjs +6 -0
  10. package/esm2020/lib/enum/validation-message-type.enum.mjs +7 -0
  11. package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +1383 -0
  12. package/esm2020/lib/lib-address-autocomplete-by-component.module.mjs +65 -0
  13. package/esm2020/lib/lib-address-autocomplete-by-component.service.mjs +14 -0
  14. package/esm2020/lib/locality/locality.component.mjs +747 -0
  15. package/{esm2015/lib/model/Locality.js → esm2020/lib/model/Box.mjs} +2 -2
  16. package/esm2020/lib/model/Locality.mjs +30 -0
  17. package/esm2020/lib/model/Street.mjs +30 -0
  18. package/esm2020/lib/model/query-parameters.model.mjs +21 -0
  19. package/esm2020/lib/services/adress.service.mjs +64 -0
  20. package/esm2020/lib/services/http.service.mjs +57 -0
  21. package/esm2020/lib/services/locale.service.mjs +37 -0
  22. package/esm2020/lib/services/nis9.service.mjs +26 -0
  23. package/esm2020/lib/services/unicode.service.mjs +376 -0
  24. package/esm2020/lib/street/street.component.mjs +735 -0
  25. package/esm2020/lib/street-number/street-number.component.mjs +967 -0
  26. package/esm2020/lib/utils/constants.mjs +2 -0
  27. package/esm2020/lib/utils/domhandler.mjs +47 -0
  28. package/esm2020/lib/utils/highlight-suggestion.pipe.mjs +62 -0
  29. package/{esm5/lib/utils/prefill-data.js → esm2020/lib/utils/prefill-data.mjs} +5 -7
  30. package/esm2020/lib/utils/prefilled-parameters.mjs +23 -0
  31. package/esm2020/lib/utils/preflll.event.mjs +7 -0
  32. package/esm2020/lib/utils/visible-suggestion.directive.mjs +39 -0
  33. package/esm2020/public-api.mjs +9 -0
  34. package/fesm2015/{bpost-bp-address-auto-complete-by-component.js → bpost-bp-address-auto-complete-by-component.mjs} +1141 -808
  35. package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  36. package/{fesm5/bpost-bp-address-auto-complete-by-component.js → fesm2020/bpost-bp-address-auto-complete-by-component.mjs} +2073 -1945
  37. package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  38. package/lib/box-number/box-number.component.d.ts +11 -2
  39. package/lib/enum/index.d.ts +3 -0
  40. package/lib/enum/suggestion-level-type.enum.d.ts +5 -0
  41. package/lib/lib-address-autocomplete-by-component.component.d.ts +9 -0
  42. package/lib/lib-address-autocomplete-by-component.module.d.ts +15 -0
  43. package/lib/lib-address-autocomplete-by-component.service.d.ts +3 -0
  44. package/lib/locality/locality.component.d.ts +3 -0
  45. package/lib/services/adress.service.d.ts +3 -0
  46. package/lib/services/http.service.d.ts +5 -0
  47. package/lib/services/locale.service.d.ts +3 -0
  48. package/lib/services/nis9.service.d.ts +3 -0
  49. package/lib/services/unicode.service.d.ts +3 -0
  50. package/lib/street/street.component.d.ts +3 -0
  51. package/lib/street-number/street-number.component.d.ts +9 -1
  52. package/lib/utils/constants.d.ts +1 -0
  53. package/lib/utils/highlight-suggestion.pipe.d.ts +3 -0
  54. package/lib/utils/visible-suggestion.directive.d.ts +3 -0
  55. package/package.json +23 -13
  56. package/VERSION.md +0 -159
  57. package/address-complete-2020-04-15_23-29-54.png +0 -0
  58. package/address-incomplete-2020-04-15_23-28-40.png +0 -0
  59. package/bpost-bp-address-auto-complete-by-component.metadata.json +0 -1
  60. package/bundles/bpost-bp-address-auto-complete-by-component.umd.js +0 -5689
  61. package/bundles/bpost-bp-address-auto-complete-by-component.umd.js.map +0 -1
  62. package/bundles/bpost-bp-address-auto-complete-by-component.umd.min.js +0 -16
  63. package/bundles/bpost-bp-address-auto-complete-by-component.umd.min.js.map +0 -1
  64. package/esm2015/bpost-bp-address-auto-complete-by-component.js +0 -16
  65. package/esm2015/lib/box-number/box-number.component.js +0 -811
  66. package/esm2015/lib/enum/address-level.enum.js +0 -8
  67. package/esm2015/lib/enum/index.js +0 -4
  68. package/esm2015/lib/enum/input-name.enum.js +0 -8
  69. package/esm2015/lib/enum/source-type.enum.js +0 -5
  70. package/esm2015/lib/enum/validation-message-option-type.enum.js +0 -6
  71. package/esm2015/lib/enum/validation-message-type.enum.js +0 -7
  72. package/esm2015/lib/lib-address-autocomplete-by-component.component.js +0 -1167
  73. package/esm2015/lib/lib-address-autocomplete-by-component.module.js +0 -42
  74. package/esm2015/lib/lib-address-autocomplete-by-component.service.js +0 -14
  75. package/esm2015/lib/locality/locality.component.js +0 -769
  76. package/esm2015/lib/model/Box.js +0 -30
  77. package/esm2015/lib/model/Street.js +0 -30
  78. package/esm2015/lib/model/query-parameters.model.js +0 -21
  79. package/esm2015/lib/services/adress.service.js +0 -68
  80. package/esm2015/lib/services/http.service.js +0 -53
  81. package/esm2015/lib/services/locale.service.js +0 -39
  82. package/esm2015/lib/services/nis9.service.js +0 -30
  83. package/esm2015/lib/services/unicode.service.js +0 -376
  84. package/esm2015/lib/street/street.component.js +0 -749
  85. package/esm2015/lib/street-number/street-number.component.js +0 -900
  86. package/esm2015/lib/utils/domhandler.js +0 -47
  87. package/esm2015/lib/utils/highlight-suggestion.pipe.js +0 -63
  88. package/esm2015/lib/utils/prefill-data.js +0 -24
  89. package/esm2015/lib/utils/prefilled-parameters.js +0 -23
  90. package/esm2015/lib/utils/preflll.event.js +0 -7
  91. package/esm2015/lib/utils/visible-suggestion.directive.js +0 -42
  92. package/esm2015/public-api.js +0 -9
  93. package/esm5/bpost-bp-address-auto-complete-by-component.js +0 -16
  94. package/esm5/lib/box-number/box-number.component.js +0 -831
  95. package/esm5/lib/enum/address-level.enum.js +0 -8
  96. package/esm5/lib/enum/index.js +0 -4
  97. package/esm5/lib/enum/input-name.enum.js +0 -8
  98. package/esm5/lib/enum/source-type.enum.js +0 -5
  99. package/esm5/lib/enum/validation-message-option-type.enum.js +0 -6
  100. package/esm5/lib/enum/validation-message-type.enum.js +0 -7
  101. package/esm5/lib/lib-address-autocomplete-by-component.component.js +0 -1183
  102. package/esm5/lib/lib-address-autocomplete-by-component.module.js +0 -45
  103. package/esm5/lib/lib-address-autocomplete-by-component.service.js +0 -16
  104. package/esm5/lib/locality/locality.component.js +0 -825
  105. package/esm5/lib/model/Box.js +0 -35
  106. package/esm5/lib/model/Locality.js +0 -35
  107. package/esm5/lib/model/Street.js +0 -35
  108. package/esm5/lib/model/query-parameters.model.js +0 -23
  109. package/esm5/lib/services/adress.service.js +0 -72
  110. package/esm5/lib/services/http.service.js +0 -55
  111. package/esm5/lib/services/locale.service.js +0 -40
  112. package/esm5/lib/services/nis9.service.js +0 -31
  113. package/esm5/lib/services/unicode.service.js +0 -379
  114. package/esm5/lib/street/street.component.js +0 -794
  115. package/esm5/lib/street-number/street-number.component.js +0 -920
  116. package/esm5/lib/utils/domhandler.js +0 -51
  117. package/esm5/lib/utils/highlight-suggestion.pipe.js +0 -75
  118. package/esm5/lib/utils/prefilled-parameters.js +0 -25
  119. package/esm5/lib/utils/preflll.event.js +0 -9
  120. package/esm5/lib/utils/visible-suggestion.directive.js +0 -43
  121. package/esm5/public-api.js +0 -9
  122. package/fesm2015/bpost-bp-address-auto-complete-by-component.js.map +0 -1
  123. package/fesm5/bpost-bp-address-auto-complete-by-component.js.map +0 -1
  124. package/install-and-start-demo.bat +0 -11
  125. package/resources/assets/aacwidget/i18n/de.json +0 -62
  126. package/resources/assets/aacwidget/i18n/en.json +0 -62
  127. package/resources/assets/aacwidget/i18n/fr.json +0 -62
  128. package/resources/assets/aacwidget/i18n/nl.json +0 -62
  129. package/resources/assets/aacwidget/scss/aacwidget-custom.scss +0 -81
  130. package/resources/assets/aacwidget/scss/aacwidget-default.scss +0 -424
  131. package/tutorial/aacwidget-tutorial/.editorconfig +0 -16
  132. package/tutorial/aacwidget-tutorial/angular.json +0 -128
  133. package/tutorial/aacwidget-tutorial/browserslist +0 -13
  134. package/tutorial/aacwidget-tutorial/e2e/protractor.conf.js +0 -32
  135. package/tutorial/aacwidget-tutorial/e2e/src/app.e2e-spec.ts +0 -23
  136. package/tutorial/aacwidget-tutorial/e2e/src/app.po.ts +0 -11
  137. package/tutorial/aacwidget-tutorial/e2e/tsconfig.json +0 -13
  138. package/tutorial/aacwidget-tutorial/karma.conf.js +0 -32
  139. package/tutorial/aacwidget-tutorial/package-lock.json +0 -13314
  140. package/tutorial/aacwidget-tutorial/package.json +0 -49
  141. package/tutorial/aacwidget-tutorial/src/app/app-routing.module.ts +0 -18
  142. package/tutorial/aacwidget-tutorial/src/app/app.component.html +0 -6
  143. package/tutorial/aacwidget-tutorial/src/app/app.component.scss +0 -0
  144. package/tutorial/aacwidget-tutorial/src/app/app.component.spec.ts +0 -35
  145. package/tutorial/aacwidget-tutorial/src/app/app.component.ts +0 -28
  146. package/tutorial/aacwidget-tutorial/src/app/app.module.ts +0 -47
  147. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.html +0 -57
  148. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.scss +0 -0
  149. package/tutorial/aacwidget-tutorial/src/app/widget-full/widget-full.component.ts +0 -160
  150. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.html +0 -20
  151. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.scss +0 -0
  152. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.spec.ts +0 -25
  153. package/tutorial/aacwidget-tutorial/src/app/widget-simple/widget-simple.component.ts +0 -49
  154. package/tutorial/aacwidget-tutorial/src/assets/.gitkeep +0 -0
  155. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/de.json +0 -62
  156. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/en.json +0 -62
  157. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/fr.json +0 -62
  158. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/i18n/nl.json +0 -62
  159. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-custom.scss +0 -81
  160. package/tutorial/aacwidget-tutorial/src/assets/aacwidget/scss/aacwidget-default.scss +0 -424
  161. package/tutorial/aacwidget-tutorial/src/environments/environment.prod.ts +0 -3
  162. package/tutorial/aacwidget-tutorial/src/environments/environment.ts +0 -16
  163. package/tutorial/aacwidget-tutorial/src/favicon.ico +0 -0
  164. package/tutorial/aacwidget-tutorial/src/index.html +0 -45
  165. package/tutorial/aacwidget-tutorial/src/main.ts +0 -12
  166. package/tutorial/aacwidget-tutorial/src/polyfills.ts +0 -63
  167. package/tutorial/aacwidget-tutorial/src/styles.scss +0 -4
  168. package/tutorial/aacwidget-tutorial/src/test.ts +0 -25
  169. package/tutorial/aacwidget-tutorial/tsconfig.app.json +0 -15
  170. package/tutorial/aacwidget-tutorial/tsconfig.json +0 -23
  171. package/tutorial/aacwidget-tutorial/tsconfig.spec.json +0 -18
  172. package/tutorial/aacwidget-tutorial/tslint.json +0 -148
  173. package/tutorial/tutorial-videos.txt +0 -41
@@ -1,424 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
2
-
3
-
4
-
5
-
6
- // ----------------------------------------------------------------------------------------
7
-
8
- .divider-right {
9
- border-right: 1px solid #bce8f1;
10
- height: 40px;
11
- }
12
-
13
- .padding-6 {
14
- padding-left: 6px !important;
15
- padding-right: 6px !important;
16
- }
17
-
18
- .justify-word {
19
- word-break: break-all;
20
- }
21
-
22
- .bpaac-form-control
23
- {
24
- margin-bottom: 6px;
25
- margin-left: 6px;
26
- }
27
- .bpaac-panel-title{
28
- font-size: 14px;
29
- }
30
- .bpaac-lb-sm {
31
- font-weight: normal;
32
- }
33
- .bpaac-panel-heading {
34
- padding: 7px 10px;
35
- background-color: rgb(202, 233, 220);
36
- background-color: #d9edf7;
37
- border-color: #bce8f1;
38
- }
39
- .bpaac-btn {
40
- margin-bottom: 6px;
41
- margin-left: 6px;
42
- }
43
- .dropdown-menu bpaac-help-option{
44
- align-self: right;
45
- }
46
- .bpaac-suggestion-char-highlight{
47
- font-weight: bold;
48
- }
49
-
50
- .bpaac-option-highlight {
51
- background: #dddddd;
52
- }
53
-
54
- .bpaac-button{
55
- left: 0;
56
- border: 0 solid transparent;
57
- border-bottom-left-radius: 0;
58
- border-top-left-radius: 0;
59
- position: relative;
60
- height: 26px;
61
- background-color:#4285f4;
62
- margin: 0;
63
- outline: none;
64
- padding: 0 0;
65
- width: 35px;
66
- box-shadow: none;
67
- -webkit-box-shadow: none;
68
- box-sizing: border-box;
69
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAA30lEQVR4nI2RMU7DQBBFvy1hcQHTxkI0S8kVUiBxKg4RxQUnMD0Fd4AG6KgcKkRHUBQrxUszi8ZrL+JLXzv6s0+7mhEg8wJogR4Y7GyBxt35dSyugW/mtbX+BFw46B64BCogAJ2DmxRcW7Ob+5KD2xTsrREyYLB+7/MCGCRV5oOmqiQN5tMYlpI+rb6YgXy+8WEp6cHq2wwY88dRatPaugEF4CSZKsDV3B5vgJ/MHqNegToFBZwDd8AHsAfegZW99GLwG3CWgn+5dvAzoDIzkFRfkpaSniTtJKkA/smOdQRp67ytYRSzEQAAAABJRU5ErkJggg==');
70
- background-repeat: no-repeat;
71
- background-position: center;
72
- }
73
-
74
-
75
-
76
- .bpaac-button:active{
77
- border: 0 solid transparent;
78
- -webkit-box-shadow: inset 0 2px 0 rgba(0,0,0,.15);
79
- box-shadow: inset 0 2px 0 rgba(0,0,0,.15);
80
- background-color: #3c78dc;
81
- background-color: -webkit-linear-gradient(top,#3c7ae4,#3f76d3);
82
- background-color: linear-gradient(to bottom,#3c7ae4,#3f76d3);
83
- }
84
-
85
- .bpaac-validated-icon{
86
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAxklEQVR4nI3QP0vCURTG8Y++B8GGnFobJGiRQNzc2hvcnXsJDc3OEbS49hpaGpx1EhQJGoQaLKjI/gydC9cfP6UHznDP+T7cc56KTVVxgBoeMbdDfSzwk9UYp2XwdQEs1nkOn+0Al1jhC81kuI/hdwGeooGjeF8lwwvecYIe1phgL+aXYRglwzIMrXh3/aVUwSD78S4ZbqPxik70qrFCvuJFMhzjM5pvEcKwAD+hnifVw8eWpJ7RVqJD3OAhbprFDftl8L/1C3gjSNJmHs5CAAAAAElFTkSuQmCC')
87
- no-repeat;
88
- background-size: 14px 14px;
89
- display: inline-block;
90
- width: 14px;
91
- height: 14px;
92
- }
93
-
94
- //////////////////////////////////////////////////////////////////////////////
95
-
96
-
97
- .bpaac-dropdown{
98
- /* width : 400px; */
99
- position:relative;
100
- height:26px;
101
- }
102
-
103
- .bpaac-search-bar {
104
- position: relative;
105
- min-height: 20px;
106
- height:26px;
107
- }
108
-
109
- .bpaac-input-width{
110
- position:relative;
111
- width: calc(100% - 5px);
112
- float:left;
113
- background-color:white;
114
- }
115
-
116
- .bpaac-input {
117
- width: 100%;
118
- position: relative;
119
- top: 0;
120
- left: 0;
121
- z-index: 5;
122
- padding-left: 5px;
123
- padding-right:0px;
124
- line-height: 20px;
125
- -webkit-border-radius: 6px;
126
- -moz-border-radius: 6px;
127
- border-radius: 6px;
128
- background-color:transparent;
129
- }
130
-
131
- .bpaac-clear {
132
- position: absolute;
133
- right: 5px;
134
- top:6px;
135
- z-index: 12;
136
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAvklEQVR4nJ2SsQ2DQAxFXxBSGspskCbTpKSiQaDUGYE5UBANFWWmScMWFESKEEU+ku8OGtz4/L+/fbZ8qqqKIxYdUnnCOzABL4NHiifxgTABeuAMFEqO5QvhvfIc4Qh0pmAOfORX65QXfPUBtCa+mncrfnPGWeSAa4PweU8YAbXXae1ce7lOUOPOZDvn4gNhAmQGb4Eb7swZO1tNgS/QACXwk2+Ep5itxqbiG7hYkv9CSuDp4cHJjWxbgB++1QVY2ijORRI4QQAAAABJRU5ErkJggg==')
137
- no-repeat;
138
- background-size: 14px 14px;
139
- display: inline-block;
140
- width: 14px;
141
- height: 14px;
142
- }
143
-
144
- .bpaac-clear:hover {
145
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAY0lEQVR4nMWRSwrAMAhEHyHLnq0nlJwsB3GXbqYg+SyaQvtAxFEYE+FPTsABA5K0pNrVHzjUbIoCZOVbc80NWBhqQO1qW62aOocYJaw/JU+cqvQl245bb3z1q1t3jM5P9A+5ALYeN4B2Qo/zAAAAAElFTkSuQmCC')
146
- no-repeat;
147
- }
148
-
149
- #bpaac-street-typeahead{
150
- width: calc(100% - 5px);
151
- position: absolute;
152
- top: 0;
153
- left: 0;
154
- background: transparent;
155
- z-index: 1;
156
- padding-left: 5px;
157
- padding-right:0px;
158
- line-height: 20px;
159
- -webkit-border-radius: 6px;
160
- -moz-border-radius: 6px;
161
- border-radius: 6px;
162
- -webkit-text-fill-color: silver;
163
- color: silver
164
- }
165
-
166
- .bpaac-dropdown-menu-container{
167
- position: relative;
168
- }
169
-
170
- .bpaac-dropdown-menu{
171
- position: absolute;
172
- top: 100%;
173
- left: 0;
174
- z-index: 1000;
175
- float: left;
176
- min-width: 160px;
177
- margin: 2px 0 0;
178
- font-size: 14px;
179
- text-align: left;
180
- background-color: #fff;
181
- /* border: 1px solid #ccc; */
182
- border: 1px solid rgba(0, 0, 0, .15);
183
- border-radius: 4px;
184
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
185
- padding: 5px 0 0 0;
186
- overflow-x: auto;
187
- width: 100%;
188
- max-height: 300px;
189
- }
190
-
191
- .bpaac-dropdown-menu li:active,
192
- .bpaac-dropdown-menu li.active {
193
- color: #20a28e;
194
- background: #dddddd;
195
- }
196
-
197
- .bpaac-dropdown-menu li.validatedSuggestion {
198
- color: #20a28e;
199
- background: #7e86dd;
200
- }
201
-
202
- .bpaac-dropdown-menu:focus{
203
- outline:none;
204
- }
205
-
206
- .bpaac-dropdown-menu ul{
207
- padding-bottom: 0;
208
- padding-left: 0;
209
- padding-top: 0;
210
- margin: 0;
211
- }
212
-
213
- .bpaac-dropdown-menu li {
214
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
215
- color: #333333;
216
- font-weight: 400;
217
- padding: 4px 10px;
218
- font-size: 1em;
219
- cursor: pointer;
220
- border-bottom: 1px solid #dddddd;
221
- }
222
- .bpaac-dropdown-menu li:hover {
223
- background: #dddddd;
224
- }
225
-
226
- .checkmark {
227
- position: absolute;
228
- }
229
-
230
- .checkmark:before {
231
- content: " ";
232
- display: block;
233
- border: solid 0.8em #39ad39;
234
- border-radius: 0.8em;
235
- height: 0;
236
- width: 0;
237
- position: absolute;
238
- top: 40%;
239
- left: 2px;
240
- }
241
-
242
- .checkmark:after {
243
- content: " ";
244
- display: block;
245
- width: 9px;
246
- height: 12px;
247
- border: solid #fff;
248
- border-width: 0 0.2em 0.2em 0;
249
- position: absolute;
250
- left: 8px;
251
- /* top: 39%; */
252
- margin-top: 4px;
253
- -webkit-transform: rotate(45deg);
254
- -moz-transform: rotate(45deg);
255
- -o-transform: rotate(45deg);
256
- transform: rotate(45deg);
257
- }
258
-
259
- // locality
260
- #bpaac-locality-typeahead{
261
- width: calc(100% - 5px);
262
- position: absolute;
263
- top: 0;
264
- left: 0;
265
- background: transparent;
266
- z-index: 1;
267
- padding-left: 5px;
268
- padding-right:0px;
269
- line-height: 20px;
270
- -webkit-border-radius: 6px;
271
- -moz-border-radius: 6px;
272
- border-radius: 6px;
273
- -webkit-text-fill-color: silver;
274
- color: silver
275
- }
276
-
277
- /*
278
- #bpaac-locality-typeahead {
279
- visibility: hidden;
280
- }
281
- */
282
-
283
- #bpaac-locality-typeahead{
284
- width: calc(100% - 5px);
285
- position: absolute;
286
- top: 0;
287
- left: 0;
288
- background: transparent;
289
- z-index: 1;
290
- padding-left: 5px;
291
- padding-right:0px;
292
- line-height: 20px;
293
- -webkit-border-radius: 6px;
294
- -moz-border-radius: 6px;
295
- border-radius: 6px;
296
- -webkit-text-fill-color: silver;
297
- color: silver
298
- }
299
-
300
-
301
-
302
- // STREET
303
- #bpaac-street-typeahead{
304
- width: calc(100% - 5px);
305
- position: absolute;
306
- top: 0;
307
- left: 0;
308
- background: transparent;
309
- z-index: 1;
310
- padding-left: 5px;
311
- padding-right:0px;
312
- line-height: 20px;
313
- -webkit-border-radius: 6px;
314
- -moz-border-radius: 6px;
315
- border-radius: 6px;
316
- -webkit-text-fill-color: silver;
317
- color: silver
318
- }
319
-
320
- /*
321
- #bpaac-street-typeahead {
322
- visibility: hidden;
323
- }
324
- */
325
-
326
- #bpaac-street-typeahead{
327
- width: calc(100% - 5px);
328
- position: absolute;
329
- top: 0;
330
- left: 0;
331
- background: transparent;
332
- z-index: 1;
333
- padding-left: 5px;
334
- padding-right:0px;
335
- line-height: 20px;
336
- -webkit-border-radius: 6px;
337
- -moz-border-radius: 6px;
338
- border-radius: 6px;
339
- -webkit-text-fill-color: silver;
340
- color: silver
341
- }
342
-
343
- // STREET NUMBER
344
- #bpaac-streetNb-typeahead{
345
- width: calc(100% - 30px);
346
- position: absolute;
347
- top: 0;
348
- left: 0;
349
- background: transparent;
350
- z-index: 1;
351
- padding-left: 5px;
352
- padding-right:0px;
353
- line-height: 20px;
354
- -webkit-border-radius: 6px;
355
- -moz-border-radius: 6px;
356
- border-radius: 6px;
357
- -webkit-text-fill-color: silver;
358
- color: silver
359
- }
360
-
361
- /*
362
- #bpaac-streetNb-typeahead {
363
- visibility: hidden;
364
- }
365
- */
366
-
367
- #bpaac-streetNb-typeahead{
368
- width: calc(100% - 30px);
369
- position: absolute;
370
- top: 0;
371
- left: 0;
372
- background: transparent;
373
- z-index: 1;
374
- padding-left: 5px;
375
- padding-right:0px;
376
- line-height: 20px;
377
- -webkit-border-radius: 6px;
378
- -moz-border-radius: 6px;
379
- border-radius: 6px;
380
- -webkit-text-fill-color: silver;
381
- color: silver
382
- }
383
-
384
-
385
- // BOX NUMBER
386
- #bpaac-boxNb-typeahead{
387
- width: calc(100% - 30px);
388
- position: absolute;
389
- top: 0;
390
- left: 0;
391
- background: transparent;
392
- z-index: 1;
393
- padding-left: 5px;
394
- padding-right:0px;
395
- line-height: 20px;
396
- -webkit-border-radius: 6px;
397
- -moz-border-radius: 6px;
398
- border-radius: 6px;
399
- -webkit-text-fill-color: silver;
400
- color: silver
401
- }
402
-
403
- /*
404
- #bpaac-boxNb-typeahead {
405
- visibility: hidden;
406
- }
407
- */
408
-
409
- #bpaac-boxNb-typeahead{
410
- width: calc(100% - 30px);
411
- position: absolute;
412
- top: 0;
413
- left: 0;
414
- background: transparent;
415
- z-index: 1;
416
- padding-left: 5px;
417
- padding-right:0px;
418
- line-height: 20px;
419
- -webkit-border-radius: 6px;
420
- -moz-border-radius: 6px;
421
- border-radius: 6px;
422
- -webkit-text-fill-color: silver;
423
- color: silver
424
- }
@@ -1,16 +0,0 @@
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
@@ -1,128 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
@@ -1,32 +0,0 @@
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
- };
@@ -1,23 +0,0 @@
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
- });
@@ -1,11 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/e2e",
5
- "module": "commonjs",
6
- "target": "es5",
7
- "types": [
8
- "jasmine",
9
- "jasminewd2",
10
- "node"
11
- ]
12
- }
13
- }
@@ -1,32 +0,0 @@
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
- };