@energinet/watt 4.2.18 → 4.2.20

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.
@@ -6,7 +6,7 @@ import { WattIconSize } from '@energinet/watt/icon';
6
6
  * `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`
7
7
  */
8
8
  declare class WattEmptyStateComponent {
9
- icon: i0.InputSignal<"search" | "filter" | "plus" | "minus" | "edit" | "redo" | "undo" | "remove" | "removeForever" | "close" | "cancel" | "checkmark" | "user" | "settings" | "contentCopy" | "date" | "time" | "email" | "markEmailUnread" | "link" | "openInNew" | "monetization" | "payments" | "forwardMessage" | "forward" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "send" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "attachFile" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "factory" | "nest_eco_leaf" | "flash_on" | "custom-power" | "custom-explore" | "custom-no-results" | undefined>;
9
+ icon: i0.InputSignal<"search" | "filter" | "plus" | "minus" | "edit" | "redo" | "undo" | "remove" | "removeForever" | "close" | "cancel" | "checkmark" | "user" | "settings" | "contentCopy" | "date" | "time" | "email" | "markEmailUnread" | "link" | "openInNew" | "monetization" | "payments" | "forwardMessage" | "forward" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "send" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "attachFile" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "factory" | "nest_eco_leaf" | "flash_on" | "custom-power" | "custom-explore" | "custom-no-results" | "custom-cooperation" | undefined>;
10
10
  size: i0.InputSignal<"small" | "large">;
11
11
  title: i0.InputSignal<string>;
12
12
  message: i0.InputSignal<string>;
@@ -36,4 +36,9 @@ declare class WattEmptyStateNotFoundComponent {
36
36
  static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateNotFoundComponent, "watt-empty-state-not-found", never, {}, {}, never, never, true, never>;
37
37
  }
38
38
 
39
- export { WattEmptyStateComponent, WattEmptyStateExploreComponent, WattEmptyStateNoResultsComponent, WattEmptyStateNotFoundComponent, WattEmptyStatePowerComponent };
39
+ declare class WattEmptyStateCooperationComponent {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<WattEmptyStateCooperationComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<WattEmptyStateCooperationComponent, "watt-empty-state-cooperation", never, {}, {}, never, never, true, never>;
42
+ }
43
+
44
+ export { WattEmptyStateComponent, WattEmptyStateCooperationComponent, WattEmptyStateExploreComponent, WattEmptyStateNoResultsComponent, WattEmptyStateNotFoundComponent, WattEmptyStatePowerComponent };
@@ -158,6 +158,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
158
158
  }]
159
159
  }] });
160
160
 
161
+ //#region License
162
+ /**
163
+ * @license
164
+ * Copyright 2020 Energinet DataHub A/S
165
+ *
166
+ * Licensed under the Apache License, Version 2.0 (the "License2");
167
+ * you may not use this file except in compliance with the License.
168
+ * You may obtain a copy of the License at
169
+ *
170
+ * http://www.apache.org/licenses/LICENSE-2.0
171
+ *
172
+ * Unless required by applicable law or agreed to in writing, software
173
+ * distributed under the License is distributed on an "AS IS" BASIS,
174
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
175
+ * See the License for the specific language governing permissions and
176
+ * limitations under the License.
177
+ */
178
+ //#endregion
179
+ class WattEmptyStateCooperationComponent {
180
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStateCooperationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
181
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: WattEmptyStateCooperationComponent, isStandalone: true, selector: "watt-empty-state-cooperation", ngImport: i0, template: `
182
+ <svg viewBox="0, 0, 400,400.16122531237403">
183
+ <g>
184
+ <path
185
+ d="M23.055 18.001 C 14.608 19.294,7.687 26.110,6.218 34.583 C 5.827 36.836,5.834 158.305,6.225 160.592 C 7.486 167.970,12.777 174.094,19.915 176.441 C 22.922 177.430,22.339 177.396,37.852 177.464 L 52.084 177.525 60.630 194.617 L 69.176 211.709 70.016 211.094 C 70.478 210.756,80.863 203.061,93.095 193.994 L 115.335 177.509 117.159 177.509 L 118.984 177.509 118.984 213.482 C 118.984 245.243,119.014 249.655,119.236 251.168 C 120.421 259.238,126.351 265.827,134.381 267.998 L 136.316 268.521 209.270 268.564 L 282.225 268.607 305.758 287.065 C 318.702 297.216,329.331 305.522,329.378 305.522 C 329.425 305.522,331.817 297.214,334.693 287.061 L 339.922 268.601 357.023 268.601 C 375.962 268.600,375.659 268.615,378.827 267.555 C 385.984 265.161,391.111 259.219,392.537 251.666 C 392.998 249.227,392.983 127.483,392.522 125.030 C 390.934 116.585,384.976 110.465,376.380 108.451 L 374.929 108.111 326.602 108.063 L 278.275 108.015 278.275 72.086 C 278.275 40.538,278.245 35.982,278.028 34.725 C 276.518 25.977,269.699 19.280,260.983 17.986 C 258.496 17.617,25.469 17.631,23.055 18.001 M259.577 24.032 C 265.622 24.785,270.606 29.388,271.838 35.355 C 272.133 36.788,272.144 38.093,272.146 72.428 L 272.148 108.016 204.555 108.063 L 136.961 108.109 135.390 108.471 C 127.102 110.382,121.347 116.126,119.367 124.466 C 119.100 125.590,119.076 127.278,119.027 148.448 L 118.975 171.221 116.164 171.221 L 113.354 171.221 92.453 186.715 C 80.958 195.237,71.496 202.148,71.427 202.072 C 71.357 201.997,67.828 195.026,63.583 186.582 L 55.865 171.229 40.145 171.224 C 22.291 171.218,23.149 171.277,20.234 169.860 C 16.411 168.001,13.860 164.969,12.539 160.714 L 12.173 159.532 12.128 98.347 C 12.099 57.133,12.138 36.810,12.250 36.081 C 13.191 29.929,18.361 24.826,24.445 24.045 C 26.112 23.831,257.862 23.818,259.577 24.032 M376.137 114.764 C 381.015 116.274,384.653 119.912,386.164 124.790 L 386.538 125.998 386.586 187.586 C 386.623 233.834,386.588 249.475,386.447 250.382 C 385.589 255.907,381.523 260.335,375.736 262.047 C 374.626 262.375,374.283 262.382,354.903 262.433 L 335.200 262.485 335.056 263.004 C 332.914 270.721,326.078 294.678,325.989 294.778 C 325.921 294.854,316.558 287.617,305.182 278.696 L 284.499 262.475 211.517 262.475 C 131.230 262.475,137.190 262.550,134.476 261.503 C 129.454 259.566,125.951 255.080,125.280 249.725 C 125.048 247.872,125.043 128.967,125.276 127.041 C 126.029 120.792,130.484 115.925,136.719 114.538 C 137.414 114.384,163.260 114.346,256.268 114.365 L 374.929 114.389 376.137 114.764 M201.854 176.213 C 190.112 178.724,184.518 192.297,191.079 202.357 C 200.380 216.617,222.395 210.032,222.408 192.987 C 222.416 181.922,212.603 173.914,201.854 176.213 M257.719 176.002 C 239.022 178.988,238.295 205.977,256.810 209.750 C 271.954 212.836,283.140 195.932,274.377 183.202 C 270.800 178.005,263.888 175.017,257.719 176.002 M309.230 176.213 C 296.022 179.038,291.130 195.471,300.644 205.057 C 311.392 215.887,329.886 208.252,329.886 192.987 C 329.886 182.045,319.895 173.932,309.230 176.213 M208.706 182.567 C 215.077 184.603,218.160 191.741,215.252 197.722 C 211.260 205.934,199.643 205.950,195.641 197.749 C 191.451 189.160,199.623 179.663,208.706 182.567 M262.555 182.264 C 269.646 183.744,273.420 192.027,269.855 198.286 C 265.674 205.627,255.264 205.781,250.892 198.567 C 246.025 190.537,253.322 180.338,262.555 182.264 M315.083 182.280 C 323.103 184.052,326.450 193.721,321.200 199.948 C 314.586 207.793,301.844 203.141,301.910 192.906 C 301.955 186.012,308.410 180.805,315.083 182.280 "
186
+ fill="currentColor"
187
+ fill-rule="evenodd"
188
+ />
189
+ </g>
190
+ </svg>
191
+ `, isInline: true });
192
+ }
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStateCooperationComponent, decorators: [{
194
+ type: Component,
195
+ args: [{
196
+ selector: 'watt-empty-state-cooperation',
197
+ template: `
198
+ <svg viewBox="0, 0, 400,400.16122531237403">
199
+ <g>
200
+ <path
201
+ d="M23.055 18.001 C 14.608 19.294,7.687 26.110,6.218 34.583 C 5.827 36.836,5.834 158.305,6.225 160.592 C 7.486 167.970,12.777 174.094,19.915 176.441 C 22.922 177.430,22.339 177.396,37.852 177.464 L 52.084 177.525 60.630 194.617 L 69.176 211.709 70.016 211.094 C 70.478 210.756,80.863 203.061,93.095 193.994 L 115.335 177.509 117.159 177.509 L 118.984 177.509 118.984 213.482 C 118.984 245.243,119.014 249.655,119.236 251.168 C 120.421 259.238,126.351 265.827,134.381 267.998 L 136.316 268.521 209.270 268.564 L 282.225 268.607 305.758 287.065 C 318.702 297.216,329.331 305.522,329.378 305.522 C 329.425 305.522,331.817 297.214,334.693 287.061 L 339.922 268.601 357.023 268.601 C 375.962 268.600,375.659 268.615,378.827 267.555 C 385.984 265.161,391.111 259.219,392.537 251.666 C 392.998 249.227,392.983 127.483,392.522 125.030 C 390.934 116.585,384.976 110.465,376.380 108.451 L 374.929 108.111 326.602 108.063 L 278.275 108.015 278.275 72.086 C 278.275 40.538,278.245 35.982,278.028 34.725 C 276.518 25.977,269.699 19.280,260.983 17.986 C 258.496 17.617,25.469 17.631,23.055 18.001 M259.577 24.032 C 265.622 24.785,270.606 29.388,271.838 35.355 C 272.133 36.788,272.144 38.093,272.146 72.428 L 272.148 108.016 204.555 108.063 L 136.961 108.109 135.390 108.471 C 127.102 110.382,121.347 116.126,119.367 124.466 C 119.100 125.590,119.076 127.278,119.027 148.448 L 118.975 171.221 116.164 171.221 L 113.354 171.221 92.453 186.715 C 80.958 195.237,71.496 202.148,71.427 202.072 C 71.357 201.997,67.828 195.026,63.583 186.582 L 55.865 171.229 40.145 171.224 C 22.291 171.218,23.149 171.277,20.234 169.860 C 16.411 168.001,13.860 164.969,12.539 160.714 L 12.173 159.532 12.128 98.347 C 12.099 57.133,12.138 36.810,12.250 36.081 C 13.191 29.929,18.361 24.826,24.445 24.045 C 26.112 23.831,257.862 23.818,259.577 24.032 M376.137 114.764 C 381.015 116.274,384.653 119.912,386.164 124.790 L 386.538 125.998 386.586 187.586 C 386.623 233.834,386.588 249.475,386.447 250.382 C 385.589 255.907,381.523 260.335,375.736 262.047 C 374.626 262.375,374.283 262.382,354.903 262.433 L 335.200 262.485 335.056 263.004 C 332.914 270.721,326.078 294.678,325.989 294.778 C 325.921 294.854,316.558 287.617,305.182 278.696 L 284.499 262.475 211.517 262.475 C 131.230 262.475,137.190 262.550,134.476 261.503 C 129.454 259.566,125.951 255.080,125.280 249.725 C 125.048 247.872,125.043 128.967,125.276 127.041 C 126.029 120.792,130.484 115.925,136.719 114.538 C 137.414 114.384,163.260 114.346,256.268 114.365 L 374.929 114.389 376.137 114.764 M201.854 176.213 C 190.112 178.724,184.518 192.297,191.079 202.357 C 200.380 216.617,222.395 210.032,222.408 192.987 C 222.416 181.922,212.603 173.914,201.854 176.213 M257.719 176.002 C 239.022 178.988,238.295 205.977,256.810 209.750 C 271.954 212.836,283.140 195.932,274.377 183.202 C 270.800 178.005,263.888 175.017,257.719 176.002 M309.230 176.213 C 296.022 179.038,291.130 195.471,300.644 205.057 C 311.392 215.887,329.886 208.252,329.886 192.987 C 329.886 182.045,319.895 173.932,309.230 176.213 M208.706 182.567 C 215.077 184.603,218.160 191.741,215.252 197.722 C 211.260 205.934,199.643 205.950,195.641 197.749 C 191.451 189.160,199.623 179.663,208.706 182.567 M262.555 182.264 C 269.646 183.744,273.420 192.027,269.855 198.286 C 265.674 205.627,255.264 205.781,250.892 198.567 C 246.025 190.537,253.322 180.338,262.555 182.264 M315.083 182.280 C 323.103 184.052,326.450 193.721,321.200 199.948 C 314.586 207.793,301.844 203.141,301.910 192.906 C 301.955 186.012,308.410 180.805,315.083 182.280 "
202
+ fill="currentColor"
203
+ fill-rule="evenodd"
204
+ />
205
+ </g>
206
+ </svg>
207
+ `,
208
+ }]
209
+ }] });
210
+
161
211
  //#region License
