UNPKG

asp-smart-ui-plus-test

Version:

A Component Library for Vue 3

79 lines (74 loc) 1.4 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var index = require('element-plus/es/utils/index'); const notificationTypes = [ "success", "info", "warning", "error" ]; const notificationProps = index.buildProps({ customClass: { type: String, default: "" }, dangerouslyUseHTMLString: { type: Boolean, default: false }, duration: { type: Number, default: 4500 }, icon: { type: index.iconPropType }, id: { type: String, default: "" }, message: { type: index.definePropType([String, Object]), default: "" }, offset: { type: Number, default: 0 }, onClick: { type: index.definePropType(Function), default: () => void 0 }, onClose: { type: index.definePropType(Function), required: true }, position: { type: String, values: ["top-right", "top-left", "bottom-right", "bottom-left"], default: "top-right" }, showClose: { type: Boolean, default: true }, title: { type: String, default: "" }, type: { type: String, values: [...notificationTypes, ""], default: "" }, zIndex: { type: Number, default: 0 } }); const notificationEmits = { destroy: () => true }; exports.notificationEmits = notificationEmits; exports.notificationProps = notificationProps; exports.notificationTypes = notificationTypes;