@ebscn/ui 1.0.3-beta.2 → 1.0.3-beta.20
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/assets/images/delete_dark.png +0 -0
- package/assets/images/keybord_keybord_dark.png +0 -0
- package/assets/images/keybord_shift2.png +0 -0
- package/assets/images/keybord_shift2_dark.png +0 -0
- package/assets/images/keybord_shift_dark.png +0 -0
- package/assets/images/loading.gif +0 -0
- package/cjs/assets/images/delete_dark.png +0 -0
- package/cjs/assets/images/keybord_keybord_dark.png +0 -0
- package/cjs/assets/images/keybord_shift2.png +0 -0
- package/cjs/assets/images/keybord_shift2_dark.png +0 -0
- package/cjs/assets/images/keybord_shift_dark.png +0 -0
- package/cjs/assets/images/loading.gif +0 -0
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.css +108 -43
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.js +1 -2
- package/cjs/components/button/selectorButton.css +2 -0
- package/cjs/components/button/selectorButton.js +1 -5
- package/cjs/components/card/card.css +1 -1
- package/cjs/components/card/card.js +2 -2
- package/cjs/components/checkbox/checkbox.css +8 -3
- package/cjs/components/date-range-picker/date-range-picker.css +31 -7
- package/cjs/components/date-range-picker/date-range-picker.d.ts +1 -0
- package/cjs/components/date-range-picker/date-range-picker.js +18 -9
- package/cjs/components/divider/divider.css +4 -3
- package/cjs/components/header/header.css +7 -1
- package/cjs/components/header/header.js +4 -2
- package/cjs/components/icons/back-icon.js +1 -0
- package/cjs/components/icons/clear-icon.js +1 -0
- package/cjs/components/icons/close-icon.js +2 -1
- package/cjs/components/icons/down-icon.d.ts +4 -0
- package/cjs/components/icons/down-icon.js +26 -0
- package/cjs/components/icons/dustbin-icon.d.ts +4 -0
- package/cjs/components/icons/dustbin-icon.js +26 -0
- package/cjs/components/icons/index.d.ts +3 -0
- package/cjs/components/icons/index.js +21 -0
- package/cjs/components/icons/notice-icon.js +2 -2
- package/cjs/components/icons/right-icon.js +1 -0
- package/cjs/components/icons/search-icon.js +2 -1
- package/cjs/components/icons/up-icon.d.ts +4 -0
- package/cjs/components/icons/up-icon.js +26 -0
- package/cjs/components/icons/warning-icon.js +2 -1
- package/cjs/components/infinite-scroll/index.d.ts +4 -0
- package/cjs/components/infinite-scroll/index.js +9 -0
- package/cjs/components/infinite-scroll/infinite-scroll.css +27 -0
- package/cjs/components/infinite-scroll/infinite-scroll.d.ts +11 -0
- package/cjs/components/infinite-scroll/infinite-scroll.js +278 -0
- package/cjs/components/input/input.css +27 -27
- package/cjs/components/input/input.js +1 -1
- package/cjs/components/list/index.d.ts +16 -0
- package/cjs/components/list/index.js +13 -0
- package/cjs/components/list/list-item.d.ts +15 -0
- package/cjs/components/list/list-item.js +38 -0
- package/cjs/components/list/list.css +102 -0
- package/cjs/components/list/list.d.ts +20 -0
- package/cjs/components/list/list.js +38 -0
- package/cjs/components/number-keyboard/number-keyboard.css +55 -42
- package/cjs/components/number-keyboard/number-keyboard.d.ts +1 -0
- package/cjs/components/number-keyboard/number-keyboard.js +2 -1
- package/cjs/components/picker-view/picker-view.css +3 -2
- package/cjs/components/popover/arrow.d.ts +3 -0
- package/cjs/components/popover/arrow.js +19 -0
- package/cjs/components/popover/index.d.ts +31 -0
- package/cjs/components/popover/index.js +14 -0
- package/cjs/components/popover/normalize-placement.d.ts +2 -0
- package/cjs/components/popover/normalize-placement.js +20 -0
- package/cjs/components/popover/popover-menu.css +65 -0
- package/cjs/components/popover/popover-menu.d.ts +20 -0
- package/cjs/components/popover/popover-menu.js +74 -0
- package/cjs/components/popover/popover.css +68 -0
- package/cjs/components/popover/popover.d.ts +41 -0
- package/cjs/components/popover/popover.js +280 -0
- package/cjs/components/popover/wrapper.d.ts +10 -0
- package/cjs/components/popover/wrapper.js +53 -0
- package/cjs/components/protocol/protocol.js +1 -2
- package/cjs/components/pull-to-refresh/pull-to-refresh.css +10 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.d.ts +1 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +5 -5
- package/cjs/components/radio/radio.css +5 -0
- package/cjs/components/selector/selector.css +1 -1
- package/cjs/components/skeleton/skeleton.css +4 -4
- package/cjs/components/squared-grid/squared-grid.css +1 -2
- package/cjs/components/squared-grid/squared-grid.d.ts +2 -1
- package/cjs/components/squared-grid/squared-grid.js +11 -2
- package/cjs/components/stock-count-keyboard/stock-count-keyboard.css +48 -41
- package/cjs/components/stock-count-keyboard/stock-count-keyboard.js +1 -1
- package/cjs/components/stock-keyboard/alphabet-keyboard.css +186 -0
- package/cjs/components/stock-keyboard/alphabet-keyboard.d.ts +11 -0
- package/cjs/components/stock-keyboard/alphabet-keyboard.js +106 -0
- package/cjs/components/stock-keyboard/index.d.ts +1 -0
- package/cjs/components/stock-keyboard/index.js +1 -0
- package/cjs/components/stock-keyboard/stock-keyboard.css +135 -76
- package/cjs/components/stock-keyboard/stock-keyboard.d.ts +2 -2
- package/cjs/components/stock-keyboard/stock-keyboard.js +40 -8
- package/cjs/components/switch/switch.css +2 -3
- package/cjs/components/tabs/tabs.css +5 -3
- package/cjs/components/tabs/tabs.js +5 -5
- package/cjs/components/tabs/tabs.patch.css +1 -0
- package/cjs/components/toast/index.d.ts +9 -0
- package/cjs/components/toast/index.js +14 -0
- package/cjs/components/toast/methods.d.ts +8 -0
- package/cjs/components/toast/methods.js +72 -0
- package/cjs/components/toast/toast.css +45 -0
- package/cjs/components/toast/toast.d.ts +18 -0
- package/cjs/components/toast/toast.js +85 -0
- package/cjs/components/toast/toast.patch.css +11 -0
- package/cjs/global/global.css +20 -5
- package/cjs/global/theme-dark.css +11 -3
- package/cjs/global/theme-default.css +9 -2
- package/cjs/index.d.ts +4 -4
- package/cjs/index.js +32 -32
- package/es/assets/images/delete_dark.png +0 -0
- package/es/assets/images/keybord_keybord_dark.png +0 -0
- package/es/assets/images/keybord_shift2.png +0 -0
- package/es/assets/images/keybord_shift2_dark.png +0 -0
- package/es/assets/images/keybord_shift_dark.png +0 -0
- package/es/assets/images/loading.gif +0 -0
- package/es/components/alphabet-keyboard/alphabet-keyboard.css +108 -43
- package/es/components/alphabet-keyboard/alphabet-keyboard.js +2 -4
- package/es/components/button/selectorButton.css +2 -0
- package/es/components/button/selectorButton.js +1 -5
- package/es/components/card/card.css +1 -1
- package/es/components/card/card.js +2 -2
- package/es/components/checkbox/checkbox.css +8 -3
- package/es/components/date-range-picker/date-range-picker.css +31 -7
- package/es/components/date-range-picker/date-range-picker.d.ts +1 -0
- package/es/components/date-range-picker/date-range-picker.js +17 -9
- package/es/components/divider/divider.css +4 -3
- package/es/components/header/header.css +7 -1
- package/es/components/header/header.js +4 -2
- package/es/components/icons/back-icon.js +1 -0
- package/es/components/icons/clear-icon.js +1 -0
- package/es/components/icons/close-icon.js +2 -1
- package/es/components/icons/down-icon.d.ts +4 -0
- package/es/components/icons/down-icon.js +18 -0
- package/es/components/icons/dustbin-icon.d.ts +4 -0
- package/es/components/icons/dustbin-icon.js +18 -0
- package/es/components/icons/index.d.ts +3 -0
- package/es/components/icons/index.js +3 -0
- package/es/components/icons/notice-icon.js +2 -2
- package/es/components/icons/right-icon.js +1 -0
- package/es/components/icons/search-icon.js +2 -1
- package/es/components/icons/up-icon.d.ts +4 -0
- package/es/components/icons/up-icon.js +18 -0
- package/es/components/icons/warning-icon.js +2 -1
- package/es/components/infinite-scroll/index.d.ts +4 -0
- package/es/components/infinite-scroll/index.js +3 -0
- package/es/components/infinite-scroll/infinite-scroll.css +27 -0
- package/es/components/infinite-scroll/infinite-scroll.d.ts +11 -0
- package/es/components/infinite-scroll/infinite-scroll.js +268 -0
- package/es/components/input/input.css +27 -27
- package/es/components/input/input.js +1 -1
- package/es/components/list/index.d.ts +16 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/list-item.d.ts +15 -0
- package/es/components/list/list-item.js +30 -0
- package/es/components/list/list.css +102 -0
- package/es/components/list/list.d.ts +20 -0
- package/es/components/list/list.js +29 -0
- package/es/components/number-keyboard/number-keyboard.css +55 -42
- package/es/components/number-keyboard/number-keyboard.d.ts +1 -0
- package/es/components/number-keyboard/number-keyboard.js +2 -1
- package/es/components/picker-view/picker-view.css +3 -2
- package/es/components/popover/arrow.d.ts +3 -0
- package/es/components/popover/arrow.js +11 -0
- package/es/components/popover/index.d.ts +31 -0
- package/es/components/popover/index.js +8 -0
- package/es/components/popover/normalize-placement.d.ts +2 -0
- package/es/components/popover/normalize-placement.js +14 -0
- package/es/components/popover/popover-menu.css +65 -0
- package/es/components/popover/popover-menu.d.ts +20 -0
- package/es/components/popover/popover-menu.js +65 -0
- package/es/components/popover/popover.css +68 -0
- package/es/components/popover/popover.d.ts +41 -0
- package/es/components/popover/popover.js +271 -0
- package/es/components/popover/wrapper.d.ts +10 -0
- package/es/components/popover/wrapper.js +47 -0
- package/es/components/protocol/protocol.js +1 -2
- package/es/components/pull-to-refresh/pull-to-refresh.css +10 -1
- package/es/components/pull-to-refresh/pull-to-refresh.d.ts +1 -1
- package/es/components/pull-to-refresh/pull-to-refresh.js +5 -5
- package/es/components/radio/radio.css +5 -0
- package/es/components/selector/selector.css +1 -1
- package/es/components/skeleton/skeleton.css +4 -4
- package/es/components/squared-grid/squared-grid.css +1 -2
- package/es/components/squared-grid/squared-grid.d.ts +2 -1
- package/es/components/squared-grid/squared-grid.js +11 -2
- package/es/components/stock-count-keyboard/stock-count-keyboard.css +48 -41
- package/es/components/stock-count-keyboard/stock-count-keyboard.js +1 -1
- package/es/components/stock-keyboard/alphabet-keyboard.css +186 -0
- package/es/components/stock-keyboard/alphabet-keyboard.d.ts +11 -0
- package/es/components/stock-keyboard/alphabet-keyboard.js +98 -0
- package/es/components/stock-keyboard/index.d.ts +1 -0
- package/es/components/stock-keyboard/index.js +1 -0
- package/es/components/stock-keyboard/stock-keyboard.css +135 -76
- package/es/components/stock-keyboard/stock-keyboard.d.ts +2 -2
- package/es/components/stock-keyboard/stock-keyboard.js +42 -11
- package/es/components/switch/switch.css +2 -3
- package/es/components/tabs/tabs.css +5 -3
- package/es/components/tabs/tabs.js +5 -5
- package/es/components/tabs/tabs.patch.css +1 -0
- package/es/components/toast/index.d.ts +9 -0
- package/es/components/toast/index.js +8 -0
- package/es/components/toast/methods.d.ts +8 -0
- package/es/components/toast/methods.js +63 -0
- package/es/components/toast/toast.css +45 -0
- package/es/components/toast/toast.d.ts +18 -0
- package/es/components/toast/toast.js +75 -0
- package/es/components/toast/toast.patch.css +11 -0
- package/es/global/global.css +20 -5
- package/es/global/theme-dark.css +11 -3
- package/es/global/theme-default.css +9 -2
- package/es/index.d.ts +4 -4
- package/es/index.js +8 -4
- package/package.json +2 -11
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ebscn-color-keyboard-bg: #d3d5d8;
|
|
3
|
+
--ebscn-color-keyboard-key-bg: #fff;
|
|
4
|
+
--ebscn-color-keyboard-fckey-bg: #adb3bd;
|
|
5
|
+
--ebscn-color-keyboard-key-bg-active: #E5E5E5;
|
|
6
|
+
}
|
|
7
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-keybord {
|
|
8
|
+
background: url(../../assets/images/keybord_keybord_dark.png) var(--ebscn-color-keyboard-fckey-bg) no-repeat center;
|
|
9
|
+
background-size: 25px 25px;
|
|
10
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
11
|
+
}
|
|
12
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-keybord:active {
|
|
13
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg-active);
|
|
14
|
+
}
|
|
15
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-delete {
|
|
16
|
+
background: url(../../assets/images/delete_dark.png) var(--ebscn-color-keyboard-fckey-bg) no-repeat center;
|
|
17
|
+
background-size: 25px 25px;
|
|
18
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
19
|
+
}
|
|
20
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-delete:active {
|
|
21
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg-active);
|
|
22
|
+
}
|
|
23
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-shift {
|
|
24
|
+
background: url(../../assets/images/keybord_shift_dark.png) var(--ebscn-color-keyboard-fckey-bg) no-repeat center;
|
|
25
|
+
background-size: 25px 25px;
|
|
26
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
27
|
+
}
|
|
28
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-shift:active {
|
|
29
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg-active);
|
|
30
|
+
}
|
|
31
|
+
html[data-prefers-color-scheme='dark'] .ebscn-alphabet-keyboard-shift-big {
|
|
32
|
+
background: url(../../assets/images/keybord_shift2_dark.png) no-repeat center;
|
|
33
|
+
background-color: #adb3bd;
|
|
34
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
35
|
+
background-size: 25px 25px;
|
|
36
|
+
}
|
|
1
37
|
.ebscn-alphabet-keyboard {
|
|
2
38
|
position: fixed;
|
|
3
39
|
bottom: 0;
|
|
@@ -7,35 +43,40 @@
|
|
|
7
43
|
width: 100%;
|
|
8
44
|
transition: all 0.5s;
|
|
9
45
|
align-content: flex-start;
|
|
10
|
-
background: #
|
|
11
|
-
|
|
12
|
-
.ebscn-alphabet-keyboard-darkkey {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
width: 11.2%;
|
|
17
|
-
height: 42px;
|
|
18
|
-
border-radius: 5px;
|
|
19
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
20
|
-
background: #adb3bd;
|
|
21
|
-
font-size: var(--ebscn-font-size-9);
|
|
22
|
-
}
|
|
23
|
-
.ebscn-alphabet-keyboard-darkkey:active {
|
|
24
|
-
background: #adb3bd;
|
|
46
|
+
background-color: #fff;
|
|
47
|
+
background-color: var(--ebscn-color-keyboard-bg);
|
|
25
48
|
}
|
|
26
49
|
.ebscn-alphabet-keyboard-shift {
|
|
27
50
|
margin-right: 3.73%;
|
|
28
|
-
background: url(../../assets/images/keybord_shift.png)
|
|
51
|
+
background: url(../../assets/images/keybord_shift.png) no-repeat center;
|
|
52
|
+
background-color: #adb3bd;
|
|
53
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
29
54
|
background-size: 17px 17px;
|
|
55
|
+
border: 0.5px solid #888;
|
|
56
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
57
|
+
}
|
|
58
|
+
.ebscn-alphabet-keyboard-shift-big {
|
|
59
|
+
background: url(../../assets/images/keybord_shift2.png) no-repeat center;
|
|
60
|
+
background-color: #adb3bd;
|
|
61
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
62
|
+
background-size: 25px 25px;
|
|
30
63
|
}
|
|
31
64
|
.ebscn-alphabet-keyboard-delete {
|
|
32
65
|
margin-left: 2.26%;
|
|
33
|
-
background: url(../../assets/images/delete.png)
|
|
34
|
-
background-
|
|
66
|
+
background: url(../../assets/images/delete.png) no-repeat center;
|
|
67
|
+
background-color: #adb3bd;
|
|
68
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
69
|
+
background-size: 25px 25px;
|
|
70
|
+
border: 0.5px solid #888;
|
|
71
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
35
72
|
}
|
|
36
73
|
.ebscn-alphabet-keyboard-keybord {
|
|
37
|
-
background: url(../../assets/images/keybord_keybord.png)
|
|
38
|
-
background-
|
|
74
|
+
background: url(../../assets/images/keybord_keybord.png) no-repeat center;
|
|
75
|
+
background-color: #adb3bd;
|
|
76
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
77
|
+
background-size: 25px 18px;
|
|
78
|
+
border: 0.5px solid #888;
|
|
79
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
39
80
|
}
|
|
40
81
|
.ebscn-alphabet-keyboard-space {
|
|
41
82
|
display: flex;
|
|
@@ -43,12 +84,16 @@
|
|
|
43
84
|
justify-content: center;
|
|
44
85
|
width: 48.4%;
|
|
45
86
|
height: 42px;
|
|
46
|
-
background: var(--ebscn-color-white);
|
|
47
87
|
border-radius: 5px;
|
|
48
|
-
|
|
88
|
+
font-size: 16px;
|
|
89
|
+
background-color: #fff;
|
|
90
|
+
background: var(--ebscn-color-keyboard-key-bg);
|
|
91
|
+
border: 0.5px solid #888;
|
|
92
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
49
93
|
}
|
|
50
94
|
.ebscn-alphabet-keyboard-space:active {
|
|
51
|
-
background:
|
|
95
|
+
background-color: #e5e5e5;
|
|
96
|
+
background-color: var(--ebscn-color-keyboard-key-bg-active);
|
|
52
97
|
}
|
|
53
98
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firstline,
|
|
54
99
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline,
|
|
@@ -57,7 +102,7 @@
|
|
|
57
102
|
display: flex;
|
|
58
103
|
justify-content: space-between;
|
|
59
104
|
width: 100%;
|
|
60
|
-
padding-top: 3
|
|
105
|
+
padding-top: calc(3% - 1px);
|
|
61
106
|
}
|
|
62
107
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firstline-key,
|
|
63
108
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline-key,
|
|
@@ -66,39 +111,57 @@
|
|
|
66
111
|
display: flex;
|
|
67
112
|
align-items: center;
|
|
68
113
|
justify-content: center;
|
|
114
|
+
flex: 1;
|
|
69
115
|
width: 8.4%;
|
|
70
|
-
height:
|
|
71
|
-
background:
|
|
116
|
+
height: 40px;
|
|
117
|
+
background-color: #fff;
|
|
118
|
+
background: var(--ebscn-color-keyboard-key-bg);
|
|
72
119
|
border-radius: 5px;
|
|
73
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
74
120
|
font-size: 23px;
|
|
75
121
|
font-weight: 400;
|
|
76
122
|
text-align: center;
|
|
123
|
+
color: #333;
|
|
77
124
|
color: var(--ebscn-color-text);
|
|
78
|
-
margin
|
|
125
|
+
margin: 0 3px;
|
|
126
|
+
border: 0.5px solid #888;
|
|
127
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
79
128
|
}
|
|
80
129
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firstline-key:active,
|
|
81
130
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline-key:active,
|
|
82
131
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline-key:active,
|
|
83
132
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-key:active {
|
|
84
|
-
background:
|
|
133
|
+
background-color: #e5e5e5;
|
|
134
|
+
background-color: var(--ebscn-color-keyboard-key-bg-active);
|
|
135
|
+
}
|
|
136
|
+
.ebscn-alphabet-keyboard-darkkey {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
width: 11.2%;
|
|
141
|
+
height: 42px;
|
|
142
|
+
border-radius: 5px;
|
|
143
|
+
background-color: #adb3bd;
|
|
144
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg);
|
|
145
|
+
font-size: var(--ebscn-font-size-9);
|
|
146
|
+
border: 0.5px solid #888;
|
|
147
|
+
border-color: var(--ebscn-color-keyboard-fckey-border);
|
|
85
148
|
}
|
|
86
|
-
.ebscn-alphabet-keyboard
|
|
87
|
-
|
|
88
|
-
|
|
149
|
+
.ebscn-alphabet-keyboard-darkkey:active {
|
|
150
|
+
background-color: #252525;
|
|
151
|
+
background-color: var(--ebscn-color-keyboard-fckey-bg-active);
|
|
89
152
|
}
|
|
90
153
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-secondline {
|
|
91
154
|
padding-left: 5.73%;
|
|
92
155
|
padding-right: 5.73%;
|
|
93
156
|
}
|
|
94
157
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-thirdline {
|
|
95
|
-
padding-left:
|
|
96
|
-
padding-right:
|
|
158
|
+
padding-left: 3px;
|
|
159
|
+
padding-right: 3px;
|
|
97
160
|
}
|
|
98
161
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline {
|
|
99
|
-
padding-left:
|
|
100
|
-
padding-right:
|
|
101
|
-
padding-bottom:
|
|
162
|
+
padding-left: 3px;
|
|
163
|
+
padding-right: 3px;
|
|
164
|
+
padding-bottom: 6px;
|
|
102
165
|
}
|
|
103
166
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-confirm {
|
|
104
167
|
display: flex;
|
|
@@ -106,24 +169,26 @@
|
|
|
106
169
|
justify-content: center;
|
|
107
170
|
width: 23.46%;
|
|
108
171
|
height: 42px;
|
|
109
|
-
background:
|
|
172
|
+
background-color: #e84225;
|
|
173
|
+
background-color: var(--ebscn-color-primary);
|
|
110
174
|
border-radius: 5px;
|
|
111
|
-
box-shadow: 0px 0.5px 0px 0px #888888;
|
|
112
175
|
font-size: 16px;
|
|
113
176
|
font-weight: 400;
|
|
114
177
|
text-align: center;
|
|
115
|
-
color:
|
|
178
|
+
color: #fff;
|
|
116
179
|
line-height: 22.5px;
|
|
180
|
+
border: 0.5px solid #888;
|
|
181
|
+
border-color: var(--ebscn-color-keyboard-key-border);
|
|
117
182
|
}
|
|
118
183
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline-confirm:active {
|
|
119
|
-
background-color: #
|
|
184
|
+
background-color: #d13c21;
|
|
120
185
|
}
|
|
121
186
|
.ebscn-alphabet-keyboard .ebscn-alphabet-keyboard-firthline img {
|
|
122
187
|
height: 20%;
|
|
123
188
|
}
|
|
124
189
|
@supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
|
|
125
190
|
.ebscn-alphabet-keyboard {
|
|
126
|
-
height: calc(
|
|
127
|
-
height: calc(
|
|
191
|
+
height: calc(223px + env(safe-area-inset-bottom));
|
|
192
|
+
height: calc(223px + constant(safe-area-inset-bottom));
|
|
128
193
|
}
|
|
129
194
|
}
|
|
@@ -114,12 +114,11 @@ function AlphabetKeyboard(p) {
|
|
|
114
114
|
}, (isBig == false ? thirdKeys : thirdKeysBig).map(function (item, index) {
|
|
115
115
|
return _react.default.createElement("div", {
|
|
116
116
|
key: item || index,
|
|
117
|
-
className: item == '↑' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-shift") : item == '×' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-delete") : "".concat(classPrefix, "-thirdline-key"),
|
|
117
|
+
className: item == '↑' && isBig ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-shift ").concat(classPrefix, "-shift-big") : item == '↑' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-shift") : item == '×' ? "".concat(classPrefix, "-darkkey ").concat(classPrefix, "-delete") : "".concat(classPrefix, "-thirdline-key"),
|
|
118
118
|
onClick: function () {
|
|
119
119
|
if (visible) {
|
|
120
120
|
onKeyPress(item);
|
|
121
121
|
}
|
|
122
|
-
;
|
|
123
122
|
}
|
|
124
123
|
}, imgKeys.includes(item) ? '' : item);
|
|
125
124
|
})), _react.default.createElement("div", {
|
|
@@ -148,10 +148,6 @@ var SelectorButton = function (p) {
|
|
|
148
148
|
onClick: handleClick
|
|
149
149
|
}, props.children, _react.default.createElement("div", {
|
|
150
150
|
className: (0, _classnames.default)("".concat(classPrefix, "-icon"), (_a = {}, _a["".concat(classPrefix, "-icon-active")] = props.active && props.autoRotate, _a))
|
|
151
|
-
}, props.icon ? props.icon : _react.default.createElement(_2.SelectorIcon,
|
|
152
|
-
style: {
|
|
153
|
-
fontSize: '14px'
|
|
154
|
-
}
|
|
155
|
-
}))));
|
|
151
|
+
}, props.icon ? props.icon : _react.default.createElement(_2.SelectorIcon, null))));
|
|
156
152
|
};
|
|
157
153
|
exports.SelectorButton = SelectorButton;
|
|
@@ -16,7 +16,7 @@ function Card(props) {
|
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
18
|
return _react.default.createElement("div", {
|
|
19
|
-
className: (0, _classnames.default)("".concat(classPrefix, "-header"), "".concat(
|
|
19
|
+
className: (0, _classnames.default)("".concat(classPrefix, "-header"), "".concat(typeClassName, "-header"), props.headerClassName),
|
|
20
20
|
style: props.headerStyle,
|
|
21
21
|
onClick: props.onHeaderClick
|
|
22
22
|
}, _react.default.createElement("div", {
|
|
@@ -28,7 +28,7 @@ function Card(props) {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
return _react.default.createElement("div", {
|
|
31
|
-
className: (0, _classnames.default)("".concat(classPrefix, "-body"), "".concat(
|
|
31
|
+
className: (0, _classnames.default)("".concat(classPrefix, "-body"), "".concat(typeClassName, "-body"), props.bodyClassName),
|
|
32
32
|
style: props.bodyStyle,
|
|
33
33
|
onClick: props.onBodyClick
|
|
34
34
|
}, props.children);
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
.ebscn-checkbox {
|
|
2
|
-
--icon-size:
|
|
2
|
+
--icon-size: 20px;
|
|
3
|
+
--icon-wrap-size: 24px;
|
|
3
4
|
--font-size: var(--ebscn-font-size-8);
|
|
4
5
|
--gap: 12px;
|
|
5
6
|
display: inline-flex;
|
|
6
7
|
vertical-align: text-bottom;
|
|
7
8
|
justify-content: flex-start;
|
|
8
9
|
align-items: center;
|
|
10
|
+
min-width: var(--icon-wrap-size);
|
|
11
|
+
min-height: var(--icon-wrap-size);
|
|
9
12
|
cursor: pointer;
|
|
10
13
|
}
|
|
11
14
|
.ebscn-checkbox input {
|
|
@@ -17,11 +20,14 @@
|
|
|
17
20
|
--gap: 9px;
|
|
18
21
|
}
|
|
19
22
|
.ebscn-checkbox .ebscn-checkbox-icon {
|
|
23
|
+
margin: auto;
|
|
20
24
|
flex: none;
|
|
21
25
|
border-radius: var(--icon-size);
|
|
22
26
|
border: 1px solid var(--ebscn-color-light);
|
|
23
27
|
box-sizing: border-box;
|
|
24
|
-
width:
|
|
28
|
+
width: 20px;
|
|
29
|
+
width: var(---icon-size);
|
|
30
|
+
height: 20px;
|
|
25
31
|
height: var(--icon-size);
|
|
26
32
|
color: var(--ebscn-color-text-light-solid);
|
|
27
33
|
}
|
|
@@ -81,7 +87,6 @@
|
|
|
81
87
|
}
|
|
82
88
|
.ebscn-checkbox .ebscn-checkbox-icon-right-input .ebscn-checkbox-icon.ebscn-checkbox-only-icon {
|
|
83
89
|
margin-right: 16px;
|
|
84
|
-
height: 100%;
|
|
85
90
|
border-color: transparent;
|
|
86
91
|
}
|
|
87
92
|
.ebscn-checkbox .ebscn-checkbox-icon-right-input .ebscn-checkbox-icon.ebscn-checkbox-only-icon svg {
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
--title-font-size: var(--ebscn-font-size-7);
|
|
4
4
|
--item-font-size: var(--ebscn-font-size-8);
|
|
5
5
|
--item-height: 34px;
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
font-size: var(--ebscn-font-size-6);
|
|
6
8
|
width: 100%;
|
|
7
|
-
height:
|
|
9
|
+
height: 385px;
|
|
8
10
|
overflow: hidden;
|
|
9
11
|
position: relative;
|
|
10
12
|
display: flex;
|
|
@@ -21,10 +23,10 @@
|
|
|
21
23
|
display: flex;
|
|
22
24
|
justify-content: space-between;
|
|
23
25
|
align-items: center;
|
|
24
|
-
padding:
|
|
26
|
+
padding: 24px 16px 16px;
|
|
25
27
|
}
|
|
26
28
|
.ebscn-date-range-picker-header-button {
|
|
27
|
-
font-size:
|
|
29
|
+
font-size: 16px;
|
|
28
30
|
display: inline-block;
|
|
29
31
|
padding: 8px 8px;
|
|
30
32
|
}
|
|
@@ -35,30 +37,49 @@
|
|
|
35
37
|
}
|
|
36
38
|
.ebscn-date-range-picker-header-title {
|
|
37
39
|
padding: 4px 4px;
|
|
40
|
+
font-size: 18px;
|
|
38
41
|
font-size: var(--ebscn-font-size-10);
|
|
39
42
|
color: #333;
|
|
43
|
+
color: var(--ebscn-color-text);
|
|
40
44
|
text-align: center;
|
|
41
45
|
flex: 1;
|
|
42
|
-
font-weight:
|
|
46
|
+
font-weight: 500;
|
|
43
47
|
}
|
|
44
48
|
.ebscn-date-range-picker-buttons-wrap {
|
|
45
49
|
display: flex;
|
|
50
|
+
gap: 10px;
|
|
46
51
|
justify-content: space-evenly;
|
|
47
52
|
margin-top: 12px;
|
|
53
|
+
padding: 0 16px;
|
|
54
|
+
}
|
|
55
|
+
.ebscn-date-range-picker-buttons-wrap svg {
|
|
56
|
+
font-size: 18px;
|
|
48
57
|
}
|
|
49
58
|
.ebscn-date-range-picker-buttons-wrap .ebscn-date-range-picker-button {
|
|
50
|
-
width:
|
|
59
|
+
min-width: 75px;
|
|
60
|
+
max-width: 100px;
|
|
61
|
+
flex: 1;
|
|
51
62
|
height: 28px;
|
|
52
63
|
line-height: 28px;
|
|
53
64
|
text-align: center;
|
|
54
65
|
background-color: #f8f9fc;
|
|
66
|
+
background-color: var(--search-box-bg);
|
|
55
67
|
color: #333;
|
|
56
|
-
|
|
68
|
+
color: var(--ebscn-color-text);
|
|
69
|
+
border-radius: 4px;
|
|
70
|
+
font-size: 14px;
|
|
57
71
|
font-size: var(--ebscn-font-size-6);
|
|
58
72
|
}
|
|
73
|
+
.ebscn-date-range-picker-buttons-wrap .ebscn-date-range-picker-button-active {
|
|
74
|
+
color: #e84225;
|
|
75
|
+
color: var(--ebscn-color-primary);
|
|
76
|
+
background-color: rgba(232, 66, 37, 0.06);
|
|
77
|
+
}
|
|
59
78
|
.ebscn-date-range-picker-values-wrap {
|
|
60
79
|
display: flex;
|
|
80
|
+
justify-content: space-between;
|
|
61
81
|
justify-content: center;
|
|
82
|
+
align-items: center;
|
|
62
83
|
gap: 20px;
|
|
63
84
|
margin-top: 12px;
|
|
64
85
|
}
|
|
@@ -70,14 +91,17 @@
|
|
|
70
91
|
text-align: center;
|
|
71
92
|
}
|
|
72
93
|
.ebscn-date-range-picker-values-wrap .ebscn-date-range-picker-value-active {
|
|
73
|
-
|
|
94
|
+
color: var(--ebscn-color-blue);
|
|
95
|
+
border-bottom-color: var(--ebscn-color-blue);
|
|
74
96
|
}
|
|
75
97
|
.ebscn-date-range-picker-tip {
|
|
76
98
|
display: flex;
|
|
77
99
|
justify-content: center;
|
|
78
100
|
align-items: center;
|
|
79
101
|
margin-top: 12px;
|
|
102
|
+
color: #e84225;
|
|
80
103
|
color: var(--ebscn-color-primary);
|
|
104
|
+
font-size: 14px;
|
|
81
105
|
font-size: var(--ebscn-font-size-6);
|
|
82
106
|
}
|
|
83
107
|
.ebscn-date-range-picker-body {
|
|
@@ -40,6 +40,7 @@ export type DateRangePickerProps = {
|
|
|
40
40
|
value: [PickerDate, PickerDate];
|
|
41
41
|
}>;
|
|
42
42
|
} & Pick<PopupProps, 'getContainer' | 'afterShow' | 'afterClose' | 'onClick' | 'stopPropagation' | 'forceRender' | 'destroyOnClose'> & NativeProps<'--header-button-font-size' | '--title-font-size' | '--item-font-size' | '--item-height'>;
|
|
43
|
+
export declare function isSameDate(date1: Date, date2: Date): boolean;
|
|
43
44
|
export declare const DateRangePicker: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
44
45
|
value?: [] | [Date, Date] | undefined;
|
|
45
46
|
defaultValue?: [] | [Date, Date] | undefined;
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DateRangePicker = void 0;
|
|
7
|
+
exports.isSameDate = isSameDate;
|
|
7
8
|
var _ahooks = require("ahooks");
|
|
8
|
-
var _safeArea = _interopRequireDefault(require("../safe-area"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -16,6 +16,7 @@ var _withDefaultProps = require("../../utils/with-default-props");
|
|
|
16
16
|
var _datePickerView = _interopRequireDefault(require("../date-picker-view"));
|
|
17
17
|
var _pickerUtils = require("../picker/picker-utils");
|
|
18
18
|
var _popup = _interopRequireDefault(require("../popup"));
|
|
19
|
+
var _safeArea = _interopRequireDefault(require("../safe-area"));
|
|
19
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
21
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -147,6 +148,11 @@ var defaultProps = {
|
|
|
147
148
|
precision: 'day',
|
|
148
149
|
quickButtons: []
|
|
149
150
|
};
|
|
151
|
+
function isSameDate(date1, date2) {
|
|
152
|
+
var str1 = "".concat(date1.getFullYear(), "-").concat(date1.getMonth(), "-").concat(date1.getDate());
|
|
153
|
+
var str2 = "".concat(date2.getFullYear(), "-").concat(date2.getMonth(), "-").concat(date2.getDate());
|
|
154
|
+
return str1 === str2;
|
|
155
|
+
}
|
|
150
156
|
var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forwardRef)(function (p, ref) {
|
|
151
157
|
var _a, _b;
|
|
152
158
|
var _c;
|
|
@@ -211,8 +217,10 @@ var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forw
|
|
|
211
217
|
innerValue = _f[0],
|
|
212
218
|
setInnerValue = _f[1];
|
|
213
219
|
(0, _react.useEffect)(function () {
|
|
220
|
+
var _a;
|
|
214
221
|
//todo
|
|
215
222
|
setInnerValue(pickerValue);
|
|
223
|
+
(_a = props.onSelect) === null || _a === void 0 ? void 0 : _a.call(props, pickerValue);
|
|
216
224
|
}, [visible, pickerValue]);
|
|
217
225
|
var _g = (0, _react.useState)(0),
|
|
218
226
|
activeIndex = _g[0],
|
|
@@ -225,7 +233,7 @@ var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forw
|
|
|
225
233
|
}
|
|
226
234
|
});
|
|
227
235
|
var onQuickClick = function (value) {
|
|
228
|
-
|
|
236
|
+
onChange(value);
|
|
229
237
|
};
|
|
230
238
|
var renderLabel = function (_, value) {
|
|
231
239
|
return value;
|
|
@@ -246,32 +254,33 @@ var DateRangePicker = exports.DateRangePicker = (0, _react.memo)((0, _react.forw
|
|
|
246
254
|
className: "".concat(classPrefix, "-header-title")
|
|
247
255
|
}, props.title), _react.default.createElement("a", {
|
|
248
256
|
role: "button",
|
|
249
|
-
className: (0, _classnames.default)("".concat(classPrefix, "-header-button"), props.loading && "".concat(classPrefix, "-header-button-disabled")),
|
|
257
|
+
className: (0, _classnames.default)("".concat(classPrefix, "-header-button"), (props.loading || props.tip) && "".concat(classPrefix, "-header-button-disabled")),
|
|
250
258
|
onClick: function () {
|
|
251
|
-
if (props.loading) return;
|
|
259
|
+
if (props.loading || props.tip) return;
|
|
252
260
|
setValue(innerValue, true);
|
|
253
261
|
setVisible(false);
|
|
254
262
|
},
|
|
255
263
|
"aria-disabled": props.loading
|
|
256
|
-
}, props.confirmText)), props.quickButtons.length
|
|
264
|
+
}, props.confirmText)), props.quickButtons.length ? _react.default.createElement("div", {
|
|
257
265
|
className: "".concat(classPrefix, "-buttons-wrap")
|
|
258
|
-
}, props.quickButtons.map(function (_a) {
|
|
266
|
+
}, props.quickButtons.map(function (_a, index) {
|
|
259
267
|
var label = _a.label,
|
|
260
268
|
value = _a.value;
|
|
261
269
|
return _react.default.createElement("div", {
|
|
270
|
+
key: index,
|
|
262
271
|
onClick: function () {
|
|
263
272
|
return onQuickClick(value);
|
|
264
273
|
},
|
|
265
|
-
className: "".concat(classPrefix, "-button")
|
|
274
|
+
className: "".concat(classPrefix, "-button ").concat(isSameDate(value[0], innerValue[0]) && isSameDate(value[1], innerValue[1]) ? "".concat(classPrefix, "-button-active") : '')
|
|
266
275
|
}, label);
|
|
267
|
-
})), _react.default.createElement("div", {
|
|
276
|
+
})) : null, _react.default.createElement("div", {
|
|
268
277
|
className: "".concat(classPrefix, "-values-wrap")
|
|
269
278
|
}, _react.default.createElement("div", {
|
|
270
279
|
className: (0, _classnames.default)("".concat(classPrefix, "-value"), (_a = {}, _a["".concat(classPrefix, "-value-active")] = activeIndex === 0, _a)),
|
|
271
280
|
onClick: function () {
|
|
272
281
|
return setActiveIndex(0);
|
|
273
282
|
}
|
|
274
|
-
}, (0, _dayjs.default)(innerValue[0]).format('YYYY-MM-DD')), _react.default.createElement("div", {
|
|
283
|
+
}, (0, _dayjs.default)(innerValue[0]).format('YYYY-MM-DD')), _react.default.createElement("span", null, "\u81F3"), _react.default.createElement("div", {
|
|
275
284
|
className: (0, _classnames.default)("".concat(classPrefix, "-value"), (_b = {}, _b["".concat(classPrefix, "-value-active")] = activeIndex === 1, _b)),
|
|
276
285
|
onClick: function () {
|
|
277
286
|
return setActiveIndex(1);
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
margin: 16px 0;
|
|
5
5
|
border-width: 0;
|
|
6
|
-
border-color: var(--color);
|
|
6
|
+
border-color: var(--ebscn-color-split-line);
|
|
7
7
|
border-style: solid;
|
|
8
|
-
color:
|
|
8
|
+
color: #ebebeb;
|
|
9
|
+
color: var(--ebscn-color-split-line);
|
|
9
10
|
font-size: 14px;
|
|
10
11
|
}
|
|
11
12
|
.ebscn-divider-left.ebscn-divider-horizontal::before {
|
|
@@ -35,5 +36,5 @@
|
|
|
35
36
|
margin: 0 16px;
|
|
36
37
|
vertical-align: middle;
|
|
37
38
|
border-top: 0;
|
|
38
|
-
border-left: 1px solid var(--color);
|
|
39
|
+
border-left: 1px solid var(--ebscn-color-split-line);
|
|
39
40
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
--bgColor: #FFFFFF;
|
|
4
4
|
--subTitleColor: #666666;
|
|
5
5
|
--buttonColor: #666666;
|
|
6
|
+
--icon-size: 20px;
|
|
6
7
|
display: flex;
|
|
7
8
|
align-items: center;
|
|
8
9
|
height: 44px;
|
|
@@ -15,7 +16,11 @@
|
|
|
15
16
|
.ebscn-header-left,
|
|
16
17
|
.ebscn-header-right {
|
|
17
18
|
flex: 1;
|
|
18
|
-
font-size:
|
|
19
|
+
font-size: 20px;
|
|
20
|
+
font-size: var(--icon-size);
|
|
21
|
+
}
|
|
22
|
+
.ebscn-header-left-back {
|
|
23
|
+
padding: 4px;
|
|
19
24
|
}
|
|
20
25
|
.ebscn-header-title {
|
|
21
26
|
flex: auto;
|
|
@@ -54,6 +59,7 @@
|
|
|
54
59
|
display: flex;
|
|
55
60
|
justify-content: flex-end;
|
|
56
61
|
align-items: center;
|
|
62
|
+
margin-right: 4px;
|
|
57
63
|
}
|
|
58
64
|
.ebscn-header-text-button {
|
|
59
65
|
font-size: 15px;
|
|
@@ -21,11 +21,13 @@ var Header = function (p) {
|
|
|
21
21
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
|
|
22
22
|
className: (0, _classnames.default)(classPrefix)
|
|
23
23
|
}, _react.default.createElement("div", {
|
|
24
|
-
className: "".concat(classPrefix, "-left")
|
|
24
|
+
className: "".concat(classPrefix, "-left")
|
|
25
|
+
}, props.showLeftIcon && _react.default.createElement("div", {
|
|
26
|
+
className: "".concat(classPrefix, "-left-back"),
|
|
25
27
|
onClick: function () {
|
|
26
28
|
return props.onLeftClick();
|
|
27
29
|
}
|
|
28
|
-
},
|
|
30
|
+
}, _react.default.createElement(_backIcon.default, null), " "), props.left), _react.default.createElement("div", {
|
|
29
31
|
className: "".concat(classPrefix, "-title")
|
|
30
32
|
}, props.title && _react.default.createElement("div", null, props.title), props.subTitle && _react.default.createElement("div", {
|
|
31
33
|
className: "".concat(classPrefix, "-subtitle")
|
|
@@ -18,6 +18,7 @@ var BackIcon = (0, _react.memo)(function (props) {
|
|
|
18
18
|
width: "1em",
|
|
19
19
|
height: "1em"
|
|
20
20
|
}, _react.default.createElement("path", {
|
|
21
|
+
fill: "currentColor",
|
|
21
22
|
d: "M361.344 121.392a32 32 0 0 1 45.312 45.216l-334.4 335.136a15.6 15.6 0 0 0 0.032 22.064l334.32 333.536a32 32 0 1 1-45.216 45.312L27.088 569.104a79.6 79.6 0 0 1-0.128-112.56l334.4-335.152z",
|
|
22
23
|
"p-id": "8061"
|
|
23
24
|
})));
|
|
@@ -18,6 +18,7 @@ var ClearIcon = (0, _react.memo)(function (props) {
|
|
|
18
18
|
width: "1em",
|
|
19
19
|
height: "1em"
|
|
20
20
|
}, _react.default.createElement("path", {
|
|
21
|
+
fill: "currentColor",
|
|
21
22
|
d: "M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zM342.624 297.376a32 32 0 0 0-45.248 0l-1.872 2.032a32 32 0 0 0 1.872 43.216L466.72 512 297.376 681.376a32 32 0 0 0 0 45.248l2.032 1.872a32 32 0 0 0 43.216-1.872L512 557.248l169.376 169.376a32 32 0 0 0 45.248 0l1.872-2.032a32 32 0 0 0-1.872-43.216L557.248 512l169.376-169.376a32 32 0 0 0 0-45.248l-2.032-1.872a32 32 0 0 0-43.216 1.872L512 466.72z",
|
|
22
23
|
"p-id": "8691"
|
|
23
24
|
})));
|
|
@@ -16,7 +16,8 @@ var CloseIcon = (0, _react.memo)(function (props) {
|
|
|
16
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17
17
|
"p-id": "8217",
|
|
18
18
|
width: "1em",
|
|
19
|
-
height: "1em"
|
|
19
|
+
height: "1em",
|
|
20
|
+
fill: "currentColor"
|
|
20
21
|
}, _react.default.createElement("path", {
|
|
21
22
|
d: "M137.376 137.376a32 32 0 0 1 45.248 0l712.768 712.768a32 32 0 1 1-45.248 45.248L137.376 182.624a32 32 0 0 1 0-45.248z",
|
|
22
23
|
"p-id": "8218"
|