@cst-ui/nano-buttons 0.4.2 → 0.5.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 +13 -0
- package/dist/NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-DPv9MBGA.cjs +1 -0
- package/dist/{NanoTextAddButton.vue_vue_type_script_setup_true_lang-VA-g2KVf.js → NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-xD_rOEkj.js} +90 -50
- package/dist/buttons/components/NanoFreezeButton.vue.d.ts +93 -0
- package/dist/buttons/components/NanoUnfreezeButton.vue.d.ts +93 -0
- package/dist/buttons/index.cjs +1 -1
- package/dist/buttons/index.d.ts +3 -1
- package/dist/buttons/index.mjs +22 -18
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +22 -18
- package/package.json +1 -1
- package/dist/NanoTextAddButton.vue_vue_type_script_setup_true_lang-D-BYJnbu.cjs +0 -1
package/README.md
CHANGED
|
@@ -80,6 +80,8 @@ import { CstPagination, CstTable } from '@cst-ui/nano-buttons/table'
|
|
|
80
80
|
<nano-edit-button />
|
|
81
81
|
<nano-manage-button />
|
|
82
82
|
<nano-delete-button />
|
|
83
|
+
<nano-freeze-button />
|
|
84
|
+
<nano-unfreeze-button />
|
|
83
85
|
<nano-submit-button />
|
|
84
86
|
<nano-cancel-button />
|
|
85
87
|
<nano-back-top-button />
|
|
@@ -96,6 +98,8 @@ import { CstPagination, CstTable } from '@cst-ui/nano-buttons/table'
|
|
|
96
98
|
<nano-import-button />
|
|
97
99
|
<nano-export-button />
|
|
98
100
|
<nano-delete-button />
|
|
101
|
+
<nano-freeze-button />
|
|
102
|
+
<nano-unfreeze-button />
|
|
99
103
|
<nano-submit-button>保存</nano-submit-button>
|
|
100
104
|
<nano-cancel-button>取消</nano-cancel-button>
|
|
101
105
|
```
|
|
@@ -114,6 +118,15 @@ import { CstPagination, CstTable } from '@cst-ui/nano-buttons/table'
|
|
|
114
118
|
|
|
115
119
|
`confirm-title`、`confirm-button-text` 和 `cancel-button-text` 接收最终显示文案,国际化由业务项目调用 `$t()` 后传入。启用确认时,删除操作应绑定 `confirm`,不要绑定 `click`。
|
|
116
120
|
|
|
121
|
+
冻结与解冻是可恢复的状态切换,按钮直接触发 `click`,不内置确认框。冻结按钮使用 EMS 现有的红色 `Hide` 图标样式,解冻按钮使用绿色 `RefreshRight` 图标样式:
|
|
122
|
+
|
|
123
|
+
```vue
|
|
124
|
+
<nano-freeze-button @click="onFreeze(row)" />
|
|
125
|
+
<nano-unfreeze-button @click="onUnfreeze(row)" />
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
两个组件都继承 Element Plus Button 的 `loading`、`disabled` 等属性;传入默认插槽时可以显示业务文案,不传时保持表格操作列的图标按钮样式。
|
|
129
|
+
|
|
117
130
|
不在固定语义里的普通按钮,统一使用 `<nano-button>`:
|
|
118
131
|
|
|
119
132
|
```vue
|
|
@@ -0,0 +1 @@
|
|
|
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))}}),h=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))}}),N=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))}}),y=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))}}),C=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))}}),S=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))}}),w=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:"RefreshRight"}),{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:"RefreshRight"}),null,16))}});exports._sfc_main=B;exports._sfc_main$1=S;exports._sfc_main$10=T;exports._sfc_main$11=k;exports._sfc_main$12=$;exports._sfc_main$2=b;exports._sfc_main$3=y;exports._sfc_main$4=h;exports._sfc_main$5=g;exports._sfc_main$6=C;exports._sfc_main$7=P;exports._sfc_main$8=N;exports._sfc_main$9=w;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { buttonProps as
|
|
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 T, guardReactiveProps as b, useAttrs as v, computed as P, resolveComponent as C, unref as B } from "vue";
|
|
2
|
+
import { buttonProps as i } from "element-plus";
|
|
3
3
|
import { _ as s } from "./NanoButton.vue_vue_type_script_setup_true_lang-DgnSKBXL.js";
|
|
4
|
-
const M = /* @__PURE__ */
|
|
4
|
+
const M = /* @__PURE__ */ l({
|
|
5
5
|
name: "NanoAddButton",
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "NanoAddButton",
|
|
8
|
-
props:
|
|
8
|
+
props: i,
|
|
9
9
|
setup(u) {
|
|
10
10
|
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
11
11
|
type: "primary",
|
|
@@ -19,11 +19,11 @@ const M = /* @__PURE__ */ i({
|
|
|
19
19
|
_: 3
|
|
20
20
|
}, 16));
|
|
21
21
|
}
|
|
22
|
-
}),
|
|
22
|
+
}), R = /* @__PURE__ */ l({
|
|
23
23
|
name: "NanoBackTopButton",
|
|
24
24
|
inheritAttrs: !1,
|
|
25
25
|
__name: "NanoBackTopButton",
|
|
26
|
-
props:
|
|
26
|
+
props: i,
|
|
27
27
|
setup(u) {
|
|
28
28
|
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
29
29
|
secondary: "",
|
|
@@ -52,13 +52,13 @@ const M = /* @__PURE__ */ i({
|
|
|
52
52
|
_: 1
|
|
53
53
|
}, 16));
|
|
54
54
|
}
|
|
55
|
-
}),
|
|
55
|
+
}), w = /* @__PURE__ */ l({
|
|
56
56
|
name: "NanoCancelButton",
|
|
57
57
|
inheritAttrs: !1,
|
|
58
58
|
__name: "NanoCancelButton",
|
|
59
|
-
props:
|
|
59
|
+
props: i,
|
|
60
60
|
setup(u) {
|
|
61
|
-
return (t, e) => (n(), o(s,
|
|
61
|
+
return (t, e) => (n(), o(s, T(b({ ...t.$props, ...t.$attrs })), {
|
|
62
62
|
default: a(() => [
|
|
63
63
|
p(t.$slots, "default", {}, () => [
|
|
64
64
|
e[0] || (e[0] = m("取消", -1))
|
|
@@ -67,34 +67,34 @@ const M = /* @__PURE__ */ i({
|
|
|
67
67
|
_: 3
|
|
68
68
|
}, 16));
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), z = /* @__PURE__ */ l({
|
|
71
71
|
name: "NanoDeleteButton",
|
|
72
72
|
inheritAttrs: !1,
|
|
73
73
|
__name: "NanoDeleteButton",
|
|
74
74
|
props: {
|
|
75
|
-
...
|
|
75
|
+
...i,
|
|
76
76
|
confirmTitle: String,
|
|
77
77
|
confirmButtonText: String,
|
|
78
78
|
cancelButtonText: String
|
|
79
79
|
},
|
|
80
80
|
emits: ["click", "confirm", "cancel"],
|
|
81
81
|
setup(u, { emit: t }) {
|
|
82
|
-
const e = u, y = t,
|
|
82
|
+
const e = u, y = t, d = v(), c = P(() => {
|
|
83
83
|
const {
|
|
84
|
-
confirmTitle:
|
|
85
|
-
confirmButtonText:
|
|
84
|
+
confirmTitle: f,
|
|
85
|
+
confirmButtonText: g,
|
|
86
86
|
cancelButtonText: k,
|
|
87
87
|
...A
|
|
88
88
|
} = e;
|
|
89
89
|
return A;
|
|
90
|
-
}), $ = (
|
|
91
|
-
y("click",
|
|
92
|
-
}, N = (
|
|
93
|
-
y("confirm",
|
|
94
|
-
},
|
|
95
|
-
y("cancel",
|
|
90
|
+
}), $ = (f) => {
|
|
91
|
+
y("click", f);
|
|
92
|
+
}, N = (f) => {
|
|
93
|
+
y("confirm", f);
|
|
94
|
+
}, h = (f) => {
|
|
95
|
+
y("cancel", f);
|
|
96
96
|
};
|
|
97
|
-
return (
|
|
97
|
+
return (f, g) => {
|
|
98
98
|
const k = C("el-popconfirm");
|
|
99
99
|
return e.confirmTitle ? (n(), o(k, {
|
|
100
100
|
key: 0,
|
|
@@ -102,46 +102,46 @@ const M = /* @__PURE__ */ i({
|
|
|
102
102
|
"confirm-button-text": e.confirmButtonText,
|
|
103
103
|
"cancel-button-text": e.cancelButtonText,
|
|
104
104
|
onConfirm: N,
|
|
105
|
-
onCancel:
|
|
105
|
+
onCancel: h
|
|
106
106
|
}, {
|
|
107
107
|
reference: a(() => [
|
|
108
|
-
|
|
108
|
+
f.$slots.default ? (n(), o(s, r({ key: 0 }, { ...c.value, ...B(d) }, {
|
|
109
109
|
type: "danger",
|
|
110
110
|
icon: "Delete",
|
|
111
111
|
onClick: $
|
|
112
112
|
}), {
|
|
113
113
|
default: a(() => [
|
|
114
|
-
p(
|
|
114
|
+
p(f.$slots, "default")
|
|
115
115
|
]),
|
|
116
116
|
_: 3
|
|
117
|
-
}, 16)) : (n(), o(s, r({ key: 1 }, { ...
|
|
117
|
+
}, 16)) : (n(), o(s, r({ key: 1 }, { ...c.value, ...B(d) }, {
|
|
118
118
|
type: "danger",
|
|
119
119
|
icon: "Delete",
|
|
120
120
|
onClick: $
|
|
121
121
|
}), null, 16))
|
|
122
122
|
]),
|
|
123
123
|
_: 3
|
|
124
|
-
}, 8, ["title", "confirm-button-text", "cancel-button-text"])) :
|
|
124
|
+
}, 8, ["title", "confirm-button-text", "cancel-button-text"])) : f.$slots.default ? (n(), o(s, r({ key: 1 }, { ...c.value, ...B(d) }, {
|
|
125
125
|
type: "danger",
|
|
126
126
|
icon: "Delete",
|
|
127
127
|
onClick: $
|
|
128
128
|
}), {
|
|
129
129
|
default: a(() => [
|
|
130
|
-
p(
|
|
130
|
+
p(f.$slots, "default")
|
|
131
131
|
]),
|
|
132
132
|
_: 3
|
|
133
|
-
}, 16)) : (n(), o(s, r({ key: 2 }, { ...
|
|
133
|
+
}, 16)) : (n(), o(s, r({ key: 2 }, { ...c.value, ...B(d) }, {
|
|
134
134
|
type: "danger",
|
|
135
135
|
icon: "Delete",
|
|
136
136
|
onClick: $
|
|
137
137
|
}), null, 16));
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), U = /* @__PURE__ */ l({
|
|
141
141
|
name: "NanoEditButton",
|
|
142
142
|
inheritAttrs: !1,
|
|
143
143
|
__name: "NanoEditButton",
|
|
144
|
-
props:
|
|
144
|
+
props: i,
|
|
145
145
|
setup(u) {
|
|
146
146
|
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), {
|
|
147
147
|
default: a(() => [
|
|
@@ -150,11 +150,11 @@ const M = /* @__PURE__ */ i({
|
|
|
150
150
|
_: 3
|
|
151
151
|
}, 16)) : (n(), o(s, r({ key: 1 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), null, 16));
|
|
152
152
|
}
|
|
153
|
-
}),
|
|
153
|
+
}), V = /* @__PURE__ */ l({
|
|
154
154
|
name: "NanoExportButton",
|
|
155
155
|
inheritAttrs: !1,
|
|
156
156
|
__name: "NanoExportButton",
|
|
157
|
-
props:
|
|
157
|
+
props: i,
|
|
158
158
|
setup(u) {
|
|
159
159
|
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
160
160
|
class: "app-button-export",
|
|
@@ -168,11 +168,30 @@ const M = /* @__PURE__ */ i({
|
|
|
168
168
|
_: 3
|
|
169
169
|
}, 16));
|
|
170
170
|
}
|
|
171
|
-
}),
|
|
171
|
+
}), F = /* @__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
|
+
}), H = /* @__PURE__ */ l({
|
|
172
191
|
name: "NanoImportButton",
|
|
173
192
|
inheritAttrs: !1,
|
|
174
193
|
__name: "NanoImportButton",
|
|
175
|
-
props:
|
|
194
|
+
props: i,
|
|
176
195
|
setup(u) {
|
|
177
196
|
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, {
|
|
178
197
|
class: "app-button-import",
|
|
@@ -186,11 +205,11 @@ const M = /* @__PURE__ */ i({
|
|
|
186
205
|
_: 3
|
|
187
206
|
}, 16));
|
|
188
207
|
}
|
|
189
|
-
}),
|
|
208
|
+
}), I = /* @__PURE__ */ l({
|
|
190
209
|
name: "NanoManageButton",
|
|
191
210
|
inheritAttrs: !1,
|
|
192
211
|
__name: "NanoManageButton",
|
|
193
|
-
props:
|
|
212
|
+
props: i,
|
|
194
213
|
setup(u) {
|
|
195
214
|
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
196
215
|
type: "primary",
|
|
@@ -205,11 +224,11 @@ const M = /* @__PURE__ */ i({
|
|
|
205
224
|
icon: "Setting"
|
|
206
225
|
}), null, 16));
|
|
207
226
|
}
|
|
208
|
-
}),
|
|
227
|
+
}), j = /* @__PURE__ */ l({
|
|
209
228
|
name: "NanoMoveButton",
|
|
210
229
|
inheritAttrs: !1,
|
|
211
230
|
__name: "NanoMoveButton",
|
|
212
|
-
props:
|
|
231
|
+
props: i,
|
|
213
232
|
setup(u) {
|
|
214
233
|
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, { icon: "Rank" }), {
|
|
215
234
|
default: a(() => [
|
|
@@ -220,11 +239,11 @@ const M = /* @__PURE__ */ i({
|
|
|
220
239
|
_: 3
|
|
221
240
|
}, 16));
|
|
222
241
|
}
|
|
223
|
-
}),
|
|
242
|
+
}), q = /* @__PURE__ */ l({
|
|
224
243
|
name: "NanoSubmitButton",
|
|
225
244
|
inheritAttrs: !1,
|
|
226
245
|
__name: "NanoSubmitButton",
|
|
227
|
-
props:
|
|
246
|
+
props: i,
|
|
228
247
|
setup(u) {
|
|
229
248
|
return (t, e) => (n(), o(s, r({ ...t.$props, ...t.$attrs }, { type: "primary" }), {
|
|
230
249
|
default: a(() => [
|
|
@@ -235,11 +254,11 @@ const M = /* @__PURE__ */ i({
|
|
|
235
254
|
_: 3
|
|
236
255
|
}, 16));
|
|
237
256
|
}
|
|
238
|
-
}), G = /* @__PURE__ */
|
|
257
|
+
}), G = /* @__PURE__ */ l({
|
|
239
258
|
name: "NanoTextAddButton",
|
|
240
259
|
inheritAttrs: !1,
|
|
241
260
|
__name: "NanoTextAddButton",
|
|
242
|
-
props:
|
|
261
|
+
props: i,
|
|
243
262
|
setup(u) {
|
|
244
263
|
return (t, e) => t.$slots.default ? (n(), o(s, r({ key: 0 }, { ...t.$props, ...t.$attrs }, {
|
|
245
264
|
text: "",
|
|
@@ -254,17 +273,38 @@ const M = /* @__PURE__ */ i({
|
|
|
254
273
|
icon: "Plus"
|
|
255
274
|
}), null, 16));
|
|
256
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: "RefreshRight"
|
|
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: "RefreshRight"
|
|
293
|
+
}), null, 16));
|
|
294
|
+
}
|
|
257
295
|
});
|
|
258
296
|
export {
|
|
259
297
|
M as _,
|
|
260
298
|
G as a,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
299
|
+
j as b,
|
|
300
|
+
H as c,
|
|
301
|
+
V as d,
|
|
302
|
+
U as e,
|
|
303
|
+
I as f,
|
|
304
|
+
z as g,
|
|
267
305
|
F as h,
|
|
268
|
-
|
|
269
|
-
|
|
306
|
+
J as i,
|
|
307
|
+
q as j,
|
|
308
|
+
w as k,
|
|
309
|
+
R as l
|
|
270
310
|
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
readonly size: {
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
17
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown, "", boolean>;
|
|
18
|
+
readonly icon: {
|
|
19
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
24
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
25
|
+
readonly loading: BooleanConstructor;
|
|
26
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
27
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
28
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
29
|
+
readonly link: BooleanConstructor;
|
|
30
|
+
readonly bg: BooleanConstructor;
|
|
31
|
+
readonly autofocus: BooleanConstructor;
|
|
32
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
33
|
+
readonly circle: BooleanConstructor;
|
|
34
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
35
|
+
readonly color: StringConstructor;
|
|
36
|
+
readonly dark: BooleanConstructor;
|
|
37
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
38
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "button", boolean>;
|
|
39
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
readonly size: {
|
|
41
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
};
|
|
46
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
47
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown, "", boolean>;
|
|
48
|
+
readonly icon: {
|
|
49
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
54
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
55
|
+
readonly loading: BooleanConstructor;
|
|
56
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
57
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
58
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
59
|
+
readonly link: BooleanConstructor;
|
|
60
|
+
readonly bg: BooleanConstructor;
|
|
61
|
+
readonly autofocus: BooleanConstructor;
|
|
62
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
63
|
+
readonly circle: BooleanConstructor;
|
|
64
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
65
|
+
readonly color: StringConstructor;
|
|
66
|
+
readonly dark: BooleanConstructor;
|
|
67
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
68
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "button", boolean>;
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown>;
|
|
71
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
73
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
74
|
+
readonly loading: boolean;
|
|
75
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | null)[], unknown, unknown>;
|
|
76
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
77
|
+
readonly link: boolean;
|
|
78
|
+
readonly bg: boolean;
|
|
79
|
+
readonly autofocus: boolean;
|
|
80
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
81
|
+
readonly circle: boolean;
|
|
82
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
|
+
readonly dark: boolean;
|
|
84
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
85
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | null)[], unknown, unknown>;
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
88
|
+
export default _default;
|
|
89
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
90
|
+
new (): {
|
|
91
|
+
$slots: S;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
readonly size: {
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
17
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown, "", boolean>;
|
|
18
|
+
readonly icon: {
|
|
19
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
24
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
25
|
+
readonly loading: BooleanConstructor;
|
|
26
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
27
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
28
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
29
|
+
readonly link: BooleanConstructor;
|
|
30
|
+
readonly bg: BooleanConstructor;
|
|
31
|
+
readonly autofocus: BooleanConstructor;
|
|
32
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
33
|
+
readonly circle: BooleanConstructor;
|
|
34
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
35
|
+
readonly color: StringConstructor;
|
|
36
|
+
readonly dark: BooleanConstructor;
|
|
37
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
38
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "button", boolean>;
|
|
39
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
readonly size: {
|
|
41
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
};
|
|
46
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
47
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown, "", boolean>;
|
|
48
|
+
readonly icon: {
|
|
49
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
54
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
55
|
+
readonly loading: BooleanConstructor;
|
|
56
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
57
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
58
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
59
|
+
readonly link: BooleanConstructor;
|
|
60
|
+
readonly bg: BooleanConstructor;
|
|
61
|
+
readonly autofocus: BooleanConstructor;
|
|
62
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
63
|
+
readonly circle: BooleanConstructor;
|
|
64
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
65
|
+
readonly color: StringConstructor;
|
|
66
|
+
readonly dark: BooleanConstructor;
|
|
67
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
68
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "button", boolean>;
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
readonly type: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown>;
|
|
71
|
+
readonly text: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
+
readonly disabled: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
73
|
+
readonly nativeType: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
74
|
+
readonly loading: boolean;
|
|
75
|
+
readonly loadingIcon: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | null)[], unknown, unknown>;
|
|
76
|
+
readonly plain: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
77
|
+
readonly link: boolean;
|
|
78
|
+
readonly bg: boolean;
|
|
79
|
+
readonly autofocus: boolean;
|
|
80
|
+
readonly round: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
81
|
+
readonly circle: boolean;
|
|
82
|
+
readonly dashed: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
|
+
readonly dark: boolean;
|
|
84
|
+
readonly autoInsertSpace: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
85
|
+
readonly tag: import("element-plus/es/utils/vue/props/types.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | null)[], unknown, unknown>;
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
88
|
+
export default _default;
|
|
89
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
90
|
+
new (): {
|
|
91
|
+
$slots: S;
|
|
92
|
+
};
|
|
93
|
+
};
|
package/dist/buttons/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-DPv9MBGA.cjs"),t=require("../NanoButton.vue_vue_type_script_setup_true_lang-D1yLWi2K.cjs"),e=[t._sfc_main,n._sfc_main,n._sfc_main$1,n._sfc_main$2,n._sfc_main$3,n._sfc_main$4,n._sfc_main$5,n._sfc_main$6,n._sfc_main$7,n._sfc_main$8,n._sfc_main$9,n._sfc_main$10,n._sfc_main$11,n._sfc_main$12],a=o=>{e.forEach(_=>{o.component(_.name||"AnonymousComponent",_)})},s={install:a};exports.NanoAddButton=n._sfc_main;exports.NanoBackTopButton=n._sfc_main$12;exports.NanoCancelButton=n._sfc_main$11;exports.NanoDeleteButton=n._sfc_main$7;exports.NanoEditButton=n._sfc_main$5;exports.NanoExportButton=n._sfc_main$4;exports.NanoFreezeButton=n._sfc_main$8;exports.NanoImportButton=n._sfc_main$3;exports.NanoManageButton=n._sfc_main$6;exports.NanoMoveButton=n._sfc_main$2;exports.NanoSubmitButton=n._sfc_main$10;exports.NanoTextAddButton=n._sfc_main$1;exports.NanoUnfreezeButton=n._sfc_main$9;exports.NanoButton=t._sfc_main;exports.default=s;exports.install=a;
|
package/dist/buttons/index.d.ts
CHANGED
|
@@ -7,13 +7,15 @@ import NanoCancelButton from './components/NanoCancelButton.vue';
|
|
|
7
7
|
import NanoDeleteButton from './components/NanoDeleteButton.vue';
|
|
8
8
|
import NanoEditButton from './components/NanoEditButton.vue';
|
|
9
9
|
import NanoExportButton from './components/NanoExportButton.vue';
|
|
10
|
+
import NanoFreezeButton from './components/NanoFreezeButton.vue';
|
|
10
11
|
import NanoImportButton from './components/NanoImportButton.vue';
|
|
11
12
|
import NanoManageButton from './components/NanoManageButton.vue';
|
|
12
13
|
import NanoMoveButton from './components/NanoMoveButton.vue';
|
|
13
14
|
import NanoSubmitButton from './components/NanoSubmitButton.vue';
|
|
14
15
|
import NanoTextAddButton from './components/NanoTextAddButton.vue';
|
|
16
|
+
import NanoUnfreezeButton from './components/NanoUnfreezeButton.vue';
|
|
15
17
|
declare const install: (app: App) => void;
|
|
16
18
|
declare const NanoButtons: Plugin;
|
|
17
|
-
export { NanoButton, NanoAddButton, NanoTextAddButton, NanoMoveButton, NanoImportButton, NanoExportButton, NanoEditButton, NanoManageButton, NanoDeleteButton, NanoSubmitButton, NanoCancelButton, NanoBackTopButton, install, };
|
|
19
|
+
export { NanoButton, NanoAddButton, NanoTextAddButton, NanoMoveButton, NanoImportButton, NanoExportButton, NanoEditButton, NanoManageButton, NanoDeleteButton, NanoFreezeButton, NanoUnfreezeButton, NanoSubmitButton, NanoCancelButton, NanoBackTopButton, install, };
|
|
18
20
|
export type { NanoButtonProps } from './components/props';
|
|
19
21
|
export default NanoButtons;
|
package/dist/buttons/index.mjs
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
o,
|
|
1
|
+
import { _ as s, a as o, b as t, c as _, d as m, e as c, f, g as i, h as e, i as u, j as B, k as N, l as $ } from "../NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-xD_rOEkj.js";
|
|
2
|
+
import { _ as r } from "../NanoButton.vue_vue_type_script_setup_true_lang-DgnSKBXL.js";
|
|
3
|
+
const d = [
|
|
4
|
+
r,
|
|
6
5
|
s,
|
|
6
|
+
o,
|
|
7
7
|
t,
|
|
8
8
|
_,
|
|
9
9
|
m,
|
|
10
10
|
c,
|
|
11
|
-
i,
|
|
12
11
|
f,
|
|
12
|
+
i,
|
|
13
|
+
e,
|
|
13
14
|
u,
|
|
14
15
|
B,
|
|
15
|
-
|
|
16
|
+
N,
|
|
17
|
+
$
|
|
16
18
|
], p = (n) => {
|
|
17
|
-
|
|
19
|
+
d.forEach((a) => {
|
|
18
20
|
n.component(a.name || "AnonymousComponent", a);
|
|
19
21
|
});
|
|
20
|
-
},
|
|
22
|
+
}, x = {
|
|
21
23
|
install: p
|
|
22
24
|
};
|
|
23
25
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
s as NanoAddButton,
|
|
27
|
+
$ as NanoBackTopButton,
|
|
28
|
+
r as NanoButton,
|
|
29
|
+
N as NanoCancelButton,
|
|
30
|
+
i as NanoDeleteButton,
|
|
29
31
|
c as NanoEditButton,
|
|
30
32
|
m as NanoExportButton,
|
|
33
|
+
e as NanoFreezeButton,
|
|
31
34
|
_ as NanoImportButton,
|
|
32
|
-
|
|
35
|
+
f as NanoManageButton,
|
|
33
36
|
t as NanoMoveButton,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
B as NanoSubmitButton,
|
|
38
|
+
o as NanoTextAddButton,
|
|
39
|
+
u as NanoUnfreezeButton,
|
|
40
|
+
x as default,
|
|
37
41
|
p as install
|
|
38
42
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-DPv9MBGA.cjs"),t=require("./NanoButton.vue_vue_type_script_setup_true_lang-D1yLWi2K.cjs"),e=[t._sfc_main,n._sfc_main,n._sfc_main$1,n._sfc_main$2,n._sfc_main$3,n._sfc_main$4,n._sfc_main$5,n._sfc_main$6,n._sfc_main$7,n._sfc_main$8,n._sfc_main$9,n._sfc_main$10,n._sfc_main$11,n._sfc_main$12],a=o=>{e.forEach(_=>{o.component(_.name||"AnonymousComponent",_)})},s={install:a};exports.NanoAddButton=n._sfc_main;exports.NanoBackTopButton=n._sfc_main$12;exports.NanoCancelButton=n._sfc_main$11;exports.NanoDeleteButton=n._sfc_main$7;exports.NanoEditButton=n._sfc_main$5;exports.NanoExportButton=n._sfc_main$4;exports.NanoFreezeButton=n._sfc_main$8;exports.NanoImportButton=n._sfc_main$3;exports.NanoManageButton=n._sfc_main$6;exports.NanoMoveButton=n._sfc_main$2;exports.NanoSubmitButton=n._sfc_main$10;exports.NanoTextAddButton=n._sfc_main$1;exports.NanoUnfreezeButton=n._sfc_main$9;exports.NanoButton=t._sfc_main;exports.default=s;exports.install=a;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,13 +7,15 @@ import NanoCancelButton from './buttons/components/NanoCancelButton.vue';
|
|
|
7
7
|
import NanoDeleteButton from './buttons/components/NanoDeleteButton.vue';
|
|
8
8
|
import NanoEditButton from './buttons/components/NanoEditButton.vue';
|
|
9
9
|
import NanoExportButton from './buttons/components/NanoExportButton.vue';
|
|
10
|
+
import NanoFreezeButton from './buttons/components/NanoFreezeButton.vue';
|
|
10
11
|
import NanoImportButton from './buttons/components/NanoImportButton.vue';
|
|
11
12
|
import NanoManageButton from './buttons/components/NanoManageButton.vue';
|
|
12
13
|
import NanoMoveButton from './buttons/components/NanoMoveButton.vue';
|
|
13
14
|
import NanoSubmitButton from './buttons/components/NanoSubmitButton.vue';
|
|
14
15
|
import NanoTextAddButton from './buttons/components/NanoTextAddButton.vue';
|
|
16
|
+
import NanoUnfreezeButton from './buttons/components/NanoUnfreezeButton.vue';
|
|
15
17
|
declare const install: (app: App) => void;
|
|
16
18
|
declare const NanoButtons: Plugin;
|
|
17
|
-
export { NanoButton, NanoAddButton, NanoTextAddButton, NanoMoveButton, NanoImportButton, NanoExportButton, NanoEditButton, NanoManageButton, NanoDeleteButton, NanoSubmitButton, NanoCancelButton, NanoBackTopButton, install, };
|
|
19
|
+
export { NanoButton, NanoAddButton, NanoTextAddButton, NanoMoveButton, NanoImportButton, NanoExportButton, NanoEditButton, NanoManageButton, NanoDeleteButton, NanoFreezeButton, NanoUnfreezeButton, NanoSubmitButton, NanoCancelButton, NanoBackTopButton, install, };
|
|
18
20
|
export type { NanoButtonProps } from './buttons/components/props';
|
|
19
21
|
export default NanoButtons;
|
package/dist/index.mjs
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
o,
|
|
1
|
+
import { _ as s, a as o, b as t, c as _, d as m, e as c, f, g as i, h as e, i as u, j as B, k as N, l as $ } from "./NanoUnfreezeButton.vue_vue_type_script_setup_true_lang-xD_rOEkj.js";
|
|
2
|
+
import { _ as r } from "./NanoButton.vue_vue_type_script_setup_true_lang-DgnSKBXL.js";
|
|
3
|
+
const d = [
|
|
4
|
+
r,
|
|
6
5
|
s,
|
|
6
|
+
o,
|
|
7
7
|
t,
|
|
8
8
|
_,
|
|
9
9
|
m,
|
|
10
10
|
c,
|
|
11
|
-
i,
|
|
12
11
|
f,
|
|
12
|
+
i,
|
|
13
|
+
e,
|
|
13
14
|
u,
|
|
14
15
|
B,
|
|
15
|
-
|
|
16
|
+
N,
|
|
17
|
+
$
|
|
16
18
|
], p = (n) => {
|
|
17
|
-
|
|
19
|
+
d.forEach((a) => {
|
|
18
20
|
n.component(a.name || "AnonymousComponent", a);
|
|
19
21
|
});
|
|
20
|
-
},
|
|
22
|
+
}, x = {
|
|
21
23
|
install: p
|
|
22
24
|
};
|
|
23
25
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
s as NanoAddButton,
|
|
27
|
+
$ as NanoBackTopButton,
|
|
28
|
+
r as NanoButton,
|
|
29
|
+
N as NanoCancelButton,
|
|
30
|
+
i as NanoDeleteButton,
|
|
29
31
|
c as NanoEditButton,
|
|
30
32
|
m as NanoExportButton,
|
|
33
|
+
e as NanoFreezeButton,
|
|
31
34
|
_ as NanoImportButton,
|
|
32
|
-
|
|
35
|
+
f as NanoManageButton,
|
|
33
36
|
t as NanoMoveButton,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
B as NanoSubmitButton,
|
|
38
|
+
o as NanoTextAddButton,
|
|
39
|
+
u as NanoUnfreezeButton,
|
|
40
|
+
x as default,
|
|
37
41
|
p as install
|
|
38
42
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=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:a.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:a.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:a.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:{...a.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:s,confirmButtonText:_,cancelButtonText:u,...d}=o;return d}),c=s=>{i("click",s)},m=s=>{i("confirm",s)},f=s=>{i("cancel",s)};return(s,_)=>{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(()=>[s.$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(s.$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"])):s.$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(s.$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))}}}),N=e.defineComponent({name:"NanoEditButton",inheritAttrs:!1,__name:"NanoEditButton",props:a.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))}}),g=e.defineComponent({name:"NanoExportButton",inheritAttrs:!1,__name:"NanoExportButton",props:a.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))}}),C=e.defineComponent({name:"NanoImportButton",inheritAttrs:!1,__name:"NanoImportButton",props:a.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))}}),y=e.defineComponent({name:"NanoManageButton",inheritAttrs:!1,__name:"NanoManageButton",props:a.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))}}),h=e.defineComponent({name:"NanoMoveButton",inheritAttrs:!1,__name:"NanoMoveButton",props:a.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))}}),b=e.defineComponent({name:"NanoSubmitButton",inheritAttrs:!1,__name:"NanoSubmitButton",props:a.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))}}),T=e.defineComponent({name:"NanoTextAddButton",inheritAttrs:!1,__name:"NanoTextAddButton",props:a.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))}});exports._sfc_main=B;exports._sfc_main$1=T;exports._sfc_main$10=$;exports._sfc_main$2=h;exports._sfc_main$3=C;exports._sfc_main$4=g;exports._sfc_main$5=N;exports._sfc_main$6=y;exports._sfc_main$7=P;exports._sfc_main$8=b;exports._sfc_main$9=k;
|