@qynpm/qy-dialog-legacy
v1.0.1
Published
Deprecated legacy protocol adapter for QyDialog.
Readme
@qynpm/qy-dialog-legacy
Deprecated compatibility adapter for the historical QyDialog protocol.
New code must use QyDialog from @qynpm/ui and its Qy-owned open contract. This package only maps the observed legacy surface:
modelValue/v-modeltoopen/update:openlayoutandconfirmProps.title/loading/disabledto explicit QyDialog props- legacy
confirmplusok,cancel,close,opened, andclosedevents header,footer,footer-left,footer-append, andhandleMinimize- observed width, top, fullscreen, minimizable, destroy, z-index, and close-strategy controls
It does not forward arbitrary attributes, Element Plus types, renderer instances, or dynamic useCreateInstance behavior. The adapter is intended for staged migrations and is not a new business API.
The read-only consumer scan also found legacy before-close usage. That hook relies on the historical Element Plus callback/done protocol and is not losslessly representable by the current QyDialog reasoned close events, so it remains an explicit migration finding rather than an adapter prop.
<QyDialogLegacy
v-model="open"
title="历史弹窗"
layout="cancel,confirm"
:confirm-props="{ loading }"
@confirm="submit"
@ok="submit"
@close="handleClose"
>
内容
</QyDialogLegacy>