@airpower/web 0.2.39 → 0.2.41
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
|
});
|
|
@@ -13946,7 +13960,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13946
13960
|
const _component_el_icon = resolveComponent("el-icon");
|
|
13947
13961
|
const _component_el_input = resolveComponent("el-input");
|
|
13948
13962
|
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
13949
|
-
createTextVNode(toDisplayString(formConfig.value) + " ", 1),
|
|
13950
13963
|
formConfig.value && formConfig.value.dateType !== void 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
13951
13964
|
formConfig.value.dateType !== unref(DateTimeType).TIME ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
13952
13965
|
key: 0,
|
|
@@ -18019,8 +18032,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18019
18032
|
createElementVNode("div", _hoisted_3$2, [
|
|
18020
18033
|
renderSlot(_ctx.$slots, "beforeSearch"),
|
|
18021
18034
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchFieldList.value, (item) => {
|
|
18022
|
-
return openBlock(), createElementBlock(
|
|
18023
|
-
key: item.key
|
|
18035
|
+
return openBlock(), createElementBlock("div", {
|
|
18036
|
+
key: item.key,
|
|
18037
|
+
class: "a-table-toolbar-search"
|
|
18024
18038
|
}, [
|
|
18025
18039
|
!item.hide ? (openBlock(), createElementBlock("div", {
|
|
18026
18040
|
key: 0,
|
|
@@ -18065,7 +18079,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18065
18079
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "clearable", "placeholder"]))
|
|
18066
18080
|
])
|
|
18067
18081
|
], 4)) : createCommentVNode("", true)
|
|
18068
|
-
]
|
|
18082
|
+
]);
|
|
18069
18083
|
}), 128)),
|
|
18070
18084
|
__props.showExport ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
18071
18085
|
key: 0,
|