@rpg-engine/long-bow 0.8.49 → 0.8.50
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/Character/CharacterSkinSelectionModal.d.ts +12 -0
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +190 -92
- 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 +190 -93
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/Character/character/CharacterSkinSelectionModal.stories.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/Character/CharacterSkinSelectionModal.tsx +151 -0
- package/src/components/DailyTasks/DailyRewardsTooltip.tsx +1 -1
- package/src/components/DailyTasks/TaskProgressDetails.tsx +1 -1
- package/src/index.tsx +1 -0
- package/src/mocks/dailyTasks.mocks.ts +1 -7
- package/src/stories/Character/character/CharacterSkinSelectionModal.stories.tsx +52 -0
|
@@ -26119,6 +26119,103 @@ var Container$4 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
26119
26119
|
componentId: "sc-b34498-0"
|
|
26120
26120
|
})(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
|
|
26121
26121
|
|
|
26122
|
+
var CharacterSkinSelectionModal = function CharacterSkinSelectionModal(_ref) {
|
|
26123
|
+
var isOpen = _ref.isOpen,
|
|
26124
|
+
onClose = _ref.onClose,
|
|
26125
|
+
onConfirm = _ref.onConfirm,
|
|
26126
|
+
availableCharacters = _ref.availableCharacters,
|
|
26127
|
+
atlasJSON = _ref.atlasJSON,
|
|
26128
|
+
atlasIMG = _ref.atlasIMG,
|
|
26129
|
+
_ref$initialSelectedS = _ref.initialSelectedSkin,
|
|
26130
|
+
initialSelectedSkin = _ref$initialSelectedS === void 0 ? '' : _ref$initialSelectedS;
|
|
26131
|
+
// Convert availableCharacters to the format used by PropertySelect
|
|
26132
|
+
var propertySelectValues = availableCharacters.map(function (item) {
|
|
26133
|
+
return {
|
|
26134
|
+
id: item.textureKey,
|
|
26135
|
+
name: item.name
|
|
26136
|
+
};
|
|
26137
|
+
});
|
|
26138
|
+
// State to store the selected skin and the sprite key
|
|
26139
|
+
var _useState = React.useState(),
|
|
26140
|
+
selectedValue = _useState[0],
|
|
26141
|
+
setSelectedValue = _useState[1];
|
|
26142
|
+
var _useState2 = React.useState(''),
|
|
26143
|
+
selectedSpriteKey = _useState2[0],
|
|
26144
|
+
setSelectedSpriteKey = _useState2[1];
|
|
26145
|
+
// Update sprite when the selected value changes
|
|
26146
|
+
var updateSelectedSpriteKey = function updateSelectedSpriteKey() {
|
|
26147
|
+
var textureKey = selectedValue ? selectedValue.id : '';
|
|
26148
|
+
var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
|
|
26149
|
+
if (spriteKey === selectedSpriteKey) {
|
|
26150
|
+
return;
|
|
26151
|
+
}
|
|
26152
|
+
setSelectedSpriteKey(spriteKey);
|
|
26153
|
+
};
|
|
26154
|
+
// Update sprite when selectedValue changes
|
|
26155
|
+
React.useEffect(function () {
|
|
26156
|
+
updateSelectedSpriteKey();
|
|
26157
|
+
}, [selectedValue]);
|
|
26158
|
+
// Initialize selectedValue
|
|
26159
|
+
React.useEffect(function () {
|
|
26160
|
+
if (initialSelectedSkin) {
|
|
26161
|
+
var initialProperty = propertySelectValues.find(function (prop) {
|
|
26162
|
+
return prop.id === initialSelectedSkin;
|
|
26163
|
+
});
|
|
26164
|
+
setSelectedValue(initialProperty || propertySelectValues[0]);
|
|
26165
|
+
} else if (propertySelectValues.length > 0) {
|
|
26166
|
+
setSelectedValue(propertySelectValues[0]);
|
|
26167
|
+
}
|
|
26168
|
+
}, [initialSelectedSkin, availableCharacters]);
|
|
26169
|
+
// Functions to handle confirmation and cancellation
|
|
26170
|
+
var handleConfirm = function handleConfirm() {
|
|
26171
|
+
if (selectedValue) {
|
|
26172
|
+
onConfirm(selectedValue.id);
|
|
26173
|
+
onClose();
|
|
26174
|
+
}
|
|
26175
|
+
};
|
|
26176
|
+
var handleCancel = function handleCancel() {
|
|
26177
|
+
onClose();
|
|
26178
|
+
};
|
|
26179
|
+
if (!isOpen) return null;
|
|
26180
|
+
return React__default.createElement(Container$5, null, selectedSpriteKey && atlasIMG && atlasJSON && React__default.createElement(ErrorBoundary, null, React__default.createElement(SpriteFromAtlas, {
|
|
26181
|
+
spriteKey: selectedSpriteKey,
|
|
26182
|
+
atlasIMG: atlasIMG,
|
|
26183
|
+
atlasJSON: atlasJSON,
|
|
26184
|
+
imgScale: 4,
|
|
26185
|
+
height: 80,
|
|
26186
|
+
width: 64,
|
|
26187
|
+
containerStyle: {
|
|
26188
|
+
display: 'flex',
|
|
26189
|
+
alignItems: 'center',
|
|
26190
|
+
paddingBottom: '15px'
|
|
26191
|
+
},
|
|
26192
|
+
imgStyle: {
|
|
26193
|
+
left: '22px'
|
|
26194
|
+
}
|
|
26195
|
+
})), React__default.createElement(PropertySelect, {
|
|
26196
|
+
availableProperties: propertySelectValues,
|
|
26197
|
+
onChange: function onChange(value) {
|
|
26198
|
+
setSelectedValue(value);
|
|
26199
|
+
}
|
|
26200
|
+
}), React__default.createElement(ButtonsContainer, null, React__default.createElement(Button, {
|
|
26201
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
26202
|
+
onClick: handleCancel
|
|
26203
|
+
}, "Cancel"), React__default.createElement(Button, {
|
|
26204
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
26205
|
+
onClick: handleConfirm,
|
|
26206
|
+
disabled: !selectedValue
|
|
26207
|
+
}, "Confirm")));
|
|
26208
|
+
};
|
|
26209
|
+
// Styled components
|
|
26210
|
+
var Container$5 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26211
|
+
displayName: "CharacterSkinSelectionModal__Container",
|
|
26212
|
+
componentId: "sc-qsroao-0"
|
|
26213
|
+
})(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
|
|
26214
|
+
var ButtonsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26215
|
+
displayName: "CharacterSkinSelectionModal__ButtonsContainer",
|
|
26216
|
+
componentId: "sc-qsroao-1"
|
|
26217
|
+
})(["display:flex;justify-content:center;gap:0.8rem;width:100%;margin:3rem 0 0.75rem;button{min-width:95px;font-size:0.9rem;}"]);
|
|
26218
|
+
|
|
26122
26219
|
var Chat = function Chat(_ref) {
|
|
26123
26220
|
var chatMessages = _ref.chatMessages,
|
|
26124
26221
|
onSendChatMessage = _ref.onSendChatMessage,
|
|
@@ -26263,13 +26360,13 @@ var RPGUIContainer = function RPGUIContainer(_ref) {
|
|
|
26263
26360
|
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
26264
26361
|
height = _ref.height,
|
|
26265
26362
|
className = _ref.className;
|
|
26266
|
-
return React__default.createElement(Container$
|
|
26363
|
+
return React__default.createElement(Container$6, {
|
|
26267
26364
|
width: width,
|
|
26268
26365
|
height: height || 'auto',
|
|
26269
26366
|
className: "rpgui-container " + type + " " + className
|
|
26270
26367
|
}, children);
|
|
26271
26368
|
};
|
|
26272
|
-
var Container$
|
|
26369
|
+
var Container$6 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26273
26370
|
displayName: "RPGUIContainer__Container",
|
|
26274
26371
|
componentId: "sc-a7heha-0"
|
|
26275
26372
|
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
|
|
@@ -26341,7 +26438,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
|
26341
26438
|
}, onRenderMessageLines(emitter, createdAt, message));
|
|
26342
26439
|
}) : React__default.createElement(MessageText, null, "No messages available.");
|
|
26343
26440
|
};
|
|
26344
|
-
return React__default.createElement(Container$
|
|
26441
|
+
return React__default.createElement(Container$7, null, React__default.createElement(CustomContainer, {
|
|
26345
26442
|
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
26346
26443
|
width: width,
|
|
26347
26444
|
height: height,
|
|
@@ -26379,7 +26476,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
|
26379
26476
|
id: "chat-send-button"
|
|
26380
26477
|
}, "Send"))))));
|
|
26381
26478
|
};
|
|
26382
|
-
var Container$
|
|
26479
|
+
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26383
26480
|
displayName: "ChatDeprecated__Container",
|
|
26384
26481
|
componentId: "sc-fuuod3-0"
|
|
26385
26482
|
})(["position:relative;"]);
|
|
@@ -27168,7 +27265,7 @@ var CircularController = function CircularController(_ref) {
|
|
|
27168
27265
|
return word[0];
|
|
27169
27266
|
})));
|
|
27170
27267
|
};
|
|
27171
|
-
return React__default.createElement(ButtonsContainer, null, React__default.createElement(ShortcutsContainer, null, Array.from({
|
|
27268
|
+
return React__default.createElement(ButtonsContainer$1, null, React__default.createElement(ShortcutsContainer, null, Array.from({
|
|
27172
27269
|
length: 12
|
|
27173
27270
|
}).map(function (_, i) {
|
|
27174
27271
|
return renderShortcut(i);
|
|
@@ -27190,7 +27287,7 @@ var CancelButton = /*#__PURE__*/styled__default(Button$1).withConfig({
|
|
|
27190
27287
|
displayName: "CircularController__CancelButton",
|
|
27191
27288
|
componentId: "sc-1fewf3h-1"
|
|
27192
27289
|
})(["width:3rem;height:3rem;font-size:0.8rem;position:relative;left:2.6rem;span{margin-top:4px;margin-left:2px;pointer-events:none;}"]);
|
|
27193
|
-
var ButtonsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
27290
|
+
var ButtonsContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27194
27291
|
displayName: "CircularController__ButtonsContainer",
|
|
27195
27292
|
componentId: "sc-1fewf3h-2"
|
|
27196
27293
|
})(["display:flex;align-items:center;justify-content:center;gap:0.5rem;scale:0.9;"]);
|
|
@@ -27346,7 +27443,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27346
27443
|
},
|
|
27347
27444
|
defaultPosition: initialPosition,
|
|
27348
27445
|
scale: scale
|
|
27349
|
-
}, React__default.createElement(Container$
|
|
27446
|
+
}, React__default.createElement(Container$8, {
|
|
27350
27447
|
ref: draggableRef,
|
|
27351
27448
|
width: width,
|
|
27352
27449
|
height: height || 'auto',
|
|
@@ -27365,7 +27462,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27365
27462
|
onPointerDown: onCloseButton
|
|
27366
27463
|
}, "X"), children));
|
|
27367
27464
|
};
|
|
27368
|
-
var Container$
|
|
27465
|
+
var Container$8 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27369
27466
|
displayName: "DraggableContainer__Container",
|
|
27370
27467
|
componentId: "sc-184mpyl-0"
|
|
27371
27468
|
})(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
@@ -27445,7 +27542,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
27445
27542
|
onChange(selectedValue);
|
|
27446
27543
|
}
|
|
27447
27544
|
}, [selectedValue]);
|
|
27448
|
-
return React__default.createElement(Container$
|
|
27545
|
+
return React__default.createElement(Container$9, {
|
|
27449
27546
|
onMouseLeave: function onMouseLeave() {
|
|
27450
27547
|
return setOpened(false);
|
|
27451
27548
|
},
|
|
@@ -27474,7 +27571,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
27474
27571
|
}, option.option);
|
|
27475
27572
|
})));
|
|
27476
27573
|
};
|
|
27477
|
-
var Container$
|
|
27574
|
+
var Container$9 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27478
27575
|
displayName: "Dropdown__Container",
|
|
27479
27576
|
componentId: "sc-8arn65-0"
|
|
27480
27577
|
})(["position:relative;width:", ";max-height:", "px;"], function (props) {
|
|
@@ -27500,11 +27597,11 @@ var DropdownOptions$1 = /*#__PURE__*/styled__default.ul.withConfig({
|
|
|
27500
27597
|
var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
|
|
27501
27598
|
var ModalPortal = function ModalPortal(_ref) {
|
|
27502
27599
|
var children = _ref.children;
|
|
27503
|
-
return ReactDOM__default.createPortal(React__default.createElement(Container$
|
|
27600
|
+
return ReactDOM__default.createPortal(React__default.createElement(Container$a, {
|
|
27504
27601
|
className: "rpgui-content"
|
|
27505
27602
|
}, children), modalRoot);
|
|
27506
27603
|
};
|
|
27507
|
-
var Container$
|
|
27604
|
+
var Container$a = /*#__PURE__*/styled__default.div.withConfig({
|
|
27508
27605
|
displayName: "ModalPortal__Container",
|
|
27509
27606
|
componentId: "sc-dgmp04-0"
|
|
27510
27607
|
})(["position:static !important;"]);
|
|
@@ -28224,7 +28321,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
28224
28321
|
});
|
|
28225
28322
|
}
|
|
28226
28323
|
};
|
|
28227
|
-
return React__default.createElement(Container$
|
|
28324
|
+
return React__default.createElement(Container$b, {
|
|
28228
28325
|
isDraggingItem: !!draggingState.item,
|
|
28229
28326
|
item: item,
|
|
28230
28327
|
className: "rpgui-icon empty-slot",
|
|
@@ -28288,7 +28385,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
28288
28385
|
containerType: containerType
|
|
28289
28386
|
}))));
|
|
28290
28387
|
});
|
|
28291
|
-
var Container$
|
|
28388
|
+
var Container$b = /*#__PURE__*/styled__default.div.withConfig({
|
|
28292
28389
|
displayName: "ItemSlot__Container",
|
|
28293
28390
|
componentId: "sc-l2j5ef-0"
|
|
28294
28391
|
})(["margin:0.1rem;.react-draggable-dragging{opacity:", ";}position:relative;.sprite-from-atlas-img--item{position:relative;top:1.5rem;left:1.5rem;border-color:", ";box-shadow:", " inset,", ";}.quality-star{position:absolute;top:0.5rem;left:0.5rem;font-size:1.2rem;z-index:2;text-shadow:0 0 3px black;pointer-events:none;color:", ";}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-radius:12px;pointer-events:none;animation:", ";@keyframes bg-color-change{0%{background-color:rgba(255 255 255 / 0.5);}50%{background-color:transparent;}100%{background-color:rgba(255 255 255 / 0.5);}}}"], function (_ref2) {
|
|
@@ -28407,7 +28504,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28407
28504
|
});
|
|
28408
28505
|
};
|
|
28409
28506
|
var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
|
|
28410
|
-
return React__default.createElement(Container$
|
|
28507
|
+
return React__default.createElement(Container$c, {
|
|
28411
28508
|
item: item
|
|
28412
28509
|
}, React__default.createElement(Header, null, React__default.createElement("div", null, React__default.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React__default.createElement(Rarity, {
|
|
28413
28510
|
item: item
|
|
@@ -28421,7 +28518,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28421
28518
|
"$isSpecial": true
|
|
28422
28519
|
}, "Two handed"), React__default.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React__default.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React__default.createElement(MissingStatistics, null, React__default.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
|
|
28423
28520
|
};
|
|
28424
|
-
var Container$
|
|
28521
|
+
var Container$c = /*#__PURE__*/styled__default.div.withConfig({
|
|
28425
28522
|
displayName: "ItemInfo__Container",
|
|
28426
28523
|
componentId: "sc-1xm4q8k-0"
|
|
28427
28524
|
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";box-shadow:", ";height:max-content;width:18rem;position:relative;@media (max-width:640px){width:80vw;}"], uiFonts.size.small, function (_ref2) {
|
|
@@ -28570,7 +28667,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28570
28667
|
}
|
|
28571
28668
|
return;
|
|
28572
28669
|
}, []);
|
|
28573
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
28670
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$d, {
|
|
28574
28671
|
ref: ref
|
|
28575
28672
|
}, React__default.createElement(ItemInfoDisplay, {
|
|
28576
28673
|
item: item,
|
|
@@ -28579,7 +28676,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28579
28676
|
equipmentSet: equipmentSet
|
|
28580
28677
|
})));
|
|
28581
28678
|
};
|
|
28582
|
-
var Container$
|
|
28679
|
+
var Container$d = /*#__PURE__*/styled__default.div.withConfig({
|
|
28583
28680
|
displayName: "ItemTooltip__Container",
|
|
28584
28681
|
componentId: "sc-11d9r7x-0"
|
|
28585
28682
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -28599,7 +28696,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
28599
28696
|
var _ref$current;
|
|
28600
28697
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
28601
28698
|
};
|
|
28602
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
28699
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$e, {
|
|
28603
28700
|
ref: ref,
|
|
28604
28701
|
onTouchEnd: function onTouchEnd() {
|
|
28605
28702
|
handleFadeOut();
|
|
@@ -28627,7 +28724,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
28627
28724
|
}, option.text);
|
|
28628
28725
|
}))));
|
|
28629
28726
|
};
|
|
28630
|
-
var Container$
|
|
28727
|
+
var Container$e = /*#__PURE__*/styled__default.div.withConfig({
|
|
28631
28728
|
displayName: "MobileItemTooltip__Container",
|
|
28632
28729
|
componentId: "sc-ku4p1j-0"
|
|
28633
28730
|
})(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:640px){flex-direction:column;}"]);
|
|
@@ -29331,7 +29428,7 @@ var DailyRewardsTooltip = function DailyRewardsTooltip(_ref) {
|
|
|
29331
29428
|
}), React__default.createElement(ItemContent, null, React__default.createElement(RewardLabel, null, React__default.createElement(Ellipsis, {
|
|
29332
29429
|
maxWidth: "100%",
|
|
29333
29430
|
maxLines: 2
|
|
29334
|
-
}, formatTaskKey((_reward$key = reward.key) != null ? _reward$key :
|
|
29431
|
+
}, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : reward.type), ":"))), React__default.createElement(RewardValue, null, "x", reward.quantity));
|
|
29335
29432
|
}))));
|
|
29336
29433
|
};
|
|
29337
29434
|
var TooltipContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
@@ -29379,7 +29476,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
|
|
|
29379
29476
|
var labelLeft = _ref.labelLeft,
|
|
29380
29477
|
labelRight = _ref.labelRight,
|
|
29381
29478
|
checked = _ref.checked;
|
|
29382
|
-
return React__default.createElement(Container$
|
|
29479
|
+
return React__default.createElement(Container$f, null, labelLeft && React__default.createElement(Label, null, labelLeft), React__default.createElement("div", {
|
|
29383
29480
|
className: "rpgui-checkbox-container"
|
|
29384
29481
|
}, React__default.createElement(CheckBox, {
|
|
29385
29482
|
className: "rpgui-checkbox",
|
|
@@ -29390,7 +29487,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
|
|
|
29390
29487
|
isRight: true
|
|
29391
29488
|
}, labelRight));
|
|
29392
29489
|
};
|
|
29393
|
-
var Container$
|
|
29490
|
+
var Container$f = /*#__PURE__*/styled__default.div.withConfig({
|
|
29394
29491
|
displayName: "ReadOnlyCheckItem__Container",
|
|
29395
29492
|
componentId: "sc-1peplf9-0"
|
|
29396
29493
|
})(["display:flex;align-items:center;width:100%;height:20px;"]);
|
|
@@ -29431,7 +29528,7 @@ var TaskProgressDetails = function TaskProgressDetails(_ref) {
|
|
|
29431
29528
|
value = _ref3[1];
|
|
29432
29529
|
return React__default.createElement(ProgressItem, {
|
|
29433
29530
|
key: index
|
|
29434
|
-
}, React__default.createElement("span", null, key, ":"), React__default.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
|
|
29531
|
+
}, React__default.createElement("span", null, formatTaskKey(key), ":"), React__default.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
|
|
29435
29532
|
return t.key === key;
|
|
29436
29533
|
})) == null ? void 0 : _task$requirements$ta2.quantity) || 0));
|
|
29437
29534
|
});
|
|
@@ -29707,7 +29804,7 @@ var DailyTasks = function DailyTasks(_ref) {
|
|
|
29707
29804
|
scale: scale,
|
|
29708
29805
|
width: size.width,
|
|
29709
29806
|
height: size.height
|
|
29710
|
-
}, React__default.createElement(TaskTitle$1, null, "Daily Tasks"), React__default.createElement(Container$
|
|
29807
|
+
}, React__default.createElement(TaskTitle$1, null, "Daily Tasks"), React__default.createElement(Container$g, null, React__default.createElement(TasksList, {
|
|
29711
29808
|
className: "tasks-container"
|
|
29712
29809
|
}, React__default.createElement(GlobalDailyProgress, {
|
|
29713
29810
|
tasks: localTasks,
|
|
@@ -29729,7 +29826,7 @@ var TasksContainer = /*#__PURE__*/styled__default(DraggableContainer).withConfig
|
|
|
29729
29826
|
displayName: "DailyTasks__TasksContainer",
|
|
29730
29827
|
componentId: "sc-ittn77-0"
|
|
29731
29828
|
})(["min-width:450px;max-width:550px;margin:0 auto;.rpgui-container-title{width:100%;display:flex;justify-content:center;align-items:center;text-align:center;}.rpgui-container{padding:0 !important;overflow:hidden !important;background-color:rgba(30,30,30,0.9) !important;}"]);
|
|
29732
|
-
var Container$
|
|
29829
|
+
var Container$g = /*#__PURE__*/styled__default.div.withConfig({
|
|
29733
29830
|
displayName: "DailyTasks__Container",
|
|
29734
29831
|
componentId: "sc-ittn77-1"
|
|
29735
29832
|
})(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow-y:auto;box-sizing:border-box;@media (min-width:320px){padding:0.25rem;}@media (min-width:360px){padding:0.5rem;}@media (min-width:480px){padding:0.75rem;}"]);
|
|
@@ -30101,7 +30198,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
30101
30198
|
var centeredX = x - OFFSET$1;
|
|
30102
30199
|
var centeredY = y - OFFSET$1;
|
|
30103
30200
|
var stackInfo = onRenderStackInfo((_item$_id = item == null ? void 0 : item._id) != null ? _item$_id : '', (_item$stackQty = item == null ? void 0 : item.stackQty) != null ? _item$stackQty : 0);
|
|
30104
|
-
return React__default.createElement(Container$
|
|
30201
|
+
return React__default.createElement(Container$h, null, React__default.createElement(SpriteContainer, {
|
|
30105
30202
|
x: centeredX,
|
|
30106
30203
|
y: centeredY
|
|
30107
30204
|
}, React__default.createElement(SpriteFromAtlas, {
|
|
@@ -30119,7 +30216,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
30119
30216
|
}), stackInfo));
|
|
30120
30217
|
};
|
|
30121
30218
|
var pulse = "\n @keyframes pulse {\n 0%, 100% {\n transform: scale(1) rotate(-3deg);\n }\n 50% {\n transform: scale(0.95) rotate(-3deg);\n }\n }\n";
|
|
30122
|
-
var Container$
|
|
30219
|
+
var Container$h = /*#__PURE__*/styled__default.div.withConfig({
|
|
30123
30220
|
displayName: "DraggedItem__Container",
|
|
30124
30221
|
componentId: "sc-mlzzcp-0"
|
|
30125
30222
|
})(["position:relative;"]);
|
|
@@ -30157,7 +30254,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
30157
30254
|
document.removeEventListener('clickOutside', function (_e) {});
|
|
30158
30255
|
};
|
|
30159
30256
|
}, []);
|
|
30160
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
30257
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$i, Object.assign({
|
|
30161
30258
|
fontSize: fontSize,
|
|
30162
30259
|
ref: ref
|
|
30163
30260
|
}, pos), React__default.createElement("ul", {
|
|
@@ -30174,7 +30271,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
30174
30271
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
30175
30272
|
}))));
|
|
30176
30273
|
};
|
|
30177
|
-
var Container$
|
|
30274
|
+
var Container$i = /*#__PURE__*/styled__default.div.withConfig({
|
|
30178
30275
|
displayName: "RelativeListMenu__Container",
|
|
30179
30276
|
componentId: "sc-7hohf-0"
|
|
30180
30277
|
})(["position:absolute;top:", "px;left:", "px;display:flex;flex-direction:column;width:max-content;justify-content:start;align-items:flex-start;li{font-size:", "em;}"], function (props) {
|
|
@@ -30448,7 +30545,7 @@ var SearchFriend = function SearchFriend(_ref) {
|
|
|
30448
30545
|
title: "Requests (" + friendRequests.length + ")",
|
|
30449
30546
|
content: requestsTabContent
|
|
30450
30547
|
}];
|
|
30451
|
-
return React__default.createElement(Container$
|
|
30548
|
+
return React__default.createElement(Container$j, null, React__default.createElement(InternalTabs, {
|
|
30452
30549
|
tabs: tabs,
|
|
30453
30550
|
activeTextColor: "#000",
|
|
30454
30551
|
inactiveColor: "#777",
|
|
@@ -30490,7 +30587,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
|
|
|
30490
30587
|
}, "Reject")));
|
|
30491
30588
|
})));
|
|
30492
30589
|
};
|
|
30493
|
-
var Container$
|
|
30590
|
+
var Container$j = /*#__PURE__*/styled__default.div.withConfig({
|
|
30494
30591
|
displayName: "SearchFriend__Container",
|
|
30495
30592
|
componentId: "sc-1lt1ols-0"
|
|
30496
30593
|
})(["display:flex;flex-direction:column;gap:1rem;"]);
|
|
@@ -30693,7 +30790,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
30693
30790
|
var _useState2 = React.useState(false),
|
|
30694
30791
|
showGoNextIndicator = _useState2[0],
|
|
30695
30792
|
setShowGoNextIndicator = _useState2[1];
|
|
30696
|
-
return React__default.createElement(Container$
|
|
30793
|
+
return React__default.createElement(Container$k, null, React__default.createElement(DynamicText, {
|
|
30697
30794
|
text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
|
|
30698
30795
|
onFinish: function onFinish() {
|
|
30699
30796
|
setShowGoNextIndicator(true);
|
|
@@ -30711,7 +30808,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
30711
30808
|
}
|
|
30712
30809
|
}));
|
|
30713
30810
|
};
|
|
30714
|
-
var Container$
|
|
30811
|
+
var Container$k = /*#__PURE__*/styled__default.div.withConfig({
|
|
30715
30812
|
displayName: "NPCDialogText__Container",
|
|
30716
30813
|
componentId: "sc-1cxkdh9-0"
|
|
30717
30814
|
})([""]);
|
|
@@ -30863,7 +30960,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
30863
30960
|
return null;
|
|
30864
30961
|
});
|
|
30865
30962
|
};
|
|
30866
|
-
return React__default.createElement(Container$
|
|
30963
|
+
return React__default.createElement(Container$l, null, React__default.createElement(QuestionContainer, null, React__default.createElement(DynamicText, {
|
|
30867
30964
|
text: currentQuestion.text,
|
|
30868
30965
|
onStart: function onStart() {
|
|
30869
30966
|
return setCanShowAnswers(false);
|
|
@@ -30873,7 +30970,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
30873
30970
|
}
|
|
30874
30971
|
})), canShowAnswers && React__default.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
|
|
30875
30972
|
};
|
|
30876
|
-
var Container$
|
|
30973
|
+
var Container$l = /*#__PURE__*/styled__default.div.withConfig({
|
|
30877
30974
|
displayName: "QuestionDialog__Container",
|
|
30878
30975
|
componentId: "sc-bxc5u0-0"
|
|
30879
30976
|
})(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
|
|
@@ -30933,7 +31030,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
30933
31030
|
}
|
|
30934
31031
|
})), type === exports.NPCDialogType.TextAndThumbnail && React__default.createElement(ThumbnailContainer, null, React__default.createElement(NPCThumbnail, {
|
|
30935
31032
|
src: imagePath || img$7
|
|
30936
|
-
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
31033
|
+
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$m, null, React__default.createElement(CloseIcon, {
|
|
30937
31034
|
onPointerDown: _onClose
|
|
30938
31035
|
}, "X"), React__default.createElement(TextContainer$1, {
|
|
30939
31036
|
flex: type === exports.NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|
|
@@ -30949,7 +31046,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
30949
31046
|
src: imagePath || img$7
|
|
30950
31047
|
})))));
|
|
30951
31048
|
};
|
|
30952
|
-
var Container$
|
|
31049
|
+
var Container$m = /*#__PURE__*/styled__default.div.withConfig({
|
|
30953
31050
|
displayName: "NPCDialog__Container",
|
|
30954
31051
|
componentId: "sc-1b4aw74-0"
|
|
30955
31052
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -31009,7 +31106,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
31009
31106
|
type: exports.RPGUIContainerTypes.FramedGold,
|
|
31010
31107
|
width: '50%',
|
|
31011
31108
|
height: '180px'
|
|
31012
|
-
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
31109
|
+
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$n, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React__default.createElement(React__default.Fragment, null, React__default.createElement(TextContainer$2, {
|
|
31013
31110
|
flex: '70%'
|
|
31014
31111
|
}, React__default.createElement(NPCDialogText, {
|
|
31015
31112
|
onStartStep: function onStartStep() {
|
|
@@ -31051,7 +31148,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
31051
31148
|
src: img$6
|
|
31052
31149
|
}))), ")"));
|
|
31053
31150
|
};
|
|
31054
|
-
var Container$
|
|
31151
|
+
var Container$n = /*#__PURE__*/styled__default.div.withConfig({
|
|
31055
31152
|
displayName: "NPCMultiDialog__Container",
|
|
31056
31153
|
componentId: "sc-rvu5wg-0"
|
|
31057
31154
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -31483,7 +31580,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
31483
31580
|
totalPages = _ref.totalPages,
|
|
31484
31581
|
onPageChange = _ref.onPageChange,
|
|
31485
31582
|
className = _ref.className;
|
|
31486
|
-
return React__default.createElement(Container$
|
|
31583
|
+
return React__default.createElement(Container$o, {
|
|
31487
31584
|
className: className
|
|
31488
31585
|
}, React__default.createElement(PaginationButton$1, {
|
|
31489
31586
|
onClick: function onClick() {
|
|
@@ -31501,7 +31598,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
31501
31598
|
size: 12
|
|
31502
31599
|
})));
|
|
31503
31600
|
};
|
|
31504
|
-
var Container$
|
|
31601
|
+
var Container$o = /*#__PURE__*/styled__default.div.withConfig({
|
|
31505
31602
|
displayName: "Pagination__Container",
|
|
31506
31603
|
componentId: "sc-3k4m4u-0"
|
|
31507
31604
|
})(["display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;"]);
|
|
@@ -31527,7 +31624,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
31527
31624
|
className = _ref.className,
|
|
31528
31625
|
rightElement = _ref.rightElement;
|
|
31529
31626
|
var hasRightElement = Boolean(rightElement);
|
|
31530
|
-
return React__default.createElement(Container$
|
|
31627
|
+
return React__default.createElement(Container$p, {
|
|
31531
31628
|
className: className
|
|
31532
31629
|
}, React__default.createElement(Input$1, {
|
|
31533
31630
|
type: "text",
|
|
@@ -31540,7 +31637,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
31540
31637
|
"$hasRightElement": hasRightElement
|
|
31541
31638
|
}), React__default.createElement(IconContainer, null, React__default.createElement(SearchIcon, null), rightElement));
|
|
31542
31639
|
};
|
|
31543
|
-
var Container$
|
|
31640
|
+
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
31544
31641
|
displayName: "SearchBar__Container",
|
|
31545
31642
|
componentId: "sc-13n8z02-0"
|
|
31546
31643
|
})(["position:relative;width:100%;"]);
|
|
@@ -31648,7 +31745,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
|
|
|
31648
31745
|
setCurrentPage = _usePagination.setCurrentPage,
|
|
31649
31746
|
paginatedItems = _usePagination.paginatedItems,
|
|
31650
31747
|
totalPages = _usePagination.totalPages;
|
|
31651
|
-
return React__default.createElement(Container$
|
|
31748
|
+
return React__default.createElement(Container$q, {
|
|
31652
31749
|
className: className
|
|
31653
31750
|
}, (searchOptions || filterOptions) && React__default.createElement(SearchHeader, {
|
|
31654
31751
|
searchOptions: searchOptions,
|
|
@@ -31670,7 +31767,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
|
|
|
31670
31767
|
onPageChange: setCurrentPage
|
|
31671
31768
|
}))));
|
|
31672
31769
|
};
|
|
31673
|
-
var Container$
|
|
31770
|
+
var Container$q = /*#__PURE__*/styled__default.div.withConfig({
|
|
31674
31771
|
displayName: "PaginatedContent__Container",
|
|
31675
31772
|
componentId: "sc-lzp9hn-0"
|
|
31676
31773
|
})(["display:flex;flex-direction:column;gap:0.5rem;min-height:400px;width:100%;"]);
|
|
@@ -31792,7 +31889,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31792
31889
|
atlasIMG = _ref.atlasIMG,
|
|
31793
31890
|
onBack = _ref.onBack,
|
|
31794
31891
|
children = _ref.children;
|
|
31795
|
-
return React__default.createElement(Container$
|
|
31892
|
+
return React__default.createElement(Container$r, null, React__default.createElement(Overlay, {
|
|
31796
31893
|
onClick: onBack
|
|
31797
31894
|
}), React__default.createElement(Modal, null, React__default.createElement(CloseButton$5, {
|
|
31798
31895
|
onClick: onBack
|
|
@@ -31805,7 +31902,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31805
31902
|
imgScale: 1
|
|
31806
31903
|
})), React__default.createElement(Title$3, null, name)), React__default.createElement(Content$1, null, children)));
|
|
31807
31904
|
};
|
|
31808
|
-
var Container$
|
|
31905
|
+
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
31809
31906
|
displayName: "BaseInformationDetails__Container",
|
|
31810
31907
|
componentId: "sc-1vguuz8-0"
|
|
31811
31908
|
})(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:9999;"]);
|
|
@@ -31847,7 +31944,7 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
31847
31944
|
var _useState = React.useState(defaultOpen),
|
|
31848
31945
|
isOpen = _useState[0],
|
|
31849
31946
|
setIsOpen = _useState[1];
|
|
31850
|
-
return React__default.createElement(Container$
|
|
31947
|
+
return React__default.createElement(Container$s, {
|
|
31851
31948
|
className: className
|
|
31852
31949
|
}, React__default.createElement(Header$2, {
|
|
31853
31950
|
onClick: function onClick() {
|
|
@@ -31855,7 +31952,7 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
31855
31952
|
}
|
|
31856
31953
|
}, React__default.createElement(Title$4, null, title), React__default.createElement(Icon$1, null, isOpen ? React__default.createElement(fa.FaChevronUp, null) : React__default.createElement(fa.FaChevronDown, null))), isOpen && React__default.createElement(Content$2, null, children));
|
|
31857
31954
|
};
|
|
31858
|
-
var Container$
|
|
31955
|
+
var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
31859
31956
|
displayName: "Collapsible__Container",
|
|
31860
31957
|
componentId: "sc-s4h8ey-0"
|
|
31861
31958
|
})(["background:rgba(0,0,0,0.3);border-radius:4px;overflow:hidden;border:1px solid ", ";"], uiColors.darkGray);
|
|
@@ -32185,7 +32282,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
|
|
|
32185
32282
|
onClose();
|
|
32186
32283
|
}
|
|
32187
32284
|
};
|
|
32188
|
-
return React__default.createElement(Container$
|
|
32285
|
+
return React__default.createElement(Container$t, null, React__default.createElement(FilterButton, {
|
|
32189
32286
|
onClick: onToggle,
|
|
32190
32287
|
"$hasActiveFilters": hasActiveFilters,
|
|
32191
32288
|
ref: buttonRef
|
|
@@ -32216,7 +32313,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
|
|
|
32216
32313
|
onClick: onClearAll
|
|
32217
32314
|
}, "Clear All Filters"))));
|
|
32218
32315
|
};
|
|
32219
|
-
var Container$
|
|
32316
|
+
var Container$t = /*#__PURE__*/styled__default.div.withConfig({
|
|
32220
32317
|
displayName: "AdvancedFilters__Container",
|
|
32221
32318
|
componentId: "sc-1xj6ldr-0"
|
|
32222
32319
|
})(["position:relative;margin-left:0.5rem;"]);
|
|
@@ -33310,7 +33407,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
33310
33407
|
minWidth: "300px",
|
|
33311
33408
|
cancelDrag: ".PaginatedContent-content",
|
|
33312
33409
|
onCloseButton: onClose
|
|
33313
|
-
}, React__default.createElement(Container$
|
|
33410
|
+
}, React__default.createElement(Container$u, null, React__default.createElement(InternalTabs, {
|
|
33314
33411
|
tabs: tabs,
|
|
33315
33412
|
activeTextColor: "#000000",
|
|
33316
33413
|
activeTab: activeTab,
|
|
@@ -33321,7 +33418,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
33321
33418
|
hoverColor: "#fef3c7"
|
|
33322
33419
|
})));
|
|
33323
33420
|
};
|
|
33324
|
-
var Container$
|
|
33421
|
+
var Container$u = /*#__PURE__*/styled__default.div.withConfig({
|
|
33325
33422
|
displayName: "InformationCenter__Container",
|
|
33326
33423
|
componentId: "sc-1ttl62e-0"
|
|
33327
33424
|
})(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow:hidden;box-sizing:border-box;@media (min-width:320px){padding:0.25rem;}@media (min-width:360px){padding:0.5rem;}@media (min-width:480px){padding:0.75rem;}"]);
|
|
@@ -33492,7 +33589,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
33492
33589
|
}
|
|
33493
33590
|
return null;
|
|
33494
33591
|
};
|
|
33495
|
-
return React__default.createElement(Container$
|
|
33592
|
+
return React__default.createElement(Container$v, null, React__default.createElement("p", null, "Shortcuts:"), React__default.createElement(List, {
|
|
33496
33593
|
id: "shortcuts_list"
|
|
33497
33594
|
}, Array.from({
|
|
33498
33595
|
length: 12
|
|
@@ -33510,7 +33607,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
33510
33607
|
}, getContent(i));
|
|
33511
33608
|
})));
|
|
33512
33609
|
};
|
|
33513
|
-
var Container$
|
|
33610
|
+
var Container$v = /*#__PURE__*/styled__default.div.withConfig({
|
|
33514
33611
|
displayName: "ShortcutsSetter__Container",
|
|
33515
33612
|
componentId: "sc-xuouuf-0"
|
|
33516
33613
|
})(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
|
|
@@ -33954,7 +34051,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
|
33954
34051
|
e.stopPropagation();
|
|
33955
34052
|
onClose();
|
|
33956
34053
|
};
|
|
33957
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$
|
|
34054
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$w, {
|
|
33958
34055
|
onClick: handleClose
|
|
33959
34056
|
}, React__default.createElement(DraggableContainer, {
|
|
33960
34057
|
width: "auto",
|
|
@@ -33977,7 +34074,7 @@ var Background = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
33977
34074
|
displayName: "ConfirmModal__Background",
|
|
33978
34075
|
componentId: "sc-11qkyu1-0"
|
|
33979
34076
|
})(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
|
|
33980
|
-
var Container$
|
|
34077
|
+
var Container$w = /*#__PURE__*/styled__default.div.withConfig({
|
|
33981
34078
|
displayName: "ConfirmModal__Container",
|
|
33982
34079
|
componentId: "sc-11qkyu1-1"
|
|
33983
34080
|
})(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
|
|
@@ -34032,7 +34129,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
34032
34129
|
cancelDrag: ".react-colorful",
|
|
34033
34130
|
width: "25rem",
|
|
34034
34131
|
onCloseButton: onClose
|
|
34035
|
-
}, React__default.createElement(Container$
|
|
34132
|
+
}, React__default.createElement(Container$x, null, React__default.createElement(Header$3, null, "Select Color"), React__default.createElement(ColorPickerWrapper, null, React__default.createElement(reactColorful.HexColorPicker, {
|
|
34036
34133
|
color: currentColor,
|
|
34037
34134
|
onChange: function onChange(color) {
|
|
34038
34135
|
setCurrentColor(color);
|
|
@@ -34048,7 +34145,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
34048
34145
|
onClose: handleClose
|
|
34049
34146
|
}));
|
|
34050
34147
|
};
|
|
34051
|
-
var Container$
|
|
34148
|
+
var Container$x = /*#__PURE__*/styled__default.div.withConfig({
|
|
34052
34149
|
displayName: "ItemPropertyColorSelector__Container",
|
|
34053
34150
|
componentId: "sc-me1r4z-0"
|
|
34054
34151
|
})(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
|
|
@@ -34404,7 +34501,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
34404
34501
|
onSelected = _ref.onSelected,
|
|
34405
34502
|
x = _ref.x,
|
|
34406
34503
|
y = _ref.y;
|
|
34407
|
-
return React__default.createElement(Container$
|
|
34504
|
+
return React__default.createElement(Container$y, {
|
|
34408
34505
|
x: x,
|
|
34409
34506
|
y: y
|
|
34410
34507
|
}, React__default.createElement("ul", {
|
|
@@ -34421,7 +34518,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
34421
34518
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
34422
34519
|
})));
|
|
34423
34520
|
};
|
|
34424
|
-
var Container$
|
|
34521
|
+
var Container$y = /*#__PURE__*/styled__default.div.withConfig({
|
|
34425
34522
|
displayName: "ListMenu__Container",
|
|
34426
34523
|
componentId: "sc-i9097t-0"
|
|
34427
34524
|
})(["display:flex;flex-direction:column;width:100%;justify-content:start;align-items:flex-start;position:absolute;top:", "px;left:", "px;li{font-size:", ";}"], function (props) {
|
|
@@ -34440,7 +34537,7 @@ var Pager = function Pager(_ref) {
|
|
|
34440
34537
|
itemsPerPage = _ref.itemsPerPage,
|
|
34441
34538
|
onPageChange = _ref.onPageChange;
|
|
34442
34539
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
34443
|
-
return React__default.createElement(Container$
|
|
34540
|
+
return React__default.createElement(Container$z, null, React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer, null, React__default.createElement("button", {
|
|
34444
34541
|
disabled: currentPage === 1,
|
|
34445
34542
|
onPointerDown: function onPointerDown() {
|
|
34446
34543
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -34454,7 +34551,7 @@ var Pager = function Pager(_ref) {
|
|
|
34454
34551
|
}
|
|
34455
34552
|
}, '>')));
|
|
34456
34553
|
};
|
|
34457
|
-
var Container$
|
|
34554
|
+
var Container$z = /*#__PURE__*/styled__default.div.withConfig({
|
|
34458
34555
|
displayName: "Pager__Container",
|
|
34459
34556
|
componentId: "sc-1ekmf50-0"
|
|
34460
34557
|
})(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
|
|
@@ -34975,13 +35072,13 @@ var TabBody = function TabBody(_ref) {
|
|
|
34975
35072
|
children = _ref.children,
|
|
34976
35073
|
styles = _ref.styles,
|
|
34977
35074
|
centerContent = _ref.centerContent;
|
|
34978
|
-
return React__default.createElement(Container$
|
|
35075
|
+
return React__default.createElement(Container$A, {
|
|
34979
35076
|
styles: styles,
|
|
34980
35077
|
"data-tab-id": id,
|
|
34981
35078
|
centerContent: centerContent
|
|
34982
35079
|
}, children);
|
|
34983
35080
|
};
|
|
34984
|
-
var Container$
|
|
35081
|
+
var Container$A = /*#__PURE__*/styled__default.div.withConfig({
|
|
34985
35082
|
displayName: "TabBody__Container",
|
|
34986
35083
|
componentId: "sc-196oof2-0"
|
|
34987
35084
|
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
@@ -35633,7 +35730,7 @@ var ProgressBar$1 = function ProgressBar(_ref) {
|
|
|
35633
35730
|
}
|
|
35634
35731
|
return value * 100 / max;
|
|
35635
35732
|
};
|
|
35636
|
-
return React__default.createElement(Container$
|
|
35733
|
+
return React__default.createElement(Container$B, {
|
|
35637
35734
|
className: "rpgui-progress",
|
|
35638
35735
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
35639
35736
|
"data-rpguitype": "progress",
|
|
@@ -35663,7 +35760,7 @@ var TextOverlay$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
35663
35760
|
displayName: "ProgressBar__TextOverlay",
|
|
35664
35761
|
componentId: "sc-qa6fzh-1"
|
|
35665
35762
|
})(["width:100%;position:relative;"]);
|
|
35666
|
-
var Container$
|
|
35763
|
+
var Container$B = /*#__PURE__*/styled__default.div.withConfig({
|
|
35667
35764
|
displayName: "ProgressBar__Container",
|
|
35668
35765
|
componentId: "sc-qa6fzh-2"
|
|
35669
35766
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
|
|
@@ -35904,9 +36001,9 @@ var InputRadio = function InputRadio(_ref) {
|
|
|
35904
36001
|
|
|
35905
36002
|
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
35906
36003
|
var children = _ref.children;
|
|
35907
|
-
return React__default.createElement(Container$
|
|
36004
|
+
return React__default.createElement(Container$C, null, children);
|
|
35908
36005
|
};
|
|
35909
|
-
var Container$
|
|
36006
|
+
var Container$C = /*#__PURE__*/styled__default.div.withConfig({
|
|
35910
36007
|
displayName: "RPGUIScrollbar__Container",
|
|
35911
36008
|
componentId: "sc-p3msmb-0"
|
|
35912
36009
|
})([".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;}"]);
|
|
@@ -36062,7 +36159,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
36062
36159
|
margin = _ref$margin === void 0 ? 20 : _ref$margin;
|
|
36063
36160
|
// Ensure the width is at least 1% if value is greater than 0
|
|
36064
36161
|
var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
|
|
36065
|
-
return React__default.createElement(Container$
|
|
36162
|
+
return React__default.createElement(Container$D, {
|
|
36066
36163
|
className: "simple-progress-bar"
|
|
36067
36164
|
}, React__default.createElement(ProgressBarContainer, {
|
|
36068
36165
|
margin: margin
|
|
@@ -36071,7 +36168,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
36071
36168
|
bgColor: bgColor
|
|
36072
36169
|
}))));
|
|
36073
36170
|
};
|
|
36074
|
-
var Container$
|
|
36171
|
+
var Container$D = /*#__PURE__*/styled__default.div.withConfig({
|
|
36075
36172
|
displayName: "SimpleProgressBar__Container",
|
|
36076
36173
|
componentId: "sc-mbeil3-0"
|
|
36077
36174
|
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
@@ -36404,10 +36501,10 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
36404
36501
|
title: "Social Channels",
|
|
36405
36502
|
width: "500px",
|
|
36406
36503
|
onCloseButton: onClose
|
|
36407
|
-
}, React__default.createElement(Container$
|
|
36504
|
+
}, React__default.createElement(Container$E, null, React__default.createElement(HeaderImage, {
|
|
36408
36505
|
src: img$9,
|
|
36409
36506
|
alt: ""
|
|
36410
|
-
}), React__default.createElement(ButtonsContainer$
|
|
36507
|
+
}), React__default.createElement(ButtonsContainer$2, null, React__default.createElement(MainButtons, null, React__default.createElement(SocialButton$1, {
|
|
36411
36508
|
onClick: handleDiscordClick
|
|
36412
36509
|
}, React__default.createElement(fa.FaDiscord, null), " Discord"), React__default.createElement(SocialButton$1, {
|
|
36413
36510
|
onClick: handleRedditClick
|
|
@@ -36422,7 +36519,7 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
36422
36519
|
onClick: handleWhatsAppClick
|
|
36423
36520
|
}, React__default.createElement(fa.FaWhatsapp, null), " Join WhatsApp")))));
|
|
36424
36521
|
};
|
|
36425
|
-
var Container$
|
|
36522
|
+
var Container$E = /*#__PURE__*/styled__default.div.withConfig({
|
|
36426
36523
|
displayName: "SocialModal__Container",
|
|
36427
36524
|
componentId: "sc-tbjhp9-0"
|
|
36428
36525
|
})(["width:100%;display:flex;flex-direction:column;gap:16px;background-color:#5c4132;position:relative;border-radius:8px;overflow:hidden;&:before,&:after{content:'';position:absolute;left:0;right:0;height:3px;}&:before{bottom:0;background:linear-gradient( to right,#5c4132 0%,#2b1810 2%,#2b1810 98%,#5c4132 100% );}"]);
|
|
@@ -36430,7 +36527,7 @@ var HeaderImage = /*#__PURE__*/styled__default.img.withConfig({
|
|
|
36430
36527
|
displayName: "SocialModal__HeaderImage",
|
|
36431
36528
|
componentId: "sc-tbjhp9-1"
|
|
36432
36529
|
})(["width:100%;height:160px;object-fit:cover;border-bottom:2px solid rgba(0,0,0,0.3);display:block;border-top-left-radius:8px;border-top-right-radius:8px;"]);
|
|
36433
|
-
var ButtonsContainer$
|
|
36530
|
+
var ButtonsContainer$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
36434
36531
|
displayName: "SocialModal__ButtonsContainer",
|
|
36435
36532
|
componentId: "sc-tbjhp9-2"
|
|
36436
36533
|
})(["padding:16px 24px 24px;display:flex;flex-direction:column;gap:16px;"]);
|
|
@@ -36468,7 +36565,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
36468
36565
|
castingType = spell.castingType,
|
|
36469
36566
|
cooldown = spell.cooldown,
|
|
36470
36567
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
36471
|
-
return React__default.createElement(Container$
|
|
36568
|
+
return React__default.createElement(Container$F, null, React__default.createElement(Header$5, null, React__default.createElement("div", null, React__default.createElement(Title$b, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
36472
36569
|
className: "label"
|
|
36473
36570
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
36474
36571
|
className: "value"
|
|
@@ -36494,7 +36591,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
36494
36591
|
className: "value"
|
|
36495
36592
|
}, requiredItem))), React__default.createElement(Description$4, null, description));
|
|
36496
36593
|
};
|
|
36497
|
-
var Container$
|
|
36594
|
+
var Container$F = /*#__PURE__*/styled__default.div.withConfig({
|
|
36498
36595
|
displayName: "SpellInfo__Container",
|
|
36499
36596
|
componentId: "sc-4hbw3q-0"
|
|
36500
36597
|
})(["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);
|
|
@@ -36548,7 +36645,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
36548
36645
|
var _ref$current;
|
|
36549
36646
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
36550
36647
|
};
|
|
36551
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
36648
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$G, {
|
|
36552
36649
|
ref: ref,
|
|
36553
36650
|
onTouchEnd: function onTouchEnd() {
|
|
36554
36651
|
handleFadeOut();
|
|
@@ -36573,7 +36670,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
36573
36670
|
}, option.text);
|
|
36574
36671
|
}))));
|
|
36575
36672
|
};
|
|
36576
|
-
var Container$
|
|
36673
|
+
var Container$G = /*#__PURE__*/styled__default.div.withConfig({
|
|
36577
36674
|
displayName: "MobileSpellTooltip__Container",
|
|
36578
36675
|
componentId: "sc-6p7uvr-0"
|
|
36579
36676
|
})(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:580px){flex-direction:column;}"]);
|
|
@@ -36614,13 +36711,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
|
|
|
36614
36711
|
}
|
|
36615
36712
|
return;
|
|
36616
36713
|
}, []);
|
|
36617
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
36714
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$H, {
|
|
36618
36715
|
ref: ref
|
|
36619
36716
|
}, React__default.createElement(SpellInfoDisplay, {
|
|
36620
36717
|
spell: spell
|
|
36621
36718
|
})));
|
|
36622
36719
|
};
|
|
36623
|
-
var Container$
|
|
36720
|
+
var Container$H = /*#__PURE__*/styled__default.div.withConfig({
|
|
36624
36721
|
displayName: "SpellTooltip__Container",
|
|
36625
36722
|
componentId: "sc-1go0gwg-0"
|
|
36626
36723
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -36693,7 +36790,7 @@ var Spell = function Spell(_ref) {
|
|
|
36693
36790
|
var IMAGE_SCALE = 2;
|
|
36694
36791
|
return React__default.createElement(SpellInfoWrapper, {
|
|
36695
36792
|
spell: spell
|
|
36696
|
-
}, React__default.createElement(Container$
|
|
36793
|
+
}, React__default.createElement(Container$I, {
|
|
36697
36794
|
onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
|
|
36698
36795
|
isSettingShortcut: isSettingShortcut && !disabled,
|
|
36699
36796
|
className: "spell"
|
|
@@ -36712,7 +36809,7 @@ var Spell = function Spell(_ref) {
|
|
|
36712
36809
|
className: "mana"
|
|
36713
36810
|
}, manaCost))));
|
|
36714
36811
|
};
|
|
36715
|
-
var Container$
|
|
36812
|
+
var Container$I = /*#__PURE__*/styled__default.button.withConfig({
|
|
36716
36813
|
displayName: "Spell__Container",
|
|
36717
36814
|
componentId: "sc-j96fa2-0"
|
|
36718
36815
|
})(["display:block;background:none;border:2px solid transparent;border-radius:1rem;width:100%;display:flex;gap:1rem;align-items:center;padding:0 1rem;text-align:left;position:relative;animation:", ";@keyframes border-color-change{0%{border-color:", ";}50%{border-color:transparent;}100%{border-color:", ";}}&:hover,&:focus{background-color:", ";}&:active{background:none;}"], function (_ref2) {
|
|
@@ -36791,7 +36888,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
36791
36888
|
height: "inherit",
|
|
36792
36889
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
36793
36890
|
scale: scale
|
|
36794
|
-
}, React__default.createElement(Container$
|
|
36891
|
+
}, React__default.createElement(Container$J, null, React__default.createElement(Title$d, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
36795
36892
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
36796
36893
|
settingShortcutIndex: settingShortcutIndex,
|
|
36797
36894
|
shortcuts: shortcuts,
|
|
@@ -36827,7 +36924,7 @@ var Title$d = /*#__PURE__*/styled__default.h1.withConfig({
|
|
|
36827
36924
|
displayName: "Spellbook__Title",
|
|
36828
36925
|
componentId: "sc-r02nfq-0"
|
|
36829
36926
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
36830
|
-
var Container$
|
|
36927
|
+
var Container$J = /*#__PURE__*/styled__default.div.withConfig({
|
|
36831
36928
|
displayName: "Spellbook__Container",
|
|
36832
36929
|
componentId: "sc-r02nfq-1"
|
|
36833
36930
|
})(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
|
|
@@ -37309,7 +37406,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
37309
37406
|
width: "500px",
|
|
37310
37407
|
cancelDrag: "#TraderContainer",
|
|
37311
37408
|
scale: scale
|
|
37312
|
-
}, React__default.createElement(Container$
|
|
37409
|
+
}, React__default.createElement(Container$K, null, React__default.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React__default.createElement("hr", {
|
|
37313
37410
|
className: "golden"
|
|
37314
37411
|
}), React__default.createElement(ScrollWrapper, {
|
|
37315
37412
|
id: "TraderContainer"
|
|
@@ -37337,7 +37434,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
37337
37434
|
onPointerDown: onClose
|
|
37338
37435
|
}, "Cancel"))));
|
|
37339
37436
|
};
|
|
37340
|
-
var Container$
|
|
37437
|
+
var Container$K = /*#__PURE__*/styled__default.div.withConfig({
|
|
37341
37438
|
displayName: "TradingMenu__Container",
|
|
37342
37439
|
componentId: "sc-1wjsz1l-0"
|
|
37343
37440
|
})(["width:100%;"]);
|
|
@@ -37371,11 +37468,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
37371
37468
|
var _ref$maxLines = _ref.maxLines,
|
|
37372
37469
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
37373
37470
|
children = _ref.children;
|
|
37374
|
-
return React__default.createElement(Container$
|
|
37471
|
+
return React__default.createElement(Container$L, {
|
|
37375
37472
|
maxLines: maxLines
|
|
37376
37473
|
}, children);
|
|
37377
37474
|
};
|
|
37378
|
-
var Container$
|
|
37475
|
+
var Container$L = /*#__PURE__*/styled__default.div.withConfig({
|
|
37379
37476
|
displayName: "Truncate__Container",
|
|
37380
37477
|
componentId: "sc-6x00qb-0"
|
|
37381
37478
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -37483,7 +37580,7 @@ var TutorialStepper = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
37483
37580
|
};
|
|
37484
37581
|
});
|
|
37485
37582
|
}, [lessons, imageStyle]);
|
|
37486
|
-
return React__default.createElement(Container$
|
|
37583
|
+
return React__default.createElement(Container$M, null, React__default.createElement(Stepper, {
|
|
37487
37584
|
steps: generateLessons,
|
|
37488
37585
|
finalCTAButton: {
|
|
37489
37586
|
label: 'Close',
|
|
@@ -37500,7 +37597,7 @@ var LessonBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37500
37597
|
displayName: "TutorialStepper__LessonBody",
|
|
37501
37598
|
componentId: "sc-7tgzv2-1"
|
|
37502
37599
|
})([""]);
|
|
37503
|
-
var Container$
|
|
37600
|
+
var Container$M = /*#__PURE__*/styled__default.div.withConfig({
|
|
37504
37601
|
displayName: "TutorialStepper__Container",
|
|
37505
37602
|
componentId: "sc-7tgzv2-2"
|
|
37506
37603
|
})(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
|
|
@@ -37525,6 +37622,7 @@ exports.ActionButtons = ActionButtons;
|
|
|
37525
37622
|
exports.AsyncDropdown = AsyncDropdown;
|
|
37526
37623
|
exports.Button = Button;
|
|
37527
37624
|
exports.CharacterSelection = CharacterSelection;
|
|
37625
|
+
exports.CharacterSkinSelectionModal = CharacterSkinSelectionModal;
|
|
37528
37626
|
exports.Chat = Chat;
|
|
37529
37627
|
exports.ChatDeprecated = ChatDeprecated;
|
|
37530
37628
|
exports.ChatRevamp = ChatRevamp;
|