How to use assets method in argos

Best JavaScript code snippet using argos

LocationDetail_Data.js

Source:LocationDetail_Data.js Github

copy

Full Screen

1export const LocationDetail_Data =[2 3 {4 id: 1,5 image:require('../assets/ls10.jpg'),6 image2:require('../assets/ls11.jpg'),7 image3:require('../assets/ls12.jpg'),8 image4:require('../assets/ls13.jpg'),9 title: 'Đà Lạt, Lâm Đồng',10 time: '(5 ngày)',11 location: require('../assets/location.png'),12 des: 'Việt Nam',13 avatar: require('../assets/nam.jpg'),14 name: 'Phương Nam',15 timmer: '10 giờ trước',16 share: require('../assets/share.png'),17 tym: require('../assets/tym.png'),18 tym2: require('../assets/tym2.png'),19 },20 {21 id: 2,22 image:require('../assets/m9.jpg'),23 image2:require('../assets/m10.jpg'),24 image3:require('../assets/m11.jpg'),25 image4:require('../assets/m13.jpg'),26 title: 'Thạch Thất, Hà Nội',27 time: '(5 ngày)',28 location: require('../assets/location.png'),29 des: 'Việt Nam',30 avatar: require('../assets/trang.jpg'),31 name: 'Huyền Trang',32 timmer: '10 giờ trước',33 share: require('../assets/share.png'),34 tym: require('../assets/tym.png'),35 tym2: require('../assets/tym2.png'),36 },37 {38 id: 3,39 image:require('../assets/lc.png'),40 image2:require('../assets/lc1.png'),41 image3:require('../assets/lc2.png'),42 image4:require('../assets/lc3.png'),43 title: 'Ba Vì, Hà Nội',44 time: '(5 ngày)',45 location: require('../assets/location.png'),46 des: 'Việt Nam',47 avatar: require('../assets/hung.jpg'),48 name: 'Quốc Hùng',49 timmer: '10 giờ trước',50 share: require('../assets/share.png'),51 tym: require('../assets/tym.png'),52 tym2: require('../assets/tym2.png'),53 },54 {55 id: 4,56 image:require('../assets/ls5.jpg'),57 image2:require('../assets/ls6.jpg'),58 image3:require('../assets/ls7.jpg'),59 image4:require('../assets/ls8.jpg'),60 title: 'Phú Quốc, Kiên Giang',61 time: '(5 ngày)',62 location: require('../assets/location.png'),63 des: 'Việt Nam',64 avatar: require('../assets/trang1.jpg'),65 name: 'Nguyễn Trang',66 timmer: '10 giờ trước',67 share: require('../assets/share.png'),68 tym: require('../assets/tym.png'),69 tym2: require('../assets/tym2.png'),70 },71]72//chọn lịch trình73export const SelectScheduleData = [74 {75 id: 1,76 image: require('../assets/ta.jpg'),77 image2: require('../assets/ta1.jpg'),78 image3: require('../assets/ta2.jpg'),79 image4: require('../assets/ta3.jpg'),80 r:require('../assets/r.png'),81 title: 'Đà Lạt, Lâm Đồng',82 time: '(5 ngày)',83 location: require('../assets/location.png'),84 des: 'Việt Nam',85 avatar: require('../assets/nam.jpg'),86 name: 'Phương Nam',87 timmer: '10 giờ trước',88 share: require('../assets/share.png'),89 tym: require('../assets/tym.png'),90 tym2:require('../assets/tym2.png')91 },92 {93 id: 2,94 image: require('../assets/nq1.jpg'),95 image2: require('../assets/nq.jpg'),96 image3: require('../assets/nq2.jpg'),97 image4: require('../assets/nq3.jpg'),98 r:require('../assets/r.png'),99 title: 'Đà Lạt, Lâm Đồng',100 time: '(5 ngày)',101 location: require('../assets/location.png'),102 des: 'Việt Nam',103 avatar: require('../assets/trang.jpg'),104 name: 'Huyền Trang',105 timmer: '10 giờ trước',106 share: require('../assets/share.png'),107 tym: require('../assets/tym.png'),108 tym2:require('../assets/tym2.png')109 },110 {111 id: 3,112 image: require('../assets/mcc1.jpg'),113 image2: require('../assets/mcc2.jpg'),114 image3: require('../assets/mcc3.jpg'),115 image4: require('../assets/mcc.jpg'),116 r:require('../assets/r.png'),117 title: 'Đà Lạt, Lâm Đồng',118 time: '(5 ngày)',119 location: require('../assets/location.png'),120 des: 'Việt Nam',121 avatar: require('../assets/hung.jpg'),122 name: 'Quốc Hùng',123 timmer: '10 giờ trước',124 share: require('../assets/share.png'),125 tym: require('../assets/tym.png'),126 tym2:require('../assets/tym2.png')127 },128 {129 id: 4,130 image: require('../assets/deo.jpg'),131 image2: require('../assets/deo1.jpg'),132 image3: require('../assets/deo2.jpg'),133 image4: require('../assets/deo3.jpg'),134 r:require('../assets/r.png'),135 title: 'Đà Lạt, Lâm Đồng',136 time: '(5 ngày)',137 location: require('../assets/location.png'),138 des: 'Việt Nam',139 avatar: require('../assets/trang1.jpg'),140 name: 'Nguyễn Trang',141 timmer: '10 giờ trước',142 share: require('../assets/share.png'),143 tym: require('../assets/tym.png'),144 tym2:require('../assets/tym2.png')145 },146]147export const LocationDetail_Data1 =[148 149 {150 id: 1,151 image:require('../assets/ls1.jpg'),152 image2:require('../assets/ls2.jpg'),153 image3:require('../assets/ls3.jpg'),154 image4:require('../assets/ls4.jpg'),155 title: 'Đà Lạt, Lâm Đồng',156 time: '(5 ngày)',157 location: require('../assets/location.png'),158 des: 'Việt Nam',159 avatar: require('../assets/nam.jpg'),160 name: 'Phương Nam',161 timmer: '10 giờ trước',162 share: require('../assets/share.png'),163 tym: require('../assets/tym.png'),164 tym2: require('../assets/tym2.png'),165 },166 {167 id: 2,168 image:require('../assets/lc.png'),169 image2:require('../assets/lc1.png'),170 image3:require('../assets/lc2.png'),171 image4:require('../assets/lc3.png'),172 title: 'Thạch Thất, Hà Nội',173 time: '(5 ngày)',174 location: require('../assets/location.png'),175 des: 'Việt Nam',176 avatar: require('../assets/trang.jpg'),177 name: 'Huyền Trang',178 timmer: '10 giờ trước',179 share: require('../assets/share.png'),180 tym: require('../assets/tym.png'),181 tym2: require('../assets/tym2.png'),182 },183 {184 id: 3,185 image:require('../assets/lc.png'),186 image2:require('../assets/lc1.png'),187 image3:require('../assets/lc2.png'),188 image4:require('../assets/lc3.png'),189 title: 'Ba Vì, Hà Nội',190 time: '(5 ngày)',191 location: require('../assets/location.png'),192 des: 'Việt Nam',193 avatar: require('../assets/hung.jpg'),194 name: 'Quốc Hùng',195 timmer: '10 giờ trước',196 share: require('../assets/share.png'),197 tym: require('../assets/tym.png'),198 tym2: require('../assets/tym2.png'),199 },200 {201 id: 4,202 image:require('../assets/lc.png'),203 image2:require('../assets/lc1.png'),204 image3:require('../assets/lc2.png'),205 image4:require('../assets/lc3.png'),206 title: 'Phú Quốc, Kiên Giang',207 time: '(5 ngày)',208 location: require('../assets/location.png'),209 des: 'Việt Nam',210 avatar: require('../assets/trang1.jpg'),211 name: 'Nguyễn Trang',212 timmer: '10 giờ trước',213 share: require('../assets/share.png'),214 tym: require('../assets/tym.png'),215 tym2: require('../assets/tym2.png'),216 },217]218export const LocationDetail_Data2 =[219 {220 id:1,221 image1:require('../assets/ls14.jpg'),222 image2:require('../assets/ls15.jpg'),223 image3:require('../assets/ls16.jpg'),224 image4:require('../assets/ls17.jpg'),225 title:'Lý Sơn,Quảng Ngãi',226 time:'5 ngày',227 location:require('../assets/location.png'),228 locationDes :'Việt Nam',229 avatar:require('../assets/avatar.jpg'),230 timeout:'10 giờ trước',231 price:'4,500,00 đ/người'232 },233 {234 id:2,235 image1:require('../assets/lc.png'),236 image2:require('../assets/lc1.png'),237 image3:require('../assets/lc2.png'),238 image4:require('../assets/lc3.png'),239 title:'Lý Sơn,Quảng Ngãi',240 time:'5 ngày',241 location:require('../assets/location.png'),242 locationDes :'Việt Nam',243 avatar:require('../assets/avatar.jpg'),244 timeout:'10 giờ trước',245 price:'4,500,00 đ/người'246 },247 {248 id:3,249 image1:require('../assets/lc.png'),250 image2:require('../assets/lc1.png'),251 image3:require('../assets/lc2.png'),252 image4:require('../assets/lc3.png'),253 title:'Lý Sơn,Quảng Ngãi',254 time:'5 ngày',255 location:require('../assets/location.png'),256 locationDes :'Việt Nam',257 avatar:require('../assets/avatar.jpg'),258 timeout:'10 giờ trước',259 price:'4,500,00 đ/người'260 },261 {262 id:4,263 image1:require('../assets/lc.png'),264 image2:require('../assets/lc1.png'),265 image3:require('../assets/lc2.png'),266 image4:require('../assets/lc3.png'),267 title:'Lý Sơn,Quảng Ngãi',268 time:'5 ngày',269 location:require('../assets/location.png'),270 locationDes :'Việt Nam',271 avatar:require('../assets/avatar.jpg'),272 timeout:'10 giờ trước',273 price:'4,500,00 đ/người'274 },275]276export const LocationDetail_Data3 =[277 {278 id:1,279 image1:require('../assets/lc.png'),280 image2:require('../assets/lc1.png'),281 image3:require('../assets/lc2.png'),282 image4:require('../assets/lc3.png'),283 title:'Lý Sơn,Quảng Ngãi',284 time:'5 ngày',285 location:require('../assets/location.png'),286 locationDes :'Việt Nam',287 avatar:require('../assets/avatar.jpg'),288 timeout:'10 giờ trước',289 price:'4,500,00 đ/người'290 },291 {292 id:2,293 image1:require('../assets/lc.png'),294 image2:require('../assets/lc1.png'),295 image3:require('../assets/lc2.png'),296 image4:require('../assets/lc3.png'),297 title:'Lý Sơn,Quảng Ngãi',298 time:'5 ngày',299 location:require('../assets/location.png'),300 locationDes :'Việt Nam',301 avatar:require('../assets/avatar.jpg'),302 timeout:'10 giờ trước',303 price:'4,500,00 đ/người'304 },305 {306 id:3,307 image1:require('../assets/lc.png'),308 image2:require('../assets/lc1.png'),309 image3:require('../assets/lc2.png'),310 image4:require('../assets/lc3.png'),311 title:'Lý Sơn,Quảng Ngãi',312 time:'5 ngày',313 location:require('../assets/location.png'),314 locationDes :'Việt Nam',315 avatar:require('../assets/avatar.jpg'),316 timeout:'10 giờ trước',317 price:'4,500,00 đ/người'318 },319 {320 id:4,321 image1:require('../assets/lc.png'),322 image2:require('../assets/lc1.png'),323 image3:require('../assets/lc2.png'),324 image4:require('../assets/lc3.png'),325 title:'Lý Sơn,Quảng Ngãi',326 time:'5 ngày',327 location:require('../assets/location.png'),328 locationDes :'Việt Nam',329 avatar:require('../assets/avatar.jpg'),330 timeout:'10 giờ trước',331 price:'4,500,00 đ/người'332 },...

