ngx-wapp-components 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/esm2020/lib/button/w-button/w-button.component.mjs +2 -2
  2. package/esm2020/lib/button/w-buttons-footer/w-buttons-footer.component.mjs +2 -2
  3. package/esm2020/lib/button/w-radio-button/w-radio-button.component.mjs +2 -2
  4. package/esm2020/lib/button/w-select-button/w-select-button.component.mjs +2 -2
  5. package/esm2020/lib/button/w-toggle-button/w-toggle-button.component.mjs +2 -2
  6. package/esm2020/lib/edit/w-edit-calendar/w-edit-calendar.component.mjs +2 -2
  7. package/esm2020/lib/edit/w-edit-checkbox/w-edit-checkbox.component.mjs +2 -2
  8. package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +2 -2
  9. package/esm2020/lib/edit/w-edit-input-text/w-edit-input-text.component.mjs +2 -2
  10. package/esm2020/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.mjs +2 -2
  11. package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +4 -4
  12. package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +2 -2
  13. package/esm2020/lib/edit/w-edit-toggle/w-edit-toggle.component.mjs +2 -2
  14. package/esm2020/lib/edit/w-edit-treeselect/w-edit-treeselect.component.mjs +2 -2
  15. package/esm2020/lib/file/w-image-cropper/w-image-cropper.component.mjs +2 -2
  16. package/esm2020/lib/file/w-image-file-uploader/w-image-file-uploader.component.mjs +2 -2
  17. package/esm2020/lib/layout/w-body/w-body.component.mjs +2 -2
  18. package/esm2020/lib/layout/w-body-container/w-body-container.component.mjs +2 -2
  19. package/esm2020/lib/layout/w-body-grid/w-body-grid.component.mjs +2 -2
  20. package/esm2020/lib/layout/w-container/w-container.component.mjs +2 -2
  21. package/esm2020/lib/layout/w-footer/w-footer.component.mjs +2 -2
  22. package/esm2020/lib/layout/w-header-panel/w-header-panel.component.mjs +2 -2
  23. package/esm2020/lib/layout/w-navbar/w-navbar.component.mjs +2 -2
  24. package/esm2020/lib/layout/w-panel/w-panel.component.mjs +2 -2
  25. package/esm2020/lib/layout/w-panel-grid/w-panel-grid.component.mjs +2 -2
  26. package/esm2020/lib/layout/w-panel-subtitle/w-panel-subtitle.component.mjs +2 -2
  27. package/esm2020/lib/layout/w-panel-title/w-panel-title.component.mjs +2 -2
  28. package/esm2020/lib/maps/w-maps/w-maps.component.mjs +2 -2
  29. package/esm2020/lib/misc/w-badge/w-badge.component.mjs +2 -2
  30. package/esm2020/lib/misc/w-chip/w-chip.component.mjs +2 -2
  31. package/esm2020/lib/misc/w-filter-panel/w-filter-panel.component.mjs +2 -2
  32. package/esm2020/lib/misc/w-filter-panel/w-list-field/w-list-field.component.mjs +2 -2
  33. package/esm2020/lib/misc/w-timeline/w-timeline.component.mjs +2 -2
  34. package/esm2020/lib/misc/w-wizard/w-wizard.component.mjs +2 -2
  35. package/esm2020/lib/search/w-autocomplete-search/w-autocomplete-search.component.mjs +2 -2
  36. package/esm2020/lib/search/w-input-search/w-input-search.component.mjs +2 -2
  37. package/esm2020/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.mjs +24 -0
  38. package/esm2020/lib/shared/skeletons/w-skeleton-input-generic/w-skeleton-input-generic.component.mjs +4 -4
  39. package/esm2020/lib/shared/skeletons/w-skeleton-sidebar/w-skeleton-sidebar.component.mjs +2 -2
  40. package/esm2020/lib/sidebar/w-sidebar/w-sidebar.component.mjs +2 -2
  41. package/esm2020/lib/tables/w-table/w-table.component.mjs +3 -3
  42. package/esm2020/lib/tables/w-table-lazy/w-table-lazy.component.mjs +2 -2
  43. package/esm2020/lib/tables/w-tree-table/w-tree-table.component.mjs +2 -2
  44. package/esm2020/lib/tabview/w-tabview/w-tabview.component.mjs +2 -2
  45. package/esm2020/lib/tree/w-tree/w-tree.component.mjs +2 -2
  46. package/esm2020/lib/view/w-view-boolean/w-view-boolean.component.mjs +2 -2
  47. package/esm2020/lib/view/w-view-card-title-text/w-view-card-title-text.component.mjs +2 -2
  48. package/esm2020/lib/view/w-view-text/w-view-text.component.mjs +2 -2
  49. package/esm2020/lib/wapp-components.module.mjs +8 -3
  50. package/esm2020/public-api.mjs +2 -1
  51. package/fesm2015/ngx-wapp-components.mjs +168 -145
  52. package/fesm2015/ngx-wapp-components.mjs.map +1 -1
  53. package/fesm2020/ngx-wapp-components.mjs +168 -145
  54. package/fesm2020/ngx-wapp-components.mjs.map +1 -1
  55. package/lib/shared/skeletons/w-skeleton-form/w-skeleton-form.component.d.ts +10 -0
  56. package/lib/wapp-components.module.d.ts +47 -46
  57. package/package.json +1 -1
  58. package/public-api.d.ts +1 -0
