ngx-dev-toolbar 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/button/button.component.d.ts +12 -0
- package/components/card/card.component.d.ts +8 -0
- package/components/clickable-card/clickable-card.component.d.ts +11 -0
- package/components/icons/angular-icon.component.d.ts +5 -0
- package/components/icons/bug-icon.component.d.ts +6 -0
- package/components/icons/code-icon.component.d.ts +6 -0
- package/components/icons/database-icon.component.d.ts +6 -0
- package/components/icons/discord-icon.component.d.ts +6 -0
- package/components/icons/docs-icon.component.d.ts +6 -0
- package/components/icons/export-icon.component.d.ts +6 -0
- package/components/icons/gauge-icon.component.d.ts +6 -0
- package/components/icons/gear-icon.component.d.ts +6 -0
- package/components/icons/git-branch-icon.component.d.ts +6 -0
- package/components/icons/icon.component.d.ts +9 -0
- package/components/icons/icon.models.d.ts +1 -0
- package/components/icons/import-icon.component.d.ts +6 -0
- package/components/icons/layout-icon.component.d.ts +6 -0
- package/components/icons/lightbulb-icon.component.d.ts +6 -0
- package/components/icons/lighting-icon.component.d.ts +6 -0
- package/components/icons/moon-icon.component.d.ts +6 -0
- package/components/icons/network-icon.component.d.ts +6 -0
- package/components/icons/puzzle-icon.component.d.ts +6 -0
- package/components/icons/refresh-icon.component.d.ts +6 -0
- package/components/icons/star-icon.component.d.ts +6 -0
- package/components/icons/sun-icon.component.d.ts +6 -0
- package/components/icons/terminal-icon.component.d.ts +6 -0
- package/components/icons/toggle-left-icon.component.d.ts +6 -0
- package/components/icons/translate-icon.component.d.ts +6 -0
- package/components/icons/trash-icon.component.d.ts +6 -0
- package/components/icons/users-icon.component.d.ts +6 -0
- package/components/input/input.component.d.ts +10 -0
- package/components/link-button/link-button.component.d.ts +8 -0
- package/components/select/select.component.d.ts +25 -0
- package/components/tool-button/tool-button.component.d.ts +23 -0
- package/components/toolbar-tool/toolbar-tool.component.d.ts +30 -0
- package/components/toolbar-tool/toolbar-tool.models.d.ts +25 -0
- package/components/window/window.component.d.ts +16 -0
- package/dev-toolbar-state.service.d.ts +21 -0
- package/dev-toolbar.component.d.ts +18 -0
- package/fesm2022/ngx-dev-toolbar.mjs +3039 -0
- package/fesm2022/ngx-dev-toolbar.mjs.map +1 -0
- package/models/dev-tools.interface.d.ts +17 -0
- package/package.json +32 -9
- package/tools/feature-flags-tool/feature-flags-internal.service.d.ts +21 -0
- package/tools/feature-flags-tool/feature-flags-tool.component.d.ts +27 -0
- package/tools/feature-flags-tool/feature-flags.models.d.ts +9 -0
- package/tools/feature-flags-tool/feature-flags.service.d.ts +19 -0
- package/tools/home-tool/home-tool.component.d.ts +38 -0
- package/{src/tools/home-tool/settings.models.ts → tools/home-tool/settings.models.d.ts} +1 -1
- package/tools/home-tool/settings.service.d.ts +10 -0
- package/tools/language-tool/language-internal.service.d.ts +19 -0
- package/tools/language-tool/language-tool.component.d.ts +14 -0
- package/tools/language-tool/language.models.d.ts +4 -0
- package/tools/language-tool/language.service.d.ts +19 -0
- package/utils/storage.service.d.ts +18 -0
- package/eslint.config.cjs +0 -47
- package/ng-package.json +0 -7
- package/project.json +0 -37
- package/src/components/button/button.component.scss +0 -49
- package/src/components/button/button.component.ts +0 -36
- package/src/components/card/card.component.scss +0 -18
- package/src/components/card/card.component.ts +0 -30
- package/src/components/clickable-card/clickable-card.component.scss +0 -39
- package/src/components/clickable-card/clickable-card.component.ts +0 -34
- package/src/components/icons/angular-icon.component.ts +0 -35
- package/src/components/icons/bug-icon.component.ts +0 -23
- package/src/components/icons/code-icon.component.ts +0 -24
- package/src/components/icons/database-icon.component.ts +0 -27
- package/src/components/icons/discord-icon.component.ts +0 -23
- package/src/components/icons/docs-icon.component.ts +0 -23
- package/src/components/icons/export-icon.component.ts +0 -23
- package/src/components/icons/gauge-icon.component.ts +0 -27
- package/src/components/icons/gear-icon.component.ts +0 -27
- package/src/components/icons/git-branch-icon.component.ts +0 -27
- package/src/components/icons/icon.component.ts +0 -129
- package/src/components/icons/icon.models.ts +0 -27
- package/src/components/icons/import-icon.component.ts +0 -23
- package/src/components/icons/layout-icon.component.ts +0 -24
- package/src/components/icons/lightbulb-icon.component.ts +0 -23
- package/src/components/icons/lighting-icon.component.ts +0 -24
- package/src/components/icons/moon-icon.component.ts +0 -27
- package/src/components/icons/network-icon.component.ts +0 -27
- package/src/components/icons/puzzle-icon.component.ts +0 -27
- package/src/components/icons/refresh-icon.component.ts +0 -27
- package/src/components/icons/star-icon.component.ts +0 -27
- package/src/components/icons/sun-icon.component.ts +0 -27
- package/src/components/icons/terminal-icon.component.ts +0 -27
- package/src/components/icons/toggle-left-icon.component.ts +0 -27
- package/src/components/icons/translate-icon.component.ts +0 -23
- package/src/components/icons/trash-icon.component.ts +0 -23
- package/src/components/icons/users-icon.component.ts +0 -27
- package/src/components/input/input.component.ts +0 -67
- package/src/components/link-button/link-button.component.scss +0 -36
- package/src/components/link-button/link-button.component.ts +0 -29
- package/src/components/select/select.component.scss +0 -162
- package/src/components/select/select.component.ts +0 -127
- package/src/components/tool-button/tool-button.component.scss +0 -67
- package/src/components/tool-button/tool-button.component.ts +0 -126
- package/src/components/toolbar-tool/toolbar-tool.component.scss +0 -9
- package/src/components/toolbar-tool/toolbar-tool.component.ts +0 -169
- package/src/components/toolbar-tool/toolbar-tool.models.ts +0 -33
- package/src/components/window/window.component.scss +0 -95
- package/src/components/window/window.component.ts +0 -69
- package/src/dev-toolbar-state.service.ts +0 -89
- package/src/dev-toolbar.component.scss +0 -22
- package/src/dev-toolbar.component.ts +0 -105
- package/src/models/dev-tools.interface.ts +0 -19
- package/src/styles.scss +0 -342
- package/src/test-setup.ts +0 -12
- package/src/tools/feature-flags-tool/feature-flags-internal.service.ts +0 -96
- package/src/tools/feature-flags-tool/feature-flags-tool.component.ts +0 -261
- package/src/tools/feature-flags-tool/feature-flags.models.ts +0 -10
- package/src/tools/feature-flags-tool/feature-flags.service.ts +0 -28
- package/src/tools/home-tool/home-tool.component.scss +0 -67
- package/src/tools/home-tool/home-tool.component.ts +0 -197
- package/src/tools/home-tool/settings.service.spec.ts +0 -59
- package/src/tools/home-tool/settings.service.ts +0 -21
- package/src/tools/language-tool/language-internal.service.ts +0 -51
- package/src/tools/language-tool/language-tool.component.scss +0 -7
- package/src/tools/language-tool/language-tool.component.ts +0 -71
- package/src/tools/language-tool/language.models.ts +0 -4
- package/src/tools/language-tool/language.service.ts +0 -26
- package/src/utils/storage.service.spec.ts +0 -179
- package/src/utils/storage.service.ts +0 -80
- package/tsconfig.json +0 -28
- package/tsconfig.lib.json +0 -28
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -29
- package/vite.config.mts +0 -27
- /package/{src/index.ts → index.d.ts} +0 -0
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
Component,
|
|
4
|
-
computed,
|
|
5
|
-
inject,
|
|
6
|
-
input,
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
import { DevToolbarStateService } from '../../dev-toolbar-state.service';
|
|
9
|
-
import { AngularIconComponent } from './angular-icon.component';
|
|
10
|
-
import { BugIconComponent } from './bug-icon.component';
|
|
11
|
-
import { CodeIconComponent } from './code-icon.component';
|
|
12
|
-
import { DatabaseIconComponent } from './database-icon.component';
|
|
13
|
-
import { DiscordIconComponent } from './discord-icon.component';
|
|
14
|
-
import { DocsIconComponent } from './docs-icon.component';
|
|
15
|
-
import { ExportIconComponent } from './export-icon.component';
|
|
16
|
-
import { GaugeIconComponent } from './gauge-icon.component';
|
|
17
|
-
import { GearIconComponent } from './gear-icon.component';
|
|
18
|
-
import { GitBranchIconComponent } from './git-branch-icon.component';
|
|
19
|
-
import { IconName } from './icon.models';
|
|
20
|
-
import { ImportIconComponent } from './import-icon.component';
|
|
21
|
-
import { LayoutIconComponent } from './layout-icon.component';
|
|
22
|
-
import { LightbulbIconComponent } from './lightbulb-icon.component';
|
|
23
|
-
import { LightingIconComponent } from './lighting-icon.component';
|
|
24
|
-
import { MoonIconComponent } from './moon-icon.component';
|
|
25
|
-
import { NetworkIconComponent } from './network-icon.component';
|
|
26
|
-
import { PuzzleIconComponent } from './puzzle-icon.component';
|
|
27
|
-
import { RefreshIconComponent } from './refresh-icon.component';
|
|
28
|
-
import { StarIconComponent } from './star-icon.component';
|
|
29
|
-
import { SunIconComponent } from './sun-icon.component';
|
|
30
|
-
import { TerminalIconComponent } from './terminal-icon.component';
|
|
31
|
-
import { ToggleLeftIconComponent } from './toggle-left-icon.component';
|
|
32
|
-
import { TranslateIconComponent } from './translate-icon.component';
|
|
33
|
-
import { TrashIconComponent } from './trash-icon.component';
|
|
34
|
-
import { UsersIconComponent } from './users-icon.component';
|
|
35
|
-
|
|
36
|
-
@Component({
|
|
37
|
-
selector: 'ndt-icon',
|
|
38
|
-
standalone: true,
|
|
39
|
-
imports: [
|
|
40
|
-
AngularIconComponent,
|
|
41
|
-
BugIconComponent,
|
|
42
|
-
CodeIconComponent,
|
|
43
|
-
DatabaseIconComponent,
|
|
44
|
-
DocsIconComponent,
|
|
45
|
-
DiscordIconComponent,
|
|
46
|
-
ExportIconComponent,
|
|
47
|
-
GaugeIconComponent,
|
|
48
|
-
GearIconComponent,
|
|
49
|
-
GitBranchIconComponent,
|
|
50
|
-
ImportIconComponent,
|
|
51
|
-
LayoutIconComponent,
|
|
52
|
-
LightbulbIconComponent,
|
|
53
|
-
LightingIconComponent,
|
|
54
|
-
NetworkIconComponent,
|
|
55
|
-
PuzzleIconComponent,
|
|
56
|
-
RefreshIconComponent,
|
|
57
|
-
StarIconComponent,
|
|
58
|
-
TerminalIconComponent,
|
|
59
|
-
ToggleLeftIconComponent,
|
|
60
|
-
UsersIconComponent,
|
|
61
|
-
SunIconComponent,
|
|
62
|
-
MoonIconComponent,
|
|
63
|
-
TranslateIconComponent,
|
|
64
|
-
TrashIconComponent,
|
|
65
|
-
],
|
|
66
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
|
-
template: `
|
|
68
|
-
@switch (name()) { @case ('angular') {
|
|
69
|
-
<ndt-angular-icon />
|
|
70
|
-
} @case ('bug') {
|
|
71
|
-
<ndt-bug-icon [fill]="fill()" />
|
|
72
|
-
} @case ('code') {
|
|
73
|
-
<ndt-code-icon [fill]="fill()" />
|
|
74
|
-
} @case ('database') {
|
|
75
|
-
<ndt-database-icon [fill]="fill()" />
|
|
76
|
-
} @case ('docs') {
|
|
77
|
-
<ndt-docs-icon [fill]="fill()" />
|
|
78
|
-
} @case ('export') {
|
|
79
|
-
<ndt-export-icon [fill]="fill()" />
|
|
80
|
-
} @case ('gauge') {
|
|
81
|
-
<ndt-gauge-icon [fill]="fill()" />
|
|
82
|
-
} @case ('gear') {
|
|
83
|
-
<ndt-gear-icon [fill]="fill()" />
|
|
84
|
-
} @case ('git-branch') {
|
|
85
|
-
<ndt-git-branch-icon [fill]="fill()" />
|
|
86
|
-
} @case ('import') {
|
|
87
|
-
<ndt-import-icon [fill]="fill()" />
|
|
88
|
-
} @case ('layout') {
|
|
89
|
-
<ndt-layout-icon [fill]="fill()" />
|
|
90
|
-
} @case ('lighting') {
|
|
91
|
-
<ndt-lighting-icon [fill]="fill()" />
|
|
92
|
-
} @case ('lightbulb') {
|
|
93
|
-
<ndt-lightbulb-icon [fill]="fill()" />
|
|
94
|
-
} @case ('network') {
|
|
95
|
-
<ndt-network-icon [fill]="fill()" />
|
|
96
|
-
} @case ('puzzle') {
|
|
97
|
-
<ndt-puzzle-icon [fill]="fill()" />
|
|
98
|
-
} @case ('refresh') {
|
|
99
|
-
<ndt-refresh-icon [fill]="fill()" />
|
|
100
|
-
} @case ('star') {
|
|
101
|
-
<ndt-star-icon [fill]="fill()" />
|
|
102
|
-
} @case ('terminal') {
|
|
103
|
-
<ndt-terminal-icon [fill]="fill()" />
|
|
104
|
-
} @case ('toggle-left') {
|
|
105
|
-
<ndt-toggle-left-icon [fill]="fill()" />
|
|
106
|
-
} @case ('user') {
|
|
107
|
-
<ndt-users-icon [fill]="fill()" />
|
|
108
|
-
} @case ('sun') {
|
|
109
|
-
<ndt-sun-icon [fill]="fill()" />
|
|
110
|
-
} @case ('moon') {
|
|
111
|
-
<ndt-moon-icon [fill]="fill()" />
|
|
112
|
-
} @case ('translate') {
|
|
113
|
-
<ndt-translate-icon [fill]="fill()" />
|
|
114
|
-
} @case ('discord') {
|
|
115
|
-
<ndt-discord-icon [fill]="fill()" />
|
|
116
|
-
} @case ('trash') {
|
|
117
|
-
<ndt-trash-icon [fill]="fill()" />
|
|
118
|
-
} }
|
|
119
|
-
`,
|
|
120
|
-
})
|
|
121
|
-
export class DevToolbarIconComponent {
|
|
122
|
-
private readonly stateService = inject(DevToolbarStateService);
|
|
123
|
-
|
|
124
|
-
name = input.required<IconName>();
|
|
125
|
-
|
|
126
|
-
fill = computed(() =>
|
|
127
|
-
this.stateService.theme() === 'dark' ? '#FFFFFF' : '#000000'
|
|
128
|
-
);
|
|
129
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type IconName =
|
|
2
|
-
| 'angular'
|
|
3
|
-
| 'bug'
|
|
4
|
-
| 'code'
|
|
5
|
-
| 'database'
|
|
6
|
-
| 'discord'
|
|
7
|
-
| 'docs'
|
|
8
|
-
| 'export'
|
|
9
|
-
| 'flag'
|
|
10
|
-
| 'gauge'
|
|
11
|
-
| 'gear'
|
|
12
|
-
| 'git-branch'
|
|
13
|
-
| 'import'
|
|
14
|
-
| 'layout'
|
|
15
|
-
| 'lighting'
|
|
16
|
-
| 'lightbulb'
|
|
17
|
-
| 'moon'
|
|
18
|
-
| 'network'
|
|
19
|
-
| 'puzzle'
|
|
20
|
-
| 'refresh'
|
|
21
|
-
| 'star'
|
|
22
|
-
| 'sun'
|
|
23
|
-
| 'terminal'
|
|
24
|
-
| 'toggle-left'
|
|
25
|
-
| 'translate'
|
|
26
|
-
| 'trash'
|
|
27
|
-
| 'user';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-import-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"
|
|
17
|
-
></path>
|
|
18
|
-
</svg>
|
|
19
|
-
`,
|
|
20
|
-
})
|
|
21
|
-
export class ImportIconComponent {
|
|
22
|
-
fill = input<string>('#FFFF');
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-layout-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path d="M104,104V208H40a8,8,0,0,1-8-8V104Z" opacity="0.2"></path>
|
|
16
|
-
<path
|
|
17
|
-
d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V96H40V56ZM40,112H96v88H40Zm176,88H112V112H216v88Z"
|
|
18
|
-
></path>
|
|
19
|
-
</svg>
|
|
20
|
-
`,
|
|
21
|
-
})
|
|
22
|
-
export class LayoutIconComponent {
|
|
23
|
-
fill = input<string>('#FFFF');
|
|
24
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-lightbulb-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"
|
|
17
|
-
></path>
|
|
18
|
-
</svg>
|
|
19
|
-
`,
|
|
20
|
-
})
|
|
21
|
-
export class LightbulbIconComponent {
|
|
22
|
-
fill = input<string>('#FFFF');
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-lighting-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path d="M96,240l16-80L48,136,160,16,144,96l64,24Z" opacity="0.2"></path>
|
|
16
|
-
<path
|
|
17
|
-
d="M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"
|
|
18
|
-
></path>
|
|
19
|
-
</svg>
|
|
20
|
-
`,
|
|
21
|
-
})
|
|
22
|
-
export class LightingIconComponent {
|
|
23
|
-
fill = input<string>('#FFFF');
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-moon-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M224.3,150.3a8.1,8.1,0,0,0-7.8-5.7l-2.2.4A84,84,0,0,1,111,41.6a5.7,5.7,0,0,0,.3-1.8A7.9,7.9,0,0,0,109,33a8.1,8.1,0,0,0-8.1-1.1A104,104,0,1,0,225.4,156.9,8.1,8.1,0,0,0,224.3,150.3Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
/>
|
|
19
|
-
<path
|
|
20
|
-
d="M233.5,137.3a12.1,12.1,0,0,0-11.8-8.6,7.9,7.9,0,0,0-1.3.1,80,80,0,0,1-98.2-98.2,12,12,0,0,0-15.6-14A104.2,104.2,0,0,0,32,120c0,57.4,46.6,104,104,104A104.2,104.2,0,0,0,239.4,149.6,12,12,0,0,0,233.5,137.3ZM136,208A88,88,0,0,1,48,120a87.6,87.6,0,0,1,64.8-84.7,96,96,0,0,0,111.9,112A87.6,87.6,0,0,1,136,208Z"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class MoonIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-network-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M152,40V72a8,8,0,0,1-8,8H112a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h32A8,8,0,0,1,152,40ZM80,168H48a8,8,0,0,0-8,8v32a8,8,0,0,0,8,8H80a8,8,0,0,0,8-8V176A8,8,0,0,0,80,168Zm128,0H176a8,8,0,0,0-8,8v32a8,8,0,0,0,8,8h32a8,8,0,0,0,8-8V176A8,8,0,0,0,208,168Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M232,112H136V88h8a16,16,0,0,0,16-16V40a16,16,0,0,0-16-16H112A16,16,0,0,0,96,40V72a16,16,0,0,0,16,16h8v24H24a8,8,0,0,0,0,16H56v32H48a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16H80a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16H72V128H184v32h-8a16,16,0,0,0-16,16v32a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16V176a16,16,0,0,0-16-16h-8V128h32a8,8,0,0,0,0-16ZM112,40h32V72H112ZM80,208H48V176H80Zm128,0H176V176h32Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class NetworkIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-puzzle-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class PuzzleIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-refresh-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class RefreshIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-star-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M229.06,108.79l-48.7,42,14.88,62.79a8.4,8.4,0,0,1-12.52,9.17L128,189.09,73.28,222.74a8.4,8.4,0,0,1-12.52-9.17l14.88-62.79-48.7-42A8.46,8.46,0,0,1,31.73,94L95.64,88.8l24.62-59.6a8.36,8.36,0,0,1,15.48,0l24.62,59.6L224.27,94A8.46,8.46,0,0,1,229.06,108.79Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class StarIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-sun-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M128,60a68,68,0,1,0,68,68A68.07,68.07,0,0,0,128,60Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
/>
|
|
19
|
-
<path
|
|
20
|
-
d="M128,44a8,8,0,0,0,8-8V16a8,8,0,0,0-16,0V36A8,8,0,0,0,128,44ZM57.31,68.69a8,8,0,0,0,11.32-11.32L54.63,43.37A8,8,0,0,0,43.31,54.69ZM44,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H36A8,8,0,0,0,44,128Zm24.63,59.31-14,14a8,8,0,0,0,11.32,11.32l14-14a8,8,0,0,0-11.32-11.32ZM128,212a8,8,0,0,0-8,8v20a8,8,0,0,0,16,0V220A8,8,0,0,0,128,212Zm70.69-24.69a8,8,0,0,0-11.32,11.32l14,14a8,8,0,0,0,11.32-11.32ZM240,120H220a8,8,0,0,0,0,16h20a8,8,0,0,0,0-16Zm-24.69-62.63-14,14a8,8,0,0,0,11.32,11.32l14-14a8,8,0,0,0-11.32-11.32ZM128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,88a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"
|
|
21
|
-
/>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class SunIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-terminal-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class TerminalIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-toggle-left-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M112,128A32,32,0,1,1,80,96,32,32,0,0,1,112,128Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M176,56H80a72,72,0,0,0,0,144h96a72,72,0,0,0,0-144Zm0,128H80A56,56,0,0,1,80,72h96a56,56,0,0,1,0,112ZM80,88a40,40,0,1,0,40,40A40,40,0,0,0,80,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,80,152Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class ToggleLeftIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-translate-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M250.73,210.63l-56-112a12,12,0,0,0-21.46,0l-20.52,41A84.2,84.2,0,0,1,114,126.22,107.48,107.48,0,0,0,139.33,68H160a12,12,0,0,0,0-24H108V32a12,12,0,0,0-24,0V44H32a12,12,0,0,0,0,24h83.13A83.69,83.69,0,0,1,96,110.35,84,84,0,0,1,83.6,91a12,12,0,1,0-21.81,10A107.55,107.55,0,0,0,78,126.24,83.54,83.54,0,0,1,32,140a12,12,0,0,0,0,24,107.47,107.47,0,0,0,64-21.07,108.4,108.4,0,0,0,45.39,19.44l-24.13,48.26a12,12,0,1,0,21.46,10.73L151.41,196h65.17l12.68,25.36a12,12,0,1,0,21.47-10.73ZM163.41,172,184,130.83,204.58,172Z"
|
|
17
|
-
></path>
|
|
18
|
-
</svg>
|
|
19
|
-
`,
|
|
20
|
-
})
|
|
21
|
-
export class TranslateIconComponent {
|
|
22
|
-
fill = input<string>('#FFFF');
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-trash-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"
|
|
17
|
-
></path>
|
|
18
|
-
</svg>
|
|
19
|
-
`,
|
|
20
|
-
})
|
|
21
|
-
export class TrashIconComponent {
|
|
22
|
-
fill = input<string>('#FFFF');
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'ndt-users-icon',
|
|
5
|
-
standalone: true,
|
|
6
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7
|
-
template: `
|
|
8
|
-
<svg
|
|
9
|
-
[attr.fill]="fill()"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
width="24"
|
|
12
|
-
height="24"
|
|
13
|
-
viewBox="0 0 256 256"
|
|
14
|
-
>
|
|
15
|
-
<path
|
|
16
|
-
d="M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z"
|
|
17
|
-
opacity="0.2"
|
|
18
|
-
></path>
|
|
19
|
-
<path
|
|
20
|
-
d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"
|
|
21
|
-
></path>
|
|
22
|
-
</svg>
|
|
23
|
-
`,
|
|
24
|
-
})
|
|
25
|
-
export class UsersIconComponent {
|
|
26
|
-
fill = input<string>('#FFFF');
|
|
27
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectionStrategy,
|
|
3
|
-
Component,
|
|
4
|
-
input,
|
|
5
|
-
model,
|
|
6
|
-
} from '@angular/core';
|
|
7
|
-
import { FormsModule } from '@angular/forms';
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: 'ndt-input',
|
|
11
|
-
standalone: true,
|
|
12
|
-
imports: [FormsModule],
|
|
13
|
-
template: `
|
|
14
|
-
<input
|
|
15
|
-
[attr.aria-label]="ariaLabel()"
|
|
16
|
-
[type]="type()"
|
|
17
|
-
[class]="inputClass()"
|
|
18
|
-
[ngModel]="value()"
|
|
19
|
-
[placeholder]="placeholder()"
|
|
20
|
-
(ngModelChange)="value.set($event)"
|
|
21
|
-
/>
|
|
22
|
-
`,
|
|
23
|
-
styles: [
|
|
24
|
-
`
|
|
25
|
-
:host {
|
|
26
|
-
display: block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.input {
|
|
30
|
-
width: 100%;
|
|
31
|
-
padding: var(--ndt-spacing-sm) var(--ndt-spacing-md);
|
|
32
|
-
border: 1px solid var(--ndt-border-primary);
|
|
33
|
-
border-radius: var(--ndt-border-radius-small);
|
|
34
|
-
background-color: var(--ndt-bg-primary);
|
|
35
|
-
color: var(--ndt-text-primary);
|
|
36
|
-
font-size: var(--ndt-font-size-sm);
|
|
37
|
-
transition: var(--ndt-transition-default);
|
|
38
|
-
box-sizing: border-box;
|
|
39
|
-
|
|
40
|
-
&::placeholder {
|
|
41
|
-
color: var(--ndt-text-muted);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&:focus {
|
|
45
|
-
outline: none;
|
|
46
|
-
border-color: var(--ndt-primary);
|
|
47
|
-
box-shadow: 0 0 0 2px rgba(var(--ndt-primary-rgb), 0.2);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:disabled {
|
|
51
|
-
background-color: var(--ndt-bg-secondary);
|
|
52
|
-
cursor: not-allowed;
|
|
53
|
-
color: var(--ndt-text-muted);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
`,
|
|
57
|
-
],
|
|
58
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
-
})
|
|
60
|
-
export class DevToolbarInputComponent {
|
|
61
|
-
value = model.required<string>();
|
|
62
|
-
|
|
63
|
-
type = input<string>('text');
|
|
64
|
-
placeholder = input<string>('');
|
|
65
|
-
ariaLabel = input<string>('');
|
|
66
|
-
inputClass = input<string>('input');
|
|
67
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
.link-button {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: var(--ndt-spacing-xs);
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
color: var(--ndt-text-muted);
|
|
8
|
-
transition: var(--ndt-transition-default);
|
|
9
|
-
|
|
10
|
-
&:hover {
|
|
11
|
-
color: var(--ndt-text-primary);
|
|
12
|
-
|
|
13
|
-
.link-button__icon {
|
|
14
|
-
outline: 2px solid var(--ndt-primary);
|
|
15
|
-
outline-offset: 2px;
|
|
16
|
-
box-shadow: 0 0 8px var(--ndt-primary);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__icon {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
width: 40px;
|
|
25
|
-
height: 40px;
|
|
26
|
-
border-radius: var(--ndt-border-radius-medium);
|
|
27
|
-
background: var(--ndt-hover-bg);
|
|
28
|
-
transition: all 0.2s ease-in-out;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__text {
|
|
32
|
-
font-size: var(--ndt-font-size-xs);
|
|
33
|
-
text-align: center;
|
|
34
|
-
white-space: nowrap;
|
|
35
|
-
}
|
|
36
|
-
}
|