@starley/ion-directives 1.1.6 → 1.1.9

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/gitignore ADDED
@@ -0,0 +1,3 @@
1
+ dist/
2
+ node_modules/
3
+ package-lock.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starley/ion-directives",
3
- "version": "1.1.6",
3
+ "version": "1.1.9",
4
4
  "description": "Directivas internas para ionic",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,25 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { PressHoldDirective } from './press-hold/press-hold.directive';
3
+ import { TapDirective } from './tap/tap.directive';
4
+ import { IonInputMaskDirective } from './input-mask/input-mask.directive';
5
+
6
+ /**
7
+ * Gerencia precionamento de enventos
8
+ * @author Starley Cazorla
9
+ */
10
+
11
+ @NgModule({
12
+ declarations: [
13
+ PressHoldDirective,
14
+ TapDirective,
15
+ IonInputMaskDirective
16
+ ],
17
+ imports: [],
18
+ exports: [
19
+ PressHoldDirective,
20
+ TapDirective,
21
+ IonInputMaskDirective
22
+ ]
23
+
24
+ })
25
+ export class DirectivesModule { }
package/src/index.ts CHANGED
@@ -1,7 +1 @@
1
- export * from './directives/input-mask/input-mask.directive';
2
- export * from './directives/press-hold/press-hold.directive';
3
- export * from './directives/tap/tap.directive';
4
- /** Modules */
5
- export * from './directives/input-mask/input-mask.module';
6
- export * from './directives/press-hold/press-hold.module';
7
- export * from './directives/tap/tap.module';
1
+ export * from './directive.module';
File without changes
package/tsconfig.json CHANGED
@@ -1,29 +1,30 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
1
  {
3
- "compileOnSave": false,
4
2
  "compilerOptions": {
5
- "outDir": "./dist",
6
- "forceConsistentCasingInFileNames": true,
7
- "allowSyntheticDefaultImports": true,
8
- "strict": true,
9
- "noImplicitOverride": true,
10
- "noPropertyAccessFromIndexSignature": true,
11
- "noImplicitReturns": true,
12
- "noFallthroughCasesInSwitch": true,
13
- "sourceMap": true,
14
- "declaration": false,
15
- "downlevelIteration": true,
3
+ "outDir": "../../../out-tsc/lib",
4
+ "target": "es2015",
5
+ "module": "esnext",
6
+ "declaration": true,
7
+ "declarationMap": true,
16
8
  "experimentalDecorators": true,
17
9
  "moduleResolution": "node",
18
- "importHelpers": true,
19
- "target": "es2015",
20
- "module": "es2020",
10
+ "resolveJsonModule": true,
11
+ "types": [],
21
12
  "lib": [
22
- "es2018",
23
- "dom"
24
- ],
25
- "useDefineForClassFields": false
13
+ "dom",
14
+ "es2018"
15
+ ]
16
+ },
17
+ "angularCompilerOptions": {
18
+ "skipTemplateCodegen": true,
19
+ "strictMetadataEmit": true,
20
+ "enableResourceInlining": true
26
21
  },
27
- "include": ["src/**/*"],
28
- "exclude": ["node_modules", "**/*.test.ts"]
22
+ "include": [
23
+ "src/**/*.ts",
24
+ "src/**/*.tsx"
25
+ ],
26
+ "exclude": [
27
+ "src/test.ts",
28
+ "**/*.spec.ts"
29
+ ]
29
30
  }
@@ -1,10 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { IonInputMaskDirective } from './input-mask.directive';
3
-
4
- @NgModule({
5
- declarations: [IonInputMaskDirective],
6
- imports: [
7
- ],
8
- exports: [IonInputMaskDirective]
9
- })
10
- export class IonInputMaskDirectiveModule { }
@@ -1,10 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { PressHoldDirective } from './press-hold.directive';
3
-
4
- @NgModule({
5
- declarations: [PressHoldDirective],
6
- imports: [
7
- ],
8
- exports: [PressHoldDirective]
9
- })
10
- export class PressHoldDirectiveModule { }
@@ -1,10 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { TapDirective } from './tap.directive';
3
-
4
- @NgModule({
5
- declarations: [TapDirective],
6
- imports: [
7
- ],
8
- exports: [TapDirective]
9
- })
10
- export class TapDirectiveModule { }