@rpg-engine/long-bow 0.2.7 → 0.2.9

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.
@@ -1,14 +1,14 @@
1
+ import { IQuest } from '@rpg-engine/shared';
1
2
  import React from 'react';
2
- export interface IQuestInfoProps {
3
- title: string;
4
- children: React.ReactNode;
5
- onClose?: () => void;
6
- button?: Array<IQuestButtonProps>;
7
- thumbnail?: string;
8
- }
9
- export interface IQuestButtonProps {
3
+ export interface IQuestsButtonProps {
10
4
  disabled: boolean;
11
5
  title: string;
12
- onClick: () => void;
6
+ onClick: (questId: string, npcId: string) => void;
7
+ }
8
+ export interface IQuestInfoProps {
9
+ onClose?: () => void;
10
+ buttons?: IQuestsButtonProps[];
11
+ quests: IQuest[];
12
+ onChangeQuest: (currentQuestIndex: number, currentQuestId: string) => void;
13
13
  }
14
14
  export declare const QuestInfo: React.FC<IQuestInfoProps>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface IQuestListProps {
3
+ title: string;
4
+ description: string;
5
+ quests: {
6
+ title: string;
7
+ description: string;
8
+ completed: boolean;
9
+ }[];
10
+ }
11
+ export declare const QuestList: React.FC<IQuestListProps>;
@@ -20393,7 +20393,18 @@ var PropertySelect = function PropertySelect(_ref) {
20393
20393
  React.useEffect(function () {
20394
20394
  onChange(availableProperties[currentIndex]);
20395
20395
  }, [currentIndex]);
20396
- return React__default.createElement(Container$1, null, React__default.createElement(TextOverlay, null, React__default.createElement(Item, null, availableProperties[currentIndex].name)), React__default.createElement("div", {
20396
+
20397
+ var getCurrentSelectionName = function getCurrentSelectionName() {
20398
+ var item = availableProperties[currentIndex];
20399
+
20400
+ if (item) {
20401
+ return item.name;
20402
+ }
20403
+
20404
+ return '';
20405
+ };
20406
+
20407
+ return React__default.createElement(Container$1, null, React__default.createElement(TextOverlay, null, React__default.createElement(Item, null, getCurrentSelectionName())), React__default.createElement("div", {
20397
20408
  className: "rpgui-progress-track"
20398
20409
  }), React__default.createElement(LeftArrow, {
20399
20410
  onClick: onLeftClick
@@ -20425,36 +20436,39 @@ var RightArrow = /*#__PURE__*/styled.div.withConfig({
20425
20436
  var CharacterSelection = function CharacterSelection(_ref) {
20426
20437
  var availableCharacters = _ref.availableCharacters,
20427
20438
  onChange = _ref.onChange;
20439
+ var propertySelectValues = availableCharacters.map(function (item) {
20440
+ return {
20441
+ id: item.textureKey,
20442
+ name: item.name
20443
+ };
20444
+ });
20428
20445
 
20429
- var getPropertySelectValues = function getPropertySelectValues() {
20430
- return availableCharacters.map(function (item) {
20431
- return {
20432
- id: item.textureKey,
20433
- name: item.name
20434
- };
20435
- });
20436
- };
20437
-
20438
- var _useState = React.useState(getPropertySelectValues()),
20439
- propertySelectValues = _useState[0];
20446
+ var _useState = React.useState(),
20447
+ selectedValue = _useState[0],
20448
+ setSelectedValue = _useState[1];
20440
20449
 
20441
20450
  var _useState2 = React.useState(''),
20442
20451
  selectedSpriteKey = _useState2[0],
20443
20452
  setSelectedSpriteKey = _useState2[1];
20444
20453
 
20445
- var _useState3 = React.useState(propertySelectValues[0]),
20446
- selectedValue = _useState3[0],
20447
- setSelectedValue = _useState3[1];
20448
-
20449
20454
  var onSelectedValueChange = function onSelectedValueChange() {
20450
- var textureKey = selectedValue.id;
20451
- setSelectedSpriteKey(textureKey + '/down/standing/0.png');
20455
+ var textureKey = selectedValue ? selectedValue.id : '';
20456
+ var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
20457
+
20458
+ if (spriteKey == selectedSpriteKey) {
20459
+ return;
20460
+ }
20461
+
20462
+ setSelectedSpriteKey(spriteKey);
20452
20463
  onChange(textureKey);
20453
20464
  };
20454
20465
 
20455
20466
  React.useEffect(function () {
20456
20467
  onSelectedValueChange();
20457
20468
  }, [selectedValue]);
20469
+ React.useEffect(function () {
20470
+ setSelectedValue(propertySelectValues[0]);
20471
+ }, [availableCharacters]);
20458
20472
  return React__default.createElement(Container$2, null, selectedSpriteKey && React__default.createElement(SpriteFromAtlas, {
20459
20473
  spriteKey: selectedSpriteKey,
20460
20474
  atlasIMG: img,
@@ -20463,7 +20477,7 @@ var CharacterSelection = function CharacterSelection(_ref) {
20463
20477
  height: 50,
20464
20478
  width: 50,
20465
20479
  containerStyle: {
20466
- padding: '25px 10px 5px 28px'
20480
+ padding: '25px 10px 5px 27px'
20467
20481
  }
20468
20482
  }), React__default.createElement(PropertySelect, {
20469
20483
  availableProperties: propertySelectValues,
@@ -26297,10 +26311,25 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
26297
26311
  return '2.5rem';
26298
26312
  };
26299
26313
 
26314
+ var getStackInfo = function getStackInfo(itemId, stackQty) {
26315
+ // if (itemToRender?.isStackable && itemToRender?.stackQty) {
26316
+ if (stackQty > 1) {
26317
+ return React__default.createElement(ItemQty, {
26318
+ left: getLeftPositionValue(stackQty),
26319
+ key: "qty-" + itemId
26320
+ }, ' ', stackQty, ' ');
26321
+ }
26322
+
26323
+ return undefined;
26324
+ };
26325
+
26300
26326
  var renderItem = function renderItem(itemToRender) {
26327
+ var _itemToRender$_id, _itemToRender$stackQt;
26328
+
26301
26329
  var element = [];
26302
26330
 
26303
26331
  if (itemToRender != null && itemToRender.texturePath) {
26332
+ console.table(itemToRender);
26304
26333
  element.push(React__default.createElement(SpriteFromAtlas, {
26305
26334
  key: itemToRender._id,
26306
26335
  atlasIMG: img$5,
@@ -26310,11 +26339,10 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
26310
26339
  }));
26311
26340
  }
26312
26341
 
26313
- if (itemToRender != null && itemToRender.isStackable && itemToRender != null && itemToRender.stackQty) {
26314
- element.push(React__default.createElement(ItemQty, {
26315
- left: getLeftPositionValue(itemToRender.stackQty),
26316
- key: "qty-" + itemToRender._id
26317
- }, ' ', itemToRender.stackQty, ' '));
26342
+ var stackInfo = getStackInfo((_itemToRender$_id = itemToRender == null ? void 0 : itemToRender._id) != null ? _itemToRender$_id : '', (_itemToRender$stackQt = itemToRender == null ? void 0 : itemToRender.stackQty) != null ? _itemToRender$stackQt : 0);
26343
+
26344
+ if (stackInfo) {
26345
+ element.push(stackInfo);
26318
26346
  }
26319
26347
 
26320
26348
  return element;
@@ -26324,13 +26352,23 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
26324
26352
  var _itemToRender$allowed;
26325
26353
 
26326
26354
  if (itemToRender != null && itemToRender.texturePath && (_itemToRender$allowed = itemToRender.allowedEquipSlotType) != null && _itemToRender$allowed.includes(slotSpriteMask)) {
26327
- return React__default.createElement(SpriteFromAtlas, {
26355
+ var _itemToRender$_id2, _itemToRender$stackQt2;
26356
+
26357
+ var element = [];
26358
+ element.push(React__default.createElement(SpriteFromAtlas, {
26328
26359
  key: itemToRender._id,
26329
26360
  atlasIMG: img$5,
26330
26361
  atlasJSON: atlasJSON,
26331
26362
  spriteKey: itemToRender.texturePath,
26332
26363
  imgScale: 3
26333
- });
26364
+ }));
26365
+ var stackInfo = getStackInfo((_itemToRender$_id2 = itemToRender == null ? void 0 : itemToRender._id) != null ? _itemToRender$_id2 : '', (_itemToRender$stackQt2 = itemToRender == null ? void 0 : itemToRender.stackQty) != null ? _itemToRender$stackQt2 : 0);
26366
+
26367
+ if (stackInfo) {
26368
+ element.push(stackInfo);
26369
+ }
26370
+
26371
+ return element;
26334
26372
  } else {
26335
26373
  return React__default.createElement(SpriteFromAtlas, {
26336
26374
  atlasIMG: img$5,
@@ -27035,11 +27073,34 @@ var Container$d = /*#__PURE__*/styled.div.withConfig({
27035
27073
  var img$8 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89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YPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAHcSURBVHja7Ji/agJBEId/K/cCdoKFFjZCbGxCekmVOunzCil8hhS+gr3WVmIvKbQxIILFKQjXhCPkASZN5tjd27ud9SRYOKV3u/ftN7P/VESEa4gariRuIHZEkpeUUkYhEZEKbeNrG0mJJ/MlOq0m9odTKRg/W+2OaDfqRh9xkmbPbaBIMrLJfInB/R0AoN2o4+v7B3GSAkAOzAXAwW0XH59QSpEOIzLCEHanuq31Zot+r1sIYcdwNDZgahIblww2GTxrXDb02B9OAIB+r4tOqymCYXtspRQkxMZ6s82lK8SG14jPBnccYmM6W6Df62ZWSkGkNjgt59p4eXyAt1h9NvSoasMJcs5MqWqj0IjEBncuNVdmIwcSYmN/OIlSUjZTnCD2Ui7pXLqK+tKSgTCEtOikBcrAvrQAQE2HkIwwTlJj2l7CBgBERKSUUrTaHQ3lcZI6t3G2IZ0pEhvZ7ssww9E4Wym5YUi6qoQioqDZwmB6emxDtg3ej97fXv0nNN64OHQrutbpbGG8o//2/DRwpsyXFsOI9DDjCv0j+oCkNowakR6iXSks+rjURtDhWS9q+1DtMiL5eC41lar9D8w2pQMVrR1nGym7p9hA/25EcrESXchu/wbcQDzxOwDLF0pIXBCe1wAAAABJRU5ErkJggg==';
27036
27074
 
27037
27075
  var QuestInfo = function QuestInfo(_ref) {
27038
- var title = _ref.title,
27076
+ var quests = _ref.quests,
27039
27077
  onClose = _ref.onClose,
27040
- button = _ref.button,
27041
- thumbnail = _ref.thumbnail,
27042
- children = _ref.children;
27078
+ buttons = _ref.buttons,
27079
+ onChangeQuest = _ref.onChangeQuest;
27080
+
27081
+ var _useState = React.useState(0),
27082
+ currentIndex = _useState[0],
27083
+ setCurrentIndex = _useState[1];
27084
+
27085
+ var questsLength = quests.length - 1;
27086
+ React.useEffect(function () {
27087
+ if (onChangeQuest) {
27088
+ onChangeQuest(currentIndex, quests[currentIndex]._id);
27089
+ }
27090
+ }, [currentIndex]);
27091
+
27092
+ var onLeftClick = function onLeftClick() {
27093
+ if (currentIndex === 0) setCurrentIndex(questsLength);else setCurrentIndex(function (index) {
27094
+ return index - 1;
27095
+ });
27096
+ };
27097
+
27098
+ var onRightClick = function onRightClick() {
27099
+ if (currentIndex === questsLength) setCurrentIndex(0);else setCurrentIndex(function (index) {
27100
+ return index + 1;
27101
+ });
27102
+ };
27103
+
27043
27104
  return React__default.createElement(QuestDraggableContainer, {
27044
27105
  type: exports.RPGUIContainerTypes.Framed,
27045
27106
  onCloseButton: function onCloseButton() {
@@ -27047,53 +27108,94 @@ var QuestInfo = function QuestInfo(_ref) {
27047
27108
  },
27048
27109
  width: "730px",
27049
27110
  cancelDrag: ".equipment-container-body"
27050
- }, title && React__default.createElement(TitleContainer$1, {
27111
+ }, quests.length >= 2 ? React__default.createElement(QuestsContainer, null, currentIndex !== 0 && React__default.createElement(LeftArrow$1, {
27112
+ onClick: onLeftClick
27113
+ }), currentIndex !== quests.length - 1 && React__default.createElement(RightArrow$1, {
27114
+ onClick: onRightClick
27115
+ }), React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
27051
27116
  className: "drag-handler"
27052
27117
  }, React__default.createElement(Title$1, null, React__default.createElement(Thumbnail, {
27053
- src: thumbnail || img$8
27054
- }), title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
27118
+ src: quests[currentIndex].thumbnail || img$8
27119
+ }), quests[currentIndex].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
27055
27120
  className: "golden"
27056
- }))), React__default.createElement(Content, null, children), React__default.createElement(QuestColumn, {
27121
+ }))), React__default.createElement(Content, null, React__default.createElement("p", null, quests[currentIndex].description)), React__default.createElement(QuestColumn, {
27057
27122
  className: "dark-background",
27058
27123
  justifyContent: "flex-end"
27059
- }, button && button.map(function (item, index) {
27124
+ }, buttons && buttons.map(function (button, index) {
27060
27125
  return React__default.createElement(Button, {
27061
27126
  key: index,
27062
- onClick: item.onClick,
27063
- disabled: item.disabled,
27127
+ onClick: function onClick() {
27128
+ return button.onClick(quests[currentIndex]._id, quests[currentIndex].npcId);
27129
+ },
27130
+ disabled: button.disabled,
27064
27131
  buttonType: exports.ButtonTypes.RPGUIButton,
27065
27132
  id: "button-" + index
27066
- }, item.title);
27067
- })));
27133
+ }, button.title);
27134
+ })))) : React__default.createElement(QuestsContainer, null, React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
27135
+ className: "drag-handler"
27136
+ }, React__default.createElement(Title$1, null, React__default.createElement(Thumbnail, {
27137
+ src: quests[0].thumbnail || img$8
27138
+ }), quests[0].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
27139
+ className: "golden"
27140
+ }))), React__default.createElement(Content, null, React__default.createElement("p", null, quests[0].description)), React__default.createElement(QuestColumn, {
27141
+ className: "dark-background",
27142
+ justifyContent: "flex-end"
27143
+ }, buttons && buttons.map(function (button, index) {
27144
+ return React__default.createElement(Button, {
27145
+ key: index,
27146
+ onClick: function onClick() {
27147
+ return button.onClick(quests[0]._id, quests[0].npcId);
27148
+ },
27149
+ disabled: button.disabled,
27150
+ buttonType: exports.ButtonTypes.RPGUIButton,
27151
+ id: "button-" + index
27152
+ }, button.title);
27153
+ })))));
27068
27154
  };
27069
27155
  var QuestDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
27070
27156
  displayName: "QuestInfo__QuestDraggableContainer",
27071
27157
  componentId: "sc-15s2boc-0"
27072
- })(["border:1px solid black;width:600px;height:500px;overflow-y:scroll;padding:0 0 0 0 !important;.DraggableContainer__TitleContainer-sc-184mpyl-2{height:auto;}.container-close{position:sticky;margin-left:auto;top:10px;padding-right:5px;}img{display:inline-block;vertical-align:middle;line-height:normal;}"]);
27158
+ })(["border:1px solid black;width:600px;height:500px;padding:0 0 0 0 !important;.DraggableContainer__TitleContainer-sc-184mpyl-2{height:auto;}.container-close{position:sticky;margin-left:auto;top:20px;padding-right:5px;}img{display:inline-block;vertical-align:middle;line-height:normal;}"]);
27159
+ var QuestContainer = /*#__PURE__*/styled.div.withConfig({
27160
+ displayName: "QuestInfo__QuestContainer",
27161
+ componentId: "sc-15s2boc-1"
27162
+ })(["margin-right:40px;margin-left:40px;"]);
27163
+ var QuestsContainer = /*#__PURE__*/styled.div.withConfig({
27164
+ displayName: "QuestInfo__QuestsContainer",
27165
+ componentId: "sc-15s2boc-2"
27166
+ })(["display:flex;align-items:center;"]);
27073
27167
  var Content = /*#__PURE__*/styled.div.withConfig({
27074
27168
  displayName: "QuestInfo__Content",
27075
- componentId: "sc-15s2boc-1"
27169
+ componentId: "sc-15s2boc-3"
27076
27170
  })(["padding:18px;h1{text-align:left;margin:14px 0px;}"]);