@@ -32,10 +32,10 @@ export class WButtonComponent {
32
32
  }
33
33
  }
34
34
  WButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
- 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", tooltipPosition: "tooltipPosition", tooltip: "tooltip", 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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-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,.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.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:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{color:#2e3134}.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{color:#2e3134}.w-button-small-icon-text,: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:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label,.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{color:#2e3134}.w-button-medium-icon-text,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label,.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text,:host ::ng-deep .w-button-text-small.p-button.p-button-text .p-button-label{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text,: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}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}: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:7px 15px;border-radius:8px;border-width:1px}: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:1px}: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-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:11px 19px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:15px 27px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:1px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px;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:#1f5b72;color:#1f5b72;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{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only,:host ::ng-deep .w-button-large.p-button.p-button-icon-only,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only{width:32px}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;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"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
35
+ 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", tooltipPosition: "tooltipPosition", tooltip: "tooltip", 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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-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,.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.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:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{color:#2e3134}.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{color:#2e3134}.w-button-small-icon-text,: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:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label,.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{color:#2e3134}.w-button-medium-icon-text,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label,.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text,:host ::ng-deep .w-button-text-small.p-button.p-button-text .p-button-label{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text,: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}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}: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:7px 15px;border-radius:8px;border-width:1px}: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:1px}: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-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:11px 19px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:15px 27px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:1px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px;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:#1f5b72;color:#1f5b72;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{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only,:host ::ng-deep .w-button-large.p-button.p-button-icon-only,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only{width:32px}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;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"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
36
36
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WButtonComponent, decorators: [{
37
37
  type: Component,
38
- 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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-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,.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.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:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{color:#2e3134}.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{color:#2e3134}.w-button-small-icon-text,: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:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label,.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{color:#2e3134}.w-button-medium-icon-text,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label,.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text,:host ::ng-deep .w-button-text-small.p-button.p-button-text .p-button-label{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text,: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}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}: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:7px 15px;border-radius:8px;border-width:1px}: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:1px}: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-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:11px 19px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:15px 27px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:1px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px;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:#1f5b72;color:#1f5b72;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{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only,:host ::ng-deep .w-button-large.p-button.p-button-icon-only,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only{width:32px}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;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"] }]
38
+ 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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\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 [pTooltip]=\"tooltip\" \r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-button>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-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,.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.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:1px solid #00b2eb}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,:host ::ng-deep .w-button-small-tertiary.p-button{color:#2e3134}.w-button-small-text-label-text,:host ::ng-deep .w-button-text-small.p-button{color:#2e3134}.w-button-small-icon-text,: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:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,:host ::ng-deep .w-button-medium.p-button .p-button-label,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-label,.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{font-size:16px;font-weight:400;line-height:16px}.w-button-medium-tertiary-label-text,:host ::ng-deep .w-button-medium-tertiary.p-button{color:#2e3134}.w-button-medium-icon-text,:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,:host ::ng-deep .w-button-large.p-button .p-button-label,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-label,.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text,:host ::ng-deep .w-button-large-tertiary.p-button{color:#2e3134}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text,:host ::ng-deep .w-button-text-small.p-button.p-button-text .p-button-label{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text,: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}.w-view-small-label-text,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}: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:7px 15px;border-radius:8px;border-width:1px}: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:1px}: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-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-medium.p-button,:host ::ng-deep .p-button.w-button-medium-tertiary{height:40px;padding:11px 19px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-medium.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-medium-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px}:host ::ng-deep .w-button-large.p-button,:host ::ng-deep .p-button.w-button-large-tertiary{height:56px;padding:15px 27px;border-radius:8px;border-width:1px}:host ::ng-deep .w-button-large.p-button :hover,:host ::ng-deep .p-button.w-button-large-tertiary :hover{border-width:1px}:host ::ng-deep .w-button-large.p-button .p-button-icon,:host ::ng-deep .p-button.w-button-large-tertiary .p-button-icon{margin-left: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:1px solid #d6f2ff;background-color:#1f5b72}: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:1px;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:#1f5b72;color:#1f5b72;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{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-medium-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-large-tertiary.p-button{border:1px 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:1px solid #dadce0;color:#5f6368}:host ::ng-deep .w-button-small.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only,:host ::ng-deep .w-button-large.p-button.p-button-icon-only,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only{width:32px}:host ::ng-deep .w-button-small.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-small-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-medium-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-large-tertiary.p-button.p-button-icon-only .p-button-icon,:host ::ng-deep .w-button-text-small.p-button.p-button-icon-only .p-button-icon{padding-left:0;margin-left:0}:host ::ng-deep .w-button-text-small.p-button{border:none}:host ::ng-deep .w-button-text-small.p-button.p-button-text:enabled:hover{color:#00b2eb;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"] }]
39
39
  }], propDecorators: { type: [{
40
40
  type: Input,
41
41
  args: ['type']