eco-vue-js 0.11.58 → 0.11.59
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
value: string;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=WButtonCopy.vue.d.ts.map
|
|
@@ -11,12 +11,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
const props = __props;
|
|
12
12
|
const { doCopy, iconCopy, copied } = useCopy(toRef(props, "value"));
|
|
13
13
|
return (_ctx, _cache) => {
|
|
14
|
-
return openBlock(), createElementBlock("
|
|
15
|
-
class: "text-description
|
|
14
|
+
return openBlock(), createElementBlock("button", {
|
|
15
|
+
class: "text-description w-hover-circle relative inline-block cursor-pointer select-none",
|
|
16
16
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(doCopy)())
|
|
17
17
|
}, [
|
|
18
18
|
(openBlock(), createBlock(resolveDynamicComponent(unref(iconCopy)), {
|
|
19
|
-
class: normalizeClass(["-mt-
|
|
19
|
+
class: normalizeClass(["square-[1.25em] mt-[-0.125em]", {
|
|
20
20
|
"text-primary dark:text-primary-dark": unref(copied)
|
|
21
21
|
}])
|
|
22
22
|
}, null, 8, ["class"])),
|