@ctzy-web-client/plugin-component-vue 1.0.0
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/package.json +43 -0
- package/src/advance-select/advance-operation.vue +44 -0
- package/src/advance-select/advance-option.vue +115 -0
- package/src/advance-select/advance-select.vue +343 -0
- package/src/advance-select/events-helpers.js +40 -0
- package/src/advance-select/index.js +13 -0
- package/src/advance-select/use-advance-option.js +58 -0
- package/src/advance-select/use-advance-select.js +142 -0
- package/src/application-slot/application-slot.js +70 -0
- package/src/application-slot/breadcrumb-item.vue +12 -0
- package/src/application-slot/header-tools-item.vue +12 -0
- package/src/application-slot/index.js +17 -0
- package/src/breadcrumb-select/breadcrumb-select.vue +97 -0
- package/src/breadcrumb-select/index.js +6 -0
- package/src/components.js +39 -0
- package/src/contextmenu/contextmenu-item.vue +13 -0
- package/src/contextmenu/contextmenu.vue +56 -0
- package/src/contextmenu/index.js +11 -0
- package/src/contextmenu/use-contextmenu.js +117 -0
- package/src/data-form/data-form-item.vue +49 -0
- package/src/data-form/data-form.vue +212 -0
- package/src/data-form/dynamic-component.js +24 -0
- package/src/data-form/form-components/Blots/AtBlot.js +32 -0
- package/src/data-form/form-components/bwa-date-picker.vue +43 -0
- package/src/data-form/form-components/bwa-date-time-picker.vue +49 -0
- package/src/data-form/form-components/bwa-input-float.vue +41 -0
- package/src/data-form/form-components/bwa-input-integer.vue +58 -0
- package/src/data-form/form-components/bwa-input.vue +32 -0
- package/src/data-form/form-components/bwa-multi-select.vue +27 -0
- package/src/data-form/form-components/bwa-rich-text-tinymce.vue +561 -0
- package/src/data-form/form-components/bwa-rich-text.vue +395 -0
- package/src/data-form/form-components/bwa-select.vue +67 -0
- package/src/data-form/form-components/bwa-textarea.vue +28 -0
- package/src/data-form/form-components/bwa-upload.vue +145 -0
- package/src/data-form/form-components/bwa-user-multi-select.vue +25 -0
- package/src/data-form/form-components/bwa-user-select.vue +81 -0
- package/src/data-form/index.js +35 -0
- package/src/data-table/data-column-view.vue +131 -0
- package/src/data-table/data-table-card.vue +81 -0
- package/src/data-table/data-table-column.vue +52 -0
- package/src/data-table/data-table.vue +426 -0
- package/src/data-table/dynamic-component.js +58 -0
- package/src/data-table/index.js +13 -0
- package/src/data-table/use-datatable-drag.js +156 -0
- package/src/datatable-settings/datatable-settings.vue +323 -0
- package/src/datatable-settings/index.js +6 -0
- package/src/date-range/date-picker.vue +115 -0
- package/src/date-range/date-range.vue +202 -0
- package/src/date-range/index.js +6 -0
- package/src/drag-list/constants.js +1 -0
- package/src/drag-list/drag-item.vue +46 -0
- package/src/drag-list/drag-list.vue +50 -0
- package/src/drag-list/index.js +6 -0
- package/src/drag-list/use-drag-list.js +209 -0
- package/src/dragable/constants.js +3 -0
- package/src/dragable/dragable-item.vue +19 -0
- package/src/dragable/dragable-operation.vue +28 -0
- package/src/dragable/dragable.vue +26 -0
- package/src/dragable/index.js +14 -0
- package/src/dragable/use-dragable.js +227 -0
- package/src/filter-panel/conditions/condition.js +35 -0
- package/src/filter-panel/conditions/date-range-condition.vue +35 -0
- package/src/filter-panel/conditions/department-condition/data.json +29537 -0
- package/src/filter-panel/conditions/department-condition/department-condition.vue +92 -0
- package/src/filter-panel/conditions/department-condition/department-node.vue +52 -0
- package/src/filter-panel/conditions/index.js +22 -0
- package/src/filter-panel/conditions/input-condition.vue +63 -0
- package/src/filter-panel/conditions/multi-user-condition.vue +56 -0
- package/src/filter-panel/conditions/multiple-menu-condition.vue +45 -0
- package/src/filter-panel/conditions/single-menu-condition.vue +58 -0
- package/src/filter-panel/conditions/single-user-condition.vue +56 -0
- package/src/filter-panel/filter-panel-item.vue +46 -0
- package/src/filter-panel/filter-panel.vue +149 -0
- package/src/filter-panel/index.js +17 -0
- package/src/filter-panel/use-filter-panel-item.js +59 -0
- package/src/filter-panel/use-filter-panel.js +203 -0
- package/src/hooks/use-data/index.js +234 -0
- package/src/index.js +48 -0
- package/src/layout/index.js +6 -0
- package/src/layout/layout.vue +74 -0
- package/src/make-installer.js +36 -0
- package/src/math/Rectangle.js +28 -0
- package/src/menu/index.js +6 -0
- package/src/menu/menu-item.vue +41 -0
- package/src/menu/menu.vue +53 -0
- package/src/panel/index.js +6 -0
- package/src/panel/panel.vue +42 -0
- package/src/panel-tabs/index.js +6 -0
- package/src/panel-tabs/panel-tabs.js +92 -0
- package/src/pct-filter-panel/index.js +10 -0
- package/src/pct-filter-panel/pct-compents/index.js +10 -0
- package/src/pct-filter-panel/pct-compents/pct-Input-condition.vue +63 -0
- package/src/pct-filter-panel/pct-compents/pct-date-range-condition.vue +60 -0
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition.vue +177 -0
- package/src/pct-filter-panel/pct-compents/pct-multiple-menu-condition2.vue +142 -0
- package/src/pct-filter-panel/pct-filter-panel-item.vue +46 -0
- package/src/pct-filter-panel/pct-filter-panel.vue +201 -0
- package/src/pct-filter-panel/use-filter-panel-item.js +61 -0
- package/src/pct-filter-panel/use-filter-panel.js +206 -0
- package/src/plugins.js +3 -0
- package/src/progress/index.js +8 -0
- package/src/progress/progress-item.vue +81 -0
- package/src/progress/progress.vue +58 -0
- package/src/progress/use-progress.js +66 -0
- package/src/utils/db.js +8 -0
- package/src/utils.js +263 -0
- package/src/where-filter-panel/index.js +0 -0
- package/src/where-filter-panel/use-where-filter-panel.js +28 -0
- package/src/where-filter-panel/where-filter-panel.vue +9 -0
- package/style/advance-select.scss +316 -0
- package/style/breadcrumb-select.scss +80 -0
- package/style/common/var.scss +240 -0
- package/style/common.scss +48 -0
- package/style/contextmenu.scss +58 -0
- package/style/data-form.scss +35 -0
- package/style/data-table.scss +81 -0
- package/style/datatable-settings.scss +125 -0
- package/style/date-range.scss +136 -0
- package/style/department-condition.scss +39 -0
- package/style/drag-list.scss +68 -0
- package/style/dragable.scss +8 -0
- package/style/filter-panel.scss +199 -0
- package/style/index.scss +22 -0
- package/style/input-condition.scss +30 -0
- package/style/layout.scss +70 -0
- package/style/menu.scss +184 -0
- package/style/mixins/_var.scss +21 -0
- package/style/mixins/config.scss +4 -0
- package/style/mixins/function.scss +62 -0
- package/style/mixins/mixins.scss +88 -0
- package/style/panel-tabs.scss +60 -0
- package/style/panel.scss +110 -0
- package/style/pct-filter-panel.scss +306 -0
- package/style/progress.scss +122 -0
- package/style/rich-text.scss +30 -0
- package/style/theme/theme.scss +161 -0
- package/style/theme/var.scss +34 -0
- package/style/var.scss +21 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use './common/var' as *;
|
|
2
|
+
@use './mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(panel-tabs) {
|
|
5
|
+
@include set-component-css-var('panel-tabs', $panel-tabs);
|
|
6
|
+
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
height: 100%;
|
|
10
|
+
|
|
11
|
+
.el-tabs__header {
|
|
12
|
+
height: auto;
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
border-bottom: none;
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
|
|
17
|
+
.el-tabs__nav {
|
|
18
|
+
border: none;
|
|
19
|
+
|
|
20
|
+
.el-tabs__item {
|
|
21
|
+
position: relative;
|
|
22
|
+
$item-spacing: getCssVar('panel-tabs', 'item-spacing');
|
|
23
|
+
|
|
24
|
+
margin-bottom: $item-spacing;
|
|
25
|
+
border: none;
|
|
26
|
+
background-color: getCssVar('fill-color', 'blank');
|
|
27
|
+
border-radius: getCssVar('border-radius', 'base');
|
|
28
|
+
min-width: 120px;
|
|
29
|
+
text-align: center;;
|
|
30
|
+
|
|
31
|
+
+ .el-tabs__item {
|
|
32
|
+
margin-left: $item-spacing;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-active {
|
|
36
|
+
border-bottom-left-radius: 0%;
|
|
37
|
+
border-bottom-right-radius: 0%;
|
|
38
|
+
|
|
39
|
+
&::after {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: 100%;
|
|
43
|
+
left: 0;
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: $item-spacing;
|
|
46
|
+
background: getCssVar('fill-color', 'blank');
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.el-tabs__content {
|
|
53
|
+
flex: 1;
|
|
54
|
+
height: 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include b(panel-tabs-item) {
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
package/style/panel.scss
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(panel) {
|
|
5
|
+
@include set-component-css-var('panel', $panel);
|
|
6
|
+
$border-color: getCssVar('panel', 'border-color');
|
|
7
|
+
|
|
8
|
+
height: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
background: getCssVar('panel', 'bg-color');
|
|
12
|
+
border-radius: getCssVar('border-radius-base');
|
|
13
|
+
|
|
14
|
+
@include e(header) {
|
|
15
|
+
$header-line-height: getCssVar('panel', 'header-line-height');
|
|
16
|
+
|
|
17
|
+
height: getCssVar('panel', 'header-height');
|
|
18
|
+
line-height: $header-line-height;
|
|
19
|
+
padding: getCssVar('panel', 'header-padding');
|
|
20
|
+
border-bottom: 1px solid $border-color;
|
|
21
|
+
|
|
22
|
+
.el-breadcrumb {
|
|
23
|
+
line-height: $header-line-height;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
|
|
26
|
+
&__inner {
|
|
27
|
+
color: getCssVar('text-color', 'regular');
|
|
28
|
+
|
|
29
|
+
a,
|
|
30
|
+
&.is-link {
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__item:last-child {
|
|
36
|
+
.el-breadcrumb__inner {
|
|
37
|
+
color: getCssVar('text-color', 'primary');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include e(tools) {
|
|
44
|
+
border-bottom: 1px solid $border-color;
|
|
45
|
+
padding: getCssVar('panel', 'tools-padding') 0px getCssVar('panel', 'tools-padding') getCssVar('panel', 'tools-padding');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include e(body) {
|
|
49
|
+
flex: 1;
|
|
50
|
+
height: 0;
|
|
51
|
+
padding: getCssVar('panel', 'body-padding');
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include e(footer) {
|
|
56
|
+
padding: getCssVar('panel', 'footer-padding');
|
|
57
|
+
border-top: 1px solid $border-color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// .#{$namespace}-panel {
|
|
62
|
+
// height: 100%;
|
|
63
|
+
// display: flex;
|
|
64
|
+
// flex-direction: column;
|
|
65
|
+
// background: white;
|
|
66
|
+
// border-radius: 4px;
|
|
67
|
+
|
|
68
|
+
// &__header {
|
|
69
|
+
// height: 48px;
|
|
70
|
+
// line-height: 48px;
|
|
71
|
+
// border-bottom: 1px solid rgba(234, 238, 239, 1);
|
|
72
|
+
// padding: 0 20px;
|
|
73
|
+
|
|
74
|
+
// .el-button {
|
|
75
|
+
// border-radius: 4px;
|
|
76
|
+
// }
|
|
77
|
+
|
|
78
|
+
// .el-breadcrumb {
|
|
79
|
+
// line-height: 48px;
|
|
80
|
+
// font-size: 16px;
|
|
81
|
+
|
|
82
|
+
// &__inner {
|
|
83
|
+
// color: $black-3;
|
|
84
|
+
// }
|
|
85
|
+
|
|
86
|
+
// &__item:last-child {
|
|
87
|
+
// .el-breadcrumb__inner {
|
|
88
|
+
// color: $black-1;
|
|
89
|
+
// }
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
|
|
94
|
+
// &__body {
|
|
95
|
+
// flex: 1;
|
|
96
|
+
// height: 0;
|
|
97
|
+
// padding: 20px;
|
|
98
|
+
// box-sizing: border-box;
|
|
99
|
+
// }
|
|
100
|
+
|
|
101
|
+
// &__tools {
|
|
102
|
+
// padding: 20px;
|
|
103
|
+
// border-bottom: 1px solid rgba(234, 238, 239, 1);
|
|
104
|
+
// }
|
|
105
|
+
|
|
106
|
+
// &__footer {
|
|
107
|
+
// padding: 20px;
|
|
108
|
+
// border-top: 1px solid rgba(234, 238, 239, 1);
|
|
109
|
+
// }
|
|
110
|
+
// }
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(pctfilterpanel) {
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
line-height: 22px;
|
|
7
|
+
color: getCssVar('text-color', 'primary');
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-top: -15px;
|
|
12
|
+
|
|
13
|
+
@include e(input) {
|
|
14
|
+
flex: auto;
|
|
15
|
+
.el-input__wrapper {
|
|
16
|
+
padding: 3px 7px;
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@include e(search) {
|
|
21
|
+
flex: 1;
|
|
22
|
+
height: 32px;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
margin: 16px 0px 0 0;
|
|
25
|
+
.el-input__wrapper {
|
|
26
|
+
padding: 3px 7px;
|
|
27
|
+
border-radius: 4px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@include e(options) {
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include e(reset) {
|
|
36
|
+
width: 60px;
|
|
37
|
+
height: 32px;
|
|
38
|
+
--el-button-size: 28px;
|
|
39
|
+
margin-top: 16px;
|
|
40
|
+
margin-right: 16px;
|
|
41
|
+
margin-left: 0px !important;
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
line-height: 32px;
|
|
44
|
+
}
|
|
45
|
+
@include e(filterBut) {
|
|
46
|
+
height: 32px;
|
|
47
|
+
--el-button-size: 28px;
|
|
48
|
+
&:hover {
|
|
49
|
+
.bwa-pctfilterpanel-filter__plus::after, .bwa-pctfilterpanel-filter__plus::before {
|
|
50
|
+
background-color: #38C4FF;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@include e(title) {
|
|
55
|
+
color: #24515D;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
padding-right: 8px;
|
|
58
|
+
padding-top: 16px;
|
|
59
|
+
width: 86px;
|
|
60
|
+
text-align: left;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@include b(pctfilterpanel-item) {
|
|
65
|
+
display: inline-block;
|
|
66
|
+
position: relative;
|
|
67
|
+
padding-right: 20px;
|
|
68
|
+
margin-top: 16px;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
|
|
71
|
+
@include e(close) {
|
|
72
|
+
position: absolute;
|
|
73
|
+
right: 0;
|
|
74
|
+
top: 0;
|
|
75
|
+
display: none;
|
|
76
|
+
font-size: 16px;
|
|
77
|
+
opacity: 0.6;
|
|
78
|
+
transform: translate(-50%, -50%);
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
|
|
81
|
+
@include pseudo(hover) {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include pseudo(hover) {
|
|
87
|
+
@include e(close) {
|
|
88
|
+
display: inline;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@include e(conditbox) {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
width: 100%;
|
|
96
|
+
}
|
|
97
|
+
@include e(title) {
|
|
98
|
+
color: #24515D;
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
padding-right: 8px;
|
|
101
|
+
width: 86px;
|
|
102
|
+
text-align: left;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include e(multiple) {
|
|
106
|
+
.el-input__wrapper {
|
|
107
|
+
padding: 3px 7px;
|
|
108
|
+
border-radius: 4px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@include e(content) {
|
|
112
|
+
flex: auto;
|
|
113
|
+
height: 32px;
|
|
114
|
+
border: 1px solid #dcdcdc;
|
|
115
|
+
border-radius: 4px;
|
|
116
|
+
font-size: 14px;
|
|
117
|
+
line-height: 26px;
|
|
118
|
+
padding: 0 6px;
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
color: #a8abb2;
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
}
|
|
125
|
+
@include e(contentTop) {
|
|
126
|
+
margin: 4px 2px;
|
|
127
|
+
}
|
|
128
|
+
@include e(select) {
|
|
129
|
+
.el-input__wrapper {
|
|
130
|
+
border-radius: 4px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@include e(clear) {
|
|
134
|
+
height: 32px;
|
|
135
|
+
line-height: 32px;
|
|
136
|
+
text-align: center;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
color: #38C4FF;
|
|
139
|
+
border: 1px solid #EAEEEF;
|
|
140
|
+
border-radius: 4px;
|
|
141
|
+
margin: 0 2px;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@include e(tag) {
|
|
146
|
+
margin-right: 6px;
|
|
147
|
+
height: 20px;
|
|
148
|
+
max-width: 80px;
|
|
149
|
+
.el-tag__content{
|
|
150
|
+
max-width: 100px;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
text-overflow: ellipsis;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
@include e(tag_box) {
|
|
157
|
+
max-width: 600px;
|
|
158
|
+
padding-top: 6px;
|
|
159
|
+
}
|
|
160
|
+
@include e(tag_details) {
|
|
161
|
+
margin-right: 6px;
|
|
162
|
+
height: 20px;
|
|
163
|
+
margin-bottom: 6px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@include e(contentBox) {
|
|
167
|
+
flex: auto;
|
|
168
|
+
width: 100px;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
text-overflow: ellipsis;
|
|
171
|
+
white-space: nowrap;
|
|
172
|
+
}
|
|
173
|
+
@include e(options) {
|
|
174
|
+
flex: auto;
|
|
175
|
+
}
|
|
176
|
+
@include e(contentBox_placeholder) {
|
|
177
|
+
color: #b0c0c5;
|
|
178
|
+
}
|
|
179
|
+
@include e(contentBox_label) {
|
|
180
|
+
color: #547781;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@include b(pctfilterpanel-filter) {
|
|
185
|
+
@include e(plus) {
|
|
186
|
+
position: relative;
|
|
187
|
+
width: 10px;
|
|
188
|
+
height: 10px;
|
|
189
|
+
&::before,
|
|
190
|
+
&::after {
|
|
191
|
+
content: '';
|
|
192
|
+
position: absolute;
|
|
193
|
+
width: 100%;
|
|
194
|
+
height: 1px;
|
|
195
|
+
left: 50%;
|
|
196
|
+
top: 50%;
|
|
197
|
+
transform: translate(-50%, -50%);
|
|
198
|
+
background-color: #24515D;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&::after {
|
|
202
|
+
transform: translate(-50%, -50%) rotate(90deg);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@include e(label) {
|
|
207
|
+
margin-left: 4px;
|
|
208
|
+
font-size: 14px;
|
|
209
|
+
line-height: 32px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@include e(option) {
|
|
213
|
+
.bwa-advance-option__content {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
justify-content: space-between;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@include e(checkbox) {
|
|
221
|
+
display: inline-flex;
|
|
222
|
+
height: auto;
|
|
223
|
+
flex: 1;
|
|
224
|
+
width: 0;
|
|
225
|
+
|
|
226
|
+
.el-checkbox__label {
|
|
227
|
+
flex: 1;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
white-space: nowrap;
|
|
230
|
+
text-overflow: ellipsis;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@include e(title) {
|
|
235
|
+
font-size: 14px;
|
|
236
|
+
line-height: 20px;
|
|
237
|
+
color: getCssVar('text-color', 'regular');
|
|
238
|
+
width: 86px;
|
|
239
|
+
text-align: left;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
@include b(pct-input) {
|
|
245
|
+
@include e(inputCon) {
|
|
246
|
+
display: flex;
|
|
247
|
+
align-items: center;
|
|
248
|
+
}
|
|
249
|
+
@include e(title) {
|
|
250
|
+
color: #24515D;
|
|
251
|
+
width: 86px;
|
|
252
|
+
text-align: left;
|
|
253
|
+
font-size: 14px;
|
|
254
|
+
padding-right: 8px;
|
|
255
|
+
}
|
|
256
|
+
@include e(search) {
|
|
257
|
+
flex: 1;
|
|
258
|
+
height: 32px;
|
|
259
|
+
font-size: 14px;
|
|
260
|
+
.el-input__wrapper {
|
|
261
|
+
padding: 3px 7px;
|
|
262
|
+
border-radius: 4px;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@include b(pct-daterange) {
|
|
268
|
+
@include e(cont) {
|
|
269
|
+
display: flex;
|
|
270
|
+
align-items: center;
|
|
271
|
+
font-size: 14px;
|
|
272
|
+
}
|
|
273
|
+
@include e(label) {
|
|
274
|
+
color: #24515D;
|
|
275
|
+
padding-right: 8px;
|
|
276
|
+
width: 86px;
|
|
277
|
+
text-align: left;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@include e(cont-r) {
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
flex: 1;
|
|
284
|
+
height: 32px;
|
|
285
|
+
border: 1px solid #dcdcdc;
|
|
286
|
+
border-radius: 4px;
|
|
287
|
+
font-size: 14px;
|
|
288
|
+
line-height: 26px;
|
|
289
|
+
padding: 0 6px;
|
|
290
|
+
box-sizing: border-box;
|
|
291
|
+
color: #a8abb2;
|
|
292
|
+
display: flex;
|
|
293
|
+
justify-content: space-between;
|
|
294
|
+
}
|
|
295
|
+
@include e(SortDown) {
|
|
296
|
+
transform: rotate(-90deg);
|
|
297
|
+
}
|
|
298
|
+
@include e(content) {
|
|
299
|
+
flex: auto;
|
|
300
|
+
width: 50px;
|
|
301
|
+
//text-align: center;
|
|
302
|
+
overflow: hidden;
|
|
303
|
+
text-overflow: ellipsis;
|
|
304
|
+
white-space: nowrap;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use 'common/var' as *;
|
|
3
|
+
@use 'mixins/mixins' as *;
|
|
4
|
+
|
|
5
|
+
// $height: 8px;
|
|
6
|
+
|
|
7
|
+
@include b(progress) {
|
|
8
|
+
@include set-component-css-var('progress', $progress);
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
|
|
12
|
+
@include e(inner) {
|
|
13
|
+
$height: getCssVar('progress', 'height');
|
|
14
|
+
height: $height;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1;
|
|
17
|
+
border-radius: calc($height / 2);
|
|
18
|
+
background-color: var(
|
|
19
|
+
#{getCssVarName('progress', 'color')},
|
|
20
|
+
getCssVar('progress', 'default-color')
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include e(percent) {
|
|
25
|
+
margin-left: getCssVarName('progress', 'percent-margin-left');
|
|
26
|
+
color: getCssVar('progress', 'percent-color');
|
|
27
|
+
width: var(
|
|
28
|
+
#{getCssVarName('progress', 'color')},
|
|
29
|
+
getCssVar('progress', 'default-percent-width')
|
|
30
|
+
);
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include b(progress-info__wrapper) {
|
|
36
|
+
@include set-component-css-var('progress', $progress);
|
|
37
|
+
min-width: 100px;
|
|
38
|
+
}
|
|
39
|
+
@include b(progress-item) {
|
|
40
|
+
@include e(info) {
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
color: getCssVar('progress-info', 'item', 'text-color');
|
|
44
|
+
margin: getCssVar('progress-info', 'item', 'margin');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include e(label) {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
&::before {
|
|
51
|
+
$size: getCssVar('progress-info-item', 'dot', 'size');
|
|
52
|
+
content: '';
|
|
53
|
+
display: inline-block;
|
|
54
|
+
margin-right: getCssVar('progress-info-item', 'dot', 'margin-right');
|
|
55
|
+
width: $size;
|
|
56
|
+
height: $size;
|
|
57
|
+
background-color: var(#{getCssVarName('progress-item', 'dot-color')});
|
|
58
|
+
border-radius: getCssVar('progress-info-item', 'dot', 'border-radius');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include b('progress-item') {
|
|
64
|
+
border-radius: calc(getCssVar('progress', 'height') / 2);
|
|
65
|
+
background-color: var(#{getCssVarName('progress-item', 'color')});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// .#{$namespace}-progress {
|
|
69
|
+
// display: flex;
|
|
70
|
+
// align-items: center;
|
|
71
|
+
|
|
72
|
+
// &__inner {
|
|
73
|
+
// height: $height;
|
|
74
|
+
// display: flex;
|
|
75
|
+
// flex: 1;
|
|
76
|
+
// border-radius: math.div($height, 2);
|
|
77
|
+
// background-color: var(--bwa-progress-color, #eaeeef);
|
|
78
|
+
|
|
79
|
+
// @at-root {
|
|
80
|
+
// .#{$namespace}-progress-info__wrapper {
|
|
81
|
+
// min-width: 100px;
|
|
82
|
+
// }
|
|
83
|
+
// }
|
|
84
|
+
// }
|
|
85
|
+
|
|
86
|
+
// &__percent {
|
|
87
|
+
// margin-left: 8px;
|
|
88
|
+
// color: var.$black-3;
|
|
89
|
+
// width: var(--bwa-progress-label-width, 'auto');
|
|
90
|
+
// text-align: center;
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
|
|
94
|
+
// .#{$namespace}-progress-item {
|
|
95
|
+
// border-radius: math.div($height, 2);
|
|
96
|
+
// background-color: var(--bwa-progress-item-color);
|
|
97
|
+
|
|
98
|
+
// @at-root {
|
|
99
|
+
// &__info {
|
|
100
|
+
// display: flex;
|
|
101
|
+
// justify-content: space-between;
|
|
102
|
+
|
|
103
|
+
// color: var.$black-1;
|
|
104
|
+
|
|
105
|
+
// margin: 3px 0;
|
|
106
|
+
// }
|
|
107
|
+
|
|
108
|
+
// &__label {
|
|
109
|
+
// display: flex;
|
|
110
|
+
// align-items: center;
|
|
111
|
+
// &::before {
|
|
112
|
+
// content: '';
|
|
113
|
+
// display: inline-block;
|
|
114
|
+
// margin-right: 4px;
|
|
115
|
+
// width: 6px;
|
|
116
|
+
// height: 6px;
|
|
117
|
+
// background-color: var(--bwa-progress-item-dot-color);
|
|
118
|
+
// border-radius: 50%;
|
|
119
|
+
// }
|
|
120
|
+
// }
|
|
121
|
+
// }
|
|
122
|
+
// }
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
4
|
+
@include b(rich-text) {
|
|
5
|
+
line-height: normal;
|
|
6
|
+
|
|
7
|
+
button.ql-at::after {
|
|
8
|
+
content: '@';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@include e(editor) {
|
|
12
|
+
min-height: 300px;
|
|
13
|
+
|
|
14
|
+
// .bwa-at-person {
|
|
15
|
+
// color: var(--bwa-color-primary);
|
|
16
|
+
// font-weight: bold;
|
|
17
|
+
// }
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// @at-root {
|
|
21
|
+
// @include e(at-list) {
|
|
22
|
+
// position: fixed;
|
|
23
|
+
// left: var(--left);
|
|
24
|
+
// top: var(--top);
|
|
25
|
+
// width: 190px;
|
|
26
|
+
// max-height: 240px;
|
|
27
|
+
// background: red;
|
|
28
|
+
// }
|
|
29
|
+
// }
|
|
30
|
+
}
|