Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
+64
@@ -0,0 +1,64 @@
|
||||
/* Metro module 8563; source: design/components/experimental/ActionSheetDragHandle/native/ActionSheetDragHandle.native.tsx; dependencies: [31, 27, 8555, 33, 4501, 697, 1244, 4017, 2] */
|
||||
function _fun67821(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67821, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8748:6, offset: 0x01c32e6e, size: 355 bytes, params: 8, frame: 24
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_3 = value2.TouchableWithoutFeedback;
|
||||
const env0_4 = value2.View;
|
||||
const {DRAG_HANDLE_BAR_HEIGHT, DRAG_HANDLE_PADDING,
|
||||
DRAG_HANDLE_HEIGHT} = require(8555) /* metro dependency 8555: ActionSheetDragHandleConstants */;
|
||||
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
object2 = {};
|
||||
object2.container = {height: DRAG_HANDLE_HEIGHT};
|
||||
object2.containerOverlay = {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0};
|
||||
object2.handle = {alignItems: 'center', paddingVertical: DRAG_HANDLE_PADDING};
|
||||
const object3 = {};
|
||||
const ICON_MUTED = (importDefault(697) /* metro dependency 697: native */).colors.ICON_MUTED;
|
||||
object3.backgroundColor = ICON_MUTED;
|
||||
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
|
||||
object3.height = DRAG_HANDLE_BAR_HEIGHT;
|
||||
object3.width = 31;
|
||||
object2.bar = object3;
|
||||
const env0_6 = Reflect.apply(createStyles, createStylesModule, [object2]);
|
||||
value = value.memo(_fun67822);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/experimental/ActionSheetDragHandle/native/ActionSheetDragHandle.native.tsx');
|
||||
exports.ActionSheetDragHandle = value;
|
||||
}
|
||||
|
||||
function _fun67822(a0) { // fn#67822, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8748:512, offset: 0x01c32fd1, size: 310 bytes, params: 2, frame: 23
|
||||
var r6;
|
||||
var intl;
|
||||
const onPress = a0.onPress;
|
||||
const overlay = a0.overlay;
|
||||
const accessibilityLabel = a0.accessibilityLabel;
|
||||
if (accessibilityLabel !== undefined) {
|
||||
r6 = accessibilityLabel;
|
||||
} else {
|
||||
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
r6 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.WAI6xu);
|
||||
}
|
||||
const animatedBarStyles = a0.animatedBarStyles;
|
||||
const property = a0['aria-hidden'];
|
||||
const styles = useStyles();
|
||||
const value2 = null;
|
||||
return (
|
||||
<TouchableWithoutFeedback
|
||||
style={[styles.container, value2 != overlay ? styles.containerOverlay : value2]}
|
||||
accessibilityLabel={r6}
|
||||
accessibilityRole="button"
|
||||
{...{['aria-hidden']: property}}
|
||||
onPress={onPress}
|
||||
>
|
||||
<View style={styles.handle}>
|
||||
{value2 != animatedBarStyles ? ((View) => <View style={[styles.bar,
|
||||
animatedBarStyles]} />)((importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View) : <View style={styles.bar} />}
|
||||
</View>
|
||||
</TouchableWithoutFeedback>
|
||||
);
|
||||
}
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
/* Metro module 8555; source: design/components/experimental/ActionSheetDragHandle/native/ActionSheetDragHandleConstants.tsx; dependencies: [697, 2] */
|
||||
function _fun67798(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8740:6, offset: 0x01c31a0c, size: 146 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
|
||||
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
const value = 2 * PX_8 + PX_4;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/experimental/ActionSheetDragHandle/native/ActionSheetDragHandleConstants.tsx');
|
||||
exports.DRAG_HANDLE_BAR_HEIGHT = PX_4;
|
||||
exports.DRAG_HANDLE_PADDING = PX_8;
|
||||
exports.DRAG_HANDLE_HEIGHT = value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user