@ctrl/ngx-emoji-mart 6.0.0 → 6.2.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 +3 -3
- package/anchors.component.d.ts +3 -0
- package/category.component.d.ts +7 -2
- package/ctrl-ngx-emoji-mart.d.ts +1 -0
- package/emoji-frequently.service.d.ts +3 -0
- package/emoji-search.service.d.ts +3 -0
- package/esm2020/anchors.component.mjs +83 -0
- package/esm2020/category.component.mjs +386 -0
- package/{esm2015/ctrl-ngx-emoji-mart.js → esm2020/ctrl-ngx-emoji-mart.mjs} +0 -0
- package/{esm2015/emoji-frequently.service.js → esm2020/emoji-frequently.service.mjs} +10 -8
- package/esm2020/emoji-search.service.mjs +177 -0
- package/{esm2015/ngx-emoji/ctrl-ngx-emoji-mart-ngx-emoji.js → esm2020/ngx-emoji/ctrl-ngx-emoji-mart-ngx-emoji.mjs} +0 -0
- package/{esm2015/ngx-emoji/data/categories.js → esm2020/ngx-emoji/data/categories.mjs} +0 -0
- package/{esm2015/ngx-emoji/data/data.interfaces.js → esm2020/ngx-emoji/data/data.interfaces.mjs} +0 -0
- package/{esm2015/ngx-emoji/data/emojis.js → esm2020/ngx-emoji/data/emojis.mjs} +11 -6
- package/{esm2015/ngx-emoji/data/skins.js → esm2020/ngx-emoji/data/skins.mjs} +0 -0
- package/esm2020/ngx-emoji/emoji.component.mjs +236 -0
- package/esm2020/ngx-emoji/emoji.module.mjs +18 -0
- package/esm2020/ngx-emoji/emoji.service.mjs +144 -0
- package/{esm2015/ngx-emoji/index.js → esm2020/ngx-emoji/index.mjs} +0 -0
- package/esm2020/picker.component.mjs +505 -0
- package/esm2020/picker.module.mjs +49 -0
- package/esm2020/preview.component.mjs +187 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/esm2020/search.component.mjs +165 -0
- package/esm2020/skins.component.mjs +108 -0
- package/{esm2015/svgs/index.js → esm2020/svgs/index.mjs} +0 -0
- package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- package/fesm2015/{ctrl-ngx-emoji-mart-ngx-emoji.js → ctrl-ngx-emoji-mart-ngx-emoji.mjs} +111 -49
- package/fesm2015/ctrl-ngx-emoji-mart-ngx-emoji.mjs.map +1 -0
- package/fesm2015/{ctrl-ngx-emoji-mart.js → ctrl-ngx-emoji-mart.mjs} +670 -325
- package/fesm2015/ctrl-ngx-emoji-mart.mjs.map +1 -0
- package/fesm2020/ctrl-ngx-emoji-mart-ngx-emoji.mjs +31829 -0
- package/fesm2020/ctrl-ngx-emoji-mart-ngx-emoji.mjs.map +1 -0
- package/fesm2020/ctrl-ngx-emoji-mart.mjs +1757 -0
- package/fesm2020/ctrl-ngx-emoji-mart.mjs.map +1 -0
- package/ngx-emoji/ctrl-ngx-emoji-mart-ngx-emoji.d.ts +1 -0
- package/ngx-emoji/emoji.component.d.ts +3 -0
- package/ngx-emoji/emoji.module.d.ts +6 -0
- package/ngx-emoji/emoji.service.d.ts +3 -0
- package/ngx-emoji/package.json +6 -7
- package/package.json +35 -13
- package/picker.component.d.ts +3 -0
- package/picker.css +0 -1
- package/picker.module.d.ts +13 -0
- package/preview.component.d.ts +4 -1
- package/search.component.d.ts +3 -0
- package/skins.component.d.ts +6 -3
- package/bundles/ctrl-ngx-emoji-mart-ngx-emoji.umd.js +0 -32093
- package/bundles/ctrl-ngx-emoji-mart-ngx-emoji.umd.js.map +0 -1
- package/bundles/ctrl-ngx-emoji-mart.umd.js +0 -1718
- package/bundles/ctrl-ngx-emoji-mart.umd.js.map +0 -1
- package/ctrl-ngx-emoji-mart.metadata.json +0 -1
- package/esm2015/anchors.component.js +0 -54
- package/esm2015/category.component.js +0 -276
- package/esm2015/emoji-search.service.js +0 -179
- package/esm2015/ngx-emoji/emoji.component.js +0 -174
- package/esm2015/ngx-emoji/emoji.module.js +0 -13
- package/esm2015/ngx-emoji/emoji.service.js +0 -143
- package/esm2015/picker.component.js +0 -459
- package/esm2015/picker.module.js +0 -34
- package/esm2015/preview.component.js +0 -113
- package/esm2015/search.component.js +0 -115
- package/esm2015/skins.component.js +0 -76
- package/fesm2015/ctrl-ngx-emoji-mart-ngx-emoji.js.map +0 -1
- package/fesm2015/ctrl-ngx-emoji-mart.js.map +0 -1
- package/ngx-emoji/ctrl-ngx-emoji-mart-ngx-emoji.metadata.json +0 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
3
|
+
import * as i2 from '@angular/common';
|
3
4
|
import { CommonModule } from '@angular/common';
|
4
5
|
|
5
6
|
const categories = [
|
@@ -1909,7 +1910,8 @@ const emojis = [
|
|
1909
1910
|
'laugh',
|
1910
1911
|
'like',
|
1911
1912
|
':D',
|
1912
|
-
':)'
|
1913
|
+
':)',
|
1914
|
+
'smile'
|
1913
1915
|
],
|
1914
1916
|
sheet: [30, 36],
|
1915
1917
|
shortName: 'smile'
|
@@ -1974,7 +1976,8 @@ const emojis = [
|
|
1974
1976
|
'floor',
|
1975
1977
|
'laughing',
|
1976
1978
|
'lol',
|
1977
|
-
'haha'
|
1979
|
+
'haha',
|
1980
|
+
'rofl'
|
1978
1981
|
],
|
1979
1982
|
sheet: [38, 19],
|
1980
1983
|
shortName: 'rolling_on_the_floor_laughing'
|
@@ -4665,7 +4668,8 @@ const emojis = [
|
|
4665
4668
|
'accept',
|
4666
4669
|
'cool',
|
4667
4670
|
'hand',
|
4668
|
-
'like'
|
4671
|
+
'like',
|
4672
|
+
'+1'
|
4669
4673
|
],
|
4670
4674
|
sheet: [13, 28],
|
4671
4675
|
skinVariations: [
|
@@ -4701,7 +4705,8 @@ const emojis = [
|
|
4701
4705
|
'thumbsdown',
|
4702
4706
|
'no',
|
4703
4707
|
'dislike',
|
4704
|
-
'hand'
|
4708
|
+
'hand',
|
4709
|
+
'-1'
|
4705
4710
|
],
|
4706
4711
|
sheet: [13, 34],
|
4707
4712
|
skinVariations: [
|
@@ -21042,7 +21047,8 @@ const emojis = [
|
|
21042
21047
|
'birthday',
|
21043
21048
|
'magic',
|
21044
21049
|
'circus',
|
21045
|
-
'celebration'
|
21050
|
+
'celebration',
|
21051
|
+
'tada'
|
21046
21052
|
],
|
21047
21053
|
sheet: [7, 38],
|
21048
21054
|
shortName: 'tada'
|
@@ -31563,11 +31569,12 @@ class EmojiService {
|
|
31563
31569
|
return this.sanitize(this.getData(emoji, skin, set));
|
31564
31570
|
}
|
31565
31571
|
}
|
31566
|
-
EmojiService.ɵ
|
31567
|
-
EmojiService
|
31568
|
-
|
31569
|
-
|
31570
|
-
|
31572
|
+
EmojiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
31573
|
+
EmojiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiService, providedIn: 'root' });
|
31574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiService, decorators: [{
|
31575
|
+
type: Injectable,
|
31576
|
+
args: [{ providedIn: 'root' }]
|
31577
|
+
}], ctorParameters: function () { return []; } });
|
31571
31578
|
|
31572
31579
|
class EmojiComponent {
|
31573
31580
|
constructor(emojiService) {
|
@@ -31674,10 +31681,48 @@ class EmojiComponent {
|
|
31674
31681
|
this.emojiLeave.emit({ emoji, $event });
|
31675
31682
|
}
|
31676
31683
|
}
|
31677
|
-
EmojiComponent
|
31678
|
-
|
31679
|
-
|
31680
|
-
|
31684
|
+
EmojiComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiComponent, deps: [{ token: EmojiService }], target: i0.ɵɵFactoryTarget.Component });
|
31685
|
+
EmojiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: EmojiComponent, selector: "ngx-emoji", inputs: { skin: "skin", set: "set", sheetSize: "sheetSize", isNative: "isNative", forceSize: "forceSize", tooltip: "tooltip", size: "size", emoji: "emoji", fallback: "fallback", hideObsolete: "hideObsolete", sheetRows: "sheetRows", sheetColumns: "sheetColumns", useButton: "useButton", backgroundImageFn: "backgroundImageFn", imageUrlFn: "imageUrlFn" }, outputs: { emojiOver: "emojiOver", emojiLeave: "emojiLeave", emojiClick: "emojiClick" }, usesOnChanges: true, ngImport: i0, template: `
|
31686
|
+
<button
|
31687
|
+
*ngIf="useButton && isVisible"
|
31688
|
+
type="button"
|
31689
|
+
(click)="handleClick($event)"
|
31690
|
+
(mouseenter)="handleOver($event)"
|
31691
|
+
(mouseleave)="handleLeave($event)"
|
31692
|
+
[title]="title"
|
31693
|
+
[attr.aria-label]="label"
|
31694
|
+
class="emoji-mart-emoji"
|
31695
|
+
[class.emoji-mart-emoji-native]="isNative"
|
31696
|
+
[class.emoji-mart-emoji-custom]="custom"
|
31697
|
+
>
|
31698
|
+
<span [ngStyle]="style">
|
31699
|
+
<ng-template [ngIf]="isNative">{{ unified }}</ng-template>
|
31700
|
+
<ng-content></ng-content>
|
31701
|
+
</span>
|
31702
|
+
</button>
|
31703
|
+
|
31704
|
+
<span
|
31705
|
+
*ngIf="!useButton && isVisible"
|
31706
|
+
(click)="handleClick($event)"
|
31707
|
+
(mouseenter)="handleOver($event)"
|
31708
|
+
(mouseleave)="handleLeave($event)"
|
31709
|
+
[title]="title"
|
31710
|
+
[attr.aria-label]="label"
|
31711
|
+
class="emoji-mart-emoji"
|
31712
|
+
[class.emoji-mart-emoji-native]="isNative"
|
31713
|
+
[class.emoji-mart-emoji-custom]="custom"
|
31714
|
+
>
|
31715
|
+
<span [ngStyle]="style">
|
31716
|
+
<ng-template [ngIf]="isNative">{{ unified }}</ng-template>
|
31717
|
+
<ng-content></ng-content>
|
31718
|
+
</span>
|
31719
|
+
</span>
|
31720
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
31721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiComponent, decorators: [{
|
31722
|
+
type: Component,
|
31723
|
+
args: [{
|
31724
|
+
selector: 'ngx-emoji',
|
31725
|
+
template: `
|
31681
31726
|
<button
|
31682
31727
|
*ngIf="useButton && isVisible"
|
31683
31728
|
type="button"
|
@@ -31713,47 +31758,64 @@ EmojiComponent.decorators = [
|
|
31713
31758
|
</span>
|
31714
31759
|
</span>
|
31715
31760
|
`,
|
31716
|
-
|
31717
|
-
|
31718
|
-
|
31719
|
-
];
|
31720
|
-
|
31721
|
-
|
31722
|
-
|
31723
|
-
|
31724
|
-
|
31725
|
-
|
31726
|
-
|
31727
|
-
|
31728
|
-
|
31729
|
-
|
31730
|
-
|
31731
|
-
|
31732
|
-
|
31733
|
-
|
31734
|
-
|
31735
|
-
|
31736
|
-
|
31737
|
-
|
31738
|
-
|
31739
|
-
|
31740
|
-
|
31741
|
-
|
31742
|
-
|
31761
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
31762
|
+
preserveWhitespaces: false,
|
31763
|
+
}]
|
31764
|
+
}], ctorParameters: function () { return [{ type: EmojiService }]; }, propDecorators: { skin: [{
|
31765
|
+
type: Input
|
31766
|
+
}], set: [{
|
31767
|
+
type: Input
|
31768
|
+
}], sheetSize: [{
|
31769
|
+
type: Input
|
31770
|
+
}], isNative: [{
|
31771
|
+
type: Input
|
31772
|
+
}], forceSize: [{
|
31773
|
+
type: Input
|
31774
|
+
}], tooltip: [{
|
31775
|
+
type: Input
|
31776
|
+
}], size: [{
|
31777
|
+
type: Input
|
31778
|
+
}], emoji: [{
|
31779
|
+
type: Input
|
31780
|
+
}], fallback: [{
|
31781
|
+
type: Input
|
31782
|
+
}], hideObsolete: [{
|
31783
|
+
type: Input
|
31784
|
+
}], sheetRows: [{
|
31785
|
+
type: Input
|
31786
|
+
}], sheetColumns: [{
|
31787
|
+
type: Input
|
31788
|
+
}], useButton: [{
|
31789
|
+
type: Input
|
31790
|
+
}], emojiOver: [{
|
31791
|
+
type: Output
|
31792
|
+
}], emojiLeave: [{
|
31793
|
+
type: Output
|
31794
|
+
}], emojiClick: [{
|
31795
|
+
type: Output
|
31796
|
+
}], backgroundImageFn: [{
|
31797
|
+
type: Input
|
31798
|
+
}], imageUrlFn: [{
|
31799
|
+
type: Input
|
31800
|
+
}] } });
|
31743
31801
|
|
31744
31802
|
class EmojiModule {
|
31745
31803
|
}
|
31746
|
-
EmojiModule
|
31747
|
-
|
31748
|
-
|
31749
|
-
|
31750
|
-
|
31751
|
-
|
31752
|
-
]
|
31804
|
+
EmojiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
31805
|
+
EmojiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiModule, declarations: [EmojiComponent], imports: [CommonModule], exports: [EmojiComponent] });
|
31806
|
+
EmojiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiModule, imports: [[CommonModule]] });
|
31807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: EmojiModule, decorators: [{
|
31808
|
+
type: NgModule,
|
31809
|
+
args: [{
|
31810
|
+
imports: [CommonModule],
|
31811
|
+
exports: [EmojiComponent],
|
31812
|
+
declarations: [EmojiComponent],
|
31813
|
+
}]
|
31814
|
+
}] });
|
31753
31815
|
|
31754
31816
|
/**
|
31755
31817
|
* Generated bundle index. Do not edit.
|
31756
31818
|
*/
|
31757
31819
|
|
31758
31820
|
export { DEFAULT_BACKGROUNDFN, EmojiComponent, EmojiModule, EmojiService, categories, emojis, skins };
|
31759
|
-
//# sourceMappingURL=ctrl-ngx-emoji-mart-ngx-emoji.
|
31821
|
+
//# sourceMappingURL=ctrl-ngx-emoji-mart-ngx-emoji.mjs.map
|