@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.
Files changed (105) hide show
  1. package/README.md +50 -0
  2. package/dist/demo.html +8 -0
  3. package/dist/hrui.common.js +3892 -0
  4. package/dist/hrui.common.js.map +1 -0
  5. package/dist/hrui.umd.js +3902 -0
  6. package/dist/hrui.umd.js.map +1 -0
  7. package/dist/hrui.umd.min.js +2 -0
  8. package/dist/hrui.umd.min.js.map +1 -0
  9. package/lib/hr-bottom-button/index.css +1 -0
  10. package/lib/hr-bottom-button/index.js +1 -0
  11. package/lib/hr-button/index.css +1 -0
  12. package/lib/hr-button/index.js +1 -0
  13. package/lib/hr-clipboard/index.css +1 -0
  14. package/lib/hr-clipboard/index.js +1 -0
  15. package/lib/hr-condition-filtrate/index.css +1 -0
  16. package/lib/hr-condition-filtrate/index.js +1 -0
  17. package/lib/hr-emotional-picture/index.css +1 -0
  18. package/lib/hr-emotional-picture/index.js +1 -0
  19. package/lib/hr-module-card/index.css +1 -0
  20. package/lib/hr-module-card/index.js +1 -0
  21. package/lib/hr-notice-bar/index.js +1 -0
  22. package/lib/hr-open-ks/index.css +1 -0
  23. package/lib/hr-open-ks/index.js +1 -0
  24. package/lib/hr-pager/index.css +1 -0
  25. package/lib/hr-pager/index.js +1 -0
  26. package/lib/hr-search-input/index.css +1 -0
  27. package/lib/hr-search-input/index.js +1 -0
  28. package/lib/hr-select/index.js +1 -0
  29. package/lib/hr-slide-pager/index.css +1 -0
  30. package/lib/hr-slide-pager/index.js +1 -0
  31. package/lib/hr-stack-image/index.css +1 -0
  32. package/lib/hr-stack-image/index.js +1 -0
  33. package/lib/hr-tab-nav/index.css +1 -0
  34. package/lib/hr-tab-nav/index.js +1 -0
  35. package/lib/hr-view-item/index.css +1 -0
  36. package/lib/hr-view-item/index.js +1 -0
  37. package/lib/index/index.css +1 -0
  38. package/lib/index/index.js +1 -0
  39. package/lib/utils/index.js +1 -0
  40. package/package.json +66 -0
  41. package/packages/hr-bottom-button/index.js +7 -0
  42. package/packages/hr-bottom-button/src/index.vue +85 -0
  43. package/packages/hr-button/index.js +13 -0
  44. package/packages/hr-button/src/hr-button.vue +39 -0
  45. package/packages/hr-clipboard/index.js +3 -0
  46. package/packages/hr-clipboard/src/icon.png +0 -0
  47. package/packages/hr-clipboard/src/main.vue +64 -0
  48. package/packages/hr-clipboard/src/util.js +9 -0
  49. package/packages/hr-condition-filtrate/enum/index.js +11 -0
  50. package/packages/hr-condition-filtrate/image/arrow-right.png +0 -0
  51. package/packages/hr-condition-filtrate/index.js +7 -0
  52. package/packages/hr-condition-filtrate/src/employee-choose/index.vue +101 -0
  53. package/packages/hr-condition-filtrate/src/index.vue +246 -0
  54. package/packages/hr-condition-filtrate/src/multiterm-choose/index.vue +167 -0
  55. package/packages/hr-condition-filtrate/src/org-tree-choose/index.vue +102 -0
  56. package/packages/hr-condition-filtrate/src/single-choose/index.vue +144 -0
  57. package/packages/hr-condition-filtrate/src/text-input/index.vue +60 -0
  58. package/packages/hr-condition-filtrate/src/time-selector/date-range-select.vue +154 -0
  59. package/packages/hr-condition-filtrate/src/time-selector/images/date-icon.png +0 -0
  60. package/packages/hr-condition-filtrate/src/time-selector/index.vue +380 -0
  61. package/packages/hr-condition-filtrate/src/time-selector/utils/constant.js +30 -0
  62. package/packages/hr-condition-filtrate/src/time-selector/utils/tools.js +213 -0
  63. package/packages/hr-emotional-picture/index.js +7 -0
  64. package/packages/hr-emotional-picture/src/index.vue +66 -0
  65. package/packages/hr-emotional-picture//346/203/205/346/204/237/345/233/276/347/273/204/344/273/266.md +0 -0
  66. package/packages/hr-module-card/index.js +13 -0
  67. package/packages/hr-module-card/src/index.vue +132 -0
  68. 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
  69. package/packages/hr-notice-bar/index.js +7 -0
  70. package/packages/hr-notice-bar/src/bem.js +38 -0
  71. package/packages/hr-notice-bar/src/index.js +52 -0
  72. package/packages/hr-notice-bar//351/200/232/347/237/245/346/240/217/347/273/204/344/273/266.md +3 -0
  73. package/packages/hr-open-ks/index.js +3 -0
  74. package/packages/hr-open-ks/src/icon.png +0 -0
  75. package/packages/hr-open-ks/src/main.vue +85 -0
  76. package/packages/hr-open-ks/src/util.js +31 -0
  77. package/packages/hr-pager/images/next-page.png +0 -0
  78. package/packages/hr-pager/images/prev-page.png +0 -0
  79. package/packages/hr-pager/index.js +7 -0
  80. package/packages/hr-pager/src/index.vue +95 -0
  81. 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
  82. package/packages/hr-search-input/image/input-close-icon.png +0 -0
  83. package/packages/hr-search-input/image/search-icon.png +0 -0
  84. package/packages/hr-search-input/index.js +8 -0
  85. package/packages/hr-search-input/src/index.vue +144 -0
  86. package/packages/hr-select/index.js +3 -0
  87. package/packages/hr-select/src/main.vue +62 -0
  88. package/packages/hr-slide-pager/guide/image/turn-left.png +0 -0
  89. package/packages/hr-slide-pager/guide/image/turn-right.png +0 -0
  90. package/packages/hr-slide-pager/guide/index.vue +59 -0
  91. package/packages/hr-slide-pager/guide//346/226/260/346/211/213/346/214/207/345/274/225.md +0 -0
  92. package/packages/hr-slide-pager/index.js +7 -0
  93. package/packages/hr-slide-pager/src/index.vue +371 -0
  94. 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
  95. package/packages/hr-stack-image/index.js +3 -0
  96. package/packages/hr-stack-image/src/main.vue +77 -0
  97. 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
  98. package/packages/hr-tab-nav/index.js +8 -0
  99. package/packages/hr-tab-nav/src/index.vue +96 -0
  100. package/packages/hr-view-item/index.js +13 -0
  101. package/packages/hr-view-item/src/index.vue +89 -0
  102. package/packages/hr-view-item//350/241/250/345/215/225/351/241/271item/345/261/225/347/244/272.md +0 -0
  103. package/packages/index.js +53 -0
  104. package/packages/utils/directive.js +58 -0
  105. 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/).
package/dist/demo.html ADDED
@@ -0,0 +1,8 @@
1
+ <meta charset="utf-8">
2
+ <title>hrui demo</title>
3
+ <script src="./hrui.umd.js"></script>
4
+
5
+
6
+ <script>
7
+ console.log(hrui)
8
+ </script>