- Fix router import path in main.js - Handle Django REST Framework pagination format in API calls - Add getTemplates function to project API - Restart frontend development server
64 lines
1.1 KiB
JavaScript
64 lines
1.1 KiB
JavaScript
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
|
|
import { iconPropType } from "../../../utils/vue/icon.mjs";
|
|
//#region ../../packages/components/link/src/link.ts
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `LinkProps` instead.
|
|
*/
|
|
const linkProps = buildProps({
|
|
/**
|
|
* @description type
|
|
*/
|
|
type: {
|
|
type: String,
|
|
values: [
|
|
"primary",
|
|
"success",
|
|
"warning",
|
|
"info",
|
|
"danger",
|
|
"default"
|
|
],
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description when underlines should appear
|
|
*/
|
|
underline: {
|
|
type: [Boolean, String],
|
|
values: [
|
|
true,
|
|
false,
|
|
"always",
|
|
"never",
|
|
"hover"
|
|
],
|
|
default: void 0
|
|
},
|
|
/**
|
|
* @description whether the component is disabled
|
|
*/
|
|
disabled: Boolean,
|
|
/**
|
|
* @description same as native hyperlink's `href`
|
|
*/
|
|
href: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description same as native hyperlink's `target`
|
|
*/
|
|
target: {
|
|
type: String,
|
|
default: "_self"
|
|
},
|
|
/**
|
|
* @description icon component
|
|
*/
|
|
icon: { type: iconPropType }
|
|
});
|
|
const linkEmits = { click: (evt) => evt instanceof MouseEvent };
|
|
//#endregion
|
|
export { linkEmits, linkProps };
|
|
|
|
//# sourceMappingURL=link.mjs.map
|