mirror of
https://github.com/bitwarden/browser.git
synced 2024-06-28 10:55:27 +02:00
[SM-468] Add eslint rule for forcing type to buttons (#4576)
* Add eslint rule for forcing type to buttons * Fix eslint js errors
This commit is contained in:
parent
8ac8cc0274
commit
4d6e333d8d
|
@ -4,11 +4,15 @@
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"webextensions": true
|
"webextensions": true
|
||||||
},
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["*.ts", "*.js"],
|
||||||
"plugins": ["@typescript-eslint", "rxjs", "rxjs-angular", "import"],
|
"plugins": ["@typescript-eslint", "rxjs", "rxjs-angular", "import"],
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"project": ["./tsconfig.eslint.json"],
|
"project": ["./tsconfig.eslint.json"],
|
||||||
"sourceType": "module"
|
"sourceType": "module",
|
||||||
|
"ecmaVersion": 2020
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
|
@ -102,8 +106,16 @@
|
||||||
"error",
|
"error",
|
||||||
{ "patterns": ["src/**/*"], "paths": ["@fluffy-spoon/substitute"] }
|
{ "patterns": ["src/**/*"], "paths": ["@fluffy-spoon/substitute"] }
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": ["*.html"],
|
||||||
|
"parser": "@angular-eslint/template-parser",
|
||||||
|
"plugins": ["@angular-eslint/template"],
|
||||||
|
"rules": {
|
||||||
|
"@angular-eslint/template/button-has-type": "error"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"overrides": [
|
|
||||||
{
|
{
|
||||||
"files": ["libs/common/src/**/*.ts"],
|
"files": ["libs/common/src/**/*.ts"],
|
||||||
"rules": {
|
"rules": {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="loaded && organizations$ | async as organizations">
|
<ng-container *ngIf="loaded && organizations$ | async as organizations">
|
||||||
<div class="content org-filter-content" *ngIf="loaded && shouldShow(organizations)">
|
<div class="content org-filter-content" *ngIf="loaded && shouldShow(organizations)">
|
||||||
<ng-container *ngIf="selectedVault$ | async as vaultFilterDisplay">
|
<ng-container *ngIf="selectedVault$ | async as vaultFilterDisplay">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<header>
|
<header>
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<button type="button" (click)="close()">{{ "close" | i18n }}</button>
|
<button type="button" (click)="close()">{{ "close" | i18n }}</button>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<button
|
<button
|
||||||
class="account-switcher"
|
class="account-switcher"
|
||||||
(click)="toggle()"
|
(click)="toggle()"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div id="sends" class="vault">
|
<div id="sends" class="vault">
|
||||||
<div class="left-nav">
|
<div class="left-nav">
|
||||||
<div class="vault-filters">
|
<div class="vault-filters">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="show">
|
<ng-container *ngIf="show">
|
||||||
<div class="filter-heading">
|
<div class="filter-heading">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="!hide">
|
<ng-container *ngIf="!hide">
|
||||||
<div class="filter-heading">
|
<div class="filter-heading">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="show">
|
<ng-container *ngIf="show">
|
||||||
<ng-container [ngSwitch]="displayMode">
|
<ng-container [ngSwitch]="displayMode">
|
||||||
<ng-container *ngSwitchCase="'personalOwnershipPolicy'">
|
<ng-container *ngSwitchCase="'personalOwnershipPolicy'">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="show">
|
<ng-container *ngIf="show">
|
||||||
<h2 class="sr-only">{{ "filters" | i18n }}</h2>
|
<h2 class="sr-only">{{ "filters" | i18n }}</h2>
|
||||||
<ul class="filter-options">
|
<ul class="filter-options">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="filter-heading">
|
<div class="filter-heading">
|
||||||
<h2>
|
<h2>
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="container loading-spinner" *ngIf="!loaded">
|
<div class="container loading-spinner" *ngIf="!loaded">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x" aria-hidden="true"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x" aria-hidden="true"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="inner-content" *ngIf="cipher">
|
<div class="inner-content" *ngIf="cipher">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div *ngIf="accountCreateOnly" class="">
|
<div *ngIf="accountCreateOnly" class="">
|
||||||
<h1 class="tw-mt-12 tw-text-center tw-text-xl">{{ "createAccount" | i18n }}</h1>
|
<h1 class="tw-mt-12 tw-text-center tw-text-xl">{{ "createAccount" | i18n }}</h1>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="tw-m-2.5 tw-h-16 tw-text-center">
|
<div class="tw-m-2.5 tw-h-16 tw-text-center">
|
||||||
<button
|
<button
|
||||||
(click)="selectStep()"
|
(click)="selectStep()"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="confirmUserTitle">
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="confirmUserTitle">
|
||||||
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
||||||
<form class="modal-content" #form (ngSubmit)="submit()">
|
<form class="modal-content" #form (ngSubmit)="submit()">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<nav class="navbar navbar-expand navbar-dark" [ngClass]="{ 'nav-background-alt': selfHosted }">
|
<nav class="navbar navbar-expand navbar-dark" [ngClass]="{ 'nav-background-alt': selfHosted }">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="navbar-brand" routerLink="/" appA11yTitle="{{ 'pageTitle' | i18n: 'Bitwarden' }}">
|
<a class="navbar-brand" routerLink="/" appA11yTitle="{{ 'pageTitle' | i18n: 'Bitwarden' }}">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-template [ngIf]="isEnabled">
|
<ng-template [ngIf]="isEnabled">
|
||||||
<button
|
<button
|
||||||
bitIconButton="bwi bwi-fw bwi-filter"
|
bitIconButton="bwi bwi-fw bwi-filter"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="d-flex page-header">
|
<div class="d-flex page-header">
|
||||||
<h1>
|
<h1>
|
||||||
{{ "billingHistory" | i18n }}
|
{{ "billingHistory" | i18n }}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="container page-content">
|
<div class="container page-content">
|
||||||
<div class="tw-mb-4 tw-flex">
|
<div class="tw-mb-4 tw-flex">
|
||||||
<h1>{{ "groups" | i18n }}</h1>
|
<h1>{{ "groups" | i18n }}</h1>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="container page-content">
|
<div class="container page-content">
|
||||||
<div class="tw-mb-4 tw-flex tw-flex-col tw-space-y-4">
|
<div class="tw-mb-4 tw-flex tw-flex-col tw-space-y-4">
|
||||||
<h1>{{ "members" | i18n }}</h1>
|
<h1>{{ "members" | i18n }}</h1>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="container page-content">
|
<div class="container page-content">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="sendAddEditTitle">
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="sendAddEditTitle">
|
||||||
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
|
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
|
||||||
<form
|
<form
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="container page-content">
|
<div class="container page-content">
|
||||||
<app-callout type="warning" title="{{ 'sendDisabled' | i18n }}" *ngIf="disableSend">
|
<app-callout type="warning" title="{{ 'sendDisabled' | i18n }}" *ngIf="disableSend">
|
||||||
<span>{{ "sendDisabledWarning" | i18n }}</span>
|
<span>{{ "sendDisabledWarning" | i18n }}</span>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{ "myAccount" | i18n }}</h1>
|
<h1>{{ "myAccount" | i18n }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="d-flex tabbed-header">
|
<div class="d-flex tabbed-header">
|
||||||
<h1>
|
<h1>
|
||||||
{{ "billingHistory" | i18n }}
|
{{ "billingHistory" | i18n }}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{ "emergencyAccess" | i18n }}</h1>
|
<h1>{{ "emergencyAccess" | i18n }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="d-flex" [ngClass]="headerClass">
|
<div class="d-flex" [ngClass]="headerClass">
|
||||||
<h1>
|
<h1>
|
||||||
{{ "paymentMethod" | i18n }}
|
{{ "paymentMethod" | i18n }}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<app-change-kdf *ngIf="showChangeKdf"></app-change-kdf>
|
<app-change-kdf *ngIf="showChangeKdf"></app-change-kdf>
|
||||||
<div
|
<div
|
||||||
[ngClass]="{ 'tabbed-header': !showChangeKdf, 'secondary-header': showChangeKdf }"
|
[ngClass]="{ 'tabbed-header': !showChangeKdf, 'secondary-header': showChangeKdf }"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<td>
|
<td>
|
||||||
{{ sponsoringOrg.familySponsorshipFriendlyName }}
|
{{ sponsoringOrg.familySponsorshipFriendlyName }}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="tabbed-header">
|
<div class="tabbed-header">
|
||||||
<h1 *ngIf="!organizationId">{{ "twoStepLogin" | i18n }}</h1>
|
<h1 *ngIf="!organizationId">{{ "twoStepLogin" | i18n }}</h1>
|
||||||
<h1 *ngIf="organizationId">{{ "twoStepLoginEnforcement" | i18n }}</h1>
|
<h1 *ngIf="organizationId">{{ "twoStepLoginEnforcement" | i18n }}</h1>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="passHistoryTitle">
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="passHistoryTitle">
|
||||||
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<button
|
<button
|
||||||
bitBadge
|
bitBadge
|
||||||
[style.color]="textColor"
|
[style.color]="textColor"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="!loaded">
|
<ng-container *ngIf="!loaded">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-spinner bwi-spin text-muted tw-m-2"
|
class="bwi bwi-spinner bwi-spin text-muted tw-m-2"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="filters && filters.length">
|
<ng-container *ngIf="filters && filters.length">
|
||||||
<div *ngIf="headerInfo.showHeader" class="filter-heading">
|
<div *ngIf="headerInfo.showHeader" class="filter-heading">
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container>
|
<ng-container>
|
||||||
<bit-table
|
<bit-table
|
||||||
*ngIf="filteredCiphers.length || filteredCollections.length"
|
*ngIf="filteredCiphers.length || filteredCollections.length"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html class="theme_light">
|
<html class="theme_light">
|
||||||
<head>
|
<head>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="addTitle">
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="addTitle">
|
||||||
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
<div class="modal-dialog modal-dialog-scrollable" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="page-header d-flex">
|
<div class="page-header d-flex">
|
||||||
<h1>{{ "clients" | i18n }}</h1>
|
<h1>{{ "clients" | i18n }}</h1>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div class="page-header d-flex">
|
<div class="page-header d-flex">
|
||||||
<h1>{{ "people" | i18n }}</h1>
|
<h1>{{ "people" | i18n }}</h1>
|
||||||
<div class="ml-auto d-flex">
|
<div class="ml-auto d-flex">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<header
|
<header
|
||||||
*ngIf="routeData$ | async as routeData"
|
*ngIf="routeData$ | async as routeData"
|
||||||
class="-tw-m-6 tw-mb-3 tw-flex tw-flex-col tw-p-6"
|
class="-tw-m-6 tw-mb-3 tw-flex tw-flex-col tw-p-6"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<button bitButton class="tw-min-w-max" buttonType="primary" [bitMenuTriggerFor]="newMenu">
|
<button bitButton class="tw-min-w-max" buttonType="primary" [bitMenuTriggerFor]="newMenu">
|
||||||
{{ "new" | i18n }} <i class="bwi bwi-angle-down" aria-hidden="true"></i>
|
{{ "new" | i18n }} <i class="bwi bwi-angle-down" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<bit-nav-group
|
<bit-nav-group
|
||||||
*ngIf="activeOrganization$ | async as activeOrganization"
|
*ngIf="activeOrganization$ | async as activeOrganization"
|
||||||
[text]="activeOrganization.name"
|
[text]="activeOrganization.name"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngIf="secrets$ | async as secrets; else spinner">
|
<ng-container *ngIf="secrets$ | async as secrets; else spinner">
|
||||||
<div *ngIf="secrets.length > 0" class="float-right tw-mt-3 tw-items-center">
|
<div *ngIf="secrets.length > 0" class="float-right tw-mt-3 tw-items-center">
|
||||||
<button bitButton buttonType="secondary" (click)="openNewSecretDialog()">
|
<button bitButton buttonType="secondary" (click)="openNewSecretDialog()">
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div *ngIf="!projects" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
<div *ngIf="!projects" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
||||||
<bit-dialog dialogSize="default" disablePadding>
|
<bit-dialog dialogSize="default" disablePadding>
|
||||||
<ng-container bitDialogTitle>{{ title | i18n }}</ng-container>
|
<ng-container bitDialogTitle>{{ title | i18n }}</ng-container>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div *ngIf="!tokens" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
<div *ngIf="!tokens" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<bit-dialog dialogSize="default">
|
<bit-dialog dialogSize="default">
|
||||||
<ng-container bitDialogTitle>
|
<ng-container bitDialogTitle>
|
||||||
<span>{{ "createAccessToken" | i18n }}</span>
|
<span>{{ "createAccessToken" | i18n }}</span>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div *ngIf="!serviceAccounts" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
<div *ngIf="!serviceAccounts" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div *ngIf="!secrets" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
<div *ngIf="!secrets" class="tw-items-center tw-justify-center tw-pt-64 tw-text-center">
|
||||||
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
<i class="bwi bwi-spinner bwi-spin bwi-3x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div
|
<div
|
||||||
class="tw-flex tw-items-center tw-gap-2 tw-p-2 tw-pl-4 tw-text-contrast"
|
class="tw-flex tw-items-center tw-gap-2 tw-p-2 tw-pl-4 tw-text-contrast"
|
||||||
[ngClass]="bannerClass"
|
[ngClass]="bannerClass"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<ng-container *ngFor="let breadcrumb of beforeOverflow; let last = last">
|
<ng-container *ngFor="let breadcrumb of beforeOverflow; let last = last">
|
||||||
<ng-container *ngIf="breadcrumb.route">
|
<ng-container *ngIf="breadcrumb.route">
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<bit-simple-dialog>
|
<bit-simple-dialog>
|
||||||
<i bit-dialog-icon class="bwi tw-text-3xl" [class]="iconClasses" aria-hidden="true"></i>
|
<i bit-dialog-icon class="bwi tw-text-3xl" [class]="iconClasses" aria-hidden="true"></i>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<!-- This a higher order component that composes `NavItemComponent` -->
|
<!-- This a higher order component that composes `NavItemComponent` -->
|
||||||
<bit-nav-item
|
<bit-nav-item
|
||||||
[text]="text"
|
[text]="text"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<!-- Please remove this disable statement when editing this file! -->
|
||||||
|
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||||
<div
|
<div
|
||||||
class="tw-relative"
|
class="tw-relative"
|
||||||
[ngClass]="[
|
[ngClass]="[
|
||||||
|
|
1027
package-lock.json
generated
1027
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -33,6 +33,9 @@
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^14.0.6",
|
"@angular-devkit/build-angular": "^14.0.6",
|
||||||
|
"@angular-eslint/eslint-plugin": "^14.1.2",
|
||||||
|
"@angular-eslint/eslint-plugin-template": "^14.1.2",
|
||||||
|
"@angular-eslint/template-parser": "^14.1.2",
|
||||||
"@angular/cli": "^14.0.6",
|
"@angular/cli": "^14.0.6",
|
||||||
"@angular/compiler-cli": "^14.0.6",
|
"@angular/compiler-cli": "^14.0.6",
|
||||||
"@angular/elements": "^14.0.6",
|
"@angular/elements": "^14.0.6",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user