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 videoElement = document.querySelector('video'); | |
if (videoElement && videoElement.src.startsWith('blob:')) { | |
const a = document.createElement('a'); | |
a.href = videoElement.src; | |
a.download = 'video.mp4'; | |
document.body.appendChild(a); | |
a.click(); | |
document.body.removeChild(a); |
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
// src/stores/useCartStore.ts | |
import { empty, productSingleImage } from "@/core/helpers/functions"; | |
import ApiService from "@/core/services/ApiService"; | |
import { defineStore } from "pinia"; | |
// Definindo a interface Product baseada na descrição fornecida | |
interface MediaData { | |
// Defina os campos da mídia aqui se necessário | |
} |
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
<template> | |
<!--begin::Card--> | |
<div class="card"> | |
<!--begin::Card header--> | |
<div class="card-header border-0 pt-6"> | |
<!--begin::Card title--> | |
<div class="card-title"> | |
<!--begin::Search--> | |
<div class="d-flex align-items-center position-relative my-1"> | |
<KTIcon icon-name="magnifier" icon-class="fs-1 position-absolute ms-6" /> |
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
<template> | |
<el-upload | |
v-model:file-list="fileList" | |
class="photo-wall-uploader" | |
:list-type="listType" | |
:drag="true" | |
:name="name" | |
:action="uploadMetas.url" | |
:method="uploadMetas.method" | |
:headers="uploadMetas.headers" |
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
<template> | |
<div @update:modelValue="$emit('update:modelValue', $event)"> | |
<el-button | |
type="" | |
@click="addModule" | |
class="mb-5 border-bottom border-secondary" | |
> | |
<i class="fa-solid fa-plus text-dark px-3"></i> | |
Adicionar Módulo | |
</el-button> |
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
<template> | |
<div @update:modelValue="$emit('update:modelValue', $event)"> | |
<el-button | |
type="" | |
@click="addModule" | |
class="mb-5 border-bottom border-secondary" | |
> | |
<i class="fa-solid fa-plus text-dark px-3"></i> | |
Adicionar Módulo | |
</el-button> |
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
<template> | |
<el-button type="primary" @click="addModule">Adicionar Módulo</el-button> | |
<el-tree | |
:data="treeData" | |
draggable | |
default-expand-all | |
node-key="id" | |
:allow-drag="allowDrag" | |
:allow-drop="allowDrop" | |
@node-drag-start="handleDragStart" |
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
[ | |
"Athlon 3000G", | |
"Ryzen 3 1200", | |
"Ryzen 3 2200G", | |
"Ryzen 3 3100", | |
"Ryzen 5 1400", | |
"Ryzen 5 1600", | |
"Ryzen 5 3500X", | |
"Ryzen 5 3600", | |
"Ryzen 5 3600X", |
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
import { | |
createRouter, | |
createWebHistory, | |
type RouteRecordRaw, | |
} from "vue-router"; | |
import { useAuthStore } from "@/stores/auth"; | |
import { useConfigStore } from "@/stores/config"; | |
import { filterRoutesByRole } from "@/core/plugins/ManagerAccessDashboard"; | |
export let routes: Array<RouteRecordRaw> = [ |
NewerOlder