From 9430c0649c0f0ab64557bb266765311edd9883be Mon Sep 17 00:00:00 2001
From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Date: Fri, 9 Aug 2024 10:36:32 +0700
Subject: [PATCH] feat: add dialog from container component
---
src/components/dialog/DialogFormContainer.vue | 88 +++++++++++++++++++
1 file changed, 88 insertions(+)
create mode 100644 src/components/dialog/DialogFormContainer.vue
diff --git a/src/components/dialog/DialogFormContainer.vue b/src/components/dialog/DialogFormContainer.vue
new file mode 100644
index 00000000..bad4d305
--- /dev/null
+++ b/src/components/dialog/DialogFormContainer.vue
@@ -0,0 +1,88 @@
+
+
+
+ onOpen?.((v) => (state = v === undefined ? true : v))"
+ >
+ $emit('submit', e)"
+ greedy
+ class="surface-1 rounded"
+ :style="{
+ borderRadius: 'var(--radius-2)',
+ padding: '0',
+ width: $q.screen.xs ? '100%' : width ? width : '85%',
+ height: height ? height : 'calc(100vh - 64px)',
+ maxWidth: $q.screen.xs ? '100%' : maxWidth ? maxWidth : '85%',
+ }"
+ >
+
+
+
+
+
+