@starley/ion-directives 1.1.13 → 1.1.15
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/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/src/directive.module.js +31 -0
- package/dist/src/directive.module.js.map +1 -0
- package/dist/src/input-mask/input-mask.directive.js +70 -0
- package/dist/src/input-mask/input-mask.directive.js.map +1 -0
- package/dist/src/press-hold/press-hold.directive.js +71 -0
- package/dist/src/press-hold/press-hold.directive.js.map +1 -0
- package/dist/src/tap/tap.directive.js +79 -0
- package/dist/src/tap/tap.directive.js.map +1 -0
- package/package.json +2 -2
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./src/input-mask/input-mask.directive"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./src/press-hold/press-hold.directive"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./src/tap/tap.directive"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./src/directive.module"), exports);
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,gFAAqD;AACrD,gFAAsD;AACtD,kEAAuC;AACvC,iEAAuC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DirectivesModule = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@angular/core");
|
|
6
|
+
const press_hold_directive_1 = require("./press-hold/press-hold.directive");
|
|
7
|
+
const tap_directive_1 = require("./tap/tap.directive");
|
|
8
|
+
const input_mask_directive_1 = require("./input-mask/input-mask.directive");
|
|
9
|
+
/**
|
|
10
|
+
* Gerencia precionamento de enventos
|
|
11
|
+
* @author Starley Cazorla
|
|
12
|
+
*/
|
|
13
|
+
let DirectivesModule = class DirectivesModule {
|
|
14
|
+
};
|
|
15
|
+
DirectivesModule = tslib_1.__decorate([
|
|
16
|
+
(0, core_1.NgModule)({
|
|
17
|
+
declarations: [
|
|
18
|
+
press_hold_directive_1.PressHoldDirective,
|
|
19
|
+
tap_directive_1.TapDirective,
|
|
20
|
+
input_mask_directive_1.IonInputMaskDirective
|
|
21
|
+
],
|
|
22
|
+
imports: [],
|
|
23
|
+
exports: [
|
|
24
|
+
press_hold_directive_1.PressHoldDirective,
|
|
25
|
+
tap_directive_1.TapDirective,
|
|
26
|
+
input_mask_directive_1.IonInputMaskDirective
|
|
27
|
+
]
|
|
28
|
+
})
|
|
29
|
+
], DirectivesModule);
|
|
30
|
+
exports.DirectivesModule = DirectivesModule;
|
|
31
|
+
//# sourceMappingURL=directive.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directive.module.js","sourceRoot":"","sources":["../../src/directive.module.ts"],"names":[],"mappings":";;;;AAAA,wCAAyC;AACzC,4EAAuE;AACvE,uDAAmD;AACnD,4EAA0E;AAE1E;;;GAGG;AAgBI,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAI,CAAA;AAApB,gBAAgB;IAd5B,IAAA,eAAQ,EAAC;QACN,YAAY,EAAE;YACV,yCAAkB;YAClB,4BAAY;YACZ,4CAAqB;SACxB;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACL,yCAAkB;YAClB,4BAAY;YACZ,4CAAqB;SACxB;KAEJ,CAAC;GACW,gBAAgB,CAAI;AAApB,4CAAgB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IonInputMaskDirective = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@angular/core");
|
|
6
|
+
const forms_1 = require("@angular/forms");
|
|
7
|
+
/**
|
|
8
|
+
* Responsavel pelo mascaramento de inputs
|
|
9
|
+
*/
|
|
10
|
+
let IonInputMaskDirective = class IonInputMaskDirective {
|
|
11
|
+
/**
|
|
12
|
+
* Construtor
|
|
13
|
+
* @param {NgModel} model
|
|
14
|
+
* @param {string} pattern
|
|
15
|
+
*/
|
|
16
|
+
constructor(model, pattern) {
|
|
17
|
+
this.model = model;
|
|
18
|
+
this.pattern = pattern;
|
|
19
|
+
console.log('Inicou inputMask');
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Listener para mudança de valor do input
|
|
23
|
+
* @param event
|
|
24
|
+
*/
|
|
25
|
+
onKeyDown(event) {
|
|
26
|
+
let value = event.target.value, pattern = this.pattern;
|
|
27
|
+
if (event.keyIdentifier === 'U+0008' || event.keyCode === 8 || event.key === 'Backspace') {
|
|
28
|
+
if (value.length) { //prevent fatal exception when backspacing empty value in progressive web app
|
|
29
|
+
//remove all trailing formatting then delete character
|
|
30
|
+
while (pattern[value.length] && pattern[value.length] !== '*') {
|
|
31
|
+
value = value.substring(0, value.length - 1);
|
|
32
|
+
}
|
|
33
|
+
//remove all leading formatting to restore placeholder
|
|
34
|
+
if (pattern.substring(0, value.length).indexOf('*') < 0) {
|
|
35
|
+
value = value.substring(0, value.length - 1);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
let maskIndex = value.length;
|
|
41
|
+
let formatted = '';
|
|
42
|
+
formatted += value;
|
|
43
|
+
if (maskIndex < pattern.length) {
|
|
44
|
+
//apply trailing formatting
|
|
45
|
+
while (pattern[maskIndex] !== '*') {
|
|
46
|
+
formatted += pattern[maskIndex];
|
|
47
|
+
maskIndex++;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
value = formatted;
|
|
51
|
+
}
|
|
52
|
+
event.target.value = value;
|
|
53
|
+
if (this.model) {
|
|
54
|
+
this.model.update.emit(value);
|
|
55
|
+
}
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
IonInputMaskDirective = tslib_1.__decorate([
|
|
60
|
+
(0, core_1.Directive)({
|
|
61
|
+
selector: '[appMask]',
|
|
62
|
+
host: {
|
|
63
|
+
'(keydown)': 'onKeyDown($event)'
|
|
64
|
+
},
|
|
65
|
+
providers: [forms_1.NgModel]
|
|
66
|
+
}),
|
|
67
|
+
tslib_1.__param(1, (0, core_1.Attribute)('appMask'))
|
|
68
|
+
], IonInputMaskDirective);
|
|
69
|
+
exports.IonInputMaskDirective = IonInputMaskDirective;
|
|
70
|
+
//# sourceMappingURL=input-mask.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-mask.directive.js","sourceRoot":"","sources":["../../../src/input-mask/input-mask.directive.ts"],"names":[],"mappings":";;;;AAAA,wCAAqD;AACrD,0CAAyC;AAEzC;;GAEG;AAQI,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAI9B;;;;OAIG;IACH,YAAmB,KAAc,EACP,OAAe;QADtB,UAAK,GAAL,KAAK,CAAS;QAE7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACpC,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,KAAU;QAChB,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,EAC1B,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC3B,IAAI,KAAK,CAAC,aAAa,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,WAAW,EAAE;YACtF,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,6EAA6E;gBAC7F,sDAAsD;gBACtD,OAAO,OAAO,CAAC,KAAK,CAAC,MAA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AqB,CAsDjC;AAtDY,sDAAqB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PressHoldDirective = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@angular/core");
|
|
6
|
+
/**
|
|
7
|
+
* Gerencia pressHold
|
|
8
|
+
* @author Starley Cazorla
|
|
9
|
+
*/
|
|
10
|
+
let PressHoldDirective = class PressHoldDirective {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.press = new core_1.EventEmitter();
|
|
13
|
+
this.pressGesture = {
|
|
14
|
+
name: 'press',
|
|
15
|
+
enabled: false,
|
|
16
|
+
interval: 350
|
|
17
|
+
};
|
|
18
|
+
this.pressTimeout = null;
|
|
19
|
+
this.isPressing = false;
|
|
20
|
+
this.lastTap = 0;
|
|
21
|
+
this.tapCount = 0;
|
|
22
|
+
this.tapTimeout = null;
|
|
23
|
+
console.log('Inicou appPressHold');
|
|
24
|
+
}
|
|
25
|
+
ngOnInit() {
|
|
26
|
+
this.pressGesture.enabled = true;
|
|
27
|
+
}
|
|
28
|
+
onPress(event) {
|
|
29
|
+
if (!this.pressGesture.enabled) {
|
|
30
|
+
return;
|
|
31
|
+
} // Press is not enabled, don't do anything.
|
|
32
|
+
this.handlePressing(event.type);
|
|
33
|
+
}
|
|
34
|
+
handlePressing(type) {
|
|
35
|
+
if (type == 'touchstart') {
|
|
36
|
+
this.pressTimeout = setTimeout(() => {
|
|
37
|
+
this.isPressing = true;
|
|
38
|
+
}, this.pressGesture.interval); // Considered a press if it's longer than interval (default: 251).
|
|
39
|
+
}
|
|
40
|
+
else if (type == 'touchend') {
|
|
41
|
+
clearTimeout(this.pressTimeout);
|
|
42
|
+
if (this.isPressing) {
|
|
43
|
+
this.press.emit('end');
|
|
44
|
+
this.resetTaps(); // Just incase this gets passed as a tap event too.
|
|
45
|
+
}
|
|
46
|
+
// Clicks have a natural delay of 300ms, so we have to account for that, before resetting isPressing.
|
|
47
|
+
// Otherwise a tap event is emitted.
|
|
48
|
+
setTimeout(() => this.isPressing = false, 50);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
resetTaps() {
|
|
52
|
+
clearTimeout(this.tapTimeout); // clear the old timeout
|
|
53
|
+
this.tapCount = 0;
|
|
54
|
+
this.tapTimeout = null;
|
|
55
|
+
this.lastTap = 0;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
tslib_1.__decorate([
|
|
59
|
+
(0, core_1.Output)()
|
|
60
|
+
], PressHoldDirective.prototype, "press", void 0);
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
(0, core_1.HostListener)('touchstart', ['$event']),
|
|
63
|
+
(0, core_1.HostListener)('touchend', ['$event'])
|
|
64
|
+
], PressHoldDirective.prototype, "onPress", null);
|
|
65
|
+
PressHoldDirective = tslib_1.__decorate([
|
|
66
|
+
(0, core_1.Directive)({
|
|
67
|
+
selector: '[appPressHold]'
|
|
68
|
+
})
|
|
69
|
+
], PressHoldDirective);
|
|
70
|
+
exports.PressHoldDirective = PressHoldDirective;
|
|
71
|
+
//# sourceMappingURL=press-hold.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"press-hold.directive.js","sourceRoot":"","sources":["../../../src/press-hold/press-hold.directive.ts"],"names":[],"mappings":";;;;AAAA,wCAAsF;AAEtF;;;GAGG;AAKI,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAc3B;QAZU,UAAK,GAAG,IAAI,mBAAY,EAAE,CAAC;QACrC,iBAAY,GAAG;YACX,IAAI,EAAE,OAAO;YACb,OAAO,EAAE,KAAK;YACd,QAAQ,EAAE,GAAG;SAChB,CAAC;QACF,iBAAY,GAAQ,IAAI,CAAC;QACzB,eAAU,GAAY,KAAK,CAAC;QAC5B,YAAO,GAAG,CAAC,CAAC;QACZ,aAAQ,GAAG,CAAC,CAAC;QACb,eAAU,GAA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;IAFC,IAAA,mBAAY,EAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,CAAC;IACtC,IAAA,mBAAY,EAAC,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC;iDAMpC;AA7BQ,kBAAkB;IAH9B,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,gBAAgB;KAC7B,CAAC;GACW,kBAAkB,CAuD9B;AAvDY,gDAAkB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TapDirective = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@angular/core");
|
|
6
|
+
/**
|
|
7
|
+
* Gerencia tap e doubleTap
|
|
8
|
+
* @author Starley Cazorla
|
|
9
|
+
*/
|
|
10
|
+
let TapDirective = class TapDirective {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.tap = new core_1.EventEmitter();
|
|
13
|
+
this.doubleTap = new core_1.EventEmitter();
|
|
14
|
+
this.lastTap = 0;
|
|
15
|
+
this.tapCount = 0;
|
|
16
|
+
this.tapTimeout = null;
|
|
17
|
+
this.tapGesture = {
|
|
18
|
+
name: 'tap',
|
|
19
|
+
enabled: false,
|
|
20
|
+
interval: 250,
|
|
21
|
+
};
|
|
22
|
+
this.doubleTapGesture = {
|
|
23
|
+
name: 'doubleTap',
|
|
24
|
+
enabled: false,
|
|
25
|
+
interval: 300,
|
|
26
|
+
};
|
|
27
|
+
console.log('Inicou appTap');
|
|
28
|
+
}
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.tapGesture.enabled = true;
|
|
31
|
+
this.doubleTapGesture.enabled = true;
|
|
32
|
+
}
|
|
33
|
+
handleTaps(e) {
|
|
34
|
+
const tapTimestamp = Math.floor(e.timeStamp);
|
|
35
|
+
const isDoubleTap = this.lastTap + this.tapGesture.interval > tapTimestamp;
|
|
36
|
+
if (!this.tapGesture.enabled && !this.doubleTapGesture.enabled) {
|
|
37
|
+
return this.resetTaps();
|
|
38
|
+
}
|
|
39
|
+
this.tapCount++;
|
|
40
|
+
if (isDoubleTap && this.doubleTapGesture.enabled) {
|
|
41
|
+
this.emitTaps();
|
|
42
|
+
}
|
|
43
|
+
else if (!isDoubleTap) {
|
|
44
|
+
this.tapTimeout = setTimeout(() => this.emitTaps(), this.tapGesture.interval);
|
|
45
|
+
}
|
|
46
|
+
this.lastTap = tapTimestamp;
|
|
47
|
+
}
|
|
48
|
+
emitTaps() {
|
|
49
|
+
if (this.tapCount === 1 && this.tapGesture.enabled) {
|
|
50
|
+
this.tap.emit();
|
|
51
|
+
}
|
|
52
|
+
else if (this.tapCount === 2 && this.doubleTapGesture.enabled) {
|
|
53
|
+
this.doubleTap.emit();
|
|
54
|
+
}
|
|
55
|
+
this.resetTaps();
|
|
56
|
+
}
|
|
57
|
+
resetTaps() {
|
|
58
|
+
clearTimeout(this.tapTimeout); // clear the old timeout
|
|
59
|
+
this.tapCount = 0;
|
|
60
|
+
this.tapTimeout = null;
|
|
61
|
+
this.lastTap = 0;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
tslib_1.__decorate([
|
|
65
|
+
(0, core_1.Output)()
|
|
66
|
+
], TapDirective.prototype, "tap", void 0);
|
|
67
|
+
tslib_1.__decorate([
|
|
68
|
+
(0, core_1.Output)()
|
|
69
|
+
], TapDirective.prototype, "doubleTap", void 0);
|
|
70
|
+
tslib_1.__decorate([
|
|
71
|
+
(0, core_1.HostListener)('click', ['$event'])
|
|
72
|
+
], TapDirective.prototype, "handleTaps", null);
|
|
73
|
+
TapDirective = tslib_1.__decorate([
|
|
74
|
+
(0, core_1.Directive)({
|
|
75
|
+
selector: '[appTap]'
|
|
76
|
+
})
|
|
77
|
+
], TapDirective);
|
|
78
|
+
exports.TapDirective = TapDirective;
|
|
79
|
+
//# sourceMappingURL=tap.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tap.directive.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AE;YACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;SACjF;QACD,IAAI,CAAC,OAAO,GAAG,YAAY,CAAC;IAChC,CAAC;IAEO,QAAQ;QACZ,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;YAChD,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SACnB;aAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE;YAC7D,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACzB;QACD,IAAI,CAAC,SAAS,EAAE,CAAC;IACrB,CAAC;IAEO,SAAS;QACb,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,wBAAwB;QACvD,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;IACrB,CAAC;CAEJ,CAAA;AAzDa;IAAT,IAAA,aAAM,GAAE;yCAA0B;AACzB;IAAT,IAAA,aAAM,GAAE;+CAAgC;AAyBzC;IADC,IAAA,mBAAY,EAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAC;8CAcjC;AAzCQ,YAAY;IAHxB,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,UAAU;KACvB,CAAC;GACW,YAAY,CA2DxB;AA3DY,oCAAY"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starley/ion-directives",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"description": "Directivas internas para ionic",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "tsc --
|
|
11
|
+
"build": "tsc --module CommonJS",
|
|
12
12
|
"dev": "nodemon --watch \"scr//\" --exec \"ts-node dist/index.js\" -e ts"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|