@airpower/web 1.7.2 → 1.7.3
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.
- package/dist/components/copy/Copy.vue.d.ts +15 -0
- package/dist/main.js +18 -7
- package/dist/web.css +2 -2
- package/package.json +1 -1
|
@@ -22,6 +22,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* ### 是否换行
|
|
27
|
+
*/
|
|
28
|
+
wrap: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
25
32
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
33
|
/**
|
|
27
34
|
* ### 复制的内容
|
|
@@ -37,7 +44,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
37
44
|
type: BooleanConstructor;
|
|
38
45
|
default: boolean;
|
|
39
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* ### 是否换行
|
|
49
|
+
*/
|
|
50
|
+
wrap: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
40
54
|
}>> & Readonly<{}>, {
|
|
55
|
+
wrap: boolean;
|
|
41
56
|
hideIcon: boolean;
|
|
42
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
43
58
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed, createBlock, unref, mergeProps, toHandlers, withCtx, renderSlot, resolveComponent, createVNode, createTextVNode, toDisplayString, ref, withModifiers,
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed, createBlock, unref, mergeProps, toHandlers, withCtx, renderSlot, resolveComponent, normalizeClass, createVNode, createTextVNode, toDisplayString, ref, withModifiers, 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";
|
|
2
2
|
import ElementPlus, { ElLink, ElButton, ElMessage, ElMessageBox, ElIcon, ElEmpty, ElFormItem, ElSubMenu, ElMenuItem, ElMenu, ElImage, ElUpload, ElPagination, ElPopover, ElRadioGroup, ElRadioButton, ElInput, ElProgress, ElTabPane, ElTabs, ElCheckTag, ElSelect, ElOption, ElTable, ElTableColumn, ElTree } from "element-plus";
|
|
3
3
|
import axios from "axios";
|
|
4
4
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
@@ -2375,7 +2375,6 @@ class FeedbackUtil {
|
|
|
2375
2375
|
return this.showAlert(message, title, "info");
|
|
2376
2376
|
}
|
|
2377
2377
|
}
|
|
2378
|
-
const _hoisted_1$i = { class: "a-copy" };
|
|
2379
2378
|
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
2380
2379
|
__name: "Copy",
|
|
2381
2380
|
props: {
|
|
@@ -2392,6 +2391,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2392
2391
|
hideIcon: {
|
|
2393
2392
|
type: Boolean,
|
|
2394
2393
|
default: false
|
|
2394
|
+
},
|
|
2395
|
+
/**
|
|
2396
|
+
* ### 是否换行
|
|
2397
|
+
*/
|
|
2398
|
+
wrap: {
|
|
2399
|
+
type: Boolean,
|
|
2400
|
+
default: false
|
|
2395
2401
|
}
|
|
2396
2402
|
},
|
|
2397
2403
|
setup(__props) {
|
|
@@ -2406,7 +2412,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2406
2412
|
}
|
|
2407
2413
|
return (_ctx, _cache) => {
|
|
2408
2414
|
const _component_ElLink = resolveComponent("ElLink");
|
|
2409
|
-
return openBlock(), createElementBlock("div",
|
|
2415
|
+
return openBlock(), createElementBlock("div", {
|
|
2416
|
+
class: normalizeClass([__props.wrap ? "" : "nowrap", "a-copy"])
|
|
2417
|
+
}, [
|
|
2410
2418
|
createVNode(_component_ElLink, mergeProps({ underline: "never" }, _ctx.$attrs, { onClick: copy }, toHandlers(_ctx.$attrs)), {
|
|
2411
2419
|
default: withCtx(() => [
|
|
2412
2420
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -2415,7 +2423,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2415
2423
|
]),
|
|
2416
2424
|
_: 3
|
|
2417
2425
|
}, 16)
|
|
2418
|
-
]);
|
|
2426
|
+
], 2);
|
|
2419
2427
|
};
|
|
2420
2428
|
}
|
|
2421
2429
|
});
|
|
@@ -2426,7 +2434,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2426
2434
|
}
|
|
2427
2435
|
return target;
|
|
2428
2436
|
};
|
|
2429
|
-
const ACopy = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
2437
|
+
const ACopy = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-7d70c465"]]);
|
|
2430
2438
|
var cryptoJs$1 = { exports: {} };
|
|
2431
2439
|
function commonjsRequire(path) {
|
|
2432
2440
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -17436,12 +17444,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17436
17444
|
return (props.data[key] || "").toString() || props.column.emptyValue || "-";
|
|
17437
17445
|
});
|
|
17438
17446
|
return (_ctx, _cache) => {
|
|
17439
|
-
return openBlock(), createBlock(unref(ACopy), {
|
|
17447
|
+
return openBlock(), createBlock(unref(ACopy), {
|
|
17448
|
+
content: value.value,
|
|
17449
|
+
warp: _ctx.column.wrap
|
|
17450
|
+
}, {
|
|
17440
17451
|
default: withCtx(() => [
|
|
17441
17452
|
createTextVNode(toDisplayString(value.value), 1)
|
|
17442
17453
|
]),
|
|
17443
17454
|
_: 1
|
|
17444
|
-
}, 8, ["content"]);
|
|
17455
|
+
}, 8, ["content", "warp"]);
|
|
17445
17456
|
};
|
|
17446
17457
|
}
|
|
17447
17458
|
});
|
package/dist/web.css
CHANGED
|
@@ -442,14 +442,14 @@ textarea {
|
|
|
442
442
|
100% {
|
|
443
443
|
transform: rotate(360deg);
|
|
444
444
|
}
|
|
445
|
-
}.a-copy[data-v-
|
|
445
|
+
}.a-copy[data-v-7d70c465] {
|
|
446
446
|
font-size: inherit;
|
|
447
447
|
color: inherit;
|
|
448
448
|
display: flex;
|
|
449
449
|
flex-direction: row;
|
|
450
450
|
align-items: center;
|
|
451
451
|
}
|
|
452
|
-
.a-copy[data-v-
|
|
452
|
+
.a-copy[data-v-7d70c465] .el-link {
|
|
453
453
|
overflow: hidden;
|
|
454
454
|
text-overflow: ellipsis;
|
|
455
455
|
}.a-friend-datetime[data-v-f4449296],
|