ng-thaana 1.4.0 → 1.4.1

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.
Files changed (70) hide show
  1. package/README.md +8 -11
  2. package/esm2020/lib/ng-thaana.directive.mjs +37 -0
  3. package/esm2020/lib/ng-thaana.module.mjs +21 -0
  4. package/esm2020/ng-thaana.mjs +5 -0
  5. package/esm2020/public-api.mjs +6 -0
  6. package/fesm2015/ng-thaana.mjs +65 -0
  7. package/fesm2015/ng-thaana.mjs.map +1 -0
  8. package/fesm2020/ng-thaana.mjs +65 -0
  9. package/fesm2020/ng-thaana.mjs.map +1 -0
  10. package/index.d.ts +5 -0
  11. package/lib/ng-thaana.directive.d.ts +14 -0
  12. package/lib/ng-thaana.module.d.ts +7 -0
  13. package/package.json +25 -32
  14. package/{projects/ng-thaana/src/public-api.ts → public-api.d.ts} +0 -4
  15. package/.editorconfig +0 -16
  16. package/.vscode/extensions.json +0 -4
  17. package/.vscode/launch.json +0 -20
  18. package/.vscode/tasks.json +0 -42
  19. package/angular.json +0 -132
  20. package/projects/app/.browserslistrc +0 -17
  21. package/projects/app/karma.conf.js +0 -44
  22. package/projects/app/src/app/app.component.html +0 -8
  23. package/projects/app/src/app/app.component.scss +0 -0
  24. package/projects/app/src/app/app.component.spec.ts +0 -31
  25. package/projects/app/src/app/app.component.ts +0 -20
  26. package/projects/app/src/app/app.module.ts +0 -20
  27. package/projects/app/src/assets/.gitkeep +0 -0
  28. package/projects/app/src/environments/environment.prod.ts +0 -3
  29. package/projects/app/src/environments/environment.ts +0 -16
  30. package/projects/app/src/favicon.ico +0 -0
  31. package/projects/app/src/index.html +0 -13
  32. package/projects/app/src/main.ts +0 -12
  33. package/projects/app/src/polyfills.ts +0 -65
  34. package/projects/app/src/styles.css +0 -1
  35. package/projects/app/src/test.ts +0 -25
  36. package/projects/app/tsconfig.app.json +0 -15
  37. package/projects/app/tsconfig.spec.json +0 -18
  38. package/projects/ng-thaana/README.md +0 -24
  39. package/projects/ng-thaana/karma.conf.js +0 -44
  40. package/projects/ng-thaana/ng-package.json +0 -7
  41. package/projects/ng-thaana/node_modules/.modules.yaml +0 -21
  42. package/projects/ng-thaana/node_modules/.pnpm/dhivehi@1.2.8/node_modules/dhivehi/lib/index.d.ts +0 -9
  43. package/projects/ng-thaana/node_modules/.pnpm/dhivehi@1.2.8/node_modules/dhivehi/lib/index.esm.js +0 -1
  44. package/projects/ng-thaana/node_modules/.pnpm/dhivehi@1.2.8/node_modules/dhivehi/lib/index.js +0 -1
  45. package/projects/ng-thaana/node_modules/.pnpm/dhivehi@1.2.8/node_modules/dhivehi/lib/index.test.d.ts +0 -1
  46. package/projects/ng-thaana/node_modules/.pnpm/dhivehi@1.2.8/node_modules/dhivehi/package.json +0 -27
  47. package/projects/ng-thaana/node_modules/.pnpm/lock.yaml +0 -23
  48. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/CopyrightNotice.txt +0 -15
  49. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/LICENSE.txt +0 -12
  50. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/README.md +0 -164
  51. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/SECURITY.md +0 -41
  52. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts +0 -38
  53. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.js +0 -70
  54. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/package.json +0 -3
  55. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/package.json +0 -47
  56. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts +0 -460
  57. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.html +0 -1
  58. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -402
  59. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs +0 -401
  60. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.html +0 -1
  61. package/projects/ng-thaana/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.js +0 -484
  62. package/projects/ng-thaana/package.json +0 -12
  63. package/projects/ng-thaana/pnpm-lock.yaml +0 -23
  64. package/projects/ng-thaana/src/lib/ng-thaana.directive.ts +0 -28
  65. package/projects/ng-thaana/src/lib/ng-thaana.module.ts +0 -16
  66. package/projects/ng-thaana/src/test.ts +0 -27
  67. package/projects/ng-thaana/tsconfig.lib.json +0 -15
  68. package/projects/ng-thaana/tsconfig.lib.prod.json +0 -10
  69. package/projects/ng-thaana/tsconfig.spec.json +0 -17
  70. package/tsconfig.json +0 -38
