Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,37 @@
|
||||
/* Metro module 10251; source: design/components/Pile/native/AvatarPile.native.tsx; dependencies: [31, 33, 10252, 8864, 8866, 7599, 8865, 2] */
|
||||
function _fun79617(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79617, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10437:6, offset: 0x01e5a2f6, size: 144 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importAll(31) /* metro dependency 31 */;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.jsxs;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Pile/native/AvatarPile.native.tsx');
|
||||
exports.AvatarPile = AvatarPile;
|
||||
}
|
||||
|
||||
function AvatarPile({size, totalCount, names, children}) { // fn#79618, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10437:231, offset: 0x01e5a386, size: 295 bytes, params: 2, frame: 25
|
||||
const Children = env0_2.Children;
|
||||
const value2 = Children.count(children);
|
||||
const AVATAR_SIZE_MAP = (require(10252) /* metro dependency 10252: CutoutableAvatarImage */).AVATAR_SIZE_MAP;
|
||||
const property = AVATAR_SIZE_MAP[size];
|
||||
const Pile = (require(8864) /* metro dependency 8864: PileNative */).Pile;
|
||||
const object2 = {};
|
||||
const listUtilsModule = require(8866) /* metro dependency 8866: ListUtils */;
|
||||
const getListSummaryLabel = listUtilsModule.getListSummaryLabel;
|
||||
object2['aria-label'] = Reflect.apply(getListSummaryLabel, listUtilsModule, [names, totalCount]);
|
||||
const CutoutShape = (require(7599) /* metro dependency 7599: ClipView */).CutoutShape;
|
||||
const Circle = CutoutShape.Circle;
|
||||
object2.shape = Circle;
|
||||
object2.size = property;
|
||||
object2.gap = property <= 40 ? 2 : 3;
|
||||
object2.depthX = 0.4;
|
||||
return (
|
||||
<Pile {...object2}>
|
||||
{children}
|
||||
{totalCount != null && value2 < totalCount && ((PileOverflow) => <PileOverflow size={property} borderRadius={property / 2} value={totalCount - value2} />)((require(8865) /* metro dependency 8865: PileOverflowNative */).PileOverflow)}
|
||||
</Pile>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user