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EAEA;;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;;EAEAf,MAAM,CAAC6B,gCAAgC,GAAG3B,aAAa;EAEvDH,GAAG,CAAC+B,6BAA6B,CAAC5B,aAAa,CAAC;AACpD,CAAC","sources":["webpack://smetio/./developement/js/functions/apps/products/productsIsClicked.js"],"sourcesContent":["\nexport const productsIsClicked = () => {\n\n const app = window.smetioApp;\n const sideMenuToUse = \"products\";\n const apiEndPoint = app.apiEndPoint;\n const language = app.language;\n\n app.smetioAppUi.actionBar.showAll();\n app.smetioAppUi.actionBar.hide(\"listView\");\n app.smetioAppUi.actionBar.buttons.createNew.events[\"mousedown\"] = async () => {\n\n const {createNewProducts} = (await import(/* webpackPrefetch: true */ \"./createNewProducts\"));\n \n return await createNewProducts({\n apiEndPoint,\n language,\n title: \"Products\",\n accountType: app.accountType,\n urlDestination: \"create\"\n });\n\n };\n\n // app.smetioAppUi.actionBar.buttons.createNewFromFile.events[\"mousedown\"] = async () => {\n\n // const {createNewProductsFromFile} = (await import(/* webpackPrefetch: true */ \"./createNewProductsFromFile.js\"));\n \n // return await createNewProductsFromFile({\n // apiEndPoint,\n // language,\n // title: \"txt1756\",\n // accountType: app.accountType,\n // urlDestination: \"create\"\n // });\n\n // }; \n\n window.currentlyVisibleSideMenuItemName = sideMenuToUse;\n\n app.getTotalNumberOfAvailableData(sideMenuToUse);\n}; \n "],"names":["productsIsClicked","app","window","smetioApp","sideMenuToUse","apiEndPoint","language","smetioAppUi","actionBar","showAll","hide","buttons","createNew","events","_asyncToGenerator","regeneratorRuntime","mark","_callee","_yield$import","createNewProducts","wrap","_callee$","_context","prev","next","sent","title","accountType","urlDestination","abrupt","stop","currentlyVisibleSideMenuItemName","getTotalNumberOfAvailableData"],"sourceRoot":""}