@ctrl/ngx-emoji-mart 6.0.1 → 6.1.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/anchors.component.d.ts +3 -0
- package/category.component.d.ts +3 -0
- 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} +0 -0
- 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 +181 -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} +101 -44
- package/fesm2015/ctrl-ngx-emoji-mart-ngx-emoji.mjs.map +1 -0
- package/fesm2015/{ctrl-ngx-emoji-mart.js → ctrl-ngx-emoji-mart.mjs} +623 -284
- 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 +1751 -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 +29 -10
- package/picker.component.d.ts +3 -0
- 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 -32104
- package/bundles/ctrl-ngx-emoji-mart-ngx-emoji.umd.js.map +0 -1
- package/bundles/ctrl-ngx-emoji-mart.umd.js +0 -1729
- 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 -275
- 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 = [
|
@@ -31568,11 +31569,12 @@ class EmojiService {
|
|
31568
31569
|
return this.sanitize(this.getData(emoji, skin, set));
|
31569
31570
|
}
|
31570
31571
|
}
|
31571
|
-
EmojiService.ɵ
|
31572
|
-
EmojiService
|
31573
|
-
|
31574
|
-
|
31575
|
-
|
31572
|
+
EmojiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
31573
|
+
EmojiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiService, providedIn: 'root' });
|
31574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiService, decorators: [{
|
31575
|
+
type: Injectable,
|
31576
|
+
args: [{ providedIn: 'root' }]
|
31577
|
+
}], ctorParameters: function () { return []; } });
|
31576
31578
|
|
31577
31579
|
class EmojiComponent {
|
31578
31580
|
constructor(emojiService) {
|
@@ -31679,10 +31681,48 @@ class EmojiComponent {
|
|
31679
31681
|
this.emojiLeave.emit({ emoji, $event });
|
31680
31682
|
}
|
31681
31683
|
}
|
31682
|
-
EmojiComponent
|
31683
|
-
|
31684
|
-
|
31685
|
-
|
31684
|
+
EmojiComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiComponent, deps: [{ token: EmojiService }], target: i0.ɵɵFactoryTarget.Component });
|
31685
|
+
EmojiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", 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.0.0", ngImport: i0, type: EmojiComponent, decorators: [{
|
31722
|
+
type: Component,
|
31723
|
+
args: [{
|
31724
|
+
selector: 'ngx-emoji',
|
31725
|
+
template: `
|
31686
31726
|
<button
|
31687
31727
|
*ngIf="useButton && isVisible"
|
31688
31728
|
type="button"
|
@@ -31718,47 +31758,64 @@ EmojiComponent.decorators = [
|
|
31718
31758
|
</span>
|
31719
31759
|
</span>
|
31720
31760
|
`,
|
31721
|
-
|
31722
|
-
|
31723
|
-
|
31724
|
-
];
|
31725
|
-
|
31726
|
-
|
31727
|
-
|
31728
|
-
|
31729
|
-
|
31730
|
-
|
31731
|
-
|
31732
|
-
|
31733
|
-
|
31734
|
-
|
31735
|
-
|
31736
|
-
|
31737
|
-
|
31738
|
-
|
31739
|
-
|
31740
|
-
|
31741
|
-
|
31742
|
-
|
31743
|
-
|
31744
|
-
|
31745
|
-
|
31746
|
-
|
31747
|
-
|
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
|
+
}] } });
|
31748
31801
|
|
31749
31802
|
class EmojiModule {
|
31750
31803
|
}
|
31751
|
-
EmojiModule
|
31752
|
-
|
31753
|
-
|
31754
|
-
|
31755
|
-
|
31756
|
-
|
31757
|
-
]
|
31804
|
+
EmojiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
31805
|
+
EmojiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiModule, declarations: [EmojiComponent], imports: [CommonModule], exports: [EmojiComponent] });
|
31806
|
+
EmojiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiModule, imports: [[CommonModule]] });
|
31807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: EmojiModule, decorators: [{
|
31808
|
+
type: NgModule,
|
31809
|
+
args: [{
|
31810
|
+
imports: [CommonModule],
|
31811
|
+
exports: [EmojiComponent],
|
31812
|
+
declarations: [EmojiComponent],
|
31813
|
+
}]
|
31814
|
+
}] });
|
31758
31815
|
|
31759
31816
|
/**
|
31760
31817
|
* Generated bundle index. Do not edit.
|
31761
31818
|
*/
|
31762
31819
|
|
31763
31820
|
export { DEFAULT_BACKGROUNDFN, EmojiComponent, EmojiModule, EmojiService, categories, emojis, skins };
|
31764
|
-
//# sourceMappingURL=ctrl-ngx-emoji-mart-ngx-emoji.
|
31821
|
+
//# sourceMappingURL=ctrl-ngx-emoji-mart-ngx-emoji.mjs.map
|