ngx-wapp-components 1.0.18 → 1.0.19
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/esm2020/lib/button/w-button/w-button.component.mjs +7 -3
- package/esm2020/lib/button/w-buttons-footer/w-buttons-footer.component.mjs +2 -2
- package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +3 -3
- package/esm2020/lib/edit/w-edit-input-text/w-edit-input-text.component.mjs +3 -3
- package/esm2020/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.mjs +3 -3
- package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +2 -2
- package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +8 -4
- package/esm2020/lib/edit/w-edit-treeselect/w-edit-treeselect.component.mjs +2 -2
- package/esm2020/lib/icons/wapping-icons/w-icons.component.mjs +53 -0
- package/esm2020/lib/layout/w-body/w-body.component.mjs +2 -2
- package/esm2020/lib/layout/w-body-container/w-body-container.component.mjs +2 -2
- package/esm2020/lib/layout/w-container/w-container.component.mjs +2 -2
- package/esm2020/lib/layout/w-footer/w-footer.component.mjs +16 -6
- package/esm2020/lib/layout/w-grid/w-grid.component.mjs +2 -2
- package/esm2020/lib/layout/w-header-panel/w-header-panel.component.mjs +2 -2
- package/esm2020/lib/layout/w-navbar/w-navbar.component.mjs +5 -4
- package/esm2020/lib/layout/w-panel/w-panel.component.mjs +2 -2
- package/esm2020/lib/layout/w-panel-title/w-panel-title.component.mjs +2 -2
- package/esm2020/lib/logos/wapping-logos/w-logos.component.mjs +53 -0
- package/esm2020/lib/misc/w-filter-panel/w-filter-panel.component.mjs +3 -3
- package/esm2020/lib/misc/w-filter-panel/w-list-field/w-list-field.component.mjs +3 -3
- package/esm2020/lib/search/w-input-search/w-input-search.component.mjs +3 -3
- package/esm2020/lib/sidebar/w-sidebar/w-sidebar.component.mjs +2 -2
- package/esm2020/lib/tables/w-table/w-table.component.mjs +4 -4
- package/esm2020/lib/tables/w-table-lazy/w-table-lazy.component.mjs +3 -3
- package/esm2020/lib/tables/w-tree-table/w-tree-table.component.mjs +2 -2
- package/esm2020/lib/w-clipboard/w-clipboard.component.mjs +1 -1
- package/esm2020/lib/wapp-components.module.mjs +11 -11
- package/esm2020/public-api.mjs +3 -3
- package/fesm2015/ngx-wapp-components.mjs +92 -75
- package/fesm2015/ngx-wapp-components.mjs.map +1 -1
- package/fesm2020/ngx-wapp-components.mjs +92 -75
- package/fesm2020/ngx-wapp-components.mjs.map +1 -1
- package/lib/button/w-button/w-button.component.d.ts +2 -1
- package/lib/edit/w-edit-select/w-edit-select.component.d.ts +2 -1
- package/lib/icons/wapping-icons/w-icons.component.d.ts +15 -0
- package/lib/layout/w-footer/w-footer.component.d.ts +6 -2
- package/lib/logos/wapping-logos/w-logos.component.d.ts +15 -0
- package/lib/tables/w-table/w-table.component.d.ts +1 -3
- package/lib/wapp-components.module.d.ts +3 -3
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
- package/esm2020/lib/icons/wapping-icons/wapp-icons.component.mjs +0 -53
- package/esm2020/lib/logos/wapping-logos/wapp-logos.component.mjs +0 -53
- package/lib/icons/wapping-icons/wapp-icons.component.d.ts +0 -15
- package/lib/logos/wapping-logos/wapp-logos.component.d.ts +0 -15
|
@@ -9,6 +9,7 @@ export class WButtonComponent {
|
|
|
9
9
|
this.size = "medium";
|
|
10
10
|
this.icon = "";
|
|
11
11
|
this.disabled = false;
|
|
12
|
+
this.loading = false;
|
|
12
13
|
this.onClick = new EventEmitter();
|
|
13
14
|
this.sizeType = SizeType;
|
|
14
15
|
this.buttonType = ButtonType;
|
|
@@ -28,10 +29,10 @@ export class WButtonComponent {
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
WButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
WButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WButtonComponent, selector: "w-button", inputs: { type: "type", label: "label", size: "size", icon: "icon", disabled: "disabled" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-small-tertiary' : 'wapp-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-medium-tertiary' : 'wapp-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-large-tertiary' : 'wapp-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text wapp-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .wapp-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-icon,:host ::ng-deep .wapp-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .wapp-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-icon{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .wapp-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:focus,:host ::ng-deep .wapp-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:focus,:host ::ng-deep .wapp-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-text-small:enabled:focus,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #0085c7}.button-large-typography,:host ::ng-deep .wapp-button-large.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .wapp-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .wapp-button-small.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-text-small .p-button-label,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder,.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 2px 2px #b3ffd3!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 2px 2px #ffecb8!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}:host ::ng-deep .wapp-button-small.p-button,:host ::ng-deep .p-button.wapp-button-text-small,:host ::ng-deep .p-button.wapp-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-small.p-button :hover,:host ::ng-deep .p-button.wapp-button-text-small :hover,:host ::ng-deep .p-button.wapp-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .wapp-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-icon{margin:0;padding-left:8px}:host ::ng-deep .wapp-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-text-small:enabled:focus,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-medium.p-button,:host ::ng-deep .p-button.wapp-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-icon{margin:0;padding-left:12px}:host ::ng-deep .wapp-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-large.p-button,:host ::ng-deep .p-button.wapp-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-large.p-button :hover,:host ::ng-deep .p-button.wapp-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .wapp-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-icon{margin:0;padding-left:16px}:host ::ng-deep .wapp-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:enabled:hover,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:enabled:hover,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:focus,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:focus,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-large-tertiary:focus{border-color:#0085c7;color:#0085c7;background-color:transparent;outline:0px}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-medium-tertiary,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .wapp-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-medium-tertiary,:host ::ng-deep .wapp-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-text-small,:host ::ng-deep .p-button.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .wapp-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .wapp-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-small-tertiary .p-button-icon,:host ::ng-deep .wapp-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-medium-tertiary .p-button-icon,:host ::ng-deep .wapp-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-large-tertiary .p-button-icon{padding-left:0}:host ::ng-deep .wapp-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .wapp-button-text-small.p-button.p-button-text:enabled:hover{color:#0085c7;background:none;border:none}:host ::ng-deep .wapp-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .wapp-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.wapp-button-text-small{background:none;border:none;color:#bdc1c6}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }] });
|
|
32
|
+
WButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WButtonComponent, selector: "w-button", inputs: { type: "type", label: "label", size: "size", icon: "icon", disabled: "disabled", loading: "loading" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-small-tertiary' : 'w-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-medium-tertiary' : 'w-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-large-tertiary' : 'w-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text w-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus,:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus,:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #0085c7}.button-large-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 2px 2px #b3ffd3!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 2px 2px #ffecb8!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}:host ::ng-deep .w-button-small.p-button,:host ::ng-deep .p-button.w-button-text-small,:host ::ng-deep .p-button.w-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-small.p-button :hover,:host ::ng-deep .p-button.w-button-text-small :hover,:host ::ng-deep .p-button.w-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{padding-right:8px}:host ::ng-deep .w-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{padding-right:12px}:host ::ng-deep .w-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{padding-right:16px}:host ::ng-deep .w-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover,:host ::ng-deep .w-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .w-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:focus,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:focus,:host ::ng-deep .w-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:focus{border-color:#0085c7;color:#0085c7;background-color:transparent;outline:0px}:host ::ng-deep .w-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .w-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .w-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-small-tertiary .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-large-tertiary .p-button-icon{padding-left:0}:host ::ng-deep .w-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#0085c7;background:none;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .w-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-text-small{background:none;border:none;color:#bdc1c6}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }] });
|
|
32
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, decorators: [{
|
|
33
34
|
type: Component,
|
|
34
|
-
args: [{ selector: 'w-button', template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"wapp-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-small-tertiary' : 'wapp-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-medium-tertiary' : 'wapp-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'wapp-button-large-tertiary' : 'wapp-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text wapp-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .wapp-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-icon,:host ::ng-deep .wapp-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .wapp-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-icon{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .wapp-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:focus,:host ::ng-deep .wapp-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:focus,:host ::ng-deep .wapp-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-text-small:enabled:focus,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #0085c7}.button-large-typography,:host ::ng-deep .wapp-button-large.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .wapp-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .wapp-button-small.p-button .p-button-label,:host ::ng-deep .p-button.wapp-button-text-small .p-button-label,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder,.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 2px 2px #b3ffd3!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 2px 2px #ffecb8!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}:host ::ng-deep .wapp-button-small.p-button,:host ::ng-deep .p-button.wapp-button-text-small,:host ::ng-deep .p-button.wapp-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-small.p-button :hover,:host ::ng-deep .p-button.wapp-button-text-small :hover,:host ::ng-deep .p-button.wapp-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .wapp-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.wapp-button-small-tertiary .p-button-icon{margin:0;padding-left:8px}:host ::ng-deep .wapp-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-text-small:enabled:focus,:host ::ng-deep .p-button.wapp-button-small-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-medium.p-button,:host ::ng-deep .p-button.wapp-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-medium-tertiary .p-button-icon{margin:0;padding-left:12px}:host ::ng-deep .wapp-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-medium-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-large.p-button,:host ::ng-deep .p-button.wapp-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .wapp-button-large.p-button :hover,:host ::ng-deep .p-button.wapp-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .wapp-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.wapp-button-large-tertiary .p-button-icon{margin:0;padding-left:16px}:host ::ng-deep .wapp-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .wapp-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.wapp-button-large-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:enabled:hover,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:enabled:hover,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.wapp-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-small-tertiary:focus,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-medium-tertiary:focus,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.wapp-button-large-tertiary:focus{border-color:#0085c7;color:#0085c7;background-color:transparent;outline:0px}:host ::ng-deep .wapp-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .wapp-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-medium-tertiary,:host ::ng-deep .wapp-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.wapp-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .wapp-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-medium-tertiary,:host ::ng-deep .wapp-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-text-small,:host ::ng-deep .p-button.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .wapp-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.wapp-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .wapp-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .wapp-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .wapp-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .wapp-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-small-tertiary .p-button-icon,:host ::ng-deep .wapp-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-medium-tertiary .p-button-icon,:host ::ng-deep .wapp-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.wapp-button-large-tertiary .p-button-icon{padding-left:0}:host ::ng-deep .wapp-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .wapp-button-text-small.p-button.p-button-text:enabled:hover{color:#0085c7;background:none;border:none}:host ::ng-deep .wapp-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .wapp-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.wapp-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.wapp-button-text-small{background:none;border:none;color:#bdc1c6}\n"] }]
|
|
35
|
+
args: [{ selector: 'w-button', template: "<ng-container *ngIf=\"type == getButtonTypeName(buttonType.primary); else buttonSecondary\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-small border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-medium border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"w-button-large border-none\" \r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n</ng-container>\r\n<ng-template #buttonSecondary>\r\n <ng-container *ngIf=\"type == getButtonTypeName(buttonType.secondary) || type == getButtonTypeName(buttonType.tertiary); else buttonText\">\r\n <p-button *ngIf=\"size == getSizeName(sizeType.small)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-small-tertiary' : 'w-button-small p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.medium)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-medium-tertiary' : 'w-button-medium p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n <p-button *ngIf=\"size == getSizeName(sizeType.large)\" \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n [styleClass]=\"'p-button-outlined ' + (type == getButtonTypeName(buttonType.tertiary) ? 'w-button-large-tertiary' : 'w-button-large p-button-outlined')\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n </ng-container>\r\n <ng-template #buttonText>\r\n <p-button \r\n label=\"{{label}}\" \r\n [icon]=\"getIcon()\" \r\n iconPos=\"right\" \r\n styleClass=\"p-button-text w-button-text-small\"\r\n [disabled]=\"disabled\"\r\n (onClick)=\"onButtonClick($event)\"\r\n [loading]=\"loading\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{font-size:16px}.icon-large-size,:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus,:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus,:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #0085c7}.button-large-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{font-size:16px;line-height:16px;font-weight:700}.button-small-typography,:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 2px 2px #b3ffd3!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 2px 2px #ffecb8!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}:host ::ng-deep .w-button-small.p-button,:host ::ng-deep .p-button.w-button-text-small,:host ::ng-deep .p-button.w-button-small-tertiary{height:32px;padding:6px 14px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-small.p-button :hover,:host ::ng-deep .p-button.w-button-text-small :hover,:host ::ng-deep .p-button.w-button-small-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-small.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-small.p-button .p-button-label,:host ::ng-deep .p-button.w-button-text-small .p-button-label,:host ::ng-deep .p-button.w-button-small-tertiary .p-button-label{padding-right:8px}:host ::ng-deep .w-button-small.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-small.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-text-small:enabled:focus,:host ::ng-deep .p-button.w-button-small-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:12px 20px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label{padding-right:12px}:host ::ng-deep .w-button-medium.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-medium.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-medium-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover{border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:16px 28px;border-radius:8px;border-width:2px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:2px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin:0}:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label{padding-right:16px}:host ::ng-deep .w-button-large.p-button:enabled:hover,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:hover{background-color:#00b2eb;border-color:#00b2eb}:host ::ng-deep .w-button-large.p-button:enabled:focus,:host ::ng-deep .p-button.w-button-large-tertiary:enabled:focus{outline:2px solid #e0f5fc;background-color:#0085c7}:host ::ng-deep .w-button-small.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:enabled:hover,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:enabled:hover,:host ::ng-deep .w-button-large.p-button.p-button-outlined:enabled:hover,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:enabled:hover{border-radius:8px;border-width:2px;background-color:transparent;border-color:#00b2eb;color:#00b2eb}:host ::ng-deep .w-button-small.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-text-small:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-small-tertiary:focus,:host ::ng-deep .w-button-medium.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-medium-tertiary:focus,:host ::ng-deep .w-button-large.p-button.p-button-outlined:focus,:host ::ng-deep .p-button.p-button-outlined.w-button-large-tertiary:focus{border-color:#0085c7;color:#0085c7;background-color:transparent;outline:0px}:host ::ng-deep .w-button-small.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-medium.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-large.p-button.p-button-outlined.p-disabled,:host ::ng-deep .p-button.p-button-outlined.p-disabled.w-button-large-tertiary{background-color:transparent;color:#bdc1c6;border-color:#e8eaed}:host ::ng-deep .w-button-medium.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-medium-tertiary,:host ::ng-deep .w-button-small.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-text-small,:host ::ng-deep .p-button.p-disabled.w-button-small-tertiary,:host ::ng-deep .w-button-large.p-button.p-disabled,:host ::ng-deep .p-button.p-disabled.w-button-large-tertiary{background:#e8eaed;color:#bdc1c6}:host ::ng-deep .w-button-small-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-small-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{color:#5f6368;border:2px solid #e8eaed}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:hover{border-color:#00b2eb;background:none;color:#00b2eb}:host ::ng-deep .w-button-large-tertiary.p-button.p-button-outlined:enabled:focus{border:2px solid #2e3134;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-text-small .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-small-tertiary .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-medium-tertiary .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .p-button.p-button-icon-only.w-button-large-tertiary .p-button-icon{padding-left:0}:host ::ng-deep .w-button-text-small.p-button{color:#2e3134;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#0085c7;background:none;border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:focus{background:none;border:none}:host ::ng-deep .w-button-small.p-button.p-button-text.p-disabled,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-small-tertiary,:host ::ng-deep .p-button.p-button-text.p-disabled.w-button-text-small{background:none;border:none;color:#bdc1c6}\n"] }]
|
|
35
36
|
}], propDecorators: { type: [{
|
|
36
37
|
type: Input,
|
|
37
38
|
args: ['type']
|
|
@@ -47,8 +48,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
47
48
|
}], disabled: [{
|
|
48
49
|
type: Input,
|
|
49
50
|
args: ['disabled']
|
|
51
|
+
}], loading: [{
|
|
52
|
+
type: Input,
|
|
53
|
+
args: ['loading']
|
|
50
54
|
}], onClick: [{
|
|
51
55
|
type: Output,
|
|
52
56
|
args: ['onClick']
|
|
53
57
|
}] } });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2FwcC1jb21wb25lbnRzL3NyYy9saWIvYnV0dG9uL3ctYnV0dG9uL3ctYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dhcHAtY29tcG9uZW50cy9zcmMvbGliL2J1dHRvbi93LWJ1dHRvbi93LWJ1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0seUJBQXlCLENBQUM7Ozs7QUFPL0QsTUFBTSxPQUFPLGdCQUFnQjtJQUw3QjtRQU1pQixTQUFJLEdBQVcsU0FBUyxDQUFDO1FBRXpCLFNBQUksR0FBVyxRQUFRLENBQUM7UUFDeEIsU0FBSSxHQUFXLEVBQUUsQ0FBQztRQUNkLGFBQVEsR0FBWSxLQUFLLENBQUM7UUFDM0IsWUFBTyxHQUFZLEtBQUssQ0FBQztRQUV4QixZQUFPLEdBQTZCLElBQUksWUFBWSxFQUFFLENBQUM7UUFFMUUsYUFBUSxHQUFv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