유희정

referesh

...@@ -1566,6 +1566,34 @@ ...@@ -1566,6 +1566,34 @@
1566 "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", 1566 "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
1567 "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" 1567 "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
1568 }, 1568 },
1569 + "aws-sdk": {
1570 + "version": "2.589.0",
1571 + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.589.0.tgz",
1572 + "integrity": "sha512-jC/2vsiSvqm25A/aMjRrG6NJnikunjUnFFGlgPFvKu0CpUwXADO0Bzp2wCpHKDjq3+PcOHpBYU9CpvHTHNGdPg==",
1573 + "requires": {
1574 + "buffer": "4.9.1",
1575 + "events": "1.1.1",
1576 + "ieee754": "1.1.13",
1577 + "jmespath": "0.15.0",
1578 + "querystring": "0.2.0",
1579 + "sax": "1.2.1",
1580 + "url": "0.10.3",
1581 + "uuid": "3.3.2",
1582 + "xml2js": "0.4.19"
1583 + },
1584 + "dependencies": {
1585 + "sax": {
1586 + "version": "1.2.1",
1587 + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz",
1588 + "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o="
1589 + },
1590 + "uuid": {
1591 + "version": "3.3.2",
1592 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
1593 + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
1594 + }
1595 + }
1596 + },
1569 "aws-sign2": { 1597 "aws-sign2": {
1570 "version": "0.7.0", 1598 "version": "0.7.0",
1571 "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 1599 "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
...@@ -1861,6 +1889,11 @@ ...@@ -1861,6 +1889,11 @@
1861 } 1889 }
1862 } 1890 }
1863 }, 1891 },
1892 + "boolbase": {
1893 + "version": "1.0.0",
1894 + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
1895 + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
1896 + },
1864 "bplist-creator": { 1897 "bplist-creator": {
1865 "version": "0.0.8", 1898 "version": "0.0.8",
1866 "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz", 1899 "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz",
...@@ -1944,6 +1977,16 @@ ...@@ -1944,6 +1977,16 @@
1944 "node-int64": "^0.4.0" 1977 "node-int64": "^0.4.0"
1945 } 1978 }
1946 }, 1979 },
1980 + "buffer": {
1981 + "version": "4.9.1",
1982 + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
1983 + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",
1984 + "requires": {
1985 + "base64-js": "^1.0.2",
1986 + "ieee754": "^1.1.4",
1987 + "isarray": "^1.0.0"
1988 + }
1989 + },
1947 "buffer-crc32": { 1990 "buffer-crc32": {
1948 "version": "0.2.13", 1991 "version": "0.2.13",
1949 "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 1992 "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
...@@ -2350,6 +2393,38 @@ ...@@ -2350,6 +2393,38 @@
2350 } 2393 }
2351 } 2394 }
2352 }, 2395 },
2396 + "css-select": {
2397 + "version": "2.1.0",
2398 + "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",
2399 + "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==",
2400 + "requires": {
2401 + "boolbase": "^1.0.0",
2402 + "css-what": "^3.2.1",
2403 + "domutils": "^1.7.0",
2404 + "nth-check": "^1.0.2"
2405 + }
2406 + },
2407 + "css-tree": {
2408 + "version": "1.0.0-alpha.39",
2409 + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.39.tgz",
2410 + "integrity": "sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA==",
2411 + "requires": {
2412 + "mdn-data": "2.0.6",
2413 + "source-map": "^0.6.1"
2414 + },
2415 + "dependencies": {
2416 + "source-map": {
2417 + "version": "0.6.1",
2418 + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
2419 + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
2420 + }
2421 + }
2422 + },
2423 + "css-what": {
2424 + "version": "3.2.1",
2425 + "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.2.1.tgz",
2426 + "integrity": "sha512-WwOrosiQTvyms+Ti5ZC5vGEK0Vod3FTt1ca+payZqvKuGJF+dq7bG63DstxtN0dpm6FxY27a/zS3Wten+gEtGw=="
2427 + },
2353 "cssom": { 2428 "cssom": {
2354 "version": "0.3.8", 2429 "version": "0.3.8",
2355 "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", 2430 "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
...@@ -2365,6 +2440,278 @@ ...@@ -2365,6 +2440,278 @@
2365 "cssom": "0.3.x" 2440 "cssom": "0.3.x"
2366 } 2441 }
2367 }, 2442 },
2443 + "d3": {
2444 + "version": "5.14.2",
2445 + "resolved": "https://registry.npmjs.org/d3/-/d3-5.14.2.tgz",
2446 + "integrity": "sha512-Ccipa9XrYW5N0QkP6u0Qb8kU6WekIXBiDenmZm1zLvuq/9pBBhRCJLCICEOsH5Og4B0Xw02bhqGkK5VN/oPH0w==",
2447 + "requires": {
2448 + "d3-array": "1",
2449 + "d3-axis": "1",
2450 + "d3-brush": "1",
2451 + "d3-chord": "1",
2452 + "d3-collection": "1",
2453 + "d3-color": "1",
2454 + "d3-contour": "1",
2455 + "d3-dispatch": "1",
2456 + "d3-drag": "1",
2457 + "d3-dsv": "1",
2458 + "d3-ease": "1",
2459 + "d3-fetch": "1",
2460 + "d3-force": "1",
2461 + "d3-format": "1",
2462 + "d3-geo": "1",
2463 + "d3-hierarchy": "1",
2464 + "d3-interpolate": "1",
2465 + "d3-path": "1",
2466 + "d3-polygon": "1",
2467 + "d3-quadtree": "1",
2468 + "d3-random": "1",
2469 + "d3-scale": "2",
2470 + "d3-scale-chromatic": "1",
2471 + "d3-selection": "1",
2472 + "d3-shape": "1",
2473 + "d3-time": "1",
2474 + "d3-time-format": "2",
2475 + "d3-timer": "1",
2476 + "d3-transition": "1",
2477 + "d3-voronoi": "1",
2478 + "d3-zoom": "1"
2479 + }
2480 + },
2481 + "d3-array": {
2482 + "version": "1.2.4",
2483 + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz",
2484 + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw=="
2485 + },
2486 + "d3-axis": {
2487 + "version": "1.0.12",
2488 + "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-1.0.12.tgz",
2489 + "integrity": "sha512-ejINPfPSNdGFKEOAtnBtdkpr24c4d4jsei6Lg98mxf424ivoDP2956/5HDpIAtmHo85lqT4pruy+zEgvRUBqaQ=="
2490 + },
2491 + "d3-brush": {
2492 + "version": "1.1.5",
2493 + "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-1.1.5.tgz",
2494 + "integrity": "sha512-rEaJ5gHlgLxXugWjIkolTA0OyMvw8UWU1imYXy1v642XyyswmI1ybKOv05Ft+ewq+TFmdliD3VuK0pRp1VT/5A==",
2495 + "requires": {
2496 + "d3-dispatch": "1",
2497 + "d3-drag": "1",
2498 + "d3-interpolate": "1",
2499 + "d3-selection": "1",
2500 + "d3-transition": "1"
2501 + }
2502 + },
2503 + "d3-chord": {
2504 + "version": "1.0.6",
2505 + "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-1.0.6.tgz",
2506 + "integrity": "sha512-JXA2Dro1Fxw9rJe33Uv+Ckr5IrAa74TlfDEhE/jfLOaXegMQFQTAgAw9WnZL8+HxVBRXaRGCkrNU7pJeylRIuA==",
2507 + "requires": {
2508 + "d3-array": "1",
2509 + "d3-path": "1"
2510 + }
2511 + },
2512 + "d3-collection": {
2513 + "version": "1.0.7",
2514 + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz",
2515 + "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A=="
2516 + },
2517 + "d3-color": {
2518 + "version": "1.4.0",
2519 + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.0.tgz",
2520 + "integrity": "sha512-TzNPeJy2+iEepfiL92LAAB7fvnp/dV2YwANPVHdDWmYMm23qIJBYww3qT8I8C1wXrmrg4UWs7BKc2tKIgyjzHg=="
2521 + },
2522 + "d3-contour": {
2523 + "version": "1.3.2",
2524 + "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-1.3.2.tgz",
2525 + "integrity": "sha512-hoPp4K/rJCu0ladiH6zmJUEz6+u3lgR+GSm/QdM2BBvDraU39Vr7YdDCicJcxP1z8i9B/2dJLgDC1NcvlF8WCg==",
2526 + "requires": {
2527 + "d3-array": "^1.1.1"
2528 + }
2529 + },
2530 + "d3-dispatch": {
2531 + "version": "1.0.6",
2532 + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz",
2533 + "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA=="
2534 + },
2535 + "d3-drag": {
2536 + "version": "1.2.5",
2537 + "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.2.5.tgz",
2538 + "integrity": "sha512-rD1ohlkKQwMZYkQlYVCrSFxsWPzI97+W+PaEIBNTMxRuxz9RF0Hi5nJWHGVJ3Om9d2fRTe1yOBINJyy/ahV95w==",
2539 + "requires": {
2540 + "d3-dispatch": "1",
2541 + "d3-selection": "1"
2542 + }
2543 + },
2544 + "d3-dsv": {
2545 + "version": "1.2.0",
2546 + "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-1.2.0.tgz",
2547 + "integrity": "sha512-9yVlqvZcSOMhCYzniHE7EVUws7Fa1zgw+/EAV2BxJoG3ME19V6BQFBwI855XQDsxyOuG7NibqRMTtiF/Qup46g==",
2548 + "requires": {
2549 + "commander": "2",
2550 + "iconv-lite": "0.4",
2551 + "rw": "1"
2552 + }
2553 + },
2554 + "d3-ease": {
2555 + "version": "1.0.6",
2556 + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.6.tgz",
2557 + "integrity": "sha512-SZ/lVU7LRXafqp7XtIcBdxnWl8yyLpgOmzAk0mWBI9gXNzLDx5ybZgnRbH9dN/yY5tzVBqCQ9avltSnqVwessQ=="
2558 + },
2559 + "d3-fetch": {
2560 + "version": "1.1.2",
2561 + "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-1.1.2.tgz",
2562 + "integrity": "sha512-S2loaQCV/ZeyTyIF2oP8D1K9Z4QizUzW7cWeAOAS4U88qOt3Ucf6GsmgthuYSdyB2HyEm4CeGvkQxWsmInsIVA==",
2563 + "requires": {
2564 + "d3-dsv": "1"
2565 + }
2566 + },
2567 + "d3-force": {
2568 + "version": "1.2.1",
2569 + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz",
2570 + "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==",
2571 + "requires": {
2572 + "d3-collection": "1",
2573 + "d3-dispatch": "1",
2574 + "d3-quadtree": "1",
2575 + "d3-timer": "1"
2576 + }
2577 + },
2578 + "d3-format": {
2579 + "version": "1.4.2",
2580 + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.2.tgz",
2581 + "integrity": "sha512-gco1Ih54PgMsyIXgttLxEhNy/mXxq8+rLnCb5shQk+P5TsiySrwWU5gpB4zen626J4LIwBxHvDChyA8qDm57ww=="
2582 + },
2583 + "d3-geo": {
2584 + "version": "1.11.9",
2585 + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.11.9.tgz",
2586 + "integrity": "sha512-9edcH6J3s/Aa3KJITWqFJbyB/8q3mMlA9Fi7z6yy+FAYMnRaxmC7jBhUnsINxVWD14GmqX3DK8uk7nV6/Ekt4A==",
2587 + "requires": {
2588 + "d3-array": "1"
2589 + }
2590 + },
2591 + "d3-hierarchy": {
2592 + "version": "1.1.9",
2593 + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz",
2594 + "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ=="
2595 + },
2596 + "d3-interpolate": {
2597 + "version": "1.4.0",
2598 + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz",
2599 + "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==",
2600 + "requires": {
2601 + "d3-color": "1"
2602 + }
2603 + },
2604 + "d3-interpolate-path": {
2605 + "version": "2.0.0",
2606 + "resolved": "https://registry.npmjs.org/d3-interpolate-path/-/d3-interpolate-path-2.0.0.tgz",
2607 + "integrity": "sha1-ywMnMU/tsU5uoXiat+CVoWwvirI=",
2608 + "requires": {
2609 + "d3-interpolate": "^1.1.1"
2610 + }
2611 + },
2612 + "d3-path": {
2613 + "version": "1.0.9",
2614 + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
2615 + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="
2616 + },
2617 + "d3-polygon": {
2618 + "version": "1.0.6",
2619 + "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.6.tgz",
2620 + "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ=="
2621 + },
2622 + "d3-quadtree": {
2623 + "version": "1.0.7",
2624 + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz",
2625 + "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA=="
2626 + },
2627 + "d3-random": {
2628 + "version": "1.1.2",
2629 + "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-1.1.2.tgz",
2630 + "integrity": "sha512-6AK5BNpIFqP+cx/sreKzNjWbwZQCSUatxq+pPRmFIQaWuoD+NrbVWw7YWpHiXpCQ/NanKdtGDuB+VQcZDaEmYQ=="
2631 + },
2632 + "d3-scale": {
2633 + "version": "2.2.2",
2634 + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-2.2.2.tgz",
2635 + "integrity": "sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw==",
2636 + "requires": {
2637 + "d3-array": "^1.2.0",
2638 + "d3-collection": "1",
2639 + "d3-format": "1",
2640 + "d3-interpolate": "1",
2641 + "d3-time": "1",
2642 + "d3-time-format": "2"
2643 + }
2644 + },
2645 + "d3-scale-chromatic": {
2646 + "version": "1.5.0",
2647 + "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-1.5.0.tgz",
2648 + "integrity": "sha512-ACcL46DYImpRFMBcpk9HhtIyC7bTBR4fNOPxwVSl0LfulDAwyiHyPOTqcDG1+t5d4P9W7t/2NAuWu59aKko/cg==",
2649 + "requires": {
2650 + "d3-color": "1",
2651 + "d3-interpolate": "1"
2652 + }
2653 + },
2654 + "d3-selection": {
2655 + "version": "1.4.1",
2656 + "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.4.1.tgz",
2657 + "integrity": "sha512-BTIbRjv/m5rcVTfBs4AMBLKs4x8XaaLkwm28KWu9S2vKNqXkXt2AH2Qf0sdPZHjFxcWg/YL53zcqAz+3g4/7PA=="
2658 + },
2659 + "d3-shape": {
2660 + "version": "1.3.7",
2661 + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
2662 + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
2663 + "requires": {
2664 + "d3-path": "1"
2665 + }
2666 + },
2667 + "d3-time": {
2668 + "version": "1.1.0",
2669 + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",
2670 + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="
2671 + },
2672 + "d3-time-format": {
2673 + "version": "2.2.2",
2674 + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.2.2.tgz",
2675 + "integrity": "sha512-pweL2Ri2wqMY+wlW/wpkl8T3CUzKAha8S9nmiQlMABab8r5MJN0PD1V4YyRNVaKQfeh4Z0+VO70TLw6ESVOYzw==",
2676 + "requires": {
2677 + "d3-time": "1"
2678 + }
2679 + },
2680 + "d3-timer": {
2681 + "version": "1.0.10",
2682 + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz",
2683 + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw=="
2684 + },
2685 + "d3-transition": {
2686 + "version": "1.3.2",
2687 + "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.3.2.tgz",
2688 + "integrity": "sha512-sc0gRU4PFqZ47lPVHloMn9tlPcv8jxgOQg+0zjhfZXMQuvppjG6YuwdMBE0TuqCZjeJkLecku/l9R0JPcRhaDA==",
2689 + "requires": {
2690 + "d3-color": "1",
2691 + "d3-dispatch": "1",
2692 + "d3-ease": "1",
2693 + "d3-interpolate": "1",
2694 + "d3-selection": "^1.1.0",
2695 + "d3-timer": "1"
2696 + }
2697 + },
2698 + "d3-voronoi": {
2699 + "version": "1.1.4",
2700 + "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz",
2701 + "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg=="
2702 + },
2703 + "d3-zoom": {
2704 + "version": "1.8.3",
2705 + "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-1.8.3.tgz",
2706 + "integrity": "sha512-VoLXTK4wvy1a0JpH2Il+F2CiOhVu7VRXWF5M/LroMIh3/zBAC3WAt7QoIvPibOavVo20hN6/37vwAsdBejLyKQ==",
2707 + "requires": {
2708 + "d3-dispatch": "1",
2709 + "d3-drag": "1",
2710 + "d3-interpolate": "1",
2711 + "d3-selection": "1",
2712 + "d3-transition": "1"
2713 + }
2714 + },
2368 "dashdash": { 2715 "dashdash": {
2369 "version": "1.14.1", 2716 "version": "1.14.1",
2370 "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 2717 "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
...@@ -2539,6 +2886,27 @@ ...@@ -2539,6 +2886,27 @@
2539 "esutils": "^2.0.2" 2886 "esutils": "^2.0.2"
2540 } 2887 }
2541 }, 2888 },
2889 + "dom-serializer": {
2890 + "version": "0.2.2",
2891 + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
2892 + "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==",
2893 + "requires": {
2894 + "domelementtype": "^2.0.1",
2895 + "entities": "^2.0.0"
2896 + },
2897 + "dependencies": {
2898 + "domelementtype": {
2899 + "version": "2.0.1",
2900 + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz",
2901 + "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ=="
2902 + }
2903 + }
2904 + },
2905 + "domelementtype": {
2906 + "version": "1.3.1",
2907 + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
2908 + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w=="
2909 + },
2542 "domexception": { 2910 "domexception": {
2543 "version": "1.0.1", 2911 "version": "1.0.1",
2544 "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", 2912 "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz",
...@@ -2548,6 +2916,15 @@ ...@@ -2548,6 +2916,15 @@
2548 "webidl-conversions": "^4.0.2" 2916 "webidl-conversions": "^4.0.2"
2549 } 2917 }
2550 }, 2918 },
2919 + "domutils": {
2920 + "version": "1.7.0",
2921 + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
2922 + "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
2923 + "requires": {
2924 + "dom-serializer": "0",
2925 + "domelementtype": "1"
2926 + }
2927 + },
2551 "ecc-jsbn": { 2928 "ecc-jsbn": {
2552 "version": "0.1.2", 2929 "version": "0.1.2",
2553 "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 2930 "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
...@@ -2589,6 +2966,11 @@ ...@@ -2589,6 +2966,11 @@
2589 "once": "^1.4.0" 2966 "once": "^1.4.0"
2590 } 2967 }
2591 }, 2968 },
2969 + "entities": {
2970 + "version": "2.0.0",
2971 + "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz",
2972 + "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw=="
2973 + },
2592 "envinfo": { 2974 "envinfo": {
2593 "version": "7.5.0", 2975 "version": "7.5.0",
2594 "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.5.0.tgz", 2976 "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.5.0.tgz",
...@@ -3091,6 +3473,11 @@ ...@@ -3091,6 +3473,11 @@
3091 "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz", 3473 "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
3092 "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==" 3474 "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q=="
3093 }, 3475 },
3476 + "events": {
3477 + "version": "1.1.1",
3478 + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz",
3479 + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ="
3480 + },
3094 "exec-sh": { 3481 "exec-sh": {
3095 "version": "0.3.4", 3482 "version": "0.3.4",
3096 "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", 3483 "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz",
...@@ -4273,6 +4660,11 @@ ...@@ -4273,6 +4660,11 @@
4273 "safer-buffer": ">= 2.1.2 < 3" 4660 "safer-buffer": ">= 2.1.2 < 3"
4274 } 4661 }
4275 }, 4662 },
4663 + "ieee754": {
4664 + "version": "1.1.13",
4665 + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
4666 + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
4667 + },
4276 "ignore": { 4668 "ignore": {
4277 "version": "5.1.4", 4669 "version": "5.1.4",
4278 "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", 4670 "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
...@@ -5350,6 +5742,11 @@ ...@@ -5350,6 +5742,11 @@
5350 "resolved": "https://registry.npmjs.org/jetifier/-/jetifier-1.6.5.tgz", 5742 "resolved": "https://registry.npmjs.org/jetifier/-/jetifier-1.6.5.tgz",
5351 "integrity": "sha512-T7yzBSu9PR+DqjYt+I0KVO1XTb1QhAfHnXV5Nd3xpbXM6Xg4e3vP60Q4qkNU8Fh6PHC2PivPUNN3rY7G2MxcDQ==" 5743 "integrity": "sha512-T7yzBSu9PR+DqjYt+I0KVO1XTb1QhAfHnXV5Nd3xpbXM6Xg4e3vP60Q4qkNU8Fh6PHC2PivPUNN3rY7G2MxcDQ=="
5352 }, 5744 },
5745 + "jmespath": {
5746 + "version": "0.15.0",
5747 + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz",
5748 + "integrity": "sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc="
5749 + },
5353 "js-tokens": { 5750 "js-tokens": {
5354 "version": "4.0.0", 5751 "version": "4.0.0",
5355 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 5752 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
...@@ -5811,6 +6208,11 @@ ...@@ -5811,6 +6208,11 @@
5811 "object-visit": "^1.0.0" 6208 "object-visit": "^1.0.0"
5812 } 6209 }
5813 }, 6210 },
6211 + "mdn-data": {
6212 + "version": "2.0.6",
6213 + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.6.tgz",
6214 + "integrity": "sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA=="
6215 + },
5814 "media-typer": { 6216 "media-typer": {
5815 "version": "0.3.0", 6217 "version": "0.3.0",
5816 "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 6218 "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
...@@ -6419,6 +6821,14 @@ ...@@ -6419,6 +6821,14 @@
6419 "path-key": "^2.0.0" 6821 "path-key": "^2.0.0"
6420 } 6822 }
6421 }, 6823 },
6824 + "nth-check": {
6825 + "version": "1.0.2",
6826 + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
6827 + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
6828 + "requires": {
6829 + "boolbase": "~1.0.0"
6830 + }
6831 + },
6422 "nullthrows": { 6832 "nullthrows": {
6423 "version": "1.1.1", 6833 "version": "1.1.1",
6424 "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz", 6834 "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
...@@ -7072,6 +7482,11 @@ ...@@ -7072,6 +7482,11 @@
7072 "strict-uri-encode": "^2.0.0" 7482 "strict-uri-encode": "^2.0.0"
7073 } 7483 }
7074 }, 7484 },
7485 + "querystring": {
7486 + "version": "0.2.0",
7487 + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
7488 + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA="
7489 + },
7075 "range-parser": { 7490 "range-parser": {
7076 "version": "1.2.1", 7491 "version": "1.2.1",
7077 "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 7492 "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
...@@ -7273,6 +7688,48 @@ ...@@ -7273,6 +7688,48 @@
7273 "debounce": "^1.2.0" 7688 "debounce": "^1.2.0"
7274 } 7689 }
7275 }, 7690 },
7691 + "react-native-segmented-control-tab": {
7692 + "version": "3.4.1",
7693 + "resolved": "https://registry.npmjs.org/react-native-segmented-control-tab/-/react-native-segmented-control-tab-3.4.1.tgz",
7694 + "integrity": "sha512-BNPdlE9Unr0Xabewn8W+FhBMLjssXy9Ey7S7AY0hXlrKrEKFdC9z0yT+eEWd5dLam4T6T4IuGL8b7ZF4uGyWNw=="
7695 + },
7696 + "react-native-svg": {
7697 + "version": "9.13.6",
7698 + "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-9.13.6.tgz",
7699 + "integrity": "sha512-vjjuJhEhQCwWjqsgWyGy6/C/LIBM2REDxB40FU1PMhi8T3zQUwUHnA6M15pJKlQG8vaZyA+QnLyIVhjtujRgig==",
7700 + "requires": {
7701 + "css-select": "^2.0.2",
7702 + "css-tree": "^1.0.0-alpha.37"
7703 + }
7704 + },
7705 + "react-native-svg-charts": {
7706 + "version": "5.3.0",
7707 + "resolved": "https://registry.npmjs.org/react-native-svg-charts/-/react-native-svg-charts-5.3.0.tgz",
7708 + "integrity": "sha512-XxKDqMdOl8EhQGhLAzWtmfhhiTuPeeRrLvLQ5+BzaRoCgdBO1CGGKeLvEor8OU8QUi3IXSdbbTi+fVrFq5hqaQ==",
7709 + "requires": {
7710 + "d3-array": "^1.2.0",
7711 + "d3-interpolate-path": "2.0.0",
7712 + "d3-scale": "^1.0.6",
7713 + "d3-shape": "^1.0.6",
7714 + "prop-types": "^15.6.0"
7715 + },
7716 + "dependencies": {
7717 + "d3-scale": {
7718 + "version": "1.0.7",
7719 + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-1.0.7.tgz",
7720 + "integrity": "sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==",
7721 + "requires": {
7722 + "d3-array": "^1.2.0",
7723 + "d3-collection": "1",
7724 + "d3-color": "1",
7725 + "d3-format": "1",
7726 + "d3-interpolate": "1",
7727 + "d3-time": "1",
7728 + "d3-time-format": "2"
7729 + }
7730 + }
7731 + }
7732 + },
7276 "react-native-tab-view": { 7733 "react-native-tab-view": {
7277 "version": "2.11.0", 7734 "version": "2.11.0",
7278 "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-2.11.0.tgz", 7735 "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-2.11.0.tgz",
...@@ -7770,6 +8227,11 @@ ...@@ -7770,6 +8227,11 @@
7770 "is-promise": "^2.1.0" 8227 "is-promise": "^2.1.0"
7771 } 8228 }
7772 }, 8229 },
8230 + "rw": {
8231 + "version": "1.3.3",
8232 + "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
8233 + "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q="
8234 + },
7773 "rx-lite": { 8235 "rx-lite": {
7774 "version": "4.0.8", 8236 "version": "4.0.8",
7775 "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", 8237 "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
...@@ -8797,6 +9259,22 @@ ...@@ -8797,6 +9259,22 @@
8797 "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", 9259 "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
8798 "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" 9260 "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI="
8799 }, 9261 },
9262 + "url": {
9263 + "version": "0.10.3",
9264 + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz",
9265 + "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=",
9266 + "requires": {
9267 + "punycode": "1.3.2",
9268 + "querystring": "0.2.0"
9269 + },
9270 + "dependencies": {
9271 + "punycode": {
9272 + "version": "1.3.2",
9273 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
9274 + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
9275 + }
9276 + }
9277 + },
8800 "use": { 9278 "use": {
8801 "version": "3.1.1", 9279 "version": "3.1.1",
8802 "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", 9280 "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
...@@ -9039,6 +9517,15 @@ ...@@ -9039,6 +9517,15 @@
9039 "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", 9517 "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
9040 "dev": true 9518 "dev": true
9041 }, 9519 },
9520 + "xml2js": {
9521 + "version": "0.4.19",
9522 + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz",
9523 + "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==",
9524 + "requires": {
9525 + "sax": ">=0.6.0",
9526 + "xmlbuilder": "~9.0.1"
9527 + }
9528 + },
9042 "xmlbuilder": { 9529 "xmlbuilder": {
9043 "version": "9.0.7", 9530 "version": "9.0.7",
9044 "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", 9531 "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
10 "lint": "eslint ." 10 "lint": "eslint ."
11 }, 11 },
12 "dependencies": { 12 "dependencies": {
13 + "aws-sdk": "^2.589.0",
13 "d3": "^5.14.2", 14 "d3": "^5.14.2",
14 "express": "^4.17.1", 15 "express": "^4.17.1",
15 "react": "16.9.0", 16 "react": "16.9.0",
......
...@@ -5,13 +5,17 @@ import Circle from '../component/circle_component' ...@@ -5,13 +5,17 @@ import Circle from '../component/circle_component'
5 import {Table, TableWrapper, Row,Rows} from 'react-native-table-component' 5 import {Table, TableWrapper, Row,Rows} from 'react-native-table-component'
6 var date = new Date(); 6 var date = new Date();
7 date.setHours(date.getHours()+9); 7 date.setHours(date.getHours()+9);
8 - 8 +var month = date.getMonth()+1;
9 +if(month == 11){
10 + month = 12
11 +}
9 export default class HomeTab extends Component { 12 export default class HomeTab extends Component {
10 13
11 constructor(props){ 14 constructor(props){
12 super(props); 15 super(props);
13 this.state = { 16 this.state = {
14 - today : date.getFullYear() + "." + date.getMonth() + "." + date.getDate(), 17 + ID : this.props.navigation.getParam('id','pi1'),
18 + today : date.getFullYear() + "." + month + "." + date.getDate(),
15 current_weight : 0, 19 current_weight : 0,
16 table_contents : [['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'],['오후','4:27:52', '+0.12kg', 'Total : 1.38kg'], 20 table_contents : [['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'],['오후','4:27:52', '+0.12kg', 'Total : 1.38kg'],
17 ['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'],['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'], 21 ['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'],['오후','6:12:15', '+0.25kg', 'Total : 1.5 kg'],
...@@ -21,11 +25,34 @@ export default class HomeTab extends Component { ...@@ -21,11 +25,34 @@ export default class HomeTab extends Component {
21 ] 25 ]
22 } 26 }
23 } 27 }
28 +
29 + get_diff_data(){
30 + return fetch('http://10.0.2.2:3000/app/get_diff_data/',{
31 + method:'POST',
32 + headers: {
33 + 'Accept': 'application/json',
34 + 'Content-Type': 'application/json',
35 + },
36 + body:JSON.stringify({
37 + ras_id : this.state.ID,
38 + date : this.state.today,
39 + }),
40 + })
41 + .then((response) => console.log(response.json()))
42 + .then((responseJson)=> {
43 + console.log(responseJson)
44 + },function(){
45 + })
46 + .catch((error) => {
47 + console.error(error);
48 + })
49 + }
50 +
24 render() { 51 render() {
25 return ( 52 return (
26 <View style={style.container}> 53 <View style={style.container}>
27 <View style={style.header}> 54 <View style={style.header}>
28 - <Text style={style.tabName}>Home</Text> 55 + <Text style={style.tabName}>Home {this.state.ID}</Text>
29 </View> 56 </View>
30 <View style={{flexDirection:'row',flex:0.8,backgroundColor: "rgba(230,230,230,0.5)"}}> 57 <View style={{flexDirection:'row',flex:0.8,backgroundColor: "rgba(230,230,230,0.5)"}}>
31 <View style={{flex:1,justifyContent:'center'}}> 58 <View style={{flex:1,justifyContent:'center'}}>
...@@ -38,7 +65,8 @@ export default class HomeTab extends Component { ...@@ -38,7 +65,8 @@ export default class HomeTab extends Component {
38 </View> 65 </View>
39 <View style={style.current_state}> 66 <View style={style.current_state}>
40 <Circle 67 <Circle
41 - title={"3.6"}> 68 + title={"3.6"}
69 + onPress={()=>{this.get_diff_data()}}>
42 </Circle> 70 </Circle>
43 </View> 71 </View>
44 <View style={style.waste_detail}> 72 <View style={style.waste_detail}>
......
...@@ -4,16 +4,40 @@ import AddButton from '../component/AddButton' ...@@ -4,16 +4,40 @@ import AddButton from '../component/AddButton'
4 4
5 var date = new Date(); 5 var date = new Date();
6 date.setHours(date.getHours()+9); 6 date.setHours(date.getHours()+9);
7 +date.setMonth(date.getMonth()+1);
7 8
8 export default class SettingTab extends Component { 9 export default class SettingTab extends Component {
9 10
10 constructor(props){ 11 constructor(props){
11 super(props); 12 super(props);
12 this.state = { 13 this.state = {
13 - ID : 'abcdefg1234' 14 + ID : 'pi1',
15 + user : 'user1'
14 } 16 }
15 } 17 }
16 18
19 + save_app_data(){
20 + return fetch('http://10.0.2.2:3000/app/save_data/',{
21 + method:'POST',
22 + headers: {
23 + 'Accept': 'application/json',
24 + 'Content-Type': 'application/json',
25 + },
26 + body:JSON.stringify({
27 + ras_id : this.state.ID,
28 + user_id : this.state.user,
29 + }),
30 + })
31 + .then((response) => console.log(response.json()))
32 + .then((responseJson)=> {
33 + console.log(responseJson)
34 + },function(){
35 + })
36 + .catch((error) => {
37 + console.error(error);
38 + })
39 + }
40 +
17 delete_id(){ 41 delete_id(){
18 this.setState({ID: ''}) 42 this.setState({ID: ''})
19 //기기연결 해제, 디비비우기 43 //기기연결 해제, 디비비우기
...@@ -54,8 +78,9 @@ export default class SettingTab extends Component { ...@@ -54,8 +78,9 @@ export default class SettingTab extends Component {
54 placeholder="New Rasberry ID" 78 placeholder="New Rasberry ID"
55 value={this.state.text} 79 value={this.state.text}
56 onChangeText={(text)=>this.setState({ID:text})}/> 80 onChangeText={(text)=>this.setState({ID:text})}/>
57 - <AddButton></AddButton>
58 </View> 81 </View>
82 + <AddButton
83 + onPress={()=>{this.save_app_data()}}/>
59 </View> 84 </View>
60 </View> 85 </View>
61 </View> 86 </View>
......