162
212
  /**
163
213
  * @license
@@ -206,6 +256,11 @@ class WattEmptyStateComponent {
206
256
  <watt-empty-state-power />
207
257
  </watt-icon>
208
258
  }
259
+ @case ('custom-cooperation') {
260
+ <watt-icon [size]="iconSize()" class="watt-space-stack-l">
261
+ <watt-empty-state-cooperation />
262
+ </watt-icon>
263
+ }
209
264
  @default {
210
265
  <watt-icon [name]="name" [size]="iconSize()" class="watt-space-stack-l" />
211
266
  }
@@ -224,7 +279,7 @@ class WattEmptyStateComponent {
224
279
  }
225
280
 
226
281
  <ng-content />
227
- `, isInline: true, styles: ["@use \"@energinet/watt/utils\" as watt;watt-empty-state{display:block;text-align:center}watt-empty-state h3,watt-empty-state h5,watt-empty-state p{margin:0;white-space:pre-wrap}watt-empty-state watt-icon{color:var(--watt-color-primary-dark)}watt-empty-state watt-button{display:block;margin-top:var(--watt-space-m)}watt-empty-state watt-button:first-of-type{margin-top:var(--watt-space-l)}\n"], dependencies: [{ kind: "component", type: WattEmptyStateExploreComponent, selector: "watt-empty-state-explore" }, { kind: "component", type: WattEmptyStateNoResultsComponent, selector: "watt-empty-state-no-results" }, { kind: "component", type: WattEmptyStatePowerComponent, selector: "watt-empty-state-power" }, { kind: "component", type: WattIconComponent, selector: "watt-icon", inputs: ["name", "label", "size", "state"] }], encapsulation: i0.ViewEncapsulation.None });
282
+ `, isInline: true, styles: ["@use \"@energinet/watt/utils\" as watt;watt-empty-state{display:block;text-align:center}watt-empty-state h3,watt-empty-state h5,watt-empty-state p{margin:0;white-space:pre-wrap}watt-empty-state watt-icon{color:var(--watt-color-primary-dark)}watt-empty-state watt-button{display:block;margin-top:var(--watt-space-m)}watt-empty-state watt-button:first-of-type{margin-top:var(--watt-space-l)}\n"], dependencies: [{ kind: "component", type: WattEmptyStateExploreComponent, selector: "watt-empty-state-explore" }, { kind: "component", type: WattEmptyStateNoResultsComponent, selector: "watt-empty-state-no-results" }, { kind: "component", type: WattEmptyStatePowerComponent, selector: "watt-empty-state-power" }, { kind: "component", type: WattIconComponent, selector: "watt-icon", inputs: ["name", "label", "size", "state"] }, { kind: "component", type: WattEmptyStateCooperationComponent, selector: "watt-empty-state-cooperation" }], encapsulation: i0.ViewEncapsulation.None });
228
283
  }
229
284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattEmptyStateComponent, decorators: [{
230
285
  type: Component,
@@ -233,6 +288,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
233
288
  WattEmptyStateNoResultsComponent,
234
289
  WattEmptyStatePowerComponent,
235
290
  WattIconComponent,
291
+ WattEmptyStateCooperationComponent,
236
292
  ], template: `
237
293
  @let name = icon();
238
294
  @switch (name) {
@@ -251,6 +307,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
251
307
  <watt-empty-state-power />
252
308
  </watt-icon>
253
309
  }
310
+ @case ('custom-cooperation') {
311
+ <watt-icon [size]="iconSize()" class="watt-space-stack-l">
312
+ <watt-empty-state-cooperation />
313
+ </watt-icon>
314
+ }
254
315
  @default {
255
316
  <watt-icon [name]="name" [size]="iconSize()" class="watt-space-stack-l" />
256
317
  }
@@ -347,5 +408,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
347
408
  * Generated bundle index. Do not edit.
348
409
  */
349
410
 
