@zkwq/business 0.0.4 → 0.0.6
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 +2 -2
- package/src/components/base/ui/alert/Alert.vue +0 -94
- package/src/components/base/ui/autocomplete/autocomplete-suggestions.vue +0 -77
- package/src/components/base/ui/autocomplete/autocomplete.vue +0 -305
- package/src/components/base/ui/backtop/main.vue +0 -112
- package/src/components/base/ui/button/Button.vue +0 -84
- package/src/components/base/ui/button/ButtonGroup.vue +0 -10
- package/src/components/base/ui/carousel/Carousel.vue +0 -304
- package/src/components/base/ui/carousel/CarouselItem.vue +0 -137
- package/src/components/base/ui/cascader/cascader.vue +0 -650
- package/src/components/base/ui/cascader-panel/cascader-menu.vue +0 -138
- package/src/components/base/ui/cascader-panel/cascader-node.vue +0 -246
- package/src/components/base/ui/cascader-panel/cascader-panel.vue +0 -382
- package/src/components/base/ui/cascader-panel/node.js +0 -166
- package/src/components/base/ui/cascader-panel/store.js +0 -62
- package/src/components/base/ui/checkbox/checkbox-button.vue +0 -199
- package/src/components/base/ui/checkbox/checkbox-group.vue +0 -48
- package/src/components/base/ui/checkbox/checkbox.vue +0 -222
- package/src/components/base/ui/col/col.js +0 -71
- package/src/components/base/ui/collapse/collapse-item.vue +0 -180
- package/src/components/base/ui/collapse/collapse.vue +0 -73
- package/src/components/base/ui/color-picker/color.js +0 -317
- package/src/components/base/ui/color-picker/components/alpha-slider.vue +0 -132
- package/src/components/base/ui/color-picker/components/hue-slider.vue +0 -123
- package/src/components/base/ui/color-picker/components/picker-dropdown.vue +0 -119
- package/src/components/base/ui/color-picker/components/predefine.vue +0 -61
- package/src/components/base/ui/color-picker/components/sv-panel.vue +0 -100
- package/src/components/base/ui/color-picker/draggable.js +0 -36
- package/src/components/base/ui/color-picker/index.js +0 -2
- package/src/components/base/ui/color-picker/main.vue +0 -188
- package/src/components/base/ui/date-picker/basic/date-table.vue +0 -441
- package/src/components/base/ui/date-picker/basic/month-table.vue +0 -254
- package/src/components/base/ui/date-picker/basic/time-spinner.vue +0 -304
- package/src/components/base/ui/date-picker/basic/year-table.vue +0 -101
- package/src/components/base/ui/date-picker/panel/date-range.vue +0 -680
- package/src/components/base/ui/date-picker/panel/date.vue +0 -597
- package/src/components/base/ui/date-picker/panel/month-range.vue +0 -289
- package/src/components/base/ui/date-picker/panel/time-range.vue +0 -248
- package/src/components/base/ui/date-picker/panel/time-select.vue +0 -178
- package/src/components/base/ui/date-picker/panel/time.vue +0 -186
- package/src/components/base/ui/date-picker/picker/date-picker.js +0 -43
- package/src/components/base/ui/date-picker/picker/time-picker.js +0 -39
- package/src/components/base/ui/date-picker/picker/time-select.js +0 -21
- package/src/components/base/ui/date-picker/picker.vue +0 -942
- package/src/components/base/ui/dialog/Index.vue +0 -212
- package/src/components/base/ui/directive/repeat-click.js +0 -24
- package/src/components/base/ui/directive/ripple.js +0 -303
- package/src/components/base/ui/divider/Divider.vue +0 -37
- package/src/components/base/ui/drawer/Drawer.vue +0 -202
- package/src/components/base/ui/dropdown/dropdown-item.vue +0 -39
- package/src/components/base/ui/dropdown/dropdown-menu.vue +0 -63
- package/src/components/base/ui/dropdown/dropdown.vue +0 -308
- package/src/components/base/ui/form/Form.vue +0 -167
- package/src/components/base/ui/form/FormItem.vue +0 -334
- package/src/components/base/ui/form/LabelWrap.vue +0 -69
- package/src/components/base/ui/icon/icon.vue +0 -13
- package/src/components/base/ui/image/image-viewer.vue +0 -302
- package/src/components/base/ui/image/main.vue +0 -248
- package/src/components/base/ui/index.js +0 -189
- package/src/components/base/ui/input/Input.vue +0 -438
- package/src/components/base/ui/input/calcTextareaHeight.js +0 -104
- package/src/components/base/ui/input-number/input-number.vue +0 -285
- package/src/components/base/ui/locale/format.js +0 -32
- package/src/components/base/ui/locale/index.js +0 -48
- package/src/components/base/ui/locale/lang/zh-CN.js +0 -120
- package/src/components/base/ui/menu/menu-item-group.vue +0 -45
- package/src/components/base/ui/menu/menu-item.vue +0 -112
- package/src/components/base/ui/menu/menu-mixin.js +0 -44
- package/src/components/base/ui/menu/menu.vue +0 -312
- package/src/components/base/ui/menu/submenu.vue +0 -408
- package/src/components/base/ui/message/index.js +0 -2
- package/src/components/base/ui/message/main.js +0 -87
- package/src/components/base/ui/message/main.vue +0 -110
- package/src/components/base/ui/message-box/main.js +0 -216
- package/src/components/base/ui/message-box/main.vue +0 -323
- package/src/components/base/ui/mixin/emitter.js +0 -31
- package/src/components/base/ui/mixin/focus.js +0 -9
- package/src/components/base/ui/mixin/locale.js +0 -9
- package/src/components/base/ui/mixin/migrating.js +0 -33
- package/src/components/base/ui/pagination/pager.vue +0 -163
- package/src/components/base/ui/pagination/pagination.jsx +0 -391
- package/src/components/base/ui/popover/directive.js +0 -20
- package/src/components/base/ui/popover/index.js +0 -14
- package/src/components/base/ui/popover/main.vue +0 -236
- package/src/components/base/ui/progress/Progress.vue +0 -227
- package/src/components/base/ui/radio/radio-button.vue +0 -114
- package/src/components/base/ui/radio/radio-group.vue +0 -111
- package/src/components/base/ui/radio/radio.vue +0 -134
- package/src/components/base/ui/row/row.js +0 -47
- package/src/components/base/ui/scrollbar/bar.jsx +0 -91
- package/src/components/base/ui/scrollbar/index.jsx +0 -203
- package/src/components/base/ui/scrollbar/util.js +0 -32
- package/src/components/base/ui/select/Option.vue +0 -168
- package/src/components/base/ui/select/OptionGroup.vue +0 -60
- package/src/components/base/ui/select/Select.vue +0 -920
- package/src/components/base/ui/select/SelectDropdown.vue +0 -74
- package/src/components/base/ui/select/navigation-mixin.js +0 -54
- package/src/components/base/ui/skeleton/index.js +0 -8
- package/src/components/base/ui/skeleton/src/img-placeholder.vue +0 -16
- package/src/components/base/ui/skeleton/src/index.vue +0 -80
- package/src/components/base/ui/skeleton/src/item.vue +0 -22
- package/src/components/base/ui/skeleton-item/index.js +0 -8
- package/src/components/base/ui/slider/button.vue +0 -238
- package/src/components/base/ui/slider/main.vue +0 -427
- package/src/components/base/ui/slider/marker.js +0 -18
- package/src/components/base/ui/style/alert.scss +0 -147
- package/src/components/base/ui/style/animations.scss +0 -65
- package/src/components/base/ui/style/autocomplete.scss +0 -81
- package/src/components/base/ui/style/backtop.scss +0 -20
- package/src/components/base/ui/style/button-group.scss +0 -0
- package/src/components/base/ui/style/button.scss +0 -380
- package/src/components/base/ui/style/carousel-item.scss +0 -50
- package/src/components/base/ui/style/carousel.scss +0 -161
- package/src/components/base/ui/style/cascader-panel.scss +0 -120
- package/src/components/base/ui/style/cascader.scss +0 -185
- package/src/components/base/ui/style/checkbox-button.scss +0 -0
- package/src/components/base/ui/style/checkbox-group.scss +0 -0
- package/src/components/base/ui/style/checkbox.scss +0 -360
- package/src/components/base/ui/style/col.scss +0 -156
- package/src/components/base/ui/style/collapse-item.scss +0 -0
- package/src/components/base/ui/style/collapse.scss +0 -114
- package/src/components/base/ui/style/color-picker.scss +0 -387
- package/src/components/base/ui/style/config.scss +0 -4
- package/src/components/base/ui/style/date-picker/date-picker.scss +0 -97
- package/src/components/base/ui/style/date-picker/date-range-picker.scss +0 -101
- package/src/components/base/ui/style/date-picker/date-table.scss +0 -151
- package/src/components/base/ui/style/date-picker/month-table.scss +0 -82
- package/src/components/base/ui/style/date-picker/picker-panel.scss +0 -117
- package/src/components/base/ui/style/date-picker/picker.scss +0 -197
- package/src/components/base/ui/style/date-picker/time-picker.scss +0 -85
- package/src/components/base/ui/style/date-picker/time-range-picker.scss +0 -31
- package/src/components/base/ui/style/date-picker/time-spinner.scss +0 -110
- package/src/components/base/ui/style/date-picker/year-table.scss +0 -51
- package/src/components/base/ui/style/date-picker.scss +0 -12
- package/src/components/base/ui/style/dialog.scss +0 -123
- package/src/components/base/ui/style/divider.scss +0 -47
- package/src/components/base/ui/style/drawer.scss +0 -218
- package/src/components/base/ui/style/dropdown-item.scss +0 -0
- package/src/components/base/ui/style/dropdown-menu.scss +0 -0
- package/src/components/base/ui/style/dropdown.scss +0 -185
- package/src/components/base/ui/style/form-item.scss +0 -0
- package/src/components/base/ui/style/form.scss +0 -203
- package/src/components/base/ui/style/function.scss +0 -43
- package/src/components/base/ui/style/icon.scss +0 -1167
- package/src/components/base/ui/style/image.scss +0 -184
- package/src/components/base/ui/style/index.scss +0 -57
- package/src/components/base/ui/style/input-number.scss +0 -187
- package/src/components/base/ui/style/input.scss +0 -477
- package/src/components/base/ui/style/menu-item-group.scss +0 -0
- package/src/components/base/ui/style/menu-item.scss +0 -0
- package/src/components/base/ui/style/menu.scss +0 -294
- package/src/components/base/ui/style/message-box.scss +0 -231
- package/src/components/base/ui/style/message.scss +0 -120
- package/src/components/base/ui/style/mixins.scss +0 -196
- package/src/components/base/ui/style/option-group.scss +0 -42
- package/src/components/base/ui/style/option.scss +0 -36
- package/src/components/base/ui/style/pagination.scss +0 -295
- package/src/components/base/ui/style/popover.scss +0 -40
- package/src/components/base/ui/style/popper.scss +0 -102
- package/src/components/base/ui/style/popup.scss +0 -42
- package/src/components/base/ui/style/progress.scss +0 -141
- package/src/components/base/ui/style/radio-button.scss +0 -113
- package/src/components/base/ui/style/radio-group.scss +0 -9
- package/src/components/base/ui/style/radio.scss +0 -203
- package/src/components/base/ui/style/ripple.scss +0 -35
- package/src/components/base/ui/style/row.scss +0 -39
- package/src/components/base/ui/style/scrollbar.scss +0 -75
- package/src/components/base/ui/style/select-dropdown.scss +0 -59
- package/src/components/base/ui/style/select.scss +0 -154
- package/src/components/base/ui/style/skeleton-item.scss +0 -84
- package/src/components/base/ui/style/skeleton.scss +0 -40
- package/src/components/base/ui/style/slider.scss +0 -250
- package/src/components/base/ui/style/switch.scss +0 -116
- package/src/components/base/ui/style/tabs.scss +0 -602
- package/src/components/base/ui/style/tag.scss +0 -174
- package/src/components/base/ui/style/tooltip.scss +0 -146
- package/src/components/base/ui/style/transition.scss +0 -138
- package/src/components/base/ui/style/upload.scss +0 -603
- package/src/components/base/ui/style/utils.scss +0 -39
- package/src/components/base/ui/style/var.scss +0 -1011
- package/src/components/base/ui/switch/index.vue +0 -174
- package/src/components/base/ui/tabs/tab-bar.vue +0 -57
- package/src/components/base/ui/tabs/tab-nav.vue +0 -294
- package/src/components/base/ui/tabs/tab-pane.vue +0 -56
- package/src/components/base/ui/tabs/tabs.vue +0 -191
- package/src/components/base/ui/tag/Tag.vue +0 -60
- package/src/components/base/ui/tooltip/tooltip.jsx +0 -234
- package/src/components/base/ui/upload/Index.vue +0 -340
- package/src/components/base/ui/upload/Upload.vue +0 -216
- package/src/components/base/ui/upload/UploadDragger.vue +0 -70
- package/src/components/base/ui/upload/UploadList.vue +0 -100
- package/src/components/base/ui/upload/ajax.js +0 -85
- package/src/components/base/ui/util/aria-dialog.js +0 -90
- package/src/components/base/ui/util/aria-utils.js +0 -122
- package/src/components/base/ui/util/clickoutside.js +0 -76
- package/src/components/base/ui/util/date-util.js +0 -292
- package/src/components/base/ui/util/date.js +0 -355
- package/src/components/base/ui/util/debounce.js +0 -21
- package/src/components/base/ui/util/deepmerge.js +0 -100
- package/src/components/base/ui/util/dom.js +0 -215
- package/src/components/base/ui/util/index.js +0 -262
- package/src/components/base/ui/util/menu/aria-menubar.js +0 -14
- package/src/components/base/ui/util/menu/aria-menuitem.js +0 -49
- package/src/components/base/ui/util/menu/aria-submenu.js +0 -59
- package/src/components/base/ui/util/merge.js +0 -14
- package/src/components/base/ui/util/popper.js +0 -1235
- package/src/components/base/ui/util/popup/index.js +0 -218
- package/src/components/base/ui/util/popup/popup-manager.js +0 -194
- package/src/components/base/ui/util/resize-events.js +0 -32
- package/src/components/base/ui/util/scroll-into-view.js +0 -27
- package/src/components/base/ui/util/scrollbar-width.js +0 -29
- package/src/components/base/ui/util/shared.js +0 -7
- package/src/components/base/ui/util/throttle.js +0 -91
- package/src/components/base/ui/util/types.js +0 -24
- package/src/components/base/ui/util/vdom.js +0 -5
- package/src/components/base/ui/util/vue-popper.js +0 -188
- package/src/components/normal/AggsItemH.vue +0 -145
- package/src/index.js +0 -10
- package/src/static/base-icons.ttf +0 -0
- package/src/static/base-icons.woff +0 -0
- package/src/static/label_bg.png +0 -0
- package/src/static/term-label-bg.png +0 -0
- package/src/style/app-article.scss +0 -698
- package/src/style/app-comment.scss +0 -259
- package/src/style/app-recommend.scss +0 -48
- package/src/style/app-richtext.scss +0 -176
- package/src/style/index.scss +0 -523
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
@import "../mixins";
|
|
2
|
-
@import "../var";
|
|
3
|
-
@import "../transition";
|
|
4
|
-
|
|
5
|
-
@include b(date-editor) {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: inline-block;
|
|
8
|
-
text-align: left;
|
|
9
|
-
|
|
10
|
-
&.base-input,
|
|
11
|
-
&.base-input__inner {
|
|
12
|
-
width: 220px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include m((monthrange)) {
|
|
16
|
-
&.base-input,
|
|
17
|
-
&.base-input__inner {
|
|
18
|
-
width: 300px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@include m((daterange, timerange)) {
|
|
23
|
-
&.base-input,
|
|
24
|
-
&.base-input__inner {
|
|
25
|
-
width: 350px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@include m(datetimerange) {
|
|
30
|
-
&.base-input,
|
|
31
|
-
&.base-input__inner {
|
|
32
|
-
width: 400px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@include m(dates) {
|
|
37
|
-
.base-input__inner {
|
|
38
|
-
text-overflow: ellipsis;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.base-icon-circle-close {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.base-range__icon {
|
|
48
|
-
font-size: 14px;
|
|
49
|
-
margin-left: -5px;
|
|
50
|
-
color: $--color-text-placeholder;
|
|
51
|
-
float: left;
|
|
52
|
-
line-height: 32px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.base-range-input {
|
|
56
|
-
appearance: none;
|
|
57
|
-
border: none;
|
|
58
|
-
outline: none;
|
|
59
|
-
display: inline-block;
|
|
60
|
-
height: 100%;
|
|
61
|
-
margin: 0;
|
|
62
|
-
padding: 0;
|
|
63
|
-
width: 39%;
|
|
64
|
-
text-align: center;
|
|
65
|
-
font-size: $--font-size-base;
|
|
66
|
-
color: $--color-text-regular;
|
|
67
|
-
|
|
68
|
-
&::placeholder {
|
|
69
|
-
color: $--color-text-placeholder;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.base-range-separator {
|
|
74
|
-
display: inline-block;
|
|
75
|
-
height: 100%;
|
|
76
|
-
padding: 0 5px;
|
|
77
|
-
margin: 0;
|
|
78
|
-
text-align: center;
|
|
79
|
-
line-height: 32px;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
width: 5%;
|
|
82
|
-
color: $--color-text-primary;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.base-range__close-icon {
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
color: $--color-text-placeholder;
|
|
88
|
-
width: 25px;
|
|
89
|
-
display: inline-block;
|
|
90
|
-
float: right;
|
|
91
|
-
line-height: 32px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@include b(range-editor) {
|
|
96
|
-
&.base-input__inner {
|
|
97
|
-
display: inline-flex;
|
|
98
|
-
align-items: center;
|
|
99
|
-
padding: 3px 10px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.base-range-input {
|
|
103
|
-
line-height: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@include when(active) {
|
|
107
|
-
border-color: $--color-primary;
|
|
108
|
-
|
|
109
|
-
&:hover {
|
|
110
|
-
border-color: $--color-primary;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@include m(medium) {
|
|
115
|
-
&.base-input__inner {
|
|
116
|
-
height: $--input-medium-height;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.base-range-separator {
|
|
120
|
-
line-height: 28px;
|
|
121
|
-
font-size: $--input-medium-font-size;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.base-range-input {
|
|
125
|
-
font-size: $--input-medium-font-size;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.base-range__icon,
|
|
129
|
-
.base-range__close-icon {
|
|
130
|
-
line-height: 28px;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@include m(small) {
|
|
135
|
-
&.base-input__inner {
|
|
136
|
-
height: $--input-small-height;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.base-range-separator {
|
|
140
|
-
line-height: 24px;
|
|
141
|
-
font-size: $--input-small-font-size;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.base-range-input {
|
|
145
|
-
font-size: $--input-small-font-size;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.base-range__icon,
|
|
149
|
-
.base-range__close-icon {
|
|
150
|
-
line-height: 24px;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@include m(mini) {
|
|
155
|
-
&.base-input__inner {
|
|
156
|
-
height: $--input-mini-height;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.base-range-separator {
|
|
160
|
-
line-height: 20px;
|
|
161
|
-
font-size: $--input-mini-font-size;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.base-range-input {
|
|
165
|
-
font-size: $--input-mini-font-size;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.base-range__icon,
|
|
169
|
-
.base-range__close-icon {
|
|
170
|
-
line-height: 20px;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
@include when(disabled) {
|
|
175
|
-
background-color: $--input-disabled-fill;
|
|
176
|
-
border-color: $--input-disabled-border;
|
|
177
|
-
color: $--input-disabled-color;
|
|
178
|
-
cursor: not-allowed;
|
|
179
|
-
|
|
180
|
-
&:hover, &:focus {
|
|
181
|
-
border-color: $--input-disabled-border;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
input {
|
|
185
|
-
background-color: $--input-disabled-fill;
|
|
186
|
-
color: $--input-disabled-color;
|
|
187
|
-
cursor: not-allowed;
|
|
188
|
-
&::placeholder {
|
|
189
|
-
color: $--input-disabled-placeholder-color;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.base-range-separator {
|
|
194
|
-
color: $--input-disabled-color;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
@import "../var";
|
|
2
|
-
|
|
3
|
-
@include b(time-panel) {
|
|
4
|
-
margin: 5px 0;
|
|
5
|
-
border: solid 1px $--datepicker-border-color;
|
|
6
|
-
background-color: $--color-white;
|
|
7
|
-
box-shadow: $--box-shadow-light;
|
|
8
|
-
border-radius: 2px;
|
|
9
|
-
position: absolute;
|
|
10
|
-
width: 180px;
|
|
11
|
-
left: 0;
|
|
12
|
-
z-index: $--index-top;
|
|
13
|
-
user-select: none;
|
|
14
|
-
box-sizing: content-box;
|
|
15
|
-
|
|
16
|
-
@include e(content) {
|
|
17
|
-
font-size: 0;
|
|
18
|
-
position: relative;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
|
|
21
|
-
&::after, &::before {
|
|
22
|
-
content: "";
|
|
23
|
-
top: 50%;
|
|
24
|
-
position: absolute;
|
|
25
|
-
margin-top: -15px;
|
|
26
|
-
height: 32px;
|
|
27
|
-
z-index: -1;
|
|
28
|
-
left: 0;
|
|
29
|
-
right: 0;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
padding-top: 6px;
|
|
32
|
-
text-align: left;
|
|
33
|
-
border-top: 1px solid $--border-color-light;
|
|
34
|
-
border-bottom: 1px solid $--border-color-light;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&::after {
|
|
38
|
-
left: 50%;
|
|
39
|
-
margin-left: 12%;
|
|
40
|
-
margin-right: 12%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&::before {
|
|
44
|
-
padding-left: 50%;
|
|
45
|
-
margin-right: 12%;
|
|
46
|
-
margin-left: 12%;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.has-seconds {
|
|
50
|
-
&::after {
|
|
51
|
-
left: calc(100% / 3 * 2);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&::before {
|
|
55
|
-
padding-left: calc(100% / 3);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@include e(footer) {
|
|
61
|
-
border-top: 1px solid $--datepicker-inner-border-color;
|
|
62
|
-
padding: 4px;
|
|
63
|
-
height: 36px;
|
|
64
|
-
line-height: 25px;
|
|
65
|
-
text-align: right;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@include e(btn) {
|
|
70
|
-
border: none;
|
|
71
|
-
line-height: 28px;
|
|
72
|
-
padding: 0 5px;
|
|
73
|
-
margin: 0 5px;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
outline: none;
|
|
77
|
-
font-size: 12px;
|
|
78
|
-
color: $--color-text-primary;
|
|
79
|
-
|
|
80
|
-
&.confirm {
|
|
81
|
-
font-weight: 800;
|
|
82
|
-
color: $--datepicker-active-color;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@import "../var";
|
|
2
|
-
|
|
3
|
-
@include b(time-range-picker) {
|
|
4
|
-
width: 354px;
|
|
5
|
-
overflow: visible;
|
|
6
|
-
|
|
7
|
-
@include e(content) {
|
|
8
|
-
position: relative;
|
|
9
|
-
text-align: center;
|
|
10
|
-
padding: 10px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@include e(cell) {
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
margin: 0;
|
|
16
|
-
padding: 4px 7px 7px;
|
|
17
|
-
width: 50%;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@include e(header) {
|
|
22
|
-
margin-bottom: 5px;
|
|
23
|
-
text-align: center;
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@include e(body) {
|
|
28
|
-
border-radius:2px;
|
|
29
|
-
border: 1px solid $--datepicker-border-color;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@import "../var";
|
|
2
|
-
|
|
3
|
-
@include b(time-spinner) {
|
|
4
|
-
&.has-seconds {
|
|
5
|
-
.base-time-spinner__wrapper {
|
|
6
|
-
width: 33.3%;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@include e(wrapper) {
|
|
11
|
-
max-height: 190px;
|
|
12
|
-
overflow: auto;
|
|
13
|
-
display: inline-block;
|
|
14
|
-
width: 50%;
|
|
15
|
-
vertical-align: top;
|
|
16
|
-
position: relative;
|
|
17
|
-
|
|
18
|
-
& .base-scrollbar__wrap:not(.base-scrollbar__wrap--hidden-default) {
|
|
19
|
-
padding-bottom: 15px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@include when(arrow) {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
text-align: center;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
|
|
27
|
-
.base-time-spinner__list {
|
|
28
|
-
transform: translateY(-32px);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.base-time-spinner__item:hover:not(.disabled):not(.active) {
|
|
32
|
-
background: $--color-white;
|
|
33
|
-
cursor: default;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include e(arrow) {
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
color: $--color-text-secondary;
|
|
41
|
-
position: absolute;
|
|
42
|
-
left: 0;
|
|
43
|
-
width: 100%;
|
|
44
|
-
z-index: $--index-normal;
|
|
45
|
-
text-align: center;
|
|
46
|
-
height: 30px;
|
|
47
|
-
line-height: 30px;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
|
|
50
|
-
&:hover {
|
|
51
|
-
color: $--color-primary;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.base-icon-arrow-up {
|
|
55
|
-
top: 10px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.base-icon-arrow-down {
|
|
59
|
-
bottom: 10px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@include e(input) {
|
|
64
|
-
&.base-input {
|
|
65
|
-
width: 70%;
|
|
66
|
-
|
|
67
|
-
.base-input__inner {
|
|
68
|
-
padding: 0;
|
|
69
|
-
text-align: center;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@include e(list) {
|
|
75
|
-
padding: 0;
|
|
76
|
-
margin: 0;
|
|
77
|
-
list-style: none;
|
|
78
|
-
text-align: center;
|
|
79
|
-
|
|
80
|
-
&::after,
|
|
81
|
-
&::before {
|
|
82
|
-
content: '';
|
|
83
|
-
display: block;
|
|
84
|
-
width: 100%;
|
|
85
|
-
height: 80px;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@include e(item) {
|
|
90
|
-
height: 32px;
|
|
91
|
-
line-height: 32px;
|
|
92
|
-
font-size: 12px;
|
|
93
|
-
color: $--color-text-regular;
|
|
94
|
-
|
|
95
|
-
&:hover:not(.disabled):not(.active) {
|
|
96
|
-
background: $--background-color-base;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.active:not(.disabled) {
|
|
101
|
-
color: $--color-text-primary;
|
|
102
|
-
font-weight: bold;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&.disabled {
|
|
106
|
-
color: $--color-text-placeholder;
|
|
107
|
-
cursor: not-allowed;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@import "../var";
|
|
2
|
-
|
|
3
|
-
@include b(year-table) {
|
|
4
|
-
font-size: 12px;
|
|
5
|
-
margin: -1px;
|
|
6
|
-
border-collapse: collapse;
|
|
7
|
-
|
|
8
|
-
.base-icon {
|
|
9
|
-
color: $--datepicker-icon-color;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
td {
|
|
13
|
-
text-align: center;
|
|
14
|
-
padding: 20px 3px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
&.today {
|
|
18
|
-
.cell {
|
|
19
|
-
color: $--color-primary;
|
|
20
|
-
font-weight: bold;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.disabled .cell {
|
|
25
|
-
background-color: $--background-color-base;
|
|
26
|
-
cursor: not-allowed;
|
|
27
|
-
color: $--color-text-placeholder;
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
color: $--color-text-placeholder;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.cell {
|
|
35
|
-
width: 48px;
|
|
36
|
-
height: 32px;
|
|
37
|
-
display: block;
|
|
38
|
-
line-height: 32px;
|
|
39
|
-
color: $--datepicker-font-color;
|
|
40
|
-
margin: 0 auto;
|
|
41
|
-
|
|
42
|
-
&:hover {
|
|
43
|
-
color: $--datepicker-hover-font-color;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.current:not(.disabled) .cell {
|
|
48
|
-
color: $--datepicker-active-color;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@import "./date-picker/date-table.scss";
|
|
2
|
-
@import "./date-picker/month-table.scss";
|
|
3
|
-
@import "./date-picker/year-table.scss";
|
|
4
|
-
@import "./date-picker/time-spinner.scss";
|
|
5
|
-
@import "./date-picker/picker.scss";
|
|
6
|
-
@import "./date-picker/date-picker.scss";
|
|
7
|
-
@import "./date-picker/date-range-picker.scss";
|
|
8
|
-
@import "./date-picker/time-range-picker.scss";
|
|
9
|
-
@import "./date-picker/time-picker.scss";
|
|
10
|
-
@import "./input.scss";
|
|
11
|
-
@import "./scrollbar.scss";
|
|
12
|
-
@import "./popper";
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
@import "mixins";
|
|
2
|
-
@import "utils";
|
|
3
|
-
@import "var";
|
|
4
|
-
@import "popup";
|
|
5
|
-
|
|
6
|
-
@include b(dialog) {
|
|
7
|
-
position: relative;
|
|
8
|
-
margin: 0 auto 50px;
|
|
9
|
-
background: $--dialog-background-color;
|
|
10
|
-
border-radius: $--border-radius-small;
|
|
11
|
-
box-shadow: $--dialog-box-shadow;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
width: 50%;
|
|
14
|
-
|
|
15
|
-
@include when(fullscreen) {
|
|
16
|
-
width: 100%;
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
margin-bottom: 0;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow: auto;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@include e(wrapper) {
|
|
24
|
-
position: fixed;
|
|
25
|
-
top: 0;
|
|
26
|
-
right: 0;
|
|
27
|
-
bottom: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
overflow: auto;
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@include e(header) {
|
|
34
|
-
padding: $--dialog-padding-primary;
|
|
35
|
-
padding-bottom: 10px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include e(headerbtn) {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: $--dialog-padding-primary;
|
|
41
|
-
right: $--dialog-padding-primary;
|
|
42
|
-
padding: 0;
|
|
43
|
-
background: transparent;
|
|
44
|
-
border: none;
|
|
45
|
-
outline: none;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
font-size: $--message-close-size;
|
|
48
|
-
|
|
49
|
-
.base-dialog__close {
|
|
50
|
-
color: $--color-info;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:focus, &:hover {
|
|
54
|
-
.base-dialog__close {
|
|
55
|
-
color: $--color-primary;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@include e(title) {
|
|
61
|
-
line-height: $--dialog-font-line-height;
|
|
62
|
-
font-size: $--dialog-title-font-size;
|
|
63
|
-
color: $--color-text-primary;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@include e(body) {
|
|
67
|
-
padding: ($--dialog-padding-primary + 10px) $--dialog-padding-primary;
|
|
68
|
-
color: $--color-text-regular;
|
|
69
|
-
font-size: $--dialog-content-font-size;
|
|
70
|
-
word-break: break-all;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@include e(footer) {
|
|
74
|
-
padding: $--dialog-padding-primary;
|
|
75
|
-
padding-top: 10px;
|
|
76
|
-
text-align: right;
|
|
77
|
-
box-sizing: border-box;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// 内容居中布局
|
|
81
|
-
@include m(center) {
|
|
82
|
-
text-align: center;
|
|
83
|
-
|
|
84
|
-
@include e(body) {
|
|
85
|
-
text-align: initial;
|
|
86
|
-
padding: 25px ($--dialog-padding-primary + 5px) 30px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@include e(footer) {
|
|
90
|
-
text-align: inherit;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.dialog-fade-enter-active {
|
|
96
|
-
animation: dialog-fade-in .3s;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.dialog-fade-leave-active {
|
|
100
|
-
animation: dialog-fade-out .3s;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@keyframes dialog-fade-in {
|
|
104
|
-
0% {
|
|
105
|
-
transform: translate3d(0, -20px, 0);
|
|
106
|
-
opacity: 0;
|
|
107
|
-
}
|
|
108
|
-
100% {
|
|
109
|
-
transform: translate3d(0, 0, 0);
|
|
110
|
-
opacity: 1;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@keyframes dialog-fade-out {
|
|
115
|
-
0% {
|
|
116
|
-
transform: translate3d(0, 0, 0);
|
|
117
|
-
opacity: 1;
|
|
118
|
-
}
|
|
119
|
-
100% {
|
|
120
|
-
transform: translate3d(0, -20px, 0);
|
|
121
|
-
opacity: 0;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@import "var";
|
|
2
|
-
@import "mixins";
|
|
3
|
-
|
|
4
|
-
@include b(divider) {
|
|
5
|
-
background-color: $--border-color-base;
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
@include m(horizontal) {
|
|
9
|
-
display: block;
|
|
10
|
-
height: 1px;
|
|
11
|
-
width: 100%;
|
|
12
|
-
margin: 24px 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include m(vertical) {
|
|
16
|
-
display: inline-block;
|
|
17
|
-
border-left: thin solid $--color-text-regular;
|
|
18
|
-
height: 1em;
|
|
19
|
-
margin: 0 8px;
|
|
20
|
-
vertical-align: middle;
|
|
21
|
-
position: relative;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@include e(text) {
|
|
25
|
-
position: absolute;
|
|
26
|
-
background-color: $--color-white;
|
|
27
|
-
padding: 0 20px;
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
color: $--color-text-primary;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
|
|
32
|
-
@include when(left) {
|
|
33
|
-
left: 20px;
|
|
34
|
-
transform: translateY(-50%);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@include when(center) {
|
|
38
|
-
left: 50%;
|
|
39
|
-
transform: translateX(-50%) translateY(-50%);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@include when(right) {
|
|
43
|
-
right: 20px;
|
|
44
|
-
transform: translateY(-50%);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|