@airpower/web 0.2.39 → 0.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,6 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
6
6
|
default?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
10
|
rootEl: any;
|
|
@@ -17,6 +18,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
17
18
|
type: StringConstructor;
|
|
18
19
|
default: undefined;
|
|
19
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* # 是否是链接按钮
|
|
23
|
+
*/
|
|
20
24
|
link: {
|
|
21
25
|
type: BooleanConstructor;
|
|
22
26
|
default: boolean;
|
|
@@ -65,6 +69,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
65
69
|
type: StringConstructor;
|
|
66
70
|
default: undefined;
|
|
67
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* # 是否是链接按钮
|
|
74
|
+
*/
|
|
68
75
|
link: {
|
|
69
76
|
type: BooleanConstructor;
|
|
70
77
|
default: boolean;
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed,
|
|
4
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed, resolveComponent, createBlock, mergeProps, toHandlers, withCtx, renderSlot, unref, createVNode, createTextVNode, toDisplayString, ref, withModifiers, normalizeClass, onMounted, watch, resolveDirective, Transition, normalizeStyle, withDirectives, createCommentVNode, nextTick, inject, shallowRef, shallowReactive, reactive, h, provide, getCurrentInstance, watchEffect, Fragment, renderList, vShow, useSlots, createSlots, createApp, onUpdated, mergeModels, useModel, withKeys } from "vue";
|
|
5
5
|
import ElementPlus, { ElButton, ElMessage, ElMessageBox, ElIcon, ElEmpty, ElFormItem, ElSubMenu, ElMenuItem, ElPagination, ElPopover, ElRadioGroup, ElRadioButton, ElInput, ElUpload, ElLink, ElTabPane, ElCheckTag, ElSelect, ElOption, ElTable, ElTableColumn } from "element-plus";
|
|
6
6
|
import axios from "axios";
|
|
7
7
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
@@ -1158,6 +1158,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1158
1158
|
type: String,
|
|
1159
1159
|
default: void 0
|
|
1160
1160
|
},
|
|
1161
|
+
/**
|
|
1162
|
+
* # 是否是链接按钮
|
|
1163
|
+
*/
|
|
1161
1164
|
link: {
|
|
1162
1165
|
type: Boolean,
|
|
1163
1166
|
default: false
|
|
@@ -1233,17 +1236,28 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1233
1236
|
}
|
|
1234
1237
|
});
|
|
1235
1238
|
return (_ctx, _cache) => {
|
|
1236
|
-
|
|
1239
|
+
const _component_ElLink = resolveComponent("ElLink");
|
|
1240
|
+
return __props.link ? (openBlock(), createBlock(_component_ElLink, mergeProps({
|
|
1241
|
+
key: 0,
|
|
1242
|
+
disabled: isDisabled.value,
|
|
1243
|
+
type: __props.danger ? "danger" : __props.warning ? "warning" : __props.primary ? "primary" : "default",
|
|
1244
|
+
underline: false
|
|
1245
|
+
}, _ctx.$attrs, toHandlers(_ctx.$attrs)), {
|
|
1246
|
+
default: withCtx(() => [
|
|
1247
|
+
renderSlot(_ctx.$slots, "default")
|
|
1248
|
+
]),
|
|
1249
|
+
_: 3
|
|
1250
|
+
}, 16, ["disabled", "type"])) : (openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
1251
|
+
key: 1,
|
|
1237
1252
|
disabled: isDisabled.value,
|
|
1238
1253
|
icon: icon.value,
|
|
1239
|
-
link: __props.link,
|
|
1240
1254
|
type: __props.danger ? "danger" : __props.warning ? "warning" : __props.primary ? "primary" : "default"
|
|
1241
1255
|
}, _ctx.$attrs, toHandlers(_ctx.$attrs)), {
|
|
1242
1256
|
default: withCtx(() => [
|
|
1243
1257
|
renderSlot(_ctx.$slots, "default")
|
|
1244
1258
|
]),
|
|
1245
1259
|
_: 3
|
|
1246
|
-
}, 16, ["disabled", "icon", "
|
|
1260
|
+
}, 16, ["disabled", "icon", "type"]));
|
|
1247
1261
|
};
|
|
1248
1262
|
}
|
|
1249
1263
|
});
|