350
- export { WattEmptyStateComponent, WattEmptyStateExploreComponent, WattEmptyStateNoResultsComponent, WattEmptyStateNotFoundComponent, WattEmptyStatePowerComponent };
411
+ export { WattEmptyStateComponent, WattEmptyStateCooperationComponent, WattEmptyStateExploreComponent, WattEmptyStateNoResultsComponent, WattEmptyStateNotFoundComponent, WattEmptyStatePowerComponent };
351
412
  //# sourceMappingURL=energinet-watt-empty-state.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"energinet-watt-empty-state.mjs","sources":["../../../libs/watt/package/empty-state/icons/explore.ts","../../../libs/watt/package/empty-state/icons/no-results.ts","../../../libs/watt/package/empty-state/icons/power.ts","../../../libs/watt/package/empty-state/watt-empty-state.component.ts","../../../libs/watt/package/empty-state/icons/not-found.ts","../../../libs/watt/package/empty-state/index.ts","../../../libs/watt/package/empty-state/energinet-watt-empty-state.ts"],"sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-explore',\n template: `\n <svg viewBox=\"0 0 96 98\" fill=\"none\">\n <path\n fill=\"currentColor\"\n d=\"M59.4473 60.5798c-.2445.1864-.503.3517-.7317.5628a34.937 34.937 0 0 1-17.0602 8.5072 34.4744 34.4744 0 0 1-7.8055.591A35.139 35.139 0 0 1 1.4442 45.2255 33.1081 33.1081 0 0 1 .081 37.7788c-.663-10.7585 2.7613-20.015 10.3769-27.6464C15.4248 5.141 21.4574 2.0226 28.3747.656a33.4635 33.4635 0 0 1 7.6807-.6366c8.9962.3324 16.8105 3.5474 23.3356 9.7612 5.25 4.9932 8.5899 11.098 10.1007 18.1842a33.6296 33.6296 0 0 1 .6719 9.1457c-.5417 8.6262-3.7896 16.0818-9.7437 22.3665a6.0972 6.0972 0 0 0-.4045.5276l-.5681.5752Zm9.2494-25.4269c0-18.5657-15.0358-33.5928-33.5928-33.607C16.7263 1.5303 1.511 16.4255 1.511 35.1548c.0158 18.7803 15.2593 33.417 33.2921 33.57 18.3794.1583 33.8514-14.6806 33.8866-33.5718h.007Z\"\n />\n <path\n fill=\"currentColor\"\n d=\"m59.4473 60.5797.5751-.5751c.2515-.1882.2586-.1935.4714.0211.5822.5909 1.159 1.1871 1.7377 1.7816l15.7447 16.1809 16.4183 16.8703c.4414.4537.8794.9058 1.3243 1.3595.1073.1108.2094.2251.2885.3096l-1.043 1.1203-35.7861-36.7587.2691-.3095ZM60.4444 35.8792h-1.4897c-.1196-6.3316-2.3199-11.8331-6.8083-16.3286-4.4884-4.4954-9.9864-6.7045-16.3427-6.8364v-1.4475c12.563-.3887 24.755 10.4508 24.6407 24.6125Z\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateExploreComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-no-results',\n template: `\n <svg viewBox=\"0 0 128 128\" fill=\"none\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M64 116c28.719 0 52-23.281 52-52S92.719 12 64 12 12 35.281 12 64s23.281 52 52 52Zm0 2c29.823 0 54-24.177 54-54S93.823 10 64 10 10 34.177 10 64s24.177 54 54 54Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M63.91 65.91 42 87.82l-1.414-1.414 21.91-21.91L40 42l1.414-1.414L63.91 63.082l22.496-22.497L87.82 42 65.325 64.496l21.91 21.91-1.413 1.414-21.91-21.91Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateNoResultsComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-power',\n template: `\n <svg viewBox=\"0 0 96 116\" fill=\"none\">\n <path\n fill=\"currentColor\"\n d=\"M48.9 89.88v25.914c-.606.042-1.213.042-1.818 0v-25.91c-.507-.042-.963-.083-1.422-.117-5.211-.394-9.989-2.067-14.383-4.875-4.834-3.091-8.642-7.183-11.614-12.07a42.881 42.881 0 0 1-5.505-14.54 46.448 46.448 0 0 1-.788-8.755V38.27c-.24 0-.446-.027-.655-.027H0v-1.8h24.536c.01-.268.027-.479.027-.69v-30.8a4.936 4.936 0 0 1 9.87-.145v31.527c.403.125 26.458.152 27.06.032 0-.23.03-.476.03-.72V5.198c-.02-.717.1-1.432.352-2.105a4.944 4.944 0 0 1 9.437.922c.07.427.104.86.098 1.294V36.424c1.204.033 2.363 0 3.522.014 1.16.015 2.335 0 3.5 0h17.51c.058.595.062 1.194.01 1.789h-13.32c-.018.252-.05.459-.05.667 0 3.335-.01 6.67 0 10.005a49.34 49.34 0 0 1-.36 6.683c-1.251 9.34-4.857 17.585-11.488 24.388-4.212 4.32-9.242 7.369-15.123 8.916a30.233 30.233 0 0 1-6.253.95c-.137.004-.267.025-.459.044ZM15.216 47.344c-.018.105-.03.211-.036.317-.044 3.204.08 6.393.626 9.56a42.105 42.105 0 0 0 4.123 12.363c2.538 4.873 5.911 9.058 10.316 12.373 5.013 3.773 10.63 5.876 16.932 6.082a27.722 27.722 0 0 0 9.688-1.421c5.11-1.69 9.443-4.586 13.118-8.494 4.552-4.832 7.55-10.527 9.286-16.905a43.867 43.867 0 0 0 1.334-7.567c.181-2.012.173-4.025.169-6.045a2.075 2.075 0 0 0-.03-.24c-.374-.104-64.866-.133-65.526-.023Zm.035-9.071c-.12.585-.098 6.787.023 7.166.063.014.126.023.19.027H80.46c.07-.002.14-.01.209-.025a.122.122 0 0 0 .04-.027l.039-.04v-7.101H15.252Zm17.37-1.876V5.317a6.539 6.539 0 0 0-.031-.698A2.989 2.989 0 0 0 30.7 2.084a2.956 2.956 0 0 0-3.15.446c-.833.653-1.181 1.543-1.181 2.585v30.592c0 .227.02.454.033.71l6.22-.02Zm36.96.027V4.73a3.127 3.127 0 0 0-6.235.273v31.433c2.105.005 4.148.009 6.24-.002l-.005-.01Z\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStatePowerComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\nimport { WattIcon, WattIconComponent, WattIconSize } from '@energinet/watt/icon';\nimport { WattEmptyStateExploreComponent } from './icons/explore';\nimport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nimport { WattEmptyStatePowerComponent } from './icons/power';\n\n/**\n * Usage:\n * `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`\n */\n@Component({\n selector: 'watt-empty-state',\n encapsulation: ViewEncapsulation.None,\n imports: [\n WattEmptyStateExploreComponent,\n WattEmptyStateNoResultsComponent,\n WattEmptyStatePowerComponent,\n WattIconComponent,\n ],\n styles: `\n @use '@energinet/watt/utils' as watt;\n\n watt-empty-state {\n display: block;\n text-align: center;\n\n h3,\n h5,\n p {\n margin: 0;\n white-space: pre-wrap;\n }\n\n watt-icon {\n color: var(--watt-color-primary-dark);\n }\n\n watt-button {\n display: block;\n margin-top: var(--watt-space-m);\n\n &:first-of-type {\n margin-top: var(--watt-space-l);\n }\n }\n }\n `,\n template: `\n @let name = icon();\n @switch (name) {\n @case ('custom-explore') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-explore />\n </watt-icon>\n }\n @case ('custom-no-results') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-no-results />\n </watt-icon>\n }\n @case ('custom-power') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-power />\n </watt-icon>\n }\n @default {\n <watt-icon [name]=\"name\" [size]=\"iconSize()\" class=\"watt-space-stack-l\" />\n }\n }\n\n @if (size() === 'large') {\n <h3>{{ title() }}</h3>\n } @else {\n <h5>{{ title() }}</h5>\n }\n\n @if (useHTML()) {\n <div [class.watt-text-s]=\"size() === 'small'\" [innerHTML]=\"message()\"></div>\n } @else {\n <p [class.watt-text-s]=\"size() === 'small'\">{{ message() }}</p>\n }\n\n <ng-content />\n `,\n})\nexport class WattEmptyStateComponent {\n icon = input<WattIcon | 'custom-power' | 'custom-explore' | 'custom-no-results'>();\n size = input<'small' | 'large'>('large');\n title = input('');\n message = input('');\n useHTML = input(false);\n iconSize = computed<WattIconSize>(() => (this.size() === 'small' ? 'xl' : 'xxl'));\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-not-found',\n template: `\n <svg viewBox=\"0 0 1291 275\" fill=\"none\">\n <path\n d=\"M724.142 151.133L709.268 118.065C708.63 118.338 708.094 118.543 707.574 118.782C695.083 124.478 682.593 130.192 670.102 135.926C667.668 137.065 665.223 137.264 662.761 136.125C661.382 135.486 660.207 134.473 659.366 133.199C658.525 131.925 658.052 130.441 657.998 128.912C657.945 127.383 658.314 125.869 659.064 124.538C659.814 123.208 660.916 122.115 662.247 121.379C663.579 120.628 665.019 120.064 666.414 119.426L701.188 103.553C701.555 103.382 701.911 103.194 702.441 102.932C697.817 92.6344 693.209 82.3883 688.533 71.9827L693.011 69.9153C695.473 75.3544 697.907 80.7366 700.392 86.2441C700.956 86.0049 701.419 85.8397 701.86 85.6404C706.338 83.5957 710.799 81.4998 715.305 79.5178C724.594 75.3668 734.736 73.5269 744.878 74.1527C756.098 74.8589 766.336 78.3673 775.235 85.4923C779.888 89.2093 783.748 93.8353 786.586 99.0931C786.755 99.412 786.93 99.731 787.111 100.044C787.189 100.141 787.276 100.231 787.371 100.312C787.653 100.266 788.009 100.232 788.348 100.147C798.687 97.5724 809.094 95.3341 819.603 93.5799C826.769 92.3781 833.957 91.3017 841.202 90.7321C847.007 90.2708 852.812 89.8494 858.629 89.5931C863.496 89.388 868.381 89.3311 873.249 89.4678C882.409 89.7054 891.541 90.5865 900.58 92.1048C922.405 95.8068 942.688 103.496 961.284 115.673C971.623 122.427 981.132 130.242 990.196 138.625C996.916 144.839 1003.48 151.224 1010.3 157.323C1017.54 163.782 1024.99 169.967 1033.13 175.287C1042.73 181.596 1053.54 185.802 1064.85 187.635C1075.83 189.411 1087.06 188.403 1097.55 184.702C1105.46 181.958 1113.04 178.328 1120.14 173.88C1128.61 168.646 1136.95 163.207 1145.32 157.813C1154.41 151.953 1163.62 146.303 1173.31 141.473C1186.07 135.019 1199.66 130.386 1213.69 127.707C1219.1 126.704 1224.57 126.016 1230.06 125.645C1235.61 125.273 1241.16 125.231 1246.71 125.52C1255.55 125.957 1264.32 127.26 1272.91 129.41C1278.63 130.857 1284.29 132.605 1289.97 134.223C1290.27 134.308 1290.54 134.439 1291 134.604C1290.63 136.201 1290.14 137.768 1289.54 139.292C1288.79 139.064 1288.14 138.882 1287.51 138.677C1278.69 135.729 1269.65 133.487 1260.48 131.973C1255.72 131.17 1250.91 130.674 1246.08 130.486C1242.61 130.384 1239.13 130.247 1235.67 130.344C1222.97 130.705 1210.39 132.832 1198.27 136.666C1186.54 140.351 1175.48 145.551 1164.82 151.656C1155.86 156.782 1147.26 162.478 1138.63 168.133C1130.79 173.259 1122.93 178.385 1114.62 182.702C1106.94 186.689 1098.98 189.987 1090.49 191.815C1083.51 193.346 1076.34 193.792 1069.22 193.136C1052.59 191.587 1037.79 185.311 1024.48 175.304C1015.33 168.415 1006.58 160.98 998.305 153.04C990.286 145.357 982.211 137.737 973.56 130.76C964.395 123.28 954.477 116.79 943.97 111.395C932.864 105.79 921.117 101.582 908.993 98.8653C901.371 97.1645 893.649 95.9527 885.875 95.2373C876.159 94.37 866.397 94.1512 856.652 94.5823C848.126 94.9012 839.638 95.7214 831.179 96.8605C817.366 98.7585 803.667 101.42 790.143 104.834C789.929 104.885 789.72 104.971 789.432 105.068C789.482 105.425 789.554 105.778 789.646 106.127C793.181 116.789 792.679 127.371 788.839 137.811C783.937 151.132 775.032 161.111 763.174 168.566C758.905 171.249 754.263 173.174 749.717 175.281C747.583 176.267 745.437 177.229 743.302 178.209C742.941 178.374 742.591 178.573 742.077 178.835L749.367 195.096C747.967 195.973 746.481 196.474 744.917 197.243C740.276 186.934 735.662 176.682 730.986 166.305C730.518 166.493 730.111 166.641 729.721 166.818C717.148 172.563 704.572 178.313 691.995 184.069C690.097 184.941 688.177 185.391 686.088 184.907C684.447 184.533 682.959 183.661 681.826 182.407C680.693 181.153 679.969 179.578 679.752 177.895C679.532 176.259 679.812 174.594 680.555 173.123C681.297 171.651 682.467 170.443 683.908 169.66C685.986 168.572 688.155 167.649 690.289 166.675L722.838 151.787C723.222 151.611 723.617 151.394 724.142 151.133ZM714.159 85.4866C726.559 113.049 738.903 140.488 751.191 167.803C751.321 168.088 751.49 168.373 751.648 168.629C751.679 168.663 751.718 168.689 751.761 168.703C751.802 168.717 751.843 168.728 751.886 168.737C756.075 167.036 760.055 164.85 763.744 162.222C773.44 155.29 780.64 146.405 784.587 135.014C787.122 127.69 787.845 120.178 786.236 112.563C783.452 99.3779 775.721 90.0259 763.851 84.0856C755.754 80.0475 747.103 78.5837 738.096 79.0679C730.916 79.4699 723.864 81.1574 717.27 84.0514C716.276 84.5013 715.305 84.9627 714.159 85.4866ZM747.182 170.947C734.646 143.085 722.172 115.359 709.658 87.537L702.464 90.8461L739.434 173.003C739.587 173.328 739.773 173.641 739.948 173.954C739.948 173.988 740.021 174 740.061 174.017C740.138 174.052 740.217 174.082 740.298 174.108L747.182 170.947ZM704.519 107.539C703.955 107.779 703.48 107.95 703.034 108.155L674.196 121.34C671.158 122.729 668.125 124.13 665.081 125.509C664.55 125.71 664.078 126.046 663.713 126.485C663.348 126.925 663.102 127.451 662.998 128.015C662.886 128.587 662.93 129.179 663.124 129.728C663.318 130.277 663.655 130.764 664.1 131.136C664.546 131.508 665.082 131.752 665.653 131.842C666.224 131.932 666.809 131.865 667.346 131.648C669.108 130.959 670.807 130.093 672.53 129.308L705.564 114.215C706.078 113.975 706.575 113.708 707.173 113.411L704.519 107.539ZM726.226 155.757C725.627 156.014 725.215 156.184 724.809 156.372L687.217 173.544C686.843 173.707 686.48 173.898 686.133 174.114C685.519 174.51 685.054 175.102 684.813 175.796C684.571 176.489 684.567 177.245 684.8 177.941C685.036 178.637 685.5 179.23 686.117 179.622C686.734 180.014 687.465 180.18 688.189 180.094C688.723 180.014 689.241 179.851 689.725 179.61C702.34 173.857 714.951 168.095 727.559 162.324C727.96 162.142 728.349 161.931 728.863 161.669L726.226 155.757Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M2.69921 101.492L0 97.3224C0.203288 97.2085 0.367047 97.1288 0.519513 97.032C11.051 90.1974 21.9777 84.1318 33.7797 79.7292C41.1403 76.9453 48.7809 74.982 56.5649 73.8743C61.303 73.1932 66.0901 72.9207 70.8741 73.0598C82.1679 73.4471 92.9761 75.7253 103.208 80.6177C110.613 84.2442 117.46 88.9306 123.537 94.5317C129.297 99.7316 134.492 105.49 139.732 111.202C144.25 116.146 148.801 121.107 153.516 125.868C161.027 133.449 169.401 139.896 179.001 144.612C187.372 148.713 196.327 151.472 205.541 152.791C210.775 153.554 216.073 153.783 221.352 153.474C228.743 152.985 236.049 151.599 243.11 149.345C251.321 146.816 259.232 143.49 267.092 140.038C277.02 135.676 286.885 131.165 297.021 127.252C309.177 122.479 321.725 118.795 334.522 116.243C340.372 115.104 346.262 114.261 352.191 113.623C372.064 111.605 392.113 112.237 411.822 115.502C433.845 119.09 454.908 125.714 475.282 134.742C475.722 134.935 476.168 135.106 476.807 135.368C476.84 134.639 476.88 134.115 476.88 133.591C476.88 125.942 476.88 118.293 476.88 110.644C476.782 107.445 477.532 104.277 479.054 101.469C482.052 96.172 486.547 93.1363 492.561 92.3105C497.61 91.6213 502.647 90.8296 507.684 90.0323C514.861 88.8932 522.032 87.7541 529.204 86.615L550.453 83.1977C557.004 82.1498 563.554 81.0961 570.104 80.0766C571.778 79.7303 573.479 79.5397 575.187 79.5071C579.006 79.6654 582.669 81.0859 585.609 83.5497C588.55 86.0134 590.606 89.3839 591.461 93.142C591.771 94.5156 591.93 95.9194 591.935 97.3281C591.965 125.737 591.965 154.144 591.935 182.549C591.975 186.875 590.455 191.067 587.659 194.346C584.863 197.626 580.98 199.769 576.734 200.376C574.984 200.577 573.214 200.5 571.488 200.148C562.137 198.629 552.782 197.111 543.423 195.592C534.602 194.179 525.78 192.776 516.956 191.383C509.83 190.244 502.703 189.105 495.571 187.966C494.013 187.721 492.42 187.675 490.879 187.356C487.037 186.584 483.567 184.524 481.034 181.511C478.5 178.498 477.052 174.708 476.925 170.76C476.778 165.434 476.863 160.109 476.852 154.784C476.852 150.592 476.852 146.406 476.852 142.22C476.899 141.82 476.805 141.416 476.586 141.08C476.367 140.743 476.037 140.495 475.655 140.38C456.771 131.837 437.256 125.31 416.876 121.46C409.834 120.08 402.724 119.076 395.576 118.453C391.352 118.105 387.106 117.786 382.882 117.638C378.15 117.479 373.401 117.399 368.669 117.513C360.828 117.729 353.006 118.393 345.24 119.501C325.741 122.206 307.163 128.112 289.115 135.847C279.685 139.885 270.322 144.071 260.881 148.103C253.305 151.429 245.461 154.096 237.435 156.077C231.952 157.427 226.352 158.234 220.714 158.486C198.161 159.255 178.041 152.489 160.242 138.58C153.403 133.238 147.361 127.041 141.5 120.651C136.474 115.172 131.522 109.619 126.372 104.26C119.562 97.1687 112.096 90.8752 103.332 86.2961C96.6572 82.8427 89.4936 80.449 82.0945 79.1995C76.0903 78.1587 69.9885 77.8072 63.9059 78.1515C56.0622 78.6417 48.3106 80.1227 40.8327 82.5598C30.4989 85.8575 20.7975 90.5733 11.4688 96.0979C8.85997 97.6414 6.31322 99.2817 3.73824 100.876C3.42766 101.064 3.11708 101.241 2.69921 101.492ZM586.977 140.05C586.977 125.762 586.977 111.468 586.977 97.1687C586.973 94.4616 586.116 91.8259 584.529 89.6423C582.943 87.4587 580.709 85.8401 578.151 85.0203C576.66 84.4807 575.06 84.3184 573.493 84.5475C568.738 85.3677 563.961 86.0739 559.195 86.8257L539.815 89.9297L518.43 93.347C512.406 94.3076 506.392 95.2702 500.388 96.2346C498.299 96.5706 496.204 96.975 494.097 97.1288C490.995 97.2817 488.05 98.5506 485.796 100.706C482.9 103.468 481.725 106.931 481.725 110.9C481.725 130.295 481.725 149.688 481.725 169.08C481.725 169.535 481.725 169.991 481.759 170.441C481.886 173.451 483.051 176.322 485.053 178.557C487.055 180.793 489.769 182.253 492.725 182.686C493.702 182.845 494.702 182.84 495.678 182.988C499.829 183.631 503.968 184.309 508.102 184.97C515.228 186.109 522.356 187.248 529.486 188.387C536.617 189.526 543.7 190.665 550.736 191.804C557.997 192.974 565.259 194.134 572.521 195.284C573.49 195.486 574.481 195.564 575.469 195.518C582.641 194.772 587.051 188.455 586.994 182.418C586.887 168.276 586.977 154.163 586.977 140.05Z\"\n fill=\"currentColor\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateNotFoundComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattEmptyStateComponent } from './watt-empty-state.component';\nexport { WattEmptyStateExploreComponent } from './icons/explore';\nexport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nexport { WattEmptyStatePowerComponent } from './icons/power';\nexport { WattEm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EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAbhC;;;;;;;;;;;AAWT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAEU,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAf3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE;;;;;;;;;;;AAWT,EAAA,CAAA;AACF,iBAAA;;;AClCD;AACA;;;;;;;;;;;;;;;AAeG;AACH;;ACjBA;;AAEG;;;;"}
