@pedidopago/ui 1.7.4 → 1.7.5
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/components/EmojiPicker/EmotePickerData/constants.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmotePickerData/constants.js +5 -6
- package/dist/shared/assets/emotes.d.ts +5008 -0
- package/dist/shared/assets/emotes.d.ts.map +1 -0
- package/dist/shared/assets/emotes.js +1 -0
- package/package.json +2 -2
- package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +0 -5
- package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/AlternativeOrderSvg/index.js +0 -105
- package/dist/components/Illustration/BoletoSvg/index.d.ts +0 -5
- package/dist/components/Illustration/BoletoSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/BoletoSvg/index.js +0 -166
- package/dist/components/Illustration/BoxClosedSvg/index.d.ts +0 -5
- package/dist/components/Illustration/BoxClosedSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/BoxClosedSvg/index.js +0 -97
- package/dist/components/Illustration/BoxDeliverySvg/index.d.ts +0 -5
- package/dist/components/Illustration/BoxDeliverySvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/BoxDeliverySvg/index.js +0 -109
- package/dist/components/Illustration/BoxOpenSvg/index.d.ts +0 -5
- package/dist/components/Illustration/BoxOpenSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/BoxOpenSvg/index.js +0 -106
- package/dist/components/Illustration/CalendarSvg/index.d.ts +0 -5
- package/dist/components/Illustration/CalendarSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/CalendarSvg/index.js +0 -107
- package/dist/components/Illustration/CardSvg/index.d.ts +0 -5
- package/dist/components/Illustration/CardSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/CardSvg/index.js +0 -108
- package/dist/components/Illustration/CollaboratorSvg/index.d.ts +0 -5
- package/dist/components/Illustration/CollaboratorSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/CollaboratorSvg/index.js +0 -97
- package/dist/components/Illustration/InquirySvg/index.d.ts +0 -5
- package/dist/components/Illustration/InquirySvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/InquirySvg/index.js +0 -217
- package/dist/components/Illustration/OrderSvg/index.d.ts +0 -5
- package/dist/components/Illustration/OrderSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/OrderSvg/index.js +0 -133
- package/dist/components/Illustration/PixSvg/index.d.ts +0 -5
- package/dist/components/Illustration/PixSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/PixSvg/index.js +0 -91
- package/dist/components/Illustration/PrescriptionSvg/index.d.ts +0 -5
- package/dist/components/Illustration/PrescriptionSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/PrescriptionSvg/index.js +0 -79
- package/dist/components/Illustration/TransportSvg/index.d.ts +0 -5
- package/dist/components/Illustration/TransportSvg/index.d.ts.map +0 -1
- package/dist/components/Illustration/TransportSvg/index.js +0 -100
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/EmotePickerData/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/EmojiPicker/EmotePickerData/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAUjD,CAAC;AAEF,eAAO,MAAM,YAAY,cAAuE,CAAC;AAEjG,eAAO,MAAM,SAAS;;;;GAUlB,CAAC"}
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.sortedEmojis = exports.emoteList = exports.emoteCategories = void 0;
|
|
7
|
-
var
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7
|
+
var _emotes2 = require("../../../shared/assets/emotes");
|
|
9
8
|
var emoteCategories = [{
|
|
10
9
|
name: 'Smileys & Emotion',
|
|
11
10
|
icon: 'smile'
|
|
@@ -35,17 +34,17 @@ var emoteCategories = [{
|
|
|
35
34
|
icon: 'flag'
|
|
36
35
|
}];
|
|
37
36
|
exports.emoteCategories = emoteCategories;
|
|
38
|
-
var sortedEmojis =
|
|
37
|
+
var sortedEmojis = _emotes2.emotes.sort(function (a, b) {
|
|
39
38
|
return a.sort_order - b.sort_order;
|
|
40
39
|
});
|
|
41
40
|
exports.sortedEmojis = sortedEmojis;
|
|
42
41
|
var emoteList = sortedEmojis.filter(function (emote, index) {
|
|
43
|
-
var
|
|
44
|
-
return emote.category !== (
|
|
42
|
+
var _emotes;
|
|
43
|
+
return emote.category !== (_emotes2.emotes === null || _emotes2.emotes === void 0 ? void 0 : (_emotes = _emotes2.emotes[index - 1]) === null || _emotes === void 0 ? void 0 : _emotes.category);
|
|
45
44
|
}).map(function (emote) {
|
|
46
45
|
return {
|
|
47
46
|
category: emote.category,
|
|
48
|
-
startAt:
|
|
47
|
+
startAt: _emotes2.emotes.indexOf(emote),
|
|
49
48
|
emote: emote
|
|
50
49
|
};
|
|
51
50
|
});
|