@experteam-mx/ngx-input-number 1.6.5 → 2.0.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.
Files changed (39) hide show
  1. package/README.md +24 -24
  2. package/esm2020/experteam-mx-ngx-input-number.mjs +5 -0
  3. package/esm2020/lib/di.mjs +3 -0
  4. package/esm2020/lib/ngx-input-number.component.mjs +148 -0
  5. package/esm2020/lib/ngx-input-number.module.mjs +47 -0
  6. package/esm2020/lib/ngx-input-number.service.mjs +63 -0
  7. package/esm2020/lib/types.mjs +5 -0
  8. package/esm2020/lib/typesProvider.mjs +30 -0
  9. package/esm2020/public-api.mjs +9 -0
  10. package/experteam-mx-ngx-input-number.d.ts +5 -0
  11. package/fesm2015/experteam-mx-ngx-input-number.mjs +295 -0
  12. package/fesm2015/experteam-mx-ngx-input-number.mjs.map +1 -0
  13. package/fesm2020/experteam-mx-ngx-input-number.mjs +293 -0
  14. package/fesm2020/experteam-mx-ngx-input-number.mjs.map +1 -0
  15. package/index.d.ts +5 -0
  16. package/{src/lib/di.ts → lib/di.d.ts} +1 -2
  17. package/lib/ngx-input-number.component.d.ts +36 -0
  18. package/lib/ngx-input-number.module.d.ts +13 -0
  19. package/lib/ngx-input-number.service.d.ts +18 -0
  20. package/lib/types.d.ts +12 -0
  21. package/lib/typesProvider.d.ts +19 -0
  22. package/package.json +28 -8
  23. package/{src/public-api.ts → public-api.d.ts} +5 -9
  24. package/.browserslistrc +0 -16
  25. package/karma.conf.js +0 -44
  26. package/ng-package.json +0 -11
  27. package/src/lib/ngx-input-number.component.html +0 -14
  28. package/src/lib/ngx-input-number.component.sass +0 -11
  29. package/src/lib/ngx-input-number.component.spec.ts +0 -25
  30. package/src/lib/ngx-input-number.component.ts +0 -160
  31. package/src/lib/ngx-input-number.module.ts +0 -38
  32. package/src/lib/ngx-input-number.service.spec.ts +0 -16
  33. package/src/lib/ngx-input-number.service.ts +0 -59
  34. package/src/lib/types.ts +0 -14
  35. package/src/lib/typesProvider.ts +0 -26
  36. package/src/test.ts +0 -27
  37. package/tsconfig.lib.json +0 -27
  38. package/tsconfig.lib.prod.json +0 -10
  39. package/tsconfig.spec.json +0 -17
@@ -1,26 +0,0 @@
1
- import { Injectable, Provider } from '@angular/core';
2
-
3
- export class inputConfigs {
4
- groupSeparator?: string;
5
- radixPoint?: string;
6
- }
7
-
8
- @Injectable({ providedIn: 'root' })
9
- export abstract class typesProvider {
10
- abstract get config(): inputConfigs;
11
- }
12
-
13
- @Injectable({ providedIn: 'root' })
14
- export class defaultTypesProvider extends typesProvider {
15
- get config(): inputConfigs {
16
- // return default config
17
- return {
18
- groupSeparator: ",",
19
- radixPoint: "."
20
- };
21
- }
22
- }
23
-
24
- export class inputConfigsHelp {
25
- config?: Provider;
26
- }
package/src/test.ts DELETED
@@ -1,27 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js';
4
- import 'zone.js/testing';
5
- import { getTestBed } from '@angular/core/testing';
6
- import {
7
- BrowserDynamicTestingModule,
8
- platformBrowserDynamicTesting
9
- } from '@angular/platform-browser-dynamic/testing';
10
-
11
- declare const require: {
12
- context(path: string, deep?: boolean, filter?: RegExp): {
13
- <T>(id: string): T;
14
- keys(): string[];
15
- };
16
- };
17
-
18
- // First, initialize the Angular testing environment.
19
- getTestBed().initTestEnvironment(
20
- BrowserDynamicTestingModule,
21
- platformBrowserDynamicTesting(),
22
- );
23
-
24
- // Then we find all the tests.
25
- const context = require.context('./', true, /\.spec\.ts$/);
26
- // And load the modules.
27
- context.keys().map(context);
package/tsconfig.lib.json DELETED
@@ -1,27 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/lib",
6
- "target": "es2015",
7
- "declaration": true,
8
- "declarationMap": true,
9
- "inlineSources": true,
10
- "types": [],
11
- "lib": [
12
- "dom",
13
- "es2018"
14
- ]
15
- },
16
- "angularCompilerOptions": {
17
- "skipTemplateCodegen": true,
18
- "strictMetadataEmit": true,
19
- "enableResourceInlining": true,
20
- "strictTemplates": false,
21
- "enableIvy": false
22
- },
23
- "exclude": [
24
- "src/test.ts",
25
- "**/*.spec.ts"
26
- ]
27
- }
@@ -1,10 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "./tsconfig.lib.json",
4
- "compilerOptions": {
5
- "declarationMap": false
6
- },
7
- "angularCompilerOptions": {
8
- "compilationMode": "partial"
9
- }
10
- }
@@ -1,17 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/spec",
6
- "types": [
7
- "jasmine"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }