This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const productItemDefaults = { | |
theme: { | |
backgroundColor: '#1E1F26', | |
borderRadius: 20, | |
cardBackgroundColor: '#191B22', | |
imageTransparency: 60, | |
counterColor: '#1F75EA', | |
productColor: '#FFFFFF', | |
counterTextColor: '#FFFFFF', | |
priceColor: '#FFFFFF', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "hello", | |
"theme": { | |
"description": "Приветствуем нашего нового пользователя!", | |
"roundingBlocks": 20, | |
"backgroundColor": "#191b22", | |
"backgroundTransparency": 80, | |
"gradTransparency": 40, | |
"shadowTransparency": 100, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"header": { | |
"topline": { | |
"text": "У Flomni новый внешний вид и новые функции в продуктах.", | |
"link": "Подробнее" | |
}, | |
"button": { | |
"login": "Войти", | |
"demo": "Оставить заявку" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// получение данных по модулю | |
// TODO - возможно лучше продублировать moduleId во всех запросах | |
const getModuleDataset = async ({ | |
ModuleId, | |
PageNumber, | |
PageSize, | |
}: IGetModuleDatasetRequest) => { | |
const request = { | |
ModuleId: ModuleId || currentModuleId.value, | |
PageNumber: PageNumber || moduleDatasetMeta.value.page, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth": { | |
"entry": { | |
"title": "Giriş / Kayıt", | |
"instruction": "Bir yetkilendirme kodu almak için E-postanızı girin", | |
"action": "Giriş Yap", | |
"locked": "Giriş, {{ minutesToUnlock}} dakikalı süreyle engellendi" | |
}, | |
"code": { | |
"title": "Doğrulama", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth": { | |
"entry": { | |
"title": "Create Account / Log in", | |
"instruction": "Enter your Email to receive an authorization code", | |
"action": "Log in", | |
"locked": "Login blocked for {{minutesToUnlock}} minutes" | |
}, | |
"code": { | |
"title": "Verification", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup> | |
import _ from 'lodash' | |
defineProps({ | |
variant: { | |
type: String, | |
default: 'main', | |
validator: (x) => ['main'].includes(x), | |
}, | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async requestStructure({ dispatch, commit, getters }, { account, level, type }) { | |
try { | |
let structure = { | |
slot: null, | |
lvl1: [], | |
lvl2: [], | |
// lvl3: [], | |
} | |
const contract = getters.getMainContract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.hh.ru/metro/1 | |
export const METRO_LINES = [ | |
{ | |
id: "1", | |
hex_color: "E42313", | |
name: "Сокольническая", | |
stations: [ | |
{ id: "1.148", name: "Бульвар Рокоссовского", lat: 55.814916, lng: 37.732227, order: 0 }, | |
{ id: "1.155", name: "Черкизовская", lat: 55.802787, lng: 37.744863, order: 1 }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getCategoryFilters = computedFn((cat_id) => { | |
const DEV_perf = performance.now(); | |
if (this.categoriesList && this.categoriesList.length) { | |
// get depths first | |
const category = findNodeById(this.categoriesList, cat_id); | |
if (category) { | |
const processFilters = (cat_filters) => { | |
// passing display list of select filters |
NewerOlder