27077
27171
  var QuestSplitDiv = /*#__PURE__*/styled.div.withConfig({
27078
27172
  displayName: "QuestInfo__QuestSplitDiv",
27079
- componentId: "sc-15s2boc-2"
27173
+ componentId: "sc-15s2boc-4"
27080
27174
  })(["width:100%;font-size:11px;margin-bottom:10px;hr{margin:0px;padding:0px;}p{margin-bottom:0px;}"]);
27081
27175
  var QuestColumn = /*#__PURE__*/styled(Column).withConfig({
27082
27176
  displayName: "QuestInfo__QuestColumn",
27083
- componentId: "sc-15s2boc-3"
27084
- })(["background:#4e4a4e;padding-top:5px;position:sticky;bottom:0;"]);
27177
+ componentId: "sc-15s2boc-5"
27178
+ })(["background:#4e4a4e;padding-top:5px;margin-bottom:20px;display:flex;justify-content:space-evenly;"]);
27085
27179
  var TitleContainer$1 = /*#__PURE__*/styled.div.withConfig({
27086
27180
  displayName: "QuestInfo__TitleContainer",
27087
- componentId: "sc-15s2boc-4"
27088
- })(["background:#4e4a4e;position:sticky;top:0;width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;"]);
27181
+ componentId: "sc-15s2boc-6"
27182
+ })(["background:#4e4a4e;width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;"]);
27089
27183
  var Title$1 = /*#__PURE__*/styled.h1.withConfig({
27090
27184
  displayName: "QuestInfo__Title",
27091
- componentId: "sc-15s2boc-5"
27185
+ componentId: "sc-15s2boc-7"
27092
27186
  })(["color:white;z-index:22;font-size:0.6rem;"]);
