ng-thaana 1.4.2 → 1.5.0
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/README.md +90 -13
- package/{fesm2020 → fesm2022}/ng-thaana.mjs +14 -12
- package/fesm2022/ng-thaana.mjs.map +1 -0
- package/index.d.ts +23 -5
- package/package.json +6 -15
- package/esm2020/lib/ng-thaana.directive.mjs +0 -37
- package/esm2020/lib/ng-thaana.module.mjs +0 -21
- package/esm2020/ng-thaana.mjs +0 -5
- package/esm2020/public-api.mjs +0 -6
- package/fesm2015/ng-thaana.mjs +0 -65
- package/fesm2015/ng-thaana.mjs.map +0 -1
- package/fesm2020/ng-thaana.mjs.map +0 -1
- package/lib/ng-thaana.directive.d.ts +0 -14
- package/lib/ng-thaana.module.d.ts +0 -7
- package/public-api.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,24 +1,101 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ngThaana
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://nodesource.com/products/nsolid)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://travis-ci.org/joemccann/dillinger)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
ngThaana is a port of [v-thaana](https://www.npmjs.com/package/v-thaana) for angular
|
|
8
|
+
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
# Features!
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
- Converts text to thaana (unicode)
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### Installation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
ngThaana requires nothing in particular as a dependancy.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Install the dependencies and devDependencies and start the server.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```sh
|
|
21
|
+
$ yarn add ng-thaana
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
# or if you prefer npm
|
|
24
|
+
$ npm i ng-thaana
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Usage
|
|
29
|
+
```javascript
|
|
30
|
+
// import the module
|
|
31
|
+
import { NgThaanaModule } from 'ng-thaana';
|
|
32
|
+
|
|
33
|
+
// Register the module in the app.modules.ts or the main module.ts file
|
|
34
|
+
|
|
35
|
+
@NgModule({
|
|
36
|
+
declarations: [
|
|
37
|
+
AppComponent,
|
|
38
|
+
],
|
|
39
|
+
imports: [
|
|
40
|
+
BrowserModule,
|
|
41
|
+
FormsModule,
|
|
42
|
+
// as such
|
|
43
|
+
NgThaanaModule,
|
|
44
|
+
],
|
|
45
|
+
providers: [],
|
|
46
|
+
bootstrap: [AppComponent]
|
|
47
|
+
})
|
|
48
|
+
export class AppModule { }
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`ng-thaana` supports pasting latin characters which on the fly will transliterate the provide string into the preferred `flavor`. Here flavors are `phonetic` (default), `typewriter` and `faseyha`
|
|
52
|
+
|
|
53
|
+
For example when `divehi` is pasted it will be `ދިވެހި` in `phonetic` flavor however the same will be `ިިހެވިދ` in `faseyha` flavor. In each flavor the keyboard layout is slightly different.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### In the template
|
|
57
|
+
```html
|
|
58
|
+
<div>
|
|
59
|
+
|
|
60
|
+
<input [(ngModel)]='name' ng-thaana placeholder="Your name please..." />
|
|
61
|
+
|
|
62
|
+
<!-- With explicit flavor -->
|
|
63
|
+
<input [(ngModel)]='name' flavor='faseyha' ng-thaana placeholder="Your name please..." />
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<!-- With post callback -->
|
|
67
|
+
<input [(ngModel)]='name' (ng-thaana)='postCallback($event)' placeholder="Your name please..." />
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Toggling
|
|
73
|
+
ng-thaana now supports toggling its effective state. Meaning you can turn off ng-thaana and vise-versa. This can be done by pressing shift key twice under a second.
|
|
74
|
+
|
|
75
|
+
This has several interesting use cases such as when a charactor from English/Any language is required maybe in the middle of a word or sentence. For instance ID card number requires an `A` prefixed. There are plenty of such if you think about it.
|
|
76
|
+
|
|
77
|
+
You will want to indicate the toggling of `ng-thaana` which can be handled like so.
|
|
78
|
+
|
|
79
|
+
In the template/view
|
|
80
|
+
```html
|
|
81
|
+
<input [(ngModel)]='name' (thaana-toggled)="toggled($event)" ng-thaana placeholder="Search..." />
|
|
82
|
+
```
|
|
83
|
+
And on the js side
|
|
84
|
+
```javascript
|
|
85
|
+
toggled(e: boolean) {
|
|
86
|
+
// Maybe show something like a toast or indicate it on the input itself
|
|
87
|
+
console.log('You toggled ng-thaana: ', e);
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Todos
|
|
92
|
+
|
|
93
|
+
- Write Tests
|
|
94
|
+
- Better doc
|
|
95
|
+
|
|
96
|
+
License
|
|
97
|
+
----
|
|
98
|
+
MIT
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
**Free Software, Hell Yeah!**
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, Output, Input, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import Thaana from 'dhivehi';
|
|
4
4
|
|
|
5
5
|
class NgThaanaDirective {
|
|
6
|
+
el;
|
|
7
|
+
flavor = 'phonetic';
|
|
8
|
+
ngThaana = new EventEmitter();
|
|
9
|
+
thaanaToggled = new EventEmitter();
|
|
6
10
|
constructor(el) {
|
|
7
11
|
this.el = el;
|
|
8
|
-
this.flavor = 'phonetic';
|
|
9
|
-
this.ngThaana = new EventEmitter();
|
|
10
|
-
this.thaanaToggled = new EventEmitter();
|
|
11
12
|
}
|
|
12
13
|
ngAfterViewInit() {
|
|
13
14
|
this.el.nativeElement.style.direction = 'rtl';
|
|
@@ -16,15 +17,16 @@ class NgThaanaDirective {
|
|
|
16
17
|
});
|
|
17
18
|
Thaana(this.el.nativeElement, { flavor: this.flavor });
|
|
18
19
|
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.11", type: NgThaanaDirective, isStandalone: false, selector: "[ng-thaana]", inputs: { flavor: "flavor" }, outputs: { ngThaana: "ng-thaana", thaanaToggled: "thaana-toggled" }, ngImport: i0 });
|
|
19
22
|
}
|
|
20
|
-
|
|
21
|
-
NgThaanaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NgThaanaDirective, selector: "[ng-thaana]", inputs: { flavor: "flavor" }, outputs: { ngThaana: "ng-thaana", thaanaToggled: "thaana-toggled" }, ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaDirective, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaDirective, decorators: [{
|
|
23
24
|
type: Directive,
|
|
24
25
|
args: [{
|
|
25
26
|
selector: '[ng-thaana]',
|
|
27
|
+
standalone: false
|
|
26
28
|
}]
|
|
27
|
-
}], ctorParameters:
|
|
29
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { flavor: [{
|
|
28
30
|
type: Input,
|
|
29
31
|
args: ['flavor']
|
|
30
32
|
}], ngThaana: [{
|
|
@@ -36,11 +38,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
36
38
|
}] } });
|
|
37
39
|
|
|
38
40
|
class NgThaanaModule {
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
42
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaModule, declarations: [NgThaanaDirective], exports: [NgThaanaDirective] });
|
|
43
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaModule });
|
|
39
44
|
}
|
|
40
|
-
|
|
41
|
-
NgThaanaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, declarations: [NgThaanaDirective], exports: [NgThaanaDirective] });
|
|
42
|
-
NgThaanaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, decorators: [{
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NgThaanaModule, decorators: [{
|
|
44
46
|
type: NgModule,
|
|
45
47
|
args: [{
|
|
46
48
|
declarations: [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-thaana.mjs","sources":["../../../projects/ng-thaana/src/lib/ng-thaana.directive.ts","../../../projects/ng-thaana/src/lib/ng-thaana.module.ts","../../../projects/ng-thaana/src/public-api.ts","../../../projects/ng-thaana/src/ng-thaana.ts"],"sourcesContent":["import { AfterViewInit, EventEmitter } from '@angular/core';\nimport { Directive, ElementRef, Input, Output} from '@angular/core';\n\nimport Thaana from 'dhivehi'\n\n\nexport type Flavor = 'phonetic' | 'typewriter' | 'faseyha'\n\n@Directive({\n selector: '[ng-thaana]',\n standalone: false\n})\nexport class NgThaanaDirective implements AfterViewInit {\n\n @Input('flavor') flavor: Flavor = 'phonetic';\n @Output('ng-thaana') ngThaana = new EventEmitter<string>();\n @Output('thaana-toggled') thaanaToggled = new EventEmitter<string>();\n\n constructor(private el: ElementRef) {}\n\n ngAfterViewInit(): void {\n this.el.nativeElement.style.direction = 'rtl'\n this.el.nativeElement.addEventListener('thaana-toggled', (e: CustomEvent) => {\n this.thaanaToggled.emit(e.detail)\n })\n Thaana(this.el.nativeElement, { flavor: this.flavor })\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgThaanaDirective } from './ng-thaana.directive';\n\n\n\n@NgModule({\n declarations: [\n NgThaanaDirective\n ],\n imports: [\n ],\n exports: [\n NgThaanaDirective\n ]\n})\nexport class NgThaanaModule { }\n","/*\n * Public API Surface of ng-thaana\n */\n\nexport * from './lib/ng-thaana.directive';\nexport * from './lib/ng-thaana.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAYa,iBAAiB,CAAA;AAMR,IAAA,EAAA;IAJH,MAAM,GAAW,UAAU;AACvB,IAAA,QAAQ,GAAG,IAAI,YAAY,EAAU;AAChC,IAAA,aAAa,GAAG,IAAI,YAAY,EAAU;AAEpE,IAAA,WAAA,CAAoB,EAAc,EAAA;QAAd,IAAA,CAAA,EAAE,GAAF,EAAE;IAAe;IAErC,eAAe,GAAA;QACb,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,KAAK;AAC7C,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,CAAc,KAAI;YAC1E,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;AACnC,QAAA,CAAC,CAAC;AACF,QAAA,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;IACxD;wGAdW,iBAAiB,EA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fterViewInit, EventEmitter, ElementRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type Flavor = 'phonetic' | 'typewriter' | 'faseyha';
|
|
5
|
+
declare class NgThaanaDirective implements AfterViewInit {
|
|
6
|
+
private el;
|
|
7
|
+
flavor: Flavor;
|
|
8
|
+
ngThaana: EventEmitter<string>;
|
|
9
|
+
thaanaToggled: EventEmitter<string>;
|
|
10
|
+
constructor(el: ElementRef);
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgThaanaDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgThaanaDirective, "[ng-thaana]", never, { "flavor": { "alias": "flavor"; "required": false; }; }, { "ngThaana": "ng-thaana"; "thaanaToggled": "thaana-toggled"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class NgThaanaModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgThaanaModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgThaanaModule, [typeof NgThaanaDirective], never, [typeof NgThaanaDirective]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgThaanaModule>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { NgThaanaDirective, NgThaanaModule };
|
|
23
|
+
export type { Flavor };
|
package/package.json
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-thaana",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^19.
|
|
6
|
-
"@angular/core": "^19.
|
|
7
|
-
"dhivehi": "^1.2.8"
|
|
5
|
+
"@angular/common": "^17.0.5 || ^18.0.0 || ^19.0.0 || ^20.0.0",
|
|
6
|
+
"@angular/core": "^17.0.5 || ^18.0.0 || ^19.0.0 || ^20.0.0"
|
|
8
7
|
},
|
|
9
8
|
"dependencies": {
|
|
10
|
-
"tslib": "^2.
|
|
9
|
+
"tslib": "^2.2.0"
|
|
11
10
|
},
|
|
12
|
-
"module": "
|
|
13
|
-
"es2020": "fesm2020/ng-thaana.mjs",
|
|
14
|
-
"esm2020": "esm2020/ng-thaana.mjs",
|
|
15
|
-
"fesm2020": "fesm2020/ng-thaana.mjs",
|
|
16
|
-
"fesm2015": "fesm2015/ng-thaana.mjs",
|
|
11
|
+
"module": "fesm2022/ng-thaana.mjs",
|
|
17
12
|
"typings": "index.d.ts",
|
|
18
13
|
"exports": {
|
|
19
14
|
"./package.json": {
|
|
@@ -21,11 +16,7 @@
|
|
|
21
16
|
},
|
|
22
17
|
".": {
|
|
23
18
|
"types": "./index.d.ts",
|
|
24
|
-
"
|
|
25
|
-
"es2020": "./fesm2020/ng-thaana.mjs",
|
|
26
|
-
"es2015": "./fesm2015/ng-thaana.mjs",
|
|
27
|
-
"node": "./fesm2015/ng-thaana.mjs",
|
|
28
|
-
"default": "./fesm2020/ng-thaana.mjs"
|
|
19
|
+
"default": "./fesm2022/ng-thaana.mjs"
|
|
29
20
|
}
|
|
30
21
|
},
|
|
31
22
|
"sideEffects": false
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Directive, Input, Output } from '@angular/core';
|
|
3
|
-
import Thaana from 'dhivehi';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class NgThaanaDirective {
|
|
6
|
-
constructor(el) {
|
|
7
|
-
this.el = el;
|
|
8
|
-
this.flavor = 'phonetic';
|
|
9
|
-
this.ngThaana = new EventEmitter();
|
|
10
|
-
this.thaanaToggled = new EventEmitter();
|
|
11
|
-
}
|
|
12
|
-
ngAfterViewInit() {
|
|
13
|
-
this.el.nativeElement.style.direction = 'rtl';
|
|
14
|
-
this.el.nativeElement.addEventListener('thaana-toggled', (e) => {
|
|
15
|
-
this.thaanaToggled.emit(e.detail);
|
|
16
|
-
});
|
|
17
|
-
Thaana(this.el.nativeElement, { flavor: this.flavor });
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
NgThaanaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
-
NgThaanaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NgThaanaDirective, selector: "[ng-thaana]", inputs: { flavor: "flavor" }, outputs: { ngThaana: "ng-thaana", thaanaToggled: "thaana-toggled" }, ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaDirective, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{
|
|
25
|
-
selector: '[ng-thaana]',
|
|
26
|
-
}]
|
|
27
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flavor: [{
|
|
28
|
-
type: Input,
|
|
29
|
-
args: ['flavor']
|
|
30
|
-
}], ngThaana: [{
|
|
31
|
-
type: Output,
|
|
32
|
-
args: ['ng-thaana']
|
|
33
|
-
}], thaanaToggled: [{
|
|
34
|
-
type: Output,
|
|
35
|
-
args: ['thaana-toggled']
|
|
36
|
-
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctdGhhYW5hLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRoYWFuYS9zcmMvbGliL25nLXRoYWFuYS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNU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taXQoZS5kZXRhaWwpXG4gICAgfSlcbiAgICBUaGFhbmEodGhpcy5lbC5uYXRpdmVFbGVtZW50LCB7IGZsYXZvcjogdGhpcy5mbGF2b3IgfSlcbiAgfVxuXG59XG4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { NgThaanaDirective } from './ng-thaana.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class NgThaanaModule {
|
|
5
|
-
}
|
|
6
|
-
NgThaanaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
-
NgThaanaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, declarations: [NgThaanaDirective], exports: [NgThaanaDirective] });
|
|
8
|
-
NgThaanaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [
|
|
13
|
-
NgThaanaDirective
|
|
14
|
-
],
|
|
15
|
-
imports: [],
|
|
16
|
-
exports: [
|
|
17
|
-
NgThaanaDirective
|
|
18
|
-
]
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctdGhhYW5hLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRoYWFuYS9zcmMvbGliL25nLXRoYWFuYS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFjMUQsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFSdkIsaUJBQWlCLGFBS2pCLGlCQUFpQjs0R0FHUixjQUFjOzJGQUFkLGNBQWM7a0JBVjFCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLGlCQUFpQjtxQkFDbEI7b0JBQ0QsT0FBTyxFQUFFLEVBQ1I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLGlCQUFpQjtxQkFDbEI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgTmdUaGFhbmFEaXJlY3RpdmUgfSBmcm9tICcuL25nLXRoYWFuYS5kaXJlY3RpdmUnO1xuXG5cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgTmdUaGFhbmFEaXJlY3RpdmVcbiAgXSxcbiAgaW1wb3J0czogW1xuICBdLFxuICBleHBvcnRzOiBbXG4gICAgTmdUaGFhbmFEaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBOZ1RoYWFuYU1vZHVsZSB7IH1cbiJdfQ==
|
package/esm2020/ng-thaana.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctdGhhYW5hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvbmctdGhhYW5hL3NyYy9uZy10aGFhbmEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
package/esm2020/public-api.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of ng-thaana
|
|
3
|
-
*/
|
|
4
|
-
export * from './lib/ng-thaana.directive';
|
|
5
|
-
export * from './lib/ng-thaana.module';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25nLXRoYWFuYS9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbmctdGhhYW5hXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmctdGhhYW5hLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZy10aGFhbmEubW9kdWxlJztcbiJdfQ==
|
package/fesm2015/ng-thaana.mjs
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Directive, Input, Output, NgModule } from '@angular/core';
|
|
3
|
-
import Thaana from 'dhivehi';
|
|
4
|
-
|
|
5
|
-
class NgThaanaDirective {
|
|
6
|
-
constructor(el) {
|
|
7
|
-
this.el = el;
|
|
8
|
-
this.flavor = 'phonetic';
|
|
9
|
-
this.ngThaana = new EventEmitter();
|
|
10
|
-
this.thaanaToggled = new EventEmitter();
|
|
11
|
-
}
|
|
12
|
-
ngAfterViewInit() {
|
|
13
|
-
this.el.nativeElement.style.direction = 'rtl';
|
|
14
|
-
this.el.nativeElement.addEventListener('thaana-toggled', (e) => {
|
|
15
|
-
this.thaanaToggled.emit(e.detail);
|
|
16
|
-
});
|
|
17
|
-
Thaana(this.el.nativeElement, { flavor: this.flavor });
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
NgThaanaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
-
NgThaanaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NgThaanaDirective, selector: "[ng-thaana]", inputs: { flavor: "flavor" }, outputs: { ngThaana: "ng-thaana", thaanaToggled: "thaana-toggled" }, ngImport: i0 });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaDirective, decorators: [{
|
|
23
|
-
type: Directive,
|
|
24
|
-
args: [{
|
|
25
|
-
selector: '[ng-thaana]',
|
|
26
|
-
}]
|
|
27
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flavor: [{
|
|
28
|
-
type: Input,
|
|
29
|
-
args: ['flavor']
|
|
30
|
-
}], ngThaana: [{
|
|
31
|
-
type: Output,
|
|
32
|
-
args: ['ng-thaana']
|
|
33
|
-
}], thaanaToggled: [{
|
|
34
|
-
type: Output,
|
|
35
|
-
args: ['thaana-toggled']
|
|
36
|
-
}] } });
|
|
37
|
-
|
|
38
|
-
class NgThaanaModule {
|
|
39
|
-
}
|
|
40
|
-
NgThaanaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
-
NgThaanaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, declarations: [NgThaanaDirective], exports: [NgThaanaDirective] });
|
|
42
|
-
NgThaanaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgThaanaModule, decorators: [{
|
|
44
|
-
type: NgModule,
|
|
45
|
-
args: [{
|
|
46
|
-
declarations: [
|
|
47
|
-
NgThaanaDirective
|
|
48
|
-
],
|
|
49
|
-
imports: [],
|
|
50
|
-
exports: [
|
|
51
|
-
NgThaanaDirective
|
|
52
|
-
]
|
|
53
|
-
}]
|
|
54
|
-
}] });
|
|
55
|
-
|
|
56
|
-
/*
|
|
57
|
-
* Public API Surface of ng-thaana
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Generated bundle index. Do not edit.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
export { NgThaanaDirective, NgThaanaModule };
|
|
65
|
-
//# sourceMappingURL=ng-thaana.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-thaana.mjs","sources":["../../../projects/ng-thaana/src/lib/ng-thaana.directive.ts","../../../projects/ng-thaana/src/lib/ng-thaana.module.ts","../../../projects/ng-thaana/src/public-api.ts","../../../projects/ng-thaana/src/ng-thaana.ts"],"sourcesContent":["import { AfterViewInit, EventEmitter } from '@angular/core';\nimport { Directive, ElementRef, Input, Output} from '@angular/core';\n\nimport Thaana from 'dhivehi'\n\n\nexport type Flavor = 'phonetic' | 'typewriter' | 'faseyha'\n\n@Directive({\n selector: '[ng-thaana]',\n})\nexport class NgThaanaDirective implements AfterViewInit {\n\n @Input('flavor') flavor: Flavor = 'phonetic';\n @Output('ng-thaana') ngThaana = new EventEmitter<string>();\n @Output('thaana-toggled') thaanaToggled = new EventEmitter<string>();\n\n constructor(private el: ElementRef) {}\n\n ngAfterViewInit(): void {\n this.el.nativeElement.style.direction = 'rtl'\n this.el.nativeElement.addEventListener('thaana-toggled', (e: CustomEvent) => {\n this.thaanaToggled.emit(e.detail)\n })\n Thaana(this.el.nativeElement, { flavor: this.flavor })\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgThaanaDirective } from './ng-thaana.directive';\n\n\n\n@NgModule({\n declarations: [\n NgThaanaDirective\n ],\n imports: [\n ],\n exports: [\n NgThaanaDirective\n ]\n})\nexport class NgThaanaModule { }\n","/*\n * Public API Surface of ng-thaana\n */\n\nexport * from './lib/ng-thaana.directive';\nexport * from './lib/ng-thaana.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,iBAAiB,CAAA;AAM5B,IAAA,WAAA,CAAoB,EAAc,EAAA;AAAd,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;AAJjB,QAAA,IAAM,CAAA,MAAA,GAAW,UAAU,CAAC;AACxB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,YAAY,EAAU,CAAC;AACjC,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAU,CAAC;KAE/B;IAEtC,eAAe,GAAA;QACb,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,KAAK,CAAA;AAC7C,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,CAAc,KAAI;YAC1E,IAAI,CAAC,aAA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AAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-thaana.mjs","sources":["../../../projects/ng-thaana/src/lib/ng-thaana.directive.ts","../../../projects/ng-thaana/src/lib/ng-thaana.module.ts","../../../projects/ng-thaana/src/public-api.ts","../../../projects/ng-thaana/src/ng-thaana.ts"],"sourcesContent":["import { AfterViewInit, EventEmitter } from '@angular/core';\nimport { Directive, ElementRef, Input, Output} from '@angular/core';\n\nimport Thaana from 'dhivehi'\n\n\nexport type Flavor = 'phonetic' | 'typewriter' | 'faseyha'\n\n@Directive({\n selector: '[ng-thaana]',\n})\nexport class NgThaanaDirective implements AfterViewInit {\n\n @Input('flavor') flavor: Flavor = 'phonetic';\n @Output('ng-thaana') ngThaana = new EventEmitter<string>();\n @Output('thaana-toggled') thaanaToggled = new EventEmitter<string>();\n\n constructor(private el: ElementRef) {}\n\n ngAfterViewInit(): void {\n this.el.nativeElement.style.direction = 'rtl'\n this.el.nativeElement.addEventListener('thaana-toggled', (e: CustomEvent) => {\n this.thaanaToggled.emit(e.detail)\n })\n Thaana(this.el.nativeElement, { flavor: this.flavor })\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { NgThaanaDirective } from './ng-thaana.directive';\n\n\n\n@NgModule({\n declarations: [\n NgThaanaDirective\n ],\n imports: [\n ],\n exports: [\n NgThaanaDirective\n ]\n})\nexport class NgThaanaModule { }\n","/*\n * Public API Surface of ng-thaana\n */\n\nexport * from './lib/ng-thaana.directive';\nexport * from './lib/ng-thaana.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,iBAAiB,CAAA;AAM5B,IAAA,WAAA,CAAoB,EAAc,EAAA;QAAd,IA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BACO,aAAa,EAAA,CAAA;sBAAtC,MAAM;uBAAC,gBAAgB,CAAA;;;MCAb,cAAc,CAAA;;2GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4GAAd,cAAc,EAAA,YAAA,EAAA,CARvB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAKjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;4GAGR,cAAc,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare type Flavor = 'phonetic' | 'typewriter' | 'faseyha';
|
|
5
|
-
export declare class NgThaanaDirective implements AfterViewInit {
|
|
6
|
-
private el;
|
|
7
|
-
flavor: Flavor;
|
|
8
|
-
ngThaana: EventEmitter<string>;
|
|
9
|
-
thaanaToggled: EventEmitter<string>;
|
|
10
|
-
constructor(el: ElementRef);
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgThaanaDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgThaanaDirective, "[ng-thaana]", never, { "flavor": "flavor"; }, { "ngThaana": "ng-thaana"; "thaanaToggled": "thaana-toggled"; }, never, never, false>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./ng-thaana.directive";
|
|
3
|
-
export declare class NgThaanaModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgThaanaModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgThaanaModule, [typeof i1.NgThaanaDirective], never, [typeof i1.NgThaanaDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgThaanaModule>;
|
|
7
|
-
}
|
package/public-api.d.ts
DELETED