@energinet/watt 3.0.13 → 3.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/watt-button.component.d.ts +1 -1
- package/chip/watt-action-chip.component.d.ts +1 -1
- package/data/watt-data-table.component.d.ts +1 -1
- package/empty-state/watt-empty-state.component.d.ts +1 -1
- package/esm2022/file-field/energinet-watt-file-field.js +5 -0
- package/esm2022/file-field/index.js +20 -0
- package/esm2022/file-field/watt-file-field.component.js +70 -0
- package/esm2022/icon/icons.js +2 -1
- package/file-field/energinet-watt-file-field.d.ts +5 -0
- package/file-field/index.d.ts +17 -0
- package/file-field/watt-file-field.component.d.ts +10 -0
- package/icon/icon.component.d.ts +1 -1
- package/icon/icons.d.ts +1 -0
- package/package.json +9 -5
- package/validation-message/watt-validation-message.component.d.ts +1 -1
|
@@ -4,7 +4,7 @@ export type WattButtonVariant = (typeof WattButtonTypes)[number];
|
|
|
4
4
|
export type WattButtonType = 'button' | 'reset' | 'submit';
|
|
5
5
|
export type WattButtonSize = 'small' | 'medium';
|
|
6
6
|
export declare class WattButtonComponent {
|
|
7
|
-
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | undefined>;
|
|
7
|
+
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | undefined>;
|
|
8
8
|
variant: import("@angular/core").InputSignal<"primary" | "secondary" | "text" | "icon">;
|
|
9
9
|
size: import("@angular/core").InputSignal<WattButtonSize>;
|
|
10
10
|
type: import("@angular/core").InputSignal<WattButtonType>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class WattActionChipComponent {
|
|
3
3
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction">;
|
|
4
|
+
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction">;
|
|
5
5
|
action: import("@angular/core").OutputEmitterRef<void>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<WattActionChipComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<WattActionChipComponent, "watt-action-chip", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": true; "isSignal": true; }; }, { "action": "action"; }, never, ["*"], true, never>;
|
|
@@ -19,7 +19,7 @@ export declare class WattDataTableComponent {
|
|
|
19
19
|
count: import("@angular/core").InputSignal<number | undefined>;
|
|
20
20
|
autoSize: import("@angular/core").InputSignal<boolean>;
|
|
21
21
|
variant: import("@angular/core").InputSignal<WATT_CARD_VARIANT>;
|
|
22
|
-
emptyStateIcon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "custom-power" | "custom-explore" | "custom-no-results">;
|
|
22
|
+
emptyStateIcon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "custom-power" | "custom-explore" | "custom-no-results">;
|
|
23
23
|
clear: import("@angular/core").OutputEmitterRef<void>;
|
|
24
24
|
pageChanged: import("@angular/core").OutputEmitterRef<PageEvent>;
|
|
25
25
|
retry: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* `import { WattEmptyStateComponent } from '@energinet-datahub/watt/empty-state';`
|
|
6
6
|
*/
|
|
7
7
|
export declare class WattEmptyStateComponent {
|
|
8
|
-
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "custom-power" | "custom-explore" | "custom-no-results" | undefined>;
|
|
8
|
+
icon: import("@angular/core").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" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "danger" | "warning" | "success" | "info" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "custom-power" | "custom-explore" | "custom-no-results" | undefined>;
|
|
9
9
|
size: import("@angular/core").InputSignal<"small" | "large">;
|
|
10
10
|
title: import("@angular/core").InputSignal<string>;
|
|
11
11
|
message: import("@angular/core").InputSignal<string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5lcmdpbmV0LXdhdHQtZmlsZS1maWVsZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvd2F0dC9wYWNrYWdlL2ZpbGUtZmllbGQvZW5lcmdpbmV0LXdhdHQtZmlsZS1maWVsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region License
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
//#endregion
|
|
19
|
+
export { WattFileField } from './watt-file-field.component';
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL3dhdHQvcGFja2FnZS9maWxlLWZpZWxkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlCQUFpQjtBQUNqQjs7Ozs7Ozs7Ozs7Ozs7O0dBZUc7QUFDSCxZQUFZO0FBQ1osT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8jcmVnaW9uIExpY2Vuc2Vcbi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCAyMDIwIEVuZXJnaW5ldCBEYXRhSHViIEEvU1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2UyXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cbi8vI2VuZHJlZ2lvblxuZXhwb3J0IHsgV2F0dEZpbGVGaWVsZCB9IGZyb20gJy4vd2F0dC1maWxlLWZpZWxkLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
//#region License
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
//#endregion
|
|
19
|
+
import { Component, ViewEncapsulation, input, model, output } from '@angular/core';
|
|
20
|
+
import { WattButtonComponent } from '@energinet/watt/button';
|
|
21
|
+
import { WattFieldComponent } from '@energinet/watt/field';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
export class WattFileField {
|
|
24
|
+
file = model(...(ngDevMode ? [undefined, { debugName: "file" }] : []));
|
|
25
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
26
|
+
placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
27
|
+
clear = output();
|
|
28
|
+
clearSubscription = this.clear.subscribe(() => this.file.set(undefined));
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: WattFileField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: WattFileField, isStandalone: true, selector: "watt-file-field", inputs: { file: { classPropertyName: "file", publicName: "file", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { file: "fileChange", clear: "clear" }, ngImport: i0, template: `
|
|
31
|
+
<watt-field [label]="label()">
|
|
32
|
+
<input
|
|
33
|
+
disabled
|
|
34
|
+
class="watt-file-field-text"
|
|
35
|
+
[placeholder]="placeholder()"
|
|
36
|
+
type="text"
|
|
37
|
+
[value]="file()?.name"
|
|
38
|
+
/>
|
|
39
|
+
@if (!file()) {
|
|
40
|
+
<input #input hidden type="file" (change)="file.set(input.files?.item(0) ?? undefined)" />
|
|
41
|
+
<watt-button variant="icon" icon="fileUpload" (click)="input.click()" />
|
|
42
|
+
} @else {
|
|
43
|
+
<watt-button variant="icon" icon="remove" (click)="clear.emit()" />
|
|
44
|
+
}
|
|
45
|
+
<ng-content />
|
|
46
|
+
</watt-field>
|
|
47
|
+
`, isInline: true, styles: [".watt-file-field-text{color:var(--watt-color-primary)}.watt-file-field-text:placeholder-shown{color:var(--watt-input-placeholder-color)}\n"], dependencies: [{ kind: "component", type: WattButtonComponent, selector: "watt-button", inputs: ["icon", "variant", "size", "type", "formId", "disabled", "loading"] }, { kind: "component", type: WattFieldComponent, selector: "watt-field", inputs: ["control", "label", "id", "chipMode", "tooltip", "placeholder", "anchorName"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: WattFileField, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'watt-file-field', imports: [WattButtonComponent, WattFieldComponent], encapsulation: ViewEncapsulation.None, template: `
|
|
52
|
+
<watt-field [label]="label()">
|
|
53
|
+
<input
|
|
54
|
+
disabled
|
|
55
|
+
class="watt-file-field-text"
|
|
56
|
+
[placeholder]="placeholder()"
|
|
57
|
+
type="text"
|
|
58
|
+
[value]="file()?.name"
|
|
59
|
+
/>
|
|
60
|
+
@if (!file()) {
|
|
61
|
+
<input #input hidden type="file" (change)="file.set(input.files?.item(0) ?? undefined)" />
|
|
62
|
+
<watt-button variant="icon" icon="fileUpload" (click)="input.click()" />
|
|
63
|
+
} @else {
|
|
64
|
+
<watt-button variant="icon" icon="remove" (click)="clear.emit()" />
|
|
65
|
+
}
|
|
66
|
+
<ng-content />
|
|
67
|
+
</watt-field>
|
|
68
|
+
`, styles: [".watt-file-field-text{color:var(--watt-color-primary)}.watt-file-field-text:placeholder-shown{color:var(--watt-input-placeholder-color)}\n"] }]
|
|
69
|
+
}] });
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2F0dC1maWxlLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvd2F0dC9wYWNrYWdlL2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0b24gdmFyaWFudD1cImljb25cIiBpY29uPVwiZmlsZVVwbG9hZFwiIChjbGljayk9XCJpbnB1dC5jbGljaygpXCIgLz5cbiAgICAgIH0gQGVsc2Uge1xuICAgICAgICA8d2F0dC1idXR0b24gdmFyaWFudD1cImljb25cIiBpY29uPVwicmVtb3ZlXCIgKGNsaWNrKT1cImNsZWFyLmVtaXQoKVwiIC8+XG4gICAgICB9XG4gICAgICA8bmctY29udGVudCAvPlxuICAgIDwvd2F0dC1maWVsZD5cbiAgYCxcbn0pXG5leHBvcnQgY2xhc3MgV2F0dEZpbGVGaWVsZCB7XG4gIHJlYWRvbmx5IGZpbGUgPSBtb2RlbDxGaWxlPigpO1xuICByZWFkb25seSBsYWJlbCA9IGlucHV0KCcnKTtcbiAgcmVhZG9ubHkgcGxhY2Vob2xkZXIgPSBpbnB1dCgnJyk7XG4gIHJlYWRvbmx5IGNsZWFyID0gb3V0cHV0KCk7XG4gIHByb3RlY3RlZCBjbGVhclN1YnNjcmlwdGlvbiA9IHRoaXMuY2xlYXIuc3Vic2NyaWJlKCgpID0+IHRoaXMuZmlsZS5zZXQodW5kZWZpbmVkKSk7XG59XG4iXX0=
|
package/esm2022/icon/icons.js
CHANGED
|
@@ -72,6 +72,7 @@ export const WattIconMap = {
|
|
|
72
72
|
upload: 'cloud_upload',
|
|
73
73
|
download: 'cloud_download',
|
|
74
74
|
fileDownload: 'download',
|
|
75
|
+
fileUpload: 'upload',
|
|
75
76
|
print: 'print',
|
|
76
77
|
preview: 'preview',
|
|
77
78
|
// Other
|
|
@@ -94,4 +95,4 @@ export const WattIconMap = {
|
|
|
94
95
|
view_stream: 'view_stream',
|
|
95
96
|
construction: 'construction',
|
|
96
97
|
};
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi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ldycsXG4gIC8vIE90aGVyXG4gIHBvd2VyOiAncG93ZXInLFxuICBsb2NhdGlvbjogJ2xvY2F0aW9uX29uJyxcbiAgc21hcnREaXNwbGF5OiAnc21hcnRfZGlzcGxheScsXG4gIHdpbmRtaWxsOiAnZW5lcmd5JyxcbiAgc29sYXJQb3dlcjogJ3NvbGFyX3Bvd2VyJyxcbiAgcHJpb3JpdHlIaWdoOiAncHJpb3JpdHlfaGlnaCcsXG4gIG5vdGlmaWNhdGlvbnM6ICdub3RpZmljYXRpb25zJyxcbiAgbm90aWZpY2F0aW9uc1VucmVhZDogJ25vdGlmaWNhdGlvbnNfdW5yZWFkJyxcbiAgaG9yaXpvbnRhbFJ1bGU6ICdob3Jpem9udGFsX3J1bGUnLFxuICB3cm9uZ0xvY2F0aW9uOiAnd3JvbmdfbG9jYXRpb24nLFxuICBoZWF0UHVtcDogJ2hlYXRfcHVtcCcsXG4gIGludmVudG9yeTogJ2ludmVudG9yeScsXG4gIGdsb2JlOiAnZ2xvYmUnLFxuICBjYWxjdWxhdGU6ICdjYWxjdWxhdGUnLFxuICBiYXJfY2hhcnRfNF9iYXJzOiAnYmFyX2NoYXJ0XzRfYmFycycsXG4gIHZpZXdfbGlzdDogJ3ZpZXdfbGlzdCcsXG4gIHZpZXdfc3RyZWFtOiAndmlld19zdHJlYW0nLFxuICBjb25zdHJ1Y3Rpb246ICdjb25zdHJ1Y3Rpb24nLFxufTtcbiJdfQ==
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Energinet DataHub A/S
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License2");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export { WattFileField } from './watt-file-field.component';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WattFileField {
|
|
3
|
+
readonly file: import("@angular/core").ModelSignal<File | undefined>;
|
|
4
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly clear: import("@angular/core").OutputEmitterRef<void>;
|
|
7
|
+
protected clearSubscription: import("@angular/core").OutputRefSubscription;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WattFileField, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WattFileField, "watt-file-field", never, { "file": { "alias": "file"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "file": "fileChange"; "clear": "clear"; }, never, ["*"], true, never>;
|
|
10
|
+
}
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type WattIconSize = 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
|
5
5
|
export type WattIconState = 'default' | 'success' | 'danger' | 'warning' | 'info';
|
|
6
6
|
export declare class WattIconComponent {
|
|
7
7
|
/** Name of an icon within the font set. */
|
|
8
|
-
name: import("@angular/core").InputSignal<"search" | "remove" | "edit" | "redo" | "undo" | "close" | "cancel" | "settings" | "email" | "link" | "payments" | "menu" | "logout" | "help" | "refresh" | "language" | "info" | "feedback" | "download" | "print" | "preview" | "power" | "notifications" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "success" | "danger" | "warning" | "filter" | "plus" | "minus" | "removeForever" | "checkmark" | "user" | "contentCopy" | "date" | "time" | "markEmailUnread" | "openInNew" | "monetization" | "forwardMessage" | "moreVertical" | "login" | "alternateEmail" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "save" | "
|
|
8
|
+
name: import("@angular/core").InputSignal<"search" | "remove" | "edit" | "redo" | "undo" | "close" | "cancel" | "settings" | "email" | "link" | "payments" | "menu" | "logout" | "help" | "refresh" | "language" | "info" | "feedback" | "download" | "upload" | "print" | "preview" | "power" | "notifications" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | "success" | "danger" | "warning" | "filter" | "plus" | "minus" | "removeForever" | "checkmark" | "user" | "contentCopy" | "date" | "time" | "markEmailUnread" | "openInNew" | "monetization" | "forwardMessage" | "moreVertical" | "login" | "alternateEmail" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "save" | "fileDownload" | "fileUpload" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | undefined>;
|
|
9
9
|
/** Accessible label for the icon. */
|
|
10
10
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
11
11
|
/** Size of the icon. */
|
package/icon/icons.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@energinet/watt",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.14",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -87,6 +87,10 @@
|
|
|
87
87
|
"types": "./field/energinet-watt-field.d.ts",
|
|
88
88
|
"default": "./esm2022/field/energinet-watt-field.js"
|
|
89
89
|
},
|
|
90
|
+
"./file-field": {
|
|
91
|
+
"types": "./file-field/energinet-watt-file-field.d.ts",
|
|
92
|
+
"default": "./esm2022/file-field/energinet-watt-file-field.js"
|
|
93
|
+
},
|
|
90
94
|
"./icon": {
|
|
91
95
|
"types": "./icon/energinet-watt-icon.d.ts",
|
|
92
96
|
"default": "./esm2022/icon/energinet-watt-icon.js"
|
|
@@ -187,14 +191,14 @@
|
|
|
187
191
|
"types": "./yearmonth-field/energinet-watt-yearmonth-field.d.ts",
|
|
188
192
|
"default": "./esm2022/yearmonth-field/energinet-watt-yearmonth-field.js"
|
|
189
193
|
},
|
|
190
|
-
"./core/breakpoints": {
|
|
191
|
-
"types": "./core/breakpoints/energinet-watt-core-breakpoints.d.ts",
|
|
192
|
-
"default": "./esm2022/core/breakpoints/energinet-watt-core-breakpoints.js"
|
|
193
|
-
},
|
|
194
194
|
"./core/color": {
|
|
195
195
|
"types": "./core/color/energinet-watt-core-color.d.ts",
|
|
196
196
|
"default": "./esm2022/core/color/energinet-watt-core-color.js"
|
|
197
197
|
},
|
|
198
|
+
"./core/breakpoints": {
|
|
199
|
+
"types": "./core/breakpoints/energinet-watt-core-breakpoints.d.ts",
|
|
200
|
+
"default": "./esm2022/core/breakpoints/energinet-watt-core-breakpoints.js"
|
|
201
|
+
},
|
|
198
202
|
"./core/date": {
|
|
199
203
|
"types": "./core/date/energinet-watt-core-date.d.ts",
|
|
200
204
|
"default": "./esm2022/core/date/energinet-watt-core-date.js"
|
|
@@ -29,7 +29,7 @@ export declare class WattValidationMessageComponent implements AfterViewInit {
|
|
|
29
29
|
private elementRef;
|
|
30
30
|
label: import("@angular/core").InputSignal<string>;
|
|
31
31
|
message: import("@angular/core").InputSignal<string>;
|
|
32
|
-
icon: import("@angular/core").InputSignal<"info" | "warning" | "success" | "danger" | "search" | "filter" | "plus" | "minus" | "edit" | "redo" | "undo" | "remove" | "removeForever" | "close" | "cancel" | "checkmark" | "user" | "settings" | "contentCopy" | "date" | "time" | "email" | "markEmailUnread" | "link" | "openInNew" | "monetization" | "payments" | "forwardMessage" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | undefined>;
|
|
32
|
+
icon: import("@angular/core").InputSignal<"info" | "warning" | "success" | "danger" | "search" | "filter" | "plus" | "minus" | "edit" | "redo" | "undo" | "remove" | "removeForever" | "close" | "cancel" | "checkmark" | "user" | "settings" | "contentCopy" | "date" | "time" | "email" | "markEmailUnread" | "link" | "openInNew" | "monetization" | "payments" | "forwardMessage" | "menu" | "moreVertical" | "logout" | "login" | "help" | "alternateEmail" | "refresh" | "language" | "pendingActions" | "toggleOn" | "toggleOff" | "personCheck" | "left" | "right" | "up" | "down" | "arrowDropDown" | "arrowRightAlt" | "arrowLeftAlt" | "feedback" | "save" | "upload" | "download" | "fileDownload" | "fileUpload" | "print" | "preview" | "power" | "location" | "smartDisplay" | "windmill" | "solarPower" | "priorityHigh" | "notifications" | "notificationsUnread" | "horizontalRule" | "wrongLocation" | "heatPump" | "inventory" | "globe" | "calculate" | "bar_chart_4_bars" | "view_list" | "view_stream" | "construction" | undefined>;
|
|
33
33
|
type: import("@angular/core").InputSignal<WattValidationMessageType>;
|
|
34
34
|
size: import("@angular/core").InputSignal<WattValidationMessageSize>;
|
|
35
35
|
autoScrollIntoView: import("@angular/core").InputSignal<boolean>;
|