bee-plus 1.0.3 → 1.0.6
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 +156 -7
- package/dist/index.css +1 -1
- package/dist/index.js +289 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +290 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# Bee Plus
|
|
2
2
|
|
|
3
|
-
> A Vue 3 Component Library
|
|
3
|
+
> A Vue 3 Component Library with Hardcore Cartoon Style 🎮
|
|
4
4
|
|
|
5
5
|
🔗 **GitHub Repository**: [https://github.com/beekim123/bee-plus/tree/main](https://github.com/beekim123/bee-plus/tree/main)
|
|
6
6
|
|
|
7
|
+
## ✨ Features
|
|
8
|
+
|
|
9
|
+
- 🎯 Vue 3 Composition API
|
|
10
|
+
- 📦 TypeScript Support
|
|
11
|
+
- 🎨 Brawl Stars Inspired Design
|
|
12
|
+
- 🔧 Tree-shakable
|
|
13
|
+
- 📱 Responsive
|
|
14
|
+
|
|
7
15
|
## Installation
|
|
8
16
|
|
|
9
17
|
```bash
|
|
@@ -14,17 +22,17 @@ pnpm add bee-plus
|
|
|
14
22
|
yarn add bee-plus
|
|
15
23
|
```
|
|
16
24
|
|
|
17
|
-
##
|
|
25
|
+
## Quick Start
|
|
18
26
|
|
|
19
|
-
###
|
|
27
|
+
### Full Import
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
Import all components globally in your `main.ts`:
|
|
22
30
|
|
|
23
31
|
```typescript
|
|
24
32
|
import { createApp } from 'vue'
|
|
25
33
|
import App from './App.vue'
|
|
26
34
|
|
|
27
|
-
// Import Bee-Plus and
|
|
35
|
+
// Import Bee-Plus and styles
|
|
28
36
|
import BeePlus from 'bee-plus'
|
|
29
37
|
import 'bee-plus/dist/index.css'
|
|
30
38
|
|
|
@@ -33,9 +41,150 @@ app.use(BeePlus)
|
|
|
33
41
|
app.mount('#app')
|
|
34
42
|
```
|
|
35
43
|
|
|
36
|
-
### Import
|
|
44
|
+
### On-Demand Import
|
|
45
|
+
|
|
46
|
+
Import only the components you need:
|
|
37
47
|
|
|
38
48
|
```typescript
|
|
39
|
-
import {
|
|
49
|
+
import { createApp } from 'vue'
|
|
50
|
+
import App from './App.vue'
|
|
51
|
+
import { BeeButton, BeeProgress, BeeMessage } from 'bee-plus'
|
|
40
52
|
import 'bee-plus/dist/index.css'
|
|
53
|
+
|
|
54
|
+
const app = createApp(App)
|
|
55
|
+
app.use(BeeButton)
|
|
56
|
+
app.use(BeeProgress)
|
|
57
|
+
// BeeMessage is a function, no need to register
|
|
58
|
+
app.mount('#app')
|
|
41
59
|
```
|
|
60
|
+
|
|
61
|
+
## Components
|
|
62
|
+
|
|
63
|
+
### Button
|
|
64
|
+
|
|
65
|
+
```vue
|
|
66
|
+
<template>
|
|
67
|
+
<!-- Basic -->
|
|
68
|
+
<BeeButton>Default</BeeButton>
|
|
69
|
+
<BeeButton type="primary">Primary</BeeButton>
|
|
70
|
+
<BeeButton type="success">Success</BeeButton>
|
|
71
|
+
<BeeButton type="warning">Warning</BeeButton>
|
|
72
|
+
<BeeButton type="danger">Danger</BeeButton>
|
|
73
|
+
|
|
74
|
+
<!-- With icons -->
|
|
75
|
+
<BeeButton icon="star-on" type="primary">Star</BeeButton>
|
|
76
|
+
|
|
77
|
+
<!-- States -->
|
|
78
|
+
<BeeButton loading>Loading...</BeeButton>
|
|
79
|
+
<BeeButton disabled>Disabled</BeeButton>
|
|
80
|
+
|
|
81
|
+
<!-- Shapes -->
|
|
82
|
+
<BeeButton round>Round Button</BeeButton>
|
|
83
|
+
<BeeButton circle icon="search"></BeeButton>
|
|
84
|
+
|
|
85
|
+
<!-- Sizes -->
|
|
86
|
+
<BeeButton size="large">Large</BeeButton>
|
|
87
|
+
<BeeButton size="default">Default</BeeButton>
|
|
88
|
+
<BeeButton size="small">Small</BeeButton>
|
|
89
|
+
</template>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Progress
|
|
93
|
+
|
|
94
|
+
```vue
|
|
95
|
+
<template>
|
|
96
|
+
<!-- Line Progress -->
|
|
97
|
+
<BeeProgress :percentage="50" />
|
|
98
|
+
<BeeProgress :percentage="80" type="success" />
|
|
99
|
+
<BeeProgress :percentage="100" type="warning" status="success" />
|
|
100
|
+
|
|
101
|
+
<!-- Circle Progress -->
|
|
102
|
+
<BeeProgress type="circle" :percentage="75" />
|
|
103
|
+
<BeeProgress type="circle" :percentage="100" status="success" />
|
|
104
|
+
|
|
105
|
+
<!-- Dashboard Progress -->
|
|
106
|
+
<BeeProgress type="dashboard" :percentage="80" />
|
|
107
|
+
|
|
108
|
+
<!-- With text inside -->
|
|
109
|
+
<BeeProgress :percentage="70" :stroke-width="26" text-inside />
|
|
110
|
+
|
|
111
|
+
<!-- Custom color -->
|
|
112
|
+
<BeeProgress :percentage="50" color="#8e44ad" />
|
|
113
|
+
|
|
114
|
+
<!-- Striped & Animated -->
|
|
115
|
+
<BeeProgress :percentage="60" striped animated />
|
|
116
|
+
</template>
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Message
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import { BeeMessage } from 'bee-plus'
|
|
123
|
+
|
|
124
|
+
// Basic usage
|
|
125
|
+
BeeMessage('This is a message')
|
|
126
|
+
|
|
127
|
+
// Different types
|
|
128
|
+
BeeMessage.success('Success message')
|
|
129
|
+
BeeMessage.warning('Warning message')
|
|
130
|
+
BeeMessage.error('Error message')
|
|
131
|
+
BeeMessage.info('Info message')
|
|
132
|
+
|
|
133
|
+
// With options
|
|
134
|
+
BeeMessage({
|
|
135
|
+
message: 'Custom message',
|
|
136
|
+
type: 'success',
|
|
137
|
+
duration: 3000, // Auto close after 3s
|
|
138
|
+
showClose: true, // Show close button
|
|
139
|
+
center: true, // Center text
|
|
140
|
+
onClose: () => { // Callback on close
|
|
141
|
+
console.log('Message closed')
|
|
142
|
+
}
|
|
143
|
+
})
|
|
144
|
+
|
|
145
|
+
// HTML content (use with caution)
|
|
146
|
+
BeeMessage({
|
|
147
|
+
dangerouslyUseHTMLString: true,
|
|
148
|
+
message: '<strong>HTML</strong> content'
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
// Never auto-close
|
|
152
|
+
BeeMessage({
|
|
153
|
+
message: 'Persistent message',
|
|
154
|
+
duration: 0,
|
|
155
|
+
showClose: true
|
|
156
|
+
})
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## TypeScript Support
|
|
160
|
+
|
|
161
|
+
Bee-Plus is written in TypeScript and provides complete type definitions:
|
|
162
|
+
|
|
163
|
+
```typescript
|
|
164
|
+
import type { ButtonProps, MessageOptions } from 'bee-plus'
|
|
165
|
+
|
|
166
|
+
const buttonProps: ButtonProps = {
|
|
167
|
+
type: 'primary',
|
|
168
|
+
size: 'large',
|
|
169
|
+
loading: false
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
const messageOptions: MessageOptions = {
|
|
173
|
+
message: 'Hello',
|
|
174
|
+
type: 'success',
|
|
175
|
+
duration: 3000
|
|
176
|
+
}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Browser Support
|
|
180
|
+
|
|
181
|
+
Modern browsers (Chrome, Firefox, Safari, Edge) and IE11+
|
|
182
|
+
|
|
183
|
+
## License
|
|
184
|
+
|
|
185
|
+
ISC
|
|
186
|
+
|
|
187
|
+
## Links
|
|
188
|
+
|
|
189
|
+
- [GitHub](https://github.com/beekim123/bee-plus)
|
|
190
|
+
- [NPM](https://www.npmjs.com/package/bee-plus)
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-display:inline;font-family:element-icons;font-style:normal;font-weight:400;src:url(fonts/element-icons.woff) format("woff"),url(fonts/element-icons.ttf) format("truetype")}[class*=bee-icon-]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:element-icons!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;vertical-align:baseline}.bee-icon-ice-cream-round:before{content:"\e6a0"}.bee-icon-ice-cream-square:before{content:"\e6a3"}.bee-icon-lollipop:before{content:"\e6a4"}.bee-icon-potato-strips:before{content:"\e6a5"}.bee-icon-milk-tea:before{content:"\e6a6"}.bee-icon-ice-drink:before{content:"\e6a7"}.bee-icon-ice-tea:before{content:"\e6a9"}.bee-icon-coffee:before{content:"\e6aa"}.bee-icon-orange:before{content:"\e6ab"}.bee-icon-pear:before{content:"\e6ac"}.bee-icon-apple:before{content:"\e6ad"}.bee-icon-cherry:before{content:"\e6ae"}.bee-icon-watermelon:before{content:"\e6af"}.bee-icon-grape:before{content:"\e6b0"}.bee-icon-refrigerator:before{content:"\e6b1"}.bee-icon-goblet-square-full:before{content:"\e6b2"}.bee-icon-goblet-square:before{content:"\e6b3"}.bee-icon-goblet-full:before{content:"\e6b4"}.bee-icon-goblet:before{content:"\e6b5"}.bee-icon-cold-drink:before{content:"\e6b6"}.bee-icon-coffee-cup:before{content:"\e6b8"}.bee-icon-water-cup:before{content:"\e6b9"}.bee-icon-hot-water:before{content:"\e6ba"}.bee-icon-ice-cream:before{content:"\e6bb"}.bee-icon-dessert:before{content:"\e6bc"}.bee-icon-sugar:before{content:"\e6bd"}.bee-icon-tableware:before{content:"\e6be"}.bee-icon-burger:before{content:"\e6bf"}.bee-icon-knife-fork:before{content:"\e6c1"}.bee-icon-fork-spoon:before{content:"\e6c2"}.bee-icon-chicken:before{content:"\e6c3"}.bee-icon-food:before{content:"\e6c4"}.bee-icon-dish-1:before{content:"\e6c5"}.bee-icon-dish:before{content:"\e6c6"}.bee-icon-moon-night:before{content:"\e6ee"}.bee-icon-moon:before{content:"\e6f0"}.bee-icon-cloudy-and-sunny:before{content:"\e6f1"}.bee-icon-partly-cloudy:before{content:"\e6f2"}.bee-icon-cloudy:before{content:"\e6f3"}.bee-icon-sunny:before{content:"\e6f6"}.bee-icon-sunset:before{content:"\e6f7"}.bee-icon-sunrise-1:before{content:"\e6f8"}.bee-icon-sunrise:before{content:"\e6f9"}.bee-icon-heavy-rain:before{content:"\e6fa"}.bee-icon-lightning:before{content:"\e6fb"}.bee-icon-light-rain:before{content:"\e6fc"}.bee-icon-wind-power:before{content:"\e6fd"}.bee-icon-baseball:before{content:"\e712"}.bee-icon-soccer:before{content:"\e713"}.bee-icon-football:before{content:"\e715"}.bee-icon-basketball:before{content:"\e716"}.bee-icon-ship:before{content:"\e73f"}.bee-icon-truck:before{content:"\e740"}.bee-icon-bicycle:before{content:"\e741"}.bee-icon-mobile-phone:before{content:"\e6d3"}.bee-icon-service:before{content:"\e6d4"}.bee-icon-key:before{content:"\e6e2"}.bee-icon-unlock:before{content:"\e6e4"}.bee-icon-lock:before{content:"\e6e5"}.bee-icon-watch:before{content:"\e6fe"}.bee-icon-watch-1:before{content:"\e6ff"}.bee-icon-timer:before{content:"\e702"}.bee-icon-alarm-clock:before{content:"\e703"}.bee-icon-map-location:before{content:"\e704"}.bee-icon-delete-location:before{content:"\e705"}.bee-icon-add-location:before{content:"\e706"}.bee-icon-location-information:before{content:"\e707"}.bee-icon-location-outline:before{content:"\e708"}.bee-icon-location:before{content:"\e79e"}.bee-icon-place:before{content:"\e709"}.bee-icon-discover:before{content:"\e70a"}.bee-icon-first-aid-kit:before{content:"\e70b"}.bee-icon-trophy-1:before{content:"\e70c"}.bee-icon-trophy:before{content:"\e70d"}.bee-icon-medal:before{content:"\e70e"}.bee-icon-medal-1:before{content:"\e70f"}.bee-icon-stopwatch:before{content:"\e710"}.bee-icon-mic:before{content:"\e711"}.bee-icon-copy-document:before{content:"\e718"}.bee-icon-full-screen:before{content:"\e719"}.bee-icon-switch-button:before{content:"\e71b"}.bee-icon-aim:before{content:"\e71c"}.bee-icon-crop:before{content:"\e71d"}.bee-icon-odometer:before{content:"\e71e"}.bee-icon-time:before{content:"\e71f"}.bee-icon-bangzhu:before{content:"\e724"}.bee-icon-close-notification:before{content:"\e726"}.bee-icon-microphone:before{content:"\e727"}.bee-icon-turn-off-microphone:before{content:"\e728"}.bee-icon-position:before{content:"\e729"}.bee-icon-postcard:before{content:"\e72a"}.bee-icon-message:before{content:"\e72b"}.bee-icon-chat-line-square:before{content:"\e72d"}.bee-icon-chat-dot-square:before{content:"\e72e"}.bee-icon-chat-dot-round:before{content:"\e72f"}.bee-icon-chat-square:before{content:"\e730"}.bee-icon-chat-line-round:before{content:"\e731"}.bee-icon-chat-round:before{content:"\e732"}.bee-icon-set-up:before{content:"\e733"}.bee-icon-turn-off:before{content:"\e734"}.bee-icon-open:before{content:"\e735"}.bee-icon-connection:before{content:"\e736"}.bee-icon-link:before{content:"\e737"}.bee-icon-cpu:before{content:"\e738"}.bee-icon-thumb:before{content:"\e739"}.bee-icon-female:before{content:"\e73a"}.bee-icon-male:before{content:"\e73b"}.bee-icon-guide:before{content:"\e73c"}.bee-icon-news:before{content:"\e73e"}.bee-icon-price-tag:before{content:"\e744"}.bee-icon-discount:before{content:"\e745"}.bee-icon-wallet:before{content:"\e747"}.bee-icon-coin:before{content:"\e748"}.bee-icon-money:before{content:"\e749"}.bee-icon-bank-card:before{content:"\e74a"}.bee-icon-box:before{content:"\e74b"}.bee-icon-present:before{content:"\e74c"}.bee-icon-sell:before{content:"\e6d5"}.bee-icon-sold-out:before{content:"\e6d6"}.bee-icon-shopping-bag-2:before{content:"\e74d"}.bee-icon-shopping-bag-1:before{content:"\e74e"}.bee-icon-shopping-cart-2:before{content:"\e74f"}.bee-icon-shopping-cart-1:before{content:"\e750"}.bee-icon-shopping-cart-full:before{content:"\e751"}.bee-icon-smoking:before{content:"\e752"}.bee-icon-no-smoking:before{content:"\e753"}.bee-icon-house:before{content:"\e754"}.bee-icon-table-lamp:before{content:"\e755"}.bee-icon-school:before{content:"\e756"}.bee-icon-office-building:before{content:"\e757"}.bee-icon-toilet-paper:before{content:"\e758"}.bee-icon-notebook-2:before{content:"\e759"}.bee-icon-notebook-1:before{content:"\e75a"}.bee-icon-files:before{content:"\e75b"}.bee-icon-collection:before{content:"\e75c"}.bee-icon-receiving:before{content:"\e75d"}.bee-icon-suitcase-1:before{content:"\e760"}.bee-icon-suitcase:before{content:"\e761"}.bee-icon-film:before{content:"\e763"}.bee-icon-collection-tag:before{content:"\e765"}.bee-icon-data-analysis:before{content:"\e766"}.bee-icon-pie-chart:before{content:"\e767"}.bee-icon-data-board:before{content:"\e768"}.bee-icon-data-line:before{content:"\e76d"}.bee-icon-reading:before{content:"\e769"}.bee-icon-magic-stick:before{content:"\e76a"}.bee-icon-coordinate:before{content:"\e76b"}.bee-icon-mouse:before{content:"\e76c"}.bee-icon-brush:before{content:"\e76e"}.bee-icon-headset:before{content:"\e76f"}.bee-icon-umbrella:before{content:"\e770"}.bee-icon-scissors:before{content:"\e771"}.bee-icon-mobile:before{content:"\e773"}.bee-icon-attract:before{content:"\e774"}.bee-icon-monitor:before{content:"\e775"}.bee-icon-search:before{content:"\e778"}.bee-icon-takeaway-box:before{content:"\e77a"}.bee-icon-paperclip:before{content:"\e77d"}.bee-icon-printer:before{content:"\e77e"}.bee-icon-document-add:before{content:"\e782"}.bee-icon-document:before{content:"\e785"}.bee-icon-document-checked:before{content:"\e786"}.bee-icon-document-copy:before{content:"\e787"}.bee-icon-document-delete:before{content:"\e788"}.bee-icon-document-remove:before{content:"\e789"}.bee-icon-tickets:before{content:"\e78b"}.bee-icon-folder-checked:before{content:"\e77f"}.bee-icon-folder-delete:before{content:"\e780"}.bee-icon-folder-remove:before{content:"\e781"}.bee-icon-folder-add:before{content:"\e783"}.bee-icon-folder-opened:before{content:"\e784"}.bee-icon-folder:before{content:"\e78a"}.bee-icon-edit-outline:before{content:"\e764"}.bee-icon-edit:before{content:"\e78c"}.bee-icon-date:before{content:"\e78e"}.bee-icon-c-scale-to-original:before{content:"\e7c6"}.bee-icon-view:before{content:"\e6ce"}.bee-icon-loading:before{content:"\e6cf"}.bee-icon-rank:before{content:"\e6d1"}.bee-icon-sort-down:before{content:"\e7c4"}.bee-icon-sort-up:before{content:"\e7c5"}.bee-icon-sort:before{content:"\e6d2"}.bee-icon-finished:before{content:"\e6cd"}.bee-icon-refresh-left:before{content:"\e6c7"}.bee-icon-refresh-right:before{content:"\e6c8"}.bee-icon-refresh:before{content:"\e6d0"}.bee-icon-video-play:before{content:"\e7c0"}.bee-icon-video-pause:before{content:"\e7c1"}.bee-icon-d-arrow-right:before{content:"\e6dc"}.bee-icon-d-arrow-left:before{content:"\e6dd"}.bee-icon-arrow-up:before{content:"\e6e1"}.bee-icon-arrow-down:before{content:"\e6df"}.bee-icon-arrow-right:before{content:"\e6e0"}.bee-icon-arrow-left:before{content:"\e6de"}.bee-icon-top-right:before{content:"\e6e7"}.bee-icon-top-left:before{content:"\e6e8"}.bee-icon-top:before{content:"\e6e6"}.bee-icon-bottom:before{content:"\e6eb"}.bee-icon-right:before{content:"\e6e9"}.bee-icon-back:before{content:"\e6ea"}.bee-icon-bottom-right:before{content:"\e6ec"}.bee-icon-bottom-left:before{content:"\e6ed"}.bee-icon-caret-top:before{content:"\e78f"}.bee-icon-caret-bottom:before{content:"\e790"}.bee-icon-caret-right:before{content:"\e791"}.bee-icon-caret-left:before{content:"\e792"}.bee-icon-d-caret:before{content:"\e79a"}.bee-icon-share:before{content:"\e793"}.bee-icon-menu:before{content:"\e798"}.bee-icon-s-grid:before{content:"\e7a6"}.bee-icon-s-check:before{content:"\e7a7"}.bee-icon-s-data:before{content:"\e7a8"}.bee-icon-s-opportunity:before{content:"\e7aa"}.bee-icon-s-custom:before{content:"\e7ab"}.bee-icon-s-claim:before{content:"\e7ad"}.bee-icon-s-finance:before{content:"\e7ae"}.bee-icon-s-comment:before{content:"\e7af"}.bee-icon-s-flag:before{content:"\e7b0"}.bee-icon-s-marketing:before{content:"\e7b1"}.bee-icon-s-shop:before{content:"\e7b4"}.bee-icon-s-open:before{content:"\e7b5"}.bee-icon-s-management:before{content:"\e7b6"}.bee-icon-s-ticket:before{content:"\e7b7"}.bee-icon-s-release:before{content:"\e7b8"}.bee-icon-s-home:before{content:"\e7b9"}.bee-icon-s-promotion:before{content:"\e7ba"}.bee-icon-s-operation:before{content:"\e7bb"}.bee-icon-s-unfold:before{content:"\e7bc"}.bee-icon-s-fold:before{content:"\e7a9"}.bee-icon-s-platform:before{content:"\e7bd"}.bee-icon-s-order:before{content:"\e7be"}.bee-icon-s-cooperation:before{content:"\e7bf"}.bee-icon-bell:before{content:"\e725"}.bee-icon-message-solid:before{content:"\e799"}.bee-icon-video-camera:before{content:"\e772"}.bee-icon-video-camera-solid:before{content:"\e796"}.bee-icon-camera:before{content:"\e779"}.bee-icon-camera-solid:before{content:"\e79b"}.bee-icon-download:before{content:"\e77c"}.bee-icon-upload2:before{content:"\e77b"}.bee-icon-upload:before{content:"\e7c3"}.bee-icon-picture-outline-round:before{content:"\e75f"}.bee-icon-picture-outline:before{content:"\e75e"}.bee-icon-picture:before{content:"\e79f"}.bee-icon-close:before{content:"\e6db"}.bee-icon-check:before{content:"\e6da"}.bee-icon-plus:before{content:"\e6d9"}.bee-icon-minus:before{content:"\e6d8"}.bee-icon-help:before{content:"\e73d"}.bee-icon-s-help:before{content:"\e7b3"}.bee-icon-circle-close:before{content:"\e78d"}.bee-icon-circle-check:before{content:"\e720"}.bee-icon-circle-plus-outline:before{content:"\e723"}.bee-icon-remove-outline:before{content:"\e722"}.bee-icon-zoom-out:before{content:"\e776"}.bee-icon-zoom-in:before{content:"\e777"}.bee-icon-error:before{content:"\e79d"}.bee-icon-success:before{content:"\e79c"}.bee-icon-circle-plus:before{content:"\e7a0"}.bee-icon-remove:before{content:"\e7a2"}.bee-icon-info:before{content:"\e7a1"}.bee-icon-question:before{content:"\e7a4"}.bee-icon-warning-outline:before{content:"\e6c9"}.bee-icon-warning:before{content:"\e7a3"}.bee-icon-goods:before{content:"\e7c2"}.bee-icon-s-goods:before{content:"\e7b2"}.bee-icon-star-off:before{content:"\e717"}.bee-icon-star-on:before{content:"\e797"}.bee-icon-more-outline:before{content:"\e6cc"}.bee-icon-more:before{content:"\e794"}.bee-icon-phone-outline:before{content:"\e6cb"}.bee-icon-phone:before{content:"\e795"}.bee-icon-user:before{content:"\e6e3"}.bee-icon-user-solid:before{content:"\e7a5"}.bee-icon-setting:before{content:"\e6ca"}.bee-icon-s-tools:before{content:"\e7ac"}.bee-icon-delete:before{content:"\e6d7"}.bee-icon-delete-solid:before{content:"\e7c9"}.bee-icon-eleme:before{content:"\e7c7"}.bee-icon-platform-eleme:before{content:"\e7ca"}.bee-icon-loading{animation:rotating 2s linear infinite}.bee-icon--right{margin-left:5px}.bee-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.bee-button{align-items:center;background-color:#fff;background-image:linear-gradient(180deg,#fff,#e6e6e6);border:3px solid #000;border-radius:12px;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 6px 0 #000;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-family:Rubik,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:16px;font-weight:900;justify-content:center;letter-spacing:.5px;line-height:normal;margin:0;outline:none;padding:12px 24px;position:relative;text-shadow:2px 2px 0 #000;text-transform:uppercase;top:0;transition:transform .05s,box-shadow .05s;user-select:none;vertical-align:middle;white-space:nowrap}.bee-button [class*=bee-icon-]{filter:drop-shadow(2px 2px 0 #000);font-size:1.2em}.bee-button [class*=bee-icon-]+span{margin-left:8px}.bee-button:hover{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 8px 0 #000;filter:brightness(1.1);transform:translateY(-2px)}.bee-button:active{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 0 0 #000;filter:brightness(.95);transform:translateY(6px)}.bee-button.is-disabled,.bee-button.is-disabled:active,.bee-button.is-disabled:focus,.bee-button.is-disabled:hover{background:#999;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.2),0 6px 0 #333;cursor:not-allowed;filter:grayscale(100%);opacity:.8;transform:none}.bee-button{background-color:#f0f0f0;background-image:linear-gradient(180deg,#fff,#dcdcdc);color:#333;text-shadow:none;text-shadow:1px 1px 0 #fff}.bee-button--primary{background-color:#007bff;background-image:linear-gradient(180deg,#4facfe,#005bea);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--success{background-color:#2ed573;background-image:linear-gradient(180deg,#7bed9f,#2ed573);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--warning{background-color:#ffa502;background-image:linear-gradient(180deg,#ffeaa7,#fab1a0);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--danger{background-color:#ff4757;background-image:linear-gradient(180deg,#ff6b81,#ff4757);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--info{background-color:#a29bfe;background-image:linear-gradient(180deg,#a29bfe,#6c5ce7);color:#fff;text-shadow:2px 2px 0 #000}.bee-button.is-round{border-radius:50px}.bee-button.is-circle{align-items:center;border-radius:50%;display:inline-flex;height:48px;justify-content:center;padding:0;width:48px}.bee-button.is-circle [class*=bee-icon-]{font-size:20px;margin:0!important}.bee-button--large{border-width:4px;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 8px 0 #000;font-size:20px;padding:16px 32px}.bee-button--large:active{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),0 0 0 #000;transform:translateY(8px)}.bee-button--small{border-width:2px;box-shadow:inset 0 2px 0 hsla(0,0%,100%,.4),inset 0 -2px 0 rgba(0,0,0,.1),0 4px 0 #000;font-size:12px;padding:8px 16px}.bee-button--small:active{box-shadow:inset 0 2px 0 hsla(0,0%,100%,.4),0 0 0 #000;transform:translateY(4px)}.bee-progress{align-items:center;display:flex}.bee-progress--line{margin-bottom:15px;width:100%}.bee-progress--circle,.bee-progress--dashboard{display:inline-block;margin-right:15px}.bee-progress__text{color:#606266;display:inline-block;font-size:14px;line-height:1;margin-left:10px;min-width:50px}.bee-progress__text i{font-size:16px;vertical-align:middle}.bee-progress--without-text .bee-progress__text{display:none}.bee-progress--without-text .bee-progress-bar{display:block;margin-right:0;padding-right:0}.bee-progress-bar{box-sizing:border-box;flex:1;margin-bottom:0;margin-right:0;padding-right:50px;width:100%}.bee-progress-bar__outer{background-color:#ebeef5;border:2px solid #000;border-radius:100px;box-shadow:2px 2px 0 #000;height:6px;overflow:hidden;position:relative;vertical-align:middle}.bee-progress-bar__inner{background-color:#409eff;background-image:linear-gradient(hsla(0,0%,100%,.3),hsla(0,0%,100%,0));border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;white-space:nowrap}.bee-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;font-weight:700;margin:0 5px;text-shadow:1px 1px 0 #000;vertical-align:middle}--text-inside .bee-progress-bar{padding-right:0}.bee-progress-circle{position:relative}.bee-progress-circle svg{transform:rotate(-90deg)}.bee-progress-circle__track{stroke:#ebeef5;stroke-linecap:round}.bee-progress-circle__path{stroke-linecap:round;filter:drop-shadow(2px 2px 0 rgb(0,0,0))}.is-success .bee-progress__text{color:#67c23a}.is-warning .bee-progress__text{color:#e6a23c}.is-exception .bee-progress__text{color:#f56c6c}.bee-progress-canvas canvas{vertical-align:middle}
|
|
1
|
+
.bee-message[data-v-031967c2]{align-items:center;background-color:#f5f6fa;border:4px solid #000;border-radius:16px;box-shadow:0 6px 0 rgba(0,0,0,.8),0 8px 16px rgba(0,0,0,.3);box-sizing:border-box;display:flex;font-weight:700;left:50%;min-width:380px;overflow:hidden;padding:18px 22px;position:fixed;transform:translateX(-50%);transition:opacity .3s,transform .4s,top .4s}.bee-message[data-v-031967c2]:hover{box-shadow:0 4px 0 rgba(0,0,0,.8),0 6px 12px rgba(0,0,0,.3);transform:translateX(-50%) translateY(2px)}.bee-message.is-center[data-v-031967c2]{justify-content:center}.bee-message.is-closable .bee-message__content[data-v-031967c2]{padding-right:16px}.bee-message__content[data-v-031967c2]{color:#2c3e50;font-size:16px;font-weight:700;line-height:1.4;margin:0;padding:0;text-shadow:1px 1px 0 hsla(0,0%,100%,.5)}.bee-message i[data-v-031967c2]{filter:drop-shadow(1px 1px 0 rgba(0,0,0,.2));font-size:22px;line-height:1;margin-right:12px}.bee-message__closeBtn[data-v-031967c2]{color:#2c3e50;cursor:pointer;font-size:18px;font-weight:900;position:absolute;right:15px;top:50%;transform:translateY(-50%);transition:all .2s}.bee-message__closeBtn[data-v-031967c2]:hover{color:#ff4757;transform:translateY(-50%) scale(1.2)}.bee-message--success[data-v-031967c2]{background:linear-gradient(135deg,#7bed9f,#70a1ff);border-color:#000}.bee-message--success .bee-message__content[data-v-031967c2]{color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,.3)}.bee-message--success i[data-v-031967c2]{color:#fff}.bee-message--warning[data-v-031967c2]{background:linear-gradient(135deg,#ffa502,#fbc531);border-color:#000}.bee-message--warning .bee-message__content[data-v-031967c2]{color:#2d3436;text-shadow:1px 1px 0 hsla(0,0%,100%,.5)}.bee-message--warning i[data-v-031967c2]{color:#2d3436}.bee-message--error[data-v-031967c2]{background:linear-gradient(135deg,#ff6348,#ff4757);border-color:#000}.bee-message--error .bee-message__content[data-v-031967c2]{color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,.3)}.bee-message--error i[data-v-031967c2]{color:#fff}.bee-message--info[data-v-031967c2]{background:linear-gradient(135deg,#5f27cd,#00a8ff);border-color:#000}.bee-message--info .bee-message__content[data-v-031967c2]{color:#fff;text-shadow:2px 2px 0 rgba(0,0,0,.3)}.bee-message--info i[data-v-031967c2]{color:#fff}.bee-message-fade-enter-active[data-v-031967c2]{transition:all .4s cubic-bezier(.175,.885,.32,1.275)}.bee-message-fade-leave-active[data-v-031967c2]{transition:all .3s cubic-bezier(.6,-.28,.735,.045)}.bee-message-fade-enter-from[data-v-031967c2],.bee-message-fade-leave-to[data-v-031967c2]{opacity:0;transform:translate(-50%,-150%) scale(.8)}@font-face{font-display:inline;font-family:element-icons;font-style:normal;font-weight:400;src:url(fonts/element-icons.woff) format("woff"),url(fonts/element-icons.ttf) format("truetype")}[class*=bee-icon-]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:element-icons!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;vertical-align:baseline}.bee-icon-ice-cream-round:before{content:"\e6a0"}.bee-icon-ice-cream-square:before{content:"\e6a3"}.bee-icon-lollipop:before{content:"\e6a4"}.bee-icon-potato-strips:before{content:"\e6a5"}.bee-icon-milk-tea:before{content:"\e6a6"}.bee-icon-ice-drink:before{content:"\e6a7"}.bee-icon-ice-tea:before{content:"\e6a9"}.bee-icon-coffee:before{content:"\e6aa"}.bee-icon-orange:before{content:"\e6ab"}.bee-icon-pear:before{content:"\e6ac"}.bee-icon-apple:before{content:"\e6ad"}.bee-icon-cherry:before{content:"\e6ae"}.bee-icon-watermelon:before{content:"\e6af"}.bee-icon-grape:before{content:"\e6b0"}.bee-icon-refrigerator:before{content:"\e6b1"}.bee-icon-goblet-square-full:before{content:"\e6b2"}.bee-icon-goblet-square:before{content:"\e6b3"}.bee-icon-goblet-full:before{content:"\e6b4"}.bee-icon-goblet:before{content:"\e6b5"}.bee-icon-cold-drink:before{content:"\e6b6"}.bee-icon-coffee-cup:before{content:"\e6b8"}.bee-icon-water-cup:before{content:"\e6b9"}.bee-icon-hot-water:before{content:"\e6ba"}.bee-icon-ice-cream:before{content:"\e6bb"}.bee-icon-dessert:before{content:"\e6bc"}.bee-icon-sugar:before{content:"\e6bd"}.bee-icon-tableware:before{content:"\e6be"}.bee-icon-burger:before{content:"\e6bf"}.bee-icon-knife-fork:before{content:"\e6c1"}.bee-icon-fork-spoon:before{content:"\e6c2"}.bee-icon-chicken:before{content:"\e6c3"}.bee-icon-food:before{content:"\e6c4"}.bee-icon-dish-1:before{content:"\e6c5"}.bee-icon-dish:before{content:"\e6c6"}.bee-icon-moon-night:before{content:"\e6ee"}.bee-icon-moon:before{content:"\e6f0"}.bee-icon-cloudy-and-sunny:before{content:"\e6f1"}.bee-icon-partly-cloudy:before{content:"\e6f2"}.bee-icon-cloudy:before{content:"\e6f3"}.bee-icon-sunny:before{content:"\e6f6"}.bee-icon-sunset:before{content:"\e6f7"}.bee-icon-sunrise-1:before{content:"\e6f8"}.bee-icon-sunrise:before{content:"\e6f9"}.bee-icon-heavy-rain:before{content:"\e6fa"}.bee-icon-lightning:before{content:"\e6fb"}.bee-icon-light-rain:before{content:"\e6fc"}.bee-icon-wind-power:before{content:"\e6fd"}.bee-icon-baseball:before{content:"\e712"}.bee-icon-soccer:before{content:"\e713"}.bee-icon-football:before{content:"\e715"}.bee-icon-basketball:before{content:"\e716"}.bee-icon-ship:before{content:"\e73f"}.bee-icon-truck:before{content:"\e740"}.bee-icon-bicycle:before{content:"\e741"}.bee-icon-mobile-phone:before{content:"\e6d3"}.bee-icon-service:before{content:"\e6d4"}.bee-icon-key:before{content:"\e6e2"}.bee-icon-unlock:before{content:"\e6e4"}.bee-icon-lock:before{content:"\e6e5"}.bee-icon-watch:before{content:"\e6fe"}.bee-icon-watch-1:before{content:"\e6ff"}.bee-icon-timer:before{content:"\e702"}.bee-icon-alarm-clock:before{content:"\e703"}.bee-icon-map-location:before{content:"\e704"}.bee-icon-delete-location:before{content:"\e705"}.bee-icon-add-location:before{content:"\e706"}.bee-icon-location-information:before{content:"\e707"}.bee-icon-location-outline:before{content:"\e708"}.bee-icon-location:before{content:"\e79e"}.bee-icon-place:before{content:"\e709"}.bee-icon-discover:before{content:"\e70a"}.bee-icon-first-aid-kit:before{content:"\e70b"}.bee-icon-trophy-1:before{content:"\e70c"}.bee-icon-trophy:before{content:"\e70d"}.bee-icon-medal:before{content:"\e70e"}.bee-icon-medal-1:before{content:"\e70f"}.bee-icon-stopwatch:before{content:"\e710"}.bee-icon-mic:before{content:"\e711"}.bee-icon-copy-document:before{content:"\e718"}.bee-icon-full-screen:before{content:"\e719"}.bee-icon-switch-button:before{content:"\e71b"}.bee-icon-aim:before{content:"\e71c"}.bee-icon-crop:before{content:"\e71d"}.bee-icon-odometer:before{content:"\e71e"}.bee-icon-time:before{content:"\e71f"}.bee-icon-bangzhu:before{content:"\e724"}.bee-icon-close-notification:before{content:"\e726"}.bee-icon-microphone:before{content:"\e727"}.bee-icon-turn-off-microphone:before{content:"\e728"}.bee-icon-position:before{content:"\e729"}.bee-icon-postcard:before{content:"\e72a"}.bee-icon-message:before{content:"\e72b"}.bee-icon-chat-line-square:before{content:"\e72d"}.bee-icon-chat-dot-square:before{content:"\e72e"}.bee-icon-chat-dot-round:before{content:"\e72f"}.bee-icon-chat-square:before{content:"\e730"}.bee-icon-chat-line-round:before{content:"\e731"}.bee-icon-chat-round:before{content:"\e732"}.bee-icon-set-up:before{content:"\e733"}.bee-icon-turn-off:before{content:"\e734"}.bee-icon-open:before{content:"\e735"}.bee-icon-connection:before{content:"\e736"}.bee-icon-link:before{content:"\e737"}.bee-icon-cpu:before{content:"\e738"}.bee-icon-thumb:before{content:"\e739"}.bee-icon-female:before{content:"\e73a"}.bee-icon-male:before{content:"\e73b"}.bee-icon-guide:before{content:"\e73c"}.bee-icon-news:before{content:"\e73e"}.bee-icon-price-tag:before{content:"\e744"}.bee-icon-discount:before{content:"\e745"}.bee-icon-wallet:before{content:"\e747"}.bee-icon-coin:before{content:"\e748"}.bee-icon-money:before{content:"\e749"}.bee-icon-bank-card:before{content:"\e74a"}.bee-icon-box:before{content:"\e74b"}.bee-icon-present:before{content:"\e74c"}.bee-icon-sell:before{content:"\e6d5"}.bee-icon-sold-out:before{content:"\e6d6"}.bee-icon-shopping-bag-2:before{content:"\e74d"}.bee-icon-shopping-bag-1:before{content:"\e74e"}.bee-icon-shopping-cart-2:before{content:"\e74f"}.bee-icon-shopping-cart-1:before{content:"\e750"}.bee-icon-shopping-cart-full:before{content:"\e751"}.bee-icon-smoking:before{content:"\e752"}.bee-icon-no-smoking:before{content:"\e753"}.bee-icon-house:before{content:"\e754"}.bee-icon-table-lamp:before{content:"\e755"}.bee-icon-school:before{content:"\e756"}.bee-icon-office-building:before{content:"\e757"}.bee-icon-toilet-paper:before{content:"\e758"}.bee-icon-notebook-2:before{content:"\e759"}.bee-icon-notebook-1:before{content:"\e75a"}.bee-icon-files:before{content:"\e75b"}.bee-icon-collection:before{content:"\e75c"}.bee-icon-receiving:before{content:"\e75d"}.bee-icon-suitcase-1:before{content:"\e760"}.bee-icon-suitcase:before{content:"\e761"}.bee-icon-film:before{content:"\e763"}.bee-icon-collection-tag:before{content:"\e765"}.bee-icon-data-analysis:before{content:"\e766"}.bee-icon-pie-chart:before{content:"\e767"}.bee-icon-data-board:before{content:"\e768"}.bee-icon-data-line:before{content:"\e76d"}.bee-icon-reading:before{content:"\e769"}.bee-icon-magic-stick:before{content:"\e76a"}.bee-icon-coordinate:before{content:"\e76b"}.bee-icon-mouse:before{content:"\e76c"}.bee-icon-brush:before{content:"\e76e"}.bee-icon-headset:before{content:"\e76f"}.bee-icon-umbrella:before{content:"\e770"}.bee-icon-scissors:before{content:"\e771"}.bee-icon-mobile:before{content:"\e773"}.bee-icon-attract:before{content:"\e774"}.bee-icon-monitor:before{content:"\e775"}.bee-icon-search:before{content:"\e778"}.bee-icon-takeaway-box:before{content:"\e77a"}.bee-icon-paperclip:before{content:"\e77d"}.bee-icon-printer:before{content:"\e77e"}.bee-icon-document-add:before{content:"\e782"}.bee-icon-document:before{content:"\e785"}.bee-icon-document-checked:before{content:"\e786"}.bee-icon-document-copy:before{content:"\e787"}.bee-icon-document-delete:before{content:"\e788"}.bee-icon-document-remove:before{content:"\e789"}.bee-icon-tickets:before{content:"\e78b"}.bee-icon-folder-checked:before{content:"\e77f"}.bee-icon-folder-delete:before{content:"\e780"}.bee-icon-folder-remove:before{content:"\e781"}.bee-icon-folder-add:before{content:"\e783"}.bee-icon-folder-opened:before{content:"\e784"}.bee-icon-folder:before{content:"\e78a"}.bee-icon-edit-outline:before{content:"\e764"}.bee-icon-edit:before{content:"\e78c"}.bee-icon-date:before{content:"\e78e"}.bee-icon-c-scale-to-original:before{content:"\e7c6"}.bee-icon-view:before{content:"\e6ce"}.bee-icon-loading:before{content:"\e6cf"}.bee-icon-rank:before{content:"\e6d1"}.bee-icon-sort-down:before{content:"\e7c4"}.bee-icon-sort-up:before{content:"\e7c5"}.bee-icon-sort:before{content:"\e6d2"}.bee-icon-finished:before{content:"\e6cd"}.bee-icon-refresh-left:before{content:"\e6c7"}.bee-icon-refresh-right:before{content:"\e6c8"}.bee-icon-refresh:before{content:"\e6d0"}.bee-icon-video-play:before{content:"\e7c0"}.bee-icon-video-pause:before{content:"\e7c1"}.bee-icon-d-arrow-right:before{content:"\e6dc"}.bee-icon-d-arrow-left:before{content:"\e6dd"}.bee-icon-arrow-up:before{content:"\e6e1"}.bee-icon-arrow-down:before{content:"\e6df"}.bee-icon-arrow-right:before{content:"\e6e0"}.bee-icon-arrow-left:before{content:"\e6de"}.bee-icon-top-right:before{content:"\e6e7"}.bee-icon-top-left:before{content:"\e6e8"}.bee-icon-top:before{content:"\e6e6"}.bee-icon-bottom:before{content:"\e6eb"}.bee-icon-right:before{content:"\e6e9"}.bee-icon-back:before{content:"\e6ea"}.bee-icon-bottom-right:before{content:"\e6ec"}.bee-icon-bottom-left:before{content:"\e6ed"}.bee-icon-caret-top:before{content:"\e78f"}.bee-icon-caret-bottom:before{content:"\e790"}.bee-icon-caret-right:before{content:"\e791"}.bee-icon-caret-left:before{content:"\e792"}.bee-icon-d-caret:before{content:"\e79a"}.bee-icon-share:before{content:"\e793"}.bee-icon-menu:before{content:"\e798"}.bee-icon-s-grid:before{content:"\e7a6"}.bee-icon-s-check:before{content:"\e7a7"}.bee-icon-s-data:before{content:"\e7a8"}.bee-icon-s-opportunity:before{content:"\e7aa"}.bee-icon-s-custom:before{content:"\e7ab"}.bee-icon-s-claim:before{content:"\e7ad"}.bee-icon-s-finance:before{content:"\e7ae"}.bee-icon-s-comment:before{content:"\e7af"}.bee-icon-s-flag:before{content:"\e7b0"}.bee-icon-s-marketing:before{content:"\e7b1"}.bee-icon-s-shop:before{content:"\e7b4"}.bee-icon-s-open:before{content:"\e7b5"}.bee-icon-s-management:before{content:"\e7b6"}.bee-icon-s-ticket:before{content:"\e7b7"}.bee-icon-s-release:before{content:"\e7b8"}.bee-icon-s-home:before{content:"\e7b9"}.bee-icon-s-promotion:before{content:"\e7ba"}.bee-icon-s-operation:before{content:"\e7bb"}.bee-icon-s-unfold:before{content:"\e7bc"}.bee-icon-s-fold:before{content:"\e7a9"}.bee-icon-s-platform:before{content:"\e7bd"}.bee-icon-s-order:before{content:"\e7be"}.bee-icon-s-cooperation:before{content:"\e7bf"}.bee-icon-bell:before{content:"\e725"}.bee-icon-message-solid:before{content:"\e799"}.bee-icon-video-camera:before{content:"\e772"}.bee-icon-video-camera-solid:before{content:"\e796"}.bee-icon-camera:before{content:"\e779"}.bee-icon-camera-solid:before{content:"\e79b"}.bee-icon-download:before{content:"\e77c"}.bee-icon-upload2:before{content:"\e77b"}.bee-icon-upload:before{content:"\e7c3"}.bee-icon-picture-outline-round:before{content:"\e75f"}.bee-icon-picture-outline:before{content:"\e75e"}.bee-icon-picture:before{content:"\e79f"}.bee-icon-close:before{content:"\e6db"}.bee-icon-check:before{content:"\e6da"}.bee-icon-plus:before{content:"\e6d9"}.bee-icon-minus:before{content:"\e6d8"}.bee-icon-help:before{content:"\e73d"}.bee-icon-s-help:before{content:"\e7b3"}.bee-icon-circle-close:before{content:"\e78d"}.bee-icon-circle-check:before{content:"\e720"}.bee-icon-circle-plus-outline:before{content:"\e723"}.bee-icon-remove-outline:before{content:"\e722"}.bee-icon-zoom-out:before{content:"\e776"}.bee-icon-zoom-in:before{content:"\e777"}.bee-icon-error:before{content:"\e79d"}.bee-icon-success:before{content:"\e79c"}.bee-icon-circle-plus:before{content:"\e7a0"}.bee-icon-remove:before{content:"\e7a2"}.bee-icon-info:before{content:"\e7a1"}.bee-icon-question:before{content:"\e7a4"}.bee-icon-warning-outline:before{content:"\e6c9"}.bee-icon-warning:before{content:"\e7a3"}.bee-icon-goods:before{content:"\e7c2"}.bee-icon-s-goods:before{content:"\e7b2"}.bee-icon-star-off:before{content:"\e717"}.bee-icon-star-on:before{content:"\e797"}.bee-icon-more-outline:before{content:"\e6cc"}.bee-icon-more:before{content:"\e794"}.bee-icon-phone-outline:before{content:"\e6cb"}.bee-icon-phone:before{content:"\e795"}.bee-icon-user:before{content:"\e6e3"}.bee-icon-user-solid:before{content:"\e7a5"}.bee-icon-setting:before{content:"\e6ca"}.bee-icon-s-tools:before{content:"\e7ac"}.bee-icon-delete:before{content:"\e6d7"}.bee-icon-delete-solid:before{content:"\e7c9"}.bee-icon-eleme:before{content:"\e7c7"}.bee-icon-platform-eleme:before{content:"\e7ca"}.bee-icon-loading{animation:rotating 2s linear infinite}.bee-icon--right{margin-left:5px}.bee-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.bee-button{align-items:center;background-color:#fff;background-image:linear-gradient(180deg,#fff,#e6e6e6);border:3px solid #000;border-radius:12px;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 6px 0 #000;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-family:Rubik,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:16px;font-weight:900;justify-content:center;letter-spacing:.5px;line-height:normal;margin:0;outline:none;padding:12px 24px;position:relative;text-shadow:2px 2px 0 #000;text-transform:uppercase;top:0;transition:transform .05s,box-shadow .05s;user-select:none;vertical-align:middle;white-space:nowrap}.bee-button [class*=bee-icon-]{filter:drop-shadow(2px 2px 0 #000);font-size:1.2em}.bee-button [class*=bee-icon-]+span{margin-left:8px}.bee-button:hover{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 8px 0 #000;filter:brightness(1.1);transform:translateY(-2px)}.bee-button:active{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 0 0 #000;filter:brightness(.95);transform:translateY(6px)}.bee-button.is-disabled,.bee-button.is-disabled:active,.bee-button.is-disabled:focus,.bee-button.is-disabled:hover{background:#999;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.2),0 6px 0 #333;cursor:not-allowed;filter:grayscale(100%);opacity:.8;transform:none}.bee-button{background-color:#f0f0f0;background-image:linear-gradient(180deg,#fff,#dcdcdc);color:#333;text-shadow:none;text-shadow:1px 1px 0 #fff}.bee-button--primary{background-color:#007bff;background-image:linear-gradient(180deg,#4facfe,#005bea);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--success{background-color:#2ed573;background-image:linear-gradient(180deg,#7bed9f,#2ed573);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--warning{background-color:#ffa502;background-image:linear-gradient(180deg,#ffeaa7,#fab1a0);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--danger{background-color:#ff4757;background-image:linear-gradient(180deg,#ff6b81,#ff4757);color:#fff;text-shadow:2px 2px 0 #000}.bee-button--info{background-color:#a29bfe;background-image:linear-gradient(180deg,#a29bfe,#6c5ce7);color:#fff;text-shadow:2px 2px 0 #000}.bee-button.is-round{border-radius:50px}.bee-button.is-circle{align-items:center;border-radius:50%;display:inline-flex;height:48px;justify-content:center;padding:0;width:48px}.bee-button.is-circle [class*=bee-icon-]{font-size:20px;margin:0!important}.bee-button--large{border-width:4px;box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),inset 0 -4px 0 rgba(0,0,0,.1),0 8px 0 #000;font-size:20px;padding:16px 32px}.bee-button--large:active{box-shadow:inset 0 4px 0 hsla(0,0%,100%,.4),0 0 0 #000;transform:translateY(8px)}.bee-button--small{border-width:2px;box-shadow:inset 0 2px 0 hsla(0,0%,100%,.4),inset 0 -2px 0 rgba(0,0,0,.1),0 4px 0 #000;font-size:12px;padding:8px 16px}.bee-button--small:active{box-shadow:inset 0 2px 0 hsla(0,0%,100%,.4),0 0 0 #000;transform:translateY(4px)}.bee-progress{align-items:center;display:flex}.bee-progress--line{margin-bottom:15px;width:100%}.bee-progress--circle,.bee-progress--dashboard{display:inline-block;margin-right:15px}.bee-progress__text{color:#606266;display:inline-block;font-size:14px;line-height:1;margin-left:10px;min-width:50px}.bee-progress__text i{font-size:16px;vertical-align:middle}.bee-progress--without-text .bee-progress__text{display:none}.bee-progress--without-text .bee-progress-bar{display:block;margin-right:0;padding-right:0}.bee-progress-bar{box-sizing:border-box;flex:1;margin-bottom:0;margin-right:0;padding-right:50px;width:100%}.bee-progress-bar__outer{background-color:#ebeef5;border:2px solid #000;border-radius:100px;box-shadow:2px 2px 0 #000;height:6px;overflow:hidden;position:relative;vertical-align:middle}.bee-progress-bar__inner{background-color:#409eff;background-image:linear-gradient(hsla(0,0%,100%,.3),hsla(0,0%,100%,0));border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;white-space:nowrap}.bee-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;font-weight:700;margin:0 5px;text-shadow:1px 1px 0 #000;vertical-align:middle}--text-inside .bee-progress-bar{padding-right:0}.bee-progress-circle{position:relative}.bee-progress-circle svg{transform:rotate(-90deg)}.bee-progress-circle__track{stroke:#ebeef5;stroke-linecap:round}.bee-progress-circle__path{stroke-linecap:round;filter:drop-shadow(2px 2px 0 rgb(0,0,0))}.is-success .bee-progress__text{color:#67c23a}.is-warning .bee-progress__text{color:#e6a23c}.is-exception .bee-progress__text{color:#f56c6c}.bee-progress-canvas canvas{vertical-align:middle}
|
package/dist/index.js
CHANGED
|
@@ -32,13 +32,13 @@ const buttonProps = {
|
|
|
32
32
|
loading: Boolean
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
const _hoisted_1$
|
|
36
|
-
const _hoisted_2$
|
|
35
|
+
const _hoisted_1$2 = ["disabled"];
|
|
36
|
+
const _hoisted_2$2 = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "bee-icon-loading"
|
|
39
39
|
};
|
|
40
|
-
const _hoisted_3$
|
|
41
|
-
var script$
|
|
40
|
+
const _hoisted_3$2 = { key: 2 };
|
|
41
|
+
var script$2 = /* @__PURE__ */ vue.defineComponent({
|
|
42
42
|
...{
|
|
43
43
|
name: "BeeButton"
|
|
44
44
|
},
|
|
@@ -68,7 +68,7 @@ var script$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
68
|
disabled: _ctx.disabled || _ctx.loading,
|
|
69
69
|
onClick: handleClick
|
|
70
70
|
}, [
|
|
71
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("i", _hoisted_2$
|
|
71
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("i", _hoisted_2$2)) : vue.createCommentVNode("v-if", true),
|
|
72
72
|
_ctx.icon && !_ctx.loading ? (vue.openBlock(), vue.createElementBlock(
|
|
73
73
|
"i",
|
|
74
74
|
{
|
|
@@ -79,15 +79,15 @@ var script$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
79
|
2
|
|
80
80
|
/* CLASS */
|
|
81
81
|
)) : vue.createCommentVNode("v-if", true),
|
|
82
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
82
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$2, [
|
|
83
83
|
vue.renderSlot(_ctx.$slots, "default")
|
|
84
84
|
])) : vue.createCommentVNode("v-if", true)
|
|
85
|
-
], 10, _hoisted_1$
|
|
85
|
+
], 10, _hoisted_1$2);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
script$
|
|
90
|
+
script$2.__file = "packages/components/button/src/button.vue";
|
|
91
91
|
|
|
92
92
|
const withInstall = (com) => {
|
|
93
93
|
com.install = function(app) {
|
|
@@ -96,7 +96,7 @@ const withInstall = (com) => {
|
|
|
96
96
|
return com;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
var index = withInstall(script$
|
|
99
|
+
var index = withInstall(script$2);
|
|
100
100
|
|
|
101
101
|
const progressProps = {
|
|
102
102
|
percentage: {
|
|
@@ -153,12 +153,12 @@ const progressProps = {
|
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
|
|
156
|
-
const _hoisted_1 = ["aria-valuenow"];
|
|
157
|
-
const _hoisted_2 = {
|
|
156
|
+
const _hoisted_1$1 = ["aria-valuenow"];
|
|
157
|
+
const _hoisted_2$1 = {
|
|
158
158
|
key: 0,
|
|
159
159
|
class: "bee-progress-canvas"
|
|
160
160
|
};
|
|
161
|
-
const _hoisted_3 = ["width", "height"];
|
|
161
|
+
const _hoisted_3$1 = ["width", "height"];
|
|
162
162
|
const _hoisted_4 = {
|
|
163
163
|
key: 0,
|
|
164
164
|
class: "bee-progress-bar"
|
|
@@ -171,7 +171,7 @@ const _hoisted_6 = { viewBox: "0 0 100 100" };
|
|
|
171
171
|
const _hoisted_7 = ["d", "stroke-width"];
|
|
172
172
|
const _hoisted_8 = ["d", "stroke-width"];
|
|
173
173
|
const _hoisted_9 = { key: 0 };
|
|
174
|
-
var script = /* @__PURE__ */ vue.defineComponent({
|
|
174
|
+
var script$1 = /* @__PURE__ */ vue.defineComponent({
|
|
175
175
|
...{
|
|
176
176
|
name: "BeeProgress"
|
|
177
177
|
},
|
|
@@ -378,13 +378,13 @@ var script = /* @__PURE__ */ vue.defineComponent({
|
|
|
378
378
|
"aria-valuemax": "100"
|
|
379
379
|
}, [
|
|
380
380
|
vue.createCommentVNode(" Canvas Mode "),
|
|
381
|
-
_ctx.useCanvas ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
381
|
+
_ctx.useCanvas ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
382
382
|
vue.createElementVNode("canvas", {
|
|
383
383
|
ref_key: "canvasRef",
|
|
384
384
|
ref: canvasRef,
|
|
385
385
|
width: canvasWidth.value,
|
|
386
386
|
height: canvasHeight.value
|
|
387
|
-
}, null, 8, _hoisted_3)
|
|
387
|
+
}, null, 8, _hoisted_3$1)
|
|
388
388
|
])) : (vue.openBlock(), vue.createElementBlock(
|
|
389
389
|
vue.Fragment,
|
|
390
390
|
{ key: 1 },
|
|
@@ -499,18 +499,288 @@ var script = /* @__PURE__ */ vue.defineComponent({
|
|
|
499
499
|
4
|
|
500
500
|
/* STYLE */
|
|
501
501
|
)) : vue.createCommentVNode("v-if", true)
|
|
502
|
-
], 10, _hoisted_1);
|
|
502
|
+
], 10, _hoisted_1$1);
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
|
|
507
|
+
script$1.__file = "packages/components/progress/src/progress.vue";
|
|
508
|
+
|
|
509
|
+
const BeeProgress = withInstall(script$1);
|
|
510
|
+
|
|
511
|
+
const MessageType = [
|
|
512
|
+
"success",
|
|
513
|
+
"warning",
|
|
514
|
+
"error",
|
|
515
|
+
"info"
|
|
516
|
+
];
|
|
517
|
+
const messageProps = {
|
|
518
|
+
// 消息类型
|
|
519
|
+
type: {
|
|
520
|
+
type: String,
|
|
521
|
+
values: MessageType,
|
|
522
|
+
default: "info"
|
|
523
|
+
},
|
|
524
|
+
// 消息文字
|
|
525
|
+
message: {
|
|
526
|
+
type: String,
|
|
527
|
+
default: ""
|
|
528
|
+
},
|
|
529
|
+
// 显示时间,单位ms,设为0则不自动关闭
|
|
530
|
+
duration: {
|
|
531
|
+
type: Number,
|
|
532
|
+
default: 3e3
|
|
533
|
+
},
|
|
534
|
+
// 是否显示关闭按钮
|
|
535
|
+
showClose: {
|
|
536
|
+
type: Boolean,
|
|
537
|
+
default: false
|
|
538
|
+
},
|
|
539
|
+
// 是否将message作为HTML片段处理
|
|
540
|
+
dangerouslyUseHTMLString: {
|
|
541
|
+
type: Boolean,
|
|
542
|
+
default: false
|
|
543
|
+
},
|
|
544
|
+
// 文字是否居中
|
|
545
|
+
center: {
|
|
546
|
+
type: Boolean,
|
|
547
|
+
default: false
|
|
548
|
+
},
|
|
549
|
+
// 自定义图标
|
|
550
|
+
icon: {
|
|
551
|
+
type: String,
|
|
552
|
+
default: ""
|
|
553
|
+
},
|
|
554
|
+
// 自定义类名
|
|
555
|
+
customClass: {
|
|
556
|
+
type: String,
|
|
557
|
+
default: ""
|
|
558
|
+
},
|
|
559
|
+
// 距离顶部的偏移量
|
|
560
|
+
offset: {
|
|
561
|
+
type: Number,
|
|
562
|
+
default: 20
|
|
563
|
+
},
|
|
564
|
+
// 关闭时的回调函数
|
|
565
|
+
onClose: {
|
|
566
|
+
type: Function,
|
|
567
|
+
default: void 0
|
|
568
|
+
},
|
|
569
|
+
// 消息唯一ID
|
|
570
|
+
id: {
|
|
571
|
+
type: String,
|
|
572
|
+
default: ""
|
|
573
|
+
},
|
|
574
|
+
// z-index
|
|
575
|
+
zIndex: {
|
|
576
|
+
type: Number,
|
|
577
|
+
default: 2e3
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
const _hoisted_1 = ["id"];
|
|
582
|
+
const _hoisted_2 = {
|
|
583
|
+
key: 0,
|
|
584
|
+
class: "bee-message__content"
|
|
585
|
+
};
|
|
586
|
+
const _hoisted_3 = ["innerHTML"];
|
|
587
|
+
var script = /* @__PURE__ */ vue.defineComponent({
|
|
588
|
+
...{
|
|
589
|
+
name: "BeeMessage"
|
|
590
|
+
},
|
|
591
|
+
__name: "message",
|
|
592
|
+
props: messageProps,
|
|
593
|
+
emits: ["destroy"],
|
|
594
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
595
|
+
const props = __props;
|
|
596
|
+
const visible = vue.ref(false);
|
|
597
|
+
let timer = null;
|
|
598
|
+
const iconClass = vue.computed(() => {
|
|
599
|
+
if (props.icon) {
|
|
600
|
+
return `bee-icon-${props.icon}`;
|
|
601
|
+
}
|
|
602
|
+
const iconMap = {
|
|
603
|
+
success: "bee-icon-success",
|
|
604
|
+
warning: "bee-icon-warning",
|
|
605
|
+
error: "bee-icon-error",
|
|
606
|
+
info: "bee-icon-info"
|
|
607
|
+
};
|
|
608
|
+
return iconMap[props.type] || "";
|
|
609
|
+
});
|
|
610
|
+
const customStyle = vue.computed(() => ({
|
|
611
|
+
top: `${props.offset}px`,
|
|
612
|
+
zIndex: props.zIndex
|
|
613
|
+
}));
|
|
614
|
+
const startTimer = () => {
|
|
615
|
+
if (props.duration > 0) {
|
|
616
|
+
timer = setTimeout(() => {
|
|
617
|
+
close();
|
|
618
|
+
}, props.duration);
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
const clearTimer = () => {
|
|
622
|
+
if (timer) {
|
|
623
|
+
clearTimeout(timer);
|
|
624
|
+
timer = null;
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
const close = () => {
|
|
628
|
+
visible.value = false;
|
|
629
|
+
clearTimer();
|
|
630
|
+
if (typeof props.onClose === "function") {
|
|
631
|
+
props.onClose();
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
vue.onMounted(() => {
|
|
635
|
+
visible.value = true;
|
|
636
|
+
startTimer();
|
|
637
|
+
});
|
|
638
|
+
__expose({
|
|
639
|
+
close,
|
|
640
|
+
visible
|
|
641
|
+
});
|
|
642
|
+
return (_ctx, _cache) => {
|
|
643
|
+
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
644
|
+
name: "bee-message-fade",
|
|
645
|
+
onAfterLeave: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("destroy")),
|
|
646
|
+
persisted: ""
|
|
647
|
+
}, {
|
|
648
|
+
default: vue.withCtx(() => [
|
|
649
|
+
vue.withDirectives(vue.createElementVNode("div", {
|
|
650
|
+
id: _ctx.id,
|
|
651
|
+
class: vue.normalizeClass([
|
|
652
|
+
"bee-message",
|
|
653
|
+
_ctx.type ? `bee-message--${_ctx.type}` : "",
|
|
654
|
+
_ctx.center ? "is-center" : "",
|
|
655
|
+
_ctx.showClose ? "is-closable" : "",
|
|
656
|
+
_ctx.customClass
|
|
657
|
+
]),
|
|
658
|
+
style: vue.normalizeStyle(customStyle.value),
|
|
659
|
+
role: "alert",
|
|
660
|
+
onMouseenter: clearTimer,
|
|
661
|
+
onMouseleave: startTimer
|
|
662
|
+
}, [
|
|
663
|
+
iconClass.value ? (vue.openBlock(), vue.createElementBlock(
|
|
664
|
+
"i",
|
|
665
|
+
{
|
|
666
|
+
key: 0,
|
|
667
|
+
class: vue.normalizeClass(iconClass.value)
|
|
668
|
+
},
|
|
669
|
+
null,
|
|
670
|
+
2
|
|
671
|
+
/* CLASS */
|
|
672
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
673
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
674
|
+
!_ctx.dangerouslyUseHTMLString ? (vue.openBlock(), vue.createElementBlock(
|
|
675
|
+
"p",
|
|
676
|
+
_hoisted_2,
|
|
677
|
+
vue.toDisplayString(_ctx.message),
|
|
678
|
+
1
|
|
679
|
+
/* TEXT */
|
|
680
|
+
)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
681
|
+
key: 1,
|
|
682
|
+
class: "bee-message__content",
|
|
683
|
+
innerHTML: _ctx.message
|
|
684
|
+
}, null, 8, _hoisted_3))
|
|
685
|
+
]),
|
|
686
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
687
|
+
key: 1,
|
|
688
|
+
class: "bee-message__closeBtn bee-icon-close",
|
|
689
|
+
onClick: close
|
|
690
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
691
|
+
], 46, _hoisted_1), [
|
|
692
|
+
[vue.vShow, visible.value]
|
|
693
|
+
])
|
|
694
|
+
]),
|
|
695
|
+
_: 3
|
|
696
|
+
/* FORWARDED */
|
|
697
|
+
});
|
|
503
698
|
};
|
|
504
699
|
}
|
|
505
700
|
});
|
|
506
701
|
|
|
507
|
-
script.
|
|
702
|
+
script.__scopeId = "data-v-031967c2";
|
|
703
|
+
script.__file = "packages/components/message/src/message.vue";
|
|
704
|
+
|
|
705
|
+
const instances = [];
|
|
706
|
+
let seed = 1;
|
|
707
|
+
const getOffset = (id) => {
|
|
708
|
+
const idx = instances.findIndex((instance) => instance.id === id);
|
|
709
|
+
if (idx === 0) {
|
|
710
|
+
return 20;
|
|
711
|
+
} else {
|
|
712
|
+
return 20;
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
const createMessage = (options) => {
|
|
716
|
+
const id = `message_${seed++}`;
|
|
717
|
+
const container = document.createElement("div");
|
|
718
|
+
const onClose = () => {
|
|
719
|
+
close(id);
|
|
720
|
+
if (typeof options.onClose === "function") {
|
|
721
|
+
options.onClose();
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
const props = {
|
|
725
|
+
...options,
|
|
726
|
+
id,
|
|
727
|
+
onClose,
|
|
728
|
+
offset: getOffset(id),
|
|
729
|
+
zIndex: 2e3 + seed
|
|
730
|
+
};
|
|
731
|
+
const vnode = vue.createVNode(script, props);
|
|
732
|
+
vue.render(vnode, container);
|
|
733
|
+
document.body.appendChild(container.firstElementChild);
|
|
734
|
+
const instance = {
|
|
735
|
+
id,
|
|
736
|
+
close: () => {
|
|
737
|
+
if (vnode.component) {
|
|
738
|
+
vnode.component.exposed?.close();
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
instances.push(instance);
|
|
743
|
+
return instance;
|
|
744
|
+
};
|
|
745
|
+
const close = (id) => {
|
|
746
|
+
const idx = instances.findIndex((instance) => instance.id === id);
|
|
747
|
+
if (idx === -1) return;
|
|
748
|
+
instances.splice(idx, 1);
|
|
749
|
+
};
|
|
750
|
+
const closeAll = () => {
|
|
751
|
+
for (let i = instances.length - 1; i >= 0; i--) {
|
|
752
|
+
instances[i].close();
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
const Message = ((options) => {
|
|
756
|
+
if (typeof options === "string") {
|
|
757
|
+
options = { message: options };
|
|
758
|
+
}
|
|
759
|
+
return createMessage(options);
|
|
760
|
+
});
|
|
761
|
+
["success", "warning", "info", "error"].forEach((type) => {
|
|
762
|
+
Message[type] = (options) => {
|
|
763
|
+
if (typeof options === "string") {
|
|
764
|
+
options = {
|
|
765
|
+
message: options,
|
|
766
|
+
type
|
|
767
|
+
};
|
|
768
|
+
} else {
|
|
769
|
+
options.type = type;
|
|
770
|
+
}
|
|
771
|
+
return createMessage(options);
|
|
772
|
+
};
|
|
773
|
+
});
|
|
774
|
+
Message.closeAll = closeAll;
|
|
508
775
|
|
|
509
|
-
|
|
776
|
+
Message.install = (app) => {
|
|
777
|
+
app.config.globalProperties.$message = Message;
|
|
778
|
+
};
|
|
510
779
|
|
|
511
780
|
var components = /*#__PURE__*/Object.freeze({
|
|
512
781
|
__proto__: null,
|
|
513
782
|
BeeButton: index,
|
|
783
|
+
BeeMessage: Message,
|
|
514
784
|
BeeProgress: BeeProgress
|
|
515
785
|
});
|
|
516
786
|
|
|
@@ -527,6 +797,7 @@ var Installer = {
|
|
|
527
797
|
const install = Installer.install;
|
|
528
798
|
|
|
529
799
|
exports.BeeButton = index;
|
|
800
|
+
exports.BeeMessage = Message;
|
|
530
801
|
exports.BeeProgress = BeeProgress;
|
|
531
802
|
exports.default = Installer;
|
|
532
803
|
exports.install = install;
|