27093
27187
  var Thumbnail = /*#__PURE__*/styled.img.withConfig({
27094
27188
  displayName: "QuestInfo__Thumbnail",
27095
- componentId: "sc-15s2boc-6"
27189
+ componentId: "sc-15s2boc-8"
27096
27190
  })(["color:white;z-index:22;font-size:10px;width:64px;margin-right:0.5rem;"]);
27191
+ var LeftArrow$1 = /*#__PURE__*/styled.div.withConfig({
27192
+ displayName: "QuestInfo__LeftArrow",
27193
+ componentId: "sc-15s2boc-9"
27194
+ })(["background-image:url(", ");background-size:100% 100%;left:0;position:absolute;width:40px;height:42px;:active{background-image:url(", ");}"], img$2, img$1);
27195
+ var RightArrow$1 = /*#__PURE__*/styled.div.withConfig({
27196
+ displayName: "QuestInfo__RightArrow",
27197
+ componentId: "sc-15s2boc-10"
27198
+ })(["background-image:url(", ");right:0;position:absolute;width:40px;background-size:100% 100%;height:42px;:active{background-image:url(", ");}"], img$4, img$3);
27097
27199
 
27098
27200
  var InputRadio = function InputRadio(_ref) {
27099
27201
  var name = _ref.name,