@kyfe/hroa-ui 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 +50 -0
- package/dist/demo.html +8 -0
- package/dist/hrui.common.js +3892 -0
- package/dist/hrui.common.js.map +1 -0
- package/dist/hrui.umd.js +3902 -0
- package/dist/hrui.umd.js.map +1 -0
- package/dist/hrui.umd.min.js +2 -0
- package/dist/hrui.umd.min.js.map +1 -0
- package/lib/hr-bottom-button/index.css +1 -0
- package/lib/hr-bottom-button/index.js +1 -0
- package/lib/hr-button/index.css +1 -0
- package/lib/hr-button/index.js +1 -0
- package/lib/hr-clipboard/index.css +1 -0
- package/lib/hr-clipboard/index.js +1 -0
- package/lib/hr-condition-filtrate/index.css +1 -0
- package/lib/hr-condition-filtrate/index.js +1 -0
- package/lib/hr-emotional-picture/index.css +1 -0
- package/lib/hr-emotional-picture/index.js +1 -0
- package/lib/hr-module-card/index.css +1 -0
- package/lib/hr-module-card/index.js +1 -0
- package/lib/hr-notice-bar/index.js +1 -0
- package/lib/hr-open-ks/index.css +1 -0
- package/lib/hr-open-ks/index.js +1 -0
- package/lib/hr-pager/index.css +1 -0
- package/lib/hr-pager/index.js +1 -0
- package/lib/hr-search-input/index.css +1 -0
- package/lib/hr-search-input/index.js +1 -0
- package/lib/hr-select/index.js +1 -0
- package/lib/hr-slide-pager/index.css +1 -0
- package/lib/hr-slide-pager/index.js +1 -0
- package/lib/hr-stack-image/index.css +1 -0
- package/lib/hr-stack-image/index.js +1 -0
- package/lib/hr-tab-nav/index.css +1 -0
- package/lib/hr-tab-nav/index.js +1 -0
- package/lib/hr-view-item/index.css +1 -0
- package/lib/hr-view-item/index.js +1 -0
- package/lib/index/index.css +1 -0
- package/lib/index/index.js +1 -0
- package/lib/utils/index.js +1 -0
- package/package.json +66 -0
- package/packages/hr-bottom-button/index.js +7 -0
- package/packages/hr-bottom-button/src/index.vue +85 -0
- package/packages/hr-button/index.js +13 -0
- package/packages/hr-button/src/hr-button.vue +39 -0
- package/packages/hr-clipboard/index.js +3 -0
- package/packages/hr-clipboard/src/icon.png +0 -0
- package/packages/hr-clipboard/src/main.vue +64 -0
- package/packages/hr-clipboard/src/util.js +9 -0
- package/packages/hr-condition-filtrate/enum/index.js +11 -0
- package/packages/hr-condition-filtrate/image/arrow-right.png +0 -0
- package/packages/hr-condition-filtrate/index.js +7 -0
- package/packages/hr-condition-filtrate/src/employee-choose/index.vue +101 -0
- package/packages/hr-condition-filtrate/src/index.vue +246 -0
- package/packages/hr-condition-filtrate/src/multiterm-choose/index.vue +167 -0
- package/packages/hr-condition-filtrate/src/org-tree-choose/index.vue +102 -0
- package/packages/hr-condition-filtrate/src/single-choose/index.vue +144 -0
- package/packages/hr-condition-filtrate/src/text-input/index.vue +60 -0
- package/packages/hr-condition-filtrate/src/time-selector/date-range-select.vue +154 -0
- package/packages/hr-condition-filtrate/src/time-selector/images/date-icon.png +0 -0
- package/packages/hr-condition-filtrate/src/time-selector/index.vue +380 -0
- package/packages/hr-condition-filtrate/src/time-selector/utils/constant.js +30 -0
- package/packages/hr-condition-filtrate/src/time-selector/utils/tools.js +213 -0
- package/packages/hr-emotional-picture/index.js +7 -0
- package/packages/hr-emotional-picture/src/index.vue +66 -0
- package/packages/hr-emotional-picture//346/203/205/346/204/237/345/233/276/347/273/204/344/273/266.md +0 -0
- package/packages/hr-module-card/index.js +13 -0
- package/packages/hr-module-card/src/index.vue +132 -0
- package/packages/hr-module-card//346/250/241/345/235/227/345/215/241/347/211/207/347/273/204/344/273/266.md +29 -0
- package/packages/hr-notice-bar/index.js +7 -0
- package/packages/hr-notice-bar/src/bem.js +38 -0
- package/packages/hr-notice-bar/src/index.js +52 -0
- package/packages/hr-notice-bar//351/200/232/347/237/245/346/240/217/347/273/204/344/273/266.md +3 -0
- package/packages/hr-open-ks/index.js +3 -0
- package/packages/hr-open-ks/src/icon.png +0 -0
- package/packages/hr-open-ks/src/main.vue +85 -0
- package/packages/hr-open-ks/src/util.js +31 -0
- package/packages/hr-pager/images/next-page.png +0 -0
- package/packages/hr-pager/images/prev-page.png +0 -0
- package/packages/hr-pager/index.js +7 -0
- package/packages/hr-pager/src/index.vue +95 -0
- package/packages/hr-pager//346/214/211/351/222/256/347/277/273/351/241/265/347/273/204/344/273/266.md +0 -0
- package/packages/hr-search-input/image/input-close-icon.png +0 -0
- package/packages/hr-search-input/image/search-icon.png +0 -0
- package/packages/hr-search-input/index.js +8 -0
- package/packages/hr-search-input/src/index.vue +144 -0
- package/packages/hr-select/index.js +3 -0
- package/packages/hr-select/src/main.vue +62 -0
- package/packages/hr-slide-pager/guide/image/turn-left.png +0 -0
- package/packages/hr-slide-pager/guide/image/turn-right.png +0 -0
- package/packages/hr-slide-pager/guide/index.vue +59 -0
- package/packages/hr-slide-pager/guide//346/226/260/346/211/213/346/214/207/345/274/225.md +0 -0
- package/packages/hr-slide-pager/index.js +7 -0
- package/packages/hr-slide-pager/src/index.vue +371 -0
- package/packages/hr-slide-pager//346/273/221/345/212/250/347/277/273/351/241/265/347/273/204/344/273/266.md +0 -0
- package/packages/hr-stack-image/index.js +3 -0
- package/packages/hr-stack-image/src/main.vue +77 -0
- package/packages/hr-stack-image//345/261/202/345/217/240/345/233/276/347/211/207/347/273/204/344/273/266.md +0 -0
- package/packages/hr-tab-nav/index.js +8 -0
- package/packages/hr-tab-nav/src/index.vue +96 -0
- package/packages/hr-view-item/index.js +13 -0
- package/packages/hr-view-item/src/index.vue +89 -0
- package/packages/hr-view-item//350/241/250/345/215/225/351/241/271item/345/261/225/347/244/272.md +0 -0
- package/packages/index.js +53 -0
- package/packages/utils/directive.js +58 -0
- package/packages/utils/index.js +73 -0
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# hrui
|
|
2
|
+
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
yarn install
|
|
6
|
+
```
|
|
7
|
+
## hroa-ui组件库支持全局和按需加载
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
// 全局引入UI组件
|
|
11
|
+
import hroaUI from 'hroa-ui'
|
|
12
|
+
|
|
13
|
+
Vue.use(hroaUI)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
按需引入组件需要先装依赖来支持
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
yarn add babel-plugin-import
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
// 按需引入组件
|
|
25
|
+
import {
|
|
26
|
+
hrButton
|
|
27
|
+
} from "hroa-ui";
|
|
28
|
+
|
|
29
|
+
// 组册
|
|
30
|
+
Vue.use(hrButton)
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Compiles and hot-reloads for development
|
|
35
|
+
```
|
|
36
|
+
yarn serve
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Compiles and minifies for production
|
|
40
|
+
```
|
|
41
|
+
yarn build
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Lints and fixes files
|
|
45
|
+
```
|
|
46
|
+
yarn lint
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Customize configuration
|
|
50
|
+
See [Configuration Reference](https://cli.vuejs.org/config/).
|