@energinet/watt 4.0.21 → 4.0.23
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/core/styles/@energinet-datahub/watt/_index.scss +7 -0
- package/core/styles/@energinet-datahub/watt/theme/material-overwrites/_expansion-panel.scss +21 -0
- package/core/styles/_radius.scss +19 -0
- package/core/styles/_transitions.scss +31 -0
- package/core/styles/_variables.scss +2 -1
- package/core/styles/typography/_typography.import.scss +0 -1
- package/empty-state/icons/not-found.d.ts +5 -0
- package/empty-state/index.d.ts +1 -0
- package/esm2022/badge/watt-badge.component.js +5 -5
- package/esm2022/breadcrumbs/watt-breadcrumbs.component.js +9 -9
- package/esm2022/button/watt-button.component.js +4 -4
- package/esm2022/card/watt-card-title.component.js +3 -3
- package/esm2022/card/watt-card.component.js +8 -8
- package/esm2022/checkbox/watt-checkbox.component.js +4 -4
- package/esm2022/chip/watt-action-chip.component.js +4 -4
- package/esm2022/chip/watt-chip.component.js +4 -4
- package/esm2022/chip/watt-chip.directive.js +3 -3
- package/esm2022/chip/watt-date-chip.component.js +6 -6
- package/esm2022/chip/watt-date-range-chip.component.js +9 -9
- package/esm2022/chip/watt-filter-chip.component.js +4 -4
- package/esm2022/chip/watt-menu-chip.component.js +4 -4
- package/esm2022/clipboard/watt-clipboard-intl.service.js +3 -3
- package/esm2022/clipboard/watt-copy-to-clipboard.directive.js +4 -4
- package/esm2022/code/watt-code-intl.service.js +3 -3
- package/esm2022/code/watt-code.component.js +5 -5
- package/esm2022/core/breakpoints/breakpoints-observer.js +3 -3
- package/esm2022/core/color/color-helper.service.js +3 -3
- package/esm2022/core/date/watt-date.pipe.js +3 -3
- package/esm2022/core/date/watt-locale.service.js +3 -3
- package/esm2022/data/watt-data-actions.component.js +3 -3
- package/esm2022/data/watt-data-filters.component.js +3 -3
- package/esm2022/data/watt-data-intl.service.js +3 -3
- package/esm2022/data/watt-data-table.component.js +6 -6
- package/esm2022/datetime-field/watt-datetime-field.component.js +6 -6
- package/esm2022/description-list/watt-description-list-item.component.js +5 -5
- package/esm2022/description-list/watt-description-list.component.js +5 -5
- package/esm2022/drawer/watt-drawer-actions.component.js +3 -3
- package/esm2022/drawer/watt-drawer-content.component.js +3 -3
- package/esm2022/drawer/watt-drawer-heading.component.js +3 -3
- package/esm2022/drawer/watt-drawer-topbar.component.js +3 -3
- package/esm2022/drawer/watt-drawer.component.js +5 -5
- package/esm2022/dropdown/watt-dropdown.component.js +5 -5
- package/esm2022/dropzone/watt-dropzone-intl.js +3 -3
- package/esm2022/dropzone/watt-dropzone-validators.js +6 -6
- package/esm2022/dropzone/watt-dropzone.js +6 -6
- package/esm2022/empty-state/icons/explore.js +3 -3
- package/esm2022/empty-state/icons/no-results.js +3 -3
- package/esm2022/empty-state/icons/not-found.js +54 -0
- package/esm2022/empty-state/icons/power.js +3 -3
- package/esm2022/empty-state/index.js +2 -1
- package/esm2022/empty-state/watt-empty-state.component.js +7 -7
- package/esm2022/expandable-card/watt-expandable-card.component.js +11 -11
- package/esm2022/field/watt-field-error.component.js +3 -3
- package/esm2022/field/watt-field-hint.component.js +3 -3
- package/esm2022/field/watt-field-intl.service.js +3 -3
- package/esm2022/field/watt-field-warning.component.js +3 -3
- package/esm2022/field/watt-field.component.js +31 -12
- package/esm2022/file-field/watt-file-field.component.js +5 -5
- package/esm2022/icon/flags/watt-flag-ch.js +3 -3
- package/esm2022/icon/flags/watt-flag-de.js +3 -3
- package/esm2022/icon/flags/watt-flag-dk.js +3 -3
- package/esm2022/icon/flags/watt-flag-fi.js +3 -3
- package/esm2022/icon/flags/watt-flag-nl.js +3 -3
- package/esm2022/icon/flags/watt-flag-no.js +3 -3
- package/esm2022/icon/flags/watt-flag-pl.js +3 -3
- package/esm2022/icon/flags/watt-flag-se.js +3 -3
- package/esm2022/icon/flags/watt-flag.js +4 -4
- package/esm2022/icon/icon.component.js +4 -4
- package/esm2022/menu/watt-menu-group.component.js +4 -4
- package/esm2022/menu/watt-menu-item.component.js +4 -4
- package/esm2022/menu/watt-menu-trigger.directive.js +4 -4
- package/esm2022/menu/watt-menu.component.js +5 -5
- package/esm2022/modal/watt-modal.component.js +8 -8
- package/esm2022/modal/watt-modal.service.js +3 -3
- package/esm2022/paginator/watt-paginator-intl.service.js +3 -3
- package/esm2022/paginator/watt-paginator.component.js +5 -5
- package/esm2022/phone-field/watt-phone-field-intl.service.js +3 -3
- package/esm2022/phone-field/watt-phone-field.component.js +6 -6
- package/esm2022/picker/__shared/placeholder-mask/watt-placeholder-mask.component.js +4 -4
- package/esm2022/picker/__shared/watt-picker-base.js +5 -5
- package/esm2022/picker/datepicker/watt-datepicker-intl.service.js +3 -3
- package/esm2022/picker/datepicker/watt-datepicker.component.js +7 -7
- package/esm2022/picker/timepicker/watt-timepicker.component.js +5 -5
- package/esm2022/progress-tracker/watt-progress-tracker-step.component.js +4 -4
- package/esm2022/progress-tracker/watt-progress-tracker.component.js +3 -3
- package/esm2022/query-params/watt-query-params.directive.js +3 -3
- package/esm2022/radio/watt-radio.component.js +4 -4
- package/esm2022/search/watt-search.component.js +5 -5
- package/esm2022/segmented-buttons/watt-segmented-button.component.js +5 -5
- package/esm2022/segmented-buttons/watt-segmented-buttons.component.js +5 -5
- package/esm2022/shell/nav-list/watt-expand-on-active-link.directive.js +4 -4
- package/esm2022/shell/nav-list/watt-nav-list-item.component.js +4 -4
- package/esm2022/shell/nav-list/watt-nav-list.component.js +7 -7
- package/esm2022/shell/shell.component.js +5 -5
- package/esm2022/slide-toggle/watt-slide-toggle.component.js +4 -4
- package/esm2022/slider/watt-slider.component.js +4 -4
- package/esm2022/spinner/watt-spinner.component.js +4 -4
- package/esm2022/stepper/watt-stepper-step.component.js +5 -5
- package/esm2022/stepper/watt-stepper.component.js +4 -4
- package/esm2022/table/watt-table-expand-animation.js +17 -12
- package/esm2022/table/watt-table.component.js +13 -13
- package/esm2022/tabs/watt-link-tab.component.js +4 -4
- package/esm2022/tabs/watt-link-tabs.component.js +5 -5
- package/esm2022/tabs/watt-tab.component.js +5 -5
- package/esm2022/tabs/watt-tabs-action.component.js +3 -3
- package/esm2022/tabs/watt-tabs.component.js +6 -6
- package/esm2022/text-field/watt-text-field.component.js +16 -14
- package/esm2022/textarea-field/watt-textarea-field.component.js +5 -5
- package/esm2022/toast/watt-toast.component.js +4 -4
- package/esm2022/toast/watt-toast.service.js +3 -3
- package/esm2022/tooltip/watt-tooltip.component.js +4 -4
- package/esm2022/tooltip/watt-tooltip.directive.js +4 -4
- package/esm2022/utils/css/css-custom-properties.service.js +3 -3
- package/esm2022/utils/intersection-observer/watt-intersection-observer.service.js +3 -3
- package/esm2022/utils/resize-observer/watt-resize-observer.directive.js +4 -4
- package/esm2022/utils/resize-observer/watt-resize-observer.service.js +3 -3
- package/esm2022/validation-message/watt-validation-message.component.js +7 -7
- package/esm2022/vater/vater-flex.component.js +4 -4
- package/esm2022/vater/vater-layout.directive.js +4 -4
- package/esm2022/vater/vater-spacer.component.js +3 -3
- package/esm2022/vater/vater-stack.component.js +3 -3
- package/esm2022/vater/vater-utility.directive.js +4 -4
- package/esm2022/year-field/watt-year-field.component.js +5 -5
- package/esm2022/yearmonth-field/watt-yearmonth-field.component.js +5 -5
- package/field/watt-field.component.d.ts +9 -1
- package/package.json +9 -13
- package/text-field/watt-text-field.component.d.ts +7 -4
- package/esm2022/expansion/energinet-watt-expansion.js +0 -5
- package/esm2022/expansion/expansion.component.js +0 -52
- package/esm2022/expansion/index.js +0 -20
- package/expansion/energinet-watt-expansion.d.ts +0 -5
- package/expansion/expansion.component.d.ts +0 -18
- package/expansion/index.d.ts +0 -17
|
@@ -1,52 +0,0 @@
|
|
|
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, Input, ViewEncapsulation } from '@angular/core';
|
|
20
|
-
import { MatExpansionModule } from '@angular/material/expansion';
|
|
21
|
-
import { WattButtonComponent } from '@energinet/watt/button';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
import * as i1 from "@angular/material/expansion";
|
|
24
|
-
/**
|
|
25
|
-
* Usage:
|
|
26
|
-
* `import { WattExpansionComponent } from '@energinet-datahub/watt/expansion';`
|
|
27
|
-
*/
|
|
28
|
-
export class WattExpansionComponent {
|
|
29
|
-
openLabel = '';
|
|
30
|
-
closeLabel = '';
|
|
31
|
-
expanded = false;
|
|
32
|
-
/**
|
|
33
|
-
* @ignore
|
|
34
|
-
* @param matExpansionPanel
|
|
35
|
-
*/
|
|
36
|
-
onClose(matExpansionPanel) {
|
|
37
|
-
matExpansionPanel.close();
|
|
38
|
-
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: WattExpansionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: WattExpansionComponent, isStandalone: true, selector: "watt-expansion", inputs: { openLabel: "openLabel", closeLabel: "closeLabel", expanded: "expanded" }, ngImport: i0, template: "<!--\n@license\nCopyright 2020 Energinet DataHub A/S\n\nLicensed under the Apache License, Version 2.0 (the \"License2\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<mat-expansion-panel hideToggle #expansion=\"matExpansionPanel\" [expanded]=\"expanded\">\n <mat-expansion-panel-header>\n <watt-button icon=\"plus\" aria-hidden=\"true\">{{ openLabel }}</watt-button>\n </mat-expansion-panel-header>\n\n <ng-content />\n\n <mat-action-row>\n <watt-button icon=\"minus\" (click)=\"onClose(expansion)\">{{ closeLabel }}</watt-button>\n </mat-action-row>\n</mat-expansion-panel>\n", styles: ["watt-expansion .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:none}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header{padding:0;background:none!important}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header .mat-content{justify-content:end}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header button{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out}watt-expansion mat-action-row.mat-action-row{padding:16px 0;border:none}watt-expansion .mat-expanded mat-expansion-panel-header{overflow:hidden}watt-expansion .mat-expanded mat-expansion-panel-header button{transform:translate3d(0,100%,0)}watt-expansion watt-button watt-text-button button.watt-button:focus{outline:none}watt-expansion .mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}\n"], dependencies: [{ kind: "ngmodule", type: MatExpansionModule }, { kind: "component", type: i1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "directive", type: i1.MatExpansionPanelActionRow, selector: "mat-action-row" }, { kind: "component", type: i1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "component", type: WattButtonComponent, selector: "watt-button", inputs: ["icon", "variant", "size", "type", "formId", "disabled", "loading"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: WattExpansionComponent, decorators: [{
|
|
43
|
-
type: Component,
|
|
44
|
-
args: [{ selector: 'watt-expansion', encapsulation: ViewEncapsulation.None, imports: [MatExpansionModule, WattButtonComponent], template: "<!--\n@license\nCopyright 2020 Energinet DataHub A/S\n\nLicensed under the Apache License, Version 2.0 (the \"License2\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<mat-expansion-panel hideToggle #expansion=\"matExpansionPanel\" [expanded]=\"expanded\">\n <mat-expansion-panel-header>\n <watt-button icon=\"plus\" aria-hidden=\"true\">{{ openLabel }}</watt-button>\n </mat-expansion-panel-header>\n\n <ng-content />\n\n <mat-action-row>\n <watt-button icon=\"minus\" (click)=\"onClose(expansion)\">{{ closeLabel }}</watt-button>\n </mat-action-row>\n</mat-expansion-panel>\n", styles: ["watt-expansion .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:none}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header{padding:0;background:none!important}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header .mat-content{justify-content:end}watt-expansion mat-expansion-panel-header.mat-expansion-panel-header button{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out}watt-expansion mat-action-row.mat-action-row{padding:16px 0;border:none}watt-expansion .mat-expanded mat-expansion-panel-header{overflow:hidden}watt-expansion .mat-expanded mat-expansion-panel-header button{transform:translate3d(0,100%,0)}watt-expansion watt-button watt-text-button button.watt-button:focus{outline:none}watt-expansion .mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}\n"] }]
|
|
45
|
-
}], propDecorators: { openLabel: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], closeLabel: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], expanded: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5zaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvd2F0dC9wYWNrYWdlL2V4cGFuc2lvbi9leHBhbnNpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vbGlicy93YXR0L3BhY2thZ2UvZXhwYW5zaW9uL2V4cGFuc2lvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxpQkFBaUI7QUFDakI7Ozs7Ozs7Ozs7Ozs7OztHQWVHO0FBQ0gsWUFBWTtBQUNaLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BFLE9BQU8sRUFBcUIsa0JBQWtCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNwRixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7O0FBRTdEOzs7R0FHRztBQVFILE1BQU0sT0FBTyxzQkFBc0I7SUFDeEIsU0FBUyxHQUFHLEVBQUUsQ0FBQztJQUNmLFVBQVUsR0FBRyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFHLEtBQUssQ0FBQztJQUUxQjs7O09BR0c7SUFDSCxPQUFPLENBQUMsaUJBQW9DO1FBQzFDLGlCQUFpQixDQUFDLEtBQUssRUFBRSxDQUFDO0lBQzVCLENBQUM7dUdBWFUsc0JBQXNCOzJGQUF0QixzQkFBc0Is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GFuc2lvblBhbmVsXCIgW2V4cGFuZGVkXT1cImV4cGFuZGVkXCI+XG4gIDxtYXQtZXhwYW5zaW9uLXBhbmVsLWhlYWRlcj5cbiAgICA8d2F0dC1idXR0b24gaWNvbj1cInBsdXNcIiBhcmlhLWhpZGRlbj1cInRydWVcIj57eyBvcGVuTGFiZWwgfX08L3dhdHQtYnV0dG9uPlxuICA8L21hdC1leHBhbnNpb24tcGFuZWwtaGVhZGVyPlxuXG4gIDxuZy1jb250ZW50IC8+XG5cbiAgPG1hdC1hY3Rpb24tcm93PlxuICAgIDx3YXR0LWJ1dHRvbiBpY29uPVwibWludXNcIiAoY2xpY2spPVwib25DbG9zZShleHBhbnNpb24pXCI+e3sgY2xvc2VMYWJlbCB9fTwvd2F0dC1idXR0b24+XG4gIDwvbWF0LWFjdGlvbi1yb3c+XG48L21hdC1leHBhbnNpb24tcGFuZWw+XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { WattExpansionComponent } from './expansion.component';
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ij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VybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG4vLyNlbmRyZWdpb25cbmV4cG9ydCB7IFdhdHRFeHBhbnNpb25Db21wb25lbnQgfSBmcm9tICcuL2V4cGFuc2lvbi5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Usage:
|
|
5
|
-
* `import { WattExpansionComponent } from '@energinet-datahub/watt/expansion';`
|
|
6
|
-
*/
|
|
7
|
-
export declare class WattExpansionComponent {
|
|
8
|
-
openLabel: string;
|
|
9
|
-
closeLabel: string;
|
|
10
|
-
expanded: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* @ignore
|
|
13
|
-
* @param matExpansionPanel
|
|
14
|
-
*/
|
|
15
|
-
onClose(matExpansionPanel: MatExpansionPanel): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WattExpansionComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WattExpansionComponent, "watt-expansion", never, { "openLabel": { "alias": "openLabel"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
-
}
|
package/expansion/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 { WattExpansionComponent } from './expansion.component';
|