How to use isActive method in argos

Best JavaScript code snippet using argos

language.constant.ts

Source:language.constant.ts Github

copy

Full Screen

1export enum LANGUAGE {2 AF = "af",3 AF_ZA = "af-ZA",4 AR = "ar",5 AR_AE = "ar-AE",6 AR_BH = "ar-BH",7 AR_DZ = "ar-DZ",8 AR_EG = "ar-EG",9 AR_IQ = "ar-IQ",10 AR_JO = "ar-JO",11 AR_KW = "ar-KW",12 AR_LB = "ar-LB",13 AR_LY = "ar-LY",14 AR_MA = "ar-MA",15 AR_OM = "ar-OM",16 AR_QA = "ar-QA",17 AR_SA = "ar-SA",18 AR_SY = "ar-SY",19 AR_TN = "ar-TN",20 AR_YE = "ar-YE",21 AZ = "az",22 AZ_AZ = "az-AZ",23 BE = "be",24 BE_BY = "be-BY",25 BG = "bg",26 BG_BG = "bg-BG",27 BS_BA = "bs-BA",28 CA = "ca",29 CA_ES = "ca-ES",30 CS = "cs",31 CS_CZ = "cs-CZ",32 CY = "cy",33 CY_GB = "cy-GB",34 DA = "da",35 DA_DK = "da-DK",36 DE = "de",37 DE_AT = "de-AT",38 DE_CH = "de-CH",39 DE_DE = "de-DE",40 DE_LI = "de-LI",41 DE_LU = "de-LU",42 DV = "dv",43 DV_MV = "dv-MV",44 EL = "el",45 EL_GR = "el-GR",46 EN = "en",47 EN_AU = "en-AU",48 EN_BZ = "en-BZ",49 EN_CA = "en-CA",50 EN_CB = "en-CB",51 EN_GB = "en-GB",52 EN_IE = "en-IE",53 EN_JM = "en-JM",54 EN_NZ = "en-NZ",55 EN_PH = "en-PH",56 EN_TT = "en-TT",57 EN_US = "en-US",58 EN_ZA = "en-ZA",59 EN_ZW = "en-ZW",60 EO = "eo",61 ES = "es",62 ES_AR = "es-AR",63 ES_BO = "es-BO",64 ES_CL = "es-CL",65 ES_CO = "es-CO",66 ES_CR = "es-CR",67 ES_DO = "es-DO",68 ES_EC = "es-EC",69 ES_ES = "es-ES",70 ES_GT = "es-GT",71 ES_HN = "es-HN",72 ES_MX = "es-MX",73 ES_NI = "es-NI",74 ES_PA = "es-PA",75 ES_PE = "es-PE",76 ES_PR = "es-PR",77 ES_PY = "es-PY",78 ES_SV = "es-SV",79 ES_UY = "es-UY",80 ES_VE = "es-VE",81 ET = "et",82 ET_EE = "et-EE",83 EU = "eu",84 EU_ES = "eu-ES",85 FA = "fa",86 FA_IR = "fa-IR",87 FI = "fi",88 FI_FI = "fi-FI",89 FO = "fo",90 FO_FO = "fo-FO",91 FR = "fr",92 FR_BE = "fr-BE",93 FR_CA = "fr-CA",94 FR_CH = "fr-CH",95 FR_FR = "fr-FR",96 FR_LU = "fr-LU",97 FR_MC = "fr-MC",98 GL = "gl",99 GL_ES = "gl-ES",100 GU = "gu",101 GU_IN = "gu-IN",102 HE = "he",103 HE_IL = "he-IL",104 HI = "hi",105 HI_IN = "hi-IN",106 HR = "hr",107 HR_BA = "hr-BA",108 HR_HR = "hr-HR",109 HU = "hu",110 HU_HU = "hu-HU",111 HY = "hy",112 HY_AM = "hy-AM",113 ID = "id",114 ID_ID = "id-ID",115 IS = "is",116 IS_IS = "is-IS",117 IT = "it",118 IT_CH = "it-CH",119 IT_IT = "it-IT",120 JA = "ja",121 JA_JP = "ja-JP",122 KA = "ka",123 KA_GE = "ka-GE",124 KK = "kk",125 KK_KZ = "kk-KZ",126 KN = "kn",127 KN_IN = "kn-IN",128 KO = "ko",129 KO_KR = "ko-KR",130 KOK = "kok",131 KOK_IN = "kok-IN",132 KY = "ky",133 KY_KG = "ky-KG",134 LT = "lt",135 LT_LT = "lt-LT",136 LV = "lv",137 LV_LV = "lv-LV",138 MI = "mi",139 MI_NZ = "mi-NZ",140 MK = "mk",141 MK_MK = "mk-MK",142 MN = "mn",143 MN_MN = "mn-MN",144 MR = "mr",145 MR_IN = "mr-IN",146 MS = "ms",147 MS_BN = "ms-BN",148 MS_MY = "ms-MY",149 MT = "mt",150 MT_MT = "mt-MT",151 NB = "nb",152 NB_NO = "nb-NO",153 NL = "nl",154 NL_BE = "nl-BE",155 NL_NL = "nl-NL",156 NN_NO = "nn-NO",157 NS = "ns",158 NS_ZA = "ns-ZA",159 PA = "pa",160 PA_IN = "pa-IN",161 PL = "pl",162 PL_PL = "pl-PL",163 PS = "ps",164 PS_AR = "ps-AR",165 PT = "pt",166 PT_BR = "pt-BR",167 PT_PT = "pt-PT",168 QU = "qu",169 QU_BO = "qu-BO",170 QU_EC = "qu-EC",171 QU_PE = "qu-PE",172 RO = "ro",173 RO_RO = "ro-RO",174 RU = "ru",175 RU_RU = "ru-RU",176 SA = "sa",177 SA_IN = "sa-IN",178 SE = "se",179 SE_FI = "se-FI",180 SE_NO = "se-NO",181 SE_SE = "se-SE",182 SK = "sk",183 SK_SK = "sk-SK",184 SL = "sl",185 SL_SI = "sl-SI",186 SQ = "sq",187 SQ_AL = "sq-AL",188 SR_BA = "sr-BA",189 SR_SP = "sr-SP",190 SV = "sv",191 SV_FI = "sv-FI",192 SV_SE = "sv-SE",193 SW = "sw",194 SW_KE = "sw-KE",195 SYR = "syr",196 SYR_SY = "syr-SY",197 TA = "ta",198 TA_IN = "ta-IN",199 TE = "te",200 TE_IN = "te-IN",201 TH = "th",202 TH_TH = "th-TH",203 TL = "tl",204 TL_PH = "tl-PH",205 TN = "tn",206 TN_ZA = "tn-ZA",207 TR = "tr",208 TR_TR = "tr-TR",209 TS = "ts",210 TT = "tt",211 TT_RU = "tt-RU",212 UK = "uk",213 UK_UA = "uk-UA",214 UR = "ur",215 UR_PK = "ur-PK",216 UZ = "uz",217 UZ_UZ = "uz-UZ",218 VI = "vi",219 VI_VN = "vi-VN",220 XH = "xh",221 XH_ZA = "xh-ZA",222 ZH = "zh",223 ZH_CN = "zh-CN",224 ZH_HK = "zh-HK",225 ZH_MO = "zh-MO",226 ZH_SG = "zh-SG",227 ZH_TW = "zh-TW",228 ZU = "zu",229 ZU_ZA = "zu-ZA",230}231export const LANGUAGES_LIST = Object.values(LANGUAGE);232export const DEFAULT_LANGUAGE = LANGUAGE.EN;233export const SUPPORTED_LANGUAGES = [LANGUAGE.EN, LANGUAGE.FR];234/**235 * http://www.lingoes.net/en/translator/langcode.htm236 * const t = Array.from(document.getElementById("test").childNodes).map(e => {237 * const c = Array.from(e.childNodes)238 * //console.log(c)239 * if (c.length !== 2) return null240 * const code = c[0].innerText241 * const name = c[1].innerText242 * return {243 * code, name, flagUrl: '', isDefault: false, isActive: false,244 * }245 * }).filter(p => p)246 */247// export const LANGUAGE_CODE_TABLE = [248// {249// "code": "af",250// "name": "Afrikaans",251// "flagUrl": "",252// "isDefault": false,253// "isActive": false254// },255// {256// "code": "af-ZA",257// "name": "Afrikaans (South Africa)",258// "flagUrl": "",259// "isDefault": false,260// "isActive": false261// },262// {263// "code": "ar",264// "name": "Arabic",265// "flagUrl": "",266// "isDefault": false,267// "isActive": false268// },269// {270// "code": "ar-AE",271// "name": "Arabic (U.A.E.)",272// "flagUrl": "",273// "isDefault": false,274// "isActive": false275// },276// {277// "code": "ar-BH",278// "name": "Arabic (Bahrain)",279// "flagUrl": "",280// "isDefault": false,281// "isActive": false282// },283// {284// "code": "ar-DZ",285// "name": "Arabic (Algeria)",286// "flagUrl": "",287// "isDefault": false,288// "isActive": false289// },290// {291// "code": "ar-EG",292// "name": "Arabic (Egypt)",293// "flagUrl": "",294// "isDefault": false,295// "isActive": false296// },297// {298// "code": "ar-IQ",299// "name": "Arabic (Iraq)",300// "flagUrl": "",301// "isDefault": false,302// "isActive": false303// },304// {305// "code": "ar-JO",306// "name": "Arabic (Jordan)",307// "flagUrl": "",308// "isDefault": false,309// "isActive": false310// },311// {312// "code": "ar-KW",313// "name": "Arabic (Kuwait)",314// "flagUrl": "",315// "isDefault": false,316// "isActive": false317// },318// {319// "code": "ar-LB",320// "name": "Arabic (Lebanon)",321// "flagUrl": "",322// "isDefault": false,323// "isActive": false324// },325// {326// "code": "ar-LY",327// "name": "Arabic (Libya)",328// "flagUrl": "",329// "isDefault": false,330// "isActive": false331// },332// {333// "code": "ar-MA",334// "name": "Arabic (Morocco)",335// "flagUrl": "",336// "isDefault": false,337// "isActive": false338// },339// {340// "code": "ar-OM",341// "name": "Arabic (Oman)",342// "flagUrl": "",343// "isDefault": false,344// "isActive": false345// },346// {347// "code": "ar-QA",348// "name": "Arabic (Qatar)",349// "flagUrl": "",350// "isDefault": false,351// "isActive": false352// },353// {354// "code": "ar-SA",355// "name": "Arabic (Saudi Arabia)",356// "flagUrl": "",357// "isDefault": false,358// "isActive": false359// },360// {361// "code": "ar-SY",362// "name": "Arabic (Syria)",363// "flagUrl": "",364// "isDefault": false,365// "isActive": false366// },367// {368// "code": "ar-TN",369// "name": "Arabic (Tunisia)",370// "flagUrl": "",371// "isDefault": false,372// "isActive": false373// },374// {375// "code": "ar-YE",376// "name": "Arabic (Yemen)",377// "flagUrl": "",378// "isDefault": false,379// "isActive": false380// },381// {382// "code": "az",383// "name": "Azeri (Latin)",384// "flagUrl": "",385// "isDefault": false,386// "isActive": false387// },388// {389// "code": "az-AZ",390// "name": "Azeri (Latin) (Azerbaijan)",391// "flagUrl": "",392// "isDefault": false,393// "isActive": false394// },395// {396// "code": "az-AZ",397// "name": "Azeri (Cyrillic) (Azerbaijan)",398// "flagUrl": "",399// "isDefault": false,400// "isActive": false401// },402// {403// "code": "be",404// "name": "Belarusian",405// "flagUrl": "",406// "isDefault": false,407// "isActive": false408// },409// {410// "code": "be-BY",411// "name": "Belarusian (Belarus)",412// "flagUrl": "",413// "isDefault": false,414// "isActive": false415// },416// {417// "code": "bg",418// "name": "Bulgarian",419// "flagUrl": "",420// "isDefault": false,421// "isActive": false422// },423// {424// "code": "bg-BG",425// "name": "Bulgarian (Bulgaria)",426// "flagUrl": "",427// "isDefault": false,428// "isActive": false429// },430// {431// "code": "bs-BA",432// "name": "Bosnian (Bosnia and Herzegovina)",433// "flagUrl": "",434// "isDefault": false,435// "isActive": false436// },437// {438// "code": "ca",439// "name": "Catalan",440// "flagUrl": "",441// "isDefault": false,442// "isActive": false443// },444// {445// "code": "ca-ES",446// "name": "Catalan (Spain)",447// "flagUrl": "",448// "isDefault": false,449// "isActive": false450// },451// {452// "code": "cs",453// "name": "Czech",454// "flagUrl": "",455// "isDefault": false,456// "isActive": false457// },458// {459// "code": "cs-CZ",460// "name": "Czech (Czech Republic)",461// "flagUrl": "",462// "isDefault": false,463// "isActive": false464// },465// {466// "code": "cy",467// "name": "Welsh",468// "flagUrl": "",469// "isDefault": false,470// "isActive": false471// },472// {473// "code": "cy-GB",474// "name": "Welsh (United Kingdom)",475// "flagUrl": "",476// "isDefault": false,477// "isActive": false478// },479// {480// "code": "da",481// "name": "Danish",482// "flagUrl": "",483// "isDefault": false,484// "isActive": false485// },486// {487// "code": "da-DK",488// "name": "Danish (Denmark)",489// "flagUrl": "",490// "isDefault": false,491// "isActive": false492// },493// {494// "code": "de",495// "name": "German",496// "flagUrl": "",497// "isDefault": false,498// "isActive": false499// },500// {501// "code": "de-AT",502// "name": "German (Austria)",503// "flagUrl": "",504// "isDefault": false,505// "isActive": false506// },507// {508// "code": "de-CH",509// "name": "German (Switzerland)",510// "flagUrl": "",511// "isDefault": false,512// "isActive": false513// },514// {515// "code": "de-DE",516// "name": "German (Germany)",517// "flagUrl": "",518// "isDefault": false,519// "isActive": false520// },521// {522// "code": "de-LI",523// "name": "German (Liechtenstein)",524// "flagUrl": "",525// "isDefault": false,526// "isActive": false527// },528// {529// "code": "de-LU",530// "name": "German (Luxembourg)",531// "flagUrl": "",532// "isDefault": false,533// "isActive": false534// },535// {536// "code": "dv",537// "name": "Divehi",538// "flagUrl": "",539// "isDefault": false,540// "isActive": false541// },542// {543// "code": "dv-MV",544// "name": "Divehi (Maldives)",545// "flagUrl": "",546// "isDefault": false,547// "isActive": false548// },549// {550// "code": "el",551// "name": "Greek",552// "flagUrl": "",553// "isDefault": false,554// "isActive": false555// },556// {557// "code": "el-GR",558// "name": "Greek (Greece)",559// "flagUrl": "",560// "isDefault": false,561// "isActive": false562// },563// {564// "code": "en",565// "name": "English",566// "flagUrl": "",567// "isDefault": false,568// "isActive": false569// },570// {571// "code": "en-AU",572// "name": "English (Australia)",573// "flagUrl": "",574// "isDefault": false,575// "isActive": false576// },577// {578// "code": "en-BZ",579// "name": "English (Belize)",580// "flagUrl": "",581// "isDefault": false,582// "isActive": false583// },584// {585// "code": "en-CA",586// "name": "English (Canada)",587// "flagUrl": "",588// "isDefault": false,589// "isActive": false590// },591// {592// "code": "en-CB",593// "name": "English (Caribbean)",594// "flagUrl": "",595// "isDefault": false,596// "isActive": false597// },598// {599// "code": "en-GB",600// "name": "English (United Kingdom)",601// "flagUrl": "",602// "isDefault": false,603// "isActive": false604// },605// {606// "code": "en-IE",607// "name": "English (Ireland)",608// "flagUrl": "",609// "isDefault": false,610// "isActive": false611// },612// {613// "code": "en-JM",614// "name": "English (Jamaica)",615// "flagUrl": "",616// "isDefault": false,617// "isActive": false618// },619// {620// "code": "en-NZ",621// "name": "English (New Zealand)",622// "flagUrl": "",623// "isDefault": false,624// "isActive": false625// },626// {627// "code": "en-PH",628// "name": "English (Republic of the Philippines)",629// "flagUrl": "",630// "isDefault": false,631// "isActive": false632// },633// {634// "code": "en-TT",635// "name": "English (Trinidad and Tobago)",636// "flagUrl": "",637// "isDefault": false,638// "isActive": false639// },640// {641// "code": "en-US",642// "name": "English (United States)",643// "flagUrl": "",644// "isDefault": false,645// "isActive": false646// },647// {648// "code": "en-ZA",649// "name": "English (South Africa)",650// "flagUrl": "",651// "isDefault": false,652// "isActive": false653// },654// {655// "code": "en-ZW",656// "name": "English (Zimbabwe)",657// "flagUrl": "",658// "isDefault": false,659// "isActive": false660// },661// {662// "code": "eo",663// "name": "Esperanto",664// "flagUrl": "",665// "isDefault": false,666// "isActive": false667// },668// {669// "code": "es",670// "name": "Spanish",671// "flagUrl": "",672// "isDefault": false,673// "isActive": false674// },675// {676// "code": "es-AR",677// "name": "Spanish (Argentina)",678// "flagUrl": "",679// "isDefault": false,680// "isActive": false681// },682// {683// "code": "es-BO",684// "name": "Spanish (Bolivia)",685// "flagUrl": "",686// "isDefault": false,687// "isActive": false688// },689// {690// "code": "es-CL",691// "name": "Spanish (Chile)",692// "flagUrl": "",693// "isDefault": false,694// "isActive": false695// },696// {697// "code": "es-CO",698// "name": "Spanish (Colombia)",699// "flagUrl": "",700// "isDefault": false,701// "isActive": false702// },703// {704// "code": "es-CR",705// "name": "Spanish (Costa Rica)",706// "flagUrl": "",707// "isDefault": false,708// "isActive": false709// },710// {711// "code": "es-DO",712// "name": "Spanish (Dominican Republic)",713// "flagUrl": "",714// "isDefault": false,715// "isActive": false716// },717// {718// "code": "es-EC",719// "name": "Spanish (Ecuador)",720// "flagUrl": "",721// "isDefault": false,722// "isActive": false723// },724// {725// "code": "es-ES",726// "name": "Spanish (Castilian)",727// "flagUrl": "",728// "isDefault": false,729// "isActive": false730// },731// {732// "code": "es-ES",733// "name": "Spanish (Spain)",734// "flagUrl": "",735// "isDefault": false,736// "isActive": false737// },738// {739// "code": "es-GT",740// "name": "Spanish (Guatemala)",741// "flagUrl": "",742// "isDefault": false,743// "isActive": false744// },745// {746// "code": "es-HN",747// "name": "Spanish (Honduras)",748// "flagUrl": "",749// "isDefault": false,750// "isActive": false751// },752// {753// "code": "es-MX",754// "name": "Spanish (Mexico)",755// "flagUrl": "",756// "isDefault": false,757// "isActive": false758// },759// {760// "code": "es-NI",761// "name": "Spanish (Nicaragua)",762// "flagUrl": "",763// "isDefault": false,764// "isActive": false765// },766// {767// "code": "es-PA",768// "name": "Spanish (Panama)",769// "flagUrl": "",770// "isDefault": false,771// "isActive": false772// },773// {774// "code": "es-PE",775// "name": "Spanish (Peru)",776// "flagUrl": "",777// "isDefault": false,778// "isActive": false779// },780// {781// "code": "es-PR",782// "name": "Spanish (Puerto Rico)",783// "flagUrl": "",784// "isDefault": false,785// "isActive": false786// },787// {788// "code": "es-PY",789// "name": "Spanish (Paraguay)",790// "flagUrl": "",791// "isDefault": false,792// "isActive": false793// },794// {795// "code": "es-SV",796// "name": "Spanish (El Salvador)",797// "flagUrl": "",798// "isDefault": false,799// "isActive": false800// },801// {802// "code": "es-UY",803// "name": "Spanish (Uruguay)",804// "flagUrl": "",805// "isDefault": false,806// "isActive": false807// },808// {809// "code": "es-VE",810// "name": "Spanish (Venezuela)",811// "flagUrl": "",812// "isDefault": false,813// "isActive": false814// },815// {816// "code": "et",817// "name": "Estonian",818// "flagUrl": "",819// "isDefault": false,820// "isActive": false821// },822// {823// "code": "et-EE",824// "name": "Estonian (Estonia)",825// "flagUrl": "",826// "isDefault": false,827// "isActive": false828// },829// {830// "code": "eu",831// "name": "Basque",832// "flagUrl": "",833// "isDefault": false,834// "isActive": false835// },836// {837// "code": "eu-ES",838// "name": "Basque (Spain)",839// "flagUrl": "",840// "isDefault": false,841// "isActive": false842// },843// {844// "code": "fa",845// "name": "Farsi",846// "flagUrl": "",847// "isDefault": false,848// "isActive": false849// },850// {851// "code": "fa-IR",852// "name": "Farsi (Iran)",853// "flagUrl": "",854// "isDefault": false,855// "isActive": false856// },857// {858// "code": "fi",859// "name": "Finnish",860// "flagUrl": "",861// "isDefault": false,862// "isActive": false863// },864// {865// "code": "fi-FI",866// "name": "Finnish (Finland)",867// "flagUrl": "",868// "isDefault": false,869// "isActive": false870// },871// {872// "code": "fo",873// "name": "Faroese",874// "flagUrl": "",875// "isDefault": false,876// "isActive": false877// },878// {879// "code": "fo-FO",880// "name": "Faroese (Faroe Islands)",881// "flagUrl": "",882// "isDefault": false,883// "isActive": false884// },885// {886// "code": "fr",887// "name": "French",888// "flagUrl": "",889// "isDefault": false,890// "isActive": false891// },892// {893// "code": "fr-BE",894// "name": "French (Belgium)",895// "flagUrl": "",896// "isDefault": false,897// "isActive": false898// },899// {900// "code": "fr-CA",901// "name": "French (Canada)",902// "flagUrl": "",903// "isDefault": false,904// "isActive": false905// },906// {907// "code": "fr-CH",908// "name": "French (Switzerland)",909// "flagUrl": "",910// "isDefault": false,911// "isActive": false912// },913// {914// "code": "fr-FR",915// "name": "French (France)",916// "flagUrl": "",917// "isDefault": false,918// "isActive": false919// },920// {921// "code": "fr-LU",922// "name": "French (Luxembourg)",923// "flagUrl": "",924// "isDefault": false,925// "isActive": false926// },927// {928// "code": "fr-MC",929// "name": "French (Principality of Monaco)",930// "flagUrl": "",931// "isDefault": false,932// "isActive": false933// },934// {935// "code": "gl",936// "name": "Galician",937// "flagUrl": "",938// "isDefault": false,939// "isActive": false940// },941// {942// "code": "gl-ES",943// "name": "Galician (Spain)",944// "flagUrl": "",945// "isDefault": false,946// "isActive": false947// },948// {949// "code": "gu",950// "name": "Gujarati",951// "flagUrl": "",952// "isDefault": false,953// "isActive": false954// },955// {956// "code": "gu-IN",957// "name": "Gujarati (India)",958// "flagUrl": "",959// "isDefault": false,960// "isActive": false961// },962// {963// "code": "he",964// "name": "Hebrew",965// "flagUrl": "",966// "isDefault": false,967// "isActive": false968// },969// {970// "code": "he-IL",971// "name": "Hebrew (Israel)",972// "flagUrl": "",973// "isDefault": false,974// "isActive": false975// },976// {977// "code": "hi",978// "name": "Hindi",979// "flagUrl": "",980// "isDefault": false,981// "isActive": false982// },983// {984// "code": "hi-IN",985// "name": "Hindi (India)",986// "flagUrl": "",987// "isDefault": false,988// "isActive": false989// },990// {991// "code": "hr",992// "name": "Croatian",993// "flagUrl": "",994// "isDefault": false,995// "isActive": false996// },997// {998// "code": "hr-BA",999// "name": "Croatian (Bosnia and Herzegovina)",1000// "flagUrl": "",1001// "isDefault": false,1002// "isActive": false1003// },1004// {1005// "code": "hr-HR",1006// "name": "Croatian (Croatia)",1007// "flagUrl": "",1008// "isDefault": false,1009// "isActive": false1010// },1011// {1012// "code": "hu",1013// "name": "Hungarian",1014// "flagUrl": "",1015// "isDefault": false,1016// "isActive": false1017// },1018// {1019// "code": "hu-HU",1020// "name": "Hungarian (Hungary)",1021// "flagUrl": "",1022// "isDefault": false,1023// "isActive": false1024// },1025// {1026// "code": "hy",1027// "name": "Armenian",1028// "flagUrl": "",1029// "isDefault": false,1030// "isActive": false1031// },1032// {1033// "code": "hy-AM",1034// "name": "Armenian (Armenia)",1035// "flagUrl": "",1036// "isDefault": false,1037// "isActive": false1038// },1039// {1040// "code": "id",1041// "name": "Indonesian",1042// "flagUrl": "",1043// "isDefault": false,1044// "isActive": false1045// },1046// {1047// "code": "id-ID",1048// "name": "Indonesian (Indonesia)",1049// "flagUrl": "",1050// "isDefault": false,1051// "isActive": false1052// },1053// {1054// "code": "is",1055// "name": "Icelandic",1056// "flagUrl": "",1057// "isDefault": false,1058// "isActive": false1059// },1060// {1061// "code": "is-IS",1062// "name": "Icelandic (Iceland)",1063// "flagUrl": "",1064// "isDefault": false,1065// "isActive": false1066// },1067// {1068// "code": "it",1069// "name": "Italian",1070// "flagUrl": "",1071// "isDefault": false,1072// "isActive": false1073// },1074// {1075// "code": "it-CH",1076// "name": "Italian (Switzerland)",1077// "flagUrl": "",1078// "isDefault": false,1079// "isActive": false1080// },1081// {1082// "code": "it-IT",1083// "name": "Italian (Italy)",1084// "flagUrl": "",1085// "isDefault": false,1086// "isActive": false1087// },1088// {1089// "code": "ja",1090// "name": "Japanese",1091// "flagUrl": "",1092// "isDefault": false,1093// "isActive": false1094// },1095// {1096// "code": "ja-JP",1097// "name": "Japanese (Japan)",1098// "flagUrl": "",1099// "isDefault": false,1100// "isActive": false1101// },1102// {1103// "code": "ka",1104// "name": "Georgian",1105// "flagUrl": "",1106// "isDefault": false,1107// "isActive": false1108// },1109// {1110// "code": "ka-GE",1111// "name": "Georgian (Georgia)",1112// "flagUrl": "",1113// "isDefault": false,1114// "isActive": false1115// },1116// {1117// "code": "kk",1118// "name": "Kazakh",1119// "flagUrl": "",1120// "isDefault": false,1121// "isActive": false1122// },1123// {1124// "code": "kk-KZ",1125// "name": "Kazakh (Kazakhstan)",1126// "flagUrl": "",1127// "isDefault": false,1128// "isActive": false1129// },1130// {1131// "code": "kn",1132// "name": "Kannada",1133// "flagUrl": "",1134// "isDefault": false,1135// "isActive": false1136// },1137// {1138// "code": "kn-IN",1139// "name": "Kannada (India)",1140// "flagUrl": "",1141// "isDefault": false,1142// "isActive": false1143// },1144// {1145// "code": "ko",1146// "name": "Korean",1147// "flagUrl": "",1148// "isDefault": false,1149// "isActive": false1150// },1151// {1152// "code": "ko-KR",1153// "name": "Korean (Korea)",1154// "flagUrl": "",1155// "isDefault": false,1156// "isActive": false1157// },1158// {1159// "code": "kok",1160// "name": "Konkani",1161// "flagUrl": "",1162// "isDefault": false,1163// "isActive": false1164// },1165// {1166// "code": "kok-IN",1167// "name": "Konkani (India)",1168// "flagUrl": "",1169// "isDefault": false,1170// "isActive": false1171// },1172// {1173// "code": "ky",1174// "name": "Kyrgyz",1175// "flagUrl": "",1176// "isDefault": false,1177// "isActive": false1178// },1179// {1180// "code": "ky-KG",1181// "name": "Kyrgyz (Kyrgyzstan)",1182// "flagUrl": "",1183// "isDefault": false,1184// "isActive": false1185// },1186// {1187// "code": "lt",1188// "name": "Lithuanian",1189// "flagUrl": "",1190// "isDefault": false,1191// "isActive": false1192// },1193// {1194// "code": "lt-LT",1195// "name": "Lithuanian (Lithuania)",1196// "flagUrl": "",1197// "isDefault": false,1198// "isActive": false1199// },1200// {1201// "code": "lv",1202// "name": "Latvian",1203// "flagUrl": "",1204// "isDefault": false,1205// "isActive": false1206// },1207// {1208// "code": "lv-LV",1209// "name": "Latvian (Latvia)",1210// "flagUrl": "",1211// "isDefault": false,1212// "isActive": false1213// },1214// {1215// "code": "mi",1216// "name": "Maori",1217// "flagUrl": "",1218// "isDefault": false,1219// "isActive": false1220// },1221// {1222// "code": "mi-NZ",1223// "name": "Maori (New Zealand)",1224// "flagUrl": "",1225// "isDefault": false,1226// "isActive": false1227// },1228// {1229// "code": "mk",1230// "name": "FYRO Macedonian",1231// "flagUrl": "",1232// "isDefault": false,1233// "isActive": false1234// },1235// {1236// "code": "mk-MK",1237// "name": "FYRO Macedonian (Former Yugoslav Republic of Macedonia)",1238// "flagUrl": "",1239// "isDefault": false,1240// "isActive": false1241// },1242// {1243// "code": "mn",1244// "name": "Mongolian",1245// "flagUrl": "",1246// "isDefault": false,1247// "isActive": false1248// },1249// {1250// "code": "mn-MN",1251// "name": "Mongolian (Mongolia)",1252// "flagUrl": "",1253// "isDefault": false,1254// "isActive": false1255// },1256// {1257// "code": "mr",1258// "name": "Marathi",1259// "flagUrl": "",1260// "isDefault": false,1261// "isActive": false1262// },1263// {1264// "code": "mr-IN",1265// "name": "Marathi (India)",1266// "flagUrl": "",1267// "isDefault": false,1268// "isActive": false1269// },1270// {1271// "code": "ms",1272// "name": "Malay",1273// "flagUrl": "",1274// "isDefault": false,1275// "isActive": false1276// },1277// {1278// "code": "ms-BN",1279// "name": "Malay (Brunei Darussalam)",1280// "flagUrl": "",1281// "isDefault": false,1282// "isActive": false1283// },1284// {1285// "code": "ms-MY",1286// "name": "Malay (Malaysia)",1287// "flagUrl": "",1288// "isDefault": false,1289// "isActive": false1290// },1291// {1292// "code": "mt",1293// "name": "Maltese",1294// "flagUrl": "",1295// "isDefault": false,1296// "isActive": false1297// },1298// {1299// "code": "mt-MT",1300// "name": "Maltese (Malta)",1301// "flagUrl": "",1302// "isDefault": false,1303// "isActive": false1304// },1305// {1306// "code": "nb",1307// "name": "Norwegian (Bokm?l)",1308// "flagUrl": "",1309// "isDefault": false,1310// "isActive": false1311// },1312// {1313// "code": "nb-NO",1314// "name": "Norwegian (Bokm?l) (Norway)",1315// "flagUrl": "",1316// "isDefault": false,1317// "isActive": false1318// },1319// {1320// "code": "nl",1321// "name": "Dutch",1322// "flagUrl": "",1323// "isDefault": false,1324// "isActive": false1325// },1326// {1327// "code": "nl-BE",1328// "name": "Dutch (Belgium)",1329// "flagUrl": "",1330// "isDefault": false,1331// "isActive": false1332// },1333// {1334// "code": "nl-NL",1335// "name": "Dutch (Netherlands)",1336// "flagUrl": "",1337// "isDefault": false,1338// "isActive": false1339// },1340// {1341// "code": "nn-NO",1342// "name": "Norwegian (Nynorsk) (Norway)",1343// "flagUrl": "",1344// "isDefault": false,1345// "isActive": false1346// },1347// {1348// "code": "ns",1349// "name": "Northern Sotho",1350// "flagUrl": "",1351// "isDefault": false,1352// "isActive": false1353// },1354// {1355// "code": "ns-ZA",1356// "name": "Northern Sotho (South Africa)",1357// "flagUrl": "",1358// "isDefault": false,1359// "isActive": false1360// },1361// {1362// "code": "pa",1363// "name": "Punjabi",1364// "flagUrl": "",1365// "isDefault": false,1366// "isActive": false1367// },1368// {1369// "code": "pa-IN",1370// "name": "Punjabi (India)",1371// "flagUrl": "",1372// "isDefault": false,1373// "isActive": false1374// },1375// {1376// "code": "pl",1377// "name": "Polish",1378// "flagUrl": "",1379// "isDefault": false,1380// "isActive": false1381// },1382// {1383// "code": "pl-PL",1384// "name": "Polish (Poland)",1385// "flagUrl": "",1386// "isDefault": false,1387// "isActive": false1388// },1389// {1390// "code": "ps",1391// "name": "Pashto",1392// "flagUrl": "",1393// "isDefault": false,1394// "isActive": false1395// },1396// {1397// "code": "ps-AR",1398// "name": "Pashto (Afghanistan)",1399// "flagUrl": "",1400// "isDefault": false,1401// "isActive": false1402// },1403// {1404// "code": "pt",1405// "name": "Portuguese",1406// "flagUrl": "",1407// "isDefault": false,1408// "isActive": false1409// },1410// {1411// "code": "pt-BR",1412// "name": "Portuguese (Brazil)",1413// "flagUrl": "",1414// "isDefault": false,1415// "isActive": false1416// },1417// {1418// "code": "pt-PT",1419// "name": "Portuguese (Portugal)",1420// "flagUrl": "",1421// "isDefault": false,1422// "isActive": false1423// },1424// {1425// "code": "qu",1426// "name": "Quechua",1427// "flagUrl": "",1428// "isDefault": false,1429// "isActive": false1430// },1431// {1432// "code": "qu-BO",1433// "name": "Quechua (Bolivia)",1434// "flagUrl": "",1435// "isDefault": false,1436// "isActive": false1437// },1438// {1439// "code": "qu-EC",1440// "name": "Quechua (Ecuador)",1441// "flagUrl": "",1442// "isDefault": false,1443// "isActive": false1444// },1445// {1446// "code": "qu-PE",1447// "name": "Quechua (Peru)",1448// "flagUrl": "",1449// "isDefault": false,1450// "isActive": false1451// },1452// {1453// "code": "ro",1454// "name": "Romanian",1455// "flagUrl": "",1456// "isDefault": false,1457// "isActive": false1458// },1459// {1460// "code": "ro-RO",1461// "name": "Romanian (Romania)",1462// "flagUrl": "",1463// "isDefault": false,1464// "isActive": false1465// },1466// {1467// "code": "ru",1468// "name": "Russian",1469// "flagUrl": "",1470// "isDefault": false,1471// "isActive": false1472// },1473// {1474// "code": "ru-RU",1475// "name": "Russian (Russia)",1476// "flagUrl": "",1477// "isDefault": false,1478// "isActive": false1479// },1480// {1481// "code": "sa",1482// "name": "Sanskrit",1483// "flagUrl": "",1484// "isDefault": false,1485// "isActive": false1486// },1487// {1488// "code": "sa-IN",1489// "name": "Sanskrit (India)",1490// "flagUrl": "",1491// "isDefault": false,1492// "isActive": false1493// },1494// {1495// "code": "se",1496// "name": "Sami (Northern)",1497// "flagUrl": "",1498// "isDefault": false,1499// "isActive": false1500// },1501// {1502// "code": "se-FI",1503// "name": "Sami (Northern) (Finland)",1504// "flagUrl": "",1505// "isDefault": false,1506// "isActive": false1507// },1508// {1509// "code": "se-FI",1510// "name": "Sami (Skolt) (Finland)",1511// "flagUrl": "",1512// "isDefault": false,1513// "isActive": false1514// },1515// {1516// "code": "se-FI",1517// "name": "Sami (Inari) (Finland)",1518// "flagUrl": "",1519// "isDefault": false,1520// "isActive": false1521// },1522// {1523// "code": "se-NO",1524// "name": "Sami (Northern) (Norway)",1525// "flagUrl": "",1526// "isDefault": false,1527// "isActive": false1528// },1529// {1530// "code": "se-NO",1531// "name": "Sami (Lule) (Norway)",1532// "flagUrl": "",1533// "isDefault": false,1534// "isActive": false1535// },1536// {1537// "code": "se-NO",1538// "name": "Sami (Southern) (Norway)",1539// "flagUrl": "",1540// "isDefault": false,1541// "isActive": false1542// },1543// {1544// "code": "se-SE",1545// "name": "Sami (Northern) (Sweden)",1546// "flagUrl": "",1547// "isDefault": false,1548// "isActive": false1549// },1550// {1551// "code": "se-SE",1552// "name": "Sami (Lule) (Sweden)",1553// "flagUrl": "",1554// "isDefault": false,1555// "isActive": false1556// },1557// {1558// "code": "se-SE",1559// "name": "Sami (Southern) (Sweden)",1560// "flagUrl": "",1561// "isDefault": false,1562// "isActive": false1563// },1564// {1565// "code": "sk",1566// "name": "Slovak",1567// "flagUrl": "",1568// "isDefault": false,1569// "isActive": false1570// },1571// {1572// "code": "sk-SK",1573// "name": "Slovak (Slovakia)",1574// "flagUrl": "",1575// "isDefault": false,1576// "isActive": false1577// },1578// {1579// "code": "sl",1580// "name": "Slovenian",1581// "flagUrl": "",1582// "isDefault": false,1583// "isActive": false1584// },1585// {1586// "code": "sl-SI",1587// "name": "Slovenian (Slovenia)",1588// "flagUrl": "",1589// "isDefault": false,1590// "isActive": false1591// },1592// {1593// "code": "sq",1594// "name": "Albanian",1595// "flagUrl": "",1596// "isDefault": false,1597// "isActive": false1598// },1599// {1600// "code": "sq-AL",1601// "name": "Albanian (Albania)",1602// "flagUrl": "",1603// "isDefault": false,1604// "isActive": false1605// },1606// {1607// "code": "sr-BA",1608// "name": "Serbian (Latin) (Bosnia and Herzegovina)",1609// "flagUrl": "",1610// "isDefault": false,1611// "isActive": false1612// },1613// {1614// "code": "sr-BA",1615// "name": "Serbian (Cyrillic) (Bosnia and Herzegovina)",1616// "flagUrl": "",1617// "isDefault": false,1618// "isActive": false1619// },1620// {1621// "code": "sr-SP",1622// "name": "Serbian (Latin) (Serbia and Montenegro)",1623// "flagUrl": "",1624// "isDefault": false,1625// "isActive": false1626// },1627// {1628// "code": "sr-SP",1629// "name": "Serbian (Cyrillic) (Serbia and Montenegro)",1630// "flagUrl": "",1631// "isDefault": false,1632// "isActive": false1633// },1634// {1635// "code": "sv",1636// "name": "Swedish",1637// "flagUrl": "",1638// "isDefault": false,1639// "isActive": false1640// },1641// {1642// "code": "sv-FI",1643// "name": "Swedish (Finland)",1644// "flagUrl": "",1645// "isDefault": false,1646// "isActive": false1647// },1648// {1649// "code": "sv-SE",1650// "name": "Swedish (Sweden)",1651// "flagUrl": "",1652// "isDefault": false,1653// "isActive": false1654// },1655// {1656// "code": "sw",1657// "name": "Swahili",1658// "flagUrl": "",1659// "isDefault": false,1660// "isActive": false1661// },1662// {1663// "code": "sw-KE",1664// "name": "Swahili (Kenya)",1665// "flagUrl": "",1666// "isDefault": false,1667// "isActive": false1668// },1669// {1670// "code": "syr",1671// "name": "Syriac",1672// "flagUrl": "",1673// "isDefault": false,1674// "isActive": false1675// },1676// {1677// "code": "syr-SY",1678// "name": "Syriac (Syria)",1679// "flagUrl": "",1680// "isDefault": false,1681// "isActive": false1682// },1683// {1684// "code": "ta",1685// "name": "Tamil",1686// "flagUrl": "",1687// "isDefault": false,1688// "isActive": false1689// },1690// {1691// "code": "ta-IN",1692// "name": "Tamil (India)",1693// "flagUrl": "",1694// "isDefault": false,1695// "isActive": false1696// },1697// {1698// "code": "te",1699// "name": "Telugu",1700// "flagUrl": "",1701// "isDefault": false,1702// "isActive": false1703// },1704// {1705// "code": "te-IN",1706// "name": "Telugu (India)",1707// "flagUrl": "",1708// "isDefault": false,1709// "isActive": false1710// },1711// {1712// "code": "th",1713// "name": "Thai",1714// "flagUrl": "",1715// "isDefault": false,1716// "isActive": false1717// },1718// {1719// "code": "th-TH",1720// "name": "Thai (Thailand)",1721// "flagUrl": "",1722// "isDefault": false,1723// "isActive": false1724// },1725// {1726// "code": "tl",1727// "name": "Tagalog",1728// "flagUrl": "",1729// "isDefault": false,1730// "isActive": false1731// },1732// {1733// "code": "tl-PH",1734// "name": "Tagalog (Philippines)",1735// "flagUrl": "",1736// "isDefault": false,1737// "isActive": false1738// },1739// {1740// "code": "tn",1741// "name": "Tswana",1742// "flagUrl": "",1743// "isDefault": false,1744// "isActive": false1745// },1746// {1747// "code": "tn-ZA",1748// "name": "Tswana (South Africa)",1749// "flagUrl": "",1750// "isDefault": false,1751// "isActive": false1752// },1753// {1754// "code": "tr",1755// "name": "Turkish",1756// "flagUrl": "",1757// "isDefault": false,1758// "isActive": false1759// },1760// {1761// "code": "tr-TR",1762// "name": "Turkish (Turkey)",1763// "flagUrl": "",1764// "isDefault": false,1765// "isActive": false1766// },1767// {1768// "code": "tt",1769// "name": "Tatar",1770// "flagUrl": "",1771// "isDefault": false,1772// "isActive": false1773// },1774// {1775// "code": "tt-RU",1776// "name": "Tatar (Russia)",1777// "flagUrl": "",1778// "isDefault": false,1779// "isActive": false1780// },1781// {1782// "code": "ts",1783// "name": "Tsonga",1784// "flagUrl": "",1785// "isDefault": false,1786// "isActive": false1787// },1788// {1789// "code": "uk",1790// "name": "Ukrainian",1791// "flagUrl": "",1792// "isDefault": false,1793// "isActive": false1794// },1795// {1796// "code": "uk-UA",1797// "name": "Ukrainian (Ukraine)",1798// "flagUrl": "",1799// "isDefault": false,1800// "isActive": false1801// },1802// {1803// "code": "ur",1804// "name": "Urdu",1805// "flagUrl": "",1806// "isDefault": false,1807// "isActive": false1808// },1809// {1810// "code": "ur-PK",1811// "name": "Urdu (Islamic Republic of Pakistan)",1812// "flagUrl": "",1813// "isDefault": false,1814// "isActive": false1815// },1816// {1817// "code": "uz",1818// "name": "Uzbek (Latin)",1819// "flagUrl": "",1820// "isDefault": false,1821// "isActive": false1822// },1823// {1824// "code": "uz-UZ",1825// "name": "Uzbek (Latin) (Uzbekistan)",1826// "flagUrl": "",1827// "isDefault": false,1828// "isActive": false1829// },1830// {1831// "code": "uz-UZ",1832// "name": "Uzbek (Cyrillic) (Uzbekistan)",1833// "flagUrl": "",1834// "isDefault": false,1835// "isActive": false1836// },1837// {1838// "code": "vi",1839// "name": "Vietnamese",1840// "flagUrl": "",1841// "isDefault": false,1842// "isActive": false1843// },1844// {1845// "code": "vi-VN",1846// "name": "Vietnamese (Viet Nam)",1847// "flagUrl": "",1848// "isDefault": false,1849// "isActive": false1850// },1851// {1852// "code": "xh",1853// "name": "Xhosa",1854// "flagUrl": "",1855// "isDefault": false,1856// "isActive": false1857// },1858// {1859// "code": "xh-ZA",1860// "name": "Xhosa (South Africa)",1861// "flagUrl": "",1862// "isDefault": false,1863// "isActive": false1864// },1865// {1866// "code": "zh",1867// "name": "Chinese",1868// "flagUrl": "",1869// "isDefault": false,1870// "isActive": false1871// },1872// {1873// "code": "zh-CN",1874// "name": "Chinese (S)",1875// "flagUrl": "",1876// "isDefault": false,1877// "isActive": false1878// },1879// {1880// "code": "zh-HK",1881// "name": "Chinese (Hong Kong)",1882// "flagUrl": "",1883// "isDefault": false,1884// "isActive": false1885// },1886// {1887// "code": "zh-MO",1888// "name": "Chinese (Macau)",1889// "flagUrl": "",1890// "isDefault": false,1891// "isActive": false1892// },1893// {1894// "code": "zh-SG",1895// "name": "Chinese (Singapore)",1896// "flagUrl": "",1897// "isDefault": false,1898// "isActive": false1899// },1900// {1901// "code": "zh-TW",1902// "name": "Chinese (T)",1903// "flagUrl": "",1904// "isDefault": false,1905// "isActive": false1906// },1907// {1908// "code": "zu",1909// "name": "Zulu",1910// "flagUrl": "",1911// "isDefault": false,1912// "isActive": false1913// },1914// {1915// "code": "zu-ZA",1916// "name": "Zulu (South Africa)",1917// "flagUrl": "",1918// "isDefault": false,1919// "isActive": false1920// }...