1
+ {"version":3,"file":"energinet-watt-empty-state.mjs","sources":["../../../libs/watt/package/empty-state/icons/explore.ts","../../../libs/watt/package/empty-state/icons/no-results.ts","../../../libs/watt/package/empty-state/icons/power.ts","../../../libs/watt/package/empty-state/icons/cooperation.ts","../../../libs/watt/package/empty-state/watt-empty-state.component.ts","../../../libs/watt/package/empty-state/icons/not-found.ts","../../../libs/watt/package/empty-state/index.ts","../../../libs/watt/package/empty-state/energinet-watt-empty-state.ts"],"sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-explore',\n template: `\n <svg viewBox=\"0 0 96 98\" fill=\"none\">\n <path\n fill=\"currentColor\"\n d=\"M59.4473 60.5798c-.2445.1864-.503.3517-.7317.5628a34.937 34.937 0 0 1-17.0602 8.5072 34.4744 34.4744 0 0 1-7.8055.591A35.139 35.139 0 0 1 1.4442 45.2255 33.1081 33.1081 0 0 1 .081 37.7788c-.663-10.7585 2.7613-20.015 10.3769-27.6464C15.4248 5.141 21.4574 2.0226 28.3747.656a33.4635 33.4635 0 0 1 7.6807-.6366c8.9962.3324 16.8105 3.5474 23.3356 9.7612 5.25 4.9932 8.5899 11.098 10.1007 18.1842a33.6296 33.6296 0 0 1 .6719 9.1457c-.5417 8.6262-3.7896 16.0818-9.7437 22.3665a6.0972 6.0972 0 0 0-.4045.5276l-.5681.5752Zm9.2494-25.4269c0-18.5657-15.0358-33.5928-33.5928-33.607C16.7263 1.5303 1.511 16.4255 1.511 35.1548c.0158 18.7803 15.2593 33.417 33.2921 33.57 18.3794.1583 33.8514-14.6806 33.8866-33.5718h.007Z\"\n />\n <path\n fill=\"currentColor\"\n d=\"m59.4473 60.5797.5751-.5751c.2515-.1882.2586-.1935.4714.0211.5822.5909 1.159 1.1871 1.7377 1.7816l15.7447 16.1809 16.4183 16.8703c.4414.4537.8794.9058 1.3243 1.3595.1073.1108.2094.2251.2885.3096l-1.043 1.1203-35.7861-36.7587.2691-.3095ZM60.4444 35.8792h-1.4897c-.1196-6.3316-2.3199-11.8331-6.8083-16.3286-4.4884-4.4954-9.9864-6.7045-16.3427-6.8364v-1.4475c12.563-.3887 24.755 10.4508 24.6407 24.6125Z\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateExploreComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-no-results',\n template: `\n <svg viewBox=\"0 0 128 128\" fill=\"none\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M64 116c28.719 0 52-23.281 52-52S92.719 12 64 12 12 35.281 12 64s23.281 52 52 52Zm0 2c29.823 0 54-24.177 54-54S93.823 10 64 10 10 34.177 10 64s24.177 54 54 54Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M63.91 65.91 42 87.82l-1.414-1.414 21.91-21.91L40 42l1.414-1.414L63.91 63.082l22.496-22.497L87.82 42 65.325 64.496l21.91 21.91-1.413 1.414-21.91-21.91Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateNoResultsComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-power',\n template: `\n <svg viewBox=\"0 0 96 116\" fill=\"none\">\n <path\n fill=\"currentColor\"\n d=\"M48.9 89.88v25.914c-.606.042-1.213.042-1.818 0v-25.91c-.507-.042-.963-.083-1.422-.117-5.211-.394-9.989-2.067-14.383-4.875-4.834-3.091-8.642-7.183-11.614-12.07a42.881 42.881 0 0 1-5.505-14.54 46.448 46.448 0 0 1-.788-8.755V38.27c-.24 0-.446-.027-.655-.027H0v-1.8h24.536c.01-.268.027-.479.027-.69v-30.8a4.936 4.936 0 0 1 9.87-.145v31.527c.403.125 26.458.152 27.06.032 0-.23.03-.476.03-.72V5.198c-.02-.717.1-1.432.352-2.105a4.944 4.944 0 0 1 9.437.922c.07.427.104.86.098 1.294V36.424c1.204.033 2.363 0 3.522.014 1.16.015 2.335 0 3.5 0h17.51c.058.595.062 1.194.01 1.789h-13.32c-.018.252-.05.459-.05.667 0 3.335-.01 6.67 0 10.005a49.34 49.34 0 0 1-.36 6.683c-1.251 9.34-4.857 17.585-11.488 24.388-4.212 4.32-9.242 7.369-15.123 8.916a30.233 30.233 0 0 1-6.253.95c-.137.004-.267.025-.459.044ZM15.216 47.344c-.018.105-.03.211-.036.317-.044 3.204.08 6.393.626 9.56a42.105 42.105 0 0 0 4.123 12.363c2.538 4.873 5.911 9.058 10.316 12.373 5.013 3.773 10.63 5.876 16.932 6.082a27.722 27.722 0 0 0 9.688-1.421c5.11-1.69 9.443-4.586 13.118-8.494 4.552-4.832 7.55-10.527 9.286-16.905a43.867 43.867 0 0 0 1.334-7.567c.181-2.012.173-4.025.169-6.045a2.075 2.075 0 0 0-.03-.24c-.374-.104-64.866-.133-65.526-.023Zm.035-9.071c-.12.585-.098 6.787.023 7.166.063.014.126.023.19.027H80.46c.07-.002.14-.01.209-.025a.122.122 0 0 0 .04-.027l.039-.04v-7.101H15.252Zm17.37-1.876V5.317a6.539 6.539 0 0 0-.031-.698A2.989 2.989 0 0 0 30.7 2.084a2.956 2.956 0 0 0-3.15.446c-.833.653-1.181 1.543-1.181 2.585v30.592c0 .227.02.454.033.71l6.22-.02Zm36.96.027V4.73a3.127 3.127 0 0 0-6.235.273v31.433c2.105.005 4.148.009 6.24-.002l-.005-.01Z\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStatePowerComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-cooperation',\n template: `\n <svg viewBox=\"0, 0, 400,400.16122531237403\">\n <g>\n <path\n d=\"M23.055 18.001 C 14.608 19.294,7.687 26.110,6.218 34.583 C 5.827 36.836,5.834 158.305,6.225 160.592 C 7.486 167.970,12.777 174.094,19.915 176.441 C 22.922 177.430,22.339 177.396,37.852 177.464 L 52.084 177.525 60.630 194.617 L 69.176 211.709 70.016 211.094 C 70.478 210.756,80.863 203.061,93.095 193.994 L 115.335 177.509 117.159 177.509 L 118.984 177.509 118.984 213.482 C 118.984 245.243,119.014 249.655,119.236 251.168 C 120.421 259.238,126.351 265.827,134.381 267.998 L 136.316 268.521 209.270 268.564 L 282.225 268.607 305.758 287.065 C 318.702 297.216,329.331 305.522,329.378 305.522 C 329.425 305.522,331.817 297.214,334.693 287.061 L 339.922 268.601 357.023 268.601 C 375.962 268.600,375.659 268.615,378.827 267.555 C 385.984 265.161,391.111 259.219,392.537 251.666 C 392.998 249.227,392.983 127.483,392.522 125.030 C 390.934 116.585,384.976 110.465,376.380 108.451 L 374.929 108.111 326.602 108.063 L 278.275 108.015 278.275 72.086 C 278.275 40.538,278.245 35.982,278.028 34.725 C 276.518 25.977,269.699 19.280,260.983 17.986 C 258.496 17.617,25.469 17.631,23.055 18.001 M259.577 24.032 C 265.622 24.785,270.606 29.388,271.838 35.355 C 272.133 36.788,272.144 38.093,272.146 72.428 L 272.148 108.016 204.555 108.063 L 136.961 108.109 135.390 108.471 C 127.102 110.382,121.347 116.126,119.367 124.466 C 119.100 125.590,119.076 127.278,119.027 148.448 L 118.975 171.221 116.164 171.221 L 113.354 171.221 92.453 186.715 C 80.958 195.237,71.496 202.148,71.427 202.072 C 71.357 201.997,67.828 195.026,63.583 186.582 L 55.865 171.229 40.145 171.224 C 22.291 171.218,23.149 171.277,20.234 169.860 C 16.411 168.001,13.860 164.969,12.539 160.714 L 12.173 159.532 12.128 98.347 C 12.099 57.133,12.138 36.810,12.250 36.081 C 13.191 29.929,18.361 24.826,24.445 24.045 C 26.112 23.831,257.862 23.818,259.577 24.032 M376.137 114.764 C 381.015 116.274,384.653 119.912,386.164 124.790 L 386.538 125.998 386.586 187.586 C 386.623 233.834,386.588 249.475,386.447 250.382 C 385.589 255.907,381.523 260.335,375.736 262.047 C 374.626 262.375,374.283 262.382,354.903 262.433 L 335.200 262.485 335.056 263.004 C 332.914 270.721,326.078 294.678,325.989 294.778 C 325.921 294.854,316.558 287.617,305.182 278.696 L 284.499 262.475 211.517 262.475 C 131.230 262.475,137.190 262.550,134.476 261.503 C 129.454 259.566,125.951 255.080,125.280 249.725 C 125.048 247.872,125.043 128.967,125.276 127.041 C 126.029 120.792,130.484 115.925,136.719 114.538 C 137.414 114.384,163.260 114.346,256.268 114.365 L 374.929 114.389 376.137 114.764 M201.854 176.213 C 190.112 178.724,184.518 192.297,191.079 202.357 C 200.380 216.617,222.395 210.032,222.408 192.987 C 222.416 181.922,212.603 173.914,201.854 176.213 M257.719 176.002 C 239.022 178.988,238.295 205.977,256.810 209.750 C 271.954 212.836,283.140 195.932,274.377 183.202 C 270.800 178.005,263.888 175.017,257.719 176.002 M309.230 176.213 C 296.022 179.038,291.130 195.471,300.644 205.057 C 311.392 215.887,329.886 208.252,329.886 192.987 C 329.886 182.045,319.895 173.932,309.230 176.213 M208.706 182.567 C 215.077 184.603,218.160 191.741,215.252 197.722 C 211.260 205.934,199.643 205.950,195.641 197.749 C 191.451 189.160,199.623 179.663,208.706 182.567 M262.555 182.264 C 269.646 183.744,273.420 192.027,269.855 198.286 C 265.674 205.627,255.264 205.781,250.892 198.567 C 246.025 190.537,253.322 180.338,262.555 182.264 M315.083 182.280 C 323.103 184.052,326.450 193.721,321.200 199.948 C 314.586 207.793,301.844 203.141,301.910 192.906 C 301.955 186.012,308.410 180.805,315.083 182.280 \"\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n />\n </g>\n </svg>\n `,\n})\nexport class WattEmptyStateCooperationComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\nimport { WattIcon, WattIconComponent, WattIconSize } from '@energinet/watt/icon';\nimport { WattEmptyStateExploreComponent } from './icons/explore';\nimport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nimport { WattEmptyStatePowerComponent } from './icons/power';\nimport { WattEmptyStateCooperationComponent } from './icons/cooperation';\n\n/**\n * Usage:\n * `import { WattEmptyStateComponent } from '@energinet/watt/empty-state';`\n */\n@Component({\n selector: 'watt-empty-state',\n encapsulation: ViewEncapsulation.None,\n imports: [\n WattEmptyStateExploreComponent,\n WattEmptyStateNoResultsComponent,\n WattEmptyStatePowerComponent,\n WattIconComponent,\n WattEmptyStateCooperationComponent,\n ],\n styles: `\n @use '@energinet/watt/utils' as watt;\n\n watt-empty-state {\n display: block;\n text-align: center;\n\n h3,\n h5,\n p {\n margin: 0;\n white-space: pre-wrap;\n }\n\n watt-icon {\n color: var(--watt-color-primary-dark);\n }\n\n watt-button {\n display: block;\n margin-top: var(--watt-space-m);\n\n &:first-of-type {\n margin-top: var(--watt-space-l);\n }\n }\n }\n `,\n template: `\n @let name = icon();\n @switch (name) {\n @case ('custom-explore') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-explore />\n </watt-icon>\n }\n @case ('custom-no-results') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-no-results />\n </watt-icon>\n }\n @case ('custom-power') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-power />\n </watt-icon>\n }\n @case ('custom-cooperation') {\n <watt-icon [size]=\"iconSize()\" class=\"watt-space-stack-l\">\n <watt-empty-state-cooperation />\n </watt-icon>\n }\n @default {\n <watt-icon [name]=\"name\" [size]=\"iconSize()\" class=\"watt-space-stack-l\" />\n }\n }\n\n @if (size() === 'large') {\n <h3>{{ title() }}</h3>\n } @else {\n <h5>{{ title() }}</h5>\n }\n\n @if (useHTML()) {\n <div [class.watt-text-s]=\"size() === 'small'\" [innerHTML]=\"message()\"></div>\n } @else {\n <p [class.watt-text-s]=\"size() === 'small'\">{{ message() }}</p>\n }\n\n <ng-content />\n `,\n})\nexport class WattEmptyStateComponent {\n icon = input<\n WattIcon | 'custom-power' | 'custom-explore' | 'custom-no-results' | 'custom-cooperation'\n >();\n size = input<'small' | 'large'>('large');\n title = input('');\n message = input('');\n useHTML = input(false);\n iconSize = computed<WattIconSize>(() => (this.size() === 'small' ? 'xl' : 'xxl'));\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-empty-state-not-found',\n template: `\n <svg viewBox=\"0 0 1291 275\" fill=\"none\">\n <path\n d=\"M724.142 151.133L709.268 118.065C708.63 118.338 708.094 118.543 707.574 118.782C695.083 124.478 682.593 130.192 670.102 135.926C667.668 137.065 665.223 137.264 662.761 136.125C661.382 135.486 660.207 134.473 659.366 133.199C658.525 131.925 658.052 130.441 657.998 128.912C657.945 127.383 658.314 125.869 659.064 124.538C659.814 123.208 660.916 122.115 662.247 121.379C663.579 120.628 665.019 120.064 666.414 119.426L701.188 103.553C701.555 103.382 701.911 103.194 702.441 102.932C697.817 92.6344 693.209 82.3883 688.533 71.9827L693.011 69.9153C695.473 75.3544 697.907 80.7366 700.392 86.2441C700.956 86.0049 701.419 85.8397 701.86 85.6404C706.338 83.5957 710.799 81.4998 715.305 79.5178C724.594 75.3668 734.736 73.5269 744.878 74.1527C756.098 74.8589 766.336 78.3673 775.235 85.4923C779.888 89.2093 783.748 93.8353 786.586 99.0931C786.755 99.412 786.93 99.731 787.111 100.044C787.189 100.141 787.276 100.231 787.371 100.312C787.653 100.266 788.009 100.232 788.348 100.147C798.687 97.5724 809.094 95.3341 819.603 93.5799C826.769 92.3781 833.957 91.3017 841.202 90.7321C847.007 90.2708 852.812 89.8494 858.629 89.5931C863.496 89.388 868.381 89.3311 873.249 89.4678C882.409 89.7054 891.541 90.5865 900.58 92.1048C922.405 95.8068 942.688 103.496 961.284 115.673C971.623 122.427 981.132 130.242 990.196 138.625C996.916 144.839 1003.48 151.224 1010.3 157.323C1017.54 163.782 1024.99 169.967 1033.13 175.287C1042.73 181.596 1053.54 185.802 1064.85 187.635C1075.83 189.411 1087.06 188.403 1097.55 184.702C1105.46 181.958 1113.04 178.328 1120.14 173.88C1128.61 168.646 1136.95 163.207 1145.32 157.813C1154.41 151.953 1163.62 146.303 1173.31 141.473C1186.07 135.019 1199.66 130.386 1213.69 127.707C1219.1 126.704 1224.57 126.016 1230.06 125.645C1235.61 125.273 1241.16 125.231 1246.71 125.52C1255.55 125.957 1264.32 127.26 1272.91 129.41C1278.63 130.857 1284.29 132.605 1289.97 134.223C1290.27 134.308 1290.54 134.439 1291 134.604C1290.63 136.201 1290.14 137.768 1289.54 139.292C1288.79 139.064 1288.14 138.882 1287.51 138.677C1278.69 135.729 1269.65 133.487 1260.48 131.973C1255.72 131.17 1250.91 130.674 1246.08 130.486C1242.61 130.384 1239.13 130.247 1235.67 130.344C1222.97 130.705 1210.39 132.832 1198.27 136.666C1186.54 140.351 1175.48 145.551 1164.82 151.656C1155.86 156.782 1147.26 162.478 1138.63 168.133C1130.79 173.259 1122.93 178.385 1114.62 182.702C1106.94 186.689 1098.98 189.987 1090.49 191.815C1083.51 193.346 1076.34 193.792 1069.22 193.136C1052.59 191.587 1037.79 185.311 1024.48 175.304C1015.33 168.415 1006.58 160.98 998.305 153.04C990.286 145.357 982.211 137.737 973.56 130.76C964.395 123.28 954.477 116.79 943.97 111.395C932.864 105.79 921.117 101.582 908.993 98.8653C901.371 97.1645 893.649 95.9527 885.875 95.2373C876.159 94.37 866.397 94.1512 856.652 94.5823C848.126 94.9012 839.638 95.7214 831.179 96.8605C817.366 98.7585 803.667 101.42 790.143 104.834C789.929 104.885 789.72 104.971 789.432 105.068C789.482 105.425 789.554 105.778 789.646 106.127C793.181 116.789 792.679 127.371 788.839 137.811C783.937 151.132 775.032 161.111 763.174 168.566C758.905 171.249 754.263 173.174 749.717 175.281C747.583 176.267 745.437 177.229 743.302 178.209C742.941 178.374 742.591 178.573 742.077 178.835L749.367 195.096C747.967 195.973 746.481 196.474 744.917 197.243C740.276 186.934 735.662 176.682 730.986 166.305C730.518 166.493 730.111 166.641 729.721 166.818C717.148 172.563 704.572 178.313 691.995 184.069C690.097 184.941 688.177 185.391 686.088 184.907C684.447 184.533 682.959 183.661 681.826 182.407C680.693 181.153 679.969 179.578 679.752 177.895C679.532 176.259 679.812 174.594 680.555 173.123C681.297 171.651 682.467 170.443 683.908 169.66C685.986 168.572 688.155 167.649 690.289 166.675L722.838 151.787C723.222 151.611 723.617 151.394 724.142 151.133ZM714.159 85.4866C726.559 113.049 738.903 140.488 751.191 167.803C751.321 168.088 751.49 168.373 751.648 168.629C751.679 168.663 751.718 168.689 751.761 168.703C751.802 168.717 751.843 168.728 751.886 168.737C756.075 167.036 760.055 164.85 763.744 162.222C773.44 155.29 780.64 146.405 784.587 135.014C787.122 127.69 787.845 120.178 786.236 112.563C783.452 99.3779 775.721 90.0259 763.851 84.0856C755.754 80.0475 747.103 78.5837 738.096 79.0679C730.916 79.4699 723.864 81.1574 717.27 84.0514C716.276 84.5013 715.305 84.9627 714.159 85.4866ZM747.182 170.947C734.646 143.085 722.172 115.359 709.658 87.537L702.464 90.8461L739.434 173.003C739.587 173.328 739.773 173.641 739.948 173.954C739.948 173.988 740.021 174 740.061 174.017C740.138 174.052 740.217 174.082 740.298 174.108L747.182 170.947ZM704.519 107.539C703.955 107.779 703.48 107.95 703.034 108.155L674.196 121.34C671.158 122.729 668.125 124.13 665.081 125.509C664.55 125.71 664.078 126.046 663.713 126.485C663.348 126.925 663.102 127.451 662.998 128.015C662.886 128.587 662.93 129.179 663.124 129.728C663.318 130.277 663.655 130.764 664.1 131.136C664.546 131.508 665.082 131.752 665.653 131.842C666.224 131.932 666.809 131.865 667.346 131.648C669.108 130.959 670.807 130.093 672.53 129.308L705.564 114.215C706.078 113.975 706.575 113.708 707.173 113.411L704.519 107.539ZM726.226 155.757C725.627 156.014 725.215 156.184 724.809 156.372L687.217 173.544C686.843 173.707 686.48 173.898 686.133 174.114C685.519 174.51 685.054 175.102 684.813 175.796C684.571 176.489 684.567 177.245 684.8 177.941C685.036 178.637 685.5 179.23 686.117 179.622C686.734 180.014 687.465 180.18 688.189 180.094C688.723 180.014 689.241 179.851 689.725 179.61C702.34 173.857 714.951 168.095 727.559 162.324C727.96 162.142 728.349 161.931 728.863 161.669L726.226 155.757Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M2.69921 101.492L0 97.3224C0.203288 97.2085 0.367047 97.1288 0.519513 97.032C11.051 90.1974 21.9777 84.1318 33.7797 79.7292C41.1403 76.9453 48.7809 74.982 56.5649 73.8743C61.303 73.1932 66.0901 72.9207 70.8741 73.0598C82.1679 73.4471 92.9761 75.7253 103.208 80.6177C110.613 84.2442 117.46 88.9306 123.537 94.5317C129.297 99.7316 134.492 105.49 139.732 111.202C144.25 116.146 148.801 121.107 153.516 125.868C161.027 133.449 169.401 139.896 179.001 144.612C187.372 148.713 196.327 151.472 205.541 152.791C210.775 153.554 216.073 153.783 221.352 153.474C228.743 152.985 236.049 151.599 243.11 149.345C251.321 146.816 259.232 143.49 267.092 140.038C277.02 135.676 286.885 131.165 297.021 127.252C309.177 122.479 321.725 118.795 334.522 116.243C340.372 115.104 346.262 114.261 352.191 113.623C372.064 111.605 392.113 112.237 411.822 115.502C433.845 119.09 454.908 125.714 475.282 134.742C475.722 134.935 476.168 135.106 476.807 135.368C476.84 134.639 476.88 134.115 476.88 133.591C476.88 125.942 476.88 118.293 476.88 110.644C476.782 107.445 477.532 104.277 479.054 101.469C482.052 96.172 486.547 93.1363 492.561 92.3105C497.61 91.6213 502.647 90.8296 507.684 90.0323C514.861 88.8932 522.032 87.7541 529.204 86.615L550.453 83.1977C557.004 82.1498 563.554 81.0961 570.104 80.0766C571.778 79.7303 573.479 79.5397 575.187 79.5071C579.006 79.6654 582.669 81.0859 585.609 83.5497C588.55 86.0134 590.606 89.3839 591.461 93.142C591.771 94.5156 591.93 95.9194 591.935 97.3281C591.965 125.737 591.965 154.144 591.935 182.549C591.975 186.875 590.455 191.067 587.659 194.346C584.863 197.626 580.98 199.769 576.734 200.376C574.984 200.577 573.214 200.5 571.488 200.148C562.137 198.629 552.782 197.111 543.423 195.592C534.602 194.179 525.78 192.776 516.956 191.383C509.83 190.244 502.703 189.105 495.571 187.966C494.013 187.721 492.42 187.675 490.879 187.356C487.037 186.584 483.567 184.524 481.034 181.511C478.5 178.498 477.052 174.708 476.925 170.76C476.778 165.434 476.863 160.109 476.852 154.784C476.852 150.592 476.852 146.406 476.852 142.22C476.899 141.82 476.805 141.416 476.586 141.08C476.367 140.743 476.037 140.495 475.655 140.38C456.771 131.837 437.256 125.31 416.876 121.46C409.834 120.08 402.724 119.076 395.576 118.453C391.352 118.105 387.106 117.786 382.882 117.638C378.15 117.479 373.401 117.399 368.669 117.513C360.828 117.729 353.006 118.393 345.24 119.501C325.741 122.206 307.163 128.112 289.115 135.847C279.685 139.885 270.322 144.071 260.881 148.103C253.305 151.429 245.461 154.096 237.435 156.077C231.952 157.427 226.352 158.234 220.714 158.486C198.161 159.255 178.041 152.489 160.242 138.58C153.403 133.238 147.361 127.041 141.5 120.651C136.474 115.172 131.522 109.619 126.372 104.26C119.562 97.1687 112.096 90.8752 103.332 86.2961C96.6572 82.8427 89.4936 80.449 82.0945 79.1995C76.0903 78.1587 69.9885 77.8072 63.9059 78.1515C56.0622 78.6417 48.3106 80.1227 40.8327 82.5598C30.4989 85.8575 20.7975 90.5733 11.4688 96.0979C8.85997 97.6414 6.31322 99.2817 3.73824 100.876C3.42766 101.064 3.11708 101.241 2.69921 101.492ZM586.977 140.05C586.977 125.762 586.977 111.468 586.977 97.1687C586.973 94.4616 586.116 91.8259 584.529 89.6423C582.943 87.4587 580.709 85.8401 578.151 85.0203C576.66 84.4807 575.06 84.3184 573.493 84.5475C568.738 85.3677 563.961 86.0739 559.195 86.8257L539.815 89.9297L518.43 93.347C512.406 94.3076 506.392 95.2702 500.388 96.2346C498.299 96.5706 496.204 96.975 494.097 97.1288C490.995 97.2817 488.05 98.5506 485.796 100.706C482.9 103.468 481.725 106.931 481.725 110.9C481.725 130.295 481.725 149.688 481.725 169.08C481.725 169.535 481.725 169.991 481.759 170.441C481.886 173.451 483.051 176.322 485.053 178.557C487.055 180.793 489.769 182.253 492.725 182.686C493.702 182.845 494.702 182.84 495.678 182.988C499.829 183.631 503.968 184.309 508.102 184.97C515.228 186.109 522.356 187.248 529.486 188.387C536.617 189.526 543.7 190.665 550.736 191.804C557.997 192.974 565.259 194.134 572.521 195.284C573.49 195.486 574.481 195.564 575.469 195.518C582.641 194.772 587.051 188.455 586.994 182.418C586.887 168.276 586.977 154.163 586.977 140.05Z\"\n fill=\"currentColor\"\n />\n </svg>\n `,\n})\nexport class WattEmptyStateNotFoundComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattEmptyStateComponent } from './watt-empty-state.component';\nexport { WattEmptyStateExploreComponent } from './icons/explore';\nexport { WattEmptyStateNoResultsComponent } from './icons/no-results';\nexport { WattEmptyStatePowerComponent } from './icons/power';\nexport { WattEmptyStateNotFoundComponent } from './icons/not-found';\nexport { WattEmptyStateCooperationComponent } from './icons/cooperation';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;AACA;;;;;;;;;;;;;;;AAeG;AACH;MAkBa,8BAA8B,CAAA;wGAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA9B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAb/B;;;;;;;;;;;AAWT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAEU,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAf1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE;;;;;;;;;;;AAWT,EAAA,CAAA;AAC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A,EAAA,IAAA,EAAA,CAAA;;4FAEU,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAf3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE;;;;;;;;;;;AAWT,EAAA,CAAA;AACF,iBAAA;;;AClCD;AACA;;;;;;;;;;;;;;;AAeG;AACH;;ACjBA;;AAEG;;;;"}
@@ -185,7 +185,7 @@ class WattFieldComponent {
185
185
  <watt-field-error>{{ intl.required }}</watt-field-error>
186
186
  }
187
187
  </ng-template>
188
- `, isInline: true, styles: ["[watt-field-disabled=true] watt-field .label,.watt-field--disabled .label{color:var(--watt-disabled-text-label-color)}[watt-field-disabled=true] .watt-field-wrapper,.watt-field--disabled .watt-field-wrapper{background-color:var(--watt-field-disabled-background-color)}watt-field watt-field-hint{display:block}watt-field :is(watt-field-error,watt-field-warning),.ng-valid watt-field :is(watt-field-error,watt-field-warning),watt-field:has(.ng-valid) :is(watt-field-error,watt-field-warning){display:none}form.ng-submitted .ng-invalid watt-field watt-field-hint,form.ng-submitted watt-field:has(.ng-invalid) watt-field-hint,:not(form).ng-touched.ng-invalid watt-field watt-field-hint{display:none}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors :is(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning){display:block}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper{border-color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label.required:after,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label.required:after,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label.required:after{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field:has(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid):has(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field:has(watt-field-error,watt-field-warning){padding-bottom:0}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label{color:var(--watt-text-color)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper{border-color:var(--watt-color-state-warning)}.watt-field-wrapper input{width:100%;border:none;outline:none;background-color:transparent}.watt-field-placeholder{position:absolute;padding:1px 2px;pointer-events:none;white-space:nowrap}.watt-field--has-placeholder input,.watt-field-placeholder{font-family:Droid Sans Mono,monospace;letter-spacing:-.03em}.watt-field-filler{color:var(--watt-on-light-low-emphasis)}.watt-field-ghost{color:transparent}watt-field{--watt-text-color: var(--watt-on-light-high-emphasis);--watt-disabled-text-label-color: var(--watt-on-light-low-emphasis);--watt-field-disabled-background-color: var(--watt-color-neutral-grey-100);--watt-input-border-radius: 4px;--watt-border-color: var(--watt-on-light-low-emphasis);--watt-label-text-color: var(--watt-text-color);width:100%;display:block}watt-field:not(.watt-field--chip,:has(watt-field-hint)){padding-bottom:20px}watt-field .label{min-height:27px;display:flex;align-items:center}watt-field .label watt-icon{margin-left:var(--watt-space-s)}watt-field .label watt-tooltip{max-width:250px}watt-field .label.required:after{content:\"*\"}watt-field>label,watt-field>.watt-label{color:var(--watt-label-text-color);display:block;width:100%}watt-field>label .watt-field-wrapper,watt-field>.watt-label .watt-field-wrapper{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0;display:flex;position:relative;width:100%;padding:0 var(--watt-space-s);border-radius:var(--watt-input-border-radius);border:1px solid var(--watt-border-color);overflow:hidden;color:var(--watt-text-color);align-items:center;gap:var(--watt-space-m);background-color:var(--watt-color-neutral-white)}watt-field>label .watt-field-wrapper:focus-within,watt-field>.watt-label .watt-field-wrapper:focus-within{--watt-border-color: var(--watt-color-primary)}watt-field>label watt-field-hint,watt-field>label watt-field-error,watt-field>label watt-field-warning,watt-field>.watt-label watt-field-hint,watt-field>.watt-label watt-field-error,watt-field>.watt-label watt-field-warning{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0}watt-field>label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning),watt-field>.watt-label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning){padding:0 var(--watt-space-s)}watt-field:not(.watt-field--box) .watt-field-wrapper{border:none;padding:0}watt-field.watt-field--chip watt-field-hint,watt-field.watt-field--chip watt-field-error,watt-field.watt-field--chip watt-field-warning{margin-top:var(--watt-space-xs)}watt-field.watt-field--box .watt-field-wrapper{min-height:46px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: WattIconComponent, selector: "watt-icon", inputs: ["name", "label", "size", "state"] }, { kind: "directive", type: WattTooltipDirective, selector: "[wattTooltip]", inputs: ["wattTooltip", "wattTooltipPosition", "wattTooltipVariant"], exportAs: ["wattTooltip"] }, { kind: "component", type: WattFieldErrorComponent, selector: "watt-field-error" }, { kind: "component", type: VaterFlexComponent, selector: "vater-flex, [vater-flex]", inputs: ["autoSize"] }, { kind: "directive", type: VaterUtilityDirective, selector: "[vater]", inputs: ["center", "fill", "inset", "scrollable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
188
+ `, isInline: true, styles: ["[watt-field-disabled=true] watt-field .label,.watt-field--disabled .label{color:var(--watt-disabled-text-label-color)}[watt-field-disabled=true] .watt-field-wrapper,.watt-field--disabled .watt-field-wrapper{background-color:var(--watt-field-disabled-background-color)}watt-field watt-field-hint{display:block}watt-field :is(watt-field-error,watt-field-warning),.ng-valid watt-field :is(watt-field-error,watt-field-warning),watt-field:has(.ng-valid) :is(watt-field-error,watt-field-warning){display:none}form.ng-submitted .ng-invalid watt-field watt-field-hint,form.ng-submitted watt-field:has(.ng-invalid) watt-field-hint,:not(form).ng-touched.ng-invalid watt-field watt-field-hint{display:none}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors :is(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning){display:block}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper{border-color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label.required:after,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label.required:after,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label.required:after{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-error,watt-field-warning){padding-bottom:0}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label{color:var(--watt-text-color)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper{border-color:var(--watt-color-state-warning)}.watt-field-wrapper input{width:100%;border:none;outline:none;background-color:transparent}.watt-field-placeholder{position:absolute;padding:1px 2px;pointer-events:none;white-space:nowrap}.watt-field--has-placeholder input,.watt-field-placeholder{font-family:Droid Sans Mono,monospace;letter-spacing:-.03em}.watt-field-filler{color:var(--watt-on-light-low-emphasis)}.watt-field-ghost{color:transparent}watt-field{--watt-text-color: var(--watt-on-light-high-emphasis);--watt-disabled-text-label-color: var(--watt-on-light-low-emphasis);--watt-field-disabled-background-color: var(--watt-color-neutral-grey-100);--watt-input-border-radius: 4px;--watt-border-color: var(--watt-on-light-low-emphasis);--watt-label-text-color: var(--watt-text-color);width:100%;display:block}watt-field:not(.watt-field--chip,:has(watt-field-hint)){padding-bottom:20px}watt-field .label{min-height:27px;display:flex;align-items:center}watt-field .label watt-icon{margin-left:var(--watt-space-s)}watt-field .label watt-tooltip{max-width:250px}watt-field .label.required:after{content:\"*\"}watt-field>label,watt-field>.watt-label{color:var(--watt-label-text-color);display:block;width:100%}watt-field>label .watt-field-wrapper,watt-field>.watt-label .watt-field-wrapper{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0;display:flex;position:relative;width:100%;padding:0 var(--watt-space-s);border-radius:var(--watt-input-border-radius);border:1px solid var(--watt-border-color);overflow:hidden;color:var(--watt-text-color);align-items:center;gap:var(--watt-space-m);background-color:var(--watt-color-neutral-white)}watt-field>label .watt-field-wrapper:focus-within,watt-field>.watt-label .watt-field-wrapper:focus-within{--watt-border-color: var(--watt-color-primary)}watt-field>label watt-field-hint,watt-field>label watt-field-error,watt-field>label watt-field-warning,watt-field>.watt-label watt-field-hint,watt-field>.watt-label watt-field-error,watt-field>.watt-label watt-field-warning{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0}watt-field>label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning),watt-field>.watt-label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning){padding:0 var(--watt-space-s)}watt-field:not(.watt-field--box) .watt-field-wrapper{border:none;padding:0}watt-field.watt-field--chip watt-field-hint,watt-field.watt-field--chip watt-field-error,watt-field.watt-field--chip watt-field-warning{margin-top:var(--watt-space-xs)}watt-field.watt-field--box .watt-field-wrapper{min-height:46px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: WattIconComponent, selector: "watt-icon", inputs: ["name", "label", "size", "state"] }, { kind: "directive", type: WattTooltipDirective, selector: "[wattTooltip]", inputs: ["wattTooltip", "wattTooltipPosition", "wattTooltipVariant"], exportAs: ["wattTooltip"] }, { kind: "component", type: WattFieldErrorComponent, selector: "watt-field-error" }, { kind: "component", type: VaterFlexComponent, selector: "vater-flex, [vater-flex]", inputs: ["autoSize"] }, { kind: "directive", type: VaterUtilityDirective, selector: "[vater]", inputs: ["center", "fill", "inset", "scrollable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
189
189
  }
