hbte-saas-ui 0.0.2 → 1.0.2
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 +8 -1
- package/lib/hbte-ui.common.js +31 -10
- package/lib/hbte-ui.umd.js +31 -10
- package/lib/hbte-ui.umd.min.js +1 -1
- package/package.json +8 -2
- package/.browserslistrc +0 -3
- package/.editorconfig +0 -7
- package/.env.development +0 -1
- package/.env.lib +0 -1
- package/.eslintrc.js +0 -14
- package/.prettierrc +0 -3
- package/babel.config.js +0 -3
- package/docs/.vuepress/config.js +0 -23
- package/docs/.vuepress/styles/index.styl +0 -4
- package/docs/AdvQuery.md +0 -26
- package/docs/CustomQuery.md +0 -21
- package/docs/EditArea.md +0 -16
- package/docs/FilterDrop.md +0 -29
- package/docs/FullTable.md +0 -68
- package/docs/Pagination.md +0 -22
- package/docs/QueryForm.md +0 -27
- package/docs/README.md +0 -17
- package/docs/Table.md +0 -58
- package/docs/ToolGroup.md +0 -32
- package/examples/App.vue +0 -97
- package/examples/image/hb-image-viewer/3k.jpg +0 -0
- package/examples/image/hb-image-viewer/a.jpg +0 -0
- package/examples/image/hb-image-viewer/b.jpg +0 -0
- package/examples/main.js +0 -39
- package/examples/mock/authority.js +0 -1108
- package/examples/mock/dept.js +0 -4001
- package/examples/mock/fulltable.js +0 -407
- package/examples/mock/organizeData.js +0 -18965
- package/examples/router/index.js +0 -111
- package/examples/views/ElementCpTest.vue +0 -299
- package/examples/views/Fragment.vue +0 -196
- package/examples/views/HBAdvQuery.vue +0 -150
- package/examples/views/HBAuthority.vue +0 -339
- package/examples/views/HBDialog.vue +0 -39
- package/examples/views/HBEditarea.vue +0 -350
- package/examples/views/HBFilterDrop.vue +0 -72
- package/examples/views/HBFloatFooter.vue +0 -42
- package/examples/views/HBFullTable.vue +0 -751
- package/examples/views/HBImageViewer.vue +0 -57
- package/examples/views/HBNavMenu.vue +0 -37
- package/examples/views/HBOrganizeDialog.vue +0 -133
- package/examples/views/HBPagination.vue +0 -80
- package/examples/views/HBSelectVague.vue +0 -57
- package/examples/views/HBToolgroup.vue +0 -29
- package/examples/views/HBTopBar.vue +0 -16
- package/packages/adv-query/index.js +0 -5
- package/packages/adv-query/src/main.vue +0 -294
- package/packages/area-select/index.js +0 -7
- package/packages/area-select/src/main.vue +0 -37
- package/packages/authority/index.js +0 -5
- package/packages/authority/src/main.vue +0 -606
- package/packages/config.js +0 -3
- package/packages/custom-query/index.js +0 -5
- package/packages/custom-query/src/main.vue +0 -80
- package/packages/dialog/index.js +0 -7
- package/packages/dialog/src/main.vue +0 -176
- package/packages/edit-area/index.js +0 -13
- package/packages/edit-area/src/config.js +0 -3
- package/packages/edit-area/src/main.vue +0 -304
- package/packages/edit-area/src/simulateEvent.js +0 -219
- package/packages/filter-drop/index.js +0 -6
- package/packages/filter-drop/src/main.vue +0 -107
- package/packages/float-footer/index.js +0 -7
- package/packages/float-footer/src/main.vue +0 -40
- package/packages/fragment/index.js +0 -7
- package/packages/fragment/src/main.vue +0 -74
- package/packages/fragment/src/old.vue +0 -144
- package/packages/full-table/index.js +0 -6
- package/packages/full-table/src/config.js +0 -14
- package/packages/full-table/src/main.vue +0 -141
- package/packages/image-viewer/index.js +0 -8
- package/packages/image-viewer/src/main.js +0 -14
- package/packages/image-viewer/src/main.vue +0 -138
- package/packages/image-viewer/src/svg/cancel.svg +0 -2
- package/packages/image-viewer/src/svg/delete.svg +0 -2
- package/packages/image-viewer/src/svg/download.svg +0 -2
- package/packages/image-viewer/src/svg/rotate.svg +0 -77
- package/packages/image-viewer/src/svg/scaledown.svg +0 -71
- package/packages/image-viewer/src/svg/scaleup.svg +0 -72
- package/packages/index.js +0 -43
- package/packages/nav-menu/index.js +0 -7
- package/packages/nav-menu/src/main.vue +0 -277
- package/packages/organize-dialog/index.js +0 -5
- package/packages/organize-dialog/src/main.vue +0 -427
- package/packages/pagination/index.js +0 -6
- package/packages/pagination/src/main.vue +0 -146
- package/packages/query-form/index.js +0 -5
- package/packages/query-form/src/main.vue +0 -142
- package/packages/select-vague/index.js +0 -5
- package/packages/select-vague/src/main.vue +0 -80
- package/packages/table/index.js +0 -5
- package/packages/table/src/main.vue +0 -265
- package/packages/theme-chalk/adv-query.scss +0 -107
- package/packages/theme-chalk/authority.scss +0 -103
- package/packages/theme-chalk/common/elementCover.scss +0 -722
- package/packages/theme-chalk/common/flex.scss +0 -66
- package/packages/theme-chalk/common/global.scss +0 -147
- package/packages/theme-chalk/common/reset.scss +0 -92
- package/packages/theme-chalk/common/var.scss +0 -46
- package/packages/theme-chalk/custom-query.scss +0 -10
- package/packages/theme-chalk/dialog.scss +0 -9
- package/packages/theme-chalk/edit-area.scss +0 -119
- package/packages/theme-chalk/filter-drop.scss +0 -81
- package/packages/theme-chalk/float-footer.scss +0 -14
- package/packages/theme-chalk/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/fragment.scss +0 -51
- package/packages/theme-chalk/full-table.scss +0 -40
- package/packages/theme-chalk/icon.scss +0 -96
- package/packages/theme-chalk/image-viewer.scss +0 -94
- package/packages/theme-chalk/images/company-logo--default.png +0 -0
- package/packages/theme-chalk/images/nodata.png +0 -0
- package/packages/theme-chalk/images/user-logo--default.png +0 -0
- package/packages/theme-chalk/index.scss +0 -21
- package/packages/theme-chalk/nav-menu.scss +0 -205
- package/packages/theme-chalk/organize-dialog.scss +0 -170
- package/packages/theme-chalk/pagination.scss +0 -91
- package/packages/theme-chalk/select.scss +0 -8
- package/packages/theme-chalk/table.scss +0 -102
- package/packages/theme-chalk/tool-group.scss +0 -105
- package/packages/theme-chalk/top-bar.scss +0 -195
- package/packages/tool-group/index.js +0 -13
- package/packages/tool-group/src/config.js +0 -40
- package/packages/tool-group/src/main.vue +0 -93
- package/packages/top-bar/index.js +0 -7
- package/packages/top-bar/src/main.vue +0 -280
- package/public/index.html +0 -20
- package/vue.config.js +0 -6
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@import "common/var.scss";
|
|
2
|
-
|
|
3
|
-
.hb-advquery {
|
|
4
|
-
// height: 44px;
|
|
5
|
-
&-handles {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-around;
|
|
8
|
-
}
|
|
9
|
-
&__tools {
|
|
10
|
-
flex: 1;
|
|
11
|
-
}
|
|
12
|
-
&-query-btn {
|
|
13
|
-
display: flex;
|
|
14
|
-
padding: 10px 0;
|
|
15
|
-
justify-content: space-around;
|
|
16
|
-
margin-left: 10px;
|
|
17
|
-
:hover,
|
|
18
|
-
:focus {
|
|
19
|
-
border-color: #488af8 !important;
|
|
20
|
-
background-color: #fff !important;
|
|
21
|
-
color: #488af8 !important;
|
|
22
|
-
}
|
|
23
|
-
&__item {
|
|
24
|
-
i {
|
|
25
|
-
font-size: 12px !important;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
&__custom {
|
|
29
|
-
margin-left: 10px;
|
|
30
|
-
margin-right: 10px;
|
|
31
|
-
height: 22px;
|
|
32
|
-
border: 1px solid $defaultBorderColor;
|
|
33
|
-
border-radius: 2px;
|
|
34
|
-
padding: 0 10px;
|
|
35
|
-
font-size: 12px;
|
|
36
|
-
line-height: 22px;
|
|
37
|
-
color: $mainColor;
|
|
38
|
-
background-color: #ffffff;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
&__dropdown-item {
|
|
41
|
-
margin-right: 10px;
|
|
42
|
-
}
|
|
43
|
-
&__handle-btn {
|
|
44
|
-
float: right;
|
|
45
|
-
padding-top: 8px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
&-form {
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
background-color: #fff;
|
|
52
|
-
border: 1px solid #eee;
|
|
53
|
-
max-height: 0;
|
|
54
|
-
// display: none;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
&__content {
|
|
57
|
-
padding: 20px 20px 0 20px;
|
|
58
|
-
}
|
|
59
|
-
&__row {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-wrap: wrap;
|
|
62
|
-
justify-content: flex-start;
|
|
63
|
-
// :before {
|
|
64
|
-
// display: none;
|
|
65
|
-
// }
|
|
66
|
-
}
|
|
67
|
-
&__item {
|
|
68
|
-
margin-right: 40px;
|
|
69
|
-
width: 280px;
|
|
70
|
-
}
|
|
71
|
-
&-extend {
|
|
72
|
-
margin-bottom: 10px;
|
|
73
|
-
max-height: max-content;
|
|
74
|
-
}
|
|
75
|
-
&-unextend {
|
|
76
|
-
border-width: 0 1px;
|
|
77
|
-
border-color: #eee;
|
|
78
|
-
}
|
|
79
|
-
// .el-input {
|
|
80
|
-
// width: 280px !important;
|
|
81
|
-
// }
|
|
82
|
-
}
|
|
83
|
-
&-search-button {
|
|
84
|
-
line-height: 80px;
|
|
85
|
-
|
|
86
|
-
margin-left: auto;
|
|
87
|
-
margin-right: 10px;
|
|
88
|
-
|
|
89
|
-
&__extend {
|
|
90
|
-
width: 30px;
|
|
91
|
-
padding: 6px !important;
|
|
92
|
-
border-radius: 4px !important;
|
|
93
|
-
}
|
|
94
|
-
&__btn {
|
|
95
|
-
border-radius: 4px !important;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
.el-button.hb-advquery-search-button__btn {
|
|
99
|
-
border-radius: 4px !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.hb-toolgroup {
|
|
103
|
-
&-btn {
|
|
104
|
-
padding: 0 4px 0 24px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@import "common/var.scss";
|
|
2
|
-
|
|
3
|
-
.hb-authority {
|
|
4
|
-
display: flex;
|
|
5
|
-
height: 100%;
|
|
6
|
-
.hb-authority-role-list {
|
|
7
|
-
position: relative;
|
|
8
|
-
background: #fff;
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
width: 200px;
|
|
11
|
-
margin-right: 10px;
|
|
12
|
-
flex-grow: 0;
|
|
13
|
-
padding: 20px 0;
|
|
14
|
-
.title {
|
|
15
|
-
font-size: $titleFontSize;
|
|
16
|
-
padding: 0 0 14px 20px;
|
|
17
|
-
}
|
|
18
|
-
.list {
|
|
19
|
-
overflow: auto;
|
|
20
|
-
height: calc(100% - 70px);
|
|
21
|
-
overflow: auto;
|
|
22
|
-
.active.item {
|
|
23
|
-
background-color: $plainPrimaryBg;
|
|
24
|
-
border-left: 3px solid $primaryBg;
|
|
25
|
-
padding-left: 17px;
|
|
26
|
-
color: $primaryBg;
|
|
27
|
-
}
|
|
28
|
-
.item {
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
height: 34px;
|
|
33
|
-
line-height: 34px;
|
|
34
|
-
padding-left: 20px;
|
|
35
|
-
color: $subColor1;
|
|
36
|
-
&:hover {
|
|
37
|
-
background-color: #f5f7fa;
|
|
38
|
-
}
|
|
39
|
-
.edit {
|
|
40
|
-
padding-right: 8px;
|
|
41
|
-
.el-dropdown-link {
|
|
42
|
-
color: $subColor3;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
p {
|
|
46
|
-
width: 155px;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
text-overflow: ellipsis;
|
|
49
|
-
white-space: nowrap;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.add-role {
|
|
54
|
-
position: absolute;
|
|
55
|
-
bottom: 20px;
|
|
56
|
-
width: 100%;
|
|
57
|
-
text-align: center;
|
|
58
|
-
button {
|
|
59
|
-
width: 140px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.hb-authority-config {
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
position: relative;
|
|
66
|
-
flex-grow: 1;
|
|
67
|
-
background: #fff;
|
|
68
|
-
border-radius: 4px;
|
|
69
|
-
.el-tabs {
|
|
70
|
-
height: 100%;
|
|
71
|
-
.el-tabs__content {
|
|
72
|
-
height: calc(100% - 125px);
|
|
73
|
-
overflow: auto;
|
|
74
|
-
.role-pane {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
.el-tag {
|
|
78
|
-
margin-right: 10px;
|
|
79
|
-
margin-bottom: 10px;
|
|
80
|
-
}
|
|
81
|
-
.el-button {
|
|
82
|
-
font-size: 13px;
|
|
83
|
-
height: 26px;
|
|
84
|
-
margin-bottom: 10px;
|
|
85
|
-
span {
|
|
86
|
-
padding-left: 6px;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
.el-tabs__content {
|
|
93
|
-
.permission-box .el-checkbox__label {
|
|
94
|
-
font-weight: normal;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
.hb-authority-dropdown {
|
|
100
|
-
margin: 0 -20px;
|
|
101
|
-
width: 60px;
|
|
102
|
-
text-align: center;
|
|
103
|
-
}
|