react-native-wagmi-charts 1.7.0 → 2.1.0
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/.DS_Store +0 -0
- package/README.md +365 -193
- package/example/.DS_Store +0 -0
- package/example/.expo/web/cache/development/babel-loader/0048eab7a1937596c83f7a0a8669a057.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/00e78539c92f01b2990b35cc56404077.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/01548be34380766518c44d302f0da833.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/01dc8e11259412b46f72a16b6f6f989a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/022bc27c62f111b60de1d9cf31798db5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/02341c3581c9b4661b5deec14d244183.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/029e21747cfcaf8be0db65a531a13e45.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/02cacb7980022332144135d930ecea11.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/030b07a0a05e98460988fcc5b21543fd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/03e0f78352a5cc290e9a694dfa0457b2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/03f273e96dda522f2f1ffb0c11d9cb41.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/040ef89e9083432c9c572aecfb055253.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/053109a5af2f50846dbff99c9ddaa08b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/05c8ee51599e49b8df4c2aea1c61f9bd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/061e5f7ad7d0922480d8aa5ec61bb646.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/062a149ffbda2b47d4a754da17f0ed89.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/06c9aabc7c8dc32a774403b9acd1d9e3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/06de2f6698410c68adcc5a227728a923.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/078d39387ece388cb409a9de98417dd7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/08ae8c107c10803a4fd1dcd9bb77631b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0b71299ddceefa8034f07d7bd25f7132.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0ba484ac7ba0d1abe8d566757740b901.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0bdbd4da7c535a6cfa3d301a2e03cdb3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0ca19fcabd7879d8a09389c265186c73.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0dba3b74d1f9e83e7e1be547f59f9b0d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0dda8bfcef9ddb34113838e01d884c94.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/0fed877538eec4c0fe6fc59a7fba1884.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/10c42328cedbca0b7c02e292cbf7e819.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/11e5e2a288b722ed1a72951da903668f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/124b86bda7fafdb400a04e42fb06d241.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/12ddb38f86b223c6168a22c3c441d23c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/12f8b90d6b32fd8d434f74ec0a1cc5de.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/14896ac3a706173aa66f99f5ac81de25.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/155b2897eaa205c153dc174759391596.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/159bcfbc06914dc0fa53d932ecdeb3a8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/15adfc2176211fd1b1f1e26ffac54860.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/16bf97aa1df29d051e75cdcfe30258ca.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/173757cc1e741e39f50c821a347ca6a7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/17539008e1af521bbd4be8772219d502.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/178a06574c91fc5f7d66bb5c1087d694.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/17f33cd1288f2d81431bd2cc3594a889.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/1ae598529609953300b8831809806773.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/1bf72c5e82adfae4cd9fb7d062f43c7b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/1e954e44cae79871d604d778ed2b019b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/1f3db19af6a4daad8ac653aef9a17b3e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/1fa8d4f7956d15e5d2301b5bc0ea5cda.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/20143c2ba144a977d78c7b106120350d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/201eb696584a8e8ed6ccc7f1c94bea83.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/208778a4ee646ee0555ed1e67b562757.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/219c2137c40f30853f1c0da86e6195ae.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/224ade2bbe8e0b2388eb1c55bff3f264.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/22eb55b287473e3a78908381441cfcb4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/240cb3678995c4254ed6e5c7582952ba.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2530791779144ffab597cad5be52c226.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2596af2ade89538878b6d544100f3399.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/25ba14deb6adaac77b56e2c781b4f065.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/26d2d37f205cec86abab8af6ff0ebc64.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/283e292d5ceb581a50e9755ac42601a2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/28d1872152a5070e160a78864dac71c9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/29518ab58c8aacdb2e5e164fc13d872b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/29d79f626f6ad6bfe79bbbf010acedf3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2aa749a94f4df8b760e8acfdb25028ff.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2b64d55ee11f0015681db4ce68a395d2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2cccd0ecb5914d7b91a0e2a0fbd995c9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2dbbd507ae02c5249d7088f625312a95.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2dce9894a2affe7bfe287cd3e27b4efd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2e27f8a130af009b492bc9f13a3bb578.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2f57f3c72b3b460c5d299bcf081b429b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/2f63db06dec4ae0f934cbe269ca78b7c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3146ea18d415deb6177ac03e1355688e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/319feb766afa0b6ef1fd0f61a79d8306.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/35c0fe0f3af5e5bb30c862ab2f0352fe.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/35e42e8dca6b3242a869b68dd19c9320.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3683ce1bd7ea848ec955de2738873cfb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/368688165f40c4cfc59238bacf69d131.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/36e75d47020ead36881558873b7ed051.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/38146d6afeec03b463523c4710274e9a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/394f45d48a9648d70c4b5b64076be031.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3972208eae9b5b632b17b21baa8bf208.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/39f743b81b60417ab847556a7179e22a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3b7135501e404451314cdcc9fe0600b8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3c20b6d457837e0ac87f3e648e6eca00.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3c5f38af9e2ec3a91de4f1b4fec17b0a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3e1698f99f9fc08d49f7b34982fa5ff9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3e2d35c9bbfe5423a7d98376bcd56e6b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3e7a2e7fe4f726704b568371689534ae.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/3f86d59727c3e03e54652149a8f8d3b6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/40402ff33d7840c2ef429fb4b123038d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4088615ef9d57b3f7fe4190660ba6ddc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/40c4fde14ef2e0ea53a7432cd848ff2b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/42c2f18b8307bc0d3ea5d84373a5d67f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/437dd685561b93a81742ac2ecbeb7d41.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/44dc1996d592f2e6f37bad3a90765f47.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/45873f55ae22e035954bc06cc50b2173.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/46679e2a6fceee1389fc81e63b21348f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4861470a02020675a1ee3db81cf82013.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4864be71b0d3193e0c759b91a9548cce.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/487488e8e5ae8ef9217e3c56a43ad05a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/49f4c364b909987eb06dde9e5e191155.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4b81b318c8d202092e5f11c893ba60ca.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4b929b061248038485fe18a4000f0dc7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4bb899e66458fe70451b960feb748cca.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4bf2841cd4d191e4fcd069fc2defa95d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4bfdf05b16115a8f6be82091518c35be.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4c14d7bff7de294fd991c68522f97ee4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4c723644cc0a1300f119db91b3a4e1d8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4c912e44b450dfff1f0d609c6fcf770c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4c91a10b38720099ce4af9a3b12902e3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4d466fa65871bcbc64956934ceb7b82f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4e225e240a0c5e5724f9d92ab2c2a5c7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4e741f92fbbd92b96334530f6ad10846.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/4f17a38ef723d2f2f88ab36229447848.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5126e93c01ee93124a5e74d11303b9c8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/519238552f7ca486b938192b9cbcceae.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/523038c6dc8ac0e76ef7a23d3eed51ec.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/532fa6c08d38d3c6de9df3cbc1e6a903.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/53bf8f177165c6b0e75a631aa4519d41.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/53ea8a26aeb6e2759a7f1f5f4f56b6fb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/542e618262a94895f81236112129bd3e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/546891698aff03b72ed2f6ceb6e7fa89.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5471a749a6e8af27964d87af251c688a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/547a11a6bdd8bda252dfd4614f815fbb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/549d7a1c3d15fdb39d9bffcf267e3f56.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/55add2461e97c93eb8aac04bb6999d6f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/566edd7dfdc185ef467beb97fcd9e08c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/567acdadac00f4c65b037849683131b6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/57892340c5b232df0a75f1339c9e68ce.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/586d05cc2c149bd7435298a982b57d60.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5954d33f838e7e341ebe043096ac7fe5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5a07d6d40bd575c25f45538b187acd8a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5a27a1760bd4f6407b1fea26715a87bc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5b36330631e46bbf63f870970b2122f7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5b9bc4b234aa59e34135748fd93507b6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5c0087a9595888025264a9904d1b8eef.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5d16233202c82021ddec174b9bb58863.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5d569557de3b7d5fa8afc576ac512a04.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5d646ca9aa7f759e829259ce504269e2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/5eef44eed8ccb290fe3456e2fe6bf8ed.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6024b3f768564aaeb1361263b0202a14.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/61cfc5a0e7335e0b9a219b1cbe277614.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/620f55f17382101002e5e9426ce3e366.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/62676c7e580c2e05b3597d53b1cec852.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/62f012bfa58863dc3ea69f00f9b90a77.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6320f4e69400d39312489472d7f26d50.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/63a9473d63154c31603b1ec1c728c8ab.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/63bae7aa325e3c82ba555ac19c0912fa.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/63c7331c32b247560f7318cb076a7c40.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/645eaa3c12cea785d12fed54225c1bad.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/64f7c8f31e295eee69738bfe05c5bff5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/68189da0029a30976a2484255a17ce79.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/696a6f2f23efafc28fc3c6d5b5ffaeac.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6991b1cd9f19326a94f92ef5b1b842a8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6b97a59c5465397dba921f389acaafdd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6c2f82c0db7403ccd4f19071f91173e4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6c8a2848fe0f787148c2fb6de4264155.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6d6f8b41da6a4ba792c39f671105e620.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6e1b109f621c0d54775303f058483115.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6f12c17d739331ecffc1403342ba41da.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/6fd1661af13dedb5e44522d491a1caf6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/70011f5e5361437bcf72ec2b53fad9f0.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/71c89114f87eec2560a35accc6fb21d7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/71f17bedd745f584f7abc4f4d51c7ad4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/72b944856e68e4a8a0ed8e4c2413070a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/740b2f1ab937b3d8fae7d547e9118390.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/748a994e95eb1d1311d08dae70ff213a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/74b3b0d02f286a48fe045bb68c2a4650.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/74d8aca04393d958004db6c2ef850b15.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/765c63eb89770f11615c740460d8a605.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7695443a011b53044155a45950f64551.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/77348d41c4a630ac871ec1662d753572.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/77a4283c1f4aa52a3ec7489dfcb4fd3c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/77c1d4c9c2134086a760c84c8dbb0767.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7856391ec0a27839d3fa6acbeb9aadda.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/78d3d5bbf14c6f41859897e37d770fcf.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/79c9840acdf1d5058d1dd9a3ee4c26a1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/79d14c794bf695a8710614f2650caadc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/79d484d4cd279cefd19f3ae34fbabc47.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7ac59aadbbeb87bbaa689455f49462e7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7addb7eb6bdec7308191a341bbe4f418.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7c6b46cf1a8d27fbf10098fc7b3147d4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7e073695c8dd0edfff43941d69ed768f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/7ea547e52608eb3d07287f91483f92d0.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/80b2a7b63d2968f55ad413f37a77625e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/81da8afb512f1fe3dc5283eed7693dc3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/83ce5beb699584197b95c23e16070359.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/84cbca54aad0ba7ad9155efbe50994e6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/86aa7c8020aadae1b6047e779a070006.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/873f17ead5c8a3a89f8c307d3fc3d749.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/88fd90442a3cd6528e4248e448007e21.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8947ed6ed81ae1ed2f0d1a5f7a21d4bd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8b0fa6466bfbb43efbc8a796bb0a058f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8bcdd0d74f6bf06c96dc636553f1ada8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8bfd7063b443cb17646e674300dd862b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8d06501d3b127619583bc480630ad389.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8d9e770602734e0d230feafb37171ca8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8dbfb280c88ee5948b0a3cc84074bd43.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8df99953a7fe26875c55c9bc1e71ca29.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8e7ea386f4f497f8c5e0a4a9b80b093a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8efad0218d4db05da11e8e21002ac55e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/8f6e1de5d12755c13e6c50a07e2d0778.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/91ed31500f942f97aec1be73e89a7af8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9252abf85af8c03f427a2e2117a1ad62.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/92b72e3964caccd73a132a988edcfae7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/93945109a64716fc3d15a12d81598ef8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/93ee4950a9326c046f9fa65c13dac411.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/93fe9632bb5db4ded992478e2af27d5f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/942ff966d1b2f375164a20370f75739c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/954ad5b7f72730fad3a93e8333b0da09.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/957bea32dcc83e0fc7f2fd8795a8f818.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/964cb097c867a1ded7eb7446f5548c22.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/98e4f7e158718137c26f2fe60b84369d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9ae989e87da92329c1f285a30c2be6f5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9ba4ab6ad62c186c10cc4440ed5f54a7.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9ce0ea8540198d071a57d36dae227cbc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9d2bab4aa3187dee265f1d9c8ce6f0f6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9e653ee142610f0516609ca3fb386739.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9e75ea79fea0209053c68ef4989b4a3a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9f2f6a11de269026061831c947435758.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/9f3fd9ca3231e3002df99db9d9616aa0.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a076afeae19d4e15321e5d81cf41364a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a261d7c057c570a5d74c5c84cc08e7f9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a3611e076e067e7397bd47a9ebe95cf1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a375a3eadad6ab2ce64ed38759b31415.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a3b99e0ec7f17e098c6b02a04282d805.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a3bde08c6c572203f93bcfa1170d4790.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a3bf51a1af912c42396b784cf9851941.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a48b6217b860aab3e81b366a7306ee03.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a4d591b829ddddd57e666af1737b9d34.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a5439975918b87c11694b33af83dab36.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a5813eb247e0c87dcc99934f4b49ae48.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a584b9a0fe744b07e9054b7aa6e79f77.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a689718c369fcd0f651d9089f15f507e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a78dc48e202b1f3be61ef3bc64699d14.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/a79a096843947a83012402bb34b93567.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/aa0e6e0aa152ebcb49584ecc82533c72.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/abfc16406c69f7727d3e40be1f492f11.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ac5ac27f40cd535964ff8a0f4a7ee169.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ac5c7f32acb8bbc71777904317929782.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/acc343298b9d93f37fea5d0160a6e4ba.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b0a4e8cf7a76d3009a62200ed32812d9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b1661b3c840f0f1de996ba1d52a39764.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b18b69c1c5e4f8cf7c4ded4ea78be1b5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b265f89f5ab4c2ac5fe0a4efeb01770f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b32b03cd1b812594924db2f0dadb2f56.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b36ad3720ed8bc69cd40bacd30394013.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b5d4cbb6bcdc394e0d5535f5bbf695e3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/b64b0b9559bbba155f24caa6cf08f433.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/bbfb771df3000d27f236c2f6538e6d31.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/bcd08666cb6eeb4d7141e38e753e5e5c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/beef69cc65e73363978524809c84094f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/bf018174df7cdbed5ae77cf03c266fee.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/bf53ba81ac3956a07f41a09fa6c4fa7e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c15cb7604e78e9a4f0cc5e4b79a227c2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c20807f969171763f83e5286ffb7183c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c309e4999a3ca5404709ed911ec9fdda.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c37b2427c54ed0b731d9413ea475f338.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c43017273abd7760afa188cb903bfa5d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c5134c3fb7b800b1c9b34655b8e97e4f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c62552ef04c76cdb7a94ba2f041360ac.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c69144c50f8f0d981b66c62204aaae74.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c733b561ef63b80564242d9b6f4954ec.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c78a01224ddb57513f9dc1603e721184.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c800cb1a4eccf4cc18e1408cf178b86d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/c8c61768113386918420fa8baaa34704.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ca0c207f9e3ba434db8f3775513736e6.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ca4498d52ea6fed7e01c9ed5c26fcf95.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cba71c3eea31dc8ca85b9ced8f7b1720.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cc2ae312a6441a2fedd76ee22ac87d51.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cc37b4c4f23da7c9d04d8693a5bbaaab.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cced66a0b48653e5bfa98910a88f9fba.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cd0e23910d814598adda82d05396be53.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cd55e478acd924f5c082f02840ed8bbb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cd8b6c6cd6a24fa61739c4d22dda95f8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cdf6fa5dcab6f3a13fa07e89fe985423.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ceccb76ea280ae97ededa88718ed0c3b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/cfc467109de81a77ce3d683966f4b354.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d0c3cb818782b9a81bfc30385f72b89b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d0fcdc8e889d972bbb4337e548164f40.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d168cd3939b990979e911bb032f8577b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d2fc7ecda4f6641f8d52e406be776196.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d358f00c23a45360cbb79dabdb721cd1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d45d41c244dad2c3ea03ba49a46a0423.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d4f6275737ee0b15864d1784084ec4e9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d5420905583aa27006ceaa13da6b662a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d5552d7ee552fec6e21e0b398feb3ddb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d5cec4c149045421487b8541b94a68b3.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d72ee3cf688a67b27f18b05bef74d879.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d797775538f909e9de0d644bcf0389e4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d7cfda25d1654f23b9938352b3e5f0fd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d7f22047db03832a0314db9bb7c9e4e8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/d92da9ccd71edac1d6d7f1b72554205f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/dae925659703faa3496df0985e30eb46.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/db2362a80925087fd6dfea2ecf5d1527.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/db44721b3956bd3b7617e773f566987b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/dd2e7e9f0700b6295764b0357f97fbd1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/dee3d7eeaa9d088adee455787ecfdbba.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/df177e28e870b3f9ed04286275590e05.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/df8cca84735630b31c89ab8c4525d586.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/dffc3d3b5387634869406f7b262b0334.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e00a687de4af483a065036c6b80fa9f9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e0bc2b67f28f7d20625141635fb72278.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e12513c015e82fb05ce94ecc8be7102a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e13d64c5b0cbfdf147e8b47baa112969.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e1630fcfbaff568bf2f669a3e388c026.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e1962858e3fc18c71d271c6eaa3a943d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e1a0963978b2cb66dec1b5d8a5a2c753.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e21dcee29960dda3812a8e73f9b0fcbc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e2faafd77df6c4f281c0c99a9e458e54.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e30c76c9a2d4f8d448441c1cb652eb01.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e3e477529ed5548f8e901ee83d7395ef.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e40e88a5ee7080ae8c27b8b8b14fbe3b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e4815f1b8edf5002fdece1b55fbc36bb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e656bc77be79a05f8054e227f7f79d12.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e6f55b8bb2f55bff9c7239707407e38b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e71b020cacbbe302bb14d7910742ec2d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e7472dd2c104082f95c6920e14b1ebf1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e7b42d4997a3a0970f307de97b93e04a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e958dca390e4e96d3ffd3fd3e668de5a.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/e9ee1fc9a9a662fdf210526a05895585.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ea69e12059df73da64e057bade5f4ba1.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/eae09ceb3f4483977f405539fff299a4.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/eaffd3d95bf68dd8a7419e53498b4640.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ec22a1721004d1dffd715720d5c2bda5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ee15d7496b6f14edc02d2cd58a7353f9.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ee8e3abcff9f49ec89705c0e083bc14e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ef79cc0b13fea249ac3b074f0a0de8eb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/efdf5fb16bfb6755d38d6afaec705dcc.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f114b6650124f4aa114c8641a8fb2e95.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f26a2ea3fe78d43644601e71fefe7a1e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f2df4e0da01cdba6223f5bbe6b36ff68.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f3060f14259d3179812abd59791780a5.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f3beb518b54ed38f03ac6db8f54e60ff.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f3c616fbd126299d1e806d6ecc1ec318.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f42e9bcb2c70b941d26c869beae57ebd.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f4a9921d6e837efff4d9a9df358e594f.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f4c95c91f375005a143433586f729253.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f557735276807fa1f2857d869fcf3f24.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f7747a8774208f97feee323659c8fd9c.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f78eccb875790b4d905e542a961bf15d.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f79a20eb5fe07a41699a4082250176ee.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f8161007e70676aff950dd230d92b913.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f89bed9b99073eb34bdcfe509a9eef7b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f8da7cfcc868c4561939eb69b187852b.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f9a453849a2adca3c8d16c288ee63674.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/f9c8751528f50853c93bccaef3665cb2.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fa1cac776862e25b801ccd74fe04dedb.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fa7135f62c5758217dd521fe11e4f3be.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fb1afe2167ecb0e405e51371bc59a75e.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fc02f1af2a9db4facfa4f4fc290432fe.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fc62eb1057700a3ed46569b3ca6ae7b8.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fc941b53721fd7910cde57ec192fe407.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fd143c0566e976f3b69413de3ca79ebf.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fd655c3e164d6c50e7affcee01046566.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fdada169c1988ef70eea3e2b77f7b727.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/fe0a5f0e6f28f358efb1ed12c10b3240.json +1 -0
- package/example/.expo/web/cache/development/babel-loader/ff9a6e20e331b715609602c9bca399e9.json +1 -0
- package/example/package.json +11 -13
- package/example/src/App.tsx +39 -34
- package/example/src/CandlestickChart.tsx +4 -1
- package/example/src/LineChart.tsx +20 -4
- package/example/src/data/line-data.json +20 -20
- package/example/yarn.lock +1819 -8871
- package/lib/commonjs/charts/candle/HoverTrap/index.web.js +120 -0
- package/lib/commonjs/charts/candle/HoverTrap/index.web.js.map +1 -0
- package/lib/commonjs/charts/candle/utils/getDomain.js +19 -0
- package/lib/commonjs/charts/candle/utils/getDomain.js.map +1 -0
- package/lib/commonjs/charts/candle/utils/getHeight.js +19 -0
- package/lib/commonjs/charts/candle/utils/getHeight.js.map +1 -0
- package/lib/commonjs/charts/candle/utils/getPrice.js +20 -0
- package/lib/commonjs/charts/candle/utils/getPrice.js.map +1 -0
- package/lib/commonjs/charts/candle/utils/getY.js +19 -0
- package/lib/commonjs/charts/candle/utils/getY.js.map +1 -0
- package/lib/commonjs/charts/candle/utils/index.js +58 -0
- package/lib/commonjs/charts/candle/utils/index.js.map +1 -0
- package/lib/commonjs/charts/line/Chart.js +27 -9
- package/lib/commonjs/charts/line/Chart.js.map +1 -1
- package/lib/commonjs/charts/line/ChartPath.js +83 -21
- package/lib/commonjs/charts/line/ChartPath.js.map +1 -1
- package/lib/commonjs/charts/line/Context.js +8 -4
- package/lib/commonjs/charts/line/Context.js.map +1 -1
- package/lib/commonjs/charts/line/Cursor.js +2 -1
- package/lib/commonjs/charts/line/Cursor.js.map +1 -1
- package/lib/commonjs/charts/line/CursorCrosshair.js +12 -3
- package/lib/commonjs/charts/line/CursorCrosshair.js.map +1 -1
- package/lib/commonjs/charts/line/CursorLine.js +6 -6
- package/lib/commonjs/charts/line/CursorLine.js.map +1 -1
- package/lib/commonjs/charts/line/DatetimeText.js +2 -0
- package/lib/commonjs/charts/line/DatetimeText.js.map +1 -1
- package/lib/commonjs/charts/line/Dot.js +126 -0
- package/lib/commonjs/charts/line/Dot.js.map +1 -0
- package/lib/commonjs/charts/line/Gradient.js +8 -25
- package/lib/commonjs/charts/line/Gradient.js.map +1 -1
- package/lib/commonjs/charts/line/Group.js +5 -24
- package/lib/commonjs/charts/line/Group.js.map +1 -1
- package/lib/commonjs/charts/line/Highlight.js +92 -0
- package/lib/commonjs/charts/line/Highlight.js.map +1 -0
- package/lib/commonjs/charts/line/HorizontalLine.js +6 -6
- package/lib/commonjs/charts/line/HorizontalLine.js.map +1 -1
- package/lib/commonjs/charts/line/HoverTrap/index.js +15 -0
- package/lib/commonjs/charts/line/HoverTrap/index.js.map +1 -0
- package/lib/commonjs/charts/line/HoverTrap/index.web.js +120 -0
- package/lib/commonjs/charts/line/HoverTrap/index.web.js.map +1 -0
- package/lib/commonjs/charts/line/Path.js +19 -30
- package/lib/commonjs/charts/line/Path.js.map +1 -1
- package/lib/commonjs/charts/line/PriceText.js +2 -0
- package/lib/commonjs/charts/line/PriceText.js.map +1 -1
- package/lib/commonjs/charts/line/Tooltip.js +2 -0
- package/lib/commonjs/charts/line/Tooltip.js.map +1 -1
- package/lib/commonjs/charts/line/index.js +48 -15
- package/lib/commonjs/charts/line/index.js.map +1 -1
- package/lib/commonjs/charts/line/useAnimatedPath.js +44 -0
- package/lib/commonjs/charts/line/useAnimatedPath.js.map +1 -0
- package/lib/commonjs/charts/line/{utils.js → utils/getArea.js} +2 -49
- package/lib/commonjs/charts/line/utils/getArea.js.map +1 -0
- package/lib/commonjs/charts/line/utils/getDomain.js +16 -0
- package/lib/commonjs/charts/line/utils/getDomain.js.map +1 -0
- package/lib/commonjs/charts/line/utils/getPath.js +34 -0
- package/lib/commonjs/charts/line/utils/getPath.js.map +1 -0
- package/lib/commonjs/charts/line/utils/index.js +71 -0
- package/lib/commonjs/charts/line/utils/index.js.map +1 -0
- package/lib/commonjs/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
- package/lib/commonjs/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
- package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js +27 -0
- package/lib/commonjs/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
- package/lib/commonjs/components/AnimatedText.js +25 -13
- package/lib/commonjs/components/AnimatedText.js.map +1 -1
- package/lib/commonjs/index.js +8 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/formatDatetime.js +21 -0
- package/lib/commonjs/utils/formatDatetime.js.map +1 -0
- package/lib/commonjs/utils/formatPrice.js +46 -0
- package/lib/commonjs/utils/formatPrice.js.map +1 -0
- package/lib/commonjs/utils/index.js +45 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/{utils.js → utils/usePrevious.js} +1 -57
- package/lib/commonjs/utils/usePrevious.js.map +1 -0
- package/lib/module/charts/candle/HoverTrap/index.web.js +101 -0
- package/lib/module/charts/candle/HoverTrap/index.web.js.map +1 -0
- package/lib/module/charts/candle/utils/getDomain.js +12 -0
- package/lib/module/charts/candle/utils/getDomain.js.map +1 -0
- package/lib/module/charts/candle/utils/getHeight.js +11 -0
- package/lib/module/charts/candle/utils/getHeight.js.map +1 -0
- package/lib/module/charts/candle/utils/getPrice.js +12 -0
- package/lib/module/charts/candle/utils/getPrice.js.map +1 -0
- package/lib/module/charts/candle/utils/getY.js +11 -0
- package/lib/module/charts/candle/utils/getY.js.map +1 -0
- package/lib/module/charts/candle/utils/index.js +5 -0
- package/lib/module/charts/candle/utils/index.js.map +1 -0
- package/lib/module/charts/line/Chart.js +27 -10
- package/lib/module/charts/line/Chart.js.map +1 -1
- package/lib/module/charts/line/ChartPath.js +79 -21
- package/lib/module/charts/line/ChartPath.js.map +1 -1
- package/lib/module/charts/line/Context.js +8 -4
- package/lib/module/charts/line/Context.js.map +1 -1
- package/lib/module/charts/line/Cursor.js +2 -1
- package/lib/module/charts/line/Cursor.js.map +1 -1
- package/lib/module/charts/line/CursorCrosshair.js +12 -4
- package/lib/module/charts/line/CursorCrosshair.js.map +1 -1
- package/lib/module/charts/line/CursorLine.js +4 -3
- package/lib/module/charts/line/CursorLine.js.map +1 -1
- package/lib/module/charts/line/DatetimeText.js +1 -0
- package/lib/module/charts/line/DatetimeText.js.map +1 -1
- package/lib/module/charts/line/Dot.js +105 -0
- package/lib/module/charts/line/Dot.js.map +1 -0
- package/lib/module/charts/line/Gradient.js +8 -24
- package/lib/module/charts/line/Gradient.js.map +1 -1
- package/lib/module/charts/line/Group.js +2 -23
- package/lib/module/charts/line/Group.js.map +1 -1
- package/lib/module/charts/line/Highlight.js +69 -0
- package/lib/module/charts/line/Highlight.js.map +1 -0
- package/lib/module/charts/line/HorizontalLine.js +4 -3
- package/lib/module/charts/line/HorizontalLine.js.map +1 -1
- package/lib/module/charts/line/HoverTrap/index.js +3 -0
- package/lib/module/charts/line/HoverTrap/index.js.map +1 -0
- package/lib/module/charts/line/HoverTrap/index.web.js +101 -0
- package/lib/module/charts/line/HoverTrap/index.web.js.map +1 -0
- package/lib/module/charts/line/Path.js +17 -29
- package/lib/module/charts/line/Path.js.map +1 -1
- package/lib/module/charts/line/PriceText.js +1 -0
- package/lib/module/charts/line/PriceText.js.map +1 -1
- package/lib/module/charts/line/Tooltip.js +1 -0
- package/lib/module/charts/line/Tooltip.js.map +1 -1
- package/lib/module/charts/line/index.js +13 -5
- package/lib/module/charts/line/index.js.map +1 -1
- package/lib/module/charts/line/useAnimatedPath.js +34 -0
- package/lib/module/charts/line/useAnimatedPath.js.map +1 -0
- package/lib/module/charts/line/utils/getArea.js +19 -0
- package/lib/module/charts/line/utils/getArea.js.map +1 -0
- package/lib/module/charts/line/utils/getDomain.js +9 -0
- package/lib/module/charts/line/utils/getDomain.js.map +1 -0
- package/lib/module/charts/line/utils/getPath.js +21 -0
- package/lib/module/charts/line/utils/getPath.js.map +1 -0
- package/lib/module/charts/line/utils/index.js +6 -0
- package/lib/module/charts/line/utils/index.js.map +1 -0
- package/lib/module/charts/line/{interpolatePath.js → utils/interpolatePath.js} +1 -1
- package/lib/module/charts/line/{interpolatePath.js.map → utils/interpolatePath.js.map} +1 -1
- package/lib/module/charts/line/utils/lineChartDataPropToArray.js +20 -0
- package/lib/module/charts/line/utils/lineChartDataPropToArray.js.map +1 -0
- package/lib/module/components/AnimatedText.js +24 -13
- package/lib/module/components/AnimatedText.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/formatDatetime.js +14 -0
- package/lib/module/utils/formatDatetime.js.map +1 -0
- package/lib/module/{utils.js → utils/formatPrice.js} +1 -29
- package/lib/module/utils/formatPrice.js.map +1 -0
- package/lib/module/utils/index.js +4 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/usePrevious.js +14 -0
- package/lib/module/utils/usePrevious.js.map +1 -0
- package/lib/typescript/src/charts/candle/HoverTrap/index.web.d.ts +2 -0
- package/lib/typescript/src/charts/candle/utils/getDomain.d.ts +2 -0
- package/lib/typescript/src/charts/candle/utils/getHeight.d.ts +6 -0
- package/lib/typescript/src/charts/candle/utils/getPrice.d.ts +6 -0
- package/lib/typescript/src/charts/candle/utils/getY.d.ts +6 -0
- package/lib/typescript/src/charts/candle/utils/index.d.ts +4 -0
- package/lib/typescript/src/charts/line/Chart.d.ts +6 -1
- package/lib/typescript/src/charts/line/ChartPath.d.ts +12 -3
- package/lib/typescript/src/charts/line/Context.d.ts +5 -1
- package/lib/typescript/src/charts/line/Cursor.d.ts +3 -0
- package/lib/typescript/src/charts/line/CursorCrosshair.d.ts +4 -1
- package/lib/typescript/src/charts/line/CursorLine.d.ts +4 -1
- package/lib/typescript/src/charts/line/DatetimeText.d.ts +3 -0
- package/lib/typescript/src/charts/line/Dot.d.ts +31 -0
- package/lib/typescript/src/charts/line/Gradient.d.ts +3 -0
- package/lib/typescript/src/charts/line/Group.d.ts +1 -2
- package/lib/typescript/src/charts/line/Highlight.d.ts +15 -0
- package/lib/typescript/src/charts/line/HorizontalLine.d.ts +4 -1
- package/lib/typescript/src/charts/line/HoverTrap/index.d.ts +2 -0
- package/lib/typescript/src/charts/line/HoverTrap/index.web.d.ts +2 -0
- package/lib/typescript/src/charts/line/Path.d.ts +5 -1
- package/lib/typescript/src/charts/line/PriceText.d.ts +3 -0
- package/lib/typescript/src/charts/line/Tooltip.d.ts +3 -0
- package/lib/typescript/src/charts/line/index.d.ts +16 -22
- package/lib/typescript/src/charts/line/types.d.ts +1 -0
- package/lib/typescript/src/charts/line/useAnimatedPath.d.ts +8 -0
- package/lib/typescript/src/charts/line/useLineChart.d.ts +1 -0
- package/lib/typescript/src/charts/line/utils/getArea.d.ts +9 -0
- package/lib/typescript/src/charts/line/utils/getDomain.d.ts +2 -0
- package/lib/typescript/src/charts/line/utils/getPath.d.ts +11 -0
- package/lib/typescript/src/charts/line/utils/index.d.ts +5 -0
- package/lib/typescript/src/charts/line/{interpolatePath.d.ts → utils/interpolatePath.d.ts} +1 -1
- package/lib/typescript/src/charts/line/utils/lineChartDataPropToArray.d.ts +2 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/utils/formatDatetime.d.ts +8 -0
- package/lib/typescript/src/utils/formatPrice.d.ts +8 -0
- package/lib/typescript/src/utils/index.d.ts +3 -0
- package/lib/typescript/src/utils/usePrevious.d.ts +1 -0
- package/package.json +8 -6
- package/src/charts/candle/HoverTrap/index.web.tsx +110 -0
- package/src/charts/candle/utils/getDomain.ts +9 -0
- package/src/charts/candle/utils/getHeight.ts +21 -0
- package/src/charts/candle/utils/getPrice.ts +17 -0
- package/src/charts/candle/utils/getY.ts +16 -0
- package/src/charts/candle/utils/index.ts +4 -0
- package/src/charts/line/Chart.tsx +24 -8
- package/src/charts/line/ChartPath.tsx +119 -36
- package/src/charts/line/Context.tsx +8 -0
- package/src/charts/line/Cursor.tsx +5 -1
- package/src/charts/line/CursorCrosshair.tsx +22 -5
- package/src/charts/line/CursorLine.tsx +5 -3
- package/src/charts/line/DatetimeText.tsx +2 -0
- package/src/charts/line/Dot.tsx +175 -0
- package/src/charts/line/Gradient.tsx +7 -34
- package/src/charts/line/Group.tsx +4 -45
- package/src/charts/line/Highlight.tsx +78 -0
- package/src/charts/line/HorizontalLine.tsx +5 -3
- package/src/charts/line/HoverTrap/index.tsx +3 -0
- package/src/charts/line/HoverTrap/index.web.tsx +110 -0
- package/src/charts/line/Path.tsx +14 -38
- package/src/charts/line/PriceText.tsx +2 -0
- package/src/charts/line/Tooltip.tsx +2 -0
- package/src/charts/line/index.ts +13 -5
- package/src/charts/line/types.ts +1 -0
- package/src/charts/line/useAnimatedPath.ts +47 -0
- package/src/charts/line/utils/getArea.ts +38 -0
- package/src/charts/line/utils/getDomain.ts +7 -0
- package/src/charts/line/utils/getPath.ts +48 -0
- package/src/charts/line/utils/index.ts +5 -0
- package/src/charts/line/{interpolatePath.ts → utils/interpolatePath.ts} +1 -1
- package/src/charts/line/utils/lineChartDataPropToArray.ts +25 -0
- package/src/components/AnimatedText.tsx +27 -16
- package/src/index.ts +1 -1
- package/src/utils/formatDatetime.ts +16 -0
- package/src/{utils.ts → utils/formatPrice.ts} +0 -31
- package/src/utils/index.ts +3 -0
- package/src/utils/usePrevious.ts +13 -0
- package/tsconfig.json +1 -1
- package/yarn.lock +1847 -796
- package/example/patches/react-native-reanimated+2.2.2.patch +0 -28
- package/lib/commonjs/charts/line/utils.js.map +0 -1
- package/lib/commonjs/utils.js.map +0 -1
- package/lib/module/charts/line/utils.js +0 -60
- package/lib/module/charts/line/utils.js.map +0 -1
- package/lib/module/utils.js.map +0 -1
- package/lib/typescript/src/charts/line/utils.d.ts +0 -20
- package/lib/typescript/src/utils.d.ts +0 -17
- package/src/charts/line/utils.ts +0 -100
package/example/.expo/web/cache/development/babel-loader/68189da0029a30976a2484255a17ce79.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _defineProperty2 from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty2(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport I18nManager from \"react-native-web/dist/exports/I18nManager\";\nimport { PanGestureHandler, TapGestureHandler } from \"../handlers/gestureHandlers\";\nimport { State } from \"../State\";\nvar DRAG_TOSS = 0.05;\n\nvar Swipeable = function (_Component) {\n _inherits(Swipeable, _Component);\n\n var _super = _createSuper(Swipeable);\n\n function Swipeable(_props) {\n var _this;\n\n _classCallCheck(this, Swipeable);\n\n _this = _super.call(this, _props);\n\n _defineProperty(_assertThisInitialized(_this), \"onGestureEvent\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"transX\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"showLeftAction\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"leftActionTranslate\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"showRightAction\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"rightActionTranslate\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"updateAnimatedEvent\", function (props, state) {\n var friction = props.friction,\n overshootFriction = props.overshootFriction;\n var dragX = state.dragX,\n rowTranslation = state.rowTranslation,\n _state$leftWidth = state.leftWidth,\n leftWidth = _state$leftWidth === void 0 ? 0 : _state$leftWidth,\n _state$rowWidth = state.rowWidth,\n rowWidth = _state$rowWidth === void 0 ? 0 : _state$rowWidth;\n var _state$rightOffset = state.rightOffset,\n rightOffset = _state$rightOffset === void 0 ? rowWidth : _state$rightOffset;\n var rightWidth = Math.max(0, rowWidth - rightOffset);\n var _props$overshootLeft = props.overshootLeft,\n overshootLeft = _props$overshootLeft === void 0 ? leftWidth > 0 : _props$overshootLeft,\n _props$overshootRight = props.overshootRight,\n overshootRight = _props$overshootRight === void 0 ? rightWidth > 0 : _props$overshootRight;\n var transX = Animated.add(rowTranslation, dragX.interpolate({\n inputRange: [0, friction],\n outputRange: [0, 1]\n })).interpolate({\n inputRange: [-rightWidth - (overshootRight ? 1 : overshootFriction), -rightWidth, leftWidth, leftWidth + (overshootLeft ? 1 : overshootFriction)],\n outputRange: [-rightWidth - (overshootRight || overshootFriction > 1 ? 1 : 0), -rightWidth, leftWidth, leftWidth + (overshootLeft || overshootFriction > 1 ? 1 : 0)]\n });\n _this.transX = transX;\n _this.showLeftAction = leftWidth > 0 ? transX.interpolate({\n inputRange: [-1, 0, leftWidth],\n outputRange: [0, 0, 1]\n }) : new Animated.Value(0);\n _this.leftActionTranslate = _this.showLeftAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp'\n });\n _this.showRightAction = rightWidth > 0 ? transX.interpolate({\n inputRange: [-rightWidth, 0, 1],\n outputRange: [1, 0, 0]\n }) : new Animated.Value(0);\n _this.rightActionTranslate = _this.showRightAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp'\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onTapHandlerStateChange\", function (_ref) {\n var nativeEvent = _ref.nativeEvent;\n\n if (nativeEvent.oldState === State.ACTIVE) {\n _this.close();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onHandlerStateChange\", function (ev) {\n if (ev.nativeEvent.oldState === State.ACTIVE) {\n _this.handleRelease(ev);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleRelease\", function (ev) {\n var _ev$nativeEvent = ev.nativeEvent,\n velocityX = _ev$nativeEvent.velocityX,\n dragX = _ev$nativeEvent.translationX;\n var _this$state = _this.state,\n _this$state$leftWidth = _this$state.leftWidth,\n leftWidth = _this$state$leftWidth === void 0 ? 0 : _this$state$leftWidth,\n _this$state$rowWidth = _this$state.rowWidth,\n rowWidth = _this$state$rowWidth === void 0 ? 0 : _this$state$rowWidth,\n rowState = _this$state.rowState;\n var _this$state$rightOffs = _this.state.rightOffset,\n rightOffset = _this$state$rightOffs === void 0 ? rowWidth : _this$state$rightOffs;\n var rightWidth = rowWidth - rightOffset;\n var _this$props5 = _this.props,\n friction = _this$props5.friction,\n _this$props5$leftThre = _this$props5.leftThreshold,\n leftThreshold = _this$props5$leftThre === void 0 ? leftWidth / 2 : _this$props5$leftThre,\n _this$props5$rightThr = _this$props5.rightThreshold,\n rightThreshold = _this$props5$rightThr === void 0 ? rightWidth / 2 : _this$props5$rightThr;\n var startOffsetX = _this.currentOffset() + dragX / friction;\n var translationX = (dragX + DRAG_TOSS * velocityX) / friction;\n var toValue = 0;\n\n if (rowState === 0) {\n if (translationX > leftThreshold) {\n toValue = leftWidth;\n } else if (translationX < -rightThreshold) {\n toValue = -rightWidth;\n }\n } else if (rowState === 1) {\n if (translationX > -leftThreshold) {\n toValue = leftWidth;\n }\n } else {\n if (translationX < rightThreshold) {\n toValue = -rightWidth;\n }\n }\n\n _this.animateRow(startOffsetX, toValue, velocityX / friction);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"animateRow\", function (fromValue, toValue, velocityX) {\n var _this$state2 = _this.state,\n dragX = _this$state2.dragX,\n rowTranslation = _this$state2.rowTranslation;\n dragX.setValue(0);\n rowTranslation.setValue(fromValue);\n\n _this.setState({\n rowState: Math.sign(toValue)\n });\n\n Animated.spring(rowTranslation, _objectSpread({\n restSpeedThreshold: 1.7,\n restDisplacementThreshold: 0.4,\n velocity: velocityX,\n bounciness: 0,\n toValue: toValue,\n useNativeDriver: _this.props.useNativeAnimations\n }, _this.props.animationOptions)).start(function (_ref2) {\n var finished = _ref2.finished;\n\n if (finished) {\n if (toValue > 0 && _this.props.onSwipeableLeftOpen) {\n _this.props.onSwipeableLeftOpen();\n } else if (toValue < 0 && _this.props.onSwipeableRightOpen) {\n _this.props.onSwipeableRightOpen();\n }\n\n if (toValue === 0) {\n var _this$props$onSwipeab, _this$props;\n\n (_this$props$onSwipeab = (_this$props = _this.props).onSwipeableClose) === null || _this$props$onSwipeab === void 0 ? void 0 : _this$props$onSwipeab.call(_this$props);\n } else {\n var _this$props$onSwipeab2, _this$props2;\n\n (_this$props$onSwipeab2 = (_this$props2 = _this.props).onSwipeableOpen) === null || _this$props$onSwipeab2 === void 0 ? void 0 : _this$props$onSwipeab2.call(_this$props2);\n }\n }\n });\n\n if (toValue > 0 && _this.props.onSwipeableLeftWillOpen) {\n _this.props.onSwipeableLeftWillOpen();\n } else if (toValue < 0 && _this.props.onSwipeableRightWillOpen) {\n _this.props.onSwipeableRightWillOpen();\n }\n\n if (toValue === 0) {\n var _this$props$onSwipeab3, _this$props3;\n\n (_this$props$onSwipeab3 = (_this$props3 = _this.props).onSwipeableWillClose) === null || _this$props$onSwipeab3 === void 0 ? void 0 : _this$props$onSwipeab3.call(_this$props3);\n } else {\n var _this$props$onSwipeab4, _this$props4;\n\n (_this$props$onSwipeab4 = (_this$props4 = _this.props).onSwipeableWillOpen) === null || _this$props$onSwipeab4 === void 0 ? void 0 : _this$props$onSwipeab4.call(_this$props4);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onRowLayout\", function (_ref3) {\n var nativeEvent = _ref3.nativeEvent;\n\n _this.setState({\n rowWidth: nativeEvent.layout.width\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"currentOffset\", function () {\n var _this$state3 = _this.state,\n _this$state3$leftWidt = _this$state3.leftWidth,\n leftWidth = _this$state3$leftWidt === void 0 ? 0 : _this$state3$leftWidt,\n _this$state3$rowWidth = _this$state3.rowWidth,\n rowWidth = _this$state3$rowWidth === void 0 ? 0 : _this$state3$rowWidth,\n rowState = _this$state3.rowState;\n var _this$state$rightOffs2 = _this.state.rightOffset,\n rightOffset = _this$state$rightOffs2 === void 0 ? rowWidth : _this$state$rightOffs2;\n var rightWidth = rowWidth - rightOffset;\n\n if (rowState === 1) {\n return leftWidth;\n } else if (rowState === -1) {\n return -rightWidth;\n }\n\n return 0;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"close\", function () {\n _this.animateRow(_this.currentOffset(), 0);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"openLeft\", function () {\n var _this$state$leftWidth2 = _this.state.leftWidth,\n leftWidth = _this$state$leftWidth2 === void 0 ? 0 : _this$state$leftWidth2;\n\n _this.animateRow(_this.currentOffset(), leftWidth);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"openRight\", function () {\n var _this$state$rowWidth2 = _this.state.rowWidth,\n rowWidth = _this$state$rowWidth2 === void 0 ? 0 : _this$state$rowWidth2;\n var _this$state$rightOffs3 = _this.state.rightOffset,\n rightOffset = _this$state$rightOffs3 === void 0 ? rowWidth : _this$state$rightOffs3;\n var rightWidth = rowWidth - rightOffset;\n\n _this.animateRow(_this.currentOffset(), -rightWidth);\n });\n\n var _dragX = new Animated.Value(0);\n\n _this.state = {\n dragX: _dragX,\n rowTranslation: new Animated.Value(0),\n rowState: 0,\n leftWidth: undefined,\n rightOffset: undefined,\n rowWidth: undefined\n };\n\n _this.updateAnimatedEvent(_props, _this.state);\n\n _this.onGestureEvent = Animated.event([{\n nativeEvent: {\n translationX: _dragX\n }\n }], {\n useNativeDriver: _props.useNativeAnimations\n });\n return _this;\n }\n\n _createClass(Swipeable, [{\n key: \"UNSAFE_componentWillUpdate\",\n value: function UNSAFE_componentWillUpdate(props, state) {\n if (this.props.friction !== props.friction || this.props.overshootLeft !== props.overshootLeft || this.props.overshootRight !== props.overshootRight || this.props.overshootFriction !== props.overshootFriction || this.state.leftWidth !== state.leftWidth || this.state.rightOffset !== state.rightOffset || this.state.rowWidth !== state.rowWidth) {\n this.updateAnimatedEvent(props, state);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var rowState = this.state.rowState;\n var _this$props6 = this.props,\n children = _this$props6.children,\n renderLeftActions = _this$props6.renderLeftActions,\n renderRightActions = _this$props6.renderRightActions;\n var left = renderLeftActions && React.createElement(Animated.View, {\n style: [styles.leftActions, {\n transform: [{\n translateX: this.leftActionTranslate\n }]\n }]\n }, renderLeftActions(this.showLeftAction, this.transX), React.createElement(View, {\n onLayout: function onLayout(_ref4) {\n var nativeEvent = _ref4.nativeEvent;\n return _this2.setState({\n leftWidth: nativeEvent.layout.x\n });\n }\n }));\n var right = renderRightActions && React.createElement(Animated.View, {\n style: [styles.rightActions, {\n transform: [{\n translateX: this.rightActionTranslate\n }]\n }]\n }, renderRightActions(this.showRightAction, this.transX), React.createElement(View, {\n onLayout: function onLayout(_ref5) {\n var nativeEvent = _ref5.nativeEvent;\n return _this2.setState({\n rightOffset: nativeEvent.layout.x\n });\n }\n }));\n return React.createElement(PanGestureHandler, _extends({\n activeOffsetX: [-10, 10]\n }, this.props, {\n onGestureEvent: this.onGestureEvent,\n onHandlerStateChange: this.onHandlerStateChange\n }), React.createElement(Animated.View, {\n onLayout: this.onRowLayout,\n style: [styles.container, this.props.containerStyle]\n }, left, right, React.createElement(TapGestureHandler, {\n enabled: rowState !== 0,\n onHandlerStateChange: this.onTapHandlerStateChange\n }, React.createElement(Animated.View, {\n pointerEvents: rowState === 0 ? 'auto' : 'box-only',\n style: [{\n transform: [{\n translateX: this.transX\n }]\n }, this.props.childrenContainerStyle]\n }, children))));\n }\n }]);\n\n return Swipeable;\n}(Component);\n\nexport { Swipeable as default };\n\n_defineProperty(Swipeable, \"defaultProps\", {\n friction: 1,\n overshootFriction: 1,\n useNativeAnimations: true\n});\n\nvar styles = StyleSheet.create({\n container: {\n overflow: 'hidden'\n },\n leftActions: _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {\n flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row'\n }),\n rightActions: _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {\n flexDirection: I18nManager.isRTL ? 'row' : 'row-reverse'\n })\n});","map":{"version":3,"sources":["Swipeable.tsx"],"names":["DRAG_TOSS","Swipeable","friction","overshootFriction","useNativeAnimations","constructor","dragX","Animated","rowTranslation","rowState","leftWidth","rightOffset","rowWidth","undefined","nativeEvent","translationX","useNativeDriver","props","UNSAFE_componentWillUpdate","state","rightWidth","Math","overshootLeft","overshootRight","transX","inputRange","outputRange","Number","extrapolate","State","ev","leftThreshold","rightThreshold","startOffsetX","toValue","velocityX","restSpeedThreshold","restDisplacementThreshold","velocity","bounciness","animationOptions","finished","width","render","renderRightActions","left","renderLeftActions","styles","transform","translateX","leftActionTranslate","x","right","rightActionTranslate","onHandlerStateChange","onTapHandlerStateChange","container","overflow","leftActions","StyleSheet","flexDirection","I18nManager","rightActions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,OAAO,KAAP,KAAA,MAAA,OAAA;AACA,SAAA,SAAA,QAAA,OAAA;;;;;AAWA,SAAA,iBAAA,EAAA,iBAAA;AASA,SAAA,KAAA;AAEA,IAAMA,SAAS,GAAf,IAAA;;IAmEe,S;;;;;AAUbK,qBAAW,MAAXA,EAAmC;AAAA;;AAAA;;AACjC,8BAAA,MAAA;;AADiC,IAAA,eAAA,gCAAA,gBAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,QAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,gBAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,qBAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,iBAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,sBAAA,EAAA,KAAA,CAAA,CAAA;;AAAA,IAAA,eAAA,gCAAA,qBAAA,EA0CL,UAAA,KAAA,EAAA,KAAA,EAGzB;AACH,UAAM,QAAN,GAAA,KAAA,CAAM,QAAN;AAAA,UAAkBF,iBAAlB,GAAA,KAAA,CAAkBA,iBAAlB;AACA,UAAM,KAAN,GAAA,KAAA,CAAM,KAAN;AAAA,UAAM,cAAN,GAAA,KAAA,CAAM,cAAN;AAAA,6BAAA,KAAA,CAA+BO,SAA/B;AAAA,UAA+BA,SAA/B,iCAAM,CAAN;AAAA,4BAAA,KAAA,CAA8CE,QAA9C;AAAA,UAA8CA,QAA9C,gCAAyD,CAAzD;AACA,+BAAA,KAAA,CAAQD,WAAR;AAAA,UAAQA,WAAR,mC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,kCACNC,UAAU,CADF,kBAAF;AAETC,IAAAA,aAAa,EAAEC,WAAW,CAAXA,KAAAA,GAAAA,aAAAA,GAAoC;AAF1C,IAJoB;AAQ/BC,EAAAA,YAAY,kCACPH,UAAU,CADD,kBAAF;AAEVC,IAAAA,aAAa,EAAEC,WAAW,CAAXA,KAAAA,GAAAA,KAAAA,GAA4B;AAFjC;AARmB,CAAlB,CAAf","sourcesContent":["// Similarily to the DrawerLayout component this deserves to be put in a\n// separate repo. Although, keeping it here for the time being will allow us\n// to move faster and fix possible issues quicker\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport {\n Animated,\n StyleSheet,\n View,\n I18nManager,\n LayoutChangeEvent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nimport {\n PanGestureHandler,\n TapGestureHandler,\n PanGestureHandlerProps,\n GestureEvent,\n PanGestureHandlerEventPayload,\n HandlerStateChangeEvent,\n TapGestureHandlerEventPayload,\n} from '../handlers/gestureHandlers';\nimport { State } from '../State';\n\nconst DRAG_TOSS = 0.05;\n\ntype SwipeableExcludes = Exclude<\n keyof PanGestureHandlerProps,\n 'onGestureEvent' | 'onHandlerStateChange'\n>;\n\ninterface SwipeableProps\n extends Pick<PanGestureHandlerProps, SwipeableExcludes> {\n enableTrackpadTwoFingerGesture?: boolean;\n friction?: number;\n leftThreshold?: number;\n rightThreshold?: number;\n overshootLeft?: boolean;\n overshootRight?: boolean;\n overshootFriction?: number;\n onSwipeableLeftOpen?: () => void;\n onSwipeableRightOpen?: () => void;\n onSwipeableOpen?: () => void;\n onSwipeableClose?: () => void;\n onSwipeableLeftWillOpen?: () => void;\n onSwipeableRightWillOpen?: () => void;\n onSwipeableWillOpen?: () => void;\n onSwipeableWillClose?: () => void;\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1]\n * dragAnimatedValue: [0, +]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderLeftActions?: (\n progressAnimatedValue: Animated.AnimatedInterpolation,\n dragAnimatedValue: Animated.AnimatedInterpolation\n ) => React.ReactNode;\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1]\n * dragAnimatedValue: [0, -]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderRightActions?: (\n progressAnimatedValue: Animated.AnimatedInterpolation,\n dragAnimatedValue: Animated.AnimatedInterpolation\n ) => React.ReactNode;\n useNativeAnimations?: boolean;\n animationOptions?: Record<string, unknown>;\n containerStyle?: StyleProp<ViewStyle>;\n childrenContainerStyle?: StyleProp<ViewStyle>;\n}\n\ntype SwipeableState = {\n dragX: Animated.Value;\n rowTranslation: Animated.Value;\n rowState: number;\n leftWidth?: number;\n rightOffset?: number;\n rowWidth?: number;\n};\n\nexport default class Swipeable extends Component<\n SwipeableProps,\n SwipeableState\n> {\n static defaultProps = {\n friction: 1,\n overshootFriction: 1,\n useNativeAnimations: true,\n };\n\n constructor(props: SwipeableProps) {\n super(props);\n const dragX = new Animated.Value(0);\n this.state = {\n dragX,\n rowTranslation: new Animated.Value(0),\n rowState: 0,\n leftWidth: undefined,\n rightOffset: undefined,\n rowWidth: undefined,\n };\n this.updateAnimatedEvent(props, this.state);\n\n this.onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragX } }],\n { useNativeDriver: props.useNativeAnimations! }\n );\n }\n\n UNSAFE_componentWillUpdate(props: SwipeableProps, state: SwipeableState) {\n if (\n this.props.friction !== props.friction ||\n this.props.overshootLeft !== props.overshootLeft ||\n this.props.overshootRight !== props.overshootRight ||\n this.props.overshootFriction !== props.overshootFriction ||\n this.state.leftWidth !== state.leftWidth ||\n this.state.rightOffset !== state.rightOffset ||\n this.state.rowWidth !== state.rowWidth\n ) {\n this.updateAnimatedEvent(props, state);\n }\n }\n\n private onGestureEvent?: (\n event: GestureEvent<PanGestureHandlerEventPayload>\n ) => void;\n private transX?: Animated.AnimatedInterpolation;\n private showLeftAction?: Animated.AnimatedInterpolation | Animated.Value;\n private leftActionTranslate?: Animated.AnimatedInterpolation;\n private showRightAction?: Animated.AnimatedInterpolation | Animated.Value;\n private rightActionTranslate?: Animated.AnimatedInterpolation;\n\n private updateAnimatedEvent = (\n props: SwipeableProps,\n state: SwipeableState\n ) => {\n const { friction, overshootFriction } = props;\n const { dragX, rowTranslation, leftWidth = 0, rowWidth = 0 } = state;\n const { rightOffset = rowWidth } = state;\n const rightWidth = Math.max(0, rowWidth - rightOffset);\n\n const {\n overshootLeft = leftWidth > 0,\n overshootRight = rightWidth > 0,\n } = props;\n\n const transX = Animated.add(\n rowTranslation,\n dragX.interpolate({\n inputRange: [0, friction!],\n outputRange: [0, 1],\n })\n ).interpolate({\n inputRange: [\n -rightWidth - (overshootRight ? 1 : overshootFriction!),\n -rightWidth,\n leftWidth,\n leftWidth + (overshootLeft ? 1 : overshootFriction!),\n ],\n outputRange: [\n -rightWidth - (overshootRight || overshootFriction! > 1 ? 1 : 0),\n -rightWidth,\n leftWidth,\n leftWidth + (overshootLeft || overshootFriction! > 1 ? 1 : 0),\n ],\n });\n this.transX = transX;\n this.showLeftAction =\n leftWidth > 0\n ? transX.interpolate({\n inputRange: [-1, 0, leftWidth],\n outputRange: [0, 0, 1],\n })\n : new Animated.Value(0);\n this.leftActionTranslate = this.showLeftAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n this.showRightAction =\n rightWidth > 0\n ? transX.interpolate({\n inputRange: [-rightWidth, 0, 1],\n outputRange: [1, 0, 0],\n })\n : new Animated.Value(0);\n this.rightActionTranslate = this.showRightAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n };\n\n private onTapHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent<TapGestureHandlerEventPayload>) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this.close();\n }\n };\n\n private onHandlerStateChange = (\n ev: HandlerStateChangeEvent<PanGestureHandlerEventPayload>\n ) => {\n if (ev.nativeEvent.oldState === State.ACTIVE) {\n this.handleRelease(ev);\n }\n };\n\n private handleRelease = (\n ev: HandlerStateChangeEvent<PanGestureHandlerEventPayload>\n ) => {\n const { velocityX, translationX: dragX } = ev.nativeEvent;\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n const {\n friction,\n leftThreshold = leftWidth / 2,\n rightThreshold = rightWidth / 2,\n } = this.props;\n\n const startOffsetX = this.currentOffset() + dragX / friction!;\n const translationX = (dragX + DRAG_TOSS * velocityX) / friction!;\n\n let toValue = 0;\n if (rowState === 0) {\n if (translationX > leftThreshold) {\n toValue = leftWidth;\n } else if (translationX < -rightThreshold) {\n toValue = -rightWidth;\n }\n } else if (rowState === 1) {\n // swiped to left\n if (translationX > -leftThreshold) {\n toValue = leftWidth;\n }\n } else {\n // swiped to right\n if (translationX < rightThreshold) {\n toValue = -rightWidth;\n }\n }\n\n this.animateRow(startOffsetX, toValue, velocityX / friction!);\n };\n\n private animateRow = (\n fromValue: number,\n toValue: number,\n velocityX?:\n | number\n | {\n x: number;\n y: number;\n }\n ) => {\n const { dragX, rowTranslation } = this.state;\n dragX.setValue(0);\n rowTranslation.setValue(fromValue);\n\n this.setState({ rowState: Math.sign(toValue) });\n Animated.spring(rowTranslation, {\n restSpeedThreshold: 1.7,\n restDisplacementThreshold: 0.4,\n velocity: velocityX,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations!,\n ...this.props.animationOptions,\n }).start(({ finished }) => {\n if (finished) {\n if (toValue > 0 && this.props.onSwipeableLeftOpen) {\n this.props.onSwipeableLeftOpen();\n } else if (toValue < 0 && this.props.onSwipeableRightOpen) {\n this.props.onSwipeableRightOpen();\n }\n\n if (toValue === 0) {\n this.props.onSwipeableClose?.();\n } else {\n this.props.onSwipeableOpen?.();\n }\n }\n });\n if (toValue > 0 && this.props.onSwipeableLeftWillOpen) {\n this.props.onSwipeableLeftWillOpen();\n } else if (toValue < 0 && this.props.onSwipeableRightWillOpen) {\n this.props.onSwipeableRightWillOpen();\n }\n\n if (toValue === 0) {\n this.props.onSwipeableWillClose?.();\n } else {\n this.props.onSwipeableWillOpen?.();\n }\n };\n\n private onRowLayout = ({ nativeEvent }: LayoutChangeEvent) => {\n this.setState({ rowWidth: nativeEvent.layout.width });\n };\n\n private currentOffset = () => {\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n if (rowState === 1) {\n return leftWidth;\n } else if (rowState === -1) {\n return -rightWidth;\n }\n return 0;\n };\n\n close = () => {\n this.animateRow(this.currentOffset(), 0);\n };\n\n openLeft = () => {\n const { leftWidth = 0 } = this.state;\n this.animateRow(this.currentOffset(), leftWidth);\n };\n\n openRight = () => {\n const { rowWidth = 0 } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n this.animateRow(this.currentOffset(), -rightWidth);\n };\n\n render() {\n const { rowState } = this.state;\n const { children, renderLeftActions, renderRightActions } = this.props;\n\n const left = renderLeftActions && (\n <Animated.View\n style={[\n styles.leftActions,\n // all those and below parameters can have ! since they are all asigned in constructor in `updateAnimatedEvent` but TS cannot spot it for some reason\n { transform: [{ translateX: this.leftActionTranslate! }] },\n ]}>\n {renderLeftActions(this.showLeftAction!, this.transX!)}\n <View\n onLayout={({ nativeEvent }) =>\n this.setState({ leftWidth: nativeEvent.layout.x })\n }\n />\n </Animated.View>\n );\n\n const right = renderRightActions && (\n <Animated.View\n style={[\n styles.rightActions,\n { transform: [{ translateX: this.rightActionTranslate! }] },\n ]}>\n {renderRightActions(this.showRightAction!, this.transX!)}\n <View\n onLayout={({ nativeEvent }) =>\n this.setState({ rightOffset: nativeEvent.layout.x })\n }\n />\n </Animated.View>\n );\n\n return (\n <PanGestureHandler\n activeOffsetX={[-10, 10]}\n {...this.props}\n onGestureEvent={this.onGestureEvent}\n onHandlerStateChange={this.onHandlerStateChange}>\n <Animated.View\n onLayout={this.onRowLayout}\n style={[styles.container, this.props.containerStyle]}>\n {left}\n {right}\n <TapGestureHandler\n enabled={rowState !== 0}\n onHandlerStateChange={this.onTapHandlerStateChange}>\n <Animated.View\n pointerEvents={rowState === 0 ? 'auto' : 'box-only'}\n style={[\n {\n transform: [{ translateX: this.transX! }],\n },\n this.props.childrenContainerStyle,\n ]}>\n {children}\n </Animated.View>\n </TapGestureHandler>\n </Animated.View>\n </PanGestureHandler>\n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n overflow: 'hidden',\n },\n leftActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row',\n },\n rightActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row' : 'row-reverse',\n },\n});\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/696a6f2f23efafc28fc3c6d5b5ffaeac.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"var TouchHistoryMath = {\n centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n var touchBank = touchHistory.touchBank;\n var total = 0;\n var count = 0;\n var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n\n if (oneTouchData !== null) {\n if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (var i = 0; i < touchBank.length; i++) {\n var touchTrack = touchBank[i];\n\n if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n var toAdd = void 0;\n\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n\n total += toAdd;\n count++;\n }\n }\n }\n\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, true);\n },\n currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, true);\n },\n previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, false);\n },\n previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, false);\n },\n currentCentroidX: function currentCentroidX(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, true, true);\n },\n currentCentroidY: function currentCentroidY(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, false, true);\n },\n noCentroid: -1\n};\nexport default TouchHistoryMath;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/TouchHistoryMath/index.js"],"names":["TouchHistoryMath","centroidDimension","touchHistory","touchesChangedAfter","isXAxis","ofCurrent","touchBank","total","count","oneTouchData","numberActiveTouches","indexOfSingleActiveTouch","touchActive","currentTimeStamp","currentPageX","currentPageY","previousPageX","previousPageY","i","length","touchTrack","undefined","toAdd","noCentroid","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY"],"mappings":"AAQA,IAAIA,gBAAgB,GAAG;AAiBrBC,EAAAA,iBAAiB,EAAE,SAASA,iBAAT,CAA2BC,YAA3B,EAAyCC,mBAAzC,EAA8DC,OAA9D,EAAuEC,SAAvE,EAAkF;AACnG,QAAIC,SAAS,GAAGJ,YAAY,CAACI,SAA7B;AACA,QAAIC,KAAK,GAAG,CAAZ;AACA,QAAIC,KAAK,GAAG,CAAZ;AACA,QAAIC,YAAY,GAAGP,YAAY,CAACQ,mBAAb,KAAqC,CAArC,GAAyCR,YAAY,CAACI,SAAb,CAAuBJ,YAAY,CAACS,wBAApC,CAAzC,GAAyG,IAA5H;;AAEA,QAAIF,YAAY,KAAK,IAArB,EAA2B;AACzB,UAAIA,YAAY,CAACG,WAAb,IAA4BH,YAAY,CAACI,gBAAb,GAAgCV,mBAAhE,EAAqF;AACnFI,QAAAA,KAAK,IAAIF,SAAS,IAAID,OAAb,GAAuBK,YAAY,CAACK,YAApC,GAAmDT,SAAS,IAAI,CAACD,OAAd,GAAwBK,YAAY,CAACM,YAArC,GAAoD,CAACV,SAAD,IAAcD,OAAd,GAAwBK,YAAY,CAACO,aAArC,GAAqDP,YAAY,CAACQ,aAAlL;AACAT,QAAAA,KAAK,GAAG,CAAR;AACD;AACF,KALD,MAKO;AACL,WAAK,IAAIU,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGZ,SAAS,CAACa,MAA9B,EAAsCD,CAAC,EAAvC,EAA2C;AACzC,YAAIE,UAAU,GAAGd,SAAS,CAACY,CAAD,CAA1B;;AAEA,YAAIE,UAAU,KAAK,IAAf,IAAuBA,UAAU,KAAKC,SAAtC,IAAmDD,UAAU,CAACR,WAA9D,IAA6EQ,UAAU,CAACP,gBAAX,IAA+BV,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,CAAgDzB,YAAhD,EAA8DC,mBAA9D,EAAmF;AACzH,WAAOH,gBAAgB,CAACC,iBAAjB,CAAmCC,YAAnC,EAAiDC,mBAAjD,EAAsE,KAAtE,EACP,KADO,CAAP;AAGD,GAxEoB;AAyErByB,EAAAA,gBAAgB,EAAE,SAASA,gBAAT,CAA0B1B,YAA1B,EAAwC;AACxD,WAAOF,gBAAgB,CAACC,iBAAjB,CAAmCC,YAAnC,EAAiD,CAAjD,EACP,IADO,EAEP,IAFO,CAAP;AAID,GA9EoB;AA+ErB2B,EAAAA,gBAAgB,EAAE,SAASA,gBAAT,CAA0B3B,YAA1B,EAAwC;AACxD,WAAOF,gBAAgB,CAACC,iBAAjB,CAAmCC,YAAnC,EAAiD,CAAjD,EACP,KADO,EAEP,IAFO,CAAP;AAID,GApFoB;AAqFrBqB,EAAAA,UAAU,EAAE,CAAC;AArFQ,CAAvB;AAuFA,eAAevB,gBAAf","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\nvar TouchHistoryMath = {\n /**\n * This code is optimized and not intended to look beautiful. This allows\n * computing of touch centroids that have moved after `touchesChangedAfter`\n * timeStamp. You can compute the current centroid involving all touches\n * moves after `touchesChangedAfter`, or you can compute the previous\n * centroid of all touches that were moved after `touchesChangedAfter`.\n *\n * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n * data.\n * @param {number} touchesChangedAfter timeStamp after which moved touches\n * are considered \"actively moving\" - not just \"active\".\n * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n * @param {boolean} ofCurrent Compute current centroid for actively moving\n * touches vs. previous centroid of now actively moving touches.\n * @return {number} value of centroid in specified dimension.\n */\n centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n var touchBank = touchHistory.touchBank;\n var total = 0;\n var count = 0;\n var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n\n if (oneTouchData !== null) {\n if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (var i = 0; i < touchBank.length; i++) {\n var touchTrack = touchBank[i];\n\n if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n var toAdd = void 0; // Yuck, program temporarily in invalid state.\n\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n\n total += toAdd;\n count++;\n }\n }\n }\n\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n true // ofCurrent\n );\n },\n currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n true // ofCurrent\n );\n },\n previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n false // ofCurrent\n );\n },\n previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n false // ofCurrent\n );\n },\n currentCentroidX: function currentCentroidX(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n true, // isXAxis\n true // ofCurrent\n );\n },\n currentCentroidY: function currentCentroidY(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n false, // isXAxis\n true // ofCurrent\n );\n },\n noCentroid: -1\n};\nexport default TouchHistoryMath;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6991b1cd9f19326a94f92ef5b1b842a8.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedClock from \"./AnimatedClock\";\nimport { AnimatedParam } from \"./AnimatedParam\";\nimport invariant from 'fbjs/lib/invariant';\n\nvar AnimatedStopClock = function (_AnimatedNode) {\n _inherits(AnimatedStopClock, _AnimatedNode);\n\n var _super = _createSuper(AnimatedStopClock);\n\n function AnimatedStopClock(clockNode) {\n var _this;\n\n _classCallCheck(this, AnimatedStopClock);\n\n invariant(clockNode instanceof AnimatedClock || clockNode instanceof AnimatedParam, \"Reanimated: Animated.stopClock argument should be of type AnimatedClock but got \" + clockNode);\n _this = _super.call(this, {\n type: 'clockStop',\n clock: clockNode\n });\n _this._clockNode = clockNode;\n return _this;\n }\n\n _createClass(AnimatedStopClock, [{\n key: \"toString\",\n value: function toString() {\n return \"AnimatedStopClock, id: \" + this.__nodeID;\n }\n }, {\n key: \"__onEvaluate\",\n value: function __onEvaluate() {\n this._clockNode.stop();\n\n return 0;\n }\n }]);\n\n return AnimatedStopClock;\n}(AnimatedNode);\n\nexport function createAnimatedStopClock(clock) {\n return new AnimatedStopClock(clock);\n}","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated1/core/AnimatedStopClock.js"],"names":["AnimatedNode","AnimatedClock","AnimatedParam","invariant","AnimatedStopClock","clockNode","type","clock","_clockNode","__nodeID","stop","createAnimatedStopClock"],"mappings":";;;;;;;;;;AAAA,OAAOA,YAAP;AACA,OAAOC,aAAP;AACA,SAASC,aAAT;AACA,OAAOC,SAAP,MAAsB,oBAAtB;;IAEMC,iB;;;;;AAGJ,6BAAYC,SAAZ,EAAuB;AAAA;;AAAA;;AACrBF,IAAAA,SAAS,CACPE,SAAS,YAAYJ,aAArB,IAAsCI,SAAS,YAAYH,aADpD,uFAE4EG,SAF5E,CAAT;AAIA,8BAAM;AAAEC,MAAAA,IAAI,EAAE,WAAR;AAAqBC,MAAAA,KAAK,EAAEF;AAA5B,KAAN;AACA,UAAKG,UAAL,GAAkBH,SAAlB;AANqB;AAOtB;;;;WAED,oBAAW;AACT,yCAAiC,KAAKI,QAAtC;AACD;;;WAED,wBAAe;AACb,WAAKD,UAAL,CAAgBE,IAAhB;;AACA,aAAO,CAAP;AACD;;;;EAnB6BV,Y;;AAsBhC,OAAO,SAASW,uBAAT,CAAiCJ,KAAjC,EAAwC;AAC7C,SAAO,IAAIH,iBAAJ,CAAsBG,KAAtB,CAAP;AACD","sourcesContent":["import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport { AnimatedParam } from './AnimatedParam';\nimport invariant from 'fbjs/lib/invariant';\n\nclass AnimatedStopClock extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n invariant(\n clockNode instanceof AnimatedClock || clockNode instanceof AnimatedParam,\n `Reanimated: Animated.stopClock argument should be of type AnimatedClock but got ${clockNode}`\n );\n super({ type: 'clockStop', clock: clockNode });\n this._clockNode = clockNode;\n }\n\n toString() {\n return `AnimatedStopClock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n this._clockNode.stop();\n return 0;\n }\n}\n\nexport function createAnimatedStopClock(clock) {\n return new AnimatedStopClock(clock);\n}\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6b97a59c5465397dba921f389acaafdd.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport ReanimatedModule from \"./ReanimatedModule\";\nvar UI_THREAD_PROPS_WHITELIST = {\n opacity: true,\n transform: true,\n backgroundColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderStartColor: true,\n borderTopColor: true,\n shadowOpacity: true,\n shadowRadius: true,\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true\n};\nvar NATIVE_THREAD_PROPS_WHITELIST = {\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n height: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n elevation: true,\n fontSize: true,\n lineHeight: true,\n textShadowRadius: true,\n letterSpacing: true,\n display: true,\n backfaceVisibility: true,\n overflow: true,\n resizeMode: true,\n fontStyle: true,\n fontWeight: true,\n textAlign: true,\n textDecorationLine: true,\n fontFamily: true,\n textAlignVertical: true,\n fontVariant: true,\n textDecorationStyle: true,\n textTransform: true,\n writingDirection: true,\n color: true,\n tintColor: true,\n shadowColor: true\n};\n\nfunction configureProps() {\n ReanimatedModule.configureProps(Object.keys(NATIVE_THREAD_PROPS_WHITELIST), Object.keys(UI_THREAD_PROPS_WHITELIST));\n}\n\nexport function addWhitelistedNativeProps(props) {\n var oldSize = Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length;\n NATIVE_THREAD_PROPS_WHITELIST = _objectSpread(_objectSpread({}, NATIVE_THREAD_PROPS_WHITELIST), props);\n\n if (oldSize !== Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\nexport function addWhitelistedUIProps(props) {\n var oldSize = Object.keys(UI_THREAD_PROPS_WHITELIST).length;\n UI_THREAD_PROPS_WHITELIST = _objectSpread(_objectSpread({}, UI_THREAD_PROPS_WHITELIST), props);\n\n if (oldSize !== Object.keys(UI_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\nvar PROCESSED_VIEW_NAMES = new Set();\nexport function adaptViewConfig(viewConfig) {\n var viewName = viewConfig.uiViewClassName;\n var props = viewConfig.validAttributes;\n\n if (!PROCESSED_VIEW_NAMES.has(viewName)) {\n var propsToAdd = {};\n Object.keys(props).forEach(function (key) {\n if (!(key in NATIVE_THREAD_PROPS_WHITELIST) && !(key in UI_THREAD_PROPS_WHITELIST)) {\n propsToAdd[key] = true;\n }\n });\n addWhitelistedUIProps(propsToAdd);\n PROCESSED_VIEW_NAMES.add(viewName);\n }\n}\nconfigureProps();","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/ConfigHelper.js"],"names":["ReanimatedModule","UI_THREAD_PROPS_WHITELIST","opacity","transform","backgroundColor","borderRightColor","borderBottomColor","borderColor","borderEndColor","borderLeftColor","borderStartColor","borderTopColor","shadowOpacity","shadowRadius","scaleX","scaleY","translateX","translateY","NATIVE_THREAD_PROPS_WHITELIST","borderBottomWidth","borderEndWidth","borderLeftWidth","borderRightWidth","borderStartWidth","borderTopWidth","borderWidth","bottom","flex","flexGrow","flexShrink","height","left","margin","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","maxHeight","maxWidth","minHeight","minWidth","padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","right","start","top","width","zIndex","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderRadius","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","elevation","fontSize","lineHeight","textShadowRadius","letterSpacing","display","backfaceVisibility","overflow","resizeMode","fontStyle","fontWeight","textAlign","textDecorationLine","fontFamily","textAlignVertical","fontVariant","textDecorationStyle","textTransform","writingDirection","color","tintColor","shadowColor","configureProps","Object","keys","addWhitelistedNativeProps","props","oldSize","length","addWhitelistedUIProps","PROCESSED_VIEW_NAMES","Set","adaptViewConfig","viewConfig","viewName","uiViewClassName","validAttributes","has","propsToAdd","forEach","key","add"],"mappings":";;;;;;AAAA,OAAOA,gBAAP;AAKA,IAAIC,yBAAyB,GAAG;AAC9BC,EAAAA,OAAO,EAAE,IADqB;AAE9BC,EAAAA,SAAS,EAAE,IAFmB;AAI9BC,EAAAA,eAAe,EAAE,IAJa;AAK9BC,EAAAA,gBAAgB,EAAE,IALY;AAM9BC,EAAAA,iBAAiB,EAAE,IANW;AAO9BC,EAAAA,WAAW,EAAE,IAPiB;AAQ9BC,EAAAA,cAAc,EAAE,IARc;AAS9BC,EAAAA,eAAe,EAAE,IATa;AAU9BC,EAAAA,gBAAgB,EAAE,IAVY;AAW9BC,EAAAA,cAAc,EAAE,IAXc;AAa9BC,EAAAA,aAAa,EAAE,IAbe;AAc9BC,EAAAA,YAAY,EAAE,IAdgB;AAgB9BC,EAAAA,MAAM,EAAE,IAhBsB;AAiB9BC,EAAAA,MAAM,EAAE,IAjBsB;AAkB9BC,EAAAA,UAAU,EAAE,IAlBkB;AAmB9BC,EAAAA,UAAU,EAAE;AAnBkB,CAAhC;AAyBA,IAAIC,6BAA6B,GAAG;AAClCC,EAAAA,iBAAiB,EAAE,IADe;AAElCC,EAAAA,cAAc,EAAE,IAFkB;AAGlCC,EAAAA,eAAe,EAAE,IAHiB;AAIlCC,EAAAA,gBAAgB,EAAE,IAJgB;AAKlCC,EAAAA,gBAAgB,EAAE,IALgB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GAAG,IAAI3G,yBAAT,CAFF,EAGE;AACAyG,QAAAA,UAAU,CAACE,GAAD,CAAV,GAAkB,IAAlB;AACD;AACF,KATD;AAUAX,IAAAA,qBAAqB,CAACS,UAAD,CAArB;AAEAR,IAAAA,oBAAoB,CAACW,GAArB,CAAyBP,QAAzB;AACD;AACF;AAEDZ,cAAc","sourcesContent":["import ReanimatedModule from './ReanimatedModule';\n\n/**\n * Styles allowed to be direcly updated in UI thread\n */\nlet UI_THREAD_PROPS_WHITELIST = {\n opacity: true,\n transform: true,\n /* colors */\n backgroundColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderStartColor: true,\n borderTopColor: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\n/**\n * Whitelist of view props that can be updated in native thread via UIManagerModule\n */\nlet NATIVE_THREAD_PROPS_WHITELIST = {\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n height: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n elevation: true,\n fontSize: true,\n lineHeight: true,\n textShadowRadius: true,\n letterSpacing: true,\n /* strings */\n display: true,\n backfaceVisibility: true,\n overflow: true,\n resizeMode: true,\n fontStyle: true,\n fontWeight: true,\n textAlign: true,\n textDecorationLine: true,\n fontFamily: true,\n textAlignVertical: true,\n fontVariant: true,\n textDecorationStyle: true,\n textTransform: true,\n writingDirection: true,\n /* text color */\n color: true,\n tintColor: true,\n shadowColor: true,\n};\n\nfunction configureProps() {\n ReanimatedModule.configureProps(\n Object.keys(NATIVE_THREAD_PROPS_WHITELIST),\n Object.keys(UI_THREAD_PROPS_WHITELIST)\n );\n}\n\nexport function addWhitelistedNativeProps(props) {\n const oldSize = Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length;\n NATIVE_THREAD_PROPS_WHITELIST = {\n ...NATIVE_THREAD_PROPS_WHITELIST,\n ...props,\n };\n if (oldSize !== Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nexport function addWhitelistedUIProps(props) {\n const oldSize = Object.keys(UI_THREAD_PROPS_WHITELIST).length;\n UI_THREAD_PROPS_WHITELIST = { ...UI_THREAD_PROPS_WHITELIST, ...props };\n if (oldSize !== Object.keys(UI_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nconst PROCESSED_VIEW_NAMES = new Set();\n/**\n * updates UI props whitelist for given view host instance\n * this will work just once for every view name\n */\nexport function adaptViewConfig(viewConfig) {\n const viewName = viewConfig.uiViewClassName;\n const props = viewConfig.validAttributes;\n\n // update whitelist of UI props for this view name only once\n if (!PROCESSED_VIEW_NAMES.has(viewName)) {\n const propsToAdd = {};\n Object.keys(props).forEach((key) => {\n // we don't want to add native props as they affect layout\n // we also skip props which repeat here\n if (\n !(key in NATIVE_THREAD_PROPS_WHITELIST) &&\n !(key in UI_THREAD_PROPS_WHITELIST)\n ) {\n propsToAdd[key] = true;\n }\n });\n addWhitelistedUIProps(propsToAdd);\n\n PROCESSED_VIEW_NAMES.add(viewName);\n }\n}\n\nconfigureProps();\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6c2f82c0db7403ccd4f19071f91173e4.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\n\nvar _requestIdleCallback = function _requestIdleCallback(cb, options) {\n return setTimeout(function () {\n var start = Date.now();\n cb({\n didTimeout: false,\n timeRemaining: function timeRemaining() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n};\n\nvar _cancelIdleCallback = function _cancelIdleCallback(id) {\n clearTimeout(id);\n};\n\nvar isSupported = canUseDOM && typeof window.requestIdleCallback !== 'undefined';\nvar requestIdleCallback = isSupported ? window.requestIdleCallback : _requestIdleCallback;\nvar cancelIdleCallback = isSupported ? window.cancelIdleCallback : _cancelIdleCallback;\nexport default requestIdleCallback;\nexport { cancelIdleCallback };","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/requestIdleCallback/index.js"],"names":["canUseDOM","_requestIdleCallback","cb","options","setTimeout","start","Date","now","didTimeout","timeRemaining","Math","max","_cancelIdleCallback","id","clearTimeout","isSupported","window","requestIdleCallback","cancelIdleCallback"],"mappings":"AAQA,SAASA,SAAT,QAA0B,+BAA1B;;AAEA,IAAIC,oBAAoB,GAAG,SAASA,oBAAT,CAA8BC,EAA9B,EAAkCC,OAAlC,EAA2C;AACpE,SAAOC,UAAU,CAAC,YAAY;AAC5B,QAAIC,KAAK,GAAGC,IAAI,CAACC,GAAL,EAAZ;AACAL,IAAAA,EAAE,CAAC;AACDM,MAAAA,UAAU,EAAE,KADX;AAEDC,MAAAA,aAAa,EAAE,SAASA,aAAT,GAAyB;AACtC,eAAOC,IAAI,CAACC,GAAL,CAAS,CAAT,EAAY,MAAML,IAAI,CAACC,GAAL,KAAaF,KAAnB,CAAZ,CAAP;AACD;AAJA,KAAD,CAAF;AAMD,GARgB,EAQd,CARc,CAAjB;AASD,CAVD;;AAaA,IAAIO,mBAAmB,GAAG,SAASA,mBAAT,CAA6BC,EAA7B,EAAiC;AACzDC,EAAAA,YAAY,CAACD,EAAD,CAAZ;AACD,CAFD;;AAIA,IAAIE,WAAW,GAAGf,SAAS,IAAI,OAAOgB,MAAM,CAACC,mBAAd,KAAsC,WAArE;AACA,IAAIA,mBAAmB,GAAGF,WAAW,GAAGC,MAAM,CAACC,mBAAV,GAAgChB,oBAArE;AACA,IAAIiB,kBAAkB,GAAGH,WAAW,GAAGC,MAAM,CAACE,kBAAV,GAA+BN,mBAAnE;AACA,eAAeK,mBAAf;AACA,SAASC,kBAAT","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\n\nvar _requestIdleCallback = function _requestIdleCallback(cb, options) {\n return setTimeout(function () {\n var start = Date.now();\n cb({\n didTimeout: false,\n timeRemaining: function timeRemaining() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n}; // $FlowFixMe (TimeoutID type is not recognized by eslint)\n\n\nvar _cancelIdleCallback = function _cancelIdleCallback(id) {\n clearTimeout(id);\n};\n\nvar isSupported = canUseDOM && typeof window.requestIdleCallback !== 'undefined';\nvar requestIdleCallback = isSupported ? window.requestIdleCallback : _requestIdleCallback;\nvar cancelIdleCallback = isSupported ? window.cancelIdleCallback : _cancelIdleCallback;\nexport default requestIdleCallback;\nexport { cancelIdleCallback };"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6c8a2848fe0f787148c2fb6de4264155.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nimport invariant from 'fbjs/lib/invariant';\nimport { adapt } from \"../core/AnimatedBlock\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport { val } from \"../val\";\n\nvar AnimatedConcat = function (_AnimatedNode) {\n _inherits(AnimatedConcat, _AnimatedNode);\n\n var _super = _createSuper(AnimatedConcat);\n\n function AnimatedConcat(input) {\n var _this;\n\n _classCallCheck(this, AnimatedConcat);\n\n invariant(input.every(function (el) {\n return el instanceof AnimatedNode || typeof el === 'number' || typeof el === 'string';\n }), \"Reanimated: Animated.concat node arguments should be of type AnimatedNode or String or Number. One or more of them are not of that type. Node: \" + input);\n _this = _super.call(this, {\n type: 'concat',\n input: input\n }, input);\n _this._input = input;\n return _this;\n }\n\n _createClass(AnimatedConcat, [{\n key: \"__onEvaluate\",\n value: function __onEvaluate() {\n return this._input.reduce(function (prev, current) {\n return prev + val(current);\n }, '');\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return \"AnimatedConcat, id: \" + this.__nodeID;\n }\n }]);\n\n return AnimatedConcat;\n}(AnimatedNode);\n\nexport function createAnimatedConcat() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return new AnimatedConcat(args.map(adapt));\n}","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated1/core/AnimatedConcat.js"],"names":["invariant","adapt","AnimatedNode","val","AnimatedConcat","input","every","el","type","_input","reduce","prev","current","__nodeID","createAnimatedConcat","args","map"],"mappings":";;;;;;;;;;AAAA,OAAOA,SAAP,MAAsB,oBAAtB;AACA,SAASC,KAAT;AACA,OAAOC,YAAP;AACA,SAASC,GAAT;;IAEMC,c;;;;;AACJ,0BAAYC,KAAZ,EAAmB;AAAA;;AAAA;;AACjBL,IAAAA,SAAS,CACPK,KAAK,CAACC,KAAN,CACE,UAACC,EAAD;AAAA,aACEA,EAAE,YAAYL,YAAd,IACA,OAAOK,EAAP,KAAc,QADd,IAEA,OAAOA,EAAP,KAAc,QAHhB;AAAA,KADF,CADO,sJAO2IF,KAP3I,CAAT;AASA,8BAAM;AAAEG,MAAAA,IAAI,EAAE,QAAR;AAAkBH,MAAAA,KAAK,EAALA;AAAlB,KAAN,EAAiCA,KAAjC;AACA,UAAKI,MAAL,GAAcJ,KAAd;AAXiB;AAYlB;;;;WAED,wBAAe;AACb,aAAO,KAAKI,MAAL,CAAYC,MAAZ,CAAmB,UAACC,IAAD,EAAOC,OAAP;AAAA,eAAmBD,IAAI,GAAGR,GAAG,CAACS,OAAD,CAA7B;AAAA,OAAnB,EAA2D,EAA3D,CAAP;AACD;;;WAED,oBAAW;AACT,sCAA8B,KAAKC,QAAnC;AACD;;;;EArB0BX,Y;;AAwB7B,OAAO,SAASY,oBAAT,GAAuC;AAAA,oCAANC,IAAM;AAANA,IAAAA,IAAM;AAAA;;AAC5C,SAAO,IAAIX,cAAJ,CAAmBW,IAAI,CAACC,GAAL,CAASf,KAAT,CAAnB,CAAP;AACD","sourcesContent":["import invariant from 'fbjs/lib/invariant';\nimport { adapt } from '../core/AnimatedBlock';\nimport AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedConcat extends AnimatedNode {\n constructor(input) {\n invariant(\n input.every(\n (el) =>\n el instanceof AnimatedNode ||\n typeof el === 'number' ||\n typeof el === 'string'\n ),\n `Reanimated: Animated.concat node arguments should be of type AnimatedNode or String or Number. One or more of them are not of that type. Node: ${input}`\n );\n super({ type: 'concat', input }, input);\n this._input = input;\n }\n\n __onEvaluate() {\n return this._input.reduce((prev, current) => prev + val(current), '');\n }\n\n toString() {\n return `AnimatedConcat, id: ${this.__nodeID}`;\n }\n}\n\nexport function createAnimatedConcat(...args) {\n return new AnimatedConcat(args.map(adapt));\n}\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6d6f8b41da6a4ba792c39f671105e620.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import I18nManager from \"../I18nManager\";\nimport multiplyStyleLengthValue from \"../../modules/multiplyStyleLengthValue\";\nvar emptyObject = {};\nvar borderTopLeftRadius = 'borderTopLeftRadius';\nvar borderTopRightRadius = 'borderTopRightRadius';\nvar borderBottomLeftRadius = 'borderBottomLeftRadius';\nvar borderBottomRightRadius = 'borderBottomRightRadius';\nvar borderLeftColor = 'borderLeftColor';\nvar borderLeftStyle = 'borderLeftStyle';\nvar borderLeftWidth = 'borderLeftWidth';\nvar borderRightColor = 'borderRightColor';\nvar borderRightStyle = 'borderRightStyle';\nvar borderRightWidth = 'borderRightWidth';\nvar right = 'right';\nvar marginLeft = 'marginLeft';\nvar marginRight = 'marginRight';\nvar paddingLeft = 'paddingLeft';\nvar paddingRight = 'paddingRight';\nvar left = 'left';\nvar PROPERTIES_FLIP = {\n borderTopLeftRadius: borderTopRightRadius,\n borderTopRightRadius: borderTopLeftRadius,\n borderBottomLeftRadius: borderBottomRightRadius,\n borderBottomRightRadius: borderBottomLeftRadius,\n borderLeftColor: borderRightColor,\n borderLeftStyle: borderRightStyle,\n borderLeftWidth: borderRightWidth,\n borderRightColor: borderLeftColor,\n borderRightStyle: borderLeftStyle,\n borderRightWidth: borderLeftWidth,\n left: right,\n marginLeft: marginRight,\n marginRight: marginLeft,\n paddingLeft: paddingRight,\n paddingRight: paddingLeft,\n right: left\n};\nvar PROPERTIES_I18N = {\n borderTopStartRadius: borderTopLeftRadius,\n borderTopEndRadius: borderTopRightRadius,\n borderBottomStartRadius: borderBottomLeftRadius,\n borderBottomEndRadius: borderBottomRightRadius,\n borderStartColor: borderLeftColor,\n borderStartStyle: borderLeftStyle,\n borderStartWidth: borderLeftWidth,\n borderEndColor: borderRightColor,\n borderEndStyle: borderRightStyle,\n borderEndWidth: borderRightWidth,\n end: right,\n marginStart: marginLeft,\n marginEnd: marginRight,\n paddingStart: paddingLeft,\n paddingEnd: paddingRight,\n start: left\n};\nvar PROPERTIES_VALUE = {\n clear: true,\n float: true,\n textAlign: true\n};\n\nvar additiveInverse = function additiveInverse(value) {\n return multiplyStyleLengthValue(value, -1);\n};\n\nvar i18nStyle = function i18nStyle(originalStyle) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var style = originalStyle || emptyObject;\n var frozenProps = {};\n var nextStyle = {};\n\n for (var originalProp in style) {\n if (!Object.prototype.hasOwnProperty.call(style, originalProp)) {\n continue;\n }\n\n var originalValue = style[originalProp];\n var prop = originalProp;\n var value = originalValue;\n\n if (PROPERTIES_I18N.hasOwnProperty(originalProp)) {\n var convertedProp = PROPERTIES_I18N[originalProp];\n prop = isRTL ? PROPERTIES_FLIP[convertedProp] : convertedProp;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalProp]) {\n prop = PROPERTIES_FLIP[originalProp];\n }\n\n if (PROPERTIES_VALUE.hasOwnProperty(originalProp)) {\n if (originalValue === 'start') {\n value = isRTL ? 'right' : 'left';\n } else if (originalValue === 'end') {\n value = isRTL ? 'left' : 'right';\n } else if (isRTL && doLeftAndRightSwapInRTL) {\n if (originalValue === 'left') {\n value = 'right';\n } else if (originalValue === 'right') {\n value = 'left';\n }\n }\n }\n\n if (prop === 'transitionProperty') {\n if (PROPERTIES_I18N.hasOwnProperty(value)) {\n var convertedValue = PROPERTIES_I18N[originalValue];\n value = isRTL ? PROPERTIES_FLIP[convertedValue] : convertedValue;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalValue]) {\n value = PROPERTIES_FLIP[originalValue];\n }\n }\n\n if (isRTL && prop === 'textShadowOffset') {\n nextStyle[prop] = value;\n nextStyle[prop].width = additiveInverse(value.width);\n } else if (!frozenProps[prop]) {\n nextStyle[prop] = value;\n }\n\n if (PROPERTIES_I18N[originalProp]) {\n frozenProps[prop] = true;\n }\n }\n\n return nextStyle;\n};\n\nexport default i18nStyle;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/StyleSheet/i18nStyle.js"],"names":["I18nManager","multiplyStyleLengthValue","emptyObject","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","right","marginLeft","marginRight","paddingLeft","paddingRight","left","PROPERTIES_FLIP","PROPERTIES_I18N","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartColor","borderStartStyle","borderStartWidth","borderEndColor","borderEndStyle","borderEndWidth","end","marginStart","marginEnd","paddingStart","paddingEnd","start","PROPERTIES_VALUE","clear","float","textAlign","additiveInverse","value","i18nStyle","originalStyle","doLeftAndRightSwapInRTL","isRTL","style","frozenProps","nextStyle","originalProp","Object","prototype","hasOwnProperty","call","originalValue","prop","convertedProp","convertedValue","width"],"mappings":"AAQA,OAAOA,WAAP;AACA,OAAOC,wBAAP;AACA,IAAIC,WAAW,GAAG,EAAlB;AACA,IAAIC,mBAAmB,GAAG,qBAA1B;AACA,IAAIC,oBAAoB,GAAG,sBAA3B;AACA,IAAIC,sBAAsB,GAAG,wBAA7B;AACA,IAA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GvB,eAAe,CAACoC,aAAD,CAAvB;AACD;AACF;;AAGD,QAAIT,KAAK,IAAIU,IAAI,KAAK,kBAAtB,EAA0C;AACxCP,MAAAA,SAAS,CAACO,IAAD,CAAT,GAAkBd,KAAlB;AACAO,MAAAA,SAAS,CAACO,IAAD,CAAT,CAAgBG,KAAhB,GAAwBlB,eAAe,CAACC,KAAK,CAACiB,KAAP,CAAvC;AACD,KAHD,MAGO,IAAI,CAACX,WAAW,CAACQ,IAAD,CAAhB,EAAwB;AAC7BP,MAAAA,SAAS,CAACO,IAAD,CAAT,GAAkBd,KAAlB;AACD;;AAED,QAAItB,eAAe,CAAC8B,YAAD,CAAnB,EAAmC;AACjCF,MAAAA,WAAW,CAACQ,IAAD,CAAX,GAAoB,IAApB;AACD;AACF;;AAED,SAAOP,SAAP;AACD,CAjED;;AAmEA,eAAeN,SAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport I18nManager from '../I18nManager';\nimport multiplyStyleLengthValue from '../../modules/multiplyStyleLengthValue';\nvar emptyObject = {};\nvar borderTopLeftRadius = 'borderTopLeftRadius';\nvar borderTopRightRadius = 'borderTopRightRadius';\nvar borderBottomLeftRadius = 'borderBottomLeftRadius';\nvar borderBottomRightRadius = 'borderBottomRightRadius';\nvar borderLeftColor = 'borderLeftColor';\nvar borderLeftStyle = 'borderLeftStyle';\nvar borderLeftWidth = 'borderLeftWidth';\nvar borderRightColor = 'borderRightColor';\nvar borderRightStyle = 'borderRightStyle';\nvar borderRightWidth = 'borderRightWidth';\nvar right = 'right';\nvar marginLeft = 'marginLeft';\nvar marginRight = 'marginRight';\nvar paddingLeft = 'paddingLeft';\nvar paddingRight = 'paddingRight';\nvar left = 'left'; // Map of LTR property names to their BiDi equivalent.\n\nvar PROPERTIES_FLIP = {\n borderTopLeftRadius: borderTopRightRadius,\n borderTopRightRadius: borderTopLeftRadius,\n borderBottomLeftRadius: borderBottomRightRadius,\n borderBottomRightRadius: borderBottomLeftRadius,\n borderLeftColor: borderRightColor,\n borderLeftStyle: borderRightStyle,\n borderLeftWidth: borderRightWidth,\n borderRightColor: borderLeftColor,\n borderRightStyle: borderLeftStyle,\n borderRightWidth: borderLeftWidth,\n left: right,\n marginLeft: marginRight,\n marginRight: marginLeft,\n paddingLeft: paddingRight,\n paddingRight: paddingLeft,\n right: left\n}; // Map of I18N property names to their LTR equivalent.\n\nvar PROPERTIES_I18N = {\n borderTopStartRadius: borderTopLeftRadius,\n borderTopEndRadius: borderTopRightRadius,\n borderBottomStartRadius: borderBottomLeftRadius,\n borderBottomEndRadius: borderBottomRightRadius,\n borderStartColor: borderLeftColor,\n borderStartStyle: borderLeftStyle,\n borderStartWidth: borderLeftWidth,\n borderEndColor: borderRightColor,\n borderEndStyle: borderRightStyle,\n borderEndWidth: borderRightWidth,\n end: right,\n marginStart: marginLeft,\n marginEnd: marginRight,\n paddingStart: paddingLeft,\n paddingEnd: paddingRight,\n start: left\n};\nvar PROPERTIES_VALUE = {\n clear: true,\n float: true,\n textAlign: true\n}; // Invert the sign of a numeric-like value\n\nvar additiveInverse = function additiveInverse(value) {\n return multiplyStyleLengthValue(value, -1);\n};\n\nvar i18nStyle = function i18nStyle(originalStyle) {\n var doLeftAndRightSwapInRTL = I18nManager.doLeftAndRightSwapInRTL,\n isRTL = I18nManager.isRTL;\n var style = originalStyle || emptyObject;\n var frozenProps = {};\n var nextStyle = {};\n\n for (var originalProp in style) {\n if (!Object.prototype.hasOwnProperty.call(style, originalProp)) {\n continue;\n }\n\n var originalValue = style[originalProp];\n var prop = originalProp;\n var value = originalValue; // BiDi flip properties\n\n if (PROPERTIES_I18N.hasOwnProperty(originalProp)) {\n // convert start/end\n var convertedProp = PROPERTIES_I18N[originalProp];\n prop = isRTL ? PROPERTIES_FLIP[convertedProp] : convertedProp;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalProp]) {\n prop = PROPERTIES_FLIP[originalProp];\n } // BiDi flip values\n\n\n if (PROPERTIES_VALUE.hasOwnProperty(originalProp)) {\n if (originalValue === 'start') {\n value = isRTL ? 'right' : 'left';\n } else if (originalValue === 'end') {\n value = isRTL ? 'left' : 'right';\n } else if (isRTL && doLeftAndRightSwapInRTL) {\n if (originalValue === 'left') {\n value = 'right';\n } else if (originalValue === 'right') {\n value = 'left';\n }\n }\n } // BiDi flip transitionProperty value\n\n\n if (prop === 'transitionProperty') {\n // BiDi flip properties\n if (PROPERTIES_I18N.hasOwnProperty(value)) {\n // convert start/end\n var convertedValue = PROPERTIES_I18N[originalValue];\n value = isRTL ? PROPERTIES_FLIP[convertedValue] : convertedValue;\n } else if (isRTL && doLeftAndRightSwapInRTL && PROPERTIES_FLIP[originalValue]) {\n value = PROPERTIES_FLIP[originalValue];\n }\n } // Create finalized style\n\n\n if (isRTL && prop === 'textShadowOffset') {\n nextStyle[prop] = value;\n nextStyle[prop].width = additiveInverse(value.width);\n } else if (!frozenProps[prop]) {\n nextStyle[prop] = value;\n }\n\n if (PROPERTIES_I18N[originalProp]) {\n frozenProps[prop] = true;\n }\n }\n\n return nextStyle;\n};\n\nexport default i18nStyle;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6e1b109f621c0d54775303f058483115.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nimport React, { forwardRef, useEffect, useRef } from 'react';\nvar ProgressBar = forwardRef(function (props, ref) {\n var _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$progress = props.progress,\n progress = _props$progress === void 0 ? 0 : _props$progress,\n _props$trackColor = props.trackColor,\n trackColor = _props$trackColor === void 0 ? 'transparent' : _props$trackColor,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, [\"color\", \"indeterminate\", \"progress\", \"trackColor\", \"style\"]);\n\n var percentageProgress = progress * 100;\n var progressRef = useRef(null);\n useEffect(function () {\n var width = indeterminate ? '25%' : percentageProgress + \"%\";\n\n if (progressRef.current != null) {\n progressRef.current.setNativeProps({\n style: {\n width: width\n }\n });\n }\n }, [indeterminate, percentageProgress, progressRef]);\n return React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValue: {\n max: 100,\n min: 0,\n now: indeterminate ? null : percentageProgress\n },\n ref: ref,\n style: [styles.track, style, {\n backgroundColor: trackColor\n }]\n }), React.createElement(View, {\n ref: progressRef,\n style: [styles.progress, indeterminate && styles.animation, {\n backgroundColor: color\n }]\n }));\n});\nProgressBar.displayName = 'ProgressBar';\nvar styles = StyleSheet.create({\n track: {\n height: 5,\n overflow: 'hidden',\n userSelect: 'none',\n zIndex: 0\n },\n progress: {\n height: '100%',\n zIndex: -1\n },\n animation: {\n animationDuration: '1s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n translateX: '-100%'\n }]\n },\n '100%': {\n transform: [{\n translateX: '400%'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n }\n});\nexport default ProgressBar;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/ProgressBar/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","StyleSheet","View","React","forwardRef","useEffect","useRef","ProgressBar","props","ref","_props$color","color","_props$indeterminate","indeterminate","_props$progress","progress","_props$trackColor","trackColor","style","other","percentageProgress","progressRef","width","current","setNativeProps","createElement","accessibilityRole","accessibilityValue","max","min","now","styles","track","backgroundColor","animation","displayName","create","height","overflow","userSelect","zIndex","animationDuration","animationKeyframes","transform","translateX","animationTimingFunction","animationIterationCount"],"mappings":"AAAA,SAASA,QAAT,GAAoB;AAAEA,EAAAA,QAAQ,GAAGC,MAAM,CAACC,MAAP,IAAiB,UAAUC,MAAV,EAAkB;AAAE,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;AAAE,UAAIG,MAAM,GAAGF,SAAS,CAACD,CAAD,CAAtB;;AAA2B,WAAK,IAAII,GAAT,IAAgBD,MAAhB,EAAwB;AAAE,YAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,EAA6CC,GAA7C,CAAJ,EAAuD;AAAEL,UAAAA,MAAM,CAACK,GAAD,CAAN,GAAcD,MAAM,CAACC,GAAD,CAApB;AAA4B;AAAE;AAAE;;AAAC,WAAOL,MAAP;AAAgB,GAA5P;;AAA8P,SAAOH,QAAQ,CAACY,KAAT,CAAe,IAAf,EAAqBP,SAArB,CAAP;AAAyC;;AAE7T,SAASQ,6BAAT,CAAuCN,MAAvC,EAA+CO,QAA/C,EAAyD;AAAE,MAAIP,MAAM,IAAI,IAAd,EAAoB,OAAO,EAAP;AAAW,MAAIJ,MAAM,GAAG,EAAb;AAAiB,MAAIY,UAAU,GAAGd,MAAM,CAACe,IAAP,CAAYT,MAAZ,CAAjB;AAAsC,MAAIC,GAAJ,EAASJ,CAAT;;AAAY,OAAKA,CAAC,GAAG,CA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AAM,GAAG9B,UAAU,CAACmC,MAAX,CAAkB;AAC7BJ,EAAAA,KAAK,EAAE;AACLK,IAAAA,MAAM,EAAE,CADH;AAELC,IAAAA,QAAQ,EAAE,QAFL;AAGLC,IAAAA,UAAU,EAAE,MAHP;AAILC,IAAAA,MAAM,EAAE;AAJH,GADsB;AAO7BzB,EAAAA,QAAQ,EAAE;AACRsB,IAAAA,MAAM,EAAE,MADA;AAERG,IAAAA,MAAM,EAAE,CAAC;AAFD,GAPmB;AAW7BN,EAAAA,SAAS,EAAE;AACTO,IAAAA,iBAAiB,EAAE,IADV;AAETC,IAAAA,kBAAkB,EAAE,CAAC;AACnB,YAAM;AACJC,QAAAA,SAAS,EAAE,CAAC;AACVC,UAAAA,UAAU,EAAE;AADF,SAAD;AADP,OADa;AAMnB,cAAQ;AACND,QAAAA,SAAS,EAAE,CAAC;AACVC,UAAAA,UAAU,EAAE;AADF,SAAD;AADL;AANW,KAAD,CAFX;AAcTC,IAAAA,uBAAuB,EAAE,QAdhB;AAeTC,IAAAA,uBAAuB,EAAE;AAfhB;AAXkB,CAAlB,CAAb;AA6BA,eAAevC,WAAf","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport React, { forwardRef, useEffect, useRef } from 'react';\nvar ProgressBar = forwardRef(function (props, ref) {\n var _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$progress = props.progress,\n progress = _props$progress === void 0 ? 0 : _props$progress,\n _props$trackColor = props.trackColor,\n trackColor = _props$trackColor === void 0 ? 'transparent' : _props$trackColor,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, [\"color\", \"indeterminate\", \"progress\", \"trackColor\", \"style\"]);\n\n var percentageProgress = progress * 100;\n var progressRef = useRef(null);\n useEffect(function () {\n var width = indeterminate ? '25%' : percentageProgress + \"%\";\n\n if (progressRef.current != null) {\n progressRef.current.setNativeProps({\n style: {\n width: width\n }\n });\n }\n }, [indeterminate, percentageProgress, progressRef]);\n return React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValue: {\n max: 100,\n min: 0,\n now: indeterminate ? null : percentageProgress\n },\n ref: ref,\n style: [styles.track, style, {\n backgroundColor: trackColor\n }]\n }), React.createElement(View, {\n ref: progressRef,\n style: [styles.progress, indeterminate && styles.animation, {\n backgroundColor: color\n }]\n }));\n});\nProgressBar.displayName = 'ProgressBar';\nvar styles = StyleSheet.create({\n track: {\n height: 5,\n overflow: 'hidden',\n userSelect: 'none',\n zIndex: 0\n },\n progress: {\n height: '100%',\n zIndex: -1\n },\n animation: {\n animationDuration: '1s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n translateX: '-100%'\n }]\n },\n '100%': {\n transform: [{\n translateX: '400%'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n }\n});\nexport default ProgressBar;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6f12c17d739331ecffc1403342ba41da.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\n\nvar MapperRegistry = function () {\n function MapperRegistry(module) {\n _classCallCheck(this, MapperRegistry);\n\n this.sortedMappers = [];\n this.mappers = new Map();\n this.updatedSinceLastExecute = false;\n this._module = module;\n }\n\n _createClass(MapperRegistry, [{\n key: \"startMapper\",\n value: function startMapper(mapper) {\n this.mappers.set(mapper.id, mapper);\n this.updatedSinceLastExecute = true;\n return mapper.id;\n }\n }, {\n key: \"stopMapper\",\n value: function stopMapper(id) {\n this.mappers.delete(id);\n this.updatedSinceLastExecute = true;\n }\n }, {\n key: \"execute\",\n value: function execute() {\n if (this.updatedSinceLastExecute) {\n this.updateOrder();\n this.updatedSinceLastExecute = false;\n }\n\n for (var i = 0, len = this.sortedMappers.length; i < len; ++i) {\n var mapper = this.sortedMappers[i];\n\n if (mapper.dirty) {\n mapper.execute();\n }\n }\n }\n }, {\n key: \"updateOrder\",\n value: function updateOrder() {\n var nodes = _toConsumableArray(this.mappers.values()).map(function (mapper) {\n return new Node(mapper);\n });\n\n var mappersById = {};\n this.mappers.forEach(function (mapper) {\n mappersById[mapper.id] = mapper;\n });\n\n for (var i = 0, nodesLen = nodes.length; i < nodesLen; ++i) {\n var node = nodes[i];\n\n if (node.mapper.outputs.length === 0) {\n continue;\n }\n\n for (var j = 0; j < nodesLen; ++j) {\n var restNode = nodes[j];\n\n if (i === j || restNode.mapper.inputs.length === 0) {\n continue;\n }\n\n for (var outi = 0, outputsLen = node.mapper.outputs.length; outi < outputsLen; ++outi) {\n for (var resti = 0, restLen = restNode.mapper.inputs.length; resti < restLen; ++resti) {\n if (node.mapper.outputs[outi]._id === restNode.mapper.inputs[resti]._id) {\n node.children.push(restNode);\n }\n }\n }\n }\n }\n\n var post = {};\n var postCounter = 1;\n\n var dfs = function dfs(node) {\n var index = nodes.indexOf(node);\n\n if (index === -1) {\n return;\n }\n\n ++postCounter;\n nodes.splice(index, 1);\n\n if (node.children.length === 0 && nodes.length > 0) {\n post[node.mapper.id] = postCounter++;\n dfs(nodes[0]);\n return;\n }\n\n for (var _i = 0, len = node.children.length; _i < len; ++_i) {\n dfs(node.children[_i]);\n }\n\n post[node.mapper.id] = postCounter++;\n };\n\n while (nodes.length) {\n dfs(nodes[0]);\n }\n\n var postArray = Object.keys(post).map(function (key) {\n return [key, post[key]];\n });\n postArray.sort(function (a, b) {\n return b[1] - a[1];\n });\n this.sortedMappers = [];\n\n for (var _i2 = 0, len = postArray.length; _i2 < len; ++_i2) {\n var _postArray$_i = _slicedToArray(postArray[_i2], 1),\n id = _postArray$_i[0];\n\n this.sortedMappers.push(mappersById[id]);\n }\n }\n }, {\n key: \"needRunOnRender\",\n get: function get() {\n return this.updatedSinceLastExecute;\n }\n }]);\n\n return MapperRegistry;\n}();\n\nexport { MapperRegistry as default };\n\nvar Node = function Node(mapper) {\n var _parents = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n var children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n _classCallCheck(this, Node);\n\n this.mapper = null;\n this.children = [];\n this.mapper = mapper;\n this.children = children;\n};","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated2/js-reanimated/MapperRegistry.js"],"names":["MapperRegistry","module","sortedMappers","mappers","Map","updatedSinceLastExecute","_module","mapper","set","id","delete","updateOrder","i","len","length","dirty","execute","nodes","values","map","Node","mappersById","forEach","nodesLen","node","outputs","j","restNode","inputs","outi","outputsLen","resti","restLen","_id","children","push","post","postCounter","dfs","index","indexOf","splice","postArray","Object","keys","key","sort","a","b","_parents"],"mappings":";;;;;IAEqBA,c;AACjB,0BAAYC,MAAZ,EAAoB;AAAA;;AAChB,SAAKC,aAAL,GAAqB,EAArB;AACA,SAAKC,OAAL,GAAe,IAAIC,GAAJ,EAAf;AACA,SAAKC,uBAAL,GAA+B,KAA/B;AACA,SAAKC,OAAL,GAAeL,MAAf;AACH;;;;WACD,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,CAAC9B,GAAD,CAAtB;AAAA,YAAOH,EAAP;;AACA,aAAKP,aAAL,CAAmBiC,IAAnB,CAAwBd,WAAW,CAACZ,EAAD,CAAnC;AACH;AACJ;;;SACD,eAAsB;AAClB,aAAO,KAAKJ,uBAAZ;AACH;;;;;;SA5FgBL,c;;IA8FfoB,I,GACF,cAAYb,MAAZ,EAAkD;AAAA,MAA9B0C,QAA8B,uEAAnB,EAAmB;;AAAA,MAAff,QAAe,uEAAJ,EAAI;;AAAA;;AAC9C,OAAK3B,MAAL,GAAc,IAAd;AACA,OAAK2B,QAAL,GAAgB,EAAhB;AACA,OAAK3B,MAAL,GAAcA,MAAd;AACA,OAAK2B,QAAL,GAAgBA,QAAhB;AACH,C","sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nexport default class MapperRegistry {\n constructor(module) {\n this.sortedMappers = [];\n this.mappers = new Map();\n this.updatedSinceLastExecute = false;\n this._module = module;\n }\n startMapper(mapper) {\n this.mappers.set(mapper.id, mapper);\n this.updatedSinceLastExecute = true;\n return mapper.id;\n }\n stopMapper(id) {\n this.mappers.delete(id);\n this.updatedSinceLastExecute = true;\n }\n execute() {\n if (this.updatedSinceLastExecute) {\n this.updateOrder();\n this.updatedSinceLastExecute = false;\n }\n for (let i = 0, len = this.sortedMappers.length; i < len; ++i) {\n const mapper = this.sortedMappers[i];\n if (mapper.dirty) {\n mapper.execute();\n }\n }\n }\n updateOrder() {\n const nodes = [...this.mappers.values()].map((mapper) => new Node(mapper));\n const mappersById = {};\n this.mappers.forEach((mapper) => {\n mappersById[mapper.id] = mapper;\n });\n // create a graph from array of nodes\n for (let i = 0, nodesLen = nodes.length; i < nodesLen; ++i) {\n const node = nodes[i];\n if (node.mapper.outputs.length === 0) {\n continue;\n }\n for (let j = 0; j < nodesLen; ++j) {\n const restNode = nodes[j];\n if (i === j || restNode.mapper.inputs.length === 0) {\n continue;\n }\n for (let outi = 0, outputsLen = node.mapper.outputs.length; outi < outputsLen; ++outi) {\n for (let resti = 0, restLen = restNode.mapper.inputs.length; resti < restLen; ++resti) {\n if (node.mapper.outputs[outi]._id ===\n restNode.mapper.inputs[resti]._id) {\n node.children.push(restNode);\n }\n }\n }\n }\n }\n const post = {};\n let postCounter = 1;\n const dfs = (node) => {\n const index = nodes.indexOf(node);\n if (index === -1) {\n // this node has already been handled\n return;\n }\n ++postCounter;\n nodes.splice(index, 1);\n if (node.children.length === 0 && nodes.length > 0) {\n post[node.mapper.id] = postCounter++;\n dfs(nodes[0]);\n return;\n }\n for (let i = 0, len = node.children.length; i < len; ++i) {\n dfs(node.children[i]);\n }\n post[node.mapper.id] = postCounter++;\n };\n while (nodes.length)\n dfs(nodes[0]);\n const postArray = Object.keys(post).map((key) => {\n return [key, post[key]];\n });\n postArray.sort((a, b) => {\n return b[1] - a[1];\n });\n // clear sorted mappers\n this.sortedMappers = [];\n for (let i = 0, len = postArray.length; i < len; ++i) {\n const [id] = postArray[i];\n this.sortedMappers.push(mappersById[id]);\n }\n }\n get needRunOnRender() {\n return this.updatedSinceLastExecute;\n }\n}\nclass Node {\n constructor(mapper, _parents = [], children = []) {\n this.mapper = null;\n this.children = [];\n this.mapper = mapper;\n this.children = children;\n }\n}\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/6fd1661af13dedb5e44522d491a1caf6.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport createElement from \"../createElement\";\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar CheckBox = forwardRef(function (props, forwardedRef) {\n var color = props.color,\n disabled = props.disabled,\n onChange = props.onChange,\n onValueChange = props.onValueChange,\n style = props.style,\n value = props.value,\n other = _objectWithoutPropertiesLoose(props, [\"color\", \"disabled\", \"onChange\", \"onValueChange\", \"style\", \"value\"]);\n\n function handleChange(event) {\n var value = event.nativeEvent.target.checked;\n event.nativeEvent.value = value;\n onChange && onChange(event);\n onValueChange && onValueChange(value);\n }\n\n var fakeControl = React.createElement(View, {\n style: [styles.fakeControl, value && styles.fakeControlChecked, value && color && {\n backgroundColor: color,\n borderColor: color\n }, disabled && styles.fakeControlDisabled, value && disabled && styles.fakeControlCheckedAndDisabled]\n });\n var nativeControl = createElement('input', {\n checked: value,\n disabled: disabled,\n onChange: handleChange,\n ref: forwardedRef,\n style: [styles.nativeControl, styles.cursorInherit],\n type: 'checkbox'\n });\n return React.createElement(View, _extends({}, other, {\n style: [styles.root, style, disabled && styles.cursorDefault]\n }), fakeControl, nativeControl);\n});\nCheckBox.displayName = 'CheckBox';\nvar styles = StyleSheet.create({\n root: {\n cursor: 'pointer',\n height: 16,\n userSelect: 'none',\n width: 16\n },\n cursorDefault: {\n cursor: 'default'\n },\n cursorInherit: {\n cursor: 'inherit'\n },\n fakeControl: {\n alignItems: 'center',\n backgroundColor: '#fff',\n borderColor: '#657786',\n borderRadius: 2,\n borderStyle: 'solid',\n borderWidth: 2,\n height: '100%',\n justifyContent: 'center',\n width: '100%'\n },\n fakeControlChecked: {\n backgroundColor: '#009688',\n backgroundImage: 'url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K\")',\n backgroundRepeat: 'no-repeat',\n borderColor: '#009688'\n },\n fakeControlDisabled: {\n borderColor: '#CCD6DD'\n },\n fakeControlCheckedAndDisabled: {\n backgroundColor: '#AAB8C2',\n borderColor: '#AAB8C2'\n },\n nativeControl: _objectSpread({}, StyleSheet.absoluteFillObject, {\n height: '100%',\n margin: 0,\n opacity: 0,\n padding: 0,\n width: '100%'\n })\n});\nexport default CheckBox;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/CheckBox/index.js"],"names":["ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","_extends","assign","prototype","hasOwnProperty","call","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","React","forwardRef","createElement","StyleSheet","View","CheckBox","props","forwardedRef","color","disabled","onChange","onValueChange","style","other","handleChange","event","nativeEvent","checked","fakeControl","styles","fakeControlChecked","backgroundColor","borderColor","fakeControlDisabled","fakeControlCheckedAndDisabled","nativeControl","ref","cursorInherit","type","root","cursorDefault","displayName","create","cursor","height","userSelect","width","alignItems","borderRadius","borderStyle","borderWidth","justifyContent","backgroundImage","backgroundRepeat","absoluteFillObject","margin","opacity","padding"],"mappings":"AAAA,SAASA,OAAT,CAAiBC,MAAjB,EAAyBC,cAAzB,EAAyC;AAAE,M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UAAU,CAACyC,kBAAhB,EAAoC;AAC9DV,IAAAA,MAAM,EAAE,MADsD;AAE9DW,IAAAA,MAAM,EAAE,CAFsD;AAG9DC,IAAAA,OAAO,EAAE,CAHqD;AAI9DC,IAAAA,OAAO,EAAE,CAJqD;AAK9DX,IAAAA,KAAK,EAAE;AALuD,GAApC;AArCC,CAAlB,CAAb;AA6CA,eAAe/B,QAAf","sourcesContent":["function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport createElement from '../createElement';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar CheckBox = forwardRef(function (props, forwardedRef) {\n var color = props.color,\n disabled = props.disabled,\n onChange = props.onChange,\n onValueChange = props.onValueChange,\n style = props.style,\n value = props.value,\n other = _objectWithoutPropertiesLoose(props, [\"color\", \"disabled\", \"onChange\", \"onValueChange\", \"style\", \"value\"]);\n\n function handleChange(event) {\n var value = event.nativeEvent.target.checked;\n event.nativeEvent.value = value;\n onChange && onChange(event);\n onValueChange && onValueChange(value);\n }\n\n var fakeControl = React.createElement(View, {\n style: [styles.fakeControl, value && styles.fakeControlChecked, // custom color\n value && color && {\n backgroundColor: color,\n borderColor: color\n }, disabled && styles.fakeControlDisabled, value && disabled && styles.fakeControlCheckedAndDisabled]\n });\n var nativeControl = createElement('input', {\n checked: value,\n disabled: disabled,\n onChange: handleChange,\n ref: forwardedRef,\n style: [styles.nativeControl, styles.cursorInherit],\n type: 'checkbox'\n });\n return React.createElement(View, _extends({}, other, {\n style: [styles.root, style, disabled && styles.cursorDefault]\n }), fakeControl, nativeControl);\n});\nCheckBox.displayName = 'CheckBox';\nvar styles = StyleSheet.create({\n root: {\n cursor: 'pointer',\n height: 16,\n userSelect: 'none',\n width: 16\n },\n cursorDefault: {\n cursor: 'default'\n },\n cursorInherit: {\n cursor: 'inherit'\n },\n fakeControl: {\n alignItems: 'center',\n backgroundColor: '#fff',\n borderColor: '#657786',\n borderRadius: 2,\n borderStyle: 'solid',\n borderWidth: 2,\n height: '100%',\n justifyContent: 'center',\n width: '100%'\n },\n fakeControlChecked: {\n backgroundColor: '#009688',\n backgroundImage: 'url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K\")',\n backgroundRepeat: 'no-repeat',\n borderColor: '#009688'\n },\n fakeControlDisabled: {\n borderColor: '#CCD6DD'\n },\n fakeControlCheckedAndDisabled: {\n backgroundColor: '#AAB8C2',\n borderColor: '#AAB8C2'\n },\n nativeControl: _objectSpread({}, StyleSheet.absoluteFillObject, {\n height: '100%',\n margin: 0,\n opacity: 0,\n padding: 0,\n width: '100%'\n })\n});\nexport default CheckBox;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/70011f5e5361437bcf72ec2b53fad9f0.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nvar deepDiffer = function deepDiffer(one, two, maxDepth) {\n if (maxDepth === void 0) {\n maxDepth = -1;\n }\n\n if (maxDepth === 0) {\n return true;\n }\n\n if (one === two) {\n return false;\n }\n\n if (typeof one === 'function' && typeof two === 'function') {\n return false;\n }\n\n if (typeof one !== 'object' || one === null) {\n return one !== two;\n }\n\n if (typeof two !== 'object' || two === null) {\n return true;\n }\n\n if (one.constructor !== two.constructor) {\n return true;\n }\n\n if (Array.isArray(one)) {\n var len = one.length;\n\n if (two.length !== len) {\n return true;\n }\n\n for (var ii = 0; ii < len; ii++) {\n if (deepDiffer(one[ii], two[ii], maxDepth - 1)) {\n return true;\n }\n }\n } else {\n for (var key in one) {\n if (deepDiffer(one[key], two[key], maxDepth - 1)) {\n return true;\n }\n }\n\n for (var twoKey in two) {\n if (one[twoKey] === undefined && two[twoKey] !== undefined) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default deepDiffer;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/deepDiffer/index.js"],"names":["deepDiffer","one","two","maxDepth","constructor","Array","isArray","len","length","ii","key","twoKey","undefined"],"mappings":"AASA;;AAKA,IAAIA,UAAU,GAAG,SAASA,UAAT,CAAoBC,GAApB,EAAyBC,GAAzB,EAA8BC,QAA9B,EAAwC;AACvD,MAAIA,QAAQ,KAAK,KAAK,CAAtB,EAAyB;AACvBA,IAAAA,QAAQ,GAAG,CAAC,CAAZ;AACD;;AAED,MAAIA,QAAQ,KAAK,CAAjB,EAAoB;AAClB,WAAO,IAAP;AACD;;AAED,MAAIF,GAAG,KAAKC,GAAZ,EAAiB;AAEf,WAAO,KAAP;AACD;;AAED,MAAI,OAAOD,GAAP,KAAe,UAAf,IAA6B,OAAOC,GAAP,KAAe,UAAhD,EAA4D;AAE1D,WAAO,KAAP;AACD;;AAED,MAAI,OAAOD,GAAP,KAAe,QAAf,IAA2BA,GAAG,KAAK,IAAvC,EAA6C;AAE3C,WAAOA,GAAG,KAAKC,GAAf;AACD;;AAED,MAAI,OAAOA,GAAP,KAAe,QAAf,IAA2BA,GAAG,KAAK,IAAvC,EAA6C;AAG3C,WAAO,IAAP;AACD;;AAED,MAAID,GAAG,CAACG,WAAJ,KAAoBF,GAAG,CAACE,WAA5B,EAAyC;AACvC,WAAO,IAAP;AACD;;AAED,MAAIC,KAAK,CAACC,OAAN,CAAcL,GAAd,CAAJ,EAAwB;AAEtB,QAAIM,GAAG,GAAGN,GAAG,CAACO,MAAd;;AAEA,QAAIN,GAAG,CAACM,MAAJ,KAAeD,GAAnB,EAAwB;AACtB,aAAO,IAAP;AACD;;AAED,SAAK,IAAIE,EAAE,GAAG,CAAd,EAAiBA,EAAE,GAAGF,GAAtB,EAA2BE,EAAE,EAA7B,EAAiC;AAC/B,UAAIT,UAAU,CAACC,GAAG,CAACQ,EAAD,CAAJ,EAAUP,GAAG,CAACO,EAAD,CAAb,EAAmBN,QAAQ,GAAG,CAA9B,CAAd,EAAgD;AAC9C,eAAO,IAAP;AACD;AACF;AACF,GAbD,MAaO;AACL,SAAK,IAAIO,GAAT,IAAgBT,GAAhB,EAAqB;AACnB,UAAID,UAAU,CAACC,GAAG,CAACS,GAAD,CAAJ,EAAWR,GAAG,CAACQ,GAAD,CAAd,EAAqBP,QAAQ,GAAG,CAAhC,CAAd,EAAkD;AAChD,eAAO,IAAP;AACD;AACF;;AAED,SAAK,IAAIQ,MAAT,IAAmBT,GAAnB,EAAwB;AAGtB,UAAID,GAAG,CAACU,MAAD,CAAH,KAAgBC,SAAhB,IAA6BV,GAAG,CAACS,MAAD,CAAH,KAAgBC,SAAjD,EAA4D;AAC1D,eAAO,IAAP;AACD;AACF;AACF;;AAED,SAAO,KAAP;AACD,CAhED;;AAkEA,eAAeZ,UAAf","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n/*\n * @returns {bool} true if different, false if equal\n */\n\nvar deepDiffer = function deepDiffer(one, two, maxDepth) {\n if (maxDepth === void 0) {\n maxDepth = -1;\n }\n\n if (maxDepth === 0) {\n return true;\n }\n\n if (one === two) {\n // Short circuit on identical object references instead of traversing them.\n return false;\n }\n\n if (typeof one === 'function' && typeof two === 'function') {\n // We consider all functions equal\n return false;\n }\n\n if (typeof one !== 'object' || one === null) {\n // Primitives can be directly compared\n return one !== two;\n }\n\n if (typeof two !== 'object' || two === null) {\n // We know they are different because the previous case would have triggered\n // otherwise.\n return true;\n }\n\n if (one.constructor !== two.constructor) {\n return true;\n }\n\n if (Array.isArray(one)) {\n // We know two is also an array because the constructors are equal\n var len = one.length;\n\n if (two.length !== len) {\n return true;\n }\n\n for (var ii = 0; ii < len; ii++) {\n if (deepDiffer(one[ii], two[ii], maxDepth - 1)) {\n return true;\n }\n }\n } else {\n for (var key in one) {\n if (deepDiffer(one[key], two[key], maxDepth - 1)) {\n return true;\n }\n }\n\n for (var twoKey in two) {\n // The only case we haven't checked yet is keys that are in two but aren't\n // in one, which means they are different.\n if (one[twoKey] === undefined && two[twoKey] !== undefined) {\n return true;\n }\n }\n }\n\n return false;\n};\n\nexport default deepDiffer;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/71c89114f87eec2560a35accc6fb21d7.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nimport AnimatedNode from \"./AnimatedNode\";\nimport deepEqual from 'fbjs/lib/areEqual';\n\nfunction sanitizeTransform(inputTransform) {\n var outputTransform = [];\n var hasAnimatedTransform = false;\n inputTransform.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n hasAnimatedTransform = true;\n outputTransform.push({\n property: key,\n nodeID: value.__nodeID\n });\n } else {\n outputTransform.push({\n property: key,\n value: value\n });\n }\n }\n });\n return hasAnimatedTransform ? outputTransform : undefined;\n}\n\nfunction extractAnimatedParentNodes(transform) {\n var parents = [];\n transform.forEach(function (transform) {\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n parents.push(value);\n }\n }\n });\n return parents;\n}\n\nexport function createOrReuseTransformNode(transform, oldNode) {\n var config = sanitizeTransform(transform);\n\n if (config === undefined) {\n return undefined;\n }\n\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n\n return new AnimatedTransform(transform, config);\n}\n\nvar AnimatedTransform = function (_AnimatedNode) {\n _inherits(AnimatedTransform, _AnimatedNode);\n\n var _super = _createSuper(AnimatedTransform);\n\n function AnimatedTransform(transform, config) {\n var _this;\n\n _classCallCheck(this, AnimatedTransform);\n\n _this = _super.call(this, {\n type: 'transform',\n transform: config\n }, extractAnimatedParentNodes(transform));\n _this._config = config;\n _this._transform = transform;\n return _this;\n }\n\n _createClass(AnimatedTransform, [{\n key: \"toString\",\n value: function toString() {\n return \"AnimatedTransform, id: \" + this.__nodeID;\n }\n }, {\n key: \"__onEvaluate\",\n value: function __onEvaluate() {\n return this._transform.map(function (transform) {\n var result = {};\n\n for (var key in transform) {\n var value = transform[key];\n\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n }\n }\n\n return result;\n });\n }\n }]);\n\n return AnimatedTransform;\n}(AnimatedNode);","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-reanimated/lib/reanimated1/core/AnimatedTransform.js"],"names":["AnimatedNode","deepEqual","sanitizeTransform","inputTransform","outputTransform","hasAnimatedTransform","forEach","transform","key","value","push","property","nodeID","__nodeID","undefined","extractAnimatedParentNodes","parents","createOrReuseTransformNode","oldNode","config","_config","AnimatedTransform","type","_transform","map","result","__getValue"],"mappings":";;;;;;;;;;AAAA,OAAOA,YAAP;AAEA,OAAOC,SAAP,MAAsB,mBAAtB;;AAEA,SAASC,iBAAT,CAA2BC,cAA3B,EAA2C;AACzC,MAAMC,eAAe,GAAG,EAAxB;AACA,MAAIC,oBAAoB,GAAG,KAA3B;AACAF,EAAAA,cAAc,CAACG,OAAf,CAAuB,UAACC,SAAD,EAAe;AACpC,SAAK,IAAMC,GAAX,IAAkBD,SAAlB,EAA6B;AAC3B,UAAME,KAAK,GAAGF,SAAS,CAACC,GAAD,CAAvB;;AACA,UAAIC,KAAK,YAAYT,YAArB,EAAmC;AACjCK,QAAAA,oBAAoB,GAAG,IAAvB;AACAD,QAAAA,eAAe,CAACM,IAAhB,CAAqB;AACnBC,UAAAA,QAAQ,EAAEH,GADS;AAEnBI,UAAAA,MAAM,EAAEH,KAAK,CAACI;AAFK,SAArB;AAID,OAND,MAMO;AACLT,QAAAA,eAAe,CAACM,IAAhB,CAAqB;AACnBC,UAAAA,QAAQ,EAAEH,GADS;AAEnBC,UAAAA,KAAK,EAALA;AAFmB,SAArB;AAID;AACF;AACF,GAhBD;AAiBA,SAAOJ,oBAAoB,GAAGD,eAAH,GAAqBU,SAAhD;AACD;;AAED,SAASC,0BAAT,CAAoCR,SAApC,EAA+C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A,cAAIC,KAAK,YAAYT,YAArB,EAAmC;AACjCyB,YAAAA,MAAM,CAACjB,GAAD,CAAN,GAAcC,KAAK,CAACiB,UAAN,EAAd;AACD;AACF;;AACD,eAAOD,MAAP;AACD,OATM,CAAP;AAUD;;;;EAzB6BzB,Y","sourcesContent":["import AnimatedNode from './AnimatedNode';\n\nimport deepEqual from 'fbjs/lib/areEqual';\n\nfunction sanitizeTransform(inputTransform) {\n const outputTransform = [];\n let hasAnimatedTransform = false;\n inputTransform.forEach((transform) => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n hasAnimatedTransform = true;\n outputTransform.push({\n property: key,\n nodeID: value.__nodeID,\n });\n } else {\n outputTransform.push({\n property: key,\n value,\n });\n }\n }\n });\n return hasAnimatedTransform ? outputTransform : undefined;\n}\n\nfunction extractAnimatedParentNodes(transform) {\n const parents = [];\n transform.forEach((transform) => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n parents.push(value);\n }\n }\n });\n return parents;\n}\n\nexport function createOrReuseTransformNode(transform, oldNode) {\n const config = sanitizeTransform(transform);\n if (config === undefined) {\n return undefined;\n }\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedTransform(transform, config);\n}\n\nclass AnimatedTransform extends AnimatedNode {\n constructor(transform, config) {\n super(\n { type: 'transform', transform: config },\n extractAnimatedParentNodes(transform)\n );\n this._config = config;\n this._transform = transform;\n }\n\n toString() {\n return `AnimatedTransform, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return this._transform.map((transform) => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n }\n }\n return result;\n });\n }\n}\n"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/71f17bedd745f584f7abc4f4d51c7ad4.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import RCTDeviceEventEmitter from \"../../vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter\";\nexport default RCTDeviceEventEmitter;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/DeviceEventEmitter/index.js"],"names":["RCTDeviceEventEmitter"],"mappings":"AAAA,OAAOA,qBAAP;AACA,eAAeA,qBAAf","sourcesContent":["import RCTDeviceEventEmitter from '../../vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter';\nexport default RCTDeviceEventEmitter;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/72b944856e68e4a8a0ed8e4c2413070a.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import propsToAriaRole from \"./propsToAriaRole\";\nvar roleComponents = {\n article: 'article',\n banner: 'header',\n complementary: 'aside',\n contentinfo: 'footer',\n form: 'form',\n link: 'a',\n list: 'ul',\n listitem: 'li',\n main: 'main',\n navigation: 'nav',\n region: 'section'\n};\nvar emptyObject = {};\n\nvar propsToAccessibilityComponent = function propsToAccessibilityComponent(props) {\n if (props === void 0) {\n props = emptyObject;\n }\n\n if (props.accessibilityRole === 'label') {\n return 'label';\n }\n\n var role = propsToAriaRole(props);\n\n if (role) {\n if (role === 'heading') {\n var level = props['aria-level'];\n\n if (level != null) {\n return \"h\" + level;\n }\n\n return 'h1';\n }\n\n return roleComponents[role];\n }\n};\n\nexport default propsToAccessibilityComponent;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/modules/AccessibilityUtil/propsToAccessibilityComponent.js"],"names":["propsToAriaRole","roleComponents","article","banner","complementary","contentinfo","form","link","list","listitem","main","navigation","region","emptyObject","propsToAccessibilityComponent","props","accessibilityRole","role","level"],"mappings":"AAQA,OAAOA,eAAP;AACA,IAAIC,cAAc,GAAG;AACnBC,EAAAA,OAAO,EAAE,SADU;AAEnBC,EAAAA,MAAM,EAAE,QAFW;AAGnBC,EAAAA,aAAa,EAAE,OAHI;AAInBC,EAAAA,WAAW,EAAE,QAJM;AAKnBC,EAAAA,IAAI,EAAE,MALa;AAMnBC,EAAAA,IAAI,EAAE,GANa;AAOnBC,EAAAA,IAAI,EAAE,IAPa;AAQnBC,EAAAA,QAAQ,EAAE,IARS;AASnBC,EAAAA,IAAI,EAAE,MATa;AAUnBC,EAAAA,UAAU,EAAE,KAVO;AAWnBC,EAAAA,MAAM,EAAE;AAXW,CAArB;AAaA,IAAIC,WAAW,GAAG,EAAlB;;AAEA,IAAIC,6BAA6B,GAAG,SAASA,6BAAT,CAAuCC,KAAvC,EAA8C;AAChF,MAAIA,KAAK,KAAK,KAAK,CAAnB,EAAsB;AACpBA,IAAAA,KAAK,GAAGF,WAAR;AACD;;AAGD,MAAIE,KAAK,CAACC,iBAAN,KAA4B,OAAhC,EAAyC;AACvC,WAAO,OAAP;AACD;;AAED,MAAIC,IAAI,GAAGjB,eAAe,CAACe,KAAD,CAA1B;;AAEA,MAAIE,IAAJ,EAAU;AACR,QAAIA,IAAI,KAAK,SAAb,EAAwB;AACtB,UAAIC,KAAK,GAAGH,KAAK,CAAC,YAAD,CAAjB;;AAEA,UAAIG,KAAK,IAAI,IAAb,EAAmB;AACjB,eAAO,MAAMA,KAAb;AACD;;AAED,aAAO,IAAP;AACD;;AAED,WAAOjB,cAAc,CAACgB,IAAD,CAArB;AACD;AACF,CAzBD;;AA2BA,eAAeH,6BAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport propsToAriaRole from './propsToAriaRole';\nvar roleComponents = {\n article: 'article',\n banner: 'header',\n complementary: 'aside',\n contentinfo: 'footer',\n form: 'form',\n link: 'a',\n list: 'ul',\n listitem: 'li',\n main: 'main',\n navigation: 'nav',\n region: 'section'\n};\nvar emptyObject = {};\n\nvar propsToAccessibilityComponent = function propsToAccessibilityComponent(props) {\n if (props === void 0) {\n props = emptyObject;\n }\n\n // special-case for \"label\" role which doesn't map to an ARIA role\n if (props.accessibilityRole === 'label') {\n return 'label';\n }\n\n var role = propsToAriaRole(props);\n\n if (role) {\n if (role === 'heading') {\n var level = props['aria-level'];\n\n if (level != null) {\n return \"h\" + level;\n }\n\n return 'h1';\n }\n\n return roleComponents[role];\n }\n};\n\nexport default propsToAccessibilityComponent;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/740b2f1ab937b3d8fae7d547e9118390.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nimport { AnimatedEvent } from \"./AnimatedEvent\";\nimport AnimatedProps from \"./nodes/AnimatedProps\";\nimport React from 'react';\nimport invariant from 'fbjs/lib/invariant';\nimport mergeRefs from \"../../../modules/mergeRefs\";\n\nfunction createAnimatedComponent(Component, defaultProps) {\n invariant(typeof Component !== 'function' || Component.prototype && Component.prototype.isReactComponent, '`createAnimatedComponent` does not support stateless functional components; ' + 'use a class component instead.');\n\n var AnimatedComponent = function (_React$Component) {\n _inheritsLoose(AnimatedComponent, _React$Component);\n\n function AnimatedComponent(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this._invokeAnimatedPropsCallbackOnMount = false;\n _this._eventDetachers = [];\n\n _this._animatedPropsCallback = function () {\n if (_this._component == null) {\n _this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY || typeof _this._component.setNativeProps !== 'function') {\n _this.forceUpdate();\n } else if (!_this._propsAnimated.__isNative) {\n _this._component.setNativeProps(_this._propsAnimated.__getAnimatedValue());\n } else {\n throw new Error('Attempting to run JS driven animation on animated ' + 'node that has been moved to \"native\" earlier by starting an ' + 'animation with `useNativeDriver: true`');\n }\n };\n\n _this._setComponentRef = mergeRefs(_this.props.forwardedRef, function (ref) {\n _this._prevComponent = _this._component;\n _this._component = ref;\n\n if (ref != null && ref.getNode == null) {\n ref.getNode = function () {\n var _ref$constructor$name;\n\n console.warn('%s: Calling `getNode()` on the ref of an Animated component ' + 'is no longer necessary. You can now directly use the ref ' + 'instead. This method will be removed in a future release.', (_ref$constructor$name = ref.constructor.name) !== null && _ref$constructor$name !== void 0 ? _ref$constructor$name : '<<anonymous>>');\n return ref;\n };\n }\n });\n return _this;\n }\n\n var _proto = AnimatedComponent.prototype;\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n\n this._detachNativeEvents();\n };\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this._attachProps(this.props);\n };\n\n _proto.componentDidMount = function componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n\n this._attachNativeEvents();\n };\n\n _proto._attachNativeEvents = function _attachNativeEvents() {\n var _this2 = this;\n\n var scrollableNode = this._component && this._component.getScrollableNode ? this._component.getScrollableNode() : this._component;\n\n var _loop = function _loop(key) {\n var prop = _this2.props[key];\n\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n\n _this2._eventDetachers.push(function () {\n return prop.__detach(scrollableNode, key);\n });\n }\n };\n\n for (var key in this.props) {\n _loop(key);\n }\n };\n\n _proto._detachNativeEvents = function _detachNativeEvents() {\n this._eventDetachers.forEach(function (remove) {\n return remove();\n });\n\n this._eventDetachers = [];\n };\n\n _proto._attachProps = function _attachProps(nextProps) {\n var oldPropsAnimated = this._propsAnimated;\n this._propsAnimated = new AnimatedProps(nextProps, this._animatedPropsCallback);\n oldPropsAnimated && oldPropsAnimated.__detach();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(newProps) {\n this._attachProps(newProps);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n\n this._attachNativeEvents();\n }\n };\n\n _proto.render = function render() {\n var props = this._propsAnimated.__getValue();\n\n return React.createElement(Component, _extends({}, defaultProps, props, {\n ref: this._setComponentRef,\n collapsable: false\n }));\n };\n\n return AnimatedComponent;\n }(React.Component);\n\n AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY = false;\n var propTypes = Component.propTypes;\n return React.forwardRef(function AnimatedComponentWrapper(props, ref) {\n return React.createElement(AnimatedComponent, _extends({}, props, ref == null ? null : {\n forwardedRef: ref\n }));\n });\n}\n\nexport default createAnimatedComponent;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/Animated/createAnimatedComponent.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_inheritsLoose","subClass","superClass","create","constructor","__proto__","AnimatedEvent","AnimatedProps","React","invariant","mergeRefs","createAnimatedComponent","Component","defaultProps","isReactComponent","AnimatedComponent","_React$Component","props","_this","_invokeAnimatedPropsCallbackOnMount","_eventDetachers","_animatedPropsCallback","_component","__skipSetNativeProps_FOR_TESTS_ONLY","setNativeProps","forceUpdate","_propsAnimated","__isNative","__getAnimatedValue","Error","_setComponentRef","forwardedRef","ref","_prevComponent","getNode","_ref$constructor$name","console","warn","name","_proto","componentWillUnmount","__detach","_detachNativeEvents","UNSAFE_componentWillMount","_attachProps","componentDidMount","setNativeView","_attachNativeEvents","_this2","scrollableNode","getScrollableNode","_loop","prop","__attach","push","forEach","remove","nextProps","oldPropsAnimated","UNSAFE_componentWillReceiveProps","newProps","componentDidUpdate","prevProps","render","__getValue","createElement","collapsable","propTypes","forwardRef","AnimatedComponentWrapper"],"mappings":"AASA;;AAEA,SAASA,QAAT,GAAoB;AAAEA,EAAAA,QAAQ,GAAGC,MAAM,CAACC,MAAP,IAAiB,UAAUC,MAAV,EAAkB;AAAE,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;AAAE,UAAIG,MAAM,GAAGF,SAAS,CAACD,CAAD,CAAtB;;AAA2B,WAAK,IAAII,GAAT,IAAgBD,MAAhB,EAAwB;AAAE,YAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,EAA6CC,GAA7C,CAAJ,EAAuD;AAAEL,UAAAA,MAAM,CAACK,GAAD,CAAN,GAAcD,MAAM,CAACC,GAAD,CAApB;AAA4B;AAAE;AAAE;;AAAC,WAAOL,MAAP;AAAgB,GAA5P;;AAA8P,SAAOH,QAAQ,CAACY,KAAT,CAAe,IAAf,EAAqBP,SAArB,CAAP;AAAyC;;AAE7T,SAASQ,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACL,SAAT,GAAqBR,MAAM,CAACe,MAAP,CAAcD,UAAU,CAACN,SAAzB,CAArB;AAA0DK,EAAAA,QAAQ,CAACL,SAAT,CAAmBQ,WAAnB,GAAiCH,QAAjC;AAA2CA,EAAAA,QAAQ,CAACI,SAAT,GAAqBH,UAArB;AAAkC;;AAEvL,SAASI,aAAT;AACA,OAAOC,aAAP;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,oBAAtB;AACA,OAAOC,SAAP;;AAEA,SAASC,uBAAT,CAAiCC,S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,KAAjC,CAA/C,CAAP;AAGD,GAJM,CAAP;AAKD;;AAED,eAAerB,uBAAf","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport { AnimatedEvent } from './AnimatedEvent';\nimport AnimatedProps from './nodes/AnimatedProps';\nimport React from 'react';\nimport invariant from 'fbjs/lib/invariant';\nimport mergeRefs from '../../../modules/mergeRefs';\n\nfunction createAnimatedComponent(Component, defaultProps) {\n invariant(typeof Component !== 'function' || Component.prototype && Component.prototype.isReactComponent, '`createAnimatedComponent` does not support stateless functional components; ' + 'use a class component instead.');\n\n var AnimatedComponent =\n /*#__PURE__*/\n function (_React$Component) {\n _inheritsLoose(AnimatedComponent, _React$Component);\n\n function AnimatedComponent(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this._invokeAnimatedPropsCallbackOnMount = false;\n _this._eventDetachers = [];\n\n _this._animatedPropsCallback = function () {\n if (_this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n _this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY || typeof _this._component.setNativeProps !== 'function') {\n _this.forceUpdate();\n } else if (!_this._propsAnimated.__isNative) {\n _this._component.setNativeProps(_this._propsAnimated.__getAnimatedValue());\n } else {\n throw new Error('Attempting to run JS driven animation on animated ' + 'node that has been moved to \"native\" earlier by starting an ' + 'animation with `useNativeDriver: true`');\n }\n };\n\n _this._setComponentRef = mergeRefs(_this.props.forwardedRef, function (ref) {\n _this._prevComponent = _this._component;\n _this._component = ref; // TODO: Delete this in a future release.\n\n if (ref != null && ref.getNode == null) {\n ref.getNode = function () {\n var _ref$constructor$name;\n\n console.warn('%s: Calling `getNode()` on the ref of an Animated component ' + 'is no longer necessary. You can now directly use the ref ' + 'instead. This method will be removed in a future release.', (_ref$constructor$name = ref.constructor.name) !== null && _ref$constructor$name !== void 0 ? _ref$constructor$name : '<<anonymous>>');\n return ref;\n };\n }\n });\n return _this;\n }\n\n var _proto = AnimatedComponent.prototype;\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n\n this._detachNativeEvents();\n };\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this._attachProps(this.props);\n };\n\n _proto.componentDidMount = function componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n\n this._attachNativeEvents();\n };\n\n _proto._attachNativeEvents = function _attachNativeEvents() {\n var _this2 = this;\n\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n var scrollableNode = this._component && this._component.getScrollableNode ? this._component.getScrollableNode() : this._component;\n\n var _loop = function _loop(key) {\n var prop = _this2.props[key];\n\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n\n _this2._eventDetachers.push(function () {\n return prop.__detach(scrollableNode, key);\n });\n }\n };\n\n for (var key in this.props) {\n _loop(key);\n }\n };\n\n _proto._detachNativeEvents = function _detachNativeEvents() {\n this._eventDetachers.forEach(function (remove) {\n return remove();\n });\n\n this._eventDetachers = [];\n } // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on leaf native\n // components. If you want to animate a composite component, you need to\n // re-render it. In this case, we have a fallback that uses forceUpdate.\n ;\n\n _proto._attachProps = function _attachProps(nextProps) {\n var oldPropsAnimated = this._propsAnimated;\n this._propsAnimated = new AnimatedProps(nextProps, this._animatedPropsCallback); // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n\n oldPropsAnimated && oldPropsAnimated.__detach();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(newProps) {\n this._attachProps(newProps);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n\n this._attachNativeEvents();\n }\n };\n\n _proto.render = function render() {\n var props = this._propsAnimated.__getValue();\n\n return React.createElement(Component, _extends({}, defaultProps, props, {\n ref: this._setComponentRef // The native driver updates views directly through the UI thread so we\n // have to make sure the view doesn't get optimized away because it cannot\n // go through the NativeViewHierarchyManager since it operates on the shadow\n // thread.\n ,\n collapsable: false\n }));\n };\n\n return AnimatedComponent;\n }(React.Component);\n\n AnimatedComponent.__skipSetNativeProps_FOR_TESTS_ONLY = false;\n var propTypes = Component.propTypes;\n return React.forwardRef(function AnimatedComponentWrapper(props, ref) {\n return React.createElement(AnimatedComponent, _extends({}, props, ref == null ? null : {\n forwardedRef: ref\n }));\n });\n}\n\nexport default createAnimatedComponent;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/748a994e95eb1d1311d08dae70ff213a.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"var Platform = {\n OS: 'web',\n select: function select(obj) {\n return 'web' in obj ? obj.web : obj.default;\n },\n\n get isTesting() {\n if (process.env.NODE_DEV === 'test') {\n return true;\n }\n\n return false;\n }\n\n};\nexport default Platform;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/Platform/index.js"],"names":["Platform","OS","select","obj","web","default","isTesting","process","env","NODE_DEV"],"mappings":"AASA,IAAIA,QAAQ,GAAG;AACbC,EAAAA,EAAE,EAAE,KADS;AAEbC,EAAAA,MAAM,EAAE,SAASA,MAAT,CAAgBC,GAAhB,EAAqB;AAC3B,WAAO,SAASA,GAAT,GAAeA,GAAG,CAACC,GAAnB,GAAyBD,GAAG,CAACE,OAApC;AACD,GAJY;;AAMb,MAAIC,SAAJ,GAAgB;AACd,QAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,MAA7B,EAAqC;AACnC,aAAO,IAAP;AACD;;AAED,WAAO,KAAP;AACD;;AAZY,CAAf;AAeA,eAAeT,QAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar Platform = {\n OS: 'web',\n select: function select(obj) {\n return 'web' in obj ? obj.web : obj.default;\n },\n\n get isTesting() {\n if (process.env.NODE_DEV === 'test') {\n return true;\n }\n\n return false;\n }\n\n};\nexport default Platform;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/74b3b0d02f286a48fe045bb68c2a4650.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nimport View from \"../View\";\nimport React from 'react';\n\nvar KeyboardAvoidingView = function (_React$Component) {\n _inheritsLoose(KeyboardAvoidingView, _React$Component);\n\n function KeyboardAvoidingView() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.frame = null;\n\n _this.onLayout = function (event) {\n _this.frame = event.nativeEvent.layout;\n };\n\n return _this;\n }\n\n var _proto = KeyboardAvoidingView.prototype;\n\n _proto.relativeKeyboardHeight = function relativeKeyboardHeight(keyboardFrame) {\n var frame = this.frame;\n\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n var keyboardY = keyboardFrame.screenY - (this.props.keyboardVerticalOffset || 0);\n return Math.max(frame.y + frame.height - keyboardY, 0);\n };\n\n _proto.onKeyboardChange = function onKeyboardChange(event) {};\n\n _proto.render = function render() {\n var _this$props = this.props,\n behavior = _this$props.behavior,\n contentContainerStyle = _this$props.contentContainerStyle,\n keyboardVerticalOffset = _this$props.keyboardVerticalOffset,\n rest = _objectWithoutPropertiesLoose(_this$props, [\"behavior\", \"contentContainerStyle\", \"keyboardVerticalOffset\"]);\n\n return React.createElement(View, _extends({\n onLayout: this.onLayout\n }, rest));\n };\n\n return KeyboardAvoidingView;\n}(React.Component);\n\nexport default KeyboardAvoidingView;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/exports/KeyboardAvoidingView/index.js"],"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","_inheritsLoose","subClass","superClass","create","constructor","__proto__","View","React","KeyboardAvoidingView","_React$Component","_this","_len","args","Array","_key","concat","frame","onLayout","event","nativeEvent","layout","_proto","relativeKeyboardHeight","keyboardFrame","keyboardY","screenY","props","keyboardVerticalOffset","Math","max","y","height","onKeyboardChange","render","_this$props","behavior","contentContainerStyle","rest","createElement","Component"],"mappings":"AAAA,SAASA,QAAT,GAAoB;AAAEA,EAAAA,QAAQ,GAAGC,MAAM,CAACC,MAAP,IAAiB,UAAUC,MAAV,EAAkB;AAAE,SAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;AAAE,UAAIG,MAAM,GAAGF,SAAS,CAACD,CAAD,CAAtB;;AAA2B,WAAK,IAAII,GAAT,IAAgBD,MAAhB,EAAwB;AAAE,YAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,EAA6CC,GAA7C,CAAJ,EAAuD;AAAEL,UAAAA,MAAM,CAACK,GAAD,CAAN,GAAcD,MAAM,CAACC,GAAD,CAApB;AAA4B;AAAE;AAAE;;AAAC,WAAOL,MAAP;AAAgB,GAA5P;;AAA8P,SAAOH,QAAQ,CAACY,KAAT,CAAe,IAAf,EAAqBP,SAArB,CAAP;AAAyC;;AAE7T,SAASQ,6BAAT,CAAuCN,MAAvC,EAA+CO,QAA/C,EAAyD;AAAE,MAAIP,MAAM,IAAI,IAAd,EAAoB,OAAO,EAAP;AAAW,MAAIJ,MAAM,GAAG,EAAb;AAAiB,MAAIY,UAAU,GAAGd,MAAM,CAACe,IAAP,CAAYT,MAAZ,CAAjB;AAAsC,MAAIC,GAAJ,EAASJ,CAAT;;AAAY,OAAKA,CAAC,GAAG,CAAT,EAAYA,CAAC,GAAGW,UAAU,CAAC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AAGD,GAVD;;AAYA,SAAO7B,oBAAP;AACD,CAhDD,CAgDED,KAAK,CAACgC,SAhDR,CAFA;;AAoDA,eAAe/B,oBAAf","sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport View from '../View';\nimport React from 'react';\n\nvar KeyboardAvoidingView =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(KeyboardAvoidingView, _React$Component);\n\n function KeyboardAvoidingView() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.frame = null;\n\n _this.onLayout = function (event) {\n _this.frame = event.nativeEvent.layout;\n };\n\n return _this;\n }\n\n var _proto = KeyboardAvoidingView.prototype;\n\n _proto.relativeKeyboardHeight = function relativeKeyboardHeight(keyboardFrame) {\n var frame = this.frame;\n\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n var keyboardY = keyboardFrame.screenY - (this.props.keyboardVerticalOffset || 0);\n return Math.max(frame.y + frame.height - keyboardY, 0);\n };\n\n _proto.onKeyboardChange = function onKeyboardChange(event) {};\n\n _proto.render = function render() {\n var _this$props = this.props,\n behavior = _this$props.behavior,\n contentContainerStyle = _this$props.contentContainerStyle,\n keyboardVerticalOffset = _this$props.keyboardVerticalOffset,\n rest = _objectWithoutPropertiesLoose(_this$props, [\"behavior\", \"contentContainerStyle\", \"keyboardVerticalOffset\"]);\n\n return React.createElement(View, _extends({\n onLayout: this.onLayout\n }, rest));\n };\n\n return KeyboardAvoidingView;\n}(React.Component);\n\nexport default KeyboardAvoidingView;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/74d8aca04393d958004db6c2ef850b15.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nimport InteractionManager from \"../../../../exports/InteractionManager\";\nimport NativeAnimatedHelper from \"../NativeAnimatedHelper\";\nvar NativeAnimatedAPI = NativeAnimatedHelper.API;\n\nfunction _flush(rootNode) {\n var animatedStyles = new Set();\n\n function findAnimatedStyles(node) {\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n\n findAnimatedStyles(rootNode);\n animatedStyles.forEach(function (animatedStyle) {\n return animatedStyle.update();\n });\n}\n\nvar AnimatedValue = function (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValue, _AnimatedWithChildren);\n\n function AnimatedValue(value) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._startingValue = _this._value = value;\n _this._offset = 0;\n _this._animation = null;\n return _this;\n }\n\n var _proto = AnimatedValue.prototype;\n\n _proto.__detach = function __detach() {\n this.stopAnimation();\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._value + this._offset;\n };\n\n _proto.setValue = function setValue(value) {\n if (this._animation) {\n this._animation.stop();\n\n this._animation = null;\n }\n\n this._updateValue(value, !this.__isNative);\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value);\n }\n };\n\n _proto.setOffset = function setOffset(offset) {\n this._offset = offset;\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n };\n\n _proto.flattenOffset = function flattenOffset() {\n this._value += this._offset;\n this._offset = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n };\n\n _proto.extractOffset = function extractOffset() {\n this._offset += this._value;\n this._value = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n };\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n callback && callback(this.__getValue());\n };\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n };\n\n _proto._onAnimatedValueUpdateReceived = function _onAnimatedValueUpdateReceived(value) {\n this._updateValue(value, false);\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.animate = function animate(animation, callback) {\n var _this2 = this;\n\n var handle = null;\n\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n\n var previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(this._value, function (value) {\n _this2._updateValue(value, true);\n }, function (result) {\n _this2._animation = null;\n\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n\n callback && callback(result);\n }, previousAnimation, this);\n };\n\n _proto.stopTracking = function stopTracking() {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n };\n\n _proto.track = function track(tracking) {\n this.stopTracking();\n this._tracking = tracking;\n };\n\n _proto._updateValue = function _updateValue(value, flush) {\n this._value = value;\n\n if (flush) {\n _flush(this);\n }\n\n _AnimatedWithChildren.prototype.__callListeners.call(this, this.__getValue());\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset\n };\n };\n\n return AnimatedValue;\n}(AnimatedWithChildren);\n\nexport default AnimatedValue;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedValue.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedInterpolation","AnimatedWithChildren","InteractionManager","NativeAnimatedHelper","NativeAnimatedAPI","API","_flush","rootNode","animatedStyles","Set","findAnimatedStyles","node","update","add","__getChildren","forEach","animatedStyle","AnimatedValue","_AnimatedWithChildren","value","_this","call","_startingValue","_value","_offset","_animation","_proto","__detach","stopAnimation","__getValue","setValue","stop","_updateValue","__isNative","setAnimatedNodeValue","__getNativeTag","setOffset","offset","setAnimatedNodeOffset","flattenOffset","flattenAnimatedNodeOffset","extractOffset","extractAnimatedNodeOffset","callback","stopTracking","resetAnimation","_onAnimatedValueUpdateReceived","interpolate","config","animate","animation","_this2","handle","__isInteraction","createInteractionHandle","previousAnimation","start","result","clearInteractionHandle","_tracking","track","tracking","flush","__callListeners","__getNativeConfig","type"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;AAA0DF,EAAAA,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;AAA2CA,EAAAA,QAAQ,CAACM,SAAT,GAAqBL,UAArB;AAAkC;;AAEvL,OAAOM,qBAAP;AACA,OAAOC,oBAAP;AACA,OAAOC,kBAAP;AACA,OAAOC,oBAAP;AACA,IAAIC,iBAA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right (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport InteractionManager from '../../../../exports/InteractionManager';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nvar NativeAnimatedAPI = NativeAnimatedHelper.API;\n/**\n * Animated works by building a directed acyclic graph of dependencies\n * transparently when you render your Animated components.\n *\n * new Animated.Value(0)\n * .interpolate() .interpolate() new Animated.Value(1)\n * opacity translateY scale\n * style transform\n * View#234 style\n * View#123\n *\n * A) Top Down phase\n * When an Animated.Value is updated, we recursively go down through this\n * graph in order to find leaf nodes: the views that we flag as needing\n * an update.\n *\n * B) Bottom Up phase\n * When a view is flagged as needing an update, we recursively go back up\n * in order to build the new value that it needs. The reason why we need\n * this two-phases process is to deal with composite props such as\n * transform which can receive values from multiple parents.\n */\n\nfunction _flush(rootNode) {\n var animatedStyles = new Set();\n\n function findAnimatedStyles(node) {\n /* $FlowFixMe(>=0.68.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.68 was deployed. To see the error delete this\n * comment and run Flow. */\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n\n findAnimatedStyles(rootNode);\n /* $FlowFixMe */\n\n animatedStyles.forEach(function (animatedStyle) {\n return animatedStyle.update();\n });\n}\n/**\n * Standard value for driving animations. One `Animated.Value` can drive\n * multiple properties in a synchronized fashion, but can only be driven by one\n * mechanism at a time. Using a new mechanism (e.g. starting a new animation,\n * or calling `setValue`) will stop any previous ones.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html\n */\n\n\nvar AnimatedValue =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedValue, _AnimatedWithChildren);\n\n function AnimatedValue(value) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._startingValue = _this._value = value;\n _this._offset = 0;\n _this._animation = null;\n return _this;\n }\n\n var _proto = AnimatedValue.prototype;\n\n _proto.__detach = function __detach() {\n this.stopAnimation();\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._value + this._offset;\n }\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setvalue\n */\n ;\n\n _proto.setValue = function setValue(value) {\n if (this._animation) {\n this._animation.stop();\n\n this._animation = null;\n }\n\n this._updateValue(value, !this.__isNative\n /* don't perform a flush for natively driven values */\n );\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value);\n }\n }\n /**\n * Sets an offset that is applied on top of whatever value is set, whether via\n * `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#setoffset\n */\n ;\n\n _proto.setOffset = function setOffset(offset) {\n this._offset = offset;\n\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n }\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#flattenoffset\n */\n ;\n\n _proto.flattenOffset = function flattenOffset() {\n this._value += this._offset;\n this._offset = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n /**\n * Sets the offset value to the base value, and resets the base value to zero.\n * The final output of the value is unchanged.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#extractoffset\n */\n ;\n\n _proto.extractOffset = function extractOffset() {\n this._offset += this._value;\n this._value = 0;\n\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#stopanimation\n */\n ;\n\n _proto.stopAnimation = function stopAnimation(callback) {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n callback && callback(this.__getValue());\n }\n /**\n * Stops any animation and resets the value to its original.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#resetanimation\n */\n ;\n\n _proto.resetAnimation = function resetAnimation(callback) {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n };\n\n _proto._onAnimatedValueUpdateReceived = function _onAnimatedValueUpdateReceived(value) {\n this._updateValue(value, false\n /*flush*/\n );\n }\n /**\n * Interpolates the value before updating the property, e.g. mapping 0-1 to\n * 0-10.\n */\n ;\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n /**\n * Typically only used internally, but could be used by a custom Animation\n * class.\n *\n * See http://facebook.github.io/react-native/docs/animatedvalue.html#animate\n */\n ;\n\n _proto.animate = function animate(animation, callback) {\n var _this2 = this;\n\n var handle = null;\n\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n\n var previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(this._value, function (value) {\n // Natively driven animations will never call into that callback, therefore we can always\n // pass flush = true to allow the updated value to propagate to native with setNativeProps\n _this2._updateValue(value, true\n /* flush */\n );\n }, function (result) {\n _this2._animation = null;\n\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n\n callback && callback(result);\n }, previousAnimation, this);\n }\n /**\n * Typically only used internally.\n */\n ;\n\n _proto.stopTracking = function stopTracking() {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n }\n /**\n * Typically only used internally.\n */\n ;\n\n _proto.track = function track(tracking) {\n this.stopTracking();\n this._tracking = tracking;\n };\n\n _proto._updateValue = function _updateValue(value, flush) {\n this._value = value;\n\n if (flush) {\n _flush(this);\n }\n\n _AnimatedWithChildren.prototype.__callListeners.call(this, this.__getValue());\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset\n };\n };\n\n return AnimatedValue;\n}(AnimatedWithChildren);\n\nexport default AnimatedValue;"]},"metadata":{},"sourceType":"module"}
|
package/example/.expo/web/cache/development/babel-loader/765c63eb89770f11615c740460d8a605.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\n\nvar AnimatedModulo = function (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedModulo, _AnimatedWithChildren);\n\n function AnimatedModulo(a, modulus) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = a;\n _this._modulus = modulus;\n return _this;\n }\n\n var _proto = AnimatedModulo.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n };\n\n return AnimatedModulo;\n}(AnimatedWithChildren);\n\nexport default AnimatedModulo;","map":{"version":3,"sources":["/Users/jake/git/react-native-candlestick-chart/example/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedInterpolation","AnimatedNode","AnimatedWithChildren","AnimatedModulo","_AnimatedWithChildren","a","modulus","_this","call","_a","_modulus","_proto","__makeNative","__getValue","interpolate","config","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;AAA0DF,EAAAA,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;AAA2CA,EAAAA,QAAQ,CAACM,SAAT,GAAqBL,UAArB;AAAkC;;AAEvL,OAAOM,qBAAP;AACA,OAAOC,YAAP;AACA,OAAOC,oBAAP;;AAEA,IAAIC,cAAc,GAElB,UAAUC,qBAAV,EAAiC;AAC/BZ,EAAAA,cAAc,CAACW,cAAD,EAAiBC,qBAAjB,CAAd;;AAEA,WAASD,cAAT,CAAwBE,CAAxB,EAA2BC,OAA3B,EAAoC;AAClC,QAAIC,KAAJ;;AAEAA,IAAAA,KAAK,GAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,KAAoC,IAA5C;AACAD,IAAAA,KAAK,CAACE,EAAN,GAAWJ,CAAX;AACAE,IAAAA,KAAK,CAACG,QAAN,GAAiBJ,OAAjB;AACA,WAAOC,KAAP;AACD;;AAED,MAAII,MAAM,GAAGR,cAAc,CAACR,SAA5B;;AAEAgB,EAAAA,MAAM,CAACC,YAAP,GAAsB,SAASA,YAAT,GAAwB;AAC5C,SAAKH,EAAL,CAAQG,YAAR;;AAEAR,IAAAA,qBAAqB,CAACT,SAAtB,CAAgCiB,YAAhC,CAA6CJ,IAA7C,CAAkD,IAAlD;AACD,GAJD;;AAMAG,EAAAA,MAAM,CAACE,UAAP,GAAoB,SAASA,UAAT,GAAsB;AACxC,WAAO,CAAC,KAAKJ,EAAL,CAAQI,UAAR,KAAuB,KAAKH,QAA5B,GAAuC,KAAKA,QAA7C,IAAyD,KAAKA,QAArE;AACD,GAFD;;AAIAC,EAAAA,MAAM,CAACG,WAAP,GAAqB,SAASA,WAAT,CAAqBC,MAArB,EAA6B;AAChD,WAAO,IAAIf,qBAAJ,CAA0B,IAA1B,EAAgCe,MAAhC,CAAP;AACD,GAFD;;AAIAJ,EAAAA,MAAM,CAACK,QAAP,GAAkB,SAASA,QAAT,GAAoB;AACpC,SAAKP,EAAL,CAAQQ,UAAR,CAAmB,IAAnB;AACD,GAFD;;AAIAN,EAAAA,MAAM,CAACO,QAAP,GAAkB,SAASA,QAAT,GAAoB;AACpC,SAAKT,EAAL,CAAQU,aAAR,CAAsB,IAAtB;;AAEAf,IAAAA,qBAAqB,CAACT,SAAtB,CAAgCuB,QAAhC,CAAyCV,IAAzC,CAA8C,IAA9C;AACD,GAJD;;AAMAG,EAAAA,MAAM,CAACS,iBAAP,GAA2B,SAASA,iBAAT,GAA6B;AACtD,WAAO;AACLC,MAAAA,IAAI,EAAE,SADD;AAELC,MAAAA,KAAK,EAAE,KAAKb,EAAL,CAAQc,cAAR,EAFF;AAGLjB,MAAAA,OAAO,EAAE,KAAKI;AAHT,KAAP;AAKD,GAND;;AAQA,SAAOP,cAAP;AACD,CA/CD,CA+CED,oBA/CF,CAFA;;AAmDA,eAAeC,cAAf","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedModulo =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedModulo, _AnimatedWithChildren);\n\n function AnimatedModulo(a, modulus) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = a;\n _this._modulus = modulus;\n return _this;\n }\n\n var _proto = AnimatedModulo.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus\n };\n };\n\n return AnimatedModulo;\n}(AnimatedWithChildren);\n\nexport default AnimatedModulo;"]},"metadata":{},"sourceType":"module"}
|