{"_id":"@adactive/arc-wayfindingcontrols-asia","_rev":"9-63c488d622aa4acd28de5032f8ba34d3","name":"@adactive/arc-wayfindingcontrols-asia","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@adactive/arc-wayfindingcontrols-asia","version":"1.0.0","keywords":["adsum","react","redux","screensaver"],"author":{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"},"license":"UNLISENCED","_id":"@adactive/arc-wayfindingcontrols-asia@1.0.0","maintainers":[{"name":"naei","email":"naei@protonmail.com"},{"name":"clientadactive","email":"support@adactive.com"},{"name":"moroine","email":"moroine.bentefrit@gmail.com"},{"name":"adactive-bot","email":"noreply@adactive.com"}],"homepage":"https://github.com/adactiveasia/adsum-react-components#readme","bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"dist":{"shasum":"0590ac112c9fd52997ca684fe935919b203541b9","tarball":"https://registry.npmjs.org/@adactive/arc-wayfindingcontrols-asia/-/arc-wayfindingcontrols-asia-1.0.0.tgz","fileCount":9,"integrity":"sha512-6C6q2e+v3qqnHKpxT2ZLdBsRPnHKGb+r58RRrAETXIIzAgXFppo3BZ3w4iuhpTd9O73tcu57zrvNlb2aGO1FHQ==","signatures":[{"sig":"MEYCIQC4f9tgCQVsfuPkQdER0ISqK5zwOoVHG08JnoTLqq0J7QIhALXPZfYPy883BRcRUdejH/znGnZ9ImwggvryV1m/VA3X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx7cqCRA9TVsSAnZWagAA5IsP/2dzXkNnRh4HkqNlBvyE\nNzI0sPWRSqbL+UwgLaxhXn6TxalRus7p8KjRDGmQLsUiuhs8qOragFhDYkEs\nWGs1LstAd0PEDyQv3AwyFGjVU9kIArquk+0bKYnhWUPYdYFmmzCrCH18tABG\nxOKFcgNoYdL7okP+dXLmuIJKwS6V1XS5u/zp8PwCrTsxlx92+LlwEBq1oLqY\n5gziuehuZhjDG4vqSappnPjA9UkevFigDbTEmFzCOny6AlXC97W+rt9DEXub\nQq9bF74ZynDav4asNKCqVZJ1hR22aje5beglCstdMgy6v+sU7T3GxDHRXA6c\nV+EHd6PdXdUqXQdu2y4AwvduamSrFwpRf7SNDxlm7MgIKyBF24O6UCQDXxJ+\npVF2vSO1xF+9zpmO9H2H9343XygyKkvd3xdWb8Z+CM5crGZILqdbAU7SKXIy\ncXAUM2hXSxKLhobnoORSiIFmC9vAu8e18O10ppfrQ9wzrSxw+I9rtQlHhPJO\nKQnN0uthRaVue9Wkh+J54Qrb58UONgNtL4Mt4rOBCnSeDGspB6V5zuFYwYze\nHsHUzXQq65GhdhzH5wfoFIKwdqPjLLqHM26SpudI5i4HyaXgSNLpkOxUbKxP\nATyAcjoTUX+mtBvdOoZEhh/K611xhvrcK+K6q+jj6+jCp2yGYFmSw9Fo9AHB\nwGbQ\r\n=Cx3V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7ab0b2fbd88be57a246385ca5758420dbbc27bad","scripts":{},"_npmUser":{"name":"clientadactive","email":"support@adactive.com"},"repository":{"url":"git://github.com/adactiveasia/adsum-react-components.git","type":"git"},"_npmVersion":"6.4.1","description":"Adsum Way Finding Controls Component","directories":{},"_nodeVersion":"8.15.1","dependencies":{"chalk":"^1.1.3","commander":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"peerDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-wayfindingcontrols-asia_1.0.0_1556592426117_0.33567682655215036","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@adactive/arc-wayfindingcontrols-asia","version":"1.0.1","keywords":["adsum","react","redux","screensaver"],"author":{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"},"license":"UNLISENCED","_id":"@adactive/arc-wayfindingcontrols-asia@1.0.1","maintainers":[{"name":"adactive-bot","email":"noreply@adactive.com"},{"name":"clientadactive","email":"support@adactive.com"},{"name":"moroine","email":"moroine.bentefrit@gmail.com"},{"name":"naei","email":"naei@protonmail.com"}],"homepage":"https://github.com/adactiveasia/adsum-react-components#readme","bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"dist":{"shasum":"ad08e633e0b4d37c2cd0390054eeeb2c174b9011","tarball":"https://registry.npmjs.org/@adactive/arc-wayfindingcontrols-asia/-/arc-wayfindingcontrols-asia-1.0.1.tgz","fileCount":9,"integrity":"sha512-CUNlTBQqHkgGUtO0F3mT1rnHHvsc0oz0MUb0INt/QW5fqGtyL4at9EnXlReRU5ZzXnkBonESb+Q+H4C/Fr/eLA==","signatures":[{"sig":"MEUCIQD503wTMmT47t+lkQEPwWRRI2JRkRCyfZu7m/Kqd6tc2wIgM5m+237H2mo4/dw8DugXOIb3KS1WpcW2aMdeLupW2BI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx/6tCRA9TVsSAnZWagAAKwMP/jGwvmMLTB8c7CAeVh9S\n6yYfHnZGWOmxrnx1pqMT8lgkACzeSrhUFLMy5syS5gCb2hFlWma114CBlg4y\nifG9ghGP++zzmfz3wvJgPdQd+agP1MYqAraBdyvCRCRf5ta8uelzrGdBYBWk\njJbEOZsymZ/1pnwwlzXKo4KSE1agTyx/31o5pCovAHJi4/uLBEFARSs7pCHl\n9OhJ8uuRBVpJGOIHbWcteyKoYx610DfJvEnoaLxdEZiWZo6nYj/IMxXrupca\nzBuq3ELE8mRfnTkEPPP7BLMUbE7mMs2ki5yKMwPzOMZ9UkHnTSxKXbbKSggK\nwqJ+uRb8xo303YYhh0iFvJuw8iuA+uKb/2r1HmwPZ8NIzVmZt6qbXGPZbmHq\nCJYRbMi39aBDtwAntdLJJpgUhcT3qG7YlM3RB1/hHowCs9BbPc+F2jKLGkg9\n44EcWLbw+hZ1sBH8YjzAuYVLsxqDAauynADdkshbb5xnYO36Ol67LHInkzCd\noQQ521AEH+ZzaEl4KNGTNJqsUpHng2K09AIsNo57z5GWAIs+LL1ZR9QPAzGY\nLsfbPvhTKZnkRW12C1MaxyGk1CNa0zEVu06OP8Nk88FtsDeKW1c22zTWOkli\nh6mRpEY0fwoiH2snskw1l6KJNnfRcolxkJQvwOJQ+XhSz1CXSq0iOCAQ6LmD\nHlk7\r\n=Qgj0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7ab0b2fbd88be57a246385ca5758420dbbc27bad","scripts":{},"_npmUser":{"name":"clientadactive","email":"support@adactive.com"},"repository":{"url":"git://github.com/adactiveasia/adsum-react-components.git","type":"git"},"_npmVersion":"6.4.1","description":"Adsum Way Finding Controls Component","directories":{},"_nodeVersion":"8.15.1","dependencies":{"chalk":"^1.1.3","commander":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"peerDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-wayfindingcontrols-asia_1.0.1_1556610733339_0.15477674691703291","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@adactive/arc-wayfindingcontrols-asia","version":"1.0.2","keywords":["adsum","react","redux","screensaver"],"author":{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"},"license":"UNLISENCED","_id":"@adactive/arc-wayfindingcontrols-asia@1.0.2","maintainers":[{"name":"adactive-bot","email":"noreply@adactive.com"},{"name":"clientadactive","email":"support@adactive.com"},{"name":"moroine","email":"moroine.bentefrit@gmail.com"},{"name":"naei","email":"naei@protonmail.com"}],"homepage":"https://github.com/adactiveasia/adsum-react-components#readme","bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"dist":{"shasum":"1c0d79f62554e35989dc3ad7f3a56b6d6ae1d4b5","tarball":"https://registry.npmjs.org/@adactive/arc-wayfindingcontrols-asia/-/arc-wayfindingcontrols-asia-1.0.2.tgz","fileCount":9,"integrity":"sha512-h0X0J3eZmtECyhFPEH6oAotRjQwZgu8/u3qNuHaRMRb4FFDxwCQQcOSDbhKOVGYb6WkSgGCmpzBcPLVTSDdkkQ==","signatures":[{"sig":"MEUCIHD7y6moHp5UUfHa98UxuMUh95+YlFqAnh0nZUuhEqRfAiEA4GG5BBNQ94Uwl4GbDP1wcR9jjYJaQSrbRZ+P+D/SHmg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyAmqCRA9TVsSAnZWagAAETIP/2306VPMfPtqkZMTenJV\nRDpO+HCnY48w0TZ2RMHkLRkrsVJFreFjJtfDWc/K/ra2X2kKR0Wx+Jz1m9ZE\nAM+xhGoRQaU0rShSfSgeP1B5/kIbNUC27nc0+7qusCNe4Cv2eBqle4JB/P6c\nkr4XXUK24kcKkmn08cQi+5QXKQLTlbzdLe8tIc4o8+H2ZmciXY1skbee3665\nd97wy8XO2WlESKw6+hl5wQ70cC5hwOIN6IwfxaTMEqQoesPL0jP69tYh8sqW\ndtcG68nPQ54frQ3RyM8SDUa7vjf6suJZq8lEOREpj1NwSMdw1v/woyfLhzMy\nsv4mMZXLHfl7THF58REQEQGLKpU0k54FMrraKcm49w6mGLcqs5Wq7LwvY786\nW8+5eeixBIaKB8icEjG3ir/2+ztwA1VpEk6VaYazg6ibBERqLirqU+xehSdt\nA/NyMP6OdvKaiMeRDDvt2CvCwil19bxS64qpFASJcGwP0yuh3s6F+lhCbdIk\nAaQdDOLkjdC4SLWw04Il4LNa3YqLflI0DokifOMjMdIFm1VJtGxkbRLT0dxI\nAlMrUfSyCIsps/1k2b3TvotAwwFeNsA/+IoutTA3vl/46E1sia7sIpIHVgMj\nLE9RM9aoz36k9RSva/rZ5bpWM1UqjzlEZtPsYfQKd+Zze+4EtbmVGct6D7tk\nojaZ\r\n=FL3d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7ab0b2fbd88be57a246385ca5758420dbbc27bad","scripts":{},"_npmUser":{"name":"clientadactive","email":"support@adactive.com"},"repository":{"url":"git://github.com/adactiveasia/adsum-react-components.git","type":"git"},"_npmVersion":"6.4.1","description":"Adsum Way Finding Controls Component","directories":{},"_nodeVersion":"8.15.1","dependencies":{"chalk":"^1.1.3","commander":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"peerDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-wayfindingcontrols-asia_1.0.2_1556613543436_0.5966481034068036","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@adactive/arc-wayfindingcontrols-asia","version":"1.0.3","keywords":["adsum","react","redux","screensaver"],"author":{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"},"license":"UNLISENCED","_id":"@adactive/arc-wayfindingcontrols-asia@1.0.3","maintainers":[{"name":"adactive-bot","email":"noreply@adactive.com"},{"name":"clientadactive","email":"support@adactive.com"},{"name":"moroine","email":"moroine.bentefrit@gmail.com"},{"name":"naei","email":"naei@protonmail.com"}],"homepage":"https://github.com/adactiveasia/adsum-react-components#readme","bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"dist":{"shasum":"ba1b0896209b4db203e9513422474196ce7bfcce","tarball":"https://registry.npmjs.org/@adactive/arc-wayfindingcontrols-asia/-/arc-wayfindingcontrols-asia-1.0.3.tgz","fileCount":9,"integrity":"sha512-rfD9RdGPVdliG2lT749DRkZWjtfdXe532SjWcbfXfCKeQN9fsGZpD/RI/DB0e96d4zsSqXRlMASVkVxvbtEKVw==","signatures":[{"sig":"MEUCIHm1tIhbU+P2gu5MZFddVUvwwBFWzqjhJwQniotzlyIXAiEA9xLt0qiPizqIedqIuyyO8J+6pWO3LWWMacV2YYXr0gE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcz8hRCRA9TVsSAnZWagAAMBgQAJ8PNj/7Qt1s8z/0U4gI\nCkPrJRM0ii/4PrsE4GKz19A/f8TD5WNr2Wb5KzWiVlKqxgDUG96AHeVQL6bh\nZLkBmhU6kEZX0Z8uzwwpiDbifEiVuxbTeC9CjV1rzcb4SPNzX/P31yBU67qL\noitHfX2JuSFzS6NvlrxVssSlZCFu2qOA7zFWj6kLnD72A76NBY1jsLHFE+5O\nrg/hPFEKetCYuEY8Xt2bLnDwusFQY4BrY70sATOa5NyQPQBkH8Rb4m8WEQjA\nfFpxkO2jzuZIB9WP1Mv/3x0XFdwPere+mu/Wj6UV0HKrAXqFLIR1uhBMODvp\nA0+gKGKi2o9AmBpyFIO+r3rIIs8Z4H8xt1YOcdBX78QIAuLvKondj7Y2dbVv\n/u+u3F4qlL5qsT4UAj6Tb3ZaCtZ0HQMAPv4h2ktYUDkgGrWAC7EeyYfisF0W\npsWre5338nw6LyjtoKiMXGgZwVys/EaWLM16PkNOHLf57bsIallVFj2y5lyg\nAEDhALEwnNCeUdOAP7JotZ6rk6eROarKxk+Rhnz3WjhH4Fj7KuR8Lk39Flyx\nTC1J49sf+vE1bfdRHVC52dxxhFONP1+SrwkXDFCVSEn7SKEkXm+pIdwOocTf\neKbNfPb1hOlPJfy4t0UaPuvu8cmk8glVkptfi91NIVcVqtmV8bEeeMhQvyh0\nFWLz\r\n=mQl7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7ab0b2fbd88be57a246385ca5758420dbbc27bad","scripts":{},"_npmUser":{"name":"clientadactive","email":"support@adactive.com"},"repository":{"url":"git://github.com/adactiveasia/adsum-react-components.git","type":"git"},"_npmVersion":"6.4.1","description":"Adsum Way Finding Controls Component","directories":{},"_nodeVersion":"8.16.0","dependencies":{"chalk":"^1.1.3","commander":"^2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"peerDependencies":{"react":"^16.3.2","redux-saga":"^0.16.0","react-redux":"^5.0.7"},"_npmOperationalInternal":{"tmp":"tmp/arc-wayfindingcontrols-asia_1.0.3_1557121104370_0.524610588441478","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-30T02:47:06.029Z","modified":"2025-12-18T09:12:32.597Z","1.0.0":"2019-04-30T02:47:06.254Z","1.0.1":"2019-04-30T07:52:13.474Z","1.0.2":"2019-04-30T08:39:04.377Z","1.0.3":"2019-05-06T05:38:24.483Z"},"bugs":{"url":"https://github.com/adactiveasia/adsum-react-components.git/issues"},"author":{"name":"Erlanda Zakaria","email":"erlandazakaria@gmail.com"},"license":"UNLISENCED","homepage":"https://github.com/adactiveasia/adsum-react-components#readme","keywords":["adsum","react","redux","screensaver"],"repository":{"url":"git://github.com/adactiveasia/adsum-react-components.git","type":"git"},"description":"Adsum Way Finding Controls Component","maintainers":[{"email":"dev+npm-clientadactive@adactive.com","name":"clientadactive"},{"email":"dev+npm-adactive-bot@adactive.com","name":"adactive-bot"},{"email":"naei@protonmail.com","name":"naei"},{"email":"nicolas.belouis@adactive.com","name":"nbelouis"}],"readme":"# Carousel component\n\n![image](https://user-images.githubusercontent.com/5297278/40351912-38f849c8-5db6-11e8-8690-8198ca33bad4.pnghttps://user-images.githubusercontent.com/5297278/40352018-82424548-5db6-11e8-838b-a0b4e64bc921.png)\n\n## Getting started\n\n1. Install this component using\n    yarn add @adactive/adsum-wayfindingcontrols-asia\n2. Setting Redux Reducers\n    typically located on your_project_folder/src/rootReducer.js\n    - import the reducer :\n    ```javascript\n    import { WayFindingControlsReducers } from '@adactive/adsum-wayfindingcontrols-asia';\n    ```\n    - add WayFindingControlsReducers on your root reducer, for example:\n    ```javascript\n    const appState: AppStateType = {\n        routing: routerReducer,\n        map,\n        loadingScreen,\n        WayFindingControls: WayFindingControlsReducers\n    };\n    ```\n    \n3. Setting Redux Actions in your Apps\n    First thing to do is to import the action to file which you need the actions, for example app.js\n    ```javascript\n    import { WayFindingControlsActions } from '@adactive/adsum-wayfindingcontrols-asia';\n    ```\n\n    There is 2 redux prop actions that this component have:\n    - Action to go to Shop \n    ```javascript\n    (WayFindingControlsActions.tmtt(poi, poiPlace))\n    ```\n    - Action to reset map and Wayfinding)\n    ```javascript\n    (resetMapAndWayFinding(true, true, true, true);)\n    ```\n\n    **there are 4 parameter in resetMapAndWayFinding**\n    1. reset: needed to activate the resetMapAndWayFinding itself\n    2. resetMap: needed if you want to resetMap\n    3. resetMapOption: option to make the resetMap animated or not\n    4. resetWayfinding: needed if you want to clear label and wayfinding path\n\n    Put these to actions on the **mapDispatchToProps**  \n    For Example:\n    ```javascript\n    const mapDispatchToProps = (dispatch: *): MappedDispatchPropsType => ({\n        tmtt: (poi, poiPlace) => {\n            WayFindingControlsActions.tmtt(poi, poiPlace));\n        },\n        resetMapAndWayFinding: (reset, resetMap, resetMapAnimatedOption, resetWayfinding) => {\n        dispatch(WayFindingControlsActions.resetMapAndWayFinding(\n            reset,\n            resetMap,\n            resetMapAnimatedOption, \n            resetWayfinding\n            ));\n        },\n    });\n    ```\n\n4. Attach Wayfinding Component inside your Map Component\n    for example:\n    \n    ```javascript\n    <Map\n            backgroundImage={MapBackground}\n            store={store}\n            awm={this.awm}\n            isOpen={this.isMapOpen()}\n            className=\"app-map-container\"\n            onClick={this.onMapClicked}\n            userObjectLabel={this.userObjectLabel}\n            getDrawPathSectionOptions={this.getDrawPathSectionOptions}\n            zoom={{\n                min: 20,\n                max: 600,\n            }}\n        >\n            <WayFindingControls\n                awm={this.awm}\n                kioskPlace={currentFloorFull}\n            />\n            <div id=\"adsum-web-map-container\" ref={this.awmContainerRef}>\n                <MapControls awm={this.awm} />\n            </div>\n    </Map>\n```\n\n###Props\n\n    **This WayFinding Required TWO PROPS which are awm and kioskPlace**\n\n    awm is AdsumWebMap\n\n    kioskPlace is \n\n    ```javascript\n        getCurrentFloorFull() {\n            return this.awm.defaultFloor;\n        }\n    ```\n\n    **If you want to take the POI destination or destination floor name u can get it on:**\n    set connect and mapStateToProps\n    ```javascript\n        import { connect } from 'react-redux';\n        const mapStateToProps = (state: AppStateType): MappedStatePropsType => ({\n            wayFindingControlsState: state.wayFindingControls,\n        });\n    ```\n    then call it on \n    ```javascript\n        const { wayFindingControlsState } = this.props;\n        {wayFindingControlsState\n                && wayFindingControlsState.placeDestination \n                && wayFindingControlsState.placeDestination.name\n                && `Your Destination is at \n                ${wayFindingControlsState.placeDestination.name.replace('_', ' ')}`}\n    ```\n    or get the POI destination\n    ```javascript\n        const { wayFindingControlsState } = this.props;\n        wayFindingControlsState.destination[0]\n    ```\n\n# Props Detail\n \n```javascript\n    type OwnPropsType = {|\n    //props needed when call this component\n    awm: *,\n    kioskPlace: object,\n    //optional props\n    destinationLabelText: string,\n    icLabelText: string,\n|};\n\nstatic defaultProps = {\n        destinationLabelText: \"You reached \",\n        icLabelText: \"Head \",\n    }\n```\n***You can Edit sentence to use \n\n## Copy component inside your project src folder  \n\n### Less only\n    `npx @adactive/adsum-wayfindingcontrols copy --less-only`\n    \n### Full copy\n    `npx @adactive/adsum-wayfindingcontrols copy`\n","readmeFilename":"README.md"}