Full Screen

Full Screen

find-parent-recursively.js

Source:find-parent-recursively.js Github

copy

Full Screen

1let categoryTree =2{3 "categoryTreeElements": [4 {5 "isActive": null,6 "isMainCategory": null,7 "categoryId": 24551,8 "categoryName": "Adok-veszek",9 "children": [10 {11 "isActive": true,12 "isMainCategory": true,13 "categoryId": 24552,14 "categoryName": "Input alapanyag",15 "children": [16 {17 "isActive": true,18 "isMainCategory": false,19 "categoryId": 190851,20 "categoryName": "Termésnövelő",21 "children": [22 ],23 "identifier": "AV_2"24 },25 {26 "isActive": true,27 "isMainCategory": false,28 "categoryId": 190852,29 "categoryName": "Zöldségnövény",30 "children": [31 ],32 "identifier": "AV_3"33 },34 {35 "isActive": true,36 "isMainCategory": false,37 "categoryId": 190853,38 "categoryName": "Gyümölcs",39 "children": [40 ],41 "identifier": "AV_4"42 },43 {44 "isActive": true,45 "isMainCategory": false,46 "categoryId": 190854,47 "categoryName": "Szőlő",48 "children": [49 ],50 "identifier": "AV_5"51 },52 {53 "isActive": true,54 "isMainCategory": false,55 "categoryId": 190855,56 "categoryName": "Dísznövény",57 "children": [58 ],59 "identifier": "AV_6"60 },61 {62 "isActive": true,63 "isMainCategory": false,64 "categoryId": 190856,65 "categoryName": "Egyéb Input alapanyag",66 "children": [67 ],68 "identifier": "AV_7"69 }70 ],71 "identifier": "AV_1"72 },73 {74 "isActive": true,75 "isMainCategory": true,76 "categoryId": 24553,77 "categoryName": "Termény",78 "children": [79 {80 "isActive": true,81 "isMainCategory": false,82 "categoryId": 190857,83 "categoryName": "Szántóföldi kultúra",84 "children": [85 ],86 "identifier": "AV_9"87 },88 {89 "isActive": true,90 "isMainCategory": false,91 "categoryId": 190858,92 "categoryName": "Takarmány",93 "children": [94 ],95 "identifier": "AV_10"96 },97 {98 "isActive": true,99 "isMainCategory": false,100 "categoryId": 190859,101 "categoryName": "Zöldség áru",102 "children": [103 ],104 "identifier": "AV_11"105 },106 {107 "isActive": true,108 "isMainCategory": false,109 "categoryId": 190860,110 "categoryName": "Gyümölcs áru",111 "children": [112 ],113 "identifier": "AV_12"114 },115 {116 "isActive": true,117 "isMainCategory": false,118 "categoryId": 190861,119 "categoryName": "Szőlő áru",120 "children": [121 ],122 "identifier": "AV_13"123 },124 {125 "isActive": true,126 "isMainCategory": false,127 "categoryId": 190862,128 "categoryName": "Dísznövény áru",129 "children": [130 ],131 "identifier": "AV_14"132 },133 {134 "isActive": true,135 "isMainCategory": false,136 "categoryId": 190863,137 "categoryName": "Erdészeti áru",138 "children": [139 ],140 "identifier": "AV_15"141 },142 {143 "isActive": true,144 "isMainCategory": false,145 "categoryId": 190864,146 "categoryName": "Egyéb termény",147 "children": [148 ],149 "identifier": "AV_16"150 }151 ],152 "identifier": "AV_8"153 },154 {155 "isActive": true,156 "isMainCategory": true,157 "categoryId": 24554,158 "categoryName": "Állat",159 "children": [160 {161 "isActive": true,162 "isMainCategory": false,163 "categoryId": 190865,164 "categoryName": "Sertés",165 "children": [166 ],167 "identifier": "AV_18"168 },169 {170 "isActive": true,171 "isMainCategory": false,172 "categoryId": 190866,173 "categoryName": "Húshasznú szarvasmarha",174 "children": [175 ],176 "identifier": "AV_19"177 },178 {179 "isActive": true,180 "isMainCategory": false,181 "categoryId": 190867,182 "categoryName": "Tej és kettőshasznú szarvasmarha",183 "children": [184 ],185 "identifier": "AV_20"186 },187 {188 "isActive": true,189 "isMainCategory": false,190 "categoryId": 190868,191 "categoryName": "Baromfi",192 "children": [193 ],194 "identifier": "AV_21"195 },196 {197 "isActive": true,198 "isMainCategory": false,199 "categoryId": 190869,200 "categoryName": "Ló, Lóféle",201 "children": [202 ],203 "identifier": "AV_22"204 },205 {206 "isActive": true,207 "isMainCategory": false,208 "categoryId": 190870,209 "categoryName": "Juh, kecske",210 "children": [211 ],212 "identifier": "AV_23"213 },214 {215 "isActive": true,216 "isMainCategory": false,217 "categoryId": 190871,218 "categoryName": "Nyúl és prémesállat",219 "children": [220 ],221 "identifier": "AV_24"222 },223 {224 "isActive": true,225 "isMainCategory": false,226 "categoryId": 190872,227 "categoryName": "Egyéb haszonállat",228 "children": [229 ],230 "identifier": "AV_25"231 }232 ],233 "identifier": "AV_17"234 },235 {236 "isActive": true,237 "isMainCategory": true,238 "categoryId": 24555,239 "categoryName": "Gép",240 "children": [241 {242 "isActive": true,243 "isMainCategory": false,244 "categoryId": 190873,245 "categoryName": "Traktor",246 "children": [247 ],248 "identifier": "AV_27"249 },250 {251 "isActive": true,252 "isMainCategory": false,253 "categoryId": 190874,254 "categoryName": "Magajáró gép",255 "children": [256 ],257 "identifier": "AV_28"258 },259 {260 "isActive": true,261 "isMainCategory": false,262 "categoryId": 190875,263 "categoryName": "Talajművelő, földmunkagép",264 "children": [265 ],266 "identifier": "AV_29"267 },268 {269 "isActive": true,270 "isMainCategory": false,271 "categoryId": 190876,272 "categoryName": "Vető és ültetőgép",273 "children": [274 ],275 "identifier": "AV_30"276 },277 {278 "isActive": true,279 "isMainCategory": false,280 "categoryId": 190877,281 "categoryName": "Növényvédő, trágyázó gép",282 "children": [283 ],284 "identifier": "AV_31"285 },286 {287 "isActive": true,288 "isMainCategory": false,289 "categoryId": 190878,290 "categoryName": "Betakarítógép adapter",291 "children": [292 ],293 "identifier": "AV_32"294 },295 {296 "isActive": true,297 "isMainCategory": false,298 "categoryId": 190879,299 "categoryName": "Álló- és vegyes munkagép",300 "children": [301 ],302 "identifier": "AV_33"303 },304 {305 "isActive": true,306 "isMainCategory": false,307 "categoryId": 190880,308 "categoryName": "Öntözés gép, berendezés",309 "children": [310 ],311 "identifier": "AV_34"312 },313 {314 "isActive": true,315 "isMainCategory": false,316 "categoryId": 190881,317 "categoryName": "Szállítógép, anyagmozgató",318 "children": [319 ],320 "identifier": "AV_35"321 },322 {323 "isActive": true,324 "isMainCategory": false,325 "categoryId": 190882,326 "categoryName": "Elsődleges feldolgozó gép",327 "children": [328 ],329 "identifier": "AV_36"330 },331 {332 "isActive": true,333 "isMainCategory": false,334 "categoryId": 190883,335 "categoryName": "Növénytárolási gép",336 "children": [337 ],338 "identifier": "AV_37"339 },340 {341 "isActive": true,342 "isMainCategory": false,343 "categoryId": 190884,344 "categoryName": "Állattartási stabil gép",345 "children": [346 ],347 "identifier": "AV_38"348 },349 {350 "isActive": true,351 "isMainCategory": false,352 "categoryId": 190885,353 "categoryName": "Majori gépek",354 "children": [355 ],356 "identifier": "AV_39"357 },358 {359 "isActive": true,360 "isMainCategory": false,361 "categoryId": 190886,362 "categoryName": "Erdészeti gép, berendezés",363 "children": [364 ],365 "identifier": "AV_40"366 },367 {368 "isActive": true,369 "isMainCategory": false,370 "categoryId": 190887,371 "categoryName": "Háztáji gép, szerszám",372 "children": [373 ],374 "identifier": "AV_41"375 },376 {377 "isActive": true,378 "isMainCategory": false,379 "categoryId": 190888,380 "categoryName": "Agrárium egyéb gépei",381 "children": [382 ],383 "identifier": "AV_42"384 }385 ],386 "identifier": "AV_26"387 },388 {389 "isActive": true,390 "isMainCategory": true,391 "categoryId": 24556,392 "categoryName": "Szolgáltatás",393 "children": [394 {395 "isActive": true,396 "isMainCategory": false,397 "categoryId": 190889,398 "categoryName": "Fuvarozás",399 "children": [400 ],401 "identifier": "AV_44"402 },403 {404 "isActive": true,405 "isMainCategory": false,406 "categoryId": 190890,407 "categoryName": "Bérgépes szolgáltatás",408 "children": [409 ],410 "identifier": "AV_45"411 },412 {413 "isActive": true,414 "isMainCategory": false,415 "categoryId": 190891,416 "categoryName": "Pályázatírás",417 "children": [418 ],419 "identifier": "AV_46"420 },421 {422 "isActive": true,423 "isMainCategory": false,424 "categoryId": 190892,425 "categoryName": "Mezőgazdasági adminisztráció",426 "children": [427 ],428 "identifier": "AV_47"429 },430 {431 "isActive": true,432 "isMainCategory": false,433 "categoryId": 190893,434 "categoryName": "Könyvelői szolgáltatás",435 "children": [436 ],437 "identifier": "AV_48"438 },439 {440 "isActive": true,441 "isMainCategory": false,442 "categoryId": 190894,443 "categoryName": "Javítás, szerelés",444 "children": [445 ],446 "identifier": "AV_49"447 },448 {449 "isActive": true,450 "isMainCategory": false,451 "categoryId": 190895,452 "categoryName": "Ügyvédi szolgáltatás",453 "children": [454 ],455 "identifier": "AV_50"456 },457 {458 "isActive": true,459 "isMainCategory": false,460 "categoryId": 190896,461 "categoryName": "Kétkezi segédmunka",462 "children": [463 ],464 "identifier": "AV_51"465 },466 {467 "isActive": true,468 "isMainCategory": false,469 "categoryId": 190897,470 "categoryName": "Termény bérraktározása",471 "children": [472 ],473 "identifier": "AV_52"474 },475 {476 "isActive": true,477 "isMainCategory": false,478 "categoryId": 190898,479 "categoryName": "Egyéb szolgáltatás",480 "children": [481 ],482 "identifier": "AV_53"483 }484 ],485 "identifier": "AV_43"486 },487 {488 "isActive": true,489 "isMainCategory": true,490 "categoryId": 24557,491 "categoryName": "Kellék",492 "children": [493 {494 "isActive": true,495 "isMainCategory": false,496 "categoryId": 190899,497 "categoryName": "Karó, támaszték",498 "children": [499 ],500 "identifier": "AV_55"501 },502 {503 "isActive": true,504 "isMainCategory": false,505 "categoryId": 190900,506 "categoryName": "Csomagoló",507 "children": [508 ],509 "identifier": "AV_56"510 },511 {512 "isActive": true,513 "isMainCategory": false,514 "categoryId": 190901,515 "categoryName": "Etikett",516 "children": [517 ],518 "identifier": "AV_57"519 },520 {521 "isActive": true,522 "isMainCategory": false,523 "categoryId": 190902,524 "categoryName": "Törzsvédő",525 "children": [526 ],527 "identifier": "AV_58"528 },529 {530 "isActive": true,531 "isMainCategory": false,532 "categoryId": 190903,533 "categoryName": "Gyomtakaró",534 "children": [535 ],536 "identifier": "AV_59"537 },538 {539 "isActive": true,540 "isMainCategory": false,541 "categoryId": 190904,542 "categoryName": "Árnyékoló",543 "children": [544 ],545 "identifier": "AV_60"546 },547 {548 "isActive": true,549 "isMainCategory": false,550 "categoryId": 190905,551 "categoryName": "Oltó, szemző anyag",552 "children": [553 ],554 "identifier": "AV_61"555 },556 {557 "isActive": true,558 "isMainCategory": false,559 "categoryId": 190906,560 "categoryName": "Szerszámok",561 "children": [562 ],563 "identifier": "AV_62"564 },565 {566 "isActive": true,567 "isMainCategory": false,568 "categoryId": 190907,569 "categoryName": "Kézi permetezők",570 "children": [571 ],572 "identifier": "AV_63"573 },574 {575 "isActive": true,576 "isMainCategory": false,577 "categoryId": 190908,578 "categoryName": "Neveléshez anyag",579 "children": [580 ],581 "identifier": "AV_64"582 },583 {584 "isActive": true,585 "isMainCategory": false,586 "categoryId": 190909,587 "categoryName": "CC kocsik",588 "children": [589 ],590 "identifier": "AV_65"591 },592 {593 "isActive": true,594 "isMainCategory": false,595 "categoryId": 190910,596 "categoryName": "Csapda, feromon",597 "children": [598 ],599 "identifier": "AV_66"600 },601 {602 "isActive": true,603 "isMainCategory": false,604 "categoryId": 190911,605 "categoryName": "Karácsonyfa csomagoló",606 "children": [607 ],608 "identifier": "AV_67"609 },610 {611 "isActive": true,612 "isMainCategory": false,613 "categoryId": 190912,614 "categoryName": "Üvegház, fóliasátor",615 "children": [616 ],617 "identifier": "AV_68"618 },619 {620 "isActive": true,621 "isMainCategory": false,622 "categoryId": 190913,623 "categoryName": "Nevelőedény",624 "children": [625 ],626 "identifier": "AV_69"627 },628 {629 "isActive": true,630 "isMainCategory": false,631 "categoryId": 190914,632 "categoryName": "Egyéb kellék",633 "children": [634 ],635 "identifier": "AV_70"636 }637 ],638 "identifier": "AV_54"639 },640 {641 "isActive": false,642 "isMainCategory": true,643 "categoryId": 24558,644 "categoryName": "Ingatlan",645 "children": [646 {647 "isActive": true,648 "isMainCategory": false,649 "categoryId": 190915,650 "categoryName": "Birtok ",651 "children": [652 ],653 "identifier": "AV_72"654 },655 {656 "isActive": true,657 "isMainCategory": false,658 "categoryId": 190916,659 "categoryName": "Rét ",660 "children": [661 ],662 "identifier": "AV_73"663 },664 {665 "isActive": true,666 "isMainCategory": false,667 "categoryId": 190917,668 "categoryName": "Erdő ",669 "children": [670 ],671 "identifier": "AV_74"672 },673 {674 "isActive": true,675 "isMainCategory": false,676 "categoryId": 190918,677 "categoryName": "Fóliaház ",678 "children": [679 ],680 "identifier": "AV_75"681 },682 {683 "isActive": true,684 "isMainCategory": false,685 "categoryId": 190919,686 "categoryName": "Földterület ",687 "children": [688 ],689 "identifier": "AV_76"690 },691 {692 "isActive": true,693 "isMainCategory": false,694 "categoryId": 190920,695 "categoryName": "Gazdasági épület ",696 "children": [697 ],698 "identifier": "AV_77"699 },700 {701 "isActive": true,702 "isMainCategory": false,703 "categoryId": 190921,704 "categoryName": "Gyümölcsös ",705 "children": [706 ],707 "identifier": "AV_78"708 },709 {710 "isActive": true,711 "isMainCategory": false,712 "categoryId": 190922,713 "categoryName": "Szántó ",714 "children": [715 ],716 "identifier": "AV_79"717 },718 {719 "isActive": true,720 "isMainCategory": false,721 "categoryId": 190923,722 "categoryName": "Ház ",723 "children": [724 ],725 "identifier": "AV_80"726 },727 {728 "isActive": true,729 "isMainCategory": false,730 "categoryId": 190924,731 "categoryName": "Legelő ",732 "children": [733 ],734 "identifier": "AV_81"735 },736 {737 "isActive": true,738 "isMainCategory": false,739 "categoryId": 190925,740 "categoryName": "Szőlő",741 "children": [742 ],743 "identifier": "AV_82"744 },745 {746 "isActive": true,747 "isMainCategory": false,748 "categoryId": 190926,749 "categoryName": "Halastó",750 "children": [751 ],752 "identifier": "AV_83"753 },754 {755 "isActive": true,756 "isMainCategory": false,757 "categoryId": 190927,758 "categoryName": "Egyéb ingatlan ",759 "children": [760 ],761 "identifier": "AV_84"762 }763 ],764 "identifier": "AV_71"765 },766 {767 "isActive": false,768 "isMainCategory": true,769 "categoryId": 24559,770 "categoryName": "Alkatrész",771 "children": [772 {773 "isActive": true,774 "isMainCategory": false,775 "categoryId": 190928,776 "categoryName": "Szíj, szíjtárcsa",777 "children": [778 ],779 "identifier": "AV_86"780 },781 {782 "isActive": true,783 "isMainCategory": false,784 "categoryId": 190929,785 "categoryName": "Lánc, lánckerék",786 "children": [787 ],788 "identifier": "AV_87"789 },790 {791 "isActive": true,792 "isMainCategory": false,793 "categoryId": 190930,794 "categoryName": "Kardán, hajlékony tengely",795 "children": [796 ],797 "identifier": "AV_88"798 },799 {800 "isActive": true,801 "isMainCategory": false,802 "categoryId": 190931,803 "categoryName": "Hidraulikai elem",804 "children": [805 ],806 "identifier": "AV_89"807 },808 {809 "isActive": true,810 "isMainCategory": false,811 "categoryId": 190932,812 "categoryName": "Gördülő csapágy",813 "children": [814 ],815 "identifier": "AV_90"816 },817 {818 "isActive": true,819 "isMainCategory": false,820 "categoryId": 190933,821 "categoryName": "Beálló -, spec. csapágy",822 "children": [823 ],824 "identifier": "AV_91"825 },826 {827 "isActive": true,828 "isMainCategory": false,829 "categoryId": 190934,830 "categoryName": "Persely, csukló",831 "children": [832 ],833 "identifier": "AV_92"834 },835 {836 "isActive": true,837 "isMainCategory": false,838 "categoryId": 190935,839 "categoryName": "Szűrő (olaj, levegő)",840 "children": [841 ],842 "identifier": "AV_93"843 },844 {845 "isActive": true,846 "isMainCategory": false,847 "categoryId": 190936,848 "categoryName": "Tömítés, simering",849 "children": [850 ],851 "identifier": "AV_94"852 },853 {854 "isActive": true,855 "isMainCategory": false,856 "categoryId": 190937,857 "categoryName": "Tárcsalap",858 "children": [859 ],860 "identifier": "AV_95"861 },862 {863 "isActive": true,864 "isMainCategory": false,865 "categoryId": 190938,866 "categoryName": "Ekevas, eke alkatrész",867 "children": [868 ],869 "identifier": "AV_96"870 },871 {872 "isActive": true,873 "isMainCategory": false,874 "categoryId": 190939,875 "categoryName": "Talajművelő kés, kapa",876 "children": [877 ],878 "identifier": "AV_97"879 },880 {881 "isActive": true,882 "isMainCategory": false,883 "categoryId": 190940,884 "categoryName": "Kaszapenge, kés, kalapács",885 "children": [886 ],887 "identifier": "AV_98"888 },889 {890 "isActive": true,891 "isMainCategory": false,892 "categoryId": 190941,893 "categoryName": "Villamossági termék",894 "children": [895 ],896 "identifier": "AV_99"897 },898 {899 "isActive": true,900 "isMainCategory": false,901 "categoryId": 190942,902 "categoryName": "Permetező alkatrész",903 "children": [904 ],905 "identifier": "AV_100"906 },907 {908 "isActive": true,909 "isMainCategory": false,910 "categoryId": 190943,911 "categoryName": "Egyéb alkatrész",912 "children": [913 ],914 "identifier": "AV_101"915 }916 ],917 "identifier": "AV_85"918 }919 ],920 "identifier": null921 }922 ]923}924let recursive = (category) => {925 console.log(category.categoryName);926 if (category.children != null && category.children.length > 0) {927 category.children.forEach(element => {928 recursive(element)929 });930 }...

Full Screen

Full Screen

userMock.ts

Source:userMock.ts Github

copy

Full Screen

1export default [2 {3 firstName: 'Olag',4 lastName: 'Turney',5 email: 'oturney0@qq.com',6 gender: 'Male',7 isActive: false,8 },9 {10 firstName: 'Arne',11 lastName: 'Reddings',12 email: 'areddings1@deviantart.com',13 gender: 'Male',14 isActive: true,15 },16 {17 firstName: 'Milli',18 lastName: 'Stockney',19 email: 'mstockney2@usgs.gov',20 gender: 'Female',21 isActive: true,22 },23 {24 firstName: 'Tani',25 lastName: 'Hissett',26 email: 'thissett3@howstuffworks.com',27 gender: 'Female',28 isActive: false,29 },30 {31 firstName: 'Emmy',32 lastName: 'Macartney',33 email: 'emacartney4@discovery.com',34 gender: 'Male',35 isActive: true,36 },37 {38 firstName: 'Anthia',39 lastName: 'Yitzovitz',40 email: 'ayitzovitz5@elpais.com',41 gender: 'Female',42 isActive: false,43 },44 {45 firstName: 'Paquito',46 lastName: 'Fallawe',47 email: 'pfallawe6@indiatimes.com',48 gender: 'Male',49 isActive: true,50 },51 {52 firstName: 'Timmi',53 lastName: 'Stuckford',54 email: 'tstuckford7@networksolutions.com',55 gender: 'Female',56 isActive: false,57 },58 {59 firstName: 'Bevvy',60 lastName: 'Ettery',61 email: 'bettery8@yahoo.co.jp',62 gender: 'Female',63 isActive: false,64 },65 {66 firstName: 'Robby',67 lastName: 'Farrears',68 email: 'rfarrears9@miitbeian.gov.cn',69 gender: 'Female',70 isActive: false,71 },72 {73 firstName: 'Brandise',74 lastName: 'Bussey',75 email: 'bbusseya@topsy.com',76 gender: 'Female',77 isActive: false,78 },79 {80 firstName: 'Dev',81 lastName: 'Byatt',82 email: 'dbyattb@livejournal.com',83 gender: 'Male',84 isActive: true,85 },86 {87 firstName: 'June',88 lastName: 'Lattie',89 email: 'jlattiec@wikispaces.com',90 gender: 'Agender',91 isActive: true,92 },93 {94 firstName: 'Sonny',95 lastName: 'Tretter',96 email: 'stretterd@cbc.ca',97 gender: 'Female',98 isActive: true,99 },100 {101 firstName: 'Elwira',102 lastName: 'Spicer',103 email: 'espicere@nbcnews.com',104 gender: 'Female',105 isActive: false,106 },107 {108 firstName: 'Selina',109 lastName: 'Filkin',110 email: 'sfilkinf@opensource.org',111 gender: 'Genderqueer',112 isActive: true,113 },114 {115 firstName: 'Sonya',116 lastName: 'Hatchett',117 email: 'shatchettg@uiuc.edu',118 gender: 'Female',119 isActive: false,120 },121 {122 firstName: 'Timothea',123 lastName: 'Low',124 email: 'tlowh@army.mil',125 gender: 'Female',126 isActive: true,127 },128 {129 firstName: 'Una',130 lastName: 'Easby',131 email: 'ueasbyi@umn.edu',132 gender: 'Female',133 isActive: false,134 },135 {136 firstName: 'Brande',137 lastName: 'Attkins',138 email: 'battkinsj@cbslocal.com',139 gender: 'Female',140 isActive: false,141 },142 {143 firstName: 'Fidel',144 lastName: 'Harfoot',145 email: 'fharfootk@hostgator.com',146 gender: 'Agender',147 isActive: false,148 },149 {150 firstName: 'Llewellyn',151 lastName: 'Rosten',152 email: 'lrostenl@github.com',153 gender: 'Male',154 isActive: false,155 },156 {157 firstName: 'Thacher',158 lastName: 'Pattison',159 email: 'tpattisonm@blog.com',160 gender: 'Male',161 isActive: false,162 },163 {164 firstName: 'Mercy',165 lastName: 'Swinburne',166 email: 'mswinburnen@prnewswire.com',167 gender: 'Female',168 isActive: false,169 },170 {171 firstName: 'Lizette',172 lastName: 'Kinlock',173 email: 'lkinlocko@list-manage.com',174 gender: 'Female',175 isActive: true,176 },177 {178 firstName: 'Zulema',179 lastName: 'Pauletto',180 email: 'zpaulettop@miitbeian.gov.cn',181 gender: 'Female',182 isActive: true,183 },184 {185 firstName: 'Hewie',186 lastName: 'Roos',187 email: 'hroosq@spiegel.de',188 gender: 'Male',189 isActive: false,190 },191 {192 firstName: 'Carlin',193 lastName: 'Chazelas',194 email: 'cchazelasr@unesco.org',195 gender: 'Female',196 isActive: false,197 },198 {199 firstName: 'Feliks',200 lastName: 'De Ferrari',201 email: 'fdeferraris@yellowbook.com',202 gender: 'Male',203 isActive: false,204 },205 {206 firstName: 'Kim',207 lastName: 'Genders',208 email: 'kgenderst@newyorker.com',209 gender: 'Male',210 isActive: true,211 },212 {213 firstName: 'Carmine',214 lastName: 'Masselin',215 email: 'cmasselinu@aboutads.info',216 gender: 'Male',217 isActive: false,218 },219 {220 firstName: 'Sanford',221 lastName: 'Sparey',222 email: 'sspareyv@drupal.org',223 gender: 'Male',224 isActive: true,225 },226 {227 firstName: 'Shane',228 lastName: 'Ranklin',229 email: 'sranklinw@facebook.com',230 gender: 'Male',231 isActive: true,232 },233 {234 firstName: 'Tanitansy',235 lastName: 'Callway',236 email: 'tcallwayx@sphinn.com',237 gender: 'Female',238 isActive: false,239 },240 {241 firstName: 'Karney',242 lastName: 'Tattershaw',243 email: 'ktattershawy@histats.com',244 gender: 'Male',245 isActive: true,246 },247 {248 firstName: 'Lindsay',249 lastName: 'Berthot',250 email: 'lberthotz@usgs.gov',251 gender: 'Male',252 isActive: true,253 },254 {255 firstName: 'Melodee',256 lastName: 'Duchasteau',257 email: 'mduchasteau10@blogtalkradio.com',258 gender: 'Female',259 isActive: false,260 },261 {262 firstName: 'Rad',263 lastName: 'Cumberledge',264 email: 'rcumberledge11@sun.com',265 gender: 'Male',266 isActive: true,267 },268 {269 firstName: 'Shoshanna',270 lastName: 'Lanney',271 email: 'slanney12@arizona.edu',272 gender: 'Female',273 isActive: true,274 },275 {276 firstName: 'Renaldo',277 lastName: 'Jamot',278 email: 'rjamot13@technorati.com',279 gender: 'Male',280 isActive: false,281 },282 {283 firstName: 'Vita',284 lastName: 'Huddy',285 email: 'vhuddy14@huffingtonpost.com',286 gender: 'Female',287 isActive: false,288 },289 {290 firstName: 'Bryanty',291 lastName: 'Carville',292 email: 'bcarville15@who.int',293 gender: 'Male',294 isActive: true,295 },296 {297 firstName: 'Gussi',298 lastName: 'Murrey',299 email: 'gmurrey16@blogspot.com',300 gender: 'Female',301 isActive: false,302 },303 {304 firstName: 'Artie',305 lastName: 'Bend',306 email: 'abend17@yelp.com',307 gender: 'Male',308 isActive: true,309 },310 {311 firstName: 'Reamonn',312 lastName: 'Moorhouse',313 email: 'rmoorhouse18@bravesites.com',314 gender: 'Male',315 isActive: true,316 },317 {318 firstName: 'Byram',319 lastName: 'Paul',320 email: 'bpaul19@tinypic.com',321 gender: 'Male',322 isActive: true,323 },324 {325 firstName: 'Sergeant',326 lastName: 'Reddings',327 email: 'sreddings1a@hao123.com',328 gender: 'Male',329 isActive: true,330 },331 {332 firstName: 'Rhiamon',333 lastName: 'Fuentes',334 email: 'rfuentes1b@hugedomains.com',335 gender: 'Female',336 isActive: false,337 },338 {339 firstName: 'Cynthie',340 lastName: 'MacAlpyne',341 email: 'cmacalpyne1c@intel.com',342 gender: 'Female',343 isActive: false,344 },345 {346 firstName: 'Kaine',347 lastName: 'Records',348 email: 'krecords1d@epa.gov',349 gender: 'Male',350 isActive: true,351 },352 {353 firstName: 'Gerta',354 lastName: 'Haborn',355 email: 'ghaborn1e@feedburner.com',356 gender: 'Female',357 isActive: false,358 },359 {360 firstName: 'Husain',361 lastName: 'Patesel',362 email: 'hpatesel1f@sciencedaily.com',363 gender: 'Male',364 isActive: false,365 },366 {367 firstName: 'Dode',368 lastName: 'Handaside',369 email: 'dhandaside1g@amazon.co.jp',370 gender: 'Female',371 isActive: true,372 },373 {374 firstName: 'Bethina',375 lastName: 'Babcock',376 email: 'bbabcock1h@digg.com',377 gender: 'Female',378 isActive: true,379 },380 {381 firstName: 'Ian',382 lastName: 'Wimpeney',383 email: 'iwimpeney1i@utexas.edu',384 gender: 'Male',385 isActive: true,386 },387 {388 firstName: 'Ludvig',389 lastName: 'Poulter',390 email: 'lpoulter1j@google.cn',391 gender: 'Male',392 isActive: true,393 },394 {395 firstName: 'Lindsey',396 lastName: 'Donet',397 email: 'ldonet1k@alibaba.com',398 gender: 'Male',399 isActive: true,400 },401 {402 firstName: 'Sterne',403 lastName: 'Debrett',404 email: 'sdebrett1l@indiatimes.com',405 gender: 'Male',406 isActive: true,407 },408 {409 firstName: 'Levey',410 lastName: 'Jenteau',411 email: 'ljenteau1m@tripod.com',412 gender: 'Male',413 isActive: false,414 },415 {416 firstName: 'Bert',417 lastName: 'Sealand',418 email: 'bsealand1n@soundcloud.com',419 gender: 'Female',420 isActive: true,421 },422 {423 firstName: 'Saudra',424 lastName: 'Claris',425 email: 'sclaris1o@1und1.de',426 gender: 'Female',427 isActive: true,428 },429 {430 firstName: 'Marmaduke',431 lastName: 'Mottershaw',432 email: 'mmottershaw1p@amazon.co.jp',433 gender: 'Polygender',434 isActive: false,435 },436 {437 firstName: 'Whitney',438 lastName: 'Stegers',439 email: 'wstegers1q@amazon.de',440 gender: 'Male',441 isActive: true,442 },443 {444 firstName: 'Art',445 lastName: 'Nursey',446 email: 'anursey1r@stanford.edu',447 gender: 'Polygender',448 isActive: true,449 },450 {451 firstName: 'Vyky',452 lastName: 'Preist',453 email: 'vpreist1s@mysql.com',454 gender: 'Female',455 isActive: true,456 },457 {458 firstName: 'Priscella',459 lastName: 'Outright',460 email: 'poutright1t@sciencedaily.com',461 gender: 'Female',462 isActive: true,463 },464 {465 firstName: 'Gray',466 lastName: 'Twomey',467 email: 'gtwomey1u@g.co',468 gender: 'Female',469 isActive: true,470 },471 {472 firstName: 'Celie',473 lastName: 'Bullock',474 email: 'cbullock1v@walmart.com',475 gender: 'Female',476 isActive: true,477 },478 {479 firstName: 'Elke',480 lastName: 'Goodlet',481 email: 'egoodlet1w@oakley.com',482 gender: 'Female',483 isActive: false,484 },485 {486 firstName: 'Tedra',487 lastName: 'Spaven',488 email: 'tspaven1x@hubpages.com',489 gender: 'Female',490 isActive: false,491 },492 {493 firstName: 'Norrie',494 lastName: 'Date',495 email: 'ndate1y@shop-pro.jp',496 gender: 'Female',497 isActive: true,498 },499 {500 firstName: 'Gracia',501 lastName: 'Lillford',502 email: 'glillford1z@flavors.me',503 gender: 'Female',504 isActive: true,505 },506 {507 firstName: 'Terry',508 lastName: 'Scoates',509 email: 'tscoates20@eventbrite.com',510 gender: 'Female',511 isActive: true,512 },513 {514 firstName: 'Winna',515 lastName: 'Thrift',516 email: 'wthrift21@yellowpages.com',517 gender: 'Female',518 isActive: false,519 },520 {521 firstName: 'Clemmie',522 lastName: 'Sutor',523 email: 'csutor22@paypal.com',524 gender: 'Female',525 isActive: false,526 },527 {528 firstName: 'Maude',529 lastName: 'Goshawke',530 email: 'mgoshawke23@google.fr',531 gender: 'Female',532 isActive: true,533 },534 {535 firstName: 'Maiga',536 lastName: 'Perfili',537 email: 'mperfili24@mozilla.org',538 gender: 'Female',539 isActive: false,540 },541 {542 firstName: 'Alexi',543 lastName: 'Rawstorn',544 email: 'arawstorn25@sciencedirect.com',545 gender: 'Female',546 isActive: false,547 },548 {549 firstName: 'Karlis',550 lastName: 'Peniello',551 email: 'kpeniello26@elpais.com',552 gender: 'Male',553 isActive: true,554 },555 {556 firstName: 'Zollie',557 lastName: 'McMychem',558 email: 'zmcmychem27@accuweather.com',559 gender: 'Polygender',560 isActive: false,561 },562 {563 firstName: 'Augustina',564 lastName: 'Emmot',565 email: 'aemmot28@statcounter.com',566 gender: 'Female',567 isActive: false,568 },569 {570 firstName: 'Catina',571 lastName: 'Woodall',572 email: 'cwoodall29@google.nl',573 gender: 'Female',574 isActive: true,575 },576 {577 firstName: 'Cherilynn',578 lastName: 'Lerohan',579 email: 'clerohan2a@tiny.cc',580 gender: 'Female',581 isActive: true,582 },583 {584 firstName: 'Colette',585 lastName: 'Daniello',586 email: 'cdaniello2b@mashable.com',587 gender: 'Female',588 isActive: false,589 },590 {591 firstName: 'Pincas',592 lastName: 'Handyside',593 email: 'phandyside2c@acquirethisname.com',594 gender: 'Male',595 isActive: false,596 },597 {598 firstName: 'Carina',599 lastName: 'Lumb',600 email: 'clumb2d@diigo.com',601 gender: 'Female',602 isActive: true,603 },604 {605 firstName: 'Shaine',606 lastName: 'Hallawell',607 email: 'shallawell2e@samsung.com',608 gender: 'Male',609 isActive: true,610 },611 {612 firstName: 'Caterina',613 lastName: 'Kidde',614 email: 'ckidde2f@over-blog.com',615 gender: 'Female',616 isActive: false,617 },618 {619 firstName: 'Annadiana',620 lastName: 'Montrose',621 email: 'amontrose2g@patch.com',622 gender: 'Female',623 isActive: true,624 },625 {626 firstName: 'Darleen',627 lastName: 'McGlaud',628 email: 'dmcglaud2h@biblegateway.com',629 gender: 'Female',630 isActive: true,631 },632 {633 firstName: 'Thekla',634 lastName: 'Lepope',635 email: 'tlepope2i@bizjournals.com',636 gender: 'Female',637 isActive: true,638 },639 {640 firstName: 'Gayla',641 lastName: 'Baudoux',642 email: 'gbaudoux2j@un.org',643 gender: 'Agender',644 isActive: false,645 },646 {647 firstName: 'Portie',648 lastName: 'Curman',649 email: 'pcurman2k@flickr.com',650 gender: 'Male',651 isActive: false,652 },653 {654 firstName: 'Garrott',655 lastName: 'Lorenzin',656 email: 'glorenzin2l@google.it',657 gender: 'Male',658 isActive: false,659 },660 {661 firstName: 'Harley',662 lastName: 'Jaggi',663 email: 'hjaggi2m@thetimes.co.uk',664 gender: 'Male',665 isActive: true,666 },667 {668 firstName: 'Ninon',669 lastName: 'Durram',670 email: 'ndurram2n@people.com.cn',671 gender: 'Female',672 isActive: false,673 },674 {675 firstName: 'Blair',676 lastName: 'Horstead',677 email: 'bhorstead2o@dailymail.co.uk',678 gender: 'Female',679 isActive: true,680 },681 {682 firstName: 'Dynah',683 lastName: 'Kemster',684 email: 'dkemster2p@bigcartel.com',685 gender: 'Female',686 isActive: true,687 },688 {689 firstName: 'Jennilee',690 lastName: 'Aizikovich',691 email: 'jaizikovich2q@scientificamerican.com',692 gender: 'Female',693 isActive: false,694 },695 {696 firstName: 'Meggy',697 lastName: 'Sevier',698 email: 'msevier2r@dagondesign.com',699 gender: 'Female',700 isActive: true,701 },...

Full Screen

Full Screen

tastings.ts

Source:tastings.ts Github

copy

Full Screen

1export var tastings=[2 {3 "tastingid": 1,4 "shopid": 1,5 "productid": 1,6 "weekday" : 1,7 "isdeleted": false,8 "isactive": true9 },10 {11 "tastingid": 2,12 "shopid": 1,13 "productid": 1,14 "weekday" : 2,15 "isdeleted": false,16 "isactive": true17 },18 {19 "tastingid": 3,20 "shopid": 1,21 "productid": 1,22 "weekday" : 3,23 "isdeleted": false,24 "isactive": true25 },26 {27 "tastingid": 4,28 "shopid": 1,29 "productid": 1,30 "weekday" : 4,31 "isdeleted": false,32 "isactive": true33 },34 {35 "tastingid": 5,36 "shopid": 1,37 "productid": 1,38 "weekday" : 5,39 "isdeleted": false,40 "isactive": true41 },42 {43 "tastingid": 6,44 "shopid": 1,45 "productid": 1,46 "weekday" : 6,47 "isdeleted": false,48 "isactive": true49 },50 {51 "tastingid": 7,52 "shopid": 1,53 "productid": 1,54 "weekday" : 7,55 "isdeleted": false,56 "isactive": true57 },58 {59 "tastingid": 8,60 "shopid": 1,61 "productid": 2,62 "weekday" : 1,63 "isdeleted": false,64 "isactive": true65 },66 {67 "tastingid": 9,68 "shopid": 1,69 "productid": 2,70 "weekday" : 2,71 "isdeleted": false,72 "isactive": true73 },74 {75 "tastingid": 10,76 "shopid": 1,77 "productid": 2,78 "weekday" : 3,79 "isdeleted": false,80 "isactive": true81 },82 {83 "tastingid": 11,84 "shopid": 1,85 "productid": 2,86 "weekday" : 4,87 "isdeleted": false,88 "isactive": true89 },90 {91 "tastingid": 12,92 "shopid": 1,93 "productid": 2,94 "weekday" : 5,95 "isdeleted": false,96 "isactive": true97 },98 {99 "tastingid": 13,100 "shopid": 1,101 "productid": 2,102 "weekday" : 6,103 "isdeleted": false,104 "isactive": true105 },106 {107 "tastingid": 14,108 "shopid": 1,109 "productid": 2,110 "weekday" : 7,111 "isdeleted": false,112 "isactive": true113 },114 {115 "tastingid": 15,116 "shopid": 1,117 "productid": 3,118 "weekday" : 1,119 "isdeleted": false,120 "isactive": true121 },122 {123 "tastingid": 16,124 "shopid": 1,125 "productid": 3,126 "weekday" : 2,127 "isdeleted": false,128 "isactive": true129 },130 {131 "tastingid": 17,132 "shopid": 1,133 "productid": 3,134 "weekday" : 3,135 "isdeleted": false,136 "isactive": true137 },138 {139 "tastingid": 18,140 "shopid": 1,141 "productid": 3,142 "weekday" : 4,143 "isdeleted": false,144 "isactive": true145 },146 {147 "tastingid": 19,148 "shopid": 1,149 "productid": 3,150 "weekday" : 5,151 "isdeleted": false,152 "isactive": true153 },154 {155 "tastingid": 20,156 "shopid": 1,157 "productid": 3,158 "weekday" : 6,159 "isdeleted": false,160 "isactive": true161 },162 {163 "tastingid": 21,164 "shopid": 1,165 "productid": 3,166 "weekday" : 7,167 "isdeleted": false,168 "isactive": true169 },170 {171 "tastingid": 22,172 "shopid": 1,173 "productid": 4,174 "weekday" : 1,175 "isdeleted": false,176 "isactive": true177 },178 {179 "tastingid": 23,180 "shopid": 1,181 "productid": 4,182 "weekday" : 2,183 "isdeleted": false,184 "isactive": true185 },186 {187 "tastingid": 24,188 "shopid": 1,189 "productid": 4,190 "weekday" : 3,191 "isdeleted": false,192 "isactive": true193 },194 {195 "tastingid": 25,196 "shopid": 1,197 "productid": 4,198 "weekday" : 4,199 "isdeleted": false,200 "isactive": true201 },202 {203 "tastingid": 26,204 "shopid": 1,205 "productid": 4,206 "weekday" : 5,207 "isdeleted": false,208 "isactive": true209 },210 {211 "tastingid": 27,212 "shopid": 1,213 "productid": 4,214 "weekday" : 6,215 "isdeleted": false,216 "isactive": true217 },218 {219 "tastingid": 28,220 "shopid": 1,221 "productid": 4,222 "weekday" : 7,223 "isdeleted": false,224 "isactive": true225 },226 {227 "tastingid": 29,228 "shopid": 1,229 "productid": 5,230 "weekday" : 1,231 "isdeleted": false,232 "isactive": true233 },234 {235 "tastingid": 30,236 "shopid": 1,237 "productid": 5,238 "weekday" : 2,239 "isdeleted": false,240 "isactive": true241 },242 {243 "tastingid": 31,244 "shopid": 1,245 "productid": 5,246 "weekday" : 3,247 "isdeleted": false,248 "isactive": true249 },250 {251 "tastingid": 32,252 "shopid": 1,253 "productid": 5,254 "weekday" : 4,255 "isdeleted": false,256 "isactive": true257 },258 {259 "tastingid": 33,260 "shopid": 1,261 "productid": 5,262 "weekday" : 5,263 "isdeleted": false,264 "isactive": true265 },266 {267 "tastingid": 34,268 "shopid": 1,269 "productid": 5,270 "weekday" : 6,271 "isdeleted": false,272 "isactive": true273 },274 {275 "tastingid": 35,276 "shopid": 1,277 "productid": 5,278 "weekday" : 7,279 "isdeleted": false,280 "isactive": true281 },282 {283 "tastingid": 36,284 "shopid": 1,285 "productid": 6,286 "weekday" : 1,287 "isdeleted": false,288 "isactive": true289 },290 {291 "tastingid": 37,292 "shopid": 1,293 "productid": 6,294 "weekday" : 2,295 "isdeleted": false,296 "isactive": true297 },298 {299 "tastingid": 38,300 "shopid": 1,301 "productid": 6,302 "weekday" : 3,303 "isdeleted": false,304 "isactive": true305 },306 {307 "tastingid": 39,308 "shopid": 1,309 "productid": 6,310 "weekday" : 4,311 "isdeleted": false,312 "isactive": true313 },314 {315 "tastingid": 40,316 "shopid": 1,317 "productid": 6,318 "weekday" : 5,319 "isdeleted": false,320 "isactive": true321 },322 {323 "tastingid": 41,324 "shopid": 1,325 "productid": 6,326 "weekday" : 6,327 "isdeleted": false,328 "isactive": true329 },330 {331 "tastingid": 42,332 "shopid": 1,333 "productid": 6,334 "weekday" : 7,335 "isdeleted": false,336 "isactive": true337 }...

Full Screen

Full Screen

currencies.ts

Source:currencies.ts Github

copy

Full Screen

1import { Currency } from '../../../both/models/general/currency.model';2import { Currencies } from '../../../both/collections/general/currency.collection';3export function loadCurrencies(){4 if( Currencies.find().cursor.count() === 0 ){5 const currencies: Currency[] = [6 { _id: '10', isActive: true, name: 'CURRENCIES.BALBOA', code: 'PAB', numericCode: '590', decimal: 0.01 },7 { _id: '20', isActive: true, name: 'CURRENCIES.BOLIVAR', code: 'VEF', numericCode: '937', decimal: 0.01 },8 { _id: '30', isActive: true, name: 'CURRENCIES.BOLIVIANO', code: 'BOB', numericCode: '068', decimal: 0.01 },9 { _id: '40', isActive: true, name: 'CURRENCIES.COSTA_RICA_COLON', code: 'CRC', numericCode: '188', decimal: 0.01 },10 { _id: '50', isActive: true, name: 'CURRENCIES.CORDOBA', code: 'NIO', numericCode: '558', decimal: 0.01 },11 { _id: '60', isActive: true, name: 'CURRENCIES.CZECH_REPUBLIC_KORUNA', code: 'CZK', numericCode: '203', decimal: 0.01 },12 { _id: '70', isActive: true, name: 'CURRENCIES.DENMARK_KRONE', code: 'DKK', numericCode: '208', decimal: 0.01 },13 { _id: '80', isActive: true, name: 'CURRENCIES.ICELAND_KRONA', code: 'ISK', numericCode: '352', decimal: 0 },14 { _id: '90', isActive: true, name: 'CURRENCIES.NORWAY_KRONE', code: 'NOK', numericCode: '578', decimal: 0.01 },15 { _id: '100', isActive: true, name: 'CURRENCIES.SWEDEN_KRONA', code: 'SEK', numericCode: '752', decimal: 0.01 },16 { _id: '110', isActive: true, name: 'CURRENCIES.DENAR', code: 'MKD', numericCode: '807', decimal: 0.01 },17 { _id: '120', isActive: true, name: 'CURRENCIES.SERBIA_DINAR', code: 'RSD', numericCode: '941', decimal: 0.01 },18 { _id: '130', isActive: true, name: 'CURRENCIES.BELIZE_DOLLAR', code: 'BZD', numericCode: '084', decimal: 0.01 },19 { _id: '140', isActive: true, name: 'CURRENCIES.BERMUDIAN_DOLLAR', code: 'BMD', numericCode: '060', decimal: 0.01 },20 { _id: '150', isActive: true, name: 'CURRENCIES.CANADIAN_DOLLAR', code: 'CAD', numericCode: '124', decimal: 0.01 },21 { _id: '160', isActive: true, name: 'CURRENCIES.UNITED_STATES_DOLLAR', code: 'USD', numericCode: '840', decimal: 0.01 },22 { _id: '170', isActive: true, name: 'CURRENCIES.GUYANA_DOLLAR', code: 'GYD', numericCode: '328', decimal: 0.01 },23 { _id: '180', isActive: true, name: 'CURRENCIES.SURINAME_DOLLAR', code: 'SRD', numericCode: '968', decimal: 0.01 },24 { _id: '190', isActive: true, name: 'CURRENCIES.ARMENIAM_DRAM', code: 'AMD', numericCode: '051', decimal: 0.01 },25 { _id: '200', isActive: true, name: 'CURRENCIES.EURO', code: 'EUR', numericCode: '978', decimal: 0.01 },26 { _id: '210', isActive: true, name: 'CURRENCIES.HUNGARY_FORINT', code: 'HUF', numericCode: '348', decimal: 0.01 },27 { _id: '220', isActive: true, name: 'CURRENCIES.FRANC', code: 'CHF', numericCode: '756', decimal: 0.01 },28 { _id: '230', isActive: true, name: 'CURRENCIES.UKRAINE_HRYVNIA', code: 'UAH', numericCode: '980', decimal: 0.01 },29 { _id: '240', isActive: true, name: 'CURRENCIES.GUARANI', code: 'PYG', numericCode: '600', decimal: 0 },30 { _id: '250', isActive: true, name: 'CURRENCIES.KUNA', code: 'HRK', numericCode: '191', decimal: 0.01 },31 { _id: '260', isActive: true, name: 'CURRENCIES.LARI', code: 'GEL', numericCode: '981', decimal: 0.01 },32 { _id: '270', isActive: true, name: 'CURRENCIES.LEK', code: 'ALL', numericCode: '008', decimal: 0.01 },33 { _id: '280', isActive: true, name: 'CURRENCIES.LEMPIRA', code: 'HNL', numericCode: '340', decimal: 0.01 },34 { _id: '290', isActive: true, name: 'CURRENCIES.MOLDOVA_LEU', code: 'MDL', numericCode: '498', decimal: 0.01 },35 { _id: '300', isActive: true, name: 'CURRENCIES.ROMANIAN_LEU', code: 'RON', numericCode: '946', decimal: 0.01 },36 { _id: '310', isActive: true, name: 'CURRENCIES.BULGARIA_LEV', code: 'BGN', numericCode: '975', decimal: 0.01 },37 { _id: '320', isActive: true, name: 'CURRENCIES.POUND_STERLING', code: 'GBP', numericCode: '826', decimal: 0.01 },38 { _id: '330', isActive: true, name: 'CURRENCIES.FALKLAND_ISLANDS_POUND', code: 'FKP', numericCode: '238', decimal: 0.01 },39 { _id: '340', isActive: true, name: 'CURRENCIES.TURKISH_LIRA', code: 'TRY', numericCode: '949', decimal: 0.01 },40 { _id: '350', isActive: true, name: 'CURRENCIES.AZERBAIJANI_MANAT', code: 'AZN', numericCode: '944', decimal: 0.01 },41 { _id: '360', isActive: true, name: 'CURRENCIES.CONVERTIBLE_MARK', code: 'BAM', numericCode: '977', decimal: 0.01 },42 { _id: '370', isActive: true, name: 'CURRENCIES.ARGENTINA_PESO', code: 'ARS', numericCode: '032', decimal: 0.01 },43 { _id: '380', isActive: true, name: 'CURRENCIES.CHILE_PESO', code: 'CLP', numericCode: '152', decimal: 0 },44 { _id: '390', isActive: true, name: 'CURRENCIES.COLOMBIA_PESO', code: 'COP', numericCode: '170', decimal: 0.01 },45 { _id: '400', isActive: true, name: 'CURRENCIES.MEXICO_PESO', code: 'MXN', numericCode: '484', decimal: 0.01 },46 { _id: '410', isActive: true, name: 'CURRENCIES.URUGUAY_PESO', code: 'UYU', numericCode: '858', decimal: 0.01 },47 { _id: '420', isActive: true, name: 'CURRENCIES.QUETZAL', code: 'GTQ', numericCode: '320', decimal: 0.01 },48 { _id: '430', isActive: true, name: 'CURRENCIES.BRAZILIAN_REAL', code: 'BRL', numericCode: '986', decimal: 0.01 },49 { _id: '440', isActive: true, name: 'CURRENCIES.BELARUSIAN_RUBLE', code: 'BYR', numericCode: '974', decimal: 0 },50 { _id: '450', isActive: true, name: 'CURRENCIES.RUSSIAN_RUBLE', code: 'RUB', numericCode: '643', decimal: 0.01 },51 { _id: '460', isActive: true, name: 'CURRENCIES.SOL', code: 'PEN', numericCode: '604', decimal: 0.01 },52 { _id: '470', isActive: true, name: 'CURRENCIES.TENGE', code: 'KZT', numericCode: '398', decimal: 0.01 },53 { _id: '480', isActive: true, name: 'CURRENCIES.ZLOTY', code: 'PLN', numericCode: '985', decimal: 0.01 }54 ]; 55 currencies.forEach( ( cur:Currency ) => Currencies.insert( cur ) );56 }...

Full Screen

Full Screen

admin.fixtures.js

Source:admin.fixtures.js Github

copy

Full Screen

1export default {2 COLLECTION: [3 {ID: 1, Name: "Well Names", ListOptions: [4 {ID: 1, Name: "Well Names 1", IsActive: true},5 {ID: 2, Name: "Well Names 2", IsActive: false},6 {ID: 3, Name: "Well Names 3", IsActive: true},7 {ID: 4, Name: "Well Names 4", IsActive: true},8 {ID: 5, Name: "Well Names 5", IsActive: false},9 {ID: 6, Name: "Well Names 6", IsActive: true},10 {ID: 1, Name: "Well Names 1", IsActive: true},11 {ID: 2, Name: "Well Names 2", IsActive: false},12 {ID: 3, Name: "Well Names 3", IsActive: true},13 {ID: 4, Name: "Well Names 4", IsActive: true},14 {ID: 5, Name: "Well Names 5", IsActive: false},15 {ID: 6, Name: "Well Names 6", IsActive: true},16 {ID: 1, Name: "Well Names 1", IsActive: true},17 {ID: 2, Name: "Well Names 2", IsActive: false},18 {ID: 3, Name: "Well Names 3", IsActive: true},19 {ID: 4, Name: "Well Names 4", IsActive: true},20 {ID: 5, Name: "Well Names 5", IsActive: false},21 {ID: 6, Name: "Well Names 6", IsActive: true},22 {ID: 1, Name: "Well Names 1", IsActive: true},23 {ID: 2, Name: "Well Names 2", IsActive: false},24 {ID: 3, Name: "Well Names 3", IsActive: true},25 {ID: 4, Name: "Well Names 4", IsActive: true},26 {ID: 5, Name: "Well Names 5", IsActive: false},27 {ID: 6, Name: "Well Names 6", IsActive: true}28 ]},29 {ID: 2, Name: "Mesh Sizes", ListOptions: [30 {ID: 1 , Name: " 16/30 Brown ", IsActive: true },31 //{ID: 2 , Name: " 20/40 Brown ", IsActive: true },32 //{ID: 3 , Name: " 30/50 Brown ", IsActive: true },33 //{ID: 4 , Name: " 40/70 Brown ", IsActive: true },34 //{ID: 5 , Name: " 20/40 White ", IsActive: true },35 //{ID: 6 , Name: " 30/50 White ", IsActive: true },36 //{ID: 7 , Name: " 20/40 OptiProp ", IsActive: true },37 //{ID: 8 , Name: " 20/40 PowerProp ", IsActive: true },38 //{ID: 9 , Name: " 20/40 SDC ", IsActive: true },39 //{ID: 10 , Name: " 20/40 SLC ", IsActive: true },40 //{ID: 11 , Name: " 20/40 THS ", IsActive: true },41 //{ID: 12 , Name: " 30/50 Brown Sub ", IsActive: true },42 //{ID: 13 , Name: " 30/50 SDC ", IsActive: true },43 //{ID: 14 , Name: " 100 Mesh ", IsActive: true }44 ]},45 {ID: 3, Name: "Sand Suppliers", ListOptions: [46 {ID: 1, Name: "Sand Supplier 1", IsActive: true},47 //{ID: 2, Name: "Sand Supplier 2", IsActive: false},48 //{ID: 3, Name: "Sand Supplier 3", IsActive: true},49 //{ID: 4, Name: "Sand Supplier 4", IsActive: true},50 //{ID: 5, Name: "Sand Supplier 5", IsActive: false},51 //{ID: 6, Name: "Sand Supplier 6", IsActive: true}52 ]},53 {ID: 4, Name: "Asset Teams", ListOptions: [54 {ID: 1, Name: "Permian", IsActive: true},55 //{ID: 2, Name: "South Texas", IsActive: false},56 //{ID: 3, Name: "Trinidad", IsActive: true},57 //{ID: 4, Name: "Maalt", IsActive: true},58 //{ID: 5, Name: "Terracor", IsActive: false},59 //{ID: 6, Name: "Pad Storage", IsActive: true}60 ]},61 {ID: 5, Name: "Freight Vendors", ListOptions: [62 {ID: 1, Name: "Vendor Names 1", IsActive: true},63 //{ID: 2, Name: "Vendor Names 2", IsActive: false},64 //{ID: 3, Name: "Vendor Names 3", IsActive: true},65 //{ID: 4, Name: "Vendor Names 4", IsActive: true},66 //{ID: 5, Name: "Vendor Names 5", IsActive: false},67 //{ID: 6, Name: "Vendor Names 6", IsActive: true}68 ]},69 {ID: 6, Name: "Fleet Department Codes", ListOptions: [70 {ID: 1, Name: "PPS1-377201", IsActive: true},71 //{ID: 2, Name: "PPS2-377202", IsActive: true},72 //{ID: 3, Name: "PPS3-377203", IsActive: true},73 //{ID: 4, Name: "PPS4-377204", IsActive: true},74 //{ID: 5, Name: "PPS5-377205", IsActive: true},75 //{ID: 6, Name: "PPS6-377206", IsActive: true},76 //{ID: 7, Name: "STX1-330201", IsActive: true},77 //{ID: 8, Name: "STX2-330202", IsActive: true}78 ]},79 {ID: 7, Name: "Storage Facilities", ListOptions: [80 {ID: 1, Name: "Storage Facilities 1", IsActive: true},81 //{ID: 2, Name: "Storage Facilities 2", IsActive: false},82 //{ID: 3, Name: "Storage Facilities 3", IsActive: true},83 //{ID: 4, Name: "Storage Facilities 4", IsActive: true},84 //{ID: 5, Name: "Storage Facilities 5", IsActive: false},85 //{ID: 6, Name: "Storage Facilities 6", IsActive: true}86 ]},87 ],...

Full Screen

Full Screen

Board.jsx

Source:Board.jsx Github

copy

Full Screen

1import { useState } from "react";2import BoardCell from "./BoardCell";3import BoardGrid from "./BoardGrid";4const defaultBoard = [5 [6 {7 id: 0,8 isActive: false,9 },10 {11 id: 1,12 isActive: false,13 },14 {15 id: 2,16 isActive: false,17 },18 {19 id: 3,20 isActive: false,21 },22 {23 id: 4,24 isActive: false,25 },26 {27 id: 5,28 isActive: false,29 },30 {31 id: 6,32 isActive: false,33 },34 {35 id: 7,36 isActive: false,37 },38 {39 id: 8,40 isActive: false,41 },42 ],43 [44 {45 id: 9,46 isActive: false,47 },48 {49 id: 10,50 isActive: false,51 },52 {53 id: 11,54 isActive: false,55 },56 {57 id: 12,58 isActive: false,59 },60 {61 id: 13,62 isActive: false,63 },64 {65 id: 14,66 isActive: false,67 },68 {69 id: 15,70 isActive: false,71 },72 {73 id: 16,74 isActive: false,75 },76 {77 id: 17,78 isActive: false,79 },80 ],81 [82 {83 id: 18,84 isActive: false,85 },86 {87 id: 19,88 isActive: false,89 },90 {91 id: 20,92 isActive: false,93 },94 {95 id: 21,96 isActive: false,97 },98 {99 id: 22,100 isActive: false,101 },102 {103 id: 23,104 isActive: false,105 },106 {107 id: 24,108 isActive: false,109 },110 {111 id: 25,112 isActive: false,113 },114 {115 id: 26,116 isActive: false,117 },118 ],119 [120 {121 id: 27,122 isActive: false,123 },124 {125 id: 28,126 isActive: false,127 },128 {129 id: 29,130 isActive: false,131 },132 {133 id: 30,134 isActive: false,135 },136 {137 id: 31,138 isActive: false,139 },140 {141 id: 32,142 isActive: false,143 },144 {145 id: 33,146 isActive: false,147 },148 {149 id: 34,150 isActive: false,151 },152 {153 id: 35,154 isActive: false,155 },156 ],157 [158 {159 id: 36,160 isActive: false,161 },162 {163 id: 37,164 isActive: false,165 },166 {167 id: 38,168 isActive: false,169 },170 {171 id: 39,172 isActive: false,173 },174 {175 id: 40,176 isActive: false,177 },178 {179 id: 41,180 isActive: false,181 },182 {183 id: 42,184 isActive: false,185 },186 {187 id: 43,188 isActive: false,189 },190 {191 id: 44,192 isActive: false,193 },194 ],195 [196 {197 id: 45,198 isActive: false,199 },200 {201 id: 46,202 isActive: false,203 },204 {205 id: 47,206 isActive: false,207 },208 {209 id: 48,210 isActive: false,211 },212 {213 id: 49,214 isActive: false,215 },216 {217 id: 50,218 isActive: false,219 },220 {221 id: 51,222 isActive: false,223 },224 {225 id: 52,226 isActive: false,227 },228 {229 id: 53,230 isActive: false,231 },232 ],233 [234 {235 id: 54,236 isActive: false,237 },238 {239 id: 55,240 isActive: false,241 },242 {243 id: 56,244 isActive: false,245 },246 {247 id: 57,248 isActive: false,249 },250 {251 id: 58,252 isActive: false,253 },254 {255 id: 59,256 isActive: false,257 },258 {259 id: 60,260 isActive: false,261 },262 {263 id: 61,264 isActive: false,265 },266 {267 id: 62,268 isActive: false,269 },270 ],271 [272 {273 id: 63,274 isActive: false,275 },276 {277 id: 64,278 isActive: false,279 },280 {281 id: 65,282 isActive: false,283 },284 {285 id: 66,286 isActive: false,287 },288 {289 id: 67,290 isActive: false,291 },292 {293 id: 68,294 isActive: false,295 },296 {297 id: 69,298 isActive: false,299 },300 {301 id: 70,302 isActive: false,303 },304 {305 id: 71,306 isActive: false,307 },308 ],309 [310 {311 id: 72,312 isActive: false,313 },314 {315 id: 73,316 isActive: false,317 },318 {319 id: 74,320 isActive: false,321 },322 {323 id: 75,324 isActive: false,325 },326 {327 id: 76,328 isActive: false,329 },330 {331 id: 77,332 isActive: false,333 },334 {335 id: 78,336 isActive: false,337 },338 {339 id: 79,340 isActive: false,341 },342 {343 id: 80,344 isActive: false,345 },346 ],347];348const Board = () => {349 const [board, setBoard] = useState(defaultBoard);350 return (351 <BoardGrid>352 {board.map((column) =>353 column.map((row) => <BoardCell key={row.id} id={row.id} />)354 )}355 </BoardGrid>356 );357};...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var store = new argos.Store();2store.isActive();3define('argos/Store', ['module', 'exports', 'dojo/_base/declare', 'dojo/_base/lang', 'dojo/_base/array', 'dojo/Stateful', 'dojo/when', 'dojo/Deferred', 'argos/Utility', 'argos/Models/Types', 'argos/Models/Manager', 'argos/ErrorManager'], function (module, exports, _declare, _lang, _array, _Stateful2, _when, _Deferred, _Utility, _Types, _Manager, _ErrorManager) {4 var declare = _interopRequireWildcard(_declare);5 var lang = _interopRequireWildcard(_lang);6 var array = _interopRequireWildcard(_array);7 var Stateful = _interopRequireWildcard(_Stateful2);8 var when = _interopRequireWildcard(_when);9 var Deferred = _interopRequireWildcard(_Deferred);10 var Utility = _interopRequireWildcard(_Utility);11 var Types = _interopRequireWildcard(_Types);12 var Manager = _interopRequireWildcard(_Manager);13 var ErrorManager = _interopRequireWildcard(_ErrorManager);14 function _interopRequireWildcard(obj) { return obj && obj.__esModule ? obj : { default: obj }; }15 var __class = declare('argos.Store', [Stateful], {

Full Screen

Using AI Code Generation

copy

Full Screen

1require([2], function(Utility) {3 var isActive = Utility.isActive();4 console.log(isActive);5});6Related posts: How to add custom fields to the Contact Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Opportunity Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Ticket Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Account Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Product Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Lead Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Activity Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Quote Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Sales Order Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Invoice Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Purchase Order Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Return Order Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Payment Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the User Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the History Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Contract Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Address Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Ticket Activity Detail View in Sage 100 ERP (MAS 90) How to add custom fields to the Activity Attendee Detail View in Sage

Full Screen

Using AI Code Generation

copy

Full Screen

1const argosy = require('argosy')2const service = argosy()3service.pipe(process.stdout)4service.accept({ role: 'math' }).act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {5 console.log('1 + 2 =', result)6})7const pattern = require('argosy-pattern')8const service = pattern()9service.pipe(process.stdout)10service.accept({ role: 'math' }).act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {11 console.log('1 + 2 =', result)12})13const service = require('argosy-service')14const math = service({ role: 'math' })15math.pipe(process.stdout)16math.act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {17 console.log('1 + 2 =', result)18})19const service = require('argosy-service-pattern')20const math = service({ role: 'math' })21math.pipe(process.stdout)22math.act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {23 console.log('1 + 2 =', result)24})25const service = require('argosy-service-pattern')26const math = service({ role: 'math' })27math.pipe(process.stdout)28math.act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {29 console.log('1 + 2 =', result)30})31const service = require('argosy-service-transport')32const math = service({ role: 'math' })33math.pipe(process.stdout)34math.act({ role: 'math', cmd: 'sum', left: 1, right: 2 }, (err, result) => {35 console.log('1 + 2 =', result)36})

Full Screen

Using AI Code Generation

copy

Full Screen

1import Utility from 'argos/Utility';2const active = Utility.isActive('test');3var active = Utility.isActive('test');4import Utility from 'argos/Utility';5const active = Utility.isActive('test');6var active = Utility.isActive('test');7import Utility from 'argos/Utility';8const active = Utility.isActive('test');9var active = Utility.isActive('test');10import Utility from 'argos/Utility';11const active = Utility.isActive('test');12var active = Utility.isActive('test');13import Utility from 'argos/Utility';14const active = Utility.isActive('test');15var active = Utility.isActive('test');16import Utility from 'argos/Utility';17const active = Utility.isActive('test');18var active = Utility.isActive('test');19import Utility from 'argos/Utility';20const active = Utility.isActive('test');21var active = Utility.isActive('test');22import Utility from 'argos/Utility';23const active = Utility.isActive('test');24var active = Utility.isActive('test');25import Utility from 'argos/Utility';26const active = Utility.isActive('test');27var active = Utility.isActive('test');28import

Full Screen

Using AI Code Generation

copy

Full Screen

1var store = new Store();2var store = new Store();3var store = new Store();4store.activate();5var store = new Store();6store.deactivate();7var store = new Store();8store.get('id');

Full Screen

Using AI Code Generation

copy

Full Screen

1var Utility = require('argos/Utility');2var isActive = Utility.isActive;3if (isActive()) {4 console.log('active');5} else {6 console.log('inactive');7}

Full Screen

Using AI Code Generation

copy

Full Screen

1import Utility from 'argos/Utility';2import Utility from 'argos/Utility';3import Utility from 'argos/Utility';4import Utility from 'argos/Utility';5import Utility from 'argos/Utility';6import Utility from 'argos/Utility';7import Utility from 'argos/Utility';8import Utility from 'argos/Utility';

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