@rpg-engine/long-bow 0.6.8 → 0.6.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.
- package/dist/components/Stepper.d.ts +1 -0
- package/dist/components/Tutorial/TutorialStepper.d.ts +12 -0
- package/dist/index.d.ts +6 -5
- package/dist/long-bow.cjs.development.js +398 -329
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +399 -331
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/TutorialStepper.stories.d.ts +5 -0
- package/package.json +2 -2
- package/src/assets/images/sewer.png +0 -0
- package/src/assets/images/shortcuts.png +0 -0
- package/src/components/Stepper.tsx +72 -27
- package/src/components/Tutorial/TutorialStepper.tsx +72 -0
- package/src/index.tsx +7 -5
- package/src/stories/TutorialStepper.stories.tsx +48 -0
|
@@ -13095,6 +13095,158 @@ var Button$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
|
13095
13095
|
return buttonBackgroundColor;
|
|
13096
13096
|
});
|
|
13097
13097
|
|
|
13098
|
+
var _excluded$2 = ["innerRef"];
|
|
13099
|
+
var Input = function Input(_ref) {
|
|
13100
|
+
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13101
|
+
var rest = _objectWithoutPropertiesLoose(props, _excluded$2);
|
|
13102
|
+
return React__default.createElement("input", Object.assign({}, rest, {
|
|
13103
|
+
ref: props.innerRef
|
|
13104
|
+
}));
|
|
13105
|
+
};
|
|
13106
|
+
|
|
13107
|
+
(function (RPGUIContainerTypes) {
|
|
13108
|
+
RPGUIContainerTypes["Framed"] = "framed";
|
|
13109
|
+
RPGUIContainerTypes["FramedGold"] = "framed-golden";
|
|
13110
|
+
RPGUIContainerTypes["FramedGold2"] = "framed-golden-2";
|
|
13111
|
+
RPGUIContainerTypes["FramedGrey"] = "framed-grey";
|
|
13112
|
+
})(exports.RPGUIContainerTypes || (exports.RPGUIContainerTypes = {}));
|
|
13113
|
+
var RPGUIContainer = function RPGUIContainer(_ref) {
|
|
13114
|
+
var children = _ref.children,
|
|
13115
|
+
type = _ref.type,
|
|
13116
|
+
_ref$width = _ref.width,
|
|
13117
|
+
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
13118
|
+
height = _ref.height,
|
|
13119
|
+
className = _ref.className;
|
|
13120
|
+
return React__default.createElement(Container$5, {
|
|
13121
|
+
width: width,
|
|
13122
|
+
height: height || 'auto',
|
|
13123
|
+
className: "rpgui-container " + type + " " + className
|
|
13124
|
+
}, children);
|
|
13125
|
+
};
|
|
13126
|
+
var Container$5 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13127
|
+
displayName: "RPGUIContainer__Container",
|
|
13128
|
+
componentId: "sc-a7heha-0"
|
|
13129
|
+
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
|
|
13130
|
+
return props.height;
|
|
13131
|
+
}, function (_ref2) {
|
|
13132
|
+
var width = _ref2.width;
|
|
13133
|
+
return width;
|
|
13134
|
+
});
|
|
13135
|
+
|
|
13136
|
+
var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
13137
|
+
var chatMessages = _ref.chatMessages,
|
|
13138
|
+
onSendChatMessage = _ref.onSendChatMessage,
|
|
13139
|
+
_ref$opacity = _ref.opacity,
|
|
13140
|
+
opacity = _ref$opacity === void 0 ? 1 : _ref$opacity,
|
|
13141
|
+
_ref$width = _ref.width,
|
|
13142
|
+
width = _ref$width === void 0 ? '100%' : _ref$width,
|
|
13143
|
+
_ref$height = _ref.height,
|
|
13144
|
+
height = _ref$height === void 0 ? '250px' : _ref$height,
|
|
13145
|
+
onCloseButton = _ref.onCloseButton,
|
|
13146
|
+
onFocus = _ref.onFocus,
|
|
13147
|
+
onBlur = _ref.onBlur;
|
|
13148
|
+
var _useState = React.useState(''),
|
|
13149
|
+
message = _useState[0],
|
|
13150
|
+
setMessage = _useState[1];
|
|
13151
|
+
React.useEffect(function () {
|
|
13152
|
+
scrollChatToBottom();
|
|
13153
|
+
}, []);
|
|
13154
|
+
React.useEffect(function () {
|
|
13155
|
+
scrollChatToBottom();
|
|
13156
|
+
}, [chatMessages]);
|
|
13157
|
+
var scrollChatToBottom = function scrollChatToBottom() {
|
|
13158
|
+
var scrollingElement = document.querySelector('.chat-body');
|
|
13159
|
+
if (scrollingElement) {
|
|
13160
|
+
scrollingElement.scrollTop = scrollingElement.scrollHeight;
|
|
13161
|
+
}
|
|
13162
|
+
};
|
|
13163
|
+
var handleSubmit = function handleSubmit(event) {
|
|
13164
|
+
event.preventDefault();
|
|
13165
|
+
onSendChatMessage(message);
|
|
13166
|
+
setMessage('');
|
|
13167
|
+
};
|
|
13168
|
+
var getInputValue = function getInputValue(value) {
|
|
13169
|
+
setMessage(value);
|
|
13170
|
+
};
|
|
13171
|
+
var onRenderMessageLines = function onRenderMessageLines(emitter, createdAt, message) {
|
|
13172
|
+
return dayjs(createdAt || new Date()).format('HH:mm') + " " + (emitter != null && emitter.name ? emitter.name + ": " : 'Unknown: ') + " " + message;
|
|
13173
|
+
};
|
|
13174
|
+
var onRenderChatMessages = function onRenderChatMessages(chatMessages) {
|
|
13175
|
+
return chatMessages != null && chatMessages.length ? chatMessages == null ? void 0 : chatMessages.map(function (_ref2, index) {
|
|
13176
|
+
var _id = _ref2._id,
|
|
13177
|
+
createdAt = _ref2.createdAt,
|
|
13178
|
+
emitter = _ref2.emitter,
|
|
13179
|
+
message = _ref2.message;
|
|
13180
|
+
return React__default.createElement(MessageText, {
|
|
13181
|
+
key: _id + "_" + index
|
|
13182
|
+
}, onRenderMessageLines(emitter, createdAt, message));
|
|
13183
|
+
}) : React__default.createElement(MessageText, null, "No messages available.");
|
|
13184
|
+
};
|
|
13185
|
+
return React__default.createElement(Container$6, null, React__default.createElement(CustomContainer, {
|
|
13186
|
+
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
13187
|
+
width: width,
|
|
13188
|
+
height: height,
|
|
13189
|
+
className: "chat-container",
|
|
13190
|
+
opacity: opacity
|
|
13191
|
+
}, React__default.createElement(reactErrorBoundary.ErrorBoundary, {
|
|
13192
|
+
fallback: React__default.createElement("p", null, "Oops! Your chat has crashed.")
|
|
13193
|
+
}, onCloseButton && React__default.createElement(CloseButton, {
|
|
13194
|
+
onPointerDown: onCloseButton
|
|
13195
|
+
}, "X"), React__default.createElement(RPGUIContainer, {
|
|
13196
|
+
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
13197
|
+
width: '100%',
|
|
13198
|
+
height: '80%',
|
|
13199
|
+
className: "chat-body dark-background"
|
|
13200
|
+
}, onRenderChatMessages(chatMessages)), React__default.createElement(Form$1, {
|
|
13201
|
+
onSubmit: handleSubmit
|
|
13202
|
+
}, React__default.createElement(Column, {
|
|
13203
|
+
flex: 70
|
|
13204
|
+
}, React__default.createElement(CustomInput, {
|
|
13205
|
+
value: message,
|
|
13206
|
+
id: "inputMessage",
|
|
13207
|
+
onChange: function onChange(e) {
|
|
13208
|
+
return getInputValue(e.target.value);
|
|
13209
|
+
},
|
|
13210
|
+
height: 20,
|
|
13211
|
+
className: "chat-input dark-background",
|
|
13212
|
+
type: "text",
|
|
13213
|
+
autoComplete: "off",
|
|
13214
|
+
onFocus: onFocus,
|
|
13215
|
+
onBlur: onBlur
|
|
13216
|
+
})), React__default.createElement(Column, {
|
|
13217
|
+
justifyContent: "flex-end"
|
|
13218
|
+
}, React__default.createElement(Button, {
|
|
13219
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
13220
|
+
id: "chat-send-button"
|
|
13221
|
+
}, "Send"))))));
|
|
13222
|
+
};
|
|
13223
|
+
var Container$6 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13224
|
+
displayName: "ChatDeprecated__Container",
|
|
13225
|
+
componentId: "sc-fuuod3-0"
|
|
13226
|
+
})(["position:relative;"]);
|
|
13227
|
+
var CloseButton = /*#__PURE__*/styled__default.div.withConfig({
|
|
13228
|
+
displayName: "ChatDeprecated__CloseButton",
|
|
13229
|
+
componentId: "sc-fuuod3-1"
|
|
13230
|
+
})(["position:absolute;top:2px;right:0px;color:white;z-index:22;font-size:0.7rem;"]);
|
|
13231
|
+
var CustomInput = /*#__PURE__*/styled__default(Input).withConfig({
|
|
13232
|
+
displayName: "ChatDeprecated__CustomInput",
|
|
13233
|
+
componentId: "sc-fuuod3-2"
|
|
13234
|
+
})(["height:30px;width:100%;.rpgui-content .input{min-height:39px;}"]);
|
|
13235
|
+
var CustomContainer = /*#__PURE__*/styled__default(RPGUIContainer).withConfig({
|
|
13236
|
+
displayName: "ChatDeprecated__CustomContainer",
|
|
13237
|
+
componentId: "sc-fuuod3-3"
|
|
13238
|
+
})(["display:block;opacity:", ";&:hover{opacity:1;}.dark-background{background-color:", " !important;}.chat-body{&.rpgui-container.framed-grey{background:unset;}max-height:170px;overflow-y:auto;}"], function (props) {
|
|
13239
|
+
return props.opacity;
|
|
13240
|
+
}, uiColors.darkGray);
|
|
13241
|
+
var Form$1 = /*#__PURE__*/styled__default.form.withConfig({
|
|
13242
|
+
displayName: "ChatDeprecated__Form",
|
|
13243
|
+
componentId: "sc-fuuod3-4"
|
|
13244
|
+
})(["display:flex;width:100%;justify-content:center;align-items:center;"]);
|
|
13245
|
+
var MessageText = /*#__PURE__*/styled__default.p.withConfig({
|
|
13246
|
+
displayName: "ChatDeprecated__MessageText",
|
|
13247
|
+
componentId: "sc-fuuod3-5"
|
|
13248
|
+
})(["display:block !important;width:100%;font-size:", " !important;overflow-y:auto;margin:0;"], uiFonts.size.xsmall);
|
|
13249
|
+
|
|
13098
13250
|
var SearchCharacter = function SearchCharacter(_ref) {
|
|
13099
13251
|
var onChangeCharacterName = _ref.onChangeCharacterName,
|
|
13100
13252
|
onBlur = _ref.onBlur,
|
|
@@ -13135,7 +13287,7 @@ var SearchCharacter = function SearchCharacter(_ref) {
|
|
|
13135
13287
|
onCharacterClick(character);
|
|
13136
13288
|
hideSearchCharacterUI();
|
|
13137
13289
|
};
|
|
13138
|
-
return React__default.createElement(SearchContainer, null, React__default.createElement(Form$
|
|
13290
|
+
return React__default.createElement(SearchContainer, null, React__default.createElement(Form$2, {
|
|
13139
13291
|
onSubmit: handleSubmit
|
|
13140
13292
|
}, React__default.createElement(Column, {
|
|
13141
13293
|
flex: 70
|
|
@@ -13180,7 +13332,7 @@ var SearchContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
13180
13332
|
displayName: "SearchCharacter__SearchContainer",
|
|
13181
13333
|
componentId: "sc-172lyfr-0"
|
|
13182
13334
|
})(["width:100%;"]);
|
|
13183
|
-
var Form$
|
|
13335
|
+
var Form$2 = /*#__PURE__*/styled__default.form.withConfig({
|
|
13184
13336
|
displayName: "SearchCharacter__Form",
|
|
13185
13337
|
componentId: "sc-172lyfr-1"
|
|
13186
13338
|
})(["display:flex;width:100%;justify-content:center;align-items:center;"]);
|
|
@@ -13284,7 +13436,7 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
13284
13436
|
}
|
|
13285
13437
|
}, React__default.createElement(StatusDot, {
|
|
13286
13438
|
isUnseen: (unseenMessageCharacterIds == null ? void 0 : unseenMessageCharacterIds.includes(character._id)) || false
|
|
13287
|
-
}), character.name), React__default.createElement(CloseButton, {
|
|
13439
|
+
}), character.name), React__default.createElement(CloseButton$1, {
|
|
13288
13440
|
onPointerDown: function onPointerDown() {
|
|
13289
13441
|
return onRemoveRecentChatCharacter == null ? void 0 : onRemoveRecentChatCharacter(character);
|
|
13290
13442
|
}
|
|
@@ -13383,163 +13535,11 @@ var StatusDot = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
13383
13535
|
})(["width:6px;height:6px;border-radius:50%;background-color:", ";display:inline-block;margin-right:6px;"], function (props) {
|
|
13384
13536
|
return props.isUnseen ? uiColors.lightGreen : uiColors.gray;
|
|
13385
13537
|
});
|
|
13386
|
-
var CloseButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
13538
|
+
var CloseButton$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
13387
13539
|
displayName: "ChatRevamp__CloseButton",
|
|
13388
13540
|
componentId: "sc-1sdiknw-12"
|
|
13389
13541
|
})(["all:unset;font-size:", ";margin:0 0.5rem;transition:all 0.2s ease-in-out;background-color:", ";color:", ";&:hover{background-color:", ";color:", ";}"], uiFonts.size.xxsmall, uiColors.red, uiColors.white, uiColors.white, uiColors.red);
|
|
13390
13542
|
|
|
13391
|
-
var _excluded$2 = ["innerRef"];
|
|
13392
|
-
var Input = function Input(_ref) {
|
|
13393
|
-
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
13394
|
-
var rest = _objectWithoutPropertiesLoose(props, _excluded$2);
|
|
13395
|
-
return React__default.createElement("input", Object.assign({}, rest, {
|
|
13396
|
-
ref: props.innerRef
|
|
13397
|
-
}));
|
|
13398
|
-
};
|
|
13399
|
-
|
|
13400
|
-
(function (RPGUIContainerTypes) {
|
|
13401
|
-
RPGUIContainerTypes["Framed"] = "framed";
|
|
13402
|
-
RPGUIContainerTypes["FramedGold"] = "framed-golden";
|
|
13403
|
-
RPGUIContainerTypes["FramedGold2"] = "framed-golden-2";
|
|
13404
|
-
RPGUIContainerTypes["FramedGrey"] = "framed-grey";
|
|
13405
|
-
})(exports.RPGUIContainerTypes || (exports.RPGUIContainerTypes = {}));
|
|
13406
|
-
var RPGUIContainer = function RPGUIContainer(_ref) {
|
|
13407
|
-
var children = _ref.children,
|
|
13408
|
-
type = _ref.type,
|
|
13409
|
-
_ref$width = _ref.width,
|
|
13410
|
-
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
13411
|
-
height = _ref.height,
|
|
13412
|
-
className = _ref.className;
|
|
13413
|
-
return React__default.createElement(Container$5, {
|
|
13414
|
-
width: width,
|
|
13415
|
-
height: height || 'auto',
|
|
13416
|
-
className: "rpgui-container " + type + " " + className
|
|
13417
|
-
}, children);
|
|
13418
|
-
};
|
|
13419
|
-
var Container$5 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13420
|
-
displayName: "RPGUIContainer__Container",
|
|
13421
|
-
componentId: "sc-a7heha-0"
|
|
13422
|
-
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
|
|
13423
|
-
return props.height;
|
|
13424
|
-
}, function (_ref2) {
|
|
13425
|
-
var width = _ref2.width;
|
|
13426
|
-
return width;
|
|
13427
|
-
});
|
|
13428
|
-
|
|
13429
|
-
var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
13430
|
-
var chatMessages = _ref.chatMessages,
|
|
13431
|
-
onSendChatMessage = _ref.onSendChatMessage,
|
|
13432
|
-
_ref$opacity = _ref.opacity,
|
|
13433
|
-
opacity = _ref$opacity === void 0 ? 1 : _ref$opacity,
|
|
13434
|
-
_ref$width = _ref.width,
|
|
13435
|
-
width = _ref$width === void 0 ? '100%' : _ref$width,
|
|
13436
|
-
_ref$height = _ref.height,
|
|
13437
|
-
height = _ref$height === void 0 ? '250px' : _ref$height,
|
|
13438
|
-
onCloseButton = _ref.onCloseButton,
|
|
13439
|
-
onFocus = _ref.onFocus,
|
|
13440
|
-
onBlur = _ref.onBlur;
|
|
13441
|
-
var _useState = React.useState(''),
|
|
13442
|
-
message = _useState[0],
|
|
13443
|
-
setMessage = _useState[1];
|
|
13444
|
-
React.useEffect(function () {
|
|
13445
|
-
scrollChatToBottom();
|
|
13446
|
-
}, []);
|
|
13447
|
-
React.useEffect(function () {
|
|
13448
|
-
scrollChatToBottom();
|
|
13449
|
-
}, [chatMessages]);
|
|
13450
|
-
var scrollChatToBottom = function scrollChatToBottom() {
|
|
13451
|
-
var scrollingElement = document.querySelector('.chat-body');
|
|
13452
|
-
if (scrollingElement) {
|
|
13453
|
-
scrollingElement.scrollTop = scrollingElement.scrollHeight;
|
|
13454
|
-
}
|
|
13455
|
-
};
|
|
13456
|
-
var handleSubmit = function handleSubmit(event) {
|
|
13457
|
-
event.preventDefault();
|
|
13458
|
-
onSendChatMessage(message);
|
|
13459
|
-
setMessage('');
|
|
13460
|
-
};
|
|
13461
|
-
var getInputValue = function getInputValue(value) {
|
|
13462
|
-
setMessage(value);
|
|
13463
|
-
};
|
|
13464
|
-
var onRenderMessageLines = function onRenderMessageLines(emitter, createdAt, message) {
|
|
13465
|
-
return dayjs(createdAt || new Date()).format('HH:mm') + " " + (emitter != null && emitter.name ? emitter.name + ": " : 'Unknown: ') + " " + message;
|
|
13466
|
-
};
|
|
13467
|
-
var onRenderChatMessages = function onRenderChatMessages(chatMessages) {
|
|
13468
|
-
return chatMessages != null && chatMessages.length ? chatMessages == null ? void 0 : chatMessages.map(function (_ref2, index) {
|
|
13469
|
-
var _id = _ref2._id,
|
|
13470
|
-
createdAt = _ref2.createdAt,
|
|
13471
|
-
emitter = _ref2.emitter,
|
|
13472
|
-
message = _ref2.message;
|
|
13473
|
-
return React__default.createElement(MessageText, {
|
|
13474
|
-
key: _id + "_" + index
|
|
13475
|
-
}, onRenderMessageLines(emitter, createdAt, message));
|
|
13476
|
-
}) : React__default.createElement(MessageText, null, "No messages available.");
|
|
13477
|
-
};
|
|
13478
|
-
return React__default.createElement(Container$6, null, React__default.createElement(CustomContainer, {
|
|
13479
|
-
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
13480
|
-
width: width,
|
|
13481
|
-
height: height,
|
|
13482
|
-
className: "chat-container",
|
|
13483
|
-
opacity: opacity
|
|
13484
|
-
}, React__default.createElement(reactErrorBoundary.ErrorBoundary, {
|
|
13485
|
-
fallback: React__default.createElement("p", null, "Oops! Your chat has crashed.")
|
|
13486
|
-
}, onCloseButton && React__default.createElement(CloseButton$1, {
|
|
13487
|
-
onPointerDown: onCloseButton
|
|
13488
|
-
}, "X"), React__default.createElement(RPGUIContainer, {
|
|
13489
|
-
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
13490
|
-
width: '100%',
|
|
13491
|
-
height: '80%',
|
|
13492
|
-
className: "chat-body dark-background"
|
|
13493
|
-
}, onRenderChatMessages(chatMessages)), React__default.createElement(Form$2, {
|
|
13494
|
-
onSubmit: handleSubmit
|
|
13495
|
-
}, React__default.createElement(Column, {
|
|
13496
|
-
flex: 70
|
|
13497
|
-
}, React__default.createElement(CustomInput, {
|
|
13498
|
-
value: message,
|
|
13499
|
-
id: "inputMessage",
|
|
13500
|
-
onChange: function onChange(e) {
|
|
13501
|
-
return getInputValue(e.target.value);
|
|
13502
|
-
},
|
|
13503
|
-
height: 20,
|
|
13504
|
-
className: "chat-input dark-background",
|
|
13505
|
-
type: "text",
|
|
13506
|
-
autoComplete: "off",
|
|
13507
|
-
onFocus: onFocus,
|
|
13508
|
-
onBlur: onBlur
|
|
13509
|
-
})), React__default.createElement(Column, {
|
|
13510
|
-
justifyContent: "flex-end"
|
|
13511
|
-
}, React__default.createElement(Button, {
|
|
13512
|
-
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
13513
|
-
id: "chat-send-button"
|
|
13514
|
-
}, "Send"))))));
|
|
13515
|
-
};
|
|
13516
|
-
var Container$6 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13517
|
-
displayName: "ChatDeprecated__Container",
|
|
13518
|
-
componentId: "sc-fuuod3-0"
|
|
13519
|
-
})(["position:relative;"]);
|
|
13520
|
-
var CloseButton$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13521
|
-
displayName: "ChatDeprecated__CloseButton",
|
|
13522
|
-
componentId: "sc-fuuod3-1"
|
|
13523
|
-
})(["position:absolute;top:2px;right:0px;color:white;z-index:22;font-size:0.7rem;"]);
|
|
13524
|
-
var CustomInput = /*#__PURE__*/styled__default(Input).withConfig({
|
|
13525
|
-
displayName: "ChatDeprecated__CustomInput",
|
|
13526
|
-
componentId: "sc-fuuod3-2"
|
|
13527
|
-
})(["height:30px;width:100%;.rpgui-content .input{min-height:39px;}"]);
|
|
13528
|
-
var CustomContainer = /*#__PURE__*/styled__default(RPGUIContainer).withConfig({
|
|
13529
|
-
displayName: "ChatDeprecated__CustomContainer",
|
|
13530
|
-
componentId: "sc-fuuod3-3"
|
|
13531
|
-
})(["display:block;opacity:", ";&:hover{opacity:1;}.dark-background{background-color:", " !important;}.chat-body{&.rpgui-container.framed-grey{background:unset;}max-height:170px;overflow-y:auto;}"], function (props) {
|
|
13532
|
-
return props.opacity;
|
|
13533
|
-
}, uiColors.darkGray);
|
|
13534
|
-
var Form$2 = /*#__PURE__*/styled__default.form.withConfig({
|
|
13535
|
-
displayName: "ChatDeprecated__Form",
|
|
13536
|
-
componentId: "sc-fuuod3-4"
|
|
13537
|
-
})(["display:flex;width:100%;justify-content:center;align-items:center;"]);
|
|
13538
|
-
var MessageText = /*#__PURE__*/styled__default.p.withConfig({
|
|
13539
|
-
displayName: "ChatDeprecated__MessageText",
|
|
13540
|
-
componentId: "sc-fuuod3-5"
|
|
13541
|
-
})(["display:block !important;width:100%;font-size:", " !important;overflow-y:auto;margin:0;"], uiFonts.size.xsmall);
|
|
13542
|
-
|
|
13543
13543
|
var CheckButton = function CheckButton(_ref) {
|
|
13544
13544
|
var items = _ref.items,
|
|
13545
13545
|
onChange = _ref.onChange;
|
|
@@ -17099,28 +17099,114 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
17099
17099
|
setQuantitySelect: setQuantitySelect
|
|
17100
17100
|
}));
|
|
17101
17101
|
};
|
|
17102
|
-
var ItemsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
17103
|
-
displayName: "ItemContainer__ItemsContainer",
|
|
17104
|
-
componentId: "sc-15y5p9l-0"
|
|
17105
|
-
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";max-height:", ";@media screen and (max-height:350px){max-height:", ";}"], function (_ref2) {
|
|
17106
|
-
var isFullScreen = _ref2.isFullScreen;
|
|
17107
|
-
return isFullScreen ? 'flex-start' : 'center';
|
|
17108
|
-
}, function (_ref3) {
|
|
17109
|
-
var isFullScreen = _ref3.isFullScreen;
|
|
17110
|
-
return isFullScreen ? undefined : '270px';
|
|
17111
|
-
}, function (_ref4) {
|
|
17112
|
-
var isScrollable = _ref4.isScrollable;
|
|
17113
|
-
return isScrollable ? 'auto' : 'hidden';
|
|
17114
|
-
}, function (_ref5) {
|
|
17115
|
-
var isFullScreen = _ref5.isFullScreen;
|
|
17116
|
-
return isFullScreen ? '100vw' : '415px';
|
|
17117
|
-
}, function (_ref6) {
|
|
17118
|
-
var isFullScreen = _ref6.isFullScreen;
|
|
17119
|
-
return isFullScreen && '60%';
|
|
17120
|
-
}, function (_ref7) {
|
|
17121
|
-
var isFullScreen = _ref7.isFullScreen;
|
|
17122
|
-
return isFullScreen && '50%';
|
|
17123
|
-
});
|
|
17102
|
+
var ItemsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
17103
|
+
displayName: "ItemContainer__ItemsContainer",
|
|
17104
|
+
componentId: "sc-15y5p9l-0"
|
|
17105
|
+
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";max-height:", ";@media screen and (max-height:350px){max-height:", ";}"], function (_ref2) {
|
|
17106
|
+
var isFullScreen = _ref2.isFullScreen;
|
|
17107
|
+
return isFullScreen ? 'flex-start' : 'center';
|
|
17108
|
+
}, function (_ref3) {
|
|
17109
|
+
var isFullScreen = _ref3.isFullScreen;
|
|
17110
|
+
return isFullScreen ? undefined : '270px';
|
|
17111
|
+
}, function (_ref4) {
|
|
17112
|
+
var isScrollable = _ref4.isScrollable;
|
|
17113
|
+
return isScrollable ? 'auto' : 'hidden';
|
|
17114
|
+
}, function (_ref5) {
|
|
17115
|
+
var isFullScreen = _ref5.isFullScreen;
|
|
17116
|
+
return isFullScreen ? '100vw' : '415px';
|
|
17117
|
+
}, function (_ref6) {
|
|
17118
|
+
var isFullScreen = _ref6.isFullScreen;
|
|
17119
|
+
return isFullScreen && '60%';
|
|
17120
|
+
}, function (_ref7) {
|
|
17121
|
+
var isFullScreen = _ref7.isFullScreen;
|
|
17122
|
+
return isFullScreen && '50%';
|
|
17123
|
+
});
|
|
17124
|
+
|
|
17125
|
+
var ItemSelector = function ItemSelector(_ref) {
|
|
17126
|
+
var atlasIMG = _ref.atlasIMG,
|
|
17127
|
+
atlasJSON = _ref.atlasJSON,
|
|
17128
|
+
options = _ref.options,
|
|
17129
|
+
onClose = _ref.onClose,
|
|
17130
|
+
onSelect = _ref.onSelect;
|
|
17131
|
+
var _useState = React.useState(),
|
|
17132
|
+
selectedValue = _useState[0],
|
|
17133
|
+
setSelectedValue = _useState[1];
|
|
17134
|
+
var handleClick = function handleClick() {
|
|
17135
|
+
var element = document.querySelector("input[name='test']:checked");
|
|
17136
|
+
var elementValue = element.value;
|
|
17137
|
+
setSelectedValue(elementValue);
|
|
17138
|
+
};
|
|
17139
|
+
React.useEffect(function () {
|
|
17140
|
+
if (selectedValue) {
|
|
17141
|
+
onSelect(selectedValue);
|
|
17142
|
+
}
|
|
17143
|
+
}, [selectedValue]);
|
|
17144
|
+
return React__default.createElement(DraggableContainer, {
|
|
17145
|
+
type: exports.RPGUIContainerTypes.Framed,
|
|
17146
|
+
width: "500px",
|
|
17147
|
+
cancelDrag: ".equipment-container-body .arrow-selector",
|
|
17148
|
+
onCloseButton: function onCloseButton() {
|
|
17149
|
+
if (onClose) {
|
|
17150
|
+
onClose();
|
|
17151
|
+
}
|
|
17152
|
+
}
|
|
17153
|
+
}, React__default.createElement("div", {
|
|
17154
|
+
style: {
|
|
17155
|
+
width: '100%'
|
|
17156
|
+
}
|
|
17157
|
+
}, React__default.createElement(Title$3, null, 'Harvesting instruments'), React__default.createElement(Subtitle$1, null, 'Use the tool, you need it'), React__default.createElement("hr", {
|
|
17158
|
+
className: "golden"
|
|
17159
|
+
})), React__default.createElement(RadioInputScroller$1, null, options == null ? void 0 : options.map(function (option, index) {
|
|
17160
|
+
return React__default.createElement(RadioOptionsWrapper$1, {
|
|
17161
|
+
key: index
|
|
17162
|
+
}, React__default.createElement(SpriteAtlasWrapper$1, null, React__default.createElement(SpriteFromAtlas, {
|
|
17163
|
+
atlasIMG: atlasIMG,
|
|
17164
|
+
atlasJSON: atlasJSON,
|
|
17165
|
+
spriteKey: option.imageKey,
|
|
17166
|
+
imgScale: 3
|
|
17167
|
+
})), React__default.createElement("div", null, React__default.createElement("input", {
|
|
17168
|
+
className: "rpgui-radio",
|
|
17169
|
+
type: "radio",
|
|
17170
|
+
value: option.name,
|
|
17171
|
+
name: "test"
|
|
17172
|
+
}), React__default.createElement("label", {
|
|
17173
|
+
onPointerDown: handleClick,
|
|
17174
|
+
style: {
|
|
17175
|
+
display: 'flex',
|
|
17176
|
+
alignItems: 'center'
|
|
17177
|
+
}
|
|
17178
|
+
}, option.name, " ", React__default.createElement("br", null), option.description)));
|
|
17179
|
+
})), React__default.createElement(ButtonWrapper$1, null, React__default.createElement(Button, {
|
|
17180
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
17181
|
+
onPointerDown: onClose
|
|
17182
|
+
}, "Cancel"), React__default.createElement(Button, {
|
|
17183
|
+
buttonType: exports.ButtonTypes.RPGUIButton
|
|
17184
|
+
}, "Select")));
|
|
17185
|
+
};
|
|
17186
|
+
var Title$3 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
17187
|
+
displayName: "ItemSelector__Title",
|
|
17188
|
+
componentId: "sc-gptoxp-0"
|
|
17189
|
+
})(["font-size:0.6rem;color:yellow !important;"]);
|
|
17190
|
+
var Subtitle$1 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
17191
|
+
displayName: "ItemSelector__Subtitle",
|
|
17192
|
+
componentId: "sc-gptoxp-1"
|
|
17193
|
+
})(["font-size:0.4rem;color:yellow !important;"]);
|
|
17194
|
+
var RadioInputScroller$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
17195
|
+
displayName: "ItemSelector__RadioInputScroller",
|
|
17196
|
+
componentId: "sc-gptoxp-2"
|
|
17197
|
+
})(["padding-left:15px;padding-top:10px;width:100%;margin-top:1rem;align-items:center;margin-left:20px;align-items:flex-start;overflow-y:scroll;height:360px;"]);
|
|
17198
|
+
var SpriteAtlasWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
17199
|
+
displayName: "ItemSelector__SpriteAtlasWrapper",
|
|
17200
|
+
componentId: "sc-gptoxp-3"
|
|
17201
|
+
})(["margin-right:40px;"]);
|
|
17202
|
+
var RadioOptionsWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
17203
|
+
displayName: "ItemSelector__RadioOptionsWrapper",
|
|
17204
|
+
componentId: "sc-gptoxp-4"
|
|
17205
|
+
})(["display:flex;align-items:stretch;margin-bottom:40px;"]);
|
|
17206
|
+
var ButtonWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
17207
|
+
displayName: "ItemSelector__ButtonWrapper",
|
|
17208
|
+
componentId: "sc-gptoxp-5"
|
|
17209
|
+
})(["display:flex;justify-content:space-around;padding-top:20px;width:100%;"]);
|
|
17124
17210
|
|
|
17125
17211
|
var LeaderboardTable = function LeaderboardTable(props) {
|
|
17126
17212
|
var items = props.items,
|
|
@@ -17952,12 +18038,12 @@ var PartyCreate = function PartyCreate(_ref) {
|
|
|
17952
18038
|
style: {
|
|
17953
18039
|
width: '100%'
|
|
17954
18040
|
}
|
|
17955
|
-
}, React__default.createElement(Title$
|
|
18041
|
+
}, React__default.createElement(Title$4, null, "Create Party"), React__default.createElement("hr", {
|
|
17956
18042
|
className: "golden"
|
|
17957
18043
|
}))), React__default.createElement("h1", null, "Type your party name"), React__default.createElement(Input, {
|
|
17958
18044
|
placeholder: "Type party name",
|
|
17959
18045
|
type: "text"
|
|
17960
|
-
}), React__default.createElement(ButtonWrapper$
|
|
18046
|
+
}), React__default.createElement(ButtonWrapper$2, null, React__default.createElement(Button, {
|
|
17961
18047
|
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
17962
18048
|
onPointerDown: function onPointerDown() {
|
|
17963
18049
|
onCreate();
|
|
@@ -17975,11 +18061,11 @@ var Wrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
17975
18061
|
displayName: "PartyCreate__Wrapper",
|
|
17976
18062
|
componentId: "sc-13brop0-0"
|
|
17977
18063
|
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
17978
|
-
var Title$
|
|
18064
|
+
var Title$4 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
17979
18065
|
displayName: "PartyCreate__Title",
|
|
17980
18066
|
componentId: "sc-13brop0-1"
|
|
17981
18067
|
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
17982
|
-
var ButtonWrapper$
|
|
18068
|
+
var ButtonWrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
17983
18069
|
displayName: "PartyCreate__ButtonWrapper",
|
|
17984
18070
|
componentId: "sc-13brop0-2"
|
|
17985
18071
|
})(["margin-top:10px;width:100%;display:flex;justify-content:space-around;align-items:center;.cancel-button{filter:grayscale(0.7);}"]);
|
|
@@ -18024,7 +18110,7 @@ var PartyDashboard = function PartyDashboard(_ref) {
|
|
|
18024
18110
|
style: {
|
|
18025
18111
|
width: '100%'
|
|
18026
18112
|
}
|
|
18027
|
-
}, React__default.createElement(Title$
|
|
18113
|
+
}, React__default.createElement(Title$5, null, "Party Dashboard"), React__default.createElement(Button, {
|
|
18028
18114
|
buttonType: exports.ButtonTypes.RPGUIButton
|
|
18029
18115
|
}, "Create"), React__default.createElement("hr", {
|
|
18030
18116
|
className: "golden"
|
|
@@ -18051,7 +18137,7 @@ var RowsWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
18051
18137
|
displayName: "PartyDashboard__RowsWrapper",
|
|
18052
18138
|
componentId: "sc-16cm41r-1"
|
|
18053
18139
|
})(["overflow-y:scroll;-webkit-overflow-scrolling:touch;width:100%;height:200px;"]);
|
|
18054
|
-
var Title$
|
|
18140
|
+
var Title$5 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
18055
18141
|
displayName: "PartyDashboard__Title",
|
|
18056
18142
|
componentId: "sc-16cm41r-2"
|
|
18057
18143
|
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
@@ -18088,7 +18174,7 @@ var PartyInvite = function PartyInvite(_ref) {
|
|
|
18088
18174
|
style: {
|
|
18089
18175
|
width: '100%'
|
|
18090
18176
|
}
|
|
18091
|
-
}, React__default.createElement(Title$
|
|
18177
|
+
}, React__default.createElement(Title$6, null, "Invite for Party"), React__default.createElement("hr", {
|
|
18092
18178
|
className: "golden"
|
|
18093
18179
|
}))), React__default.createElement(RowsWrapper$1, {
|
|
18094
18180
|
className: "playersRows"
|
|
@@ -18107,7 +18193,7 @@ var Wrapper$4 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
18107
18193
|
displayName: "PartyInvite__Wrapper",
|
|
18108
18194
|
componentId: "sc-eu8ggt-0"
|
|
18109
18195
|
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
18110
|
-
var Title$
|
|
18196
|
+
var Title$6 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
18111
18197
|
displayName: "PartyInvite__Title",
|
|
18112
18198
|
componentId: "sc-eu8ggt-1"
|
|
18113
18199
|
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
@@ -18165,7 +18251,7 @@ var PartyManager = function PartyManager(_ref) {
|
|
|
18165
18251
|
style: {
|
|
18166
18252
|
width: '100%'
|
|
18167
18253
|
}
|
|
18168
|
-
}, React__default.createElement(Title$
|
|
18254
|
+
}, React__default.createElement(Title$7, null, "Party Dashboard"), React__default.createElement("hr", {
|
|
18169
18255
|
className: "golden"
|
|
18170
18256
|
}))), React__default.createElement(RowsWrapper$2, {
|
|
18171
18257
|
className: "partyRows"
|
|
@@ -18211,7 +18297,7 @@ var RowsWrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
18211
18297
|
displayName: "PartyManager__RowsWrapper",
|
|
18212
18298
|
componentId: "sc-1yqcad8-2"
|
|
18213
18299
|
})(["width:100%;"]);
|
|
18214
|
-
var Title$
|
|
18300
|
+
var Title$7 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
18215
18301
|
displayName: "PartyManager__Title",
|
|
18216
18302
|
componentId: "sc-1yqcad8-3"
|
|
18217
18303
|
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
@@ -18476,7 +18562,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
18476
18562
|
onPointerDown: onRightClick
|
|
18477
18563
|
}), React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
|
|
18478
18564
|
className: "drag-handler"
|
|
18479
|
-
}, React__default.createElement(Title$
|
|
18565
|
+
}, React__default.createElement(Title$8, null, React__default.createElement(Thumbnail, {
|
|
18480
18566
|
src: quests[currentIndex].thumbnail || img$8
|
|
18481
18567
|
}), quests[currentIndex].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
|
|
18482
18568
|
className: "golden"
|
|
@@ -18495,7 +18581,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
18495
18581
|
}, button.title);
|
|
18496
18582
|
})))) : React__default.createElement(QuestsContainer, null, React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
|
|
18497
18583
|
className: "drag-handler"
|
|
18498
|
-
}, React__default.createElement(Title$
|
|
18584
|
+
}, React__default.createElement(Title$8, null, React__default.createElement(Thumbnail, {
|
|
18499
18585
|
src: quests[0].thumbnail || img$8
|
|
18500
18586
|
}), quests[0].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
|
|
18501
18587
|
className: "golden"
|
|
@@ -18542,7 +18628,7 @@ var TitleContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
18542
18628
|
displayName: "QuestInfo__TitleContainer",
|
|
18543
18629
|
componentId: "sc-15s2boc-6"
|
|
18544
18630
|
})(["width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin-top:1rem;"]);
|
|
18545
|
-
var Title$
|
|
18631
|
+
var Title$8 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
18546
18632
|
displayName: "QuestInfo__Title",
|
|
18547
18633
|
componentId: "sc-15s2boc-7"
|
|
18548
18634
|
})(["color:white;z-index:22;font-size:", " !important;color:", " !important;"], uiFonts.size.medium, uiColors.yellow);
|
|
@@ -18566,7 +18652,7 @@ var QuestList = function QuestList(_ref) {
|
|
|
18566
18652
|
style: {
|
|
18567
18653
|
width: '100%'
|
|
18568
18654
|
}
|
|
18569
|
-
}, React__default.createElement(Title$
|
|
18655
|
+
}, React__default.createElement(Title$9, null, "Quests"), React__default.createElement("hr", {
|
|
18570
18656
|
className: "golden"
|
|
18571
18657
|
}), React__default.createElement(QuestListContainer, null, quests ? quests.map(function (quest, i) {
|
|
18572
18658
|
return React__default.createElement("div", {
|
|
@@ -18587,7 +18673,7 @@ var QuestDraggableContainer$1 = /*#__PURE__*/styled__default(DraggableContainer)
|
|
|
18587
18673
|
displayName: "QuestList__QuestDraggableContainer",
|
|
18588
18674
|
componentId: "sc-1a2vx6q-0"
|
|
18589
18675
|
})([".container-close{top:10px;right:10px;}.quest-title{text-align:left;margin-left:44px;margin-top:20px;color:yellow;}.quest-desc{margin-top:12px;margin-left:44px;}.rpgui-progress{min-width:80%;margin:0 auto;}"]);
|
|
18590
|
-
var Title$
|
|
18676
|
+
var Title$9 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
18591
18677
|
displayName: "QuestList__Title",
|
|
18592
18678
|
componentId: "sc-1a2vx6q-1"
|
|
18593
18679
|
})(["z-index:22;font-size:", " !important;color:yellow !important;"], uiFonts.size.medium);
|
|
@@ -18600,29 +18686,6 @@ var NoQuestContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
18600
18686
|
componentId: "sc-1a2vx6q-3"
|
|
18601
18687
|
})(["text-align:center;p{margin-top:5px;}"]);
|
|
18602
18688
|
|
|
18603
|
-
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
18604
|
-
var children = _ref.children;
|
|
18605
|
-
return React__default.createElement(Container$q, null, children);
|
|
18606
|
-
};
|
|
18607
|
-
var Container$q = /*#__PURE__*/styled__default.div.withConfig({
|
|
18608
|
-
displayName: "RPGUIScrollbar__Container",
|
|
18609
|
-
componentId: "sc-p3msmb-0"
|
|
18610
|
-
})([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
|
|
18611
|
-
|
|
18612
|
-
var RPGUIOverrides = function RPGUIOverrides(_ref) {
|
|
18613
|
-
var children = _ref.children;
|
|
18614
|
-
return React__default.createElement(RPGUIScrollbar, null, children);
|
|
18615
|
-
};
|
|
18616
|
-
|
|
18617
|
-
//@ts-ignore
|
|
18618
|
-
var _RPGUI = RPGUI;
|
|
18619
|
-
var RPGUIRoot = function RPGUIRoot(_ref) {
|
|
18620
|
-
var children = _ref.children;
|
|
18621
|
-
return React__default.createElement(RPGUIOverrides, null, React__default.createElement("div", {
|
|
18622
|
-
className: "rpgui-content"
|
|
18623
|
-
}, children));
|
|
18624
|
-
};
|
|
18625
|
-
|
|
18626
18689
|
var InputRadio$1 = function InputRadio(_ref) {
|
|
18627
18690
|
var name = _ref.name,
|
|
18628
18691
|
items = _ref.items,
|
|
@@ -18655,6 +18718,29 @@ var InputRadio$1 = function InputRadio(_ref) {
|
|
|
18655
18718
|
}));
|
|
18656
18719
|
};
|
|
18657
18720
|
|
|
18721
|
+
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
18722
|
+
var children = _ref.children;
|
|
18723
|
+
return React__default.createElement(Container$q, null, children);
|
|
18724
|
+
};
|
|
18725
|
+
var Container$q = /*#__PURE__*/styled__default.div.withConfig({
|
|
18726
|
+
displayName: "RPGUIScrollbar__Container",
|
|
18727
|
+
componentId: "sc-p3msmb-0"
|
|
18728
|
+
})([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
|
|
18729
|
+
|
|
18730
|
+
var RPGUIOverrides = function RPGUIOverrides(_ref) {
|
|
18731
|
+
var children = _ref.children;
|
|
18732
|
+
return React__default.createElement(RPGUIScrollbar, null, children);
|
|
18733
|
+
};
|
|
18734
|
+
|
|
18735
|
+
//@ts-ignore
|
|
18736
|
+
var _RPGUI = RPGUI;
|
|
18737
|
+
var RPGUIRoot = function RPGUIRoot(_ref) {
|
|
18738
|
+
var children = _ref.children;
|
|
18739
|
+
return React__default.createElement(RPGUIOverrides, null, React__default.createElement("div", {
|
|
18740
|
+
className: "rpgui-content"
|
|
18741
|
+
}, children));
|
|
18742
|
+
};
|
|
18743
|
+
|
|
18658
18744
|
var Shortcuts = function Shortcuts(_ref) {
|
|
18659
18745
|
var shortcuts = _ref.shortcuts,
|
|
18660
18746
|
onShortcutCast = _ref.onShortcutCast,
|
|
@@ -19093,7 +19179,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
19093
19179
|
castingType = spell.castingType,
|
|
19094
19180
|
cooldown = spell.cooldown,
|
|
19095
19181
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
19096
|
-
return React__default.createElement(Container$s, null, React__default.createElement(Header$1, null, React__default.createElement("div", null, React__default.createElement(Title$
|
|
19182
|
+
return React__default.createElement(Container$s, null, React__default.createElement(Header$1, null, React__default.createElement("div", null, React__default.createElement(Title$a, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
19097
19183
|
className: "label"
|
|
19098
19184
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
19099
19185
|
className: "value"
|
|
@@ -19123,7 +19209,7 @@ var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
19123
19209
|
displayName: "SpellInfo__Container",
|
|
19124
19210
|
componentId: "sc-4hbw3q-0"
|
|
19125
19211
|
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";height:max-content;width:30rem;@media (max-width:580px){width:80vw;}"], uiFonts.size.small, uiColors.lightGray);
|
|
19126
|
-
var Title$
|
|
19212
|
+
var Title$a = /*#__PURE__*/styled__default.div.withConfig({
|
|
19127
19213
|
displayName: "SpellInfo__Title",
|
|
19128
19214
|
componentId: "sc-4hbw3q-1"
|
|
19129
19215
|
})(["font-size:", ";font-weight:bold;margin-bottom:0.5rem;display:flex;align-items:center;margin:0;"], uiFonts.size.medium);
|
|
@@ -19318,7 +19404,7 @@ var Spell = function Spell(_ref) {
|
|
|
19318
19404
|
imgScale: IMAGE_SCALE,
|
|
19319
19405
|
containerStyle: CONTAINER_STYLE,
|
|
19320
19406
|
centered: true
|
|
19321
|
-
})), React__default.createElement(Info, null, React__default.createElement(Title$
|
|
19407
|
+
})), React__default.createElement(Info, null, React__default.createElement(Title$b, null, React__default.createElement("span", null, name), React__default.createElement("span", {
|
|
19322
19408
|
className: "spell"
|
|
19323
19409
|
}, "(", magicWords, ")")), React__default.createElement(Description$3, null, description)), React__default.createElement(Divider, null), React__default.createElement(Cost, null, React__default.createElement("span", null, "Mana cost:"), React__default.createElement("span", {
|
|
19324
19410
|
className: "mana"
|
|
@@ -19339,7 +19425,7 @@ var Info = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
19339
19425
|
displayName: "Spell__Info",
|
|
19340
19426
|
componentId: "sc-j96fa2-2"
|
|
19341
19427
|
})(["width:0;flex:1;@media (orientation:portrait){display:none;}"]);
|
|
19342
|
-
var Title$
|
|
19428
|
+
var Title$b = /*#__PURE__*/styled__default.p.withConfig({
|
|
19343
19429
|
displayName: "Spell__Title",
|
|
19344
19430
|
componentId: "sc-j96fa2-3"
|
|
19345
19431
|
})(["display:flex;flex-wrap:wrap;align-items:center;margin-bottom:5px;margin:0;span{font-size:", " !important;font-weight:bold !important;color:", " !important;margin-right:0.5rem;}.spell{font-size:", " !important;font-weight:normal !important;color:", " !important;}"], uiFonts.size.medium, uiColors.yellow, uiFonts.size.small, uiColors.lightGray);
|
|
@@ -19403,7 +19489,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
19403
19489
|
height: "inherit",
|
|
19404
19490
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
19405
19491
|
scale: scale
|
|
19406
|
-
}, React__default.createElement(Container$w, null, React__default.createElement(Title$
|
|
19492
|
+
}, React__default.createElement(Container$w, null, React__default.createElement(Title$c, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
19407
19493
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
19408
19494
|
settingShortcutIndex: settingShortcutIndex,
|
|
19409
19495
|
shortcuts: shortcuts,
|
|
@@ -19435,7 +19521,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
19435
19521
|
}, spell)));
|
|
19436
19522
|
}))));
|
|
19437
19523
|
};
|
|
19438
|
-
var Title$
|
|
19524
|
+
var Title$c = /*#__PURE__*/styled__default.h1.withConfig({
|
|
19439
19525
|
displayName: "Spellbook__Title",
|
|
19440
19526
|
componentId: "sc-r02nfq-0"
|
|
19441
19527
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
@@ -19452,7 +19538,9 @@ var Stepper = function Stepper(_ref) {
|
|
|
19452
19538
|
var _steps$currentStep;
|
|
19453
19539
|
var steps = _ref.steps,
|
|
19454
19540
|
finalCTAButton = _ref.finalCTAButton,
|
|
19455
|
-
onError = _ref.onError
|
|
19541
|
+
onError = _ref.onError,
|
|
19542
|
+
_ref$useSideArrows = _ref.useSideArrows,
|
|
19543
|
+
useSideArrows = _ref$useSideArrows === void 0 ? false : _ref$useSideArrows;
|
|
19456
19544
|
var _useState = React.useState(0),
|
|
19457
19545
|
currentStep = _useState[0],
|
|
19458
19546
|
setCurrentStep = _useState[1];
|
|
@@ -19478,7 +19566,6 @@ var Stepper = function Stepper(_ref) {
|
|
|
19478
19566
|
_context.next = 8;
|
|
19479
19567
|
break;
|
|
19480
19568
|
}
|
|
19481
|
-
// If the current step is not valid, prevent navigation and trigger onError
|
|
19482
19569
|
if (onError) {
|
|
19483
19570
|
onError(steps[currentStep].errorMessage || "Validation failed on step " + (currentStep + 1));
|
|
19484
19571
|
}
|
|
@@ -19489,7 +19576,6 @@ var Stepper = function Stepper(_ref) {
|
|
|
19489
19576
|
case 10:
|
|
19490
19577
|
_context.prev = 10;
|
|
19491
19578
|
_context.t0 = _context["catch"](1);
|
|
19492
|
-
// Handle unexpected validation errors
|
|
19493
19579
|
if (onError) {
|
|
19494
19580
|
onError("An error occurred during validation on step " + (currentStep + 1));
|
|
19495
19581
|
}
|
|
@@ -19506,6 +19592,29 @@ var Stepper = function Stepper(_ref) {
|
|
|
19506
19592
|
return _ref2.apply(this, arguments);
|
|
19507
19593
|
};
|
|
19508
19594
|
}();
|
|
19595
|
+
var renderArrows = function renderArrows() {
|
|
19596
|
+
var leftArrow = React__default.createElement(SelectArrow, {
|
|
19597
|
+
direction: "left",
|
|
19598
|
+
onPointerDown: function onPointerDown() {
|
|
19599
|
+
return onStepChange(Math.max(0, currentStep - 1));
|
|
19600
|
+
}
|
|
19601
|
+
});
|
|
19602
|
+
var rightArrow = React__default.createElement(SelectArrow, {
|
|
19603
|
+
direction: "right",
|
|
19604
|
+
onPointerDown: function onPointerDown() {
|
|
19605
|
+
return onStepChange(Math.min(totalSteps - 1, currentStep + 1));
|
|
19606
|
+
}
|
|
19607
|
+
});
|
|
19608
|
+
if (useSideArrows) {
|
|
19609
|
+
return React__default.createElement(React__default.Fragment, null, currentStep > 0 && React__default.createElement(ArrowContainer$1, {
|
|
19610
|
+
left: true
|
|
19611
|
+
}, leftArrow), currentStep < totalSteps - 1 && React__default.createElement(ArrowContainer$1, {
|
|
19612
|
+
right: true
|
|
19613
|
+
}, rightArrow));
|
|
19614
|
+
} else {
|
|
19615
|
+
return React__default.createElement(React__default.Fragment, null, currentStep > 0 && leftArrow, currentStep < totalSteps - 1 && rightArrow);
|
|
19616
|
+
}
|
|
19617
|
+
};
|
|
19509
19618
|
return React__default.createElement(StepperContainer, {
|
|
19510
19619
|
className: "stepper-container"
|
|
19511
19620
|
}, React__default.createElement(StepperTop, null, Array.from({
|
|
@@ -19518,17 +19627,7 @@ var Stepper = function Stepper(_ref) {
|
|
|
19518
19627
|
return onStepChange(i);
|
|
19519
19628
|
}
|
|
19520
19629
|
});
|
|
19521
|
-
})), React__default.createElement(StepperBody, null, currentComponent), React__default.createElement(StepperFooter, null, currentStep
|
|
19522
|
-
direction: "left",
|
|
19523
|
-
onPointerDown: function onPointerDown() {
|
|
19524
|
-
return onStepChange(Math.max(0, currentStep - 1));
|
|
19525
|
-
}
|
|
19526
|
-
}), currentStep < totalSteps - 1 && React__default.createElement(SelectArrow, {
|
|
19527
|
-
direction: "right",
|
|
19528
|
-
onPointerDown: function onPointerDown() {
|
|
19529
|
-
return onStepChange(Math.min(totalSteps - 1, currentStep + 1));
|
|
19530
|
-
}
|
|
19531
|
-
}), currentStep === totalSteps - 1 && finalCTAButton && React__default.createElement(Button, {
|
|
19630
|
+
})), React__default.createElement(StepperBodyContainer, null, useSideArrows && renderArrows(), React__default.createElement(StepperBody, null, currentComponent)), React__default.createElement(StepperFooter, null, !useSideArrows && renderArrows(), currentStep === totalSteps - 1 && finalCTAButton && React__default.createElement(Button, {
|
|
19532
19631
|
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
19533
19632
|
onClick: finalCTAButton.onClick
|
|
19534
19633
|
}, finalCTAButton.label)));
|
|
@@ -19541,24 +19640,39 @@ var StepperTop = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
19541
19640
|
displayName: "Stepper__StepperTop",
|
|
19542
19641
|
componentId: "sc-13obf1-1"
|
|
19543
19642
|
})(["flex:1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin-bottom:1rem;"]);
|
|
19643
|
+
var StepperBodyContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
19644
|
+
displayName: "Stepper__StepperBodyContainer",
|
|
19645
|
+
componentId: "sc-13obf1-2"
|
|
19646
|
+
})(["flex:8;display:flex;align-items:center;position:relative;"]);
|
|
19544
19647
|
var StepperBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
19545
19648
|
displayName: "Stepper__StepperBody",
|
|
19546
|
-
componentId: "sc-13obf1-
|
|
19547
|
-
})(["flex:
|
|
19649
|
+
componentId: "sc-13obf1-3"
|
|
19650
|
+
})(["flex:1;"]);
|
|
19651
|
+
var ArrowContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
19652
|
+
displayName: "Stepper__ArrowContainer",
|
|
19653
|
+
componentId: "sc-13obf1-4"
|
|
19654
|
+
})(["position:absolute;top:50%;transform:translateY(-50%);", " ", ""], function (props) {
|
|
19655
|
+
return props.left && 'left: -30px;';
|
|
19656
|
+
}, function (props) {
|
|
19657
|
+
return props.right && 'right: -30px;';
|
|
19658
|
+
});
|
|
19548
19659
|
var StepperFooter = /*#__PURE__*/styled__default.div.withConfig({
|
|
19549
19660
|
displayName: "Stepper__StepperFooter",
|
|
19550
|
-
componentId: "sc-13obf1-
|
|
19551
|
-
})(["margin-top:1rem;flex:1;display:flex;justify-content:flex-end;"]);
|
|
19661
|
+
componentId: "sc-13obf1-5"
|
|
19662
|
+
})(["margin-top:1rem;flex:1;display:flex;justify-content:flex-end;align-items:center;"]);
|
|
19552
19663
|
var ProgressIndicator = /*#__PURE__*/styled__default.div.withConfig({
|
|
19553
19664
|
displayName: "Stepper__ProgressIndicator",
|
|
19554
|
-
componentId: "sc-13obf1-
|
|
19555
|
-
})(["width:20px;height:20px;
|
|
19665
|
+
componentId: "sc-13obf1-6"
|
|
19666
|
+
})(["width:20px;height:20px;background-color:", ";margin:0 5px;transition:background-color 0.3s;opacity:", ";border:1px solid ", ";cursor:pointer;clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%);box-shadow:", ";border-radius:0;"], function (_ref3) {
|
|
19556
19667
|
var isActive = _ref3.isActive;
|
|
19557
19668
|
return isActive ? uiColors.orange : uiColors.lightGray;
|
|
19558
19669
|
}, function (_ref4) {
|
|
19559
19670
|
var isActive = _ref4.isActive;
|
|
19560
19671
|
return isActive ? 1 : 0.25;
|
|
19561
|
-
}, uiColors.raisinBlack)
|
|
19672
|
+
}, uiColors.raisinBlack, function (_ref5) {
|
|
19673
|
+
var isActive = _ref5.isActive;
|
|
19674
|
+
return isActive ? '0 0 0 1px black, 1px 1px 0 1px black, 2px 2px 0 1px black, -1px -1px 0 1px black' : '0 0 0 1px black, 1px 1px 0 1px gray, 2px 2px 0 1px gray, -1px -1px 0 1px gray';
|
|
19675
|
+
});
|
|
19562
19676
|
|
|
19563
19677
|
var TextArea = function TextArea(_ref) {
|
|
19564
19678
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
@@ -19832,7 +19946,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
19832
19946
|
style: {
|
|
19833
19947
|
width: '100%'
|
|
19834
19948
|
}
|
|
19835
|
-
}, React__default.createElement(Title$
|
|
19949
|
+
}, React__default.createElement(Title$d, null, Capitalize(type), " Menu"), React__default.createElement("hr", {
|
|
19836
19950
|
className: "golden"
|
|
19837
19951
|
})), React__default.createElement(TradingComponentScrollWrapper, {
|
|
19838
19952
|
id: "TraderContainer"
|
|
@@ -19850,7 +19964,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
19850
19964
|
scale: scale,
|
|
19851
19965
|
isBuy: isBuy()
|
|
19852
19966
|
}));
|
|
19853
|
-
})), React__default.createElement(GoldWrapper, null, React__default.createElement("p", null, "Available Gold:"), React__default.createElement("p", null, "$", characterAvailableGold.toFixed(2))), React__default.createElement(TotalWrapper, null, React__default.createElement("p", null, "Total:"), React__default.createElement("p", null, "$", sum)), !hasGoldForSale() ? React__default.createElement(AlertWrapper, null, React__default.createElement("p", null, " Sorry, not enough money.")) : React__default.createElement(GoldWrapper, null, React__default.createElement("p", null, "Final Gold:"), React__default.createElement("p", null, "$", getFinalGold().toFixed(2))), React__default.createElement(ButtonWrapper$
|
|
19967
|
+
})), React__default.createElement(GoldWrapper, null, React__default.createElement("p", null, "Available Gold:"), React__default.createElement("p", null, "$", characterAvailableGold.toFixed(2))), React__default.createElement(TotalWrapper, null, React__default.createElement("p", null, "Total:"), React__default.createElement("p", null, "$", sum)), !hasGoldForSale() ? React__default.createElement(AlertWrapper, null, React__default.createElement("p", null, " Sorry, not enough money.")) : React__default.createElement(GoldWrapper, null, React__default.createElement("p", null, "Final Gold:"), React__default.createElement("p", null, "$", getFinalGold().toFixed(2))), React__default.createElement(ButtonWrapper$3, null, React__default.createElement(Button, {
|
|
19854
19968
|
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
19855
19969
|
disabled: !hasGoldForSale(),
|
|
19856
19970
|
onPointerDown: function onPointerDown() {
|
|
@@ -19863,7 +19977,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
19863
19977
|
}
|
|
19864
19978
|
}, "Cancel"))));
|
|
19865
19979
|
};
|
|
19866
|
-
var Title$
|
|
19980
|
+
var Title$d = /*#__PURE__*/styled__default.h1.withConfig({
|
|
19867
19981
|
displayName: "TradingMenu__Title",
|
|
19868
19982
|
componentId: "sc-1wjsz1l-0"
|
|
19869
19983
|
})(["z-index:22;font-size:0.6rem;color:yellow !important;"]);
|
|
@@ -19887,7 +20001,7 @@ var AlertWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
19887
20001
|
displayName: "TradingMenu__AlertWrapper",
|
|
19888
20002
|
componentId: "sc-1wjsz1l-5"
|
|
19889
20003
|
})(["margin-top:1rem;display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
|
|
19890
|
-
var ButtonWrapper$
|
|
20004
|
+
var ButtonWrapper$3 = /*#__PURE__*/styled__default.div.withConfig({
|
|
19891
20005
|
displayName: "TradingMenu__ButtonWrapper",
|
|
19892
20006
|
componentId: "sc-1wjsz1l-6"
|
|
19893
20007
|
})(["display:flex;justify-content:space-around;padding-top:20px;width:100%;margin-top:1rem;button{padding:0px 50px;}"]);
|
|
@@ -19908,91 +20022,45 @@ var Container$x = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
19908
20022
|
return props.maxLines;
|
|
19909
20023
|
});
|
|
19910
20024
|
|
|
19911
|
-
var
|
|
19912
|
-
var
|
|
19913
|
-
|
|
19914
|
-
|
|
19915
|
-
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19922
|
-
|
|
19923
|
-
|
|
20025
|
+
var TutorialStepper = function TutorialStepper(_ref) {
|
|
20026
|
+
var lessons = _ref.lessons,
|
|
20027
|
+
onLessonFinish = _ref.onLessonFinish;
|
|
20028
|
+
var generateLessons = function generateLessons() {
|
|
20029
|
+
return lessons.map(function (lesson, index) {
|
|
20030
|
+
return {
|
|
20031
|
+
component: React__default.createElement("div", null, React__default.createElement("h1", null, lesson.title), lesson.image && React__default.createElement(LessonImage, null, React__default.createElement("img", {
|
|
20032
|
+
src: lesson.image,
|
|
20033
|
+
alt: lesson.title
|
|
20034
|
+
})), lesson.body && React__default.createElement(LessonBody, null, lesson.body), lesson.text && React__default.createElement(DynamicText, {
|
|
20035
|
+
text: lesson.text
|
|
20036
|
+
})),
|
|
20037
|
+
id: index
|
|
20038
|
+
};
|
|
20039
|
+
});
|
|
19924
20040
|
};
|
|
19925
|
-
|
|
19926
|
-
|
|
19927
|
-
|
|
19928
|
-
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
type: exports.RPGUIContainerTypes.Framed,
|
|
19932
|
-
width: "500px",
|
|
19933
|
-
cancelDrag: ".equipment-container-body .arrow-selector",
|
|
19934
|
-
onCloseButton: function onCloseButton() {
|
|
19935
|
-
if (onClose) {
|
|
19936
|
-
onClose();
|
|
19937
|
-
}
|
|
19938
|
-
}
|
|
19939
|
-
}, React__default.createElement("div", {
|
|
19940
|
-
style: {
|
|
19941
|
-
width: '100%'
|
|
19942
|
-
}
|
|
19943
|
-
}, React__default.createElement(Title$d, null, 'Harvesting instruments'), React__default.createElement(Subtitle$1, null, 'Use the tool, you need it'), React__default.createElement("hr", {
|
|
19944
|
-
className: "golden"
|
|
19945
|
-
})), React__default.createElement(RadioInputScroller$1, null, options == null ? void 0 : options.map(function (option, index) {
|
|
19946
|
-
return React__default.createElement(RadioOptionsWrapper$1, {
|
|
19947
|
-
key: index
|
|
19948
|
-
}, React__default.createElement(SpriteAtlasWrapper$1, null, React__default.createElement(SpriteFromAtlas, {
|
|
19949
|
-
atlasIMG: atlasIMG,
|
|
19950
|
-
atlasJSON: atlasJSON,
|
|
19951
|
-
spriteKey: option.imageKey,
|
|
19952
|
-
imgScale: 3
|
|
19953
|
-
})), React__default.createElement("div", null, React__default.createElement("input", {
|
|
19954
|
-
className: "rpgui-radio",
|
|
19955
|
-
type: "radio",
|
|
19956
|
-
value: option.name,
|
|
19957
|
-
name: "test"
|
|
19958
|
-
}), React__default.createElement("label", {
|
|
19959
|
-
onPointerDown: handleClick,
|
|
19960
|
-
style: {
|
|
19961
|
-
display: 'flex',
|
|
19962
|
-
alignItems: 'center'
|
|
20041
|
+
return React__default.createElement(Container$y, null, React__default.createElement(Stepper, {
|
|
20042
|
+
steps: generateLessons(),
|
|
20043
|
+
finalCTAButton: {
|
|
20044
|
+
label: 'Close',
|
|
20045
|
+
onClick: function onClick() {
|
|
20046
|
+
onLessonFinish();
|
|
19963
20047
|
}
|
|
19964
|
-
},
|
|
19965
|
-
|
|
19966
|
-
|
|
19967
|
-
onPointerDown: onClose
|
|
19968
|
-
}, "Cancel"), React__default.createElement(Button, {
|
|
19969
|
-
buttonType: exports.ButtonTypes.RPGUIButton
|
|
19970
|
-
}, "Select")));
|
|
20048
|
+
},
|
|
20049
|
+
useSideArrows: true
|
|
20050
|
+
}));
|
|
19971
20051
|
};
|
|
19972
|
-
var
|
|
19973
|
-
displayName: "
|
|
19974
|
-
componentId: "sc-
|
|
19975
|
-
})(["
|
|
19976
|
-
var
|
|
19977
|
-
displayName: "
|
|
19978
|
-
componentId: "sc-
|
|
19979
|
-
})(["
|
|
19980
|
-
var
|
|
19981
|
-
displayName: "
|
|
19982
|
-
componentId: "sc-
|
|
19983
|
-
})(["
|
|
19984
|
-
var SpriteAtlasWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
19985
|
-
displayName: "ItemSelector__SpriteAtlasWrapper",
|
|
19986
|
-
componentId: "sc-gptoxp-3"
|
|
19987
|
-
})(["margin-right:40px;"]);
|
|
19988
|
-
var RadioOptionsWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
19989
|
-
displayName: "ItemSelector__RadioOptionsWrapper",
|
|
19990
|
-
componentId: "sc-gptoxp-4"
|
|
19991
|
-
})(["display:flex;align-items:stretch;margin-bottom:40px;"]);
|
|
19992
|
-
var ButtonWrapper$3 = /*#__PURE__*/styled__default.div.withConfig({
|
|
19993
|
-
displayName: "ItemSelector__ButtonWrapper",
|
|
19994
|
-
componentId: "sc-gptoxp-5"
|
|
19995
|
-
})(["display:flex;justify-content:space-around;padding-top:20px;width:100%;"]);
|
|
20052
|
+
var LessonBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
20053
|
+
displayName: "TutorialStepper__LessonBody",
|
|
20054
|
+
componentId: "sc-7tgzv2-0"
|
|
20055
|
+
})([""]);
|
|
20056
|
+
var Container$y = /*#__PURE__*/styled__default.div.withConfig({
|
|
20057
|
+
displayName: "TutorialStepper__Container",
|
|
20058
|
+
componentId: "sc-7tgzv2-1"
|
|
20059
|
+
})(["margin:2rem;"]);
|
|
20060
|
+
var LessonImage = /*#__PURE__*/styled__default.div.withConfig({
|
|
20061
|
+
displayName: "TutorialStepper__LessonImage",
|
|
20062
|
+
componentId: "sc-7tgzv2-2"
|
|
20063
|
+
})(["display:flex;justify-content:center;align-items:center;img{width:600px;height:400px;border-radius:10px;}"]);
|
|
19996
20064
|
|
|
19997
20065
|
exports.AsyncDropdown = AsyncDropdown;
|
|
19998
20066
|
exports.Button = Button;
|
|
@@ -20053,6 +20121,7 @@ exports.TextArea = TextArea;
|
|
|
20053
20121
|
exports.TimeWidget = TimeWidget;
|
|
20054
20122
|
exports.TradingMenu = TradingMenu;
|
|
20055
20123
|
exports.Truncate = Truncate;
|
|
20124
|
+
exports.TutorialStepper = TutorialStepper;
|
|
20056
20125
|
exports._RPGUI = _RPGUI;
|
|
20057
20126
|
exports.mockedPartyManager = mockedPartyManager;
|
|
20058
20127
|
exports.mockedPartyRows = mockedPartyRows;
|