Full Screen

Full Screen

dark.js

Source:dark.js Github

copy

Full Screen

1import flatten from 'flat';2const options = { safe: true, delimiter: '_' };3const nestedIcons = {4 EXCHANGE: {5 LOGO: '',6 FAV_ICON: '/favicon.ico',7 LOADER: '/assets/dark-spinner.gif',8 BOARDING_IMAGE: '/assets/dark-background.jpg',9 LANDING_PAGE: '/assets/images/hollaex-background.png',10 },11 TRADE: {12 HISTORY: '/assets/images/trade-history.svg',13 },14 QUICK_TRADE: {15 ICON: '/assets/images/quick-trade.svg',16 TAB_ACTIVE: '/assets/images/quick-trade-tab-active.svg',17 INSUFFICIENT_FUND: '/assets/icons/quick-trade-insufficient-funds.svg',18 SUCCESSFUL: '/assets/icons/quick-trade-success-coin-pile.svg',19 },20 GENDER: {21 FEMALE: '/assets/acounts/account-icons-10.svg',22 MALE: '/assets/acounts/account-icons-11.svg',23 },24 THEME: {25 MOON: '/assets/icons/moon-theme.svg',26 SUN: '/assets/icons/sun-theme.svg',27 },28 TAB: {29 PLUS: '/assets/images/tab-plus.svg',30 SUMMARY: '/assets/images/tab-summary.svg',31 HISTORY: '/assets/images/tab-history.svg',32 WALLET: '/assets/images/tab-wallet.svg',33 SECURITY: '/assets/images/tab-security.svg',34 VERIFY: '/assets/images/tab-verify.svg',35 SETTING: '/assets/images/tab-setting.svg',36 API: '/assets/images/tab-api.svg',37 STAKE: '/assets/images/stake-page-icon.svg',38 },39 TOKEN: {40 TOKENS_INACTIVE: '/assets/images/dev-icon.svg',41 TOKENS_ACTIVE: '/assets/images/dev-icon.svg',42 REVOKED: '/assets/images/api-key-revoked.svg',43 ACTIVE: '/assets/images/api-key-active.svg',44 TRASHED: '/assets/images/api-key-trashed.svg',45 GENERATE: '/assets/images/api-key-generate.svg',46 CREATED: '/assets/images/api-key-created.svg',47 },48 VERIFICATION: {49 WARNING: '/assets/images/astrics.svg',50 SUCCESS: '/assets/images/success-check-box.svg',51 DOC_STATUS: '/assets/images/verification-doc-status.svg',52 EMAIL_NEW: '/assets/images/verification-email.svg',53 PHONE_NEW: '/assets/images/verification-phone.svg',54 ID_NEW: '/assets/images/verification-id.svg',55 BANK_NEW: '/assets/images/verification-bank.svg',56 DOCUMENT_NEW: '/assets/images/verification-document.svg',57 },58 SETTING: {59 NOTIFICATION_ICON: '/assets/images/notification-settings-icon.svg',60 INTERFACE_ICON: '/assets/images/interface-settings-icon.svg',61 LANGUAGE_ICON: '/assets/images/language-settings-icon.svg',62 CHAT_ICON: '/assets/images/chat-settings-icon.svg',63 AUDIO_ICON: '/assets/images/audio-settings-icon.svg',64 RISK_ICON: '/assets/images/risk-settings-icon.svg',65 RISK_ADJUST_ICON: '/assets/images/risk-management-pop-adjust.svg',66 RISK_MANAGE_WARNING_ICON: '/assets/images/risk-manage-pop-warning.svg',67 },68 SECURITY: {69 OTP_ICON: '/assets/images/2fa-security-icon.svg',70 CHANGE_PASSWORD_ICON: '/assets/images/password-security-icon.svg',71 API_ICON: '/assets/images/api-security-icon.svg',72 },73 LEVEL_ACCOUNT: {74 ICON_1: '/assets/images/level-1.svg',75 ICON_2: '/assets/images/level-2.svg',76 ICON_3: '/assets/images/level-3.svg',77 ICON_4: '/assets/images/level-4.svg',78 ICON_5: '/assets/images/level-5.svg',79 ICON_6: '/assets/images/level-6.svg',80 ICON_7: '/assets/images/level-7.svg',81 ICON_8: '/assets/images/level-8.svg',82 ICON_9: '/assets/images/level-9.svg',83 ICON_10: '/assets/images/level-10.svg',84 },85 SOCIAL: {86 FACEBOOK: '/assets/icons/facebook.png',87 LINKEDIN: '/assets/icons/linkedin.png',88 TWITTER: '/assets/icons/twitter.png',89 INSTAGRAM: '/assets/icons/instagram.svg',90 TELEGRAM: '/assets/icons/telegram.png',91 GOOGLE: '/assets/icons/google.png',92 YOUTUBE: '/assets/icons/youtube.png',93 },94 SUMMARY: {95 LEVEL_1: '/assets/summary/level-1-dark.png',96 LEVEL_2: '/assets/summary/level-2-dark.png',97 LEVEL_3: '/assets/summary/level-3-dark.png',98 LEVEL_4: '/assets/summary/level-4-dark.png',99 },100 ARROW: {101 UP: '/assets/images/buy-trade.svg',102 DOWN: '/assets/images/sell-trade.svg',103 ARROW: '/assets/images/arrow-down.svg',104 },105 DEMO_LOGIN_ICON: '/assets/icons/demo-login-icon-dark.svg',106 CANCEL_WITHDRAW: '/assets/icons/cancel-withdraw-dark-02-03.svg',107 CONTACT_US_ICON: '/assets/acounts/help-contact-us-01.svg',108 QUESTION_MARK: '/assets/icons/question-mark-black.svg',109 LAPTOP: '/assets/icons/compute-play-black.svg',110 TELEGRAM: '/assets/icons/telegram-black.svg',111 OTP_ACTIVE: '/assets/icons/2fa-active.svg',112 OTP_DEACTIVATED: '/assets/icons/2fa-deactivated.svg',113 CHECK: '/assets/images/dark-Orderbook-scrolling-01.svg',114 BLUE_QUESTION: '/assets/acounts/account-icons-08.svg',115 RED_WARNING: '/assets/acounts/account-icons-09.svg',116 RED_ARROW: '/assets/acounts/account-icons-16.svg',117 BLUE_CLIP: '/assets/acounts/account-icons-17.svg',118 BLACK_CHECK: '/assets/acounts/account-icons-19.svg',119 UNDEFINED_ERROR: '/assets/acounts/unknown-error-icon-01.svg',120 OTP_KEYS: '/assets/acounts/account-icons-29.svg',121 GREEN_CHECK: '/assets/acounts/account-icons-23.svg',122 LETTER: '/assets/acounts/account-icons-24.svg',123 OTP_CODE: '/assets/acounts/account-icons-28.svg',124 EMAIL_CODE: '/assets/icons/send-email-code.svg',125 COPY_NEW: '/assets/images/copy.svg',126 COPY_NOTIFICATION: '/assets/images/copy-icon-snack-notification.svg',127 ACCOUNT_LINE: '/assets/images/account.svg',128 ACCOUNT_RECOVERY: '/assets/images/account-recovery.svg',129 BITCOIN_WALLET: '/assets/images/bitcoin-wallet.svg',130 CHECK_SENDING_BITCOIN: '/assets/images/check-sending-bitcoin.svg',131 DATA: '/assets/images/data.svg',132 DEPOSIT_BITCOIN: '/assets/images/deposit-bitcoin-dark-theme.svg',133 DEPOSIT_HISTORY: '/assets/images/deposit-history.svg',134 DEPOSIT_RECEIVED_BITCOIN: '/assets/images/deposit-received-bitcoin.svg',135 EMAIL_SENT: '/assets/images/email-sent.svg',136 DEPOSIT_BASE_COIN_COMPLETE: '/assets/images/fiat-deposit-completed.svg',137 GEAR_GREY: '/assets/images/gear-grey.svg',138 ID_GREY: '/assets/images/id-grey.svg',139 INCOMING_BTC: '/assets/images/incoming-btc.svg',140 INCOMING_COIN: '/assets/images/incoming-coin.svg',141 PASSWORD_RESET: '/assets/images/password-reset.svg',142 SECURE: '/assets/images/secure.svg',143 SECURITY_GREY: '/assets/images/security-grey.svg',144 SET_NEW_PASSWORD: '/assets/images/set-new-password.svg',145 SUCCESS_BLACK: '/assets/images/success-black.svg',146 TRANSACTION_HISTORY: '/assets/images/transaction-history.svg',147 VERIFICATION_SENT: '/assets/images/resend-email.svg',148 WITHDRAW: '/assets/images/withdraw.svg',149 WITHDRAW_HISTORY: '/assets/images/withdraw-history.svg',150 BLUE_ARROW_LEFT: '/assets/images/blue-arrow-left.svg',151 BLUE_ARROW_RIGHT: '/assets/images/blue-arrow-right.svg',152 SESSION_TIMED_OUT: '/assets/images/session-timed-out.svg',153 BLUE_EDIT: '/assets/images/blue-edit-exir-icon.svg',154 BLUE_PLUS: '/assets/images/max-plus-blue-icon.svg',155 BLUE_TIMER: '/assets/images/timer-icon.svg',156 NOTIFICATION_VERIFICATION_WARNING: '/assets/images/verification.svg',157 COIN_WITHDRAW_BTC: '/assets/images/coin-withdraw-btc.svg',158 LOGOUT_DOOR_INACTIVE: '/assets/images/logout-door-inactive.svg',159 CANCEL_CROSS_ACTIVE: '/assets/images/cancel-cross-active.svg',160 SIDEBAR_WALLET_ACTIVE: '/assets/images/wallet-selected.svg',161 SIDEBAR_ACCOUNT_ACTIVE: '/assets/images/account_2-active.svg',162 SIDEBAR_ACCOUNT_INACTIVE: '/assets/images/account_2-inactive.svg',163 SIDEBAR_POST_ACTIVE: '/assets/images/post-active.svg',164 SIDEBAR_TRADING_ACTIVE: '/assets/images/trade-active.svg',165 SIDEBAR_QUICK_TRADING_ACTIVE:166 '/assets/images/quick-trade-tab-selected-01.svg',167 SIDEBAR_QUICK_TRADING_INACTIVE: '/assets/images/quick-trade-tab-01-01.svg',168 SIDEBAR_ADMIN_DASH_ACTIVE: '/assets/images/admin-dash-icon.svg',169 ARROW_TRANSFER_HISTORY_ACTIVE: '/assets/images/arrow-trans-history.svg',170 CHECK_ORDER: '/assets/images/check-order-popup-01.svg',171 ITEM_OPTIONS: '/assets/images/item-options.svg',172 CHAT: '/assets/images/chat-icon.svg',173 WITHDRAW_MAIL_CONFIRMATION: '/assets/images/withdraw-mail-confirmation.svg',174 CLOSE_CROSS: '/assets/images/close-cross-tab.svg',175 TRADE_FILLED_SUCESSFUL: '/assets/images/Orderbook scrolling-01.svg',176 TRADE_PARTIALLY_FILLED: '/assets/images/part-fill.svg',177 TAB_SIGNOUT: '/assets/images/signout.svg',178 PENDING_TIMER: '/assets/images/pending-timer.svg',179 VOLUME_PENDING: '/assets/images/volume-pending-icon.svg',180 SELF_KYC_ID_EN: '/assets/self-kyc-id-note-english.png',181 NOTE_KYC: '/assets/images/note-KYC.svg',182 SIDEBAR_HELP: '/assets/images/help-question-mark-icon.svg',183 CONNECT_LOADING: '/assets/images/connect-loading.svg',184 REFER_ICON: '/assets/images/refer-icon.svg',185 STAKETOKEN_ICON: '/assets/images/stake.svg',186 DEFAULT_ICON: '/assets/icons/missing-coin-light.svg',187 EXPIRED_ICON: '/assets/images/expired.svg',188 HAP_ACCOUNT_ICON: '/assets/icons/hap-account-icon.svg',189 ACCOUNT_SUMMARY: '/assets/icons/account-icon-summary.svg',190 XHT_COIN_STACK: '/assets/images/XHT-coin-stack.svg',191 XHT_DOCS: '/assets/images/XHT-docs.svg',192 XHT_WAVES: '/assets/images/wave-icon.svg',193 XHT_EMAIL: '/assets/images/XHT-email.svg',194 XHT_FAQ: '/assets/images/XHT-FAQ.svg',195 XHT_PDF: '/assets/images/XHT-pdf.svg',196 REFERRAL_SUCCESS: '/assets/icons/send-request.svg',197 TRADE_ANNOUNCEMENT: '/assets/images/announcement.svg',198 CANCEL_ORDERS: '/assets/images/cancel-all-orders.svg',199 FIAT_UNDER_CONSTRUCTION: '/assets/icons/fiat-page-under-construction-01.svg',200 STAKING_AMOUNT_MODAL: '/assets/stake/staking-modal-background.jpg',201 STAKING_PERIOD_ITEM: '/assets/stake/staking-period-option-background.jpg',202 STAKING_MODAL_BACKGROUND: '/assets/stake/modal_background.png',203 STAKING_SUCCESSFUL_MESSAGE: '/assets/stake/success_stake-unstake.png',204 STAKING_PANEL_BACKGROUND: '/assets/stake/success_stake-unstake.png',205 STAKING_ERROR: '/assets/stake/error.svg',206 STAKING_VARIABLE: '/assets/stake/variable_icon.svg',207 STAKING_UNLOCK: '/assets/stake/unlock-unstake-icon.svg',208 STAKING_BACKGROUND: '/assets/stake/stake-background.jpg',209 STAKING_ACCOUNT: '',210 METAMASK: '',211 MOVE_XHT: '/assets/stake/xht-move.svg',212 CONNECT_DESKTOP: '/assets/stake/connect-via-desktop.svg',213 //should move this to the plugin itself once the functionality is added214 GENERATE_REFERENCE_NUMBER: '/assets/icons/generate-reference-number-01.svg',215 OSKO_LOGO: '/assets/icons/osko-logo.svg',216};217const icons = flatten(nestedIcons, options);...

Full Screen

Full Screen

light.js

Source:light.js Github

copy

Full Screen

1import flatten from 'flat';2const options = { safe: true, delimiter: '_' };3const nestedIcons = {4 EXCHANGE: {5 LOADER: '/assets/light-spinner.gif',6 BOARDING_IMAGE: '/assets/background.png',7 LANDING_PAGE: '/assets/images/hollaex-background.png',8 },9 TRADE: {10 HISTORY: '/assets/images/trade-history.svg',11 },12 QUICK_TRADE: {13 ICON: '/assets/images/quick-trade.svg',14 TAB_ACTIVE: '/assets/images/quick-trade-tab-active.svg',15 INSUFFICIENT_FUND: '/assets/icons/quick-trade-insufficient-funds.svg',16 SUCCESSFUL: '/assets/icons/quick-trade-success-coin-pile.svg',17 },18 GENDER: {19 FEMALE: '/assets/acounts/account-icons-10.svg',20 MALE: '/assets/acounts/account-icons-11.svg',21 },22 THEME: {23 MOON: '/assets/icons/moon-theme.svg',24 SUN: '/assets/icons/sun-theme.svg',25 },26 TAB: {27 PLUS: '/assets/images/tab-plus.svg',28 SUMMARY: '/assets/images/tab-summary.svg',29 HISTORY: '/assets/images/tab-history.svg',30 WALLET: '/assets/images/tab-wallet.svg',31 SECURITY: '/assets/images/tab-security.svg',32 VERIFY: '/assets/images/tab-verify.svg',33 SETTING: '/assets/images/tab-setting.svg',34 API: '/assets/images/tab-api.svg',35 },36 TOKEN: {37 TOKENS_INACTIVE: '/assets/images/dev-icon.svg',38 TOKENS_ACTIVE: '/assets/images/dev-icon.svg',39 REVOKED: '/assets/images/api-key-revoked.svg',40 ACTIVE: '/assets/images/api-key-active.svg',41 TRASHED: '/assets/images/api-key-trashed.svg',42 GENERATE: '/assets/images/api-key-generate.svg',43 CREATED: '/assets/images/api-key-created.svg',44 },45 VERIFICATION: {46 WARNING: '/assets/images/astrics.svg',47 SUCCESS: '/assets/images/success-check-box.svg',48 DOC_STATUS: '/assets/images/verification-doc-status.svg',49 PENDING: '/assets/images/verification-pending-orange.svg',50 REJECTED: '/assets/images/verification-rejected-yellow-cross.svg',51 INCOMPLETE: '/assets/images/verification-attention-red.svg',52 VERIFIED: '/assets/images/verification-green-tick.svg',53 EMAIL_NEW: '/assets/images/verification-email.svg',54 PHONE_NEW: '/assets/images/verification-phone.svg',55 ID_NEW: '/assets/images/verification-id.svg',56 BANK_NEW: '/assets/images/verification-bank.svg',57 DOCUMENT_NEW: '/assets/images/verification-document.svg',58 },59 SETTING: {60 NOTIFICATION_ICON: '/assets/images/notification-settings-icon.svg',61 INTERFACE_ICON: '/assets/images/interface-settings-icon.svg',62 LANGUAGE_ICON: '/assets/images/language-settings-icon.svg',63 CHAT_ICON: '/assets/images/chat-settings-icon.svg',64 AUDIO_ICON: '/assets/images/audio-settings-icon.svg',65 RISK_ICON: '/assets/images/risk-settings-icon.svg',66 RISK_ADJUST_ICON: '/assets/images/risk-management-pop-adjust.svg',67 RISK_MANAGE_WARNING_ICON: '/assets/images/risk-manage-pop-warning.svg',68 },69 SECURITY: {70 OTP_ICON: '/assets/images/2fa-security-icon.svg',71 CHANGE_PASSWORD_ICON: '/assets/images/password-security-icon.svg',72 API_ICON: '/assets/images/api-security-icon.svg',73 },74 SOCIAL: {75 FACEBOOK: '/assets/icons/facebook.png',76 LINKEDIN: '/assets/icons/linkedin.png',77 TWITTER: '/assets/icons/twitter.png',78 INSTAGRAM: '/assets/icons/instagram.svg',79 TELEGRAM: '/assets/icons/telegram.png',80 GOOGLE: '/assets/icons/google.png',81 YOUTUBE: '/assets/icons/youtube.png',82 },83 SUMMARY: {84 LEVEL_1: '/assets/summary/level-1.png',85 LEVEL_2: '/assets/summary/level-2.png',86 LEVEL_3: '/assets/summary/level-3.png',87 LEVEL_4: '/assets/summary/level-4.png',88 },89 ARROW: {90 UP: '/assets/images/buy-trade.svg',91 DOWN: '/assets/images/sell-trade.svg',92 ARROW: '/assets/images/arrow-down.svg',93 },94 DEMO_LOGIN_ICON: '/assets/icons/demo-login-icon-light.svg',95 CANCEL_WITHDRAW: '/assets/icons/cancel-withdraw-light-02.svg',96 CONTACT_US_ICON: '/assets/acounts/help-contact-us-01.svg',97 QUESTION_MARK: '/assets/icons/question-mark-black.svg',98 LAPTOP: '/assets/icons/compute-play-black.svg',99 TELEGRAM: '/assets/icons/telegram-black.svg',100 OTP_ACTIVE: '/assets/icons/2fa-active.svg',101 OTP_DEACTIVATED: '/assets/icons/2fa-deactivated.svg',102 CHECK: '/assets/images/Orderbook scrolling-01.svg',103 BLUE_QUESTION: '/assets/acounts/account-icons-08.svg',104 RED_WARNING: '/assets/acounts/account-icons-09.svg',105 RED_ARROW: '/assets/acounts/account-icons-16.svg',106 BLUE_CLIP: '/assets/acounts/account-icons-17.svg',107 BLACK_CHECK: '/assets/acounts/account-icons-19.svg',108 OTP_KEYS: '/assets/acounts/account-icons-29.svg',109 GREEN_CHECK: '/assets/acounts/account-icons-23.svg',110 LETTER: '/assets/acounts/account-icons-24.svg',111 OTP_CODE: '/assets/acounts/account-icons-28.svg',112 COPY_NEW: '/assets/images/copy.svg',113 COPY_NOTIFICATION: '/assets/images/copy-icon-snack-notification.svg',114 ACCOUNT_LINE: '/assets/images/account.svg',115 ACCOUNT_RECOVERY: '/assets/images/account-recovery.svg',116 BITCOIN_WALLET: '/assets/images/bitcoin-wallet.svg',117 CHECK_SENDING_BITCOIN: '/assets/images/check-sending-bitcoin.svg',118 DATA: '/assets/images/data.svg',119 DEPOSIT_BITCOIN: '/assets/images/deposit-bitcoin-dark-theme.svg',120 DEPOSIT_HISTORY: '/assets/images/deposit-history.svg',121 DEPOSIT_RECEIVED_BITCOIN: '/assets/images/deposit-received-bitcoin.svg',122 EMAIL_SENT: '/assets/images/email-sent.svg',123 DEPOSIT_BASE_COIN_COMPLETE: '/assets/images/fiat-deposit-completed.svg',124 GEAR_GREY: '/assets/images/gear-grey.svg',125 ID_GREY: '/assets/images/id-grey.svg',126 INCOMING_BTC: '/assets/images/incoming-btc.svg',127 INCOMING_COIN: '/assets/images/incoming-coin.svg',128 PASSWORD_RESET: '/assets/images/password-reset.svg',129 SECURE: '/assets/images/secure.svg',130 SECURITY_GREY: '/assets/images/security-grey.svg',131 SET_NEW_PASSWORD: '/assets/images/set-new-password.svg',132 SUCCESS_BLACK: '/assets/images/success-black.svg',133 TRANSACTION_HISTORY: '/assets/images/transaction-history.svg',134 VERIFICATION_SENT: '/assets/images/resend-email-light.svg',135 WITHDRAW: '/assets/images/withdraw.svg',136 WITHDRAW_HISTORY: '/assets/images/withdraw-history.svg',137 BLUE_ARROW_LEFT: '/assets/images/blue-arrow-left.svg',138 BLUE_ARROW_RIGHT: '/assets/images/blue-arrow-right.svg',139 SESSION_TIMED_OUT: '/assets/images/session-timed-out.svg',140 BLUE_EDIT: '/assets/images/blue-edit-exir-icon.svg',141 BLUE_PLUS: '/assets/images/max-plus-blue-icon.svg',142 BLUE_TIMER: '/assets/images/timer-icon.svg',143 NOTIFICATION_VERIFICATION_WARNING: '/assets/images/verification.svg',144 COIN_WITHDRAW_BTC: '/assets/images/coin-withdraw-btc.svg',145 LOGOUT_DOOR_INACTIVE: '/assets/images/logout-door-inactive.svg',146 CANCEL_CROSS_ACTIVE: '/assets/images/cancel-cross-active.svg',147 SIDEBAR_WALLET_ACTIVE: '/assets/images/wallet-selected.svg',148 SIDEBAR_ACCOUNT_ACTIVE: '/assets/images/account_2-active.svg',149 SIDEBAR_ACCOUNT_INACTIVE: '/assets/images/account_2-inactive.svg',150 SIDEBAR_POST_ACTIVE: '/assets/images/post-active.svg',151 SIDEBAR_TRADING_ACTIVE: '/assets/images/trade-active.svg',152 SIDEBAR_QUICK_TRADING_ACTIVE:153 '/assets/images/quick-trade-tab-selected-01.svg',154 SIDEBAR_QUICK_TRADING_INACTIVE: '/assets/images/quick-trade-tab-01-01.svg',155 SIDEBAR_ADMIN_DASH_ACTIVE: '/assets/images/admin-dash-icon.svg',156 CHECK_ORDER: '/assets/images/check-order-popup-01.svg',157 ITEM_OPTIONS: '/assets/images/item-options.svg',158 CHAT: '/assets/images/chat-icon.svg',159 WITHDRAW_MAIL_CONFIRMATION: '/assets/images/withdraw-mail-confirmation.svg',160 CLOSE_CROSS: '/assets/images/close-cross-tab.svg',161 TRADE_FILLED_SUCESSFUL: '/assets/images/Orderbook scrolling-01.svg',162 TRADE_PARTIALLY_FILLED: '/assets/images/part-fill.svg',163 TAB_SIGNOUT: '/assets/images/signout.svg',164 PENDING_TIMER: '/assets/images/pending-timer.svg',165 VOLUME_PENDING: '/assets/images/volume-pending-icon.svg',166 SELF_KYC_ID_EN: '/assets/self-kyc-id-note-english.png',167 NOTE_KYC: '/assets/images/note-KYC.svg',168 SIDEBAR_HELP: '/assets/images/help-question-mark-icon.svg',169 CONNECT_LOADING: '/assets/images/connect-loading.svg',170 REFER_ICON: '/assets/images/refer-icon.svg',171 STAKETOKEN_ICON: '/assets/images/stake.svg',172 DEFAULT_ICON: '/assets/icons/missing-coin-light.svg',173 EXPIRED_ICON: '/assets/images/expired.svg',174 HAP_ACCOUNT_ICON: '/assets/icons/hap-account-icon.svg',175 ACCOUNT_SUMMARY: '/assets/icons/account-icon-summary.svg',176 XHT_COIN_STACK: '/assets/images/XHT-coin-stack.svg',177 XHT_DOCS: '/assets/images/XHT-docs.svg',178 XHT_WAVES: '/assets/images/wave-icon.svg',179 XHT_EMAIL: '/assets/images/XHT-email.svg',180 XHT_FAQ: '/assets/images/XHT-FAQ.svg',181 XHT_PDF: '/assets/images/XHT-pdf.svg',182 REFERRAL_SUCCESS: '/assets/icons/send-request.svg',183 TRADE_ANNOUNCEMENT: '/assets/images/announcement.svg',184 CANCEL_ORDERS: '/assets/images/cancel-all-orders.svg',185 STAKING_AMOUNT_MODAL: '/assets/stake/staking-modal-background-light.jpg',186 STAKING_PERIOD_ITEM:187 '/assets/stake/staking-period-option-background-light.png',188 STAKING_MODAL_BACKGROUND: '/assets/stake/modal_background_light.png',189 STAKING_SUCCESSFUL_MESSAGE: '/assets/stake/stake-unstake-light.png',190 STAKING_PANEL_BACKGROUND: '/assets/stake/stake-unstake-light.png',191 STAKING_BACKGROUND: '/assets/stake/stake-background-light.png',192};193const icons = flatten(nestedIcons, options);...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1define('Mobile/Sample/Views/Test', [2], function(3) {4 return declare('Mobile.Sample.Views.Test', [View], {5 widgetTemplate: new Simplate([6 '<div id="{%= $.id %}" title="{%= $.titleText %}" class="overthrow {%= $.cls %}" {% if ($.resourceKind) { %}data-resource-kind="{%= $.resourceKind %}"{% } %}>',7 '{%! $.resourceTemplate %}',8 resourceTemplate: new Simplate([9 init: function() {10 },11 createToolLayout: function() {12 return this.tools || (this.tools = {13 'tbar': [{14 }]15 });16 },17 test: function() {18 alert('testing');19 }20 });21});22define('Mobile/Sample/Views/Test2', [23], function(24) {25 return declare('Mobile.Sample.Views.Test2', [View], {26 widgetTemplate: new Simplate([27 '<div id="{%= $.id %}" title="{%= $.titleText %}" class="overthrow {%= $.cls %}" {% if ($.resourceKind) { %}data-resource-kind="{%= $.resourceKind %}"{% } %}>',28 '{%! $.resourceTemplate %}',29 resourceTemplate: new Simplate([

Full Screen

Using AI Code Generation

copy

Full Screen

1define('test', ['argos/Assets'], function(Assets) {2 var icon = Assets.getIcon('search');3});4define('test', ['argos/Assets'], function(Assets) {5 var icon = Assets.getIcon('search');6});7define('test', ['argos/Assets'], function(Assets) {8 var icon = Assets.getIcon('search');9});10define('test', ['argos/Assets'], function(Assets) {11 var icon = Assets.getIcon('search');12});13define('test', ['argos/Assets'], function(Assets) {14 var icon = Assets.getIcon('search');15});16define('test', ['argos/Assets'], function(Assets) {17 var icon = Assets.getIcon('search');18});19define('test', ['argos/Assets'], function(Assets) {20 var icon = Assets.getIcon('search');21});22define('test', ['argos/Assets'], function(Assets) {23 var icon = Assets.getIcon('search');24});25define('test', ['argos/Assets'], function(Assets) {26 var icon = Assets.getIcon('search');27});28define('test', ['argos/Assets'], function(Assets) {29 var icon = Assets.getIcon('search');30});31define('test', ['argos/Assets'], function(Assets) {32 var icon = Assets.getIcon('search');33});34define('test', ['argos/Assets'], function(Assets) {35 var icon = Assets.getIcon('search

Full Screen

Using AI Code Generation

copy

Full Screen

1require('argos-sdk/src/SDK').registerApp({2 start: function start() {3 var assets = require('argos-sdk/src/SDK').get('assets');4 assets.addStyle('test', 'test.css');5 assets.addScript('test', 'test.js');6 assets.addScript('test', 'test2.js');7 assets.addScript('test', 'test3.js');8 assets.addScript('test', 'test4.js');9 assets.addScript('test', 'test5.js');10 assets.addScript('test', 'test6.js');11 assets.addScript('test', 'test7.js');12 assets.addScript('test', 'test8.js');13 assets.addScript('test', 'test9.js');14 assets.addScript('test', 'test10.js');15 assets.addScript('test', 'test11.js');16 assets.addScript('test', 'test12.js');17 assets.addScript('test', 'test13.js');18 assets.addScript('test', 'test14.js');19 assets.addScript('test', 'test15.js');20 assets.addScript('test', 'test16.js');21 assets.addScript('test', 'test17.js');22 assets.addScript('test', 'test18.js');23 assets.addScript('test', 'test19.js');24 assets.addScript('test', 'test20.js');25 assets.addScript('test', 'test21.js');26 assets.addScript('test', 'test22.js');27 assets.addScript('test', 'test23.js');28 assets.addScript('test', 'test24.js');29 assets.addScript('test', 'test25.js');30 assets.addScript('test', 'test26.js');31 assets.addScript('test', 'test27.js');32 assets.addScript('test', 'test28.js');33 assets.addScript('test', 'test29.js');34 assets.addScript('test', 'test30.js');35 assets.addScript('test', 'test31.js');36 assets.addScript('test', 'test32.js');37 assets.addScript('test', 'test33.js');38 assets.addScript('test', 'test34.js');39 assets.addScript('test', '

Full Screen

Using AI Code Generation

copy

Full Screen

1var assets = require('argos-sdk').assets;2assets.add({3 'icon': {4 }5});6Localization is handled by the [i18n](

Full Screen

Using AI Code Generation

copy

Full Screen

1var argosSdk = require('argos-sdk');2var assets = argosSdk.getAssets();3assets.load('test', 'test.js', function() {4 console.log('test.js loaded');5});6var argosSdk = require('argos-sdk');7var assets = argosSdk.getAssets();8assets.load('test', 'test.js', function() {9 console.log('test.js loaded');10});11var argosSdk = require('argos-sdk');12var assets = argosSdk.getAssets();13assets.load('test', 'test.js', function() {14 console.log('test.js loaded');15});16var argosSdk = require('argos-sdk');17var assets = argosSdk.getAssets();18assets.load('test', 'test.js', function() {19 console.log('test.js loaded');20});21var argosSdk = require('argos-sdk');22var assets = argosSdk.getAssets();23assets.load('test', 'test.js', function() {24 console.log('test.js loaded');25});26var argosSdk = require('argos-sdk');27var assets = argosSdk.getAssets();28assets.load('test', 'test.js', function() {29 console.log('test.js loaded');30});31[MIT](LICENSE)

Full Screen

Using AI Code Generation

copy

Full Screen

1define('test', ['argos/Assets'], function(Assets) {2});3#### `register(name, asset)`4#### `get(name)`5#### `getIcon(name)`6#### `getSound(name)`7#### `getImage(name)`8#### `getLocalized(name)`9#### `getLocalizationMap()`10#### `registerLocalizationMap(map)`

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run argos automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful