eoss-ui 0.6.20 → 0.6.22

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 (100) hide show
  1. package/lib/eoss-ui.common.js +439 -420
  2. package/lib/flow.js +118 -118
  3. package/lib/form.js +3 -3
  4. package/lib/index.js +1 -1
  5. package/lib/login.js +69 -60
  6. package/lib/main.js +220 -210
  7. package/lib/qr-code.js +13 -13
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/login.css +1 -1
  10. package/lib/theme-chalk/selector.css +1 -1
  11. package/package.json +157 -157
  12. package/packages/.DS_Store +0 -0
  13. package/packages/button/src/main.vue +418 -418
  14. package/packages/button-group/src/main.vue +298 -298
  15. package/packages/checkbox-group/.DS_Store +0 -0
  16. package/packages/checkbox-group/src/main.vue +333 -333
  17. package/packages/clients/src/main.vue +144 -144
  18. package/packages/data-table/.DS_Store +0 -0
  19. package/packages/data-table/src/children.vue +39 -39
  20. package/packages/data-table/src/column.vue +983 -983
  21. package/packages/data-table/src/main.vue +1812 -1812
  22. package/packages/data-table/src/sizer.vue +195 -195
  23. package/packages/date-picker/src/main.vue +236 -236
  24. package/packages/dialog/.DS_Store +0 -0
  25. package/packages/flow/src/main.vue +2731 -2731
  26. package/packages/flow-group/src/main.vue +684 -684
  27. package/packages/form/src/main.vue +3582 -3582
  28. package/packages/form/src/table.vue +1420 -1420
  29. package/packages/handle-user/src/main.vue +134 -134
  30. package/packages/handler/.DS_Store +0 -0
  31. package/packages/handler/src/main.vue +374 -374
  32. package/packages/icon/src/main.vue +101 -101
  33. package/packages/input/src/main.vue +356 -356
  34. package/packages/login/.DS_Store +0 -0
  35. package/packages/login/src/main.vue +1857 -1851
  36. package/packages/login/src/resetPassword.vue +562 -557
  37. package/packages/main/.DS_Store +0 -0
  38. package/packages/main/src/.DS_Store +0 -0
  39. package/packages/main/src/default/message.vue +249 -249
  40. package/packages/main/src/default/notice.vue +157 -157
  41. package/packages/main/src/default/userinfo.vue +494 -494
  42. package/packages/main/src/main.vue +65 -57
  43. package/packages/main/src/public/online.vue +89 -89
  44. package/packages/main/src/public/search.vue +454 -454
  45. package/packages/main/src/public/settings.vue +221 -221
  46. package/packages/main/src/simplicity/apps.vue +388 -388
  47. package/packages/main/src/simplicity/avatar.vue +82 -82
  48. package/packages/main/src/simplicity/handler.vue +183 -183
  49. package/packages/main/src/simplicity/index.vue +1931 -1930
  50. package/packages/main/src/simplicity/lists.vue +84 -84
  51. package/packages/main/src/simplicity/menu-list.vue +128 -128
  52. package/packages/main/src/simplicity/message.vue +259 -259
  53. package/packages/main/src/simplicity/notice.vue +190 -190
  54. package/packages/main/src/simplicity/router-page.vue +45 -45
  55. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  56. package/packages/main/src/simplicity/user.vue +248 -248
  57. package/packages/main/src/simplicity/userinfo.vue +306 -304
  58. package/packages/menu/src/main.vue +536 -536
  59. package/packages/pagination/src/main.vue +96 -96
  60. package/packages/qr-code/src/main.vue +170 -170
  61. package/packages/radio-group/src/main.vue +319 -319
  62. package/packages/select/src/main.vue +761 -761
  63. package/packages/selector/src/main.vue +677 -677
  64. package/packages/selector-panel/src/main.vue +1020 -1020
  65. package/packages/selector-panel/src/selection.vue +160 -160
  66. package/packages/tabs/src/main.vue +788 -788
  67. package/packages/theme-chalk/lib/index.css +1 -1
  68. package/packages/theme-chalk/lib/login.css +1 -1
  69. package/packages/theme-chalk/lib/selector.css +1 -1
  70. package/packages/theme-chalk/src/.DS_Store +0 -0
  71. package/packages/theme-chalk/src/base.scss +260 -260
  72. package/packages/theme-chalk/src/button-group.scss +175 -175
  73. package/packages/theme-chalk/src/calendar.scss +113 -113
  74. package/packages/theme-chalk/src/clients.scss +87 -87
  75. package/packages/theme-chalk/src/common/var.scss +4 -1
  76. package/packages/theme-chalk/src/data-table.scss +276 -276
  77. package/packages/theme-chalk/src/dialog.scss +77 -77
  78. package/packages/theme-chalk/src/flow-group.scss +110 -110
  79. package/packages/theme-chalk/src/form.scss +496 -496
  80. package/packages/theme-chalk/src/handler.scss +133 -133
  81. package/packages/theme-chalk/src/icon.scss +1745 -1745
  82. package/packages/theme-chalk/src/icons.scss +99 -99
  83. package/packages/theme-chalk/src/login.scss +928 -917
  84. package/packages/theme-chalk/src/main.scss +632 -632
  85. package/packages/theme-chalk/src/menu.scss +222 -222
  86. package/packages/theme-chalk/src/nav.scss +125 -125
  87. package/packages/theme-chalk/src/pagination.scss +29 -29
  88. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  89. package/packages/theme-chalk/src/selector.scss +1 -1
  90. package/packages/theme-chalk/src/simplicity.scss +1246 -1246
  91. package/packages/theme-chalk/src/tabs.scss +87 -87
  92. package/packages/theme-chalk/src/toolbar.scss +179 -179
  93. package/packages/theme-chalk/src/tree-group.scss +72 -72
  94. package/packages/theme-chalk/src/tree.scss +165 -165
  95. package/packages/upload/src/main.vue +1313 -1313
  96. package/packages/wujie/src/main.vue +145 -145
  97. package/src/.DS_Store +0 -0
  98. package/src/config/api.js +236 -236
  99. package/src/config/image.js +2 -2
  100. package/src/index.js +157 -157
@@ -1,175 +1,175 @@
1
- @import './common/var.scss';
2
- .es-button-group {
3
- display: flex;
4
- & > .el-dropdown {
5
- margin-left: 10px;
6
- & > .el-button:not(.el-button--text) {
7
- border-color: $--border-color-base;
8
- .el-badge {
9
- vertical-align: unset;
10
- }
11
- }
12
- }
13
- }
14
-
15
- .el-button-group {
16
- & > .el-button:not(.el-button--text) + .es-button:not(.el-button--text),
17
- & > .es-button:not(.el-button--text) + .el-button:not(.el-button--text),
18
- & > .es-button:not(.el-button--text) + .es-button:not(.el-button--text),
19
- & > .es-button:not(.el-button--text) + .es-selector,
20
- & > .es-button:not(.el-button--text) + .es-upload,
21
- & > .es-button:not(.el-button--text) + .el-dropdown {
22
- margin-left: 0;
23
- }
24
- & > .es-selector {
25
- float: left;
26
- &:first-child {
27
- & > .el-button {
28
- border-top-right-radius: 0;
29
- border-bottom-right-radius: 0;
30
- &.el-button--danger,
31
- &.el-button--info,
32
- &.el-button--primary,
33
- &.el-button--success,
34
- &.el-button--warning {
35
- border-right-color: rgba(255, 255, 255, 0.5);
36
- }
37
- }
38
- }
39
- &:not(:first-child):not(:last-child) {
40
- margin-left: 10px;
41
- & > .el-button {
42
- border-radius: 0;
43
- &.el-button--danger,
44
- &.el-button--info,
45
- &.el-button--primary,
46
- &.el-button--success,
47
- &.el-button--warning {
48
- border-left-color: rgba(255, 255, 255, 0.5);
49
- border-right-color: rgba(255, 255, 255, 0.5);
50
- }
51
- }
52
- }
53
- &:last-child {
54
- & > .el-button {
55
- border-top-left-radius: 0;
56
- border-bottom-left-radius: 0;
57
- &.el-button--danger,
58
- &.el-button--info,
59
- &.el-button--primary,
60
- &.el-button--success,
61
- &.el-button--warning {
62
- border-left-color: rgba(255, 255, 255, 0.5);
63
- }
64
- }
65
- }
66
- &:not(:last-child) {
67
- & > .el-button {
68
- margin-right: -1px;
69
- }
70
- }
71
- & + .el-button--text,
72
- & + .el-dropdown {
73
- margin-left: 10px;
74
- }
75
- }
76
- & > .es-upload {
77
- float: left;
78
- &:first-child {
79
- & > .el-upload--handle > .el-upload {
80
- & > .el-button {
81
- border-top-right-radius: 0;
82
- border-bottom-right-radius: 0;
83
- &.el-button--danger,
84
- &.el-button--info,
85
- &.el-button--primary,
86
- &.el-button--success,
87
- &.el-button--warning {
88
- border-right-color: rgba(255, 255, 255, 0.5);
89
- }
90
- }
91
- }
92
- }
93
- &:not(:first-child):not(:last-child) {
94
- margin-left: 10px;
95
- & > .el-upload--handle > .el-upload {
96
- & > .el-button {
97
- border-radius: 0;
98
- &.el-button--danger,
99
- &.el-button--info,
100
- &.el-button--primary,
101
- &.el-button--success,
102
- &.el-button--warning {
103
- border-left-color: rgba(255, 255, 255, 0.5);
104
- border-right-color: rgba(255, 255, 255, 0.5);
105
- }
106
- }
107
- }
108
- }
109
- &:last-child {
110
- & > .el-upload--handle > .el-upload {
111
- & > .el-button {
112
- border-top-left-radius: 0;
113
- border-bottom-left-radius: 0;
114
- &.el-button--danger,
115
- &.el-button--info,
116
- &.el-button--primary,
117
- &.el-button--success,
118
- &.el-button--warning {
119
- border-left-color: rgba(255, 255, 255, 0.5);
120
- }
121
- }
122
- }
123
- }
124
- &:not(:last-child) {
125
- & > .el-upload--handle > .el-upload {
126
- & > .el-button {
127
- margin-right: -1px;
128
- }
129
- }
130
- }
131
- & + .el-button--text,
132
- & + .el-dropdown {
133
- margin-left: 10px;
134
- }
135
- }
136
- }
137
- .es-dropdown-padding {
138
- padding: 0;
139
- }
140
- .es-dropdown-upload {
141
- & > .el-upload--handle {
142
- display: block;
143
- & > .el-upload {
144
- display: block;
145
- & > .el-button {
146
- display: block;
147
- width: 100%;
148
- text-align: left;
149
- font-size: 14px;
150
- color: rgba(0, 0, 0, 0.75);
151
- padding: 6px 20px;
152
- line-height: 24px;
153
- border: 0;
154
- &:hover {
155
- color: #69c0ff;
156
- }
157
- }
158
- }
159
- }
160
- }
161
- .es-dropdown-selector {
162
- & > .el-button {
163
- display: block;
164
- width: 100%;
165
- text-align: left;
166
- padding: 6px 20px;
167
- line-height: 24px;
168
- font-size: 14px;
169
- color: rgba(0, 0, 0, 0.75);
170
- border: 0;
171
- &:hover {
172
- color: #69c0ff;
173
- }
174
- }
175
- }
1
+ @import './common/var.scss';
2
+ .es-button-group {
3
+ display: flex;
4
+ & > .el-dropdown {
5
+ margin-left: 10px;
6
+ & > .el-button:not(.el-button--text) {
7
+ border-color: $--border-color-base;
8
+ .el-badge {
9
+ vertical-align: unset;
10
+ }
11
+ }
12
+ }
13
+ }
14
+
15
+ .el-button-group {
16
+ & > .el-button:not(.el-button--text) + .es-button:not(.el-button--text),
17
+ & > .es-button:not(.el-button--text) + .el-button:not(.el-button--text),
18
+ & > .es-button:not(.el-button--text) + .es-button:not(.el-button--text),
19
+ & > .es-button:not(.el-button--text) + .es-selector,
20
+ & > .es-button:not(.el-button--text) + .es-upload,
21
+ & > .es-button:not(.el-button--text) + .el-dropdown {
22
+ margin-left: 0;
23
+ }
24
+ & > .es-selector {
25
+ float: left;
26
+ &:first-child {
27
+ & > .el-button {
28
+ border-top-right-radius: 0;
29
+ border-bottom-right-radius: 0;
30
+ &.el-button--danger,
31
+ &.el-button--info,
32
+ &.el-button--primary,
33
+ &.el-button--success,
34
+ &.el-button--warning {
35
+ border-right-color: rgba(255, 255, 255, 0.5);
36
+ }
37
+ }
38
+ }
39
+ &:not(:first-child):not(:last-child) {
40
+ margin-left: 10px;
41
+ & > .el-button {
42
+ border-radius: 0;
43
+ &.el-button--danger,
44
+ &.el-button--info,
45
+ &.el-button--primary,
46
+ &.el-button--success,
47
+ &.el-button--warning {
48
+ border-left-color: rgba(255, 255, 255, 0.5);
49
+ border-right-color: rgba(255, 255, 255, 0.5);
50
+ }
51
+ }
52
+ }
53
+ &:last-child {
54
+ & > .el-button {
55
+ border-top-left-radius: 0;
56
+ border-bottom-left-radius: 0;
57
+ &.el-button--danger,
58
+ &.el-button--info,
59
+ &.el-button--primary,
60
+ &.el-button--success,
61
+ &.el-button--warning {
62
+ border-left-color: rgba(255, 255, 255, 0.5);
63
+ }
64
+ }
65
+ }
66
+ &:not(:last-child) {
67
+ & > .el-button {
68
+ margin-right: -1px;
69
+ }
70
+ }
71
+ & + .el-button--text,
72
+ & + .el-dropdown {
73
+ margin-left: 10px;
74
+ }
75
+ }
76
+ & > .es-upload {
77
+ float: left;
78
+ &:first-child {
79
+ & > .el-upload--handle > .el-upload {
80
+ & > .el-button {
81
+ border-top-right-radius: 0;
82
+ border-bottom-right-radius: 0;
83
+ &.el-button--danger,
84
+ &.el-button--info,
85
+ &.el-button--primary,
86
+ &.el-button--success,
87
+ &.el-button--warning {
88
+ border-right-color: rgba(255, 255, 255, 0.5);
89
+ }
90
+ }
91
+ }
92
+ }
93
+ &:not(:first-child):not(:last-child) {
94
+ margin-left: 10px;
95
+ & > .el-upload--handle > .el-upload {
96
+ & > .el-button {
97
+ border-radius: 0;
98
+ &.el-button--danger,
99
+ &.el-button--info,
100
+ &.el-button--primary,
101
+ &.el-button--success,
102
+ &.el-button--warning {
103
+ border-left-color: rgba(255, 255, 255, 0.5);
104
+ border-right-color: rgba(255, 255, 255, 0.5);
105
+ }
106
+ }
107
+ }
108
+ }
109
+ &:last-child {
110
+ & > .el-upload--handle > .el-upload {
111
+ & > .el-button {
112
+ border-top-left-radius: 0;
113
+ border-bottom-left-radius: 0;
114
+ &.el-button--danger,
115
+ &.el-button--info,
116
+ &.el-button--primary,
117
+ &.el-button--success,
118
+ &.el-button--warning {
119
+ border-left-color: rgba(255, 255, 255, 0.5);
120
+ }
121
+ }
122
+ }
123
+ }
124
+ &:not(:last-child) {
125
+ & > .el-upload--handle > .el-upload {
126
+ & > .el-button {
127
+ margin-right: -1px;
128
+ }
129
+ }
130
+ }
131
+ & + .el-button--text,
132
+ & + .el-dropdown {
133
+ margin-left: 10px;
134
+ }
135
+ }
136
+ }
137
+ .es-dropdown-padding {
138
+ padding: 0;
139
+ }
140
+ .es-dropdown-upload {
141
+ & > .el-upload--handle {
142
+ display: block;
143
+ & > .el-upload {
144
+ display: block;
145
+ & > .el-button {
146
+ display: block;
147
+ width: 100%;
148
+ text-align: left;
149
+ font-size: 14px;
150
+ color: rgba(0, 0, 0, 0.75);
151
+ padding: 6px 20px;
152
+ line-height: 24px;
153
+ border: 0;
154
+ &:hover {
155
+ color: #69c0ff;
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ .es-dropdown-selector {
162
+ & > .el-button {
163
+ display: block;
164
+ width: 100%;
165
+ text-align: left;
166
+ padding: 6px 20px;
167
+ line-height: 24px;
168
+ font-size: 14px;
169
+ color: rgba(0, 0, 0, 0.75);
170
+ border: 0;
171
+ &:hover {
172
+ color: #69c0ff;
173
+ }
174
+ }
175
+ }
@@ -1,113 +1,113 @@
1
- .es-calendar {
2
- background-color: #fff;
3
- .es-calendar-title {
4
- height: 44px;
5
- padding: 12px 30px;
6
- background-color: #ffffff;
7
- font-family: PingFang SC, PingFang SC;
8
- font-weight: 400;
9
- font-size: 14px;
10
- color: #262626;
11
- line-height: 20px;
12
- text-align: center;
13
- position: relative;
14
- display: flex;
15
- justify-content: center;
16
- .es-calendar-prev,
17
- .es-calendar-next {
18
- cursor: pointer;
19
- font-size: 14px;
20
- color: #8c8c8c;
21
- line-height: 20px;
22
- }
23
- .es-calendar-prev {
24
- margin-right: 8px;
25
- }
26
- .es-calendar-next {
27
- margin-left: 8px;
28
- }
29
- .es-title {
30
- .es-calendar-picker {
31
- .el-input__inner {
32
- width: 76px;
33
- height: 20px;
34
- line-height: 20px;
35
- text-align: center;
36
- padding: 0;
37
- border: 0 !important;
38
- box-shadow: none !important;
39
- cursor: pointer;
40
- }
41
- .el-input__prefix,
42
- .el-input__suffix {
43
- display: none;
44
- }
45
- }
46
- }
47
- }
48
- .es-calendar-weeks {
49
- display: flex;
50
- flex-wrap: wrap;
51
- margin-bottom: 4px;
52
- .es-week {
53
- width: (100% / 7);
54
- height: 32px;
55
- text-align: center;
56
- line-height: 32px;
57
- font-weight: 400;
58
- font-size: 14px;
59
- color: #8c8c8c;
60
- font-weight: bold;
61
- }
62
- }
63
- .es-calendar-days {
64
- display: flex;
65
- flex-wrap: wrap;
66
- .es-day {
67
- width: (100% / 7);
68
- height: 32px;
69
- display: flex;
70
- align-items: center;
71
- justify-content: center;
72
- .es-day-item {
73
- width: 28px;
74
- height: 28px;
75
- font-weight: 400;
76
- font-size: 14px;
77
- color: #262626;
78
- text-align: center;
79
- line-height: 28px;
80
- position: relative;
81
- cursor: pointer;
82
- &.es-disabled-day {
83
- color: #bfbfbf;
84
- }
85
- &.es-today {
86
- color: var(--theme-primary-light-7, #2778e5);
87
- border: 1px solid var(--theme-primary-light-7, #2778e5);
88
- line-height: 26px;
89
- border-radius: 15px 15px 15px 15px;
90
- }
91
- &.es-select {
92
- color: #fff;
93
- background-color: var(--theme-primary-light-7, #2778e5);
94
- border-radius: 15px 15px 15px 15px;
95
- }
96
- &.es-disabled {
97
- cursor: not-allowed;
98
- }
99
- }
100
- }
101
- }
102
- .es-calendar-switch {
103
- height: 22px;
104
- line-height: 22px;
105
- font-weight: bold;
106
- text-align: center;
107
- color: #8c8c8c;
108
- .es-switch-icon {
109
- font-size: 14px;
110
- cursor: pointer;
111
- }
112
- }
113
- }
1
+ .es-calendar {
2
+ background-color: #fff;
3
+ .es-calendar-title {
4
+ height: 44px;
5
+ padding: 12px 30px;
6
+ background-color: #ffffff;
7
+ font-family: PingFang SC, PingFang SC;
8
+ font-weight: 400;
9
+ font-size: 14px;
10
+ color: #262626;
11
+ line-height: 20px;
12
+ text-align: center;
13
+ position: relative;
14
+ display: flex;
15
+ justify-content: center;
16
+ .es-calendar-prev,
17
+ .es-calendar-next {
18
+ cursor: pointer;
19
+ font-size: 14px;
20
+ color: #8c8c8c;
21
+ line-height: 20px;
22
+ }
23
+ .es-calendar-prev {
24
+ margin-right: 8px;
25
+ }
26
+ .es-calendar-next {
27
+ margin-left: 8px;
28
+ }
29
+ .es-title {
30
+ .es-calendar-picker {
31
+ .el-input__inner {
32
+ width: 76px;
33
+ height: 20px;
34
+ line-height: 20px;
35
+ text-align: center;
36
+ padding: 0;
37
+ border: 0 !important;
38
+ box-shadow: none !important;
39
+ cursor: pointer;
40
+ }
41
+ .el-input__prefix,
42
+ .el-input__suffix {
43
+ display: none;
44
+ }
45
+ }
46
+ }
47
+ }
48
+ .es-calendar-weeks {
49
+ display: flex;
50
+ flex-wrap: wrap;
51
+ margin-bottom: 4px;
52
+ .es-week {
53
+ width: (100% / 7);
54
+ height: 32px;
55
+ text-align: center;
56
+ line-height: 32px;
57
+ font-weight: 400;
58
+ font-size: 14px;
59
+ color: #8c8c8c;
60
+ font-weight: bold;
61
+ }
62
+ }
63
+ .es-calendar-days {
64
+ display: flex;
65
+ flex-wrap: wrap;
66
+ .es-day {
67
+ width: (100% / 7);
68
+ height: 32px;
69
+ display: flex;
70
+ align-items: center;
71
+ justify-content: center;
72
+ .es-day-item {
73
+ width: 28px;
74
+ height: 28px;
75
+ font-weight: 400;
76
+ font-size: 14px;
77
+ color: #262626;
78
+ text-align: center;
79
+ line-height: 28px;
80
+ position: relative;
81
+ cursor: pointer;
82
+ &.es-disabled-day {
83
+ color: #bfbfbf;
84
+ }
85
+ &.es-today {
86
+ color: var(--theme-primary-light-7, #2778e5);
87
+ border: 1px solid var(--theme-primary-light-7, #2778e5);
88
+ line-height: 26px;
89
+ border-radius: 15px 15px 15px 15px;
90
+ }
91
+ &.es-select {
92
+ color: #fff;
93
+ background-color: var(--theme-primary-light-7, #2778e5);
94
+ border-radius: 15px 15px 15px 15px;
95
+ }
96
+ &.es-disabled {
97
+ cursor: not-allowed;
98
+ }
99
+ }
100
+ }
101
+ }
102
+ .es-calendar-switch {
103
+ height: 22px;
104
+ line-height: 22px;
105
+ font-weight: bold;
106
+ text-align: center;
107
+ color: #8c8c8c;
108
+ .es-switch-icon {
109
+ font-size: 14px;
110
+ cursor: pointer;
111
+ }
112
+ }
113
+ }