@wuxiaolins/components 0.0.1
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 +16 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -0
- package/dist/es/antd/button/index.js +1 -0
- package/dist/es/antd/button/src/index.vue.js +1 -0
- package/dist/es/antd/button/src/index.vue2.js +1 -0
- package/dist/es/antd/checkbox/index.js +1 -0
- package/dist/es/antd/checkbox/src/index.vue.js +1 -0
- package/dist/es/antd/checkbox/src/index.vue2.js +1 -0
- package/dist/es/antd/header-back/index.js +1 -0
- package/dist/es/antd/header-back/src/index.vue.js +1 -0
- package/dist/es/antd/header-back/src/index.vue2.js +1 -0
- package/dist/es/antd/icon/index.js +1 -0
- package/dist/es/antd/icon/src/index.vue.js +1 -0
- package/dist/es/antd/icon/src/index.vue2.js +1 -0
- package/dist/es/antd/icon-font/index.js +1 -0
- package/dist/es/antd/icon-font/src/index.vue.js +1 -0
- package/dist/es/antd/icon-font/src/index.vue2.js +1 -0
- package/dist/es/antd/loading/index.js +1 -0
- package/dist/es/antd/loading/src/index.vue.js +1 -0
- package/dist/es/antd/loading/src/index.vue2.js +1 -0
- package/dist/es/antd/modal/index.js +1 -0
- package/dist/es/antd/modal/src/index.vue.js +1 -0
- package/dist/es/antd/modal/src/index.vue2.js +1 -0
- package/dist/es/assets/index-c15b8b96.css +1 -0
- package/dist/es/assets/index.vue_vue_type_style_index_0_scope_true_lang-43384b44.css +1 -0
- package/dist/es/assets/index.vue_vue_type_style_index_0_scope_true_lang-cf2f5ec6.css +1 -0
- package/dist/es/assets/index.vue_vue_type_style_index_0_scoped_55b47934_lang-75165236.css +1 -0
- package/dist/es/assets/index.vue_vue_type_style_index_0_scoped_ac37c748_lang-1a84b608.css +1 -0
- package/dist/es/assets/index.vue_vue_type_style_index_0_scoped_eeef36ac_lang-2e36a14d.css +1 -0
- package/dist/es/img/index.js +1 -0
- package/dist/es/img/src/index.vue.js +1 -0
- package/dist/es/img/src/index.vue2.js +1 -0
- package/dist/es/index.js +1 -0
- package/dist/es/layout/box/index.js +1 -0
- package/dist/es/layout/box/src/index.vue.js +1 -0
- package/dist/es/layout/box/src/index.vue2.js +1 -0
- package/dist/es/layout/index.js +1 -0
- package/dist/es/layout/src/index.vue.js +1 -0
- package/dist/es/layout/src/index.vue2.js +1 -0
- package/dist/index.es.js +1128 -0
- package/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types/antd/button/index.d.ts +2 -0
- package/dist/types/antd/button/index.d.ts.map +1 -0
- package/dist/types/antd/checkbox/index.d.ts +2 -0
- package/dist/types/antd/checkbox/index.d.ts.map +1 -0
- package/dist/types/antd/header-back/index.d.ts +2 -0
- package/dist/types/antd/header-back/index.d.ts.map +1 -0
- package/dist/types/antd/icon/index.d.ts +2 -0
- package/dist/types/antd/icon/index.d.ts.map +1 -0
- package/dist/types/antd/icon-font/index.d.ts +2 -0
- package/dist/types/antd/icon-font/index.d.ts.map +1 -0
- package/dist/types/antd/loading/index.d.ts +2 -0
- package/dist/types/antd/loading/index.d.ts.map +1 -0
- package/dist/types/antd/modal/index.d.ts +2 -0
- package/dist/types/antd/modal/index.d.ts.map +1 -0
- package/dist/types/img/index.d.ts +2 -0
- package/dist/types/img/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/layout/box/index.d.ts +2 -0
- package/dist/types/layout/box/index.d.ts.map +1 -0
- package/dist/types/layout/index.d.ts +2 -0
- package/dist/types/layout/index.d.ts.map +1 -0
- package/dist/uno.css +41 -0
- package/package.json +127 -0
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,1128 @@
|
|
|
1
|
+
import { defineComponent as O, openBlock as u, createBlock as s, unref as c, withCtx as d, renderSlot as o, resolveDynamicComponent as z, mergeProps as C, createElementBlock as p, createVNode as f, Fragment as D, createCommentVNode as x, normalizeClass as A, createElementVNode as S, toDisplayString as R, computed as F, normalizeStyle as I } from "vue";
|
|
2
|
+
import { Spin as $, Flex as m, Button as P, Space as E, Dropdown as L, Checkbox as M } from "ant-design-vue";
|
|
3
|
+
import { RetweetOutlined as q, ThunderboltTwoTone as U, ArrowsAltOutlined as V, CaretRightOutlined as N, CaretDownOutlined as H, CaretUpOutlined as W, PlayCircleOutlined as j, UpOutlined as G, DownOutlined as Q, VerticalAlignBottomOutlined as Z, VerticalAlignMiddleOutlined as J, VerticalAlignTopOutlined as K, LogoutOutlined as X, LoginOutlined as Y, FullscreenExitOutlined as ee, FullscreenOutlined as te, SwapOutlined as re, QuestionCircleFilled as ne, QuestionCircleOutlined as le, DownloadOutlined as ue, UploadOutlined as ie, SearchOutlined as ae, UserOutlined as de, ColumnHeightOutlined as se, SettingFilled as ce, SettingOutlined as oe, MoreOutlined as Oe, LockOutlined as pe, PlusOutlined as fe, EditOutlined as ge, DeleteOutlined as me, WomanOutlined as he, WifiOutlined as ye, WhatsAppOutlined as be, WalletOutlined as Ce, VideoCameraOutlined as _e, VideoCameraAddOutlined as xe, VerifiedOutlined as Se, UsergroupDeleteOutlined as ke, UsergroupAddOutlined as we, UserSwitchOutlined as ve, UserDeleteOutlined as Be, UserAddOutlined as Fe, UsbOutlined as Pe, UnlockOutlined as Re, UngroupOutlined as Te, TrophyOutlined as ze, TranslationOutlined as De, TransactionOutlined as Ae, TrademarkOutlined as Ie, TrademarkCircleOutlined as $e, ToolOutlined as Ee, ToTopOutlined as Le, ThunderboltOutlined as Me, TeamOutlined as qe, TagsOutlined as Ue, TagOutlined as Ve, TabletOutlined as Ne, TableOutlined as He, SyncOutlined as We, SwitcherOutlined as je, SubnodeOutlined as Ge, StarOutlined as Qe, SplitCellsOutlined as Ze, SoundOutlined as Je, SolutionOutlined as Ke, SmileOutlined as Xe, SkinOutlined as Ye, SisternodeOutlined as et, ShoppingOutlined as tt, ShoppingCartOutlined as rt, ShopOutlined as nt, ShareAltOutlined as lt, ShakeOutlined as ut, SendOutlined as it, SelectOutlined as at, SecurityScanOutlined as dt, ScheduleOutlined as st, ScanOutlined as ct, SaveOutlined as ot, SafetyOutlined as Ot, SafetyCertificateOutlined as pt, RotateRightOutlined as ft, RotateLeftOutlined as gt, RocketOutlined as mt, RobotOutlined as ht, RestOutlined as yt, ReloadOutlined as bt, RedEnvelopeOutlined as Ct, ReconciliationOutlined as _t, ReadOutlined as xt, QrcodeOutlined as St, PushpinOutlined as kt, PullRequestOutlined as wt, PropertySafetyOutlined as vt, ProjectOutlined as Bt, ProfileOutlined as Ft, PrinterOutlined as Pt, PoweroffOutlined as Rt, PoundOutlined as Tt, PoundCircleOutlined as zt, PlaySquareOutlined as Dt, PictureOutlined as At, PhoneOutlined as It, PercentageOutlined as $t, PayCircleOutlined as Et, PartitionOutlined as Lt, PaperClipOutlined as Mt, OneToOneOutlined as qt, NumberOutlined as Ut, NotificationOutlined as Vt, NodeIndexOutlined as Nt, NodeExpandOutlined as Ht, NodeCollapseOutlined as Wt, MonitorOutlined as jt, MoneyCollectOutlined as Gt, MobileOutlined as Qt, MessageOutlined as Zt, MergeCellsOutlined as Jt, MenuOutlined as Kt, MehOutlined as Xt, MedicineBoxOutlined as Yt, ManOutlined as er, MailOutlined as tr, MacCommandOutlined as rr, LoadingOutlined as nr, Loading3QuartersOutlined as lr, LinkOutlined as ur, LineOutlined as ir, LikeOutlined as ar, LayoutOutlined as dr, LaptopOutlined as sr, KeyOutlined as cr, InteractionOutlined as or, InsuranceOutlined as Or, InsertRowRightOutlined as pr, InsertRowLeftOutlined as fr, InsertRowBelowOutlined as gr, InsertRowAboveOutlined as mr, InboxOutlined as hr, ImportOutlined as yr, IdcardOutlined as br, HourglassOutlined as Cr, HomeOutlined as _r, HolderOutlined as xr, HistoryOutlined as Sr, HeartOutlined as kr, HddOutlined as wr, GroupOutlined as vr, GoldOutlined as Br, GlobalOutlined as Fr, GiftOutlined as Pr, GifOutlined as Rr, GatewayOutlined as Tr, FunnelPlotOutlined as zr, FundViewOutlined as Dr, FundProjectionScreenOutlined as Ar, FunctionOutlined as Ir, FrownOutlined as $r, FormatPainterOutlined as Er, ForkOutlined as Lr, FolderViewOutlined as Mr, FolderOpenOutlined as qr, FolderOutlined as Ur, FolderAddOutlined as Vr, FlagOutlined as Nr, FireOutlined as Hr, FilterOutlined as Wr, FileZipOutlined as jr, FileWordOutlined as Gr, FileUnknownOutlined as Qr, FileTextOutlined as Zr, FileSyncOutlined as Jr, FileSearchOutlined as Kr, FileProtectOutlined as Xr, FilePptOutlined as Yr, FilePdfOutlined as en, FileMarkdownOutlined as tn, FileJpgOutlined as rn, FileImageOutlined as nn, FileGifOutlined as ln, FileOutlined as un, FileExclamationOutlined as an, FileExcelOutlined as dn, FileDoneOutlined as sn, FileAddOutlined as cn, FieldTimeOutlined as on, FieldStringOutlined as On, FieldNumberOutlined as pn, FieldBinaryOutlined as fn, EyeInvisibleOutlined as gn, EyeOutlined as mn, ExportOutlined as hn, ExperimentOutlined as yn, ExpandOutlined as bn, ExpandAltOutlined as Cn, ExceptionOutlined as _n, EuroOutlined as xn, EuroCircleOutlined as Sn, EnvironmentOutlined as kn, EllipsisOutlined as wn, DollarOutlined as vn, DollarCircleOutlined as Bn, DislikeOutlined as Fn, DisconnectOutlined as Pn, DingtalkOutlined as Rn, DesktopOutlined as Tn, DeploymentUnitOutlined as zn, DeliveredProcedureOutlined as Dn, DeleteRowOutlined as An, DeleteColumnOutlined as In, DatabaseOutlined as $n, DashboardOutlined as En, CustomerServiceOutlined as Ln, CrownOutlined as Mn, CreditCardOutlined as qn, CopyrightOutlined as Un, CopyrightCircleOutlined as Vn, ControlOutlined as Nn, ContainerOutlined as Hn, ContactsOutlined as Wn, ConsoleSqlOutlined as jn, CompressOutlined as Gn, CompassOutlined as Qn, CommentOutlined as Zn, CoffeeOutlined as Jn, CodeOutlined as Kn, ClusterOutlined as Xn, CloudUploadOutlined as Yn, CloudSyncOutlined as el, CloudServerOutlined as tl, CloudOutlined as rl, CloudDownloadOutlined as nl, ClearOutlined as ll, CiOutlined as ul, CiCircleOutlined as il, CarryOutOutlined as al, CarOutlined as dl, CameraOutlined as sl, CalendarOutlined as cl, CalculatorOutlined as ol, BulbOutlined as Ol, BuildOutlined as pl, BugOutlined as fl, BranchesOutlined as gl, BorderlessTableOutlined as ml, BookOutlined as hl, BlockOutlined as yl, BellOutlined as bl, BarsOutlined as Cl, BarcodeOutlined as _l, BankOutlined as xl, AuditOutlined as Sl, AudioMutedOutlined as kl, AudioOutlined as wl, AppstoreOutlined as vl, AppstoreAddOutlined as Bl, ApiOutlined as Fl, ApartmentOutlined as Pl, AlertOutlined as Rl, AimOutlined as Tl, AccountBookOutlined as zl, SlidersOutlined as Dl, FundOutlined as Al, BoxPlotOutlined as Il, StockOutlined as $l, RiseOutlined as El, FallOutlined as Ll, HeatMapOutlined as Ml, RadarChartOutlined as ql, LineChartOutlined as Ul, DotChartOutlined as Vl, BarChartOutlined as Nl, PieChartOutlined as Hl, AreaChartOutlined as Wl, BorderOutlined as jl, ColumnWidthOutlined as Gl, RadiusSettingOutlined as Ql, UnorderedListOutlined as Zl, OrderedListOutlined as Jl, DragOutlined as Kl, SortDescendingOutlined as Xl, SortAscendingOutlined as Yl, SmallDashOutlined as eu, DashOutlined as tu, LineHeightOutlined as ru, FontSizeOutlined as nu, FontColorsOutlined as lu, ZoomOutOutlined as uu, ZoomInOutlined as iu, UndoOutlined as au, RedoOutlined as du, StrikethroughOutlined as su, UnderlineOutlined as cu, ItalicOutlined as ou, BoldOutlined as Ou, BgColorsOutlined as pu, AlignRightOutlined as fu, RightOutlined as gu, LeftOutlined as mu, AlignLeftOutlined as hu, AlignCenterOutlined as yu, HighlightOutlined as bu, DiffOutlined as Cu, SnippetsOutlined as _u, ScissorOutlined as xu, CopyOutlined as Su, FormOutlined as ku, StopOutlined as wu, IssuesCloseOutlined as vu, WarningOutlined as Bu, ClockCircleOutlined as Fu, CheckSquareOutlined as Pu, CheckCircleFilled as Ru, CheckCircleOutlined as Tu, CheckOutlined as zu, CloseSquareOutlined as Du, CloseCircleFilled as Au, CloseCircleOutlined as Iu, CloseOutlined as $u, ExclamationCircleFilled as Eu, ExclamationCircleOutlined as Lu, ExclamationOutlined as Mu, InfoCircleOutlined as qu, InfoCircleFilled as Uu, InfoOutlined as Vu, MinusSquareOutlined as Nu, PlusSquareOutlined as Hu, MinusCircleFilled as Wu, MinusCircleOutlined as ju, MinusOutlined as Gu, PauseCircleOutlined as Qu, PauseOutlined as Zu, PlusCircleFilled as Ju, PlusCircleOutlined as Ku, DoubleLeftOutlined as Xu, DoubleRightOutlined as Yu } from "@ant-design/icons-vue";
|
|
4
|
+
const ei = /* @__PURE__ */ O({
|
|
5
|
+
__name: "index",
|
|
6
|
+
props: {
|
|
7
|
+
loading: { type: Boolean, default: !1 }
|
|
8
|
+
},
|
|
9
|
+
setup(l) {
|
|
10
|
+
const e = l;
|
|
11
|
+
return (n, t) => (u(), s(c($), {
|
|
12
|
+
spinning: e.loading
|
|
13
|
+
}, {
|
|
14
|
+
default: d(() => [
|
|
15
|
+
o(n.$slots, "default", {}, void 0, !0)
|
|
16
|
+
]),
|
|
17
|
+
_: 3
|
|
18
|
+
}, 8, ["spinning"]));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const k = (l, e) => {
|
|
22
|
+
const n = l.__vccOpts || l;
|
|
23
|
+
for (const [t, a] of e)
|
|
24
|
+
n[t] = a;
|
|
25
|
+
return n;
|
|
26
|
+
}, Oi = /* @__PURE__ */ k(ei, [["__scopeId", "data-v-7b7b9e09"]]), ti = /* @__PURE__ */ O({
|
|
27
|
+
__name: "index",
|
|
28
|
+
props: {
|
|
29
|
+
icon: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: () => ""
|
|
32
|
+
},
|
|
33
|
+
color: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: () => ""
|
|
36
|
+
},
|
|
37
|
+
fill: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: () => !1
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
type: [Number, String],
|
|
43
|
+
default: () => ".875rem"
|
|
44
|
+
},
|
|
45
|
+
cursor: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: () => "pointer"
|
|
48
|
+
},
|
|
49
|
+
disabled: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: () => !1
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
setup(l) {
|
|
55
|
+
const e = l, n = () => {
|
|
56
|
+
switch (e.icon) {
|
|
57
|
+
case "double-right":
|
|
58
|
+
return Yu;
|
|
59
|
+
case "double-left":
|
|
60
|
+
return Xu;
|
|
61
|
+
case "plus-circle":
|
|
62
|
+
return e.fill ? Ju : Ku;
|
|
63
|
+
case "pause":
|
|
64
|
+
return Zu;
|
|
65
|
+
case "pause-circle":
|
|
66
|
+
return Qu;
|
|
67
|
+
case "minus":
|
|
68
|
+
return Gu;
|
|
69
|
+
case "minus-circle":
|
|
70
|
+
return e.fill ? Wu : ju;
|
|
71
|
+
case "plus-square":
|
|
72
|
+
return Hu;
|
|
73
|
+
case "minus-square":
|
|
74
|
+
return Nu;
|
|
75
|
+
case "info":
|
|
76
|
+
return e.fill ? Uu : Vu;
|
|
77
|
+
case "info-circle":
|
|
78
|
+
return qu;
|
|
79
|
+
case "exclamation":
|
|
80
|
+
return Mu;
|
|
81
|
+
case "exclamation-circle":
|
|
82
|
+
return e.fill ? Eu : Lu;
|
|
83
|
+
case "close":
|
|
84
|
+
return $u;
|
|
85
|
+
case "error":
|
|
86
|
+
case "close-circle":
|
|
87
|
+
return e.fill ? Au : Iu;
|
|
88
|
+
case "close-square":
|
|
89
|
+
return Du;
|
|
90
|
+
case "check":
|
|
91
|
+
return zu;
|
|
92
|
+
case "success":
|
|
93
|
+
case "check-circle":
|
|
94
|
+
return e.fill ? Ru : Tu;
|
|
95
|
+
case "check-square":
|
|
96
|
+
return Pu;
|
|
97
|
+
case "clock-circle":
|
|
98
|
+
return Fu;
|
|
99
|
+
case "warning":
|
|
100
|
+
return Bu;
|
|
101
|
+
case "issues-close":
|
|
102
|
+
return vu;
|
|
103
|
+
case "stop":
|
|
104
|
+
return wu;
|
|
105
|
+
case "form":
|
|
106
|
+
return ku;
|
|
107
|
+
case "copy":
|
|
108
|
+
return Su;
|
|
109
|
+
case "scissor":
|
|
110
|
+
return xu;
|
|
111
|
+
case "snippets":
|
|
112
|
+
return _u;
|
|
113
|
+
case "diff":
|
|
114
|
+
return Cu;
|
|
115
|
+
case "highlight":
|
|
116
|
+
return bu;
|
|
117
|
+
case "align-center":
|
|
118
|
+
return yu;
|
|
119
|
+
case "align-left":
|
|
120
|
+
return hu;
|
|
121
|
+
case "left":
|
|
122
|
+
return mu;
|
|
123
|
+
case "right":
|
|
124
|
+
return gu;
|
|
125
|
+
case "align-right":
|
|
126
|
+
return fu;
|
|
127
|
+
case "bgcolors":
|
|
128
|
+
return pu;
|
|
129
|
+
case "bold":
|
|
130
|
+
return Ou;
|
|
131
|
+
case "italic":
|
|
132
|
+
return ou;
|
|
133
|
+
case "underline":
|
|
134
|
+
return cu;
|
|
135
|
+
case "strikethrough":
|
|
136
|
+
return su;
|
|
137
|
+
case "redo":
|
|
138
|
+
return du;
|
|
139
|
+
case "undo":
|
|
140
|
+
return au;
|
|
141
|
+
case "zoom-in":
|
|
142
|
+
return iu;
|
|
143
|
+
case "zoom-out":
|
|
144
|
+
return uu;
|
|
145
|
+
case "font-colors":
|
|
146
|
+
return lu;
|
|
147
|
+
case "font-size":
|
|
148
|
+
return nu;
|
|
149
|
+
case "line-height":
|
|
150
|
+
return ru;
|
|
151
|
+
case "dash":
|
|
152
|
+
return tu;
|
|
153
|
+
case "small-dash":
|
|
154
|
+
return eu;
|
|
155
|
+
case "sort-ascending":
|
|
156
|
+
return Yl;
|
|
157
|
+
case "sort-descending":
|
|
158
|
+
return Xl;
|
|
159
|
+
case "drag":
|
|
160
|
+
return Kl;
|
|
161
|
+
case "ordered-list":
|
|
162
|
+
return Jl;
|
|
163
|
+
case "unordered-list":
|
|
164
|
+
return Zl;
|
|
165
|
+
case "radius-setting":
|
|
166
|
+
return Ql;
|
|
167
|
+
case "column-width":
|
|
168
|
+
return Gl;
|
|
169
|
+
case "border":
|
|
170
|
+
return jl;
|
|
171
|
+
case "area-chart":
|
|
172
|
+
return Wl;
|
|
173
|
+
case "pie-chart":
|
|
174
|
+
return Hl;
|
|
175
|
+
case "bar-chart":
|
|
176
|
+
return Nl;
|
|
177
|
+
case "dot-chart":
|
|
178
|
+
return Vl;
|
|
179
|
+
case "line-chart":
|
|
180
|
+
return Ul;
|
|
181
|
+
case "radar-chart":
|
|
182
|
+
return ql;
|
|
183
|
+
case "heat-map":
|
|
184
|
+
return Ml;
|
|
185
|
+
case "fall":
|
|
186
|
+
return Ll;
|
|
187
|
+
case "rise":
|
|
188
|
+
return El;
|
|
189
|
+
case "stock":
|
|
190
|
+
return $l;
|
|
191
|
+
case "box-plot":
|
|
192
|
+
return Il;
|
|
193
|
+
case "fund":
|
|
194
|
+
return Al;
|
|
195
|
+
case "sliders":
|
|
196
|
+
return Dl;
|
|
197
|
+
case "account-book":
|
|
198
|
+
return zl;
|
|
199
|
+
case "aim":
|
|
200
|
+
return Tl;
|
|
201
|
+
case "alert":
|
|
202
|
+
return Rl;
|
|
203
|
+
case "apartment":
|
|
204
|
+
return Pl;
|
|
205
|
+
case "api":
|
|
206
|
+
return Fl;
|
|
207
|
+
case "appstore-add":
|
|
208
|
+
return Bl;
|
|
209
|
+
case "appstore":
|
|
210
|
+
return vl;
|
|
211
|
+
case "audio":
|
|
212
|
+
return wl;
|
|
213
|
+
case "audio-muted":
|
|
214
|
+
return kl;
|
|
215
|
+
case "audit":
|
|
216
|
+
return Sl;
|
|
217
|
+
case "bank":
|
|
218
|
+
return xl;
|
|
219
|
+
case "barcode":
|
|
220
|
+
return _l;
|
|
221
|
+
case "bars":
|
|
222
|
+
return Cl;
|
|
223
|
+
case "bell":
|
|
224
|
+
return bl;
|
|
225
|
+
case "block":
|
|
226
|
+
return yl;
|
|
227
|
+
case "book":
|
|
228
|
+
return hl;
|
|
229
|
+
case "borderless-table":
|
|
230
|
+
return ml;
|
|
231
|
+
case "branches":
|
|
232
|
+
return gl;
|
|
233
|
+
case "bug":
|
|
234
|
+
return fl;
|
|
235
|
+
case "build":
|
|
236
|
+
return pl;
|
|
237
|
+
case "bulb":
|
|
238
|
+
return Ol;
|
|
239
|
+
case "calculator":
|
|
240
|
+
return ol;
|
|
241
|
+
case "calendar":
|
|
242
|
+
return cl;
|
|
243
|
+
case "camera":
|
|
244
|
+
return sl;
|
|
245
|
+
case "car":
|
|
246
|
+
return dl;
|
|
247
|
+
case "carry-out":
|
|
248
|
+
return al;
|
|
249
|
+
case "ci-circle":
|
|
250
|
+
return il;
|
|
251
|
+
case "ci":
|
|
252
|
+
return ul;
|
|
253
|
+
case "clear":
|
|
254
|
+
return ll;
|
|
255
|
+
case "cloud-download":
|
|
256
|
+
return nl;
|
|
257
|
+
case "cloud":
|
|
258
|
+
return rl;
|
|
259
|
+
case "cloud-server":
|
|
260
|
+
return tl;
|
|
261
|
+
case "cloud-sync":
|
|
262
|
+
return el;
|
|
263
|
+
case "cloud-upload":
|
|
264
|
+
return Yn;
|
|
265
|
+
case "cluster":
|
|
266
|
+
return Xn;
|
|
267
|
+
case "code":
|
|
268
|
+
return Kn;
|
|
269
|
+
case "coffee":
|
|
270
|
+
return Jn;
|
|
271
|
+
case "comment":
|
|
272
|
+
return Zn;
|
|
273
|
+
case "compass":
|
|
274
|
+
return Qn;
|
|
275
|
+
case "compress":
|
|
276
|
+
return Gn;
|
|
277
|
+
case "console-sql":
|
|
278
|
+
return jn;
|
|
279
|
+
case "contacts":
|
|
280
|
+
return Wn;
|
|
281
|
+
case "container":
|
|
282
|
+
return Hn;
|
|
283
|
+
case "control":
|
|
284
|
+
return Nn;
|
|
285
|
+
case "copyright-circle":
|
|
286
|
+
return Vn;
|
|
287
|
+
case "copyright":
|
|
288
|
+
return Un;
|
|
289
|
+
case "credit-card":
|
|
290
|
+
return qn;
|
|
291
|
+
case "crown":
|
|
292
|
+
return Mn;
|
|
293
|
+
case "customer-service":
|
|
294
|
+
return Ln;
|
|
295
|
+
case "dashboard":
|
|
296
|
+
return En;
|
|
297
|
+
case "database":
|
|
298
|
+
return $n;
|
|
299
|
+
case "delete-column":
|
|
300
|
+
return In;
|
|
301
|
+
case "delete-row":
|
|
302
|
+
return An;
|
|
303
|
+
case "delivered-procedure":
|
|
304
|
+
return Dn;
|
|
305
|
+
case "deployment-unit":
|
|
306
|
+
return zn;
|
|
307
|
+
case "desktop":
|
|
308
|
+
return Tn;
|
|
309
|
+
case "dingtalk":
|
|
310
|
+
return Rn;
|
|
311
|
+
case "disconnect":
|
|
312
|
+
return Pn;
|
|
313
|
+
case "dislike":
|
|
314
|
+
return Fn;
|
|
315
|
+
case "dollar-circle":
|
|
316
|
+
return Bn;
|
|
317
|
+
case "dollar":
|
|
318
|
+
return vn;
|
|
319
|
+
case "ellipsis":
|
|
320
|
+
return wn;
|
|
321
|
+
case "environment":
|
|
322
|
+
return kn;
|
|
323
|
+
case "euro-circle":
|
|
324
|
+
return Sn;
|
|
325
|
+
case "euro":
|
|
326
|
+
return xn;
|
|
327
|
+
case "exception":
|
|
328
|
+
return _n;
|
|
329
|
+
case "expand-alt":
|
|
330
|
+
return Cn;
|
|
331
|
+
case "expand":
|
|
332
|
+
return bn;
|
|
333
|
+
case "experiment":
|
|
334
|
+
return yn;
|
|
335
|
+
case "export":
|
|
336
|
+
return hn;
|
|
337
|
+
case "eye":
|
|
338
|
+
return mn;
|
|
339
|
+
case "eye-invisible":
|
|
340
|
+
return gn;
|
|
341
|
+
case "field-binary":
|
|
342
|
+
return fn;
|
|
343
|
+
case "field-number":
|
|
344
|
+
return pn;
|
|
345
|
+
case "field-string":
|
|
346
|
+
return On;
|
|
347
|
+
case "field-time":
|
|
348
|
+
return on;
|
|
349
|
+
case "file-add":
|
|
350
|
+
return cn;
|
|
351
|
+
case "file-done":
|
|
352
|
+
return sn;
|
|
353
|
+
case "file-excel":
|
|
354
|
+
return dn;
|
|
355
|
+
case "file-exclamation":
|
|
356
|
+
return an;
|
|
357
|
+
case "file":
|
|
358
|
+
return un;
|
|
359
|
+
case "file-gif":
|
|
360
|
+
return ln;
|
|
361
|
+
case "file-image":
|
|
362
|
+
return nn;
|
|
363
|
+
case "file-jpg":
|
|
364
|
+
return rn;
|
|
365
|
+
case "file-markdown":
|
|
366
|
+
return tn;
|
|
367
|
+
case "file-pdf":
|
|
368
|
+
return en;
|
|
369
|
+
case "file-ppt":
|
|
370
|
+
return Yr;
|
|
371
|
+
case "file-protect":
|
|
372
|
+
return Xr;
|
|
373
|
+
case "file-search":
|
|
374
|
+
return Kr;
|
|
375
|
+
case "file-sync":
|
|
376
|
+
return Jr;
|
|
377
|
+
case "file-text":
|
|
378
|
+
return Zr;
|
|
379
|
+
case "file-unknown":
|
|
380
|
+
return Qr;
|
|
381
|
+
case "file-word":
|
|
382
|
+
return Gr;
|
|
383
|
+
case "file-zip":
|
|
384
|
+
return jr;
|
|
385
|
+
case "filter":
|
|
386
|
+
return Wr;
|
|
387
|
+
case "fire":
|
|
388
|
+
return Hr;
|
|
389
|
+
case "flag":
|
|
390
|
+
return Nr;
|
|
391
|
+
case "folder-add":
|
|
392
|
+
return Vr;
|
|
393
|
+
case "folder":
|
|
394
|
+
return Ur;
|
|
395
|
+
case "folder-open":
|
|
396
|
+
return qr;
|
|
397
|
+
case "folder-view":
|
|
398
|
+
return Mr;
|
|
399
|
+
case "fork":
|
|
400
|
+
return Lr;
|
|
401
|
+
case "format-painter":
|
|
402
|
+
return Er;
|
|
403
|
+
case "frown":
|
|
404
|
+
return $r;
|
|
405
|
+
case "function":
|
|
406
|
+
return Ir;
|
|
407
|
+
case "fund-projection-screen":
|
|
408
|
+
return Ar;
|
|
409
|
+
case "fund-view":
|
|
410
|
+
return Dr;
|
|
411
|
+
case "funnel-plot":
|
|
412
|
+
return zr;
|
|
413
|
+
case "gateway":
|
|
414
|
+
return Tr;
|
|
415
|
+
case "gif":
|
|
416
|
+
return Rr;
|
|
417
|
+
case "gift":
|
|
418
|
+
return Pr;
|
|
419
|
+
case "global":
|
|
420
|
+
return Fr;
|
|
421
|
+
case "gold":
|
|
422
|
+
return Br;
|
|
423
|
+
case "group":
|
|
424
|
+
return vr;
|
|
425
|
+
case "hdd":
|
|
426
|
+
return wr;
|
|
427
|
+
case "heart":
|
|
428
|
+
return kr;
|
|
429
|
+
case "history":
|
|
430
|
+
return Sr;
|
|
431
|
+
case "holder":
|
|
432
|
+
return xr;
|
|
433
|
+
case "home":
|
|
434
|
+
return _r;
|
|
435
|
+
case "hourglass":
|
|
436
|
+
return Cr;
|
|
437
|
+
case "idcard":
|
|
438
|
+
return br;
|
|
439
|
+
case "import":
|
|
440
|
+
return yr;
|
|
441
|
+
case "inbox":
|
|
442
|
+
return hr;
|
|
443
|
+
case "insert-row-above":
|
|
444
|
+
return mr;
|
|
445
|
+
case "insert-row-below":
|
|
446
|
+
return gr;
|
|
447
|
+
case "insert-row-left":
|
|
448
|
+
return fr;
|
|
449
|
+
case "insert-row-right":
|
|
450
|
+
return pr;
|
|
451
|
+
case "insurance":
|
|
452
|
+
return Or;
|
|
453
|
+
case "interaction":
|
|
454
|
+
return or;
|
|
455
|
+
case "key":
|
|
456
|
+
return cr;
|
|
457
|
+
case "laptop":
|
|
458
|
+
return sr;
|
|
459
|
+
case "layout":
|
|
460
|
+
return dr;
|
|
461
|
+
case "like":
|
|
462
|
+
return ar;
|
|
463
|
+
case "line":
|
|
464
|
+
return ir;
|
|
465
|
+
case "link":
|
|
466
|
+
return ur;
|
|
467
|
+
case "loading-3-quarters":
|
|
468
|
+
return lr;
|
|
469
|
+
case "loading":
|
|
470
|
+
return nr;
|
|
471
|
+
case "mac-command":
|
|
472
|
+
return rr;
|
|
473
|
+
case "mail":
|
|
474
|
+
return tr;
|
|
475
|
+
case "man":
|
|
476
|
+
return er;
|
|
477
|
+
case "medicine-box":
|
|
478
|
+
return Yt;
|
|
479
|
+
case "meh":
|
|
480
|
+
return Xt;
|
|
481
|
+
case "menu":
|
|
482
|
+
return Kt;
|
|
483
|
+
case "merge-cells":
|
|
484
|
+
return Jt;
|
|
485
|
+
case "message":
|
|
486
|
+
return Zt;
|
|
487
|
+
case "mobile":
|
|
488
|
+
return Qt;
|
|
489
|
+
case "money-collect":
|
|
490
|
+
return Gt;
|
|
491
|
+
case "monitor":
|
|
492
|
+
return jt;
|
|
493
|
+
case "node-collapse":
|
|
494
|
+
return Wt;
|
|
495
|
+
case "node-expand":
|
|
496
|
+
return Ht;
|
|
497
|
+
case "node-index":
|
|
498
|
+
return Nt;
|
|
499
|
+
case "notification":
|
|
500
|
+
return Vt;
|
|
501
|
+
case "number":
|
|
502
|
+
return Ut;
|
|
503
|
+
case "one-to-one":
|
|
504
|
+
return qt;
|
|
505
|
+
case "paper-clip":
|
|
506
|
+
return Mt;
|
|
507
|
+
case "partition":
|
|
508
|
+
return Lt;
|
|
509
|
+
case "pay-circle":
|
|
510
|
+
return Et;
|
|
511
|
+
case "percentage":
|
|
512
|
+
return $t;
|
|
513
|
+
case "phone":
|
|
514
|
+
return It;
|
|
515
|
+
case "picture":
|
|
516
|
+
return At;
|
|
517
|
+
case "play-square":
|
|
518
|
+
return Dt;
|
|
519
|
+
case "pound-circle":
|
|
520
|
+
return zt;
|
|
521
|
+
case "pound":
|
|
522
|
+
return Tt;
|
|
523
|
+
case "poweroff":
|
|
524
|
+
return Rt;
|
|
525
|
+
case "printer":
|
|
526
|
+
return Pt;
|
|
527
|
+
case "profile":
|
|
528
|
+
return Ft;
|
|
529
|
+
case "project":
|
|
530
|
+
return Bt;
|
|
531
|
+
case "property-safety":
|
|
532
|
+
return vt;
|
|
533
|
+
case "pull-request":
|
|
534
|
+
return wt;
|
|
535
|
+
case "pushpin":
|
|
536
|
+
return kt;
|
|
537
|
+
case "qrcode":
|
|
538
|
+
return St;
|
|
539
|
+
case "read":
|
|
540
|
+
return xt;
|
|
541
|
+
case "reconciliation":
|
|
542
|
+
return _t;
|
|
543
|
+
case "red-envelope":
|
|
544
|
+
return Ct;
|
|
545
|
+
case "reload":
|
|
546
|
+
return bt;
|
|
547
|
+
case "rest":
|
|
548
|
+
return yt;
|
|
549
|
+
case "robot":
|
|
550
|
+
return ht;
|
|
551
|
+
case "rocket":
|
|
552
|
+
return mt;
|
|
553
|
+
case "rotate-left":
|
|
554
|
+
return gt;
|
|
555
|
+
case "rotate-right":
|
|
556
|
+
return ft;
|
|
557
|
+
case "safety-certificate":
|
|
558
|
+
return pt;
|
|
559
|
+
case "safety":
|
|
560
|
+
return Ot;
|
|
561
|
+
case "save":
|
|
562
|
+
return ot;
|
|
563
|
+
case "scan":
|
|
564
|
+
return ct;
|
|
565
|
+
case "schedule":
|
|
566
|
+
return st;
|
|
567
|
+
case "security-scan":
|
|
568
|
+
return dt;
|
|
569
|
+
case "select":
|
|
570
|
+
return at;
|
|
571
|
+
case "send":
|
|
572
|
+
return it;
|
|
573
|
+
case "shake":
|
|
574
|
+
return ut;
|
|
575
|
+
case "share-alt":
|
|
576
|
+
return lt;
|
|
577
|
+
case "shop":
|
|
578
|
+
return nt;
|
|
579
|
+
case "shopping-cart":
|
|
580
|
+
return rt;
|
|
581
|
+
case "shopping":
|
|
582
|
+
return tt;
|
|
583
|
+
case "sisternode":
|
|
584
|
+
return et;
|
|
585
|
+
case "skin":
|
|
586
|
+
return Ye;
|
|
587
|
+
case "smile":
|
|
588
|
+
return Xe;
|
|
589
|
+
case "solution":
|
|
590
|
+
return Ke;
|
|
591
|
+
case "sound":
|
|
592
|
+
return Je;
|
|
593
|
+
case "split-cells":
|
|
594
|
+
return Ze;
|
|
595
|
+
case "star":
|
|
596
|
+
return Qe;
|
|
597
|
+
case "subnode":
|
|
598
|
+
return Ge;
|
|
599
|
+
case "switcher":
|
|
600
|
+
return je;
|
|
601
|
+
case "sync":
|
|
602
|
+
case "refresh":
|
|
603
|
+
return We;
|
|
604
|
+
case "table":
|
|
605
|
+
return He;
|
|
606
|
+
case "tablet":
|
|
607
|
+
return Ne;
|
|
608
|
+
case "tag":
|
|
609
|
+
return Ve;
|
|
610
|
+
case "tags":
|
|
611
|
+
return Ue;
|
|
612
|
+
case "team":
|
|
613
|
+
return qe;
|
|
614
|
+
case "thunderbolt":
|
|
615
|
+
return Me;
|
|
616
|
+
case "to-top":
|
|
617
|
+
return Le;
|
|
618
|
+
case "tool":
|
|
619
|
+
return Ee;
|
|
620
|
+
case "trademark-circle":
|
|
621
|
+
return $e;
|
|
622
|
+
case "trademark":
|
|
623
|
+
return Ie;
|
|
624
|
+
case "transaction":
|
|
625
|
+
return Ae;
|
|
626
|
+
case "translation":
|
|
627
|
+
return De;
|
|
628
|
+
case "trophy":
|
|
629
|
+
return ze;
|
|
630
|
+
case "ungroup":
|
|
631
|
+
return Te;
|
|
632
|
+
case "unlock":
|
|
633
|
+
return Re;
|
|
634
|
+
case "usb":
|
|
635
|
+
return Pe;
|
|
636
|
+
case "user-add":
|
|
637
|
+
return Fe;
|
|
638
|
+
case "user-delete":
|
|
639
|
+
return Be;
|
|
640
|
+
case "user-switch":
|
|
641
|
+
return ve;
|
|
642
|
+
case "usergroup-add":
|
|
643
|
+
return we;
|
|
644
|
+
case "usergroup-delete":
|
|
645
|
+
return ke;
|
|
646
|
+
case "verified":
|
|
647
|
+
return Se;
|
|
648
|
+
case "video-camera-add":
|
|
649
|
+
return xe;
|
|
650
|
+
case "video-camera":
|
|
651
|
+
return _e;
|
|
652
|
+
case "wallet":
|
|
653
|
+
return Ce;
|
|
654
|
+
case "whats-app":
|
|
655
|
+
return be;
|
|
656
|
+
case "wifi":
|
|
657
|
+
return ye;
|
|
658
|
+
case "woman":
|
|
659
|
+
return he;
|
|
660
|
+
case "del":
|
|
661
|
+
case "delete":
|
|
662
|
+
return me;
|
|
663
|
+
case "edit":
|
|
664
|
+
return ge;
|
|
665
|
+
case "add":
|
|
666
|
+
return fe;
|
|
667
|
+
case "lock":
|
|
668
|
+
return pe;
|
|
669
|
+
case "more":
|
|
670
|
+
return Oe;
|
|
671
|
+
case "setting":
|
|
672
|
+
return e.fill ? ce : oe;
|
|
673
|
+
case "column-height":
|
|
674
|
+
return se;
|
|
675
|
+
case "user":
|
|
676
|
+
return de;
|
|
677
|
+
case "search":
|
|
678
|
+
return ae;
|
|
679
|
+
case "upload":
|
|
680
|
+
return ie;
|
|
681
|
+
case "download":
|
|
682
|
+
return ue;
|
|
683
|
+
case "question":
|
|
684
|
+
return e.fill ? ne : le;
|
|
685
|
+
case "swap":
|
|
686
|
+
return re;
|
|
687
|
+
case "fullscreen":
|
|
688
|
+
return te;
|
|
689
|
+
case "fullscreen-exit":
|
|
690
|
+
return ee;
|
|
691
|
+
case "login":
|
|
692
|
+
return Y;
|
|
693
|
+
case "logout":
|
|
694
|
+
return X;
|
|
695
|
+
case "vertical-align-top":
|
|
696
|
+
return K;
|
|
697
|
+
case "vertical-align-middle":
|
|
698
|
+
return J;
|
|
699
|
+
case "vertical-align-bottom":
|
|
700
|
+
return Z;
|
|
701
|
+
case "down":
|
|
702
|
+
return Q;
|
|
703
|
+
case "up":
|
|
704
|
+
return G;
|
|
705
|
+
case "play-circle":
|
|
706
|
+
return j;
|
|
707
|
+
case "up-outlined":
|
|
708
|
+
case "caret-up":
|
|
709
|
+
return W;
|
|
710
|
+
case "down-outlined":
|
|
711
|
+
case "caret-down":
|
|
712
|
+
return H;
|
|
713
|
+
case "right-outlined":
|
|
714
|
+
return N;
|
|
715
|
+
case "arrows-alt":
|
|
716
|
+
return V;
|
|
717
|
+
case "thunder":
|
|
718
|
+
return U;
|
|
719
|
+
case "retweet":
|
|
720
|
+
case "retweet-outlined":
|
|
721
|
+
return q;
|
|
722
|
+
default:
|
|
723
|
+
return null;
|
|
724
|
+
}
|
|
725
|
+
}, t = () => {
|
|
726
|
+
if (typeof window < "u") {
|
|
727
|
+
if (!e.color)
|
|
728
|
+
return "";
|
|
729
|
+
if (e.color.startsWith("var(")) {
|
|
730
|
+
const a = e.color.slice(4, -1);
|
|
731
|
+
let r = "";
|
|
732
|
+
try {
|
|
733
|
+
r = getComputedStyle(document.documentElement).getPropertyValue(a);
|
|
734
|
+
} catch (i) {
|
|
735
|
+
console.error(i);
|
|
736
|
+
}
|
|
737
|
+
return r;
|
|
738
|
+
}
|
|
739
|
+
return e.color;
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
return (a, r) => {
|
|
743
|
+
var i;
|
|
744
|
+
return u(), s(z(n()), C({
|
|
745
|
+
...e,
|
|
746
|
+
size: null
|
|
747
|
+
}, {
|
|
748
|
+
style: {
|
|
749
|
+
fontSize: ((i = String(e.size)) == null ? void 0 : i.indexOf("rem")) !== -1 ? e.size : e.size + "px",
|
|
750
|
+
cursor: l.disabled ? "normal" : l.cursor,
|
|
751
|
+
color: t()
|
|
752
|
+
}
|
|
753
|
+
}), null, 16, ["style"]);
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
}), b = /* @__PURE__ */ O({
|
|
757
|
+
__name: "index",
|
|
758
|
+
props: {
|
|
759
|
+
src: {
|
|
760
|
+
type: String,
|
|
761
|
+
default: () => ""
|
|
762
|
+
},
|
|
763
|
+
size: {
|
|
764
|
+
type: [Number, String],
|
|
765
|
+
default: () => "1.375rem"
|
|
766
|
+
},
|
|
767
|
+
width: {
|
|
768
|
+
type: [Number, String],
|
|
769
|
+
default: () => ""
|
|
770
|
+
},
|
|
771
|
+
height: {
|
|
772
|
+
type: [Number, String],
|
|
773
|
+
default: () => ""
|
|
774
|
+
},
|
|
775
|
+
cursor: {
|
|
776
|
+
type: String,
|
|
777
|
+
default: () => "pointer"
|
|
778
|
+
},
|
|
779
|
+
disabled: {
|
|
780
|
+
type: Boolean,
|
|
781
|
+
default: () => !1
|
|
782
|
+
},
|
|
783
|
+
margin: {
|
|
784
|
+
type: String,
|
|
785
|
+
default: () => "auto"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
setup(l) {
|
|
789
|
+
const e = l, n = () => {
|
|
790
|
+
var t;
|
|
791
|
+
return ((t = String(e.size)) == null ? void 0 : t.indexOf("rem")) !== -1 ? e.size : e.size + "px";
|
|
792
|
+
};
|
|
793
|
+
return (t, a) => (u(), p("img", C({
|
|
794
|
+
...e,
|
|
795
|
+
size: null
|
|
796
|
+
}, {
|
|
797
|
+
style: {
|
|
798
|
+
width: e.width || n(),
|
|
799
|
+
minWidth: e.width || n(),
|
|
800
|
+
height: e.height || n(),
|
|
801
|
+
margin: e.margin,
|
|
802
|
+
cursor: l.disabled ? "normal" : e.cursor
|
|
803
|
+
}
|
|
804
|
+
}), null, 16));
|
|
805
|
+
}
|
|
806
|
+
}), ri = /* @__PURE__ */ O({
|
|
807
|
+
__name: "index",
|
|
808
|
+
props: {
|
|
809
|
+
customType: { default: "" },
|
|
810
|
+
type: { default: "default" },
|
|
811
|
+
size: { default: "middle" },
|
|
812
|
+
title: { default: "添加分类" },
|
|
813
|
+
icon: { default: "" },
|
|
814
|
+
loading: { type: [Boolean, Object], default: !1 },
|
|
815
|
+
disabled: { type: Boolean, default: !1 },
|
|
816
|
+
ghost: { type: Boolean, default: !1 },
|
|
817
|
+
radius: { type: Boolean, default: !1 },
|
|
818
|
+
dropdown: { type: Boolean, default: !1 },
|
|
819
|
+
spin: { type: Boolean, default: !1 },
|
|
820
|
+
linear: { type: Boolean, default: !1 },
|
|
821
|
+
color: { default: "var(--theme-default-text-color)" },
|
|
822
|
+
bg: { default: "var(--theme-default-color)" },
|
|
823
|
+
padding: { default: "" },
|
|
824
|
+
prefixCls: {},
|
|
825
|
+
htmlType: {},
|
|
826
|
+
shape: {},
|
|
827
|
+
block: { type: Boolean },
|
|
828
|
+
danger: { type: Boolean },
|
|
829
|
+
href: {},
|
|
830
|
+
target: {},
|
|
831
|
+
onClick: {},
|
|
832
|
+
onMousedown: {}
|
|
833
|
+
},
|
|
834
|
+
setup(l) {
|
|
835
|
+
const e = l, n = () => {
|
|
836
|
+
const t = {
|
|
837
|
+
height: "32px",
|
|
838
|
+
"border-radius": e.radius ? "377px" : "0"
|
|
839
|
+
};
|
|
840
|
+
return (e == null ? void 0 : e.customType) === "info" && (t.color = "var(--theme-default-color)", t.borderColor = "var(--theme-default-color)", t.background = "#ECEFFF", t.padding = `0 ${e.arrowRight ? "0" : "15px"} 0 15px`, e.linear && (t.color = "var(--theme-default-text-color)")), (e == null ? void 0 : e.customType) === "more" && (t.color = "var(--theme-default-color)", t.padding = "0 9px", t.height = "22px"), (e == null ? void 0 : e.customType) === "custom" && (t.background = "#F3F2FF", t.padding = "0 10px"), e.dropdown && (t["border-top-right-radius"] = 0, t["border-bottom-right-radius"] = 0, t["margin-right"] = "1px"), e.linear && (t.border = "none", t.background = "linear-gradient( 360deg, #72B4F8 3%, #728DF6 100%)"), e.padding && (t.padding = e.padding), (e == null ? void 0 : e.size) === "small" && (t.height = "24px", t.padding = "0 8px"), t;
|
|
841
|
+
};
|
|
842
|
+
return (t, a) => (u(), s(c(m), null, {
|
|
843
|
+
default: d(() => [
|
|
844
|
+
f(c(P), C({
|
|
845
|
+
...e,
|
|
846
|
+
icon: null
|
|
847
|
+
}, {
|
|
848
|
+
"data-type": e.type,
|
|
849
|
+
loading: !e.spin && e.loading,
|
|
850
|
+
disabled: e.disabled || e.loading,
|
|
851
|
+
class: ["bsy-ui-button", {
|
|
852
|
+
"bsy-ui-button_custom-info": e.customType === "info"
|
|
853
|
+
}],
|
|
854
|
+
style: n()
|
|
855
|
+
}), {
|
|
856
|
+
default: d(() => [
|
|
857
|
+
f(c(m), { align: "center" }, {
|
|
858
|
+
default: d(() => [
|
|
859
|
+
t.customType === "custom" ? (u(), p(D, { key: 0 }, [
|
|
860
|
+
f(c(m), { align: "center" }, {
|
|
861
|
+
default: d(() => [
|
|
862
|
+
o(t.$slots, "default", {}, void 0, !0)
|
|
863
|
+
]),
|
|
864
|
+
_: 3
|
|
865
|
+
}),
|
|
866
|
+
e.arrow ? (u(), s(b, {
|
|
867
|
+
key: 0,
|
|
868
|
+
src: e.arrowImg
|
|
869
|
+
}, null, 8, ["src"])) : x("", !0)
|
|
870
|
+
], 64)) : (u(), s(c(E), { key: 1 }, {
|
|
871
|
+
default: d(() => {
|
|
872
|
+
var r;
|
|
873
|
+
return [
|
|
874
|
+
e.arrowRight || t.$slots.icon || e.icon && (!e.spin || e.spin && e.loading) ? (u(), p("div", {
|
|
875
|
+
key: 0,
|
|
876
|
+
class: A({
|
|
877
|
+
spin: e.loading && e.spin
|
|
878
|
+
})
|
|
879
|
+
}, [
|
|
880
|
+
t.$slots.icon ? o(t.$slots, "icon", { key: 0 }, void 0, !0) : e.arrowRight ? (u(), s(b, {
|
|
881
|
+
key: 1,
|
|
882
|
+
src: e.arrowRightImg,
|
|
883
|
+
size: e.arrowRightSize,
|
|
884
|
+
disabled: e.disabled
|
|
885
|
+
}, null, 8, ["src", "size", "disabled"])) : (r = e.icon) != null && r.startsWith("http") ? (u(), s(b, {
|
|
886
|
+
key: 2,
|
|
887
|
+
src: e.icon,
|
|
888
|
+
disabled: e.disabled
|
|
889
|
+
}, null, 8, ["src", "disabled"])) : (u(), s(ti, {
|
|
890
|
+
key: 3,
|
|
891
|
+
icon: e.icon,
|
|
892
|
+
disabled: e.disabled
|
|
893
|
+
}, null, 8, ["icon", "disabled"]))
|
|
894
|
+
], 2)) : x("", !0),
|
|
895
|
+
S("div", null, R(e.title), 1)
|
|
896
|
+
];
|
|
897
|
+
}),
|
|
898
|
+
_: 3
|
|
899
|
+
}))
|
|
900
|
+
]),
|
|
901
|
+
_: 3
|
|
902
|
+
})
|
|
903
|
+
]),
|
|
904
|
+
_: 3
|
|
905
|
+
}, 16, ["data-type", "loading", "disabled", "class", "style"]),
|
|
906
|
+
f(c(L), null, {
|
|
907
|
+
overlay: d(() => [
|
|
908
|
+
o(t.$slots, "dropdown", {}, void 0, !0)
|
|
909
|
+
]),
|
|
910
|
+
default: d(() => [
|
|
911
|
+
e.dropdown ? (u(), s(c(P), {
|
|
912
|
+
key: 0,
|
|
913
|
+
type: "primary",
|
|
914
|
+
ghost: "",
|
|
915
|
+
style: { padding: "0 5px" }
|
|
916
|
+
}, {
|
|
917
|
+
default: d(() => [
|
|
918
|
+
f(b, {
|
|
919
|
+
src: e.dropdownImg,
|
|
920
|
+
disabled: e.disabled
|
|
921
|
+
}, null, 8, ["src", "disabled"])
|
|
922
|
+
]),
|
|
923
|
+
_: 1
|
|
924
|
+
})) : x("", !0)
|
|
925
|
+
]),
|
|
926
|
+
_: 3
|
|
927
|
+
})
|
|
928
|
+
]),
|
|
929
|
+
_: 3
|
|
930
|
+
}));
|
|
931
|
+
}
|
|
932
|
+
});
|
|
933
|
+
const ni = /* @__PURE__ */ k(ri, [["__scopeId", "data-v-eeef36ac"]]), pi = /* @__PURE__ */ O({
|
|
934
|
+
__name: "index",
|
|
935
|
+
setup(l) {
|
|
936
|
+
return (e, n) => (u(), s(c(M), { class: "bsy-components-checkbox" }, {
|
|
937
|
+
default: d(() => [
|
|
938
|
+
o(e.$slots, "default")
|
|
939
|
+
]),
|
|
940
|
+
_: 3
|
|
941
|
+
}));
|
|
942
|
+
}
|
|
943
|
+
});
|
|
944
|
+
const fi = /* @__PURE__ */ O({
|
|
945
|
+
__name: "index",
|
|
946
|
+
props: {
|
|
947
|
+
icon: {
|
|
948
|
+
type: String,
|
|
949
|
+
default: () => ""
|
|
950
|
+
},
|
|
951
|
+
color: {
|
|
952
|
+
type: String,
|
|
953
|
+
default: () => ""
|
|
954
|
+
},
|
|
955
|
+
fill: {
|
|
956
|
+
type: Boolean,
|
|
957
|
+
default: () => !1
|
|
958
|
+
},
|
|
959
|
+
size: {
|
|
960
|
+
type: [Number, String],
|
|
961
|
+
default: () => ".875rem"
|
|
962
|
+
},
|
|
963
|
+
cursor: {
|
|
964
|
+
type: String,
|
|
965
|
+
default: () => "pointer"
|
|
966
|
+
},
|
|
967
|
+
disabled: {
|
|
968
|
+
type: Boolean,
|
|
969
|
+
default: () => !1
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
setup(l) {
|
|
973
|
+
const e = l, n = () => {
|
|
974
|
+
switch (e.icon) {
|
|
975
|
+
default:
|
|
976
|
+
return e.icon;
|
|
977
|
+
}
|
|
978
|
+
}, t = () => {
|
|
979
|
+
if (typeof window < "u") {
|
|
980
|
+
if (!e.color)
|
|
981
|
+
return "";
|
|
982
|
+
if (e.color.startsWith("var(")) {
|
|
983
|
+
const a = e.color.slice(4, -1);
|
|
984
|
+
let r = "";
|
|
985
|
+
try {
|
|
986
|
+
r = getComputedStyle(document.documentElement).getPropertyValue(a);
|
|
987
|
+
} catch (i) {
|
|
988
|
+
console.error(i);
|
|
989
|
+
}
|
|
990
|
+
return r;
|
|
991
|
+
}
|
|
992
|
+
return e.color;
|
|
993
|
+
}
|
|
994
|
+
};
|
|
995
|
+
return (a, r) => {
|
|
996
|
+
var i;
|
|
997
|
+
return u(), p("span", C({
|
|
998
|
+
...e,
|
|
999
|
+
size: null
|
|
1000
|
+
}, {
|
|
1001
|
+
class: ["iconfont", n()],
|
|
1002
|
+
style: {
|
|
1003
|
+
fontSize: ((i = String(e.size)) == null ? void 0 : i.indexOf("rem")) !== -1 ? e.size : e.size + "px",
|
|
1004
|
+
cursor: l.disabled ? "normal" : l.cursor,
|
|
1005
|
+
color: t()
|
|
1006
|
+
}
|
|
1007
|
+
}), null, 16);
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
});
|
|
1011
|
+
const li = { style: { "margin-inline-end": "8px" } }, ui = {
|
|
1012
|
+
key: 1,
|
|
1013
|
+
class: "h-32px"
|
|
1014
|
+
}, ii = { style: { "font-size": "16px", "font-weight": "bold" } }, ai = { key: 1 }, gi = /* @__PURE__ */ O({
|
|
1015
|
+
__name: "index",
|
|
1016
|
+
props: {
|
|
1017
|
+
title: { default: "" },
|
|
1018
|
+
showBackBtn: { type: Boolean, default: !0 }
|
|
1019
|
+
},
|
|
1020
|
+
emits: ["back"],
|
|
1021
|
+
setup(l, { emit: e }) {
|
|
1022
|
+
const n = l, t = e, a = () => {
|
|
1023
|
+
t("back");
|
|
1024
|
+
};
|
|
1025
|
+
return (r, i) => (u(), s(c(m), { class: "bsy-ui-header-back" }, {
|
|
1026
|
+
default: d(() => [
|
|
1027
|
+
f(c(m), { style: { display: "flex", "align-items": "center", flex: "1" } }, {
|
|
1028
|
+
default: d(() => [
|
|
1029
|
+
S("div", li, [
|
|
1030
|
+
n.showBackBtn ? (u(), s(c(ni), {
|
|
1031
|
+
key: 0,
|
|
1032
|
+
type: "primary",
|
|
1033
|
+
ghost: "",
|
|
1034
|
+
title: "返回",
|
|
1035
|
+
padding: "0 8px",
|
|
1036
|
+
icon: "https://bsy-sdl-web-1308012692.cos.ap-guangzhou.myqcloud.com/package/images/components/icon-left-active.png",
|
|
1037
|
+
onClick: i[0] || (i[0] = (h) => a())
|
|
1038
|
+
})) : (u(), p("div", ui))
|
|
1039
|
+
]),
|
|
1040
|
+
S("div", ii, [
|
|
1041
|
+
r.$slots.title ? o(r.$slots, "title", { key: 0 }) : (u(), p("span", ai, R(n.title), 1))
|
|
1042
|
+
])
|
|
1043
|
+
]),
|
|
1044
|
+
_: 3
|
|
1045
|
+
}),
|
|
1046
|
+
o(r.$slots, "extra")
|
|
1047
|
+
]),
|
|
1048
|
+
_: 3
|
|
1049
|
+
}));
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
1052
|
+
const di = /* @__PURE__ */ O({
|
|
1053
|
+
__name: "index",
|
|
1054
|
+
props: {
|
|
1055
|
+
theme: { default: () => ({}) },
|
|
1056
|
+
padding: { default: "" },
|
|
1057
|
+
paddingTop: { default: "" },
|
|
1058
|
+
paddingLeft: { default: "" },
|
|
1059
|
+
paddingRight: { default: "" },
|
|
1060
|
+
paddingBottom: { default: "" },
|
|
1061
|
+
margin: { default: "" },
|
|
1062
|
+
marginTop: { default: "" },
|
|
1063
|
+
marginLeft: { default: "" },
|
|
1064
|
+
marginRight: { default: "" },
|
|
1065
|
+
marginBottom: { default: "" },
|
|
1066
|
+
top: { type: Boolean, default: !1 },
|
|
1067
|
+
left: { type: Boolean, default: !1 },
|
|
1068
|
+
right: { type: Boolean, default: !1 },
|
|
1069
|
+
bottom: { type: Boolean, default: !1 }
|
|
1070
|
+
},
|
|
1071
|
+
setup(l) {
|
|
1072
|
+
const e = l, n = F(() => {
|
|
1073
|
+
const r = e.theme || {};
|
|
1074
|
+
return {
|
|
1075
|
+
...r,
|
|
1076
|
+
pagePadding: r.pagePadding || 12
|
|
1077
|
+
};
|
|
1078
|
+
}), t = (r) => {
|
|
1079
|
+
if (typeof window < "u") {
|
|
1080
|
+
const i = getComputedStyle(document.documentElement);
|
|
1081
|
+
return r.replace(/var\((--[^)]+)\)/g, (h, g) => i.getPropertyValue(g).trim() || `var(${g})`);
|
|
1082
|
+
}
|
|
1083
|
+
}, a = F(() => {
|
|
1084
|
+
var h, g, _, w;
|
|
1085
|
+
let r = {
|
|
1086
|
+
paddingTop: e.top ? `${((h = n.value) == null ? void 0 : h.pagePadding) || 0}px` : 0,
|
|
1087
|
+
paddingLeft: e.left ? `${((g = n.value) == null ? void 0 : g.pagePadding) || 0}px` : 0,
|
|
1088
|
+
paddingRight: e.right ? `${((_ = n.value) == null ? void 0 : _.pagePadding) || 0}px` : 0,
|
|
1089
|
+
paddingBottom: e.bottom ? `${((w = n.value) == null ? void 0 : w.pagePadding) || 0}px` : 0
|
|
1090
|
+
};
|
|
1091
|
+
return [
|
|
1092
|
+
"marginTop",
|
|
1093
|
+
"marginLeft",
|
|
1094
|
+
"marginRight",
|
|
1095
|
+
"marginBottom",
|
|
1096
|
+
"margin",
|
|
1097
|
+
"padding",
|
|
1098
|
+
"paddingTop",
|
|
1099
|
+
"paddingLeft",
|
|
1100
|
+
"paddingRight",
|
|
1101
|
+
"paddingBottom"
|
|
1102
|
+
].map((v) => {
|
|
1103
|
+
var B;
|
|
1104
|
+
const T = v, y = e == null ? void 0 : e[T];
|
|
1105
|
+
y && (r = {
|
|
1106
|
+
...r,
|
|
1107
|
+
[`${v}`]: ((B = String(y)) == null ? void 0 : B.indexOf("var(")) !== -1 ? t(String(y)) : y
|
|
1108
|
+
});
|
|
1109
|
+
}), r;
|
|
1110
|
+
});
|
|
1111
|
+
return (r, i) => (u(), p("div", {
|
|
1112
|
+
style: I(a.value)
|
|
1113
|
+
}, [
|
|
1114
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
1115
|
+
], 4));
|
|
1116
|
+
}
|
|
1117
|
+
});
|
|
1118
|
+
const mi = /* @__PURE__ */ k(di, [["__scopeId", "data-v-c6528723"]]);
|
|
1119
|
+
export {
|
|
1120
|
+
ni as BsyBtn,
|
|
1121
|
+
pi as BsyCheckbox,
|
|
1122
|
+
gi as BsyHeaderBack,
|
|
1123
|
+
ti as BsyIcon,
|
|
1124
|
+
fi as BsyIconFont,
|
|
1125
|
+
b as BsyImg,
|
|
1126
|
+
mi as BsyLayoutPageBox,
|
|
1127
|
+
Oi as BsyLoading
|
|
1128
|
+
};
|