190
190
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WattFieldComponent, decorators: [{
191
191
  type: Component,
@@ -247,7 +247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
247
247
  '[class.watt-field--disabled]': 'control()?.disabled',
248
248
  '[class.watt-field--show-errors]': 'showErrors()',
249
249
  '[class]': 'className()',
250
- }, styles: ["[watt-field-disabled=true] watt-field .label,.watt-field--disabled .label{color:var(--watt-disabled-text-label-color)}[watt-field-disabled=true] .watt-field-wrapper,.watt-field--disabled .watt-field-wrapper{background-color:var(--watt-field-disabled-background-color)}watt-field watt-field-hint{display:block}watt-field :is(watt-field-error,watt-field-warning),.ng-valid watt-field :is(watt-field-error,watt-field-warning),watt-field:has(.ng-valid) :is(watt-field-error,watt-field-warning){display:none}form.ng-submitted .ng-invalid watt-field watt-field-hint,form.ng-submitted watt-field:has(.ng-invalid) watt-field-hint,:not(form).ng-touched.ng-invalid watt-field watt-field-hint{display:none}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors :is(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning){display:block}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper{border-color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label.required:after,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label.required:after,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label.required:after{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field:has(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid):has(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field:has(watt-field-error,watt-field-warning){padding-bottom:0}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label{color:var(--watt-text-color)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper{border-color:var(--watt-color-state-warning)}.watt-field-wrapper input{width:100%;border:none;outline:none;background-color:transparent}.watt-field-placeholder{position:absolute;padding:1px 2px;pointer-events:none;white-space:nowrap}.watt-field--has-placeholder input,.watt-field-placeholder{font-family:Droid Sans Mono,monospace;letter-spacing:-.03em}.watt-field-filler{color:var(--watt-on-light-low-emphasis)}.watt-field-ghost{color:transparent}watt-field{--watt-text-color: var(--watt-on-light-high-emphasis);--watt-disabled-text-label-color: var(--watt-on-light-low-emphasis);--watt-field-disabled-background-color: var(--watt-color-neutral-grey-100);--watt-input-border-radius: 4px;--watt-border-color: var(--watt-on-light-low-emphasis);--watt-label-text-color: var(--watt-text-color);width:100%;display:block}watt-field:not(.watt-field--chip,:has(watt-field-hint)){padding-bottom:20px}watt-field .label{min-height:27px;display:flex;align-items:center}watt-field .label watt-icon{margin-left:var(--watt-space-s)}watt-field .label watt-tooltip{max-width:250px}watt-field .label.required:after{content:\"*\"}watt-field>label,watt-field>.watt-label{color:var(--watt-label-text-color);display:block;width:100%}watt-field>label .watt-field-wrapper,watt-field>.watt-label .watt-field-wrapper{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0;display:flex;position:relative;width:100%;padding:0 var(--watt-space-s);border-radius:var(--watt-input-border-radius);border:1px solid var(--watt-border-color);overflow:hidden;color:var(--watt-text-color);align-items:center;gap:var(--watt-space-m);background-color:var(--watt-color-neutral-white)}watt-field>label .watt-field-wrapper:focus-within,watt-field>.watt-label .watt-field-wrapper:focus-within{--watt-border-color: var(--watt-color-primary)}watt-field>label watt-field-hint,watt-field>label watt-field-error,watt-field>label watt-field-warning,watt-field>.watt-label watt-field-hint,watt-field>.watt-label watt-field-error,watt-field>.watt-label watt-field-warning{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0}watt-field>label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning),watt-field>.watt-label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning){padding:0 var(--watt-space-s)}watt-field:not(.watt-field--box) .watt-field-wrapper{border:none;padding:0}watt-field.watt-field--chip watt-field-hint,watt-field.watt-field--chip watt-field-error,watt-field.watt-field--chip watt-field-warning{margin-top:var(--watt-space-xs)}watt-field.watt-field--box .watt-field-wrapper{min-height:46px}\n"] }]
250
+ }, styles: ["[watt-field-disabled=true] watt-field .label,.watt-field--disabled .label{color:var(--watt-disabled-text-label-color)}[watt-field-disabled=true] .watt-field-wrapper,.watt-field--disabled .watt-field-wrapper{background-color:var(--watt-field-disabled-background-color)}watt-field watt-field-hint{display:block}watt-field :is(watt-field-error,watt-field-warning),.ng-valid watt-field :is(watt-field-error,watt-field-warning),watt-field:has(.ng-valid) :is(watt-field-error,watt-field-warning){display:none}form.ng-submitted .ng-invalid watt-field watt-field-hint,form.ng-submitted watt-field:has(.ng-invalid) watt-field-hint,:not(form).ng-touched.ng-invalid watt-field watt-field-hint{display:none}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors :is(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors :is(watt-field-error,watt-field-warning){display:block}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .watt-field-wrapper{border-color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors .label.required:after,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors .label.required:after,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors .label.required:after{color:var(--watt-color-state-danger)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-error,watt-field-warning),form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-error,watt-field-warning),:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-error,watt-field-warning){padding-bottom:0}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .label{color:var(--watt-text-color)}form.ng-submitted .ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,form.ng-submitted watt-field:has(.ng-invalid).watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper,:not(form).ng-touched.ng-invalid watt-field.watt-field--show-errors:has(watt-field-warning):not(:has(watt-field-error)) .watt-field-wrapper{border-color:var(--watt-color-state-warning)}.watt-field-wrapper input{width:100%;border:none;outline:none;background-color:transparent}.watt-field-placeholder{position:absolute;padding:1px 2px;pointer-events:none;white-space:nowrap}.watt-field--has-placeholder input,.watt-field-placeholder{font-family:Droid Sans Mono,monospace;letter-spacing:-.03em}.watt-field-filler{color:var(--watt-on-light-low-emphasis)}.watt-field-ghost{color:transparent}watt-field{--watt-text-color: var(--watt-on-light-high-emphasis);--watt-disabled-text-label-color: var(--watt-on-light-low-emphasis);--watt-field-disabled-background-color: var(--watt-color-neutral-grey-100);--watt-input-border-radius: 4px;--watt-border-color: var(--watt-on-light-low-emphasis);--watt-label-text-color: var(--watt-text-color);width:100%;display:block}watt-field:not(.watt-field--chip,:has(watt-field-hint)){padding-bottom:20px}watt-field .label{min-height:27px;display:flex;align-items:center}watt-field .label watt-icon{margin-left:var(--watt-space-s)}watt-field .label watt-tooltip{max-width:250px}watt-field .label.required:after{content:\"*\"}watt-field>label,watt-field>.watt-label{color:var(--watt-label-text-color);display:block;width:100%}watt-field>label .watt-field-wrapper,watt-field>.watt-label .watt-field-wrapper{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0;display:flex;position:relative;width:100%;padding:0 var(--watt-space-s);border-radius:var(--watt-input-border-radius);border:1px solid var(--watt-border-color);overflow:hidden;color:var(--watt-text-color);align-items:center;gap:var(--watt-space-m);background-color:var(--watt-color-neutral-white)}watt-field>label .watt-field-wrapper:focus-within,watt-field>.watt-label .watt-field-wrapper:focus-within{--watt-border-color: var(--watt-color-primary)}watt-field>label watt-field-hint,watt-field>label watt-field-error,watt-field>label watt-field-warning,watt-field>.watt-label watt-field-hint,watt-field>.watt-label watt-field-error,watt-field>.watt-label watt-field-warning{font-size:.875rem;line-height:1.25rem;font-weight:400;text-transform:none;letter-spacing:0}watt-field>label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning),watt-field>.watt-label :not(.watt-field--chip) :is(watt-field-hint,watt-field-error,watt-field-warning){padding:0 var(--watt-space-s)}watt-field:not(.watt-field--box) .watt-field-wrapper{border:none;padding:0}watt-field.watt-field--chip watt-field-hint,watt-field.watt-field--chip watt-field-error,watt-field.watt-field--chip watt-field-warning{margin-top:var(--watt-space-xs)}watt-field.watt-field--box .watt-field-wrapper{min-height:46px}\n"] }]
251
251
  }], ctorParameters: () => [], propDecorators: { control: [{ type: i0.Input, args: [{ isSignal: true, alias: "control", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], chipMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "chipMode", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], anchorName: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchorName", required: false }] }], displayMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayMode", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], labelElement: [{ type: i0.ViewChild, args: ['label', { isSignal: true }] }], wattLabelElement: [{ type: i0.ViewChild, args: ['wattLabel', { isSignal: true }] }], showErrors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showErrors", required: false }] }], wrapper: [{ type: i0.ViewChild, args: ['wrapper', { isSignal: true }] }] } });
252
252
 
253
253
  //#region License
@@ -1 +1 @@
1
- {"version":3,"file":"energinet-watt-field.mjs","sources":["../../../libs/watt/package/field/watt-field-intl.service.ts","../../../libs/watt/package/field/watt-field-error.component.ts","../../../libs/watt/package/field/watt-field.component.ts","../../../libs/watt/package/field/watt-field-hint.component.ts","../../../libs/watt/package/field/watt-field-warning.component.ts","../../../libs/watt/package/field/index.ts","../../../libs/watt/package/field/energinet-watt-field.ts"],"sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class WattFieldIntlService {\n readonly changes: Subject<void> = new Subject<void>();\n required = 'Field is required';\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-error',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-error {\n color: var(--watt-color-state-danger);\n }\n `,\n ],\n})\nexport class WattFieldErrorComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { FormControl, ValidationErrors, Validators } from '@angular/forms';\nimport { filter, map, startWith, switchMap, tap } from 'rxjs/operators';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\n\nimport { WattIconComponent } from '@energinet/watt/icon';\nimport { WattTooltipDirective } from '@energinet/watt/tooltip';\nimport { VaterFlexComponent, VaterUtilityDirective } from '@energinet/watt/vater';\nimport { WattRangeValidators } from '@energinet/watt/validators';\n\nimport { WattFieldIntlService } from './watt-field-intl.service';\nimport { WattFieldErrorComponent } from './watt-field-error.component';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'watt-field',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n WattIconComponent,\n WattTooltipDirective,\n WattFieldErrorComponent,\n VaterFlexComponent,\n VaterUtilityDirective,\n ],\n styleUrls: ['./watt-field.component.scss'],\n template: `\n @if (chipMode() || displayMode() !== 'box') {\n <span [attr.autofocus]=\"autoFocus() || null\" class=\"watt-label\" #wattLabel>\n <ng-container *ngTemplateOutlet=\"template\" />\n </span>\n } @else {\n <label [attr.autofocus]=\"autoFocus() || null\" [attr.for]=\"id()\" #label>\n <ng-container *ngTemplateOutlet=\"template\" />\n </label>\n }\n\n <ng-template #template>\n @if (label()) {\n <span class=\"label\" [class.required]=\"isRequired()\">\n {{ label() }}\n @if (tooltip(); as tooltip) {\n <watt-icon name=\"info\" wattTooltipPosition=\"top\" [wattTooltip]=\"tooltip\" />\n }\n </span>\n }\n <vater-flex direction=\"row\" gap=\"s\" align=\"center\">\n <div\n vater\n fill=\"horizontal\"\n #wrapper\n class=\"watt-field-wrapper\"\n [class.watt-field--has-placeholder]=\"!!placeholder()\"\n [style.anchor-name]=\"anchorName()\"\n >\n @if (placeholder()) {\n <div class=\"watt-field-placeholder\" aria-hidden=\"true\">\n <span class=\"watt-field-ghost\">{{ ghost() }}</span>\n <span class=\"watt-field-filler\">{{ filler() }}</span>\n </div>\n }\n <ng-content />\n </div>\n <ng-content select=\"watt-field-descriptor\" />\n </vater-flex>\n <ng-content select=\"[popover]\" />\n <ng-content select=\"watt-field-hint\" />\n <ng-content select=\"watt-field-error\" />\n <ng-content select=\"watt-field-warning\" />\n @if (isEmpty()) {\n <watt-field-error>{{ intl.required }}</watt-field-error>\n }\n </ng-template>\n `,\n host: {\n '[class.watt-field--disabled]': 'control()?.disabled',\n '[class.watt-field--show-errors]': 'showErrors()',\n '[class]': 'className()',\n },\n})\nexport class WattFieldComponent {\n intl = inject(WattFieldIntlService);\n elementRef = inject<ElementRef>(ElementRef);\n\n control = input<FormControl | null>(null);\n label = input<string>();\n id = input<string>();\n /** @deprecated Use `displayMode` instead. */\n chipMode = input(false);\n tooltip = input<string>();\n placeholder = input('');\n anchorName = input<string>();\n displayMode = input<'box' | 'chip' | 'content'>('box');\n className = computed(() => `watt-field--${this.chipMode() ? 'chip' : this.displayMode()}`);\n\n /**\n * Whether the input should receive focus when the component is rendered.\n */\n autoFocus = input(false);\n\n /** @ignore */\n labelElement = viewChild<ElementRef<HTMLLabelElement>>('label');\n wattLabelElement = viewChild<ElementRef<HTMLSpanElement>>('wattLabel');\n\n value = signal('');\n filler = computed(() => this.placeholder().slice(this.value().length));\n ghost = computed(() => this.value().slice(0, this.placeholder().length));\n\n errors = signal<ValidationErrors | null>(null);\n isRequired = signal(false);\n isEmpty = computed(() => this.errors()?.['required'] || this.errors()?.['rangeRequired']);\n showErrors = input(true);\n\n // Used for text fields with autocomplete\n wrapper = viewChild<ElementRef>('wrapper');\n\n constructor() {\n const control$ = toObservable(this.control).pipe(filter((control) => control !== null));\n\n // Track value in order to update ghost and filler\n const value$ = control$.pipe(\n switchMap((control) =>\n control.valueChanges.pipe(\n startWith(control.value),\n map((value) => (value === null || value === undefined ? '' : value.toString())),\n tap((value) => this.value.set(value))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Track status in order to update required state and show errors\n const status$ = control$.pipe(\n switchMap((control) =>\n control.statusChanges.pipe(\n startWith(control.status),\n tap(() => this.isRequired.set(this.isRequiredControl(control))),\n tap(() => this.errors.set(control.errors))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Subscribe for side effects\n value$.subscribe();\n status$.subscribe();\n\n effect(() => {\n if (this.autoFocus()) {\n if (this.chipMode()) {\n this.wattLabelElement()?.nativeElement.focus();\n } else {\n this.labelElement()?.nativeElement.focus();\n }\n }\n });\n }\n\n isRequiredControl(control: FormControl) {\n const validators = [Validators.required, WattRangeValidators.required];\n return validators.some((validator) => control.hasValidator(validator));\n }\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-field-hint',\n styles: [\n `\n :host {\n color: var(--watt-color-neutral-grey-700);\n }\n `,\n ],\n template: `<ng-content />`,\n})\nexport class WattFieldHintComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-warning',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-warning {\n color: var(--watt-color-state-warning);\n }\n `,\n ],\n})\nexport class WattFieldWarningComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattFieldComponent } from './watt-field.component';\nexport { WattFieldErrorComponent } from './watt-field-error.component';\nexport { WattFieldHintComponent } from './watt-field-hint.component';\nexport { WattFieldWarningComponent } from './watt-field-warning.component';\nexport { WattFieldIntlService } from './watt-field-intl.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AACA;;;;;;;;;;;;;;;AAeG;AACH;MAKa,oBAAoB,CAAA;AACtB,IAAA,OAAO,GAAkB,IAAI,OAAO,EAAQ;IACrD,QAAQ,GAAG,mBAAmB;wGAFnB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EA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AAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,8EAV1B,CAAA,cAAA,CAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6DAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;4FAUf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAZrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,QAAA,EACpB,CAAA,cAAA,CAAgB,EAAA,aAAA,EACX,iBAAiB,CAAC,IAAI,EAAA,MAAA,EAAA,CAAA,6DAAA,CAAA,EAAA;;;ACvBvC;AACA;;;;;;;;;;;;;;;AAeG;AACH;;ACjBA;;AAEG;;;;"}
1
+ {"version":3,"file":"energinet-watt-field.mjs","sources":["../../../libs/watt/package/field/watt-field-intl.service.ts","../../../libs/watt/package/field/watt-field-error.component.ts","../../../libs/watt/package/field/watt-field.component.ts","../../../libs/watt/package/field/watt-field-hint.component.ts","../../../libs/watt/package/field/watt-field-warning.component.ts","../../../libs/watt/package/field/index.ts","../../../libs/watt/package/field/energinet-watt-field.ts"],"sourcesContent":["//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class WattFieldIntlService {\n readonly changes: Subject<void> = new Subject<void>();\n required = 'Field is required';\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-error',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-error {\n color: var(--watt-color-state-danger);\n }\n `,\n ],\n})\nexport class WattFieldErrorComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n ViewEncapsulation,\n computed,\n effect,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { FormControl, ValidationErrors, Validators } from '@angular/forms';\nimport { filter, map, startWith, switchMap, tap } from 'rxjs/operators';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\n\nimport { WattIconComponent } from '@energinet/watt/icon';\nimport { WattTooltipDirective } from '@energinet/watt/tooltip';\nimport { VaterFlexComponent, VaterUtilityDirective } from '@energinet/watt/vater';\nimport { WattRangeValidators } from '@energinet/watt/validators';\n\nimport { WattFieldIntlService } from './watt-field-intl.service';\nimport { WattFieldErrorComponent } from './watt-field-error.component';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'watt-field',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgTemplateOutlet,\n WattIconComponent,\n WattTooltipDirective,\n WattFieldErrorComponent,\n VaterFlexComponent,\n VaterUtilityDirective,\n ],\n styleUrls: ['./watt-field.component.scss'],\n template: `\n @if (chipMode() || displayMode() !== 'box') {\n <span [attr.autofocus]=\"autoFocus() || null\" class=\"watt-label\" #wattLabel>\n <ng-container *ngTemplateOutlet=\"template\" />\n </span>\n } @else {\n <label [attr.autofocus]=\"autoFocus() || null\" [attr.for]=\"id()\" #label>\n <ng-container *ngTemplateOutlet=\"template\" />\n </label>\n }\n\n <ng-template #template>\n @if (label()) {\n <span class=\"label\" [class.required]=\"isRequired()\">\n {{ label() }}\n @if (tooltip(); as tooltip) {\n <watt-icon name=\"info\" wattTooltipPosition=\"top\" [wattTooltip]=\"tooltip\" />\n }\n </span>\n }\n <vater-flex direction=\"row\" gap=\"s\" align=\"center\">\n <div\n vater\n fill=\"horizontal\"\n #wrapper\n class=\"watt-field-wrapper\"\n [class.watt-field--has-placeholder]=\"!!placeholder()\"\n [style.anchor-name]=\"anchorName()\"\n >\n @if (placeholder()) {\n <div class=\"watt-field-placeholder\" aria-hidden=\"true\">\n <span class=\"watt-field-ghost\">{{ ghost() }}</span>\n <span class=\"watt-field-filler\">{{ filler() }}</span>\n </div>\n }\n <ng-content />\n </div>\n <ng-content select=\"watt-field-descriptor\" />\n </vater-flex>\n <ng-content select=\"[popover]\" />\n <ng-content select=\"watt-field-hint\" />\n <ng-content select=\"watt-field-error\" />\n <ng-content select=\"watt-field-warning\" />\n @if (isEmpty()) {\n <watt-field-error>{{ intl.required }}</watt-field-error>\n }\n </ng-template>\n `,\n host: {\n '[class.watt-field--disabled]': 'control()?.disabled',\n '[class.watt-field--show-errors]': 'showErrors()',\n '[class]': 'className()',\n },\n})\nexport class WattFieldComponent {\n intl = inject(WattFieldIntlService);\n elementRef = inject<ElementRef>(ElementRef);\n\n control = input<FormControl | null>(null);\n label = input<string>();\n id = input<string>();\n /** @deprecated Use `displayMode` instead. */\n chipMode = input(false);\n tooltip = input<string>();\n placeholder = input('');\n anchorName = input<string>();\n displayMode = input<'box' | 'chip' | 'content'>('box');\n className = computed(() => `watt-field--${this.chipMode() ? 'chip' : this.displayMode()}`);\n\n /**\n * Whether the input should receive focus when the component is rendered.\n */\n autoFocus = input(false);\n\n /** @ignore */\n labelElement = viewChild<ElementRef<HTMLLabelElement>>('label');\n wattLabelElement = viewChild<ElementRef<HTMLSpanElement>>('wattLabel');\n\n value = signal('');\n filler = computed(() => this.placeholder().slice(this.value().length));\n ghost = computed(() => this.value().slice(0, this.placeholder().length));\n\n errors = signal<ValidationErrors | null>(null);\n isRequired = signal(false);\n isEmpty = computed(() => this.errors()?.['required'] || this.errors()?.['rangeRequired']);\n showErrors = input(true);\n\n // Used for text fields with autocomplete\n wrapper = viewChild<ElementRef>('wrapper');\n\n constructor() {\n const control$ = toObservable(this.control).pipe(filter((control) => control !== null));\n\n // Track value in order to update ghost and filler\n const value$ = control$.pipe(\n switchMap((control) =>\n control.valueChanges.pipe(\n startWith(control.value),\n map((value) => (value === null || value === undefined ? '' : value.toString())),\n tap((value) => this.value.set(value))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Track status in order to update required state and show errors\n const status$ = control$.pipe(\n switchMap((control) =>\n control.statusChanges.pipe(\n startWith(control.status),\n tap(() => this.isRequired.set(this.isRequiredControl(control))),\n tap(() => this.errors.set(control.errors))\n )\n ),\n takeUntilDestroyed()\n );\n\n // Subscribe for side effects\n value$.subscribe();\n status$.subscribe();\n\n effect(() => {\n if (this.autoFocus()) {\n if (this.chipMode()) {\n this.wattLabelElement()?.nativeElement.focus();\n } else {\n this.labelElement()?.nativeElement.focus();\n }\n }\n });\n }\n\n isRequiredControl(control: FormControl) {\n const validators = [Validators.required, WattRangeValidators.required];\n return validators.some((validator) => control.hasValidator(validator));\n }\n}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'watt-field-hint',\n styles: [\n `\n :host {\n color: var(--watt-color-neutral-grey-700);\n }\n `,\n ],\n template: `<ng-content />`,\n})\nexport class WattFieldHintComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nimport { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'watt-field-warning',\n template: `<ng-content />`,\n encapsulation: ViewEncapsulation.None,\n styles: [\n `\n watt-field-warning {\n color: var(--watt-color-state-warning);\n }\n `,\n ],\n})\nexport class WattFieldWarningComponent {}\n","//#region License\n/**\n * @license\n * Copyright 2020 Energinet DataHub A/S\n *\n * Licensed under the Apache License, Version 2.0 (the \"License2\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n//#endregion\nexport { WattFieldComponent } from './watt-field.component';\nexport { WattFieldErrorComponent } from './watt-field-error.component';\nexport { WattFieldHintComponent } from './watt-field-hint.component';\nexport { WattFieldWarningComponent } from './watt-field-warning.component';\nexport { WattFieldIntlService } from './watt-field-intl.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AACA;;;;;;;;;;;;;;;AAeG;AACH;MAKa,oBAAoB,CAAA;AACtB,IAAA,OAAO,GAAkB,IAAI,OAAO,EAAQ;IACrD,QAAQ,GAAG,mBAAmB;wGAFnB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cADP,MAAM,EAAA,CAAA;;4FACnB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACrBlC;AACA;;;;;;;;;;;;;;;AAeG;AACH;MAea,uBAAuB,CAAA;wGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,4EAVxB,CAAA,cAAA,CAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,0DAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAA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