506f1ed272
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 11s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 10s
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 9s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 9s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
44 lines
995 B
Vue
44 lines
995 B
Vue
<!-- PrimeVue Dialog Transparent Adapter Wrapper: QuantDialog -->
|
|
<template>
|
|
<Dialog
|
|
v-bind="$attrs"
|
|
:visible="visible"
|
|
:header="title || header || '알림'"
|
|
:modal="modal !== false"
|
|
:closable="closable !== false"
|
|
:dismissableMask="dismissableMask !== false"
|
|
class="quant-dialog max-w-lg w-full"
|
|
@update:visible="onVisibleChange"
|
|
>
|
|
<template v-for="(_, slotName) in $slots" :key="slotName" #[slotName]="slotProps">
|
|
<slot :name="slotName" v-bind="slotProps || {}"></slot>
|
|
</template>
|
|
</Dialog>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Dialog from 'primevue/dialog';
|
|
|
|
defineOptions({
|
|
inheritAttrs: false
|
|
});
|
|
|
|
defineProps<{
|
|
visible?: boolean;
|
|
title?: string;
|
|
header?: string;
|
|
modal?: boolean;
|
|
closable?: boolean;
|
|
dismissableMask?: boolean;
|
|
}>();
|
|
|
|
const emit = defineEmits(['update:visible', 'close']);
|
|
|
|
const onVisibleChange = (val: boolean) => {
|
|
emit('update:visible', val);
|
|
if (!val) {
|
|
emit('close');
|
|
}
|
|
};
|
|
</script>
|