UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

87 lines (86 loc) • 2.1 kB
var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var contact_ui_exports = {}; __export(contact_ui_exports, { CNContactStore: () => CNContactStore, CNContactViewController: () => CNContactViewController, CNMutableContact: () => CNMutableContact }); module.exports = __toCommonJS(contact_ui_exports); function unavailable() { throw new Error("ContactsUI needs an iOS build"); } var CNMutableContact = class { constructor() { unavailable(); } identifier = ""; namePrefix = ""; givenName = ""; middleName = ""; familyName = ""; nameSuffix = ""; nickname = ""; organizationName = ""; jobTitle = ""; isKeyAvailable(_key) { return unavailable(); } mutableCopy() { return unavailable(); } }; var CNContactStore = class { constructor() { unavailable(); } async unifiedContact(_options) { return unavailable(); } }; var CNContactViewController = class { static descriptorForRequiredKeys() { return unavailable(); } constructor(_options) { unavailable(); } delegate = null; get contact() { return unavailable(); } contactStore; displayedPropertyKeys; alternateName; message; allowsEditing = true; allowsActions = true; shouldShowLinkedContacts = false; highlightProperty(_withKey, _identifier) { unavailable(); } async present(_animated = true) { unavailable(); } async dismiss(_animated = true) { unavailable(); } };