@cst-ui/nano-buttons 0.5.1 → 0.6.0
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/README.md +50 -5
- package/dist/NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-BadVAl6-.cjs +1 -0
- package/dist/NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-GwQzbJBa.js +669 -0
- package/dist/buttons/components/NanoCompleteButton.vue.d.ts +108 -0
- package/dist/buttons/components/NanoConfirmButton.vue.d.ts +108 -0
- package/dist/buttons/components/NanoFreezeButton.vue.d.ts +71 -56
- package/dist/buttons/components/NanoInterruptButton.vue.d.ts +108 -0
- package/dist/buttons/components/NanoResetButton.vue.d.ts +93 -0
- package/dist/buttons/components/NanoSendButton.vue.d.ts +93 -0
- package/dist/buttons/components/NanoUnfreezeButton.vue.d.ts +71 -56
- package/dist/buttons/index.cjs +1 -1
- package/dist/buttons/index.d.ts +6 -1
- package/dist/buttons/index.mjs +28 -18
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.mjs +28 -18
- package/package.json +1 -1
- package/dist/NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-Cs8PMAfP.cjs +0 -1
- package/dist/NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-ZdkOEKHg.js +0 -310
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("element-plus"),n=require("./NanoButton.vue_vue_type_script_setup_true_lang-D1yLWi2K.cjs"),B=e.defineComponent({name:"NanoAddButton",inheritAttrs:!1,__name:"NanoAddButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({...t.$props,...t.$attrs},{type:"primary",icon:"Plus"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("新增",-1))])]),_:3},16))}}),$=e.defineComponent({name:"NanoBackTopButton",inheritAttrs:!1,__name:"NanoBackTopButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{secondary:"",class:"app-backtop-button"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{secondary:"",class:"app-backtop-button"}),{default:e.withCtx(()=>[...o[0]||(o[0]=[e.createElementVNode("svg",{class:"app-backtop-icon",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},[e.createElementVNode("path",{d:"M6 5h12"}),e.createElementVNode("path",{d:"M12 19V9"}),e.createElementVNode("path",{d:"m8 13 4-4 4 4"})],-1)])]),_:1},16))}}),k=e.defineComponent({name:"NanoCancelButton",inheritAttrs:!1,__name:"NanoCancelButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.normalizeProps(e.guardReactiveProps({...t.$props,...t.$attrs})),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("取消",-1))])]),_:3},16))}}),P=e.defineComponent({name:"NanoDeleteButton",inheritAttrs:!1,__name:"NanoDeleteButton",props:{...s.buttonProps,confirmTitle:String,confirmButtonText:String,cancelButtonText:String},emits:["click","confirm","cancel"],setup(r,{emit:t}){const o=r,i=t,p=e.useAttrs(),l=e.computed(()=>{const{confirmTitle:a,confirmButtonText:_,cancelButtonText:u,...d}=o;return d}),c=a=>{i("click",a)},m=a=>{i("confirm",a)},f=a=>{i("cancel",a)};return(a,_)=>{const u=e.resolveComponent("el-popconfirm");return o.confirmTitle?(e.openBlock(),e.createBlock(u,{key:0,title:o.confirmTitle,"confirm-button-text":o.confirmButtonText,"cancel-button-text":o.cancelButtonText,onConfirm:m,onCancel:f},{reference:e.withCtx(()=>[a.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...l.value,...e.unref(p)},{type:"danger",icon:"Delete",onClick:c}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...l.value,...e.unref(p)},{type:"danger",icon:"Delete",onClick:c}),null,16))]),_:3},8,["title","confirm-button-text","cancel-button-text"])):a.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...l.value,...e.unref(p)},{type:"danger",icon:"Delete",onClick:c}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:2},{...l.value,...e.unref(p)},{type:"danger",icon:"Delete",onClick:c}),null,16))}}}),g=e.defineComponent({name:"NanoEditButton",inheritAttrs:!1,__name:"NanoEditButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{icon:"Edit"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{icon:"Edit"}),null,16))}}),N=e.defineComponent({name:"NanoExportButton",inheritAttrs:!1,__name:"NanoExportButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({...t.$props,...t.$attrs},{class:"app-button-export",icon:"Download"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("导出",-1))])]),_:3},16))}}),y=e.defineComponent({name:"NanoFreezeButton",inheritAttrs:!1,__name:"NanoFreezeButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{type:"danger",icon:"Hide"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{type:"danger",icon:"Hide"}),null,16))}}),C=e.defineComponent({name:"NanoImportButton",inheritAttrs:!1,__name:"NanoImportButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({...t.$props,...t.$attrs},{class:"app-button-import",icon:"Upload"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("导入",-1))])]),_:3},16))}}),h=e.defineComponent({name:"NanoManageButton",inheritAttrs:!1,__name:"NanoManageButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{type:"primary",icon:"Setting"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{type:"primary",icon:"Setting"}),null,16))}}),b=e.defineComponent({name:"NanoMoveButton",inheritAttrs:!1,__name:"NanoMoveButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({...t.$props,...t.$attrs},{icon:"Rank"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("移动",-1))])]),_:3},16))}}),T=e.defineComponent({name:"NanoSubmitButton",inheritAttrs:!1,__name:"NanoSubmitButton",props:s.buttonProps,setup(r){return(t,o)=>(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({...t.$props,...t.$attrs},{type:"primary"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[o[0]||(o[0]=e.createTextVNode("保存",-1))])]),_:3},16))}}),w=e.defineComponent({name:"NanoTextAddButton",inheritAttrs:!1,__name:"NanoTextAddButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{text:"",icon:"Plus"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{text:"",icon:"Plus"}),null,16))}}),S=e.defineComponent({name:"NanoUnfreezeButton",inheritAttrs:!1,__name:"NanoUnfreezeButton",props:s.buttonProps,setup(r){return(t,o)=>t.$slots.default?(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:0},{...t.$props,...t.$attrs},{type:"success",icon:"View"}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(n._sfc_main,e.mergeProps({key:1},{...t.$props,...t.$attrs},{type:"success",icon:"View"}),null,16))}});exports._sfc_main=B;exports._sfc_main$1=w;exports._sfc_main$10=T;exports._sfc_main$11=k;exports._sfc_main$12=$;exports._sfc_main$2=b;exports._sfc_main$3=C;exports._sfc_main$4=N;exports._sfc_main$5=g;exports._sfc_main$6=h;exports._sfc_main$7=P;exports._sfc_main$8=y;exports._sfc_main$9=S;
|
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as n, createBlock as o, mergeProps as r, withCtx as a, renderSlot as p, createTextVNode as m, createElementVNode as _, normalizeProps as b, guardReactiveProps as g, useAttrs as v, computed as P, resolveComponent as C, unref as B } from "vue";
|
|
2
|
-
import { buttonProps as i } from "element-plus";
|
|
3
|
-
import { _ as s } from "./NanoButton.vue_vue_type_script_setup_true_lang-DgnSKBXL.js";
|
|
4
|
-
const E = /* @__PURE__ */ l({
|
|
5
|
-
name: "NanoAddButton",
|
|
6
|
-
inheritAttrs: !1,
|
|
7
|
-
__name: "NanoAddButton",
|
|
8
|
-
props: i,
|
|
9
|
-
setup(u) {
|
|
10
|
-
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
11
|
-
type: "primary",
|
|
12
|
-
icon: "Plus"
|
|
13
|
-
}), {
|
|
14
|
-
default: a(() => [
|
|
15
|
-
p(t.$slots, "default", {}, () => [
|
|
16
|
-
e[0] || (e[0] = m("新增", -1))
|
|
17
|
-
])
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 16));
|
|
21
|
-
}
|
|
22
|
-
}), M = /* @__PURE__ */ l({
|
|
23
|
-
name: "NanoBackTopButton",
|
|
24
|
-
inheritAttrs: !1,
|
|
25
|
-
__name: "NanoBackTopButton",
|
|
26
|
-
props: i,
|
|
27
|
-
setup(u) {
|
|
28
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
29
|
-
secondary: "",
|
|
30
|
-
class: "app-backtop-button"
|
|
31
|
-
}), {
|
|
32
|
-
default: a(() => [
|
|
33
|
-
p(t.$slots, "default")
|
|
34
|
-
]),
|
|
35
|
-
_: 3
|
|
36
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, {
|
|
37
|
-
secondary: "",
|
|
38
|
-
class: "app-backtop-button"
|
|
39
|
-
}), {
|
|
40
|
-
default: a(() => [...e[0] || (e[0] = [
|
|
41
|
-
_("svg", {
|
|
42
|
-
class: "app-backtop-icon",
|
|
43
|
-
viewBox: "0 0 24 24",
|
|
44
|
-
"aria-hidden": "true",
|
|
45
|
-
focusable: "false"
|
|
46
|
-
}, [
|
|
47
|
-
_("path", { d: "M6 5h12" }),
|
|
48
|
-
_("path", { d: "M12 19V9" }),
|
|
49
|
-
_("path", { d: "m8 13 4-4 4 4" })
|
|
50
|
-
], -1)
|
|
51
|
-
])]),
|
|
52
|
-
_: 1
|
|
53
|
-
}, 16));
|
|
54
|
-
}
|
|
55
|
-
}), z = /* @__PURE__ */ l({
|
|
56
|
-
name: "NanoCancelButton",
|
|
57
|
-
inheritAttrs: !1,
|
|
58
|
-
__name: "NanoCancelButton",
|
|
59
|
-
props: i,
|
|
60
|
-
setup(u) {
|
|
61
|
-
return (t, e) => (n(), o(s, b(g({ ...t.$props, ...t.$attrs })), {
|
|
62
|
-
default: a(() => [
|
|
63
|
-
p(t.$slots, "default", {}, () => [
|
|
64
|
-
e[0] || (e[0] = m("取消", -1))
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
_: 3
|
|
68
|
-
}, 16));
|
|
69
|
-
}
|
|
70
|
-
}), V = /* @__PURE__ */ l({
|
|
71
|
-
name: "NanoDeleteButton",
|
|
72
|
-
inheritAttrs: !1,
|
|
73
|
-
__name: "NanoDeleteButton",
|
|
74
|
-
props: {
|
|
75
|
-
...i,
|
|
76
|
-
confirmTitle: String,
|
|
77
|
-
confirmButtonText: String,
|
|
78
|
-
cancelButtonText: String
|
|
79
|
-
},
|
|
80
|
-
emits: ["click", "confirm", "cancel"],
|
|
81
|
-
setup(u, { emit: t }) {
|
|
82
|
-
const e = u, y = t, d = v(), c = P(() => {
|
|
83
|
-
const {
|
|
84
|
-
confirmTitle: f,
|
|
85
|
-
confirmButtonText: A,
|
|
86
|
-
cancelButtonText: k,
|
|
87
|
-
...T
|
|
88
|
-
} = e;
|
|
89
|
-
return T;
|
|
90
|
-
}), $ = (f) => {
|
|
91
|
-
y("click", f);
|
|
92
|
-
}, N = (f) => {
|
|
93
|
-
y("confirm", f);
|
|
94
|
-
}, h = (f) => {
|
|
95
|
-
y("cancel", f);
|
|
96
|
-
};
|
|
97
|
-
return (f, A) => {
|
|
98
|
-
const k = C("el-popconfirm");
|
|
99
|
-
return e.confirmTitle ? (n(), o(k, {
|
|
100
|
-
key: 0,
|
|
101
|
-
title: e.confirmTitle,
|
|
102
|
-
"confirm-button-text": e.confirmButtonText,
|
|
103
|
-
"cancel-button-text": e.cancelButtonText,
|
|
104
|
-
onConfirm: N,
|
|
105
|
-
onCancel: h
|
|
106
|
-
}, {
|
|
107
|
-
reference: a(() => [
|
|
108
|
-
f.$slots.default ? (n(), o(s, r({ key: 0 }, { ...c.value, ...B(d) }, {
|
|
109
|
-
type: "danger",
|
|
110
|
-
icon: "Delete",
|
|
111
|
-
onClick: $
|
|
112
|
-
}), {
|
|
113
|
-
default: a(() => [
|
|
114
|
-
p(f.$slots, "default")
|
|
115
|
-
]),
|
|
116
|
-
_: 3
|
|
117
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...c.value, ...B(d) }, {
|
|
118
|
-
type: "danger",
|
|
119
|
-
icon: "Delete",
|
|
120
|
-
onClick: $
|
|
121
|
-
}), null, 16))
|
|
122
|
-
]),
|
|
123
|
-
_: 3
|
|
124
|
-
}, 8, ["title", "confirm-button-text", "cancel-button-text"])) : f.$slots.default ? (n(), o(s, r({ key: 1 }, { ...c.value, ...B(d) }, {
|
|
125
|
-
type: "danger",
|
|
126
|
-
icon: "Delete",
|
|
127
|
-
onClick: $
|
|
128
|
-
}), {
|
|
129
|
-
default: a(() => [
|
|
130
|
-
p(f.$slots, "default")
|
|
131
|
-
]),
|
|
132
|
-
_: 3
|
|
133
|
-
}, 16)) : (n(), o(s, r({ key: 2 }, { ...c.value, ...B(d) }, {
|
|
134
|
-
type: "danger",
|
|
135
|
-
icon: "Delete",
|
|
136
|
-
onClick: $
|
|
137
|
-
}), null, 16));
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
}), U = /* @__PURE__ */ l({
|
|
141
|
-
name: "NanoEditButton",
|
|
142
|
-
inheritAttrs: !1,
|
|
143
|
-
__name: "NanoEditButton",
|
|
144
|
-
props: i,
|
|
145
|
-
setup(u) {
|
|
146
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), {
|
|
147
|
-
default: a(() => [
|
|
148
|
-
p(t.$slots, "default")
|
|
149
|
-
]),
|
|
150
|
-
_: 3
|
|
151
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), null, 16));
|
|
152
|
-
}
|
|
153
|
-
}), F = /* @__PURE__ */ l({
|
|
154
|
-
name: "NanoExportButton",
|
|
155
|
-
inheritAttrs: !1,
|
|
156
|
-
__name: "NanoExportButton",
|
|
157
|
-
props: i,
|
|
158
|
-
setup(u) {
|
|
159
|
-
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
160
|
-
class: "app-button-export",
|
|
161
|
-
icon: "Download"
|
|
162
|
-
}), {
|
|
163
|
-
default: a(() => [
|
|
164
|
-
p(t.$slots, "default", {}, () => [
|
|
165
|
-
e[0] || (e[0] = m("导出", -1))
|
|
166
|
-
])
|
|
167
|
-
]),
|
|
168
|
-
_: 3
|
|
169
|
-
}, 16));
|
|
170
|
-
}
|
|
171
|
-
}), H = /* @__PURE__ */ l({
|
|
172
|
-
name: "NanoFreezeButton",
|
|
173
|
-
inheritAttrs: !1,
|
|
174
|
-
__name: "NanoFreezeButton",
|
|
175
|
-
props: i,
|
|
176
|
-
setup(u) {
|
|
177
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
178
|
-
type: "danger",
|
|
179
|
-
icon: "Hide"
|
|
180
|
-
}), {
|
|
181
|
-
default: a(() => [
|
|
182
|
-
p(t.$slots, "default")
|
|
183
|
-
]),
|
|
184
|
-
_: 3
|
|
185
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, {
|
|
186
|
-
type: "danger",
|
|
187
|
-
icon: "Hide"
|
|
188
|
-
}), null, 16));
|
|
189
|
-
}
|
|
190
|
-
}), I = /* @__PURE__ */ l({
|
|
191
|
-
name: "NanoImportButton",
|
|
192
|
-
inheritAttrs: !1,
|
|
193
|
-
__name: "NanoImportButton",
|
|
194
|
-
props: i,
|
|
195
|
-
setup(u) {
|
|
196
|
-
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
197
|
-
class: "app-button-import",
|
|
198
|
-
icon: "Upload"
|
|
199
|
-
}), {
|
|
200
|
-
default: a(() => [
|
|
201
|
-
p(t.$slots, "default", {}, () => [
|
|
202
|
-
e[0] || (e[0] = m("导入", -1))
|
|
203
|
-
])
|
|
204
|
-
]),
|
|
205
|
-
_: 3
|
|
206
|
-
}, 16));
|
|
207
|
-
}
|
|
208
|
-
}), R = /* @__PURE__ */ l({
|
|
209
|
-
name: "NanoManageButton",
|
|
210
|
-
inheritAttrs: !1,
|
|
211
|
-
__name: "NanoManageButton",
|
|
212
|
-
props: i,
|
|
213
|
-
setup(u) {
|
|
214
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
215
|
-
type: "primary",
|
|
216
|
-
icon: "Setting"
|
|
217
|
-
}), {
|
|
218
|
-
default: a(() => [
|
|
219
|
-
p(t.$slots, "default")
|
|
220
|
-
]),
|
|
221
|
-
_: 3
|
|
222
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, {
|
|
223
|
-
type: "primary",
|
|
224
|
-
icon: "Setting"
|
|
225
|
-
}), null, 16));
|
|
226
|
-
}
|
|
227
|
-
}), j = /* @__PURE__ */ l({
|
|
228
|
-
name: "NanoMoveButton",
|
|
229
|
-
inheritAttrs: !1,
|
|
230
|
-
__name: "NanoMoveButton",
|
|
231
|
-
props: i,
|
|
232
|
-
setup(u) {
|
|
233
|
-
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, { icon: "Rank" }), {
|
|
234
|
-
default: a(() => [
|
|
235
|
-
p(t.$slots, "default", {}, () => [
|
|
236
|
-
e[0] || (e[0] = m("移动", -1))
|
|
237
|
-
])
|
|
238
|
-
]),
|
|
239
|
-
_: 3
|
|
240
|
-
}, 16));
|
|
241
|
-
}
|
|
242
|
-
}), q = /* @__PURE__ */ l({
|
|
243
|
-
name: "NanoSubmitButton",
|
|
244
|
-
inheritAttrs: !1,
|
|
245
|
-
__name: "NanoSubmitButton",
|
|
246
|
-
props: i,
|
|
247
|
-
setup(u) {
|
|
248
|
-
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, { type: "primary" }), {
|
|
249
|
-
default: a(() => [
|
|
250
|
-
p(t.$slots, "default", {}, () => [
|
|
251
|
-
e[0] || (e[0] = m("保存", -1))
|
|
252
|
-
])
|
|
253
|
-
]),
|
|
254
|
-
_: 3
|
|
255
|
-
}, 16));
|
|
256
|
-
}
|
|
257
|
-
}), G = /* @__PURE__ */ l({
|
|
258
|
-
name: "NanoTextAddButton",
|
|
259
|
-
inheritAttrs: !1,
|
|
260
|
-
__name: "NanoTextAddButton",
|
|
261
|
-
props: i,
|
|
262
|
-
setup(u) {
|
|
263
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
264
|
-
text: "",
|
|
265
|
-
icon: "Plus"
|
|
266
|
-
}), {
|
|
267
|
-
default: a(() => [
|
|
268
|
-
p(t.$slots, "default")
|
|
269
|
-
]),
|
|
270
|
-
_: 3
|
|
271
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, {
|
|
272
|
-
text: "",
|
|
273
|
-
icon: "Plus"
|
|
274
|
-
}), null, 16));
|
|
275
|
-
}
|
|
276
|
-
}), J = /* @__PURE__ */ l({
|
|
277
|
-
name: "NanoUnfreezeButton",
|
|
278
|
-
inheritAttrs: !1,
|
|
279
|
-
__name: "NanoUnfreezeButton",
|
|
280
|
-
props: i,
|
|
281
|
-
setup(u) {
|
|
282
|
-
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
283
|
-
type: "success",
|
|
284
|
-
icon: "View"
|
|
285
|
-
}), {
|
|
286
|
-
default: a(() => [
|
|
287
|
-
p(t.$slots, "default")
|
|
288
|
-
]),
|
|
289
|
-
_: 3
|
|
290
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, {
|
|
291
|
-
type: "success",
|
|
292
|
-
icon: "View"
|
|
293
|
-
}), null, 16));
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
export {
|
|
297
|
-
E as _,
|
|
298
|
-
G as a,
|
|
299
|
-
j as b,
|
|
300
|
-
I as c,
|
|
301
|
-
F as d,
|
|
302
|
-
U as e,
|
|
303
|
-
R as f,
|
|
304
|
-
V as g,
|
|
305
|
-
H as h,
|
|
306
|
-
J as i,
|
|
307
|
-
q as j,
|
|
308
|
-
z as k,
|
|
309
|
-
M as l
|
|
310
|
-
};
|