Add UI copyright headers files (#16614)

* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
This commit is contained in:
Ronald 2023-03-14 14:18:55 +01:00 committed by GitHub
parent bb4baeba95
commit 6bcb98ea71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4416 changed files with 22065 additions and 2 deletions

View File

@ -8,7 +8,9 @@ project {
# Supports doublestar glob patterns for more flexibility in defining which # Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored # files or folders should be ignored
header_ignore = [ header_ignore = [
# "vendors/**", # Forked and modified UI libs
# "**autogen**", "ui/packages/consul-ui/app/utils/dom/event-target/**",
"ui/packages/consul-ui/lib/rehype-prism/**",
"ui/packages/consul-ui/lib/block-slots/**",
] ]
} }

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<li <li
class="acls-separator" class="acls-separator"
role="separator" role="separator"

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (can 'use acls')}} {{#if (can 'use acls')}}
<li data-test-main-nav-auth> <li data-test-main-nav-auth>

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component'; import Component from '@glimmer/component';
import { action } from '@ember/object'; import { action } from '@ember/object';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(routes => routes({ (routes => routes({
dc: { dc: {
acls: { acls: {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
}))( }))(

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div <div
class="consul-hcp-home" class="consul-hcp-home"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.consul-hcp-home { .consul-hcp-home {
position: relative; position: relative;
top: -22px; top: -22px;

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { module, test } from 'qunit'; import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit'; import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers'; import { render } from '@ember/test-helpers';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(routes => routes({ (routes => routes({
dc: { dc: {
show: null show: null

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
'component:consul/hcp/home': { 'component:consul/hcp/home': {
class: 'consul-ui/components/consul/hcp/home', class: 'consul-ui/components/consul/hcp/home',

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div <div
class="consul-lock-session-form" class="consul-lock-session-form"
data-test-session={{@item.ID}} data-test-session={{@item.ID}}

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.consul-lock-session-form { .consul-lock-session-form {
overflow: hidden; overflow: hidden;
} }

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<ListCollection <ListCollection
class="consul-lock-session-list" class="consul-lock-session-list"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.consul-lock-session-list ul > li:not(:first-child) { .consul-lock-session-list ul > li:not(:first-child) {
@extend %composite-row; @extend %composite-row;
} }

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (eq @type 'remove')}} {{#if (eq @type 'remove')}}
{{#if @error}} {{#if @error}}
<Hds::Toast <Hds::Toast

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route <Route
@name={{routeName}} @name={{routeName}}
as |route|> as |route|>

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(routes => routes({ (routes => routes({
dc: { dc: {
nodes: { nodes: {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
}))( }))(

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div class="consul-nspace-form" ...attributes> <div class="consul-nspace-form" ...attributes>
<DataWriter <DataWriter
@sink={{uri @sink={{uri

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from "@glimmer/component"; import Component from "@glimmer/component";
import { action } from "@ember/object"; import { action } from "@ember/object";

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<ListCollection <ListCollection
class="consul-nspace-list" class="consul-nspace-list"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default (collection, clickable, attribute, text, actions) => () => { export default (collection, clickable, attribute, text, actions) => () => {
return collection('.consul-nspace-list [data-test-list-row]', { return collection('.consul-nspace-list [data-test-list-row]', {
nspace: clickable('a'), nspace: clickable('a'),

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (eq @type 'remove')}} {{#if (eq @type 'remove')}}
<Hds::Toast @color='success' <Hds::Toast @color='success'
...attributes ...attributes

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<SearchBar <SearchBar
class="consul-nspace-search-bar" class="consul-nspace-search-bar"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (can "use nspaces")}} {{#if (can "use nspaces")}}
{{#if (can "choose nspaces")}} {{#if (can "choose nspaces")}}
{{#let {{#let

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route <Route
@name={{routeName}} @name={{routeName}}
as |route|> as |route|>

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route <Route
@name={{routeName}} @name={{routeName}}
as |route|> as |route|>

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(routes => routes({ (routes => routes({
dc: { dc: {
nspaces: { nspaces: {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
}))( }))(

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div <div
class="consul-partition-form" class="consul-partition-form"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<ListCollection <ListCollection
class="consul-partition-list" class="consul-partition-list"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export const selectors = () => ({ export const selectors = () => ({
['.consul-partition-list']: { ['.consul-partition-list']: {
row: { row: {

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (eq @type 'remove')}} {{#if (eq @type 'remove')}}
<Hds::Toast <Hds::Toast
@color='success' @color='success'

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<SearchBar <SearchBar
class="consul-partition-search-bar" class="consul-partition-search-bar"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#let {{#let
(or @partition "default") (or @partition "default")
(is-href "dc.partitions" @dc.Name) (is-href "dc.partitions" @dc.Name)

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route <Route
@name={{routeName}} @name={{routeName}}
as |route|> as |route|>

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route <Route
@name={{routeName}} @name={{routeName}}
as |route|> as |route|>

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(routes => routes({ (routes => routes({
dc: { dc: {
partitions: { partitions: {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
"component:consul/partition/selector": { "component:consul/partition/selector": {
"class": "consul-ui/components/consul/partition/selector" "class": "consul-ui/components/consul/partition/selector"

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Providers::Dimension as |p|> <Providers::Dimension as |p|>
{{#if p.data.height}} {{#if p.data.height}}
<div style={{p.data.fillRemainingHeightStyle}} class="overflow-y-scroll"> <div style={{p.data.fillRemainingHeightStyle}} class="overflow-y-scroll">

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.border-bottom-primary { .border-bottom-primary {
border-bottom: 1px solid var(--token-color-border-primary); border-bottom: 1px solid var(--token-color-border-primary);
} }

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Hds::Card::Container @level="base" @hasBorder={{true}} class="mt-6 mb-3"> <Hds::Card::Container @level="base" @hasBorder={{true}} class="mt-6 mb-3">
<div class="flex h-24 p-6 overflow-x-auto space-x-12"> <div class="flex h-24 p-6 overflow-x-auto space-x-12">
<div class="shrink-0"> <div class="shrink-0">

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
%pill-pending::before, %pill-pending::before,
%pill-establishing::before, %pill-establishing::before,
%pill-active::before, %pill-active::before,

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default { export default {
id: 'consul-peer-form', id: 'consul-peer-form',
initial: 'generate', initial: 'generate',

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Hds::Button <Hds::Button
@text='Generate token' @text='Generate token'
form={{@id}} form={{@id}}

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default { export default {
id: 'consul-peer-generate-form', id: 'consul-peer-generate-form',
initial: 'idle', initial: 'idle',

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div class={{class-map "consul-peer-form-generate-fieldsets"}} ...attributes> <div class={{class-map "consul-peer-form-generate-fieldsets"}} ...attributes>
<StateMachine <StateMachine
@src={{require @src={{require

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component'; import Component from '@glimmer/component';
import { action } from '@ember/object'; import { action } from '@ember/object';

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div class={{class-map "consul-peer-form-generate"}} ...attributes> <div class={{class-map "consul-peer-form-generate"}} ...attributes>
<StateMachine <StateMachine
@src={{require @src={{require

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div class={{class-map "consul-peer-form"}} ...attributes> <div class={{class-map "consul-peer-form"}} ...attributes>
<StateMachine <StateMachine
@src={{require "./chart.xstate" from="/components/consul/peer/form"}} @src={{require "./chart.xstate" from="/components/consul/peer/form"}}

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.consul-peer-form { .consul-peer-form {
& { & {
width: 416px; width: 416px;

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Hds::Button <Hds::Button
@text='Add peer' @text='Add peer'
form={{@id}} form={{@id}}

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div <div
class={{class-map class={{class-map
'consul-peer-form-initiate-fieldsets' 'consul-peer-form-initiate-fieldsets'

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div class={{class-map "consul-peer-form-initiate"}} ...attributes> <div class={{class-map "consul-peer-form-initiate"}} ...attributes>
<DataWriter <DataWriter
@sink={{uri @sink={{uri

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<div <div
...attributes ...attributes
> >

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if @regenerate}} {{#if @regenerate}}
<p> <p>
Token regenerated! Heres whats next: Token regenerated! Heres whats next:

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
@import './components'; @import './components';
@import './list'; @import './list';

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<ListCollection <ListCollection
class="consul-peer-list" class="consul-peer-list"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export const selectors = { export const selectors = {
$: ".consul-peer-list", $: ".consul-peer-list",
collection: { collection: {

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
{{#if (eq @type 'remove')}} {{#if (eq @type 'remove')}}
<Hds::Toast <Hds::Toast
@color='success' @color='success'

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<SearchBar <SearchBar
class="consul-peer-search-bar" class="consul-peer-search-bar"
...attributes ...attributes

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.consul-peer-search-bar { .consul-peer-search-bar {
li button span { li button span {
@extend %pill-500; @extend %pill-500;

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<li <li
class="peers-separator" class="peers-separator"
role="separator" role="separator"

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from "@ember/controller"; import Controller from "@ember/controller";
import { inject as service } from "@ember/service"; import { inject as service } from "@ember/service";

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from "@ember/controller"; import Controller from "@ember/controller";
import { tracked } from "@glimmer/tracking"; import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object"; import { action } from "@ember/object";

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from "@ember/controller"; import Controller from "@ember/controller";
import { inject as service } from "@ember/service"; import { inject as service } from "@ember/service";
import { action } from "@ember/object"; import { action } from "@ember/object";

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
<DataLoader <DataLoader
@src={{uri @src={{uri

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
<DataLoader <DataLoader
@src={{uri @src={{uri

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
{{#if (gt route.model.items.length 0)}} {{#if (gt route.model.items.length 0)}}
<Consul::Peer::Address::List @items={{route.model.items}} /> <Consul::Peer::Address::List @items={{route.model.items}} />

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
<DataLoader <DataLoader
@src={{uri @src={{uri

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
<DataLoader <DataLoader
@src={{uri @src={{uri

View File

@ -1,3 +1,8 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
<Route @name={{routeName}} as |route|> <Route @name={{routeName}} as |route|>
{{did-insert this.transitionToImported}} {{did-insert this.transitionToImported}}
</Route> </Route>

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
((routes) => ((routes) =>
routes({ routes({
dc: { dc: {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
(services => services({ (services => services({
"component:consul/peer/selector": { "component:consul/peer/selector": {
"class": "consul-ui/components/consul/peer/selector" "class": "consul-ui/components/consul/peer/selector"

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const path = require('path'); const path = require('path');
const autolinkHeadings = require('remark-autolink-headings'); const autolinkHeadings = require('remark-autolink-headings');

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
module.exports = { module.exports = {
root: true, root: true,
parser: 'babel-eslint', parser: 'babel-eslint',

View File

@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
instrumentation: instrumentation:
excludes: [ excludes: [
"!app/+(utils|search)/**/*" "!app/+(utils|search)/**/*"

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
'use strict'; 'use strict';
module.exports = { module.exports = {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
'use strict'; 'use strict';
module.exports = { module.exports = {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';
import { get } from '@ember/object'; import { get } from '@ember/object';
import { Ability } from 'ember-can'; import { Ability } from 'ember-can';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class IntentionAbility extends BaseAbility { export default class IntentionAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility, { ACCESS_LIST } from './base'; import BaseAbility, { ACCESS_LIST } from './base';
export default class KVAbility extends BaseAbility { export default class KVAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class NodeAbility extends BaseAbility { export default class NodeAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from 'consul-ui/abilities/base'; import BaseAbility from 'consul-ui/abilities/base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from 'consul-ui/abilities/base'; import BaseAbility from 'consul-ui/abilities/base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class PermissionAbility extends BaseAbility { export default class PermissionAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';
import { typeOf } from 'consul-ui/helpers/policy/typeof'; import { typeOf } from 'consul-ui/helpers/policy/typeof';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class ServerAbility extends BaseAbility { export default class ServerAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility, { ACCESS_READ, ACCESS_WRITE } from './base'; import BaseAbility, { ACCESS_READ, ACCESS_WRITE } from './base';
export default class ServiceInstanceAbility extends BaseAbility { export default class ServiceInstanceAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class SessionAbility extends BaseAbility { export default class SessionAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
import { inject as service } from '@ember/service'; import { inject as service } from '@ember/service';

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class UpstreamAbility extends BaseAbility { export default class UpstreamAbility extends BaseAbility {

View File

@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseAbility from './base'; import BaseAbility from './base';
export default class ZerviceAbility extends BaseAbility { export default class ZerviceAbility extends BaseAbility {

Some files were not shown because too many files have changed in this diff Show More