package/README.md CHANGED
@@ -1,26 +1,23 @@
1
1
  # NgThaana
2
2
 
3
- This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.4.
4
-
5
- ## Development server
6
-
7
- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0.
8
4
 
9
5
  ## Code scaffolding
10
6
 
11
- Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
7
+ Run `ng generate component component-name --project ng-thaana` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-thaana`.
8
+ > Note: Don't forget to add `--project ng-thaana` or else it will be added to the default project in your `angular.json` file.
12
9
 
13
10
  ## Build
14
11
 
15
- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ Run `ng build ng-thaana` to build the project. The build artifacts will be stored in the `dist/` directory.
16
13
 
17
- ## Running unit tests
14
+ ## Publishing
18
15
 
19
- Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
16
+ After building your library with `ng build ng-thaana`, go to the dist folder `cd dist/ng-thaana` and run `npm publish`.
20
17
 
21
- ## Running end-to-end tests
18
+ ## Running unit tests
22
19
 
23
- Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
20
+ Run `ng test ng-thaana` to execute the unit tests via [Karma](https://karma-runner.github.io).
24
21
 
25
22
  ## Further help
26
23
 
@@ -0,0 +1,37 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctdGhhYW5hLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXRoYWFuYS9zcmMvbGliL25nLXRoYWFuYS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFHLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXJFLE9BQVEsTUFBTSxNQUFNLFNBQVMsQ0FBQTs7QUFRN0IsTUFBTSxPQUFPLGlCQUFpQjtJQU01QixZQUFvQixFQUFjO1FBQWQsT0FBRSxHQUFGLEVBQUUsQ0FBWTtRQUpqQixXQUFNLEdBQVcsVUFBVSxDQUFDO1FBQ3hCLGFBQVEsR0FBRyxJQUFJLFlBQVksRUFBVSxDQUFDO1FBQ2pDLGtCQUFhLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztJQUVoQyxDQUFDO0lBRXRDLGVBQWU7UUFDYixJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsU0FBUyxHQUFHLEtBQUssQ0FBQTtRQUM3QyxJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxnQkFBZ0IsQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDLENBQWMsRUFBRSxFQUFFO1lBQzFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUNuQyxDQUFDLENBQUMsQ0FBQTtRQUNGLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsRUFBRSxFQUFFLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQTtJQUN4RCxDQUFDOzs4R0FkVSxpQkFBaUI7a0dBQWpCLGlCQUFpQjsyRkFBakIsaUJBQWlCO2tCQUg3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxhQUFhO2lCQUN4QjtpR0FHa0IsTUFBTTtzQkFBdEIsS0FBSzt1QkFBQyxRQUFRO2dCQUNNLFFBQVE7c0JBQTVCLE1BQU07dUJBQUMsV0FBVztnQkFDTyxhQUFhO3NCQUF0QyxNQUFNO3VCQUFDLGdCQUFnQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFmdGVyVmlld0luaXQsIEV2ZW50RW1pdHRlciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgIERpcmVjdGl2ZSwgRWxlbWVudFJlZiwgSW5wdXQsIE91dHB1dH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCAgVGhhYW5hIGZyb20gJ2RoaXZlaGknXG5cblxuZXhwb3J0IHR5cGUgRmxhdm9yID0gJ3Bob25ldGljJyB8ICd0eXBld3JpdGVyJyB8ICdmYXNleWhhJ1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbbmctdGhhYW5hXScsXG59KVxuZXhwb3J0IGNsYXNzIE5nVGhhYW5hRGlyZWN0aXZlIGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XG5cbiAgQElucHV0KCdmbGF2b3InKSBmbGF2b3I6IEZsYXZvciA9ICdwaG9uZXRpYyc7XG4gIEBPdXRwdXQoJ25nLXRoYWFuYScpIG5nVGhhYW5hID0gbmV3IEV2ZW50RW1pdHRlcjxzdHJpbmc+KCk7XG4gIEBPdXRwdXQoJ3RoYWFuYS10b2dnbGVkJykgdGhhYW5hVG9nZ2xlZCA9IG5ldyBFdmVudEVtaXR0ZXI8c3RyaW5nPigpO1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZWw6IEVsZW1lbnRSZWYpIHt9XG5cbiAgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5zdHlsZS5kaXJlY3Rpb24gPSAncnRsJ1xuICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKCd0aGFhbmEtdG9nZ2xlZCcsIChlOiBDdXN0b21FdmVudCkgPT4ge1xuICAgICAgdGhpcy50aGFhbmFUb2dnbGVkLmVtaXQoZS5kZXRhaWwpXG4gICAgfSlcbiAgICBUaGFhbmEodGhpcy5lbC5uYXRpdmVFbGVtZW50LCB7IGZsYXZvcjogdGhpcy5mbGF2b3IgfSlcbiAgfVxuXG59XG4iXX0=
@@ -0,0 +1,21 @@
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==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctdGhhYW5hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvbmctdGhhYW5hL3NyYy9uZy10aGFhbmEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,6 @@
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==
@@ -0,0 +1,65 @@
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
@@ -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})\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,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AACnC,SAAC,CAAC,CAAA;AACF,QAAA,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;KACvD;;8GAdU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,WAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;iBACxB,CAAA;iGAGkB,MAAM,EAAA,CAAA;sBAAtB,KAAK;uBAAC,QAAQ,CAAA;gBACM,QAAQ,EAAA,CAAA;sBAA5B,MAAM;uBAAC,WAAW,CAAA;gBACO,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;iBACF,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,65 @@
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
@@ -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})\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,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAJjB,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,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AACnC,SAAC,CAAC,CAAA;AACF,QAAA,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;KACvD;;8GAdU,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,WAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACxB,iBAAA,CAAA;iGAGkB,MAAM,EAAA,CAAA;sBAAtB,KAAK;uBAAC,QAAQ,CAAA;gBACM,QAAQ,EAAA,CAAA;sBAA5B,MAAM;uBAAC,WAAW,CAAA;gBACO,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;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ng-thaana" />
5
+ export * from './public-api';
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1,7 @@
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/package.json CHANGED
@@ -1,39 +1,32 @@
1
1
  {
2
2
  "name": "ng-thaana",
3
- "version": "1.4.0",
4
- "private": false,
5
- "dependencies": {
6
- "@angular/animations": "^14.0.0",
3
+ "version": "1.4.1",
4
+ "peerDependencies": {
7
5
  "@angular/common": "^14.0.0",
8
- "@angular/compiler": "^14.0.0",
9
6
  "@angular/core": "^14.0.0",
10
- "@angular/forms": "^14.0.0",
11
- "@angular/platform-browser": "^14.0.0",
12
- "@angular/platform-browser-dynamic": "^14.0.0",
13
- "@angular/router": "^14.0.0",
14
- "rxjs": "~7.5.0",
15
- "tslib": "^2.3.0",
16
- "zone.js": "~0.11.4"
7
+ "dhivehi": "^1.2.8"
8
+ },
9
+ "dependencies": {
10
+ "tslib": "^2.3.0"
17
11
  },
18
- "devDependencies": {
19
- "@angular-devkit/build-angular": "^14.0.7",
20
- "@angular/cli": "~14.0.4",
21
- "@angular/compiler-cli": "^14.0.0",
22
- "@types/jasmine": "~4.0.0",
23
- "jasmine-core": "~4.1.0",
24
- "karma": "~6.3.0",
25
- "karma-chrome-launcher": "~3.1.0",
26
- "karma-coverage": "~2.2.0",
27
- "karma-jasmine": "~5.0.0",
28
- "karma-jasmine-html-reporter": "~1.7.0",
29
- "ng-packagr": "^14.0.0",
30
- "typescript": "~4.7.2"
12
+ "module": "fesm2015/ng-thaana.mjs",
13
+ "es2020": "fesm2020/ng-thaana.mjs",
14
+ "esm2020": "esm2020/ng-thaana.mjs",
15
+ "fesm2020": "fesm2020/ng-thaana.mjs",
16
+ "fesm2015": "fesm2015/ng-thaana.mjs",
17
+ "typings": "index.d.ts",
18
+ "exports": {
19
+ "./package.json": {
20
+ "default": "./package.json"
21
+ },
22
+ ".": {
23
+ "types": "./index.d.ts",
24
+ "esm2020": "./esm2020/ng-thaana.mjs",
25
+ "es2020": "./fesm2020/ng-thaana.mjs",
26
+ "es2015": "./fesm2015/ng-thaana.mjs",
27
+ "node": "./fesm2015/ng-thaana.mjs",
28
+ "default": "./fesm2020/ng-thaana.mjs"
29
+ }
31
30
  },
32
- "scripts": {
33
- "ng": "ng",
34
- "start": "ng serve",
35
- "build": "ng build",
36
- "watch": "ng build --watch --configuration development",
37
- "test": "ng test"
38
- }
31
+ "sideEffects": false
39
32
  }
@@ -1,6 +1,2 @@
1
- /*
2
- * Public API Surface of ng-thaana
3
- */
4
-
5
1
  export * from './lib/ng-thaana.directive';
6
2
  export * from './lib/ng-thaana.module';
package/.editorconfig DELETED
@@ -1,16 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.ts]
12
- quote_type = single
13
-
14
- [*.md]
15
- max_line_length = off
16
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
- "recommendations": ["angular.ng-template"]
4
- }
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "pwa-chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
package/angular.json DELETED
@@ -1,132 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "ng-thaana": {
7
- "projectType": "library",
8
- "root": "projects/ng-thaana",
9
- "sourceRoot": "projects/ng-thaana/src",
10
- "prefix": "lib",
11
- "architect": {
12
- "build": {
13
- "builder": "@angular-devkit/build-angular:ng-packagr",
14
- "options": {
15
- "project": "projects/ng-thaana/ng-package.json"
16
- },
17
- "configurations": {
18
- "production": {
19
- "tsConfig": "projects/ng-thaana/tsconfig.lib.prod.json"
20
- },
21
- "development": {
22
- "tsConfig": "projects/ng-thaana/tsconfig.lib.json"
23
- }
24
- },
25
- "defaultConfiguration": "production"
26
- },
27
- "test": {
28
- "builder": "@angular-devkit/build-angular:karma",
29
- "options": {
30
- "main": "projects/ng-thaana/src/test.ts",
31
- "tsConfig": "projects/ng-thaana/tsconfig.spec.json",
32
- "karmaConfig": "projects/ng-thaana/karma.conf.js"
33
- }
34
- }
35
- }
36
- },
37
- "app": {
38
- "projectType": "application",
39
- "schematics": {},
40
- "root": "projects/app",
41
- "sourceRoot": "projects/app/src",
42
- "prefix": "app",
43
- "architect": {
44
- "build": {
45
- "builder": "@angular-devkit/build-angular:browser",
46
- "options": {
47
- "outputPath": "dist/app",
48
- "index": "projects/app/src/index.html",
49
- "main": "projects/app/src/main.ts",
50
- "polyfills": "projects/app/src/polyfills.ts",
51
- "tsConfig": "projects/app/tsconfig.app.json",
52
- "assets": [
53
- "projects/app/src/favicon.ico",
54
- "projects/app/src/assets"
55
- ],
56
- "styles": [
57
- "projects/app/src/styles.css"
58
- ],
59
- "scripts": []
60
- },
61
- "configurations": {
62
- "production": {
63
- "budgets": [
64
- {
65
- "type": "initial",
66
- "maximumWarning": "500kb",
67
- "maximumError": "1mb"
68
- },
69
- {
70
- "type": "anyComponentStyle",
71
- "maximumWarning": "2kb",
72
- "maximumError": "4kb"
73
- }
74
- ],
75
- "fileReplacements": [
76
- {
77
- "replace": "projects/app/src/environments/environment.ts",
78
- "with": "projects/app/src/environments/environment.prod.ts"
79
- }
80
- ],
81
- "outputHashing": "all"
82
- },
83
- "development": {
84
- "buildOptimizer": false,
85
- "optimization": false,
86
- "vendorChunk": true,
87
- "extractLicenses": false,
88
- "sourceMap": true,
89
- "namedChunks": true
90
- }
91
- },
92
- "defaultConfiguration": "production"
93
- },
94
- "serve": {
95
- "builder": "@angular-devkit/build-angular:dev-server",
96
- "configurations": {
97
- "production": {
98
- "browserTarget": "app:build:production"
99
- },
100
- "development": {
101
- "browserTarget": "app:build:development"
102
- }
103
- },
104
- "defaultConfiguration": "development"
105
- },
106
- "extract-i18n": {
107
- "builder": "@angular-devkit/build-angular:extract-i18n",
108
- "options": {
109
- "browserTarget": "app:build"
110
- }
111
- },
112
- "test": {
113
- "builder": "@angular-devkit/build-angular:karma",
114
- "options": {
115
- "main": "projects/app/src/test.ts",
116
- "polyfills": "projects/app/src/polyfills.ts",
117
- "tsConfig": "projects/app/tsconfig.spec.json",
118
- "karmaConfig": "projects/app/karma.conf.js",
119
- "assets": [
120
- "projects/app/src/favicon.ico",
121
- "projects/app/src/assets"
122
- ],
123
- "styles": [
124
- "projects/app/src/styles.css"
125
- ],
126
- "scripts": []
127
- }
128
- }
129
- }
130
- }
131
- }
132
- }
@@ -1,17 +0,0 @@
1
- # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2
- # For additional information regarding the format and rule options, please see:
3
- # https://github.com/browserslist/browserslist#queries
4
-
5
- # For the full list of supported browsers by the Angular framework, please see:
6
- # https://angular.io/guide/browser-support
7
-
8
- # You can see what browsers were selected by your queries by running:
9
- # npx browserslist
10
-
11
- last 1 Chrome version
12
- last 1 Firefox version
13
- last 2 Edge major versions
14
- last 2 Safari major versions
15
- last 2 iOS major versions
16
- Firefox ESR
17
- not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.