@rpg-engine/shared 0.6.86 → 0.6.87
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 +0 -0
- package/dist/constants/date.constants.d.ts +0 -0
- package/dist/constants/date.constants.d.ts.map +0 -0
- package/dist/constants/date.constants.js +0 -0
- package/dist/constants/date.constants.js.map +0 -0
- package/dist/constants/npc.constants.d.ts +0 -0
- package/dist/constants/npc.constants.d.ts.map +0 -0
- package/dist/constants/npc.constants.js +0 -0
- package/dist/constants/npc.constants.js.map +0 -0
- package/dist/constants/socket.constants.d.ts +0 -0
- package/dist/constants/socket.constants.d.ts.map +0 -0
- package/dist/constants/socket.constants.js +0 -0
- package/dist/constants/socket.constants.js.map +0 -0
- package/dist/constants/world.constants.d.ts +0 -0
- package/dist/constants/world.constants.d.ts.map +0 -0
- package/dist/constants/world.constants.js +0 -0
- package/dist/constants/world.constants.js.map +0 -0
- package/dist/helpers/deviceHelpers.d.ts.map +1 -1
- package/dist/helpers/deviceHelpers.js +3 -13
- package/dist/helpers/deviceHelpers.js.map +1 -1
- package/dist/helpers/itemSlotHelper.d.ts +0 -0
- package/dist/helpers/itemSlotHelper.d.ts.map +0 -0
- package/dist/helpers/itemSlotHelper.js +0 -0
- package/dist/helpers/itemSlotHelper.js.map +0 -0
- package/dist/helpers/skillHelpers.d.ts +0 -0
- package/dist/helpers/skillHelpers.d.ts.map +0 -0
- package/dist/helpers/skillHelpers.js +0 -0
- package/dist/helpers/skillHelpers.js.map +0 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/libs/GridHelper.d.ts +0 -0
- package/dist/libs/GridHelper.d.ts.map +0 -0
- package/dist/libs/GridHelper.js +0 -0
- package/dist/libs/GridHelper.js.map +0 -0
- package/dist/libs/MathHelper.d.ts +0 -0
- package/dist/libs/MathHelper.d.ts.map +0 -0
- package/dist/libs/MathHelper.js +0 -0
- package/dist/libs/MathHelper.js.map +0 -0
- package/dist/libs/SocketHelper.d.ts +0 -0
- package/dist/libs/SocketHelper.d.ts.map +0 -0
- package/dist/libs/SocketHelper.js +0 -0
- package/dist/libs/SocketHelper.js.map +0 -0
- package/dist/libs/TextHelper.d.ts +0 -0
- package/dist/libs/TextHelper.d.ts.map +0 -0
- package/dist/libs/TextHelper.js +0 -0
- package/dist/libs/TextHelper.js.map +0 -0
- package/dist/libs/TypeHelper.d.ts +0 -0
- package/dist/libs/TypeHelper.d.ts.map +0 -0
- package/dist/libs/TypeHelper.js +0 -0
- package/dist/libs/TypeHelper.js.map +0 -0
- package/dist/translations/app-rate.lang.json +0 -0
- package/dist/translations/assets.lang.json +0 -0
- package/dist/translations/auth.lang.json +0 -0
- package/dist/translations/email.lang.json +0 -0
- package/dist/translations/error.lang.json +0 -0
- package/dist/translations/form.lang.json +0 -0
- package/dist/translations/global.lang.json +0 -0
- package/dist/translations/logs.lang.json +0 -0
- package/dist/translations/onboarding.lang.d.ts +0 -0
- package/dist/translations/onboarding.lang.d.ts.map +0 -0
- package/dist/translations/onboarding.lang.js +0 -0
- package/dist/translations/onboarding.lang.js.map +0 -0
- package/dist/translations/onboarding.lang.json +0 -0
- package/dist/translations/order.lang.json +0 -0
- package/dist/translations/search.lang.json +0 -0
- package/dist/translations/settings.lang.json +0 -0
- package/dist/translations/tabs.lang.json +0 -0
- package/dist/translations/users.lang.json +0 -0
- package/dist/translations/validation.lang.json +0 -0
- package/dist/types/animation.types.d.ts +0 -3
- package/dist/types/animation.types.d.ts.map +1 -1
- package/dist/types/animation.types.js +0 -3
- package/dist/types/animation.types.js.map +1 -1
- package/dist/types/api.types.d.ts +0 -0
- package/dist/types/api.types.d.ts.map +0 -0
- package/dist/types/api.types.js +0 -0
- package/dist/types/api.types.js.map +0 -0
- package/dist/types/asset.types.d.ts +0 -0
- package/dist/types/asset.types.d.ts.map +0 -0
- package/dist/types/asset.types.js +0 -0
- package/dist/types/asset.types.js.map +0 -0
- package/dist/types/auth.types.d.ts +0 -0
- package/dist/types/auth.types.d.ts.map +0 -0
- package/dist/types/auth.types.js +0 -0
- package/dist/types/auth.types.js.map +0 -0
- package/dist/types/battle.types.d.ts +0 -0
- package/dist/types/battle.types.d.ts.map +0 -0
- package/dist/types/battle.types.js +0 -0
- package/dist/types/battle.types.js.map +0 -0
- package/dist/types/character.types.d.ts +0 -0
- package/dist/types/character.types.d.ts.map +0 -0
- package/dist/types/character.types.js +0 -0
- package/dist/types/character.types.js.map +0 -0
- package/dist/types/chat.types.d.ts +0 -0
- package/dist/types/chat.types.d.ts.map +0 -0
- package/dist/types/chat.types.js +0 -0
- package/dist/types/chat.types.js.map +0 -0
- package/dist/types/device.types.d.ts +0 -0
- package/dist/types/device.types.d.ts.map +0 -0
- package/dist/types/device.types.js +0 -0
- package/dist/types/device.types.js.map +0 -0
- package/dist/types/entity.types.d.ts +0 -0
- package/dist/types/entity.types.d.ts.map +0 -0
- package/dist/types/entity.types.js +0 -0
- package/dist/types/entity.types.js.map +0 -0
- package/dist/types/env.types.d.ts +0 -0
- package/dist/types/env.types.d.ts.map +0 -0
- package/dist/types/env.types.js +0 -0
- package/dist/types/env.types.js.map +0 -0
- package/dist/types/equipment.types.d.ts +0 -0
- package/dist/types/equipment.types.d.ts.map +0 -0
- package/dist/types/equipment.types.js +0 -0
- package/dist/types/equipment.types.js.map +0 -0
- package/dist/types/googleOAuth.types.d.ts +0 -0
- package/dist/types/googleOAuth.types.d.ts.map +0 -0
- package/dist/types/googleOAuth.types.js +0 -0
- package/dist/types/googleOAuth.types.js.map +0 -0
- package/dist/types/inventory.types.d.ts +0 -0
- package/dist/types/inventory.types.d.ts.map +0 -0
- package/dist/types/inventory.types.js +0 -0
- package/dist/types/inventory.types.js.map +0 -0
- package/dist/types/item.types.d.ts +0 -0
- package/dist/types/item.types.d.ts.map +0 -0
- package/dist/types/item.types.js +0 -0
- package/dist/types/item.types.js.map +0 -0
- package/dist/types/itemContainer.types.d.ts +0 -0
- package/dist/types/itemContainer.types.d.ts.map +0 -0
- package/dist/types/itemContainer.types.js +0 -0
- package/dist/types/itemContainer.types.js.map +0 -0
- package/dist/types/maps.types.d.ts +0 -0
- package/dist/types/maps.types.d.ts.map +0 -0
- package/dist/types/maps.types.js +0 -0
- package/dist/types/maps.types.js.map +0 -0
- package/dist/types/notification.types.d.ts +0 -0
- package/dist/types/notification.types.d.ts.map +0 -0
- package/dist/types/notification.types.js +0 -0
- package/dist/types/notification.types.js.map +0 -0
- package/dist/types/npc.types.d.ts +0 -0
- package/dist/types/npc.types.d.ts.map +0 -0
- package/dist/types/npc.types.js +0 -0
- package/dist/types/npc.types.js.map +0 -0
- package/dist/types/pagination.types.d.ts +0 -0
- package/dist/types/pagination.types.d.ts.map +0 -0
- package/dist/types/pagination.types.js +0 -0
- package/dist/types/pagination.types.js.map +0 -0
- package/dist/types/places.types.d.ts +0 -0
- package/dist/types/places.types.d.ts.map +0 -0
- package/dist/types/places.types.js +0 -0
- package/dist/types/places.types.js.map +0 -0
- package/dist/types/preloadScene.types.d.ts +0 -0
- package/dist/types/preloadScene.types.d.ts.map +0 -0
- package/dist/types/preloadScene.types.js +0 -0
- package/dist/types/preloadScene.types.js.map +0 -0
- package/dist/types/quest.types.d.ts +0 -0
- package/dist/types/quest.types.d.ts.map +0 -0
- package/dist/types/quest.types.js +0 -0
- package/dist/types/quest.types.js.map +0 -0
- package/dist/types/resource.types.d.ts +0 -0
- package/dist/types/resource.types.d.ts.map +0 -0
- package/dist/types/resource.types.js +0 -0
- package/dist/types/resource.types.js.map +0 -0
- package/dist/types/scene.types.d.ts +0 -0
- package/dist/types/scene.types.d.ts.map +0 -0
- package/dist/types/scene.types.js +0 -0
- package/dist/types/scene.types.js.map +0 -0
- package/dist/types/skills.types.d.ts +0 -0
- package/dist/types/skills.types.d.ts.map +0 -0
- package/dist/types/skills.types.js +0 -0
- package/dist/types/skills.types.js.map +0 -0
- package/dist/types/socket.types.d.ts +0 -0
- package/dist/types/socket.types.d.ts.map +0 -0
- package/dist/types/socket.types.js +0 -0
- package/dist/types/socket.types.js.map +0 -0
- package/dist/types/tiled.types.d.ts +0 -0
- package/dist/types/tiled.types.d.ts.map +0 -0
- package/dist/types/tiled.types.js +0 -0
- package/dist/types/tiled.types.js.map +0 -0
- package/dist/types/trade.types.d.ts +0 -0
- package/dist/types/trade.types.d.ts.map +0 -0
- package/dist/types/trade.types.js +0 -0
- package/dist/types/trade.types.js.map +0 -0
- package/dist/types/translation.types.d.ts +0 -0
- package/dist/types/translation.types.d.ts.map +0 -0
- package/dist/types/translation.types.js +0 -0
- package/dist/types/translation.types.js.map +0 -0
- package/dist/types/ui.types.d.ts +0 -0
- package/dist/types/ui.types.d.ts.map +0 -0
- package/dist/types/ui.types.js +0 -0
- package/dist/types/ui.types.js.map +0 -0
- package/dist/types/useWith.types.d.ts +0 -0
- package/dist/types/useWith.types.d.ts.map +0 -0
- package/dist/types/useWith.types.js +0 -0
- package/dist/types/useWith.types.js.map +0 -0
- package/dist/types/user.types.d.ts +0 -0
- package/dist/types/user.types.d.ts.map +0 -0
- package/dist/types/user.types.js +0 -0
- package/dist/types/user.types.js.map +0 -0
- package/dist/types/validation.types.d.ts +0 -0
- package/dist/types/validation.types.d.ts.map +0 -0
- package/dist/types/validation.types.js +0 -0
- package/dist/types/validation.types.js.map +0 -0
- package/dist/types/view.types.d.ts +0 -0
- package/dist/types/view.types.d.ts.map +0 -0
- package/dist/types/view.types.js +0 -0
- package/dist/types/view.types.js.map +0 -0
- package/package.json +3 -2
- package/dist/types/shortcut.types.d.ts +0 -12
- package/dist/types/shortcut.types.d.ts.map +0 -1
- package/dist/types/shortcut.types.js +0 -10
- package/dist/types/shortcut.types.js.map +0 -1
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deviceHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gBAAgB,QAAO,OAEnC,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,OAE3B,CAAC"}
|
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isMobile = exports.isMobileOrTablet = void 0;
|
|
4
|
+
const mobile_device_detect_1 = require("mobile-device-detect");
|
|
4
5
|
const isSmallerThanBreakpoint = (breakpoint) => {
|
|
5
6
|
const mql = window.matchMedia(`(max-width: ${breakpoint}) and (orientation: portrait), (max-height: ${breakpoint}) and (orientation: landscape)`);
|
|
6
7
|
return mql.matches;
|
|
7
8
|
};
|
|
8
|
-
const isMobileSystem = () => {
|
|
9
|
-
let check = false;
|
|
10
|
-
(function (a) {
|
|
11
|
-
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) ||
|
|
12
|
-
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)))
|
|
13
|
-
check = true;
|
|
14
|
-
})(navigator.userAgent || navigator.vendor || (window === null || window === void 0 ? void 0 : window.opera));
|
|
15
|
-
return check;
|
|
16
|
-
};
|
|
17
9
|
const isMobileOrTablet = () => {
|
|
18
|
-
|
|
19
|
-
return (_a = isMobileSystem()) !== null && _a !== void 0 ? _a : (isSmallerThanBreakpoint("767px") && !isSmallerThanBreakpoint("479px"));
|
|
10
|
+
return mobile_device_detect_1.isMobile !== null && mobile_device_detect_1.isMobile !== void 0 ? mobile_device_detect_1.isMobile : (isSmallerThanBreakpoint("767px") && !isSmallerThanBreakpoint("479px"));
|
|
20
11
|
};
|
|
21
12
|
exports.isMobileOrTablet = isMobileOrTablet;
|
|
22
13
|
const isMobile = () => {
|
|
23
|
-
|
|
24
|
-
return (_a = isMobileSystem()) !== null && _a !== void 0 ? _a : isSmallerThanBreakpoint("479px");
|
|
14
|
+
return mobile_device_detect_1.isMobileOnly !== null && mobile_device_detect_1.isMobileOnly !== void 0 ? mobile_device_detect_1.isMobileOnly : isSmallerThanBreakpoint("479px");
|
|
25
15
|
};
|
|
26
16
|
exports.isMobile = isMobile;
|
|
27
17
|
//# sourceMappingURL=deviceHelpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceHelpers.js","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":";;;AAAA,MAAM,uBAAuB,GAAG,CAAC,UAAkB,EAAW,EAAE;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAC3B,eAAe,UAAU,+CAA+C,UAAU,gCAAgC,CACnH,CAAC;IAEF,OAAO,GAAG,CAAC,OAAO,CAAC;AACrB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"deviceHelpers.js","sourceRoot":"","sources":["../../src/helpers/deviceHelpers.ts"],"names":[],"mappings":";;;AAAA,+DAA8G;AAE9G,MAAM,uBAAuB,GAAG,CAAC,UAAkB,EAAW,EAAE;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAC3B,eAAe,UAAU,+CAA+C,UAAU,gCAAgC,CACnH,CAAC;IAEF,OAAO,GAAG,CAAC,OAAO,CAAC;AACrB,CAAC,CAAC;AAEK,MAAM,gBAAgB,GAAG,GAAY,EAAE;IAC5C,OAAO,+BAAsB,aAAtB,+BAAsB,cAAtB,+BAAsB,GAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC;AAC3G,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEK,MAAM,QAAQ,GAAG,GAAY,EAAE;IACpC,OAAO,mCAAkB,aAAlB,mCAAkB,cAAlB,mCAAkB,GAAI,uBAAuB,CAAC,OAAO,CAAC,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBA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.types"), exports);
|
|
|
62
62
|
__exportStar(require("./types/user.types"), exports);
|
|
63
63
|
__exportStar(require("./types/validation.types"), exports);
|
|
64
64
|
__exportStar(require("./types/view.types"), exports);
|
|
65
|
-
__exportStar(require("./types/shortcut.types"), exports);
|
|
66
65
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,4DAA0C;AAC1C,+DAA6C;AAC7C,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,0DAAwC;AACxC,qDAAmC;AACnC,8DAA4C;AAC5C,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,2DAAyC;AACzC,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,yDAAuC;AACvC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,mDAAiC;AACjC,wDAAsC;AACtC,qDAAmC;AACnC,2DAAyC;AACzC,qDAAmC"}
|
|
File without changes
|
|
File without changes
|
package/dist/libs/GridHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/MathHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/TextHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/libs/TypeHelper.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -42,9 +42,6 @@ export declare enum AnimationEffectKeys {
|
|
|
42
42
|
Lifedrain = "lifedrain",
|
|
43
43
|
Rooted = "rooted",
|
|
44
44
|
HitEnergy = "hit-energy",
|
|
45
|
-
MagicShield = "magic-shield",
|
|
46
|
-
PhysicalShield = "physical-shield",
|
|
47
|
-
HasteSpell = "haste",
|
|
48
45
|
Hit = "hit",
|
|
49
46
|
HitBlue = "hit-blue",
|
|
50
47
|
HitDark = "hit-dark",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.types.d.ts","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,KAAK,EAAE,qBAAqB,CAAC;CAC9B;AAED,oBAAY,kBAAkB,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC;AAElE,MAAM,WAAW,qBAAqB;IACpC,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,MAAM,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;CACH;AACD,MAAM,WAAW,wBAAwB;IACvC,CAAC,SAAS,EAAE,MAAM,GAAG;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,qBAAqB;IAC/B,aAAa,kBAAkB;IAC/B,uBAAuB,4BAA4B;CACpD;AAED,oBAAY,mBAAmB;IAE7B,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,QAAQ,cAAc;IAC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,WAAW;IACjB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,eAAe;IAExB,GAAG,QAAQ;IACX,OAAO,aAAa;IACpB,OAAO,aAAa;IACpB,OAAO,aAAa;IACpB,OAAO,aAAa;IACpB,SAAS,eAAe;IACxB,aAAa,mBAAmB;IAEhC,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B"}
|
|
@@ -19,9 +19,6 @@ var AnimationEffectKeys;
|
|
|
19
19
|
AnimationEffectKeys["Lifedrain"] = "lifedrain";
|
|
20
20
|
AnimationEffectKeys["Rooted"] = "rooted";
|
|
21
21
|
AnimationEffectKeys["HitEnergy"] = "hit-energy";
|
|
22
|
-
AnimationEffectKeys["MagicShield"] = "magic-shield";
|
|
23
|
-
AnimationEffectKeys["PhysicalShield"] = "physical-shield";
|
|
24
|
-
AnimationEffectKeys["HasteSpell"] = "haste";
|
|
25
22
|
AnimationEffectKeys["Hit"] = "hit";
|
|
26
23
|
AnimationEffectKeys["HitBlue"] = "hit-blue";
|
|
27
24
|
AnimationEffectKeys["HitDark"] = "hit-dark";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation.types.js","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":";;;AAiCA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wDAA+B,CAAA;IAC/B,4EAAmD,CAAA;AACrD,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"animation.types.js","sourceRoot":"","sources":["../../src/types/animation.types.ts"],"names":[],"mappings":";;;AAiCA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,wDAA+B,CAAA;IAC/B,4EAAmD,CAAA;AACrD,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBA+BX;AA/BD,WAAY,mBAAmB;IAE7B,2CAAoB,CAAA;IACpB,6CAAsB,CAAA;IACtB,6CAAsB,CAAA;IACtB,iDAA0B,CAAA;IAC1B,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,+CAAwB,CAAA;IAExB,kCAAW,CAAA;IACX,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,2CAAoB,CAAA;IACpB,+CAAwB,CAAA;IACxB,uDAAgC,CAAA;IAEhC,oCAAa,CAAA;IACb,sCAAe,CAAA;IACf,kCAAW,CAAA;IACX,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,4CAAqB,CAAA;IACrB,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,gDAAyB,CAAA;AAC3B,CAAC,EA/BW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA+B9B"}
|
|
File without changes
|
|
File without changes
|
package/dist/types/api.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/auth.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/chat.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/env.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/item.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/maps.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/npc.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/ui.types.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/types/ui.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/user.types.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/view.types.js
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rpg-engine/shared",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.87",
|
|
4
4
|
"description": "Types shared across our API and client",
|
|
5
5
|
"author": "Definya Team",
|
|
6
6
|
"homepage": "",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@rpg-engine/shared": "^0.2.51",
|
|
40
|
-
"@types/mongoose": "^5.11.97"
|
|
40
|
+
"@types/mongoose": "^5.11.97",
|
|
41
|
+
"mobile-device-detect": "^0.4.3"
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IItem } from "./item.types";
|
|
2
|
-
import { IRawSpell } from "./spell.types";
|
|
3
|
-
export declare enum ShortcutType {
|
|
4
|
-
Spell = 0,
|
|
5
|
-
Item = 1,
|
|
6
|
-
None = 2
|
|
7
|
-
}
|
|
8
|
-
export interface IShortcut {
|
|
9
|
-
type: ShortcutType;
|
|
10
|
-
payload: IRawSpell | IItem | null;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=shortcut.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut.types.d.ts","sourceRoot":"","sources":["../../src/types/shortcut.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,oBAAY,YAAY;IACtB,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,IAAI,IAAA;CACL;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShortcutType = void 0;
|
|
4
|
-
var ShortcutType;
|
|
5
|
-
(function (ShortcutType) {
|
|
6
|
-
ShortcutType[ShortcutType["Spell"] = 0] = "Spell";
|
|
7
|
-
ShortcutType[ShortcutType["Item"] = 1] = "Item";
|
|
8
|
-
ShortcutType[ShortcutType["None"] = 2] = "None";
|
|
9
|
-
})(ShortcutType = exports.ShortcutType || (exports.ShortcutType = {}));
|
|
10
|
-
//# sourceMappingURL=shortcut.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut.types.js","sourceRoot":"","sources":["../../src/types/shortcut.types.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iDAAK,CAAA;IACL,+CAAI,CAAA;IACJ,+CAAI,CAAA;AACN,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}
|