-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
479 changed files
with
3,423 additions
and
3,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 4 additions & 7 deletions
11
...oc/schematics/doc-page/files/component/__name@dasherize__/__name@dasherize__.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import {ChangeDetectionStrategy, Component} from '@angular/core'; | ||
<% for(let i =1; i<=samples; i++) {%>import * as example<%=i%>Html from '!!raw-loader!./examples/<%=i%>/index.html'; | ||
import * as example<%=i%>Ts from '!!raw-loader!./examples/<%=i%>/index.ts'; | ||
<%}%>import {default as exampleImportModule} from '!!raw-loader!./import/import-module.txt'; | ||
|
||
@Component({ | ||
selector: 'example-<%= dasherize(name) %>', | ||
templateUrl: './<%= dasherize(name) %>.template.html', | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class Example<%= classify(name) %>Component { | ||
<% for(let i =1; i<=samples; i++) {%>readonly example<%=i%>: IFrontEndExample = { | ||
TypeScript: example<%=i%>Ts, | ||
HTML: example<%=i%>Html, | ||
<% for(let i =1; i<=samples; i++) {%>readonly example<%=i%> = { | ||
TypeScript: import('!!raw-loader!./examples/<%=i%>/index.ts'), | ||
HTML: import('!!raw-loader!./examples/<%=i%>/index.html'), | ||
}; | ||
<% } %> | ||
readonly exampleImportModule = exampleImportModule; | ||
readonly exampleImportModule = import('!!raw-loader!./import/import-module.txt'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
export interface TuiCodeEditor { | ||
readonly name: string; | ||
edit(component: string, id: string, files: Record<string, string>): Promise<void>; | ||
} | ||
|
||
/** | ||
* @deprecated use {@link TuiCodeEditor} | ||
*/ | ||
export interface CodeEditor extends TuiCodeEditor { | ||
/** | ||
* @deprecated | ||
* use `edit` method instead of `open` | ||
*/ | ||
open(component: string, sampleId: string, files: Record<string, string>): void; | ||
} | ||
|
||
/** | ||
* @deprecated use {@link TuiCodeEditor} | ||
*/ | ||
export type CodeEditor = TuiCodeEditor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/charts/axes/examples/import/import-module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
```ts | ||
import {TuiAxesModule} from '@taiga-ui/addon-charts'; | ||
|
||
// ... | ||
|
||
@NgModule({ | ||
imports: [ | ||
// ... | ||
TuiAxesModule, | ||
], | ||
// ... | ||
}) | ||
export class MyModule {} | ||
``` |
10 changes: 0 additions & 10 deletions
10
projects/demo/src/modules/charts/axes/examples/import/import-module.txt
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
.../axes/examples/import/insert-template.txt → ...s/axes/examples/import/insert-template.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
```html | ||
<tui-axes [value]="value"></tui-axes> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/charts/bar-chart/examples/import/import-module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
```ts | ||
import {TuiBarChartModule} from '@taiga-ui/addon-charts'; | ||
|
||
//... | ||
|
||
@NgModule({ | ||
imports: [ | ||
// ... | ||
TuiBarChartModule, | ||
], | ||
//... | ||
}) | ||
export class MyModule {} | ||
``` |
10 changes: 0 additions & 10 deletions
10
projects/demo/src/modules/charts/bar-chart/examples/import/import-module.txt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
65 changes: 23 additions & 42 deletions
65
projects/demo/src/modules/charts/bar-set/bar-set.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/charts/bar-set/examples/import/import-module.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
```ts | ||
import {TuiBarSetModule} from '@taiga-ui/addon-charts'; | ||
|
||
// ... | ||
|
||
@NgModule({ | ||
imports: [ | ||
// ... | ||
TuiBarSetModule, | ||
], | ||
}) | ||
// ... | ||
export class MyModule {} | ||
``` |
10 changes: 0 additions & 10 deletions
10
projects/demo/src/modules/charts/bar-set/examples/import/import-module.txt
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...r-set/examples/import/insert-template.txt → ...ar-set/examples/import/insert-template.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
```html | ||
<tui-bar-set [value]="value"></tui-bar> | ||
``` |
Oops, something went wrong.