Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions static/usage/v7/input/mask/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,25 +20,25 @@ import angular_example_component_ts from './angular/example_component_ts.md';
'index.ts': javascript_index_ts,
},
dependencies: {
'@maskito/core': '^2.0.0',
'@maskito/core': '^3.0.0',
},
},
react: {
files: {
'src/main.tsx': react_main_tsx,
},
dependencies: {
'@maskito/react': '^2.0.0',
'@maskito/core': '^2.0.0',
'@maskito/react': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
vue: {
files: {
'src/components/Example.vue': vue_example_vue,
},
dependencies: {
'@maskito/vue': '^2.0.0',
'@maskito/core': '^2.0.0',
'@maskito/vue': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
angular: {
Expand All@@ -48,8 +48,8 @@ import angular_example_component_ts from './angular/example_component_ts.md';
'src/app/example.component.ts': angular_example_component_ts,
},
dependencies: {
'@maskito/angular': '^2.0.0',
'@maskito/core': '^2.0.0',
'@maskito/angular': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
}}
Expand Down
4 changes: 2 additions & 2 deletions static/usage/v8/input/mask/angular/app_module_ts.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,10 +8,10 @@ import { IonicModule } from '@ionic/angular';
import { AppComponent } from './app.component';
import { ExampleComponent } from './example.component';

import { MaskitoModule } from '@maskito/angular';
import { MaskitoDirective } from '@maskito/angular';

@NgModule({
imports: [BrowserModule, FormsModule, MaskitoModule, IonicModule.forRoot({})],
imports: [BrowserModule, FormsModule, MaskitoDirective, IonicModule.forRoot({})],
declarations: [AppComponent, ExampleComponent],
bootstrap: [AppComponent],
})
Expand Down
4 changes: 2 additions & 2 deletions static/usage/v8/input/mask/angular/example_component_ts.md
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
```ts
import { Component } from '@angular/core';

import { MaskitoOptions, MaskitoElementPredicateAsync, maskitoTransform } from '@maskito/core';
import { MaskitoOptions, MaskitoElementPredicate, maskitoTransform } from '@maskito/core';

@Component({
selector: 'app-example',
Expand DownExpand Up@@ -29,6 +29,6 @@ export class ExampleComponent {
],
};

readonly maskPredicate: MaskitoElementPredicateAsync = async (el) => (el as HTMLIonInputElement).getInputElement();
readonly maskPredicate: MaskitoElementPredicate = async (el) => (el as HTMLIonInputElement).getInputElement();
}
```
14 changes: 7 additions & 7 deletions static/usage/v8/input/mask/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,25 +20,25 @@ import angular_example_component_ts from './angular/example_component_ts.md';
'index.ts': javascript_index_ts,
},
dependencies: {
'@maskito/core': '^1.0.0',
'@maskito/core': '^3.0.0',
},
},
react: {
files: {
'src/main.tsx': react_main_tsx,
},
dependencies: {
'@maskito/react': '^1.0.0',
'@maskito/core': '^1.0.0',
'@maskito/react': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
vue: {
files: {
'src/components/Example.vue': vue_example_vue,
},
dependencies: {
'@maskito/vue': '^1.0.0',
'@maskito/core': '^1.0.0',
'@maskito/vue': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
angular: {
Expand All@@ -48,8 +48,8 @@ import angular_example_component_ts from './angular/example_component_ts.md';
'src/app/example.component.ts': angular_example_component_ts,
},
dependencies: {
'@maskito/angular': '^1.0.0',
'@maskito/core': '^1.0.0',
'@maskito/angular': '^3.0.0',
'@maskito/core': '^3.0.0',
},
},
}}
Expand Down