Skip to content

Commit 928067f

Browse files
committed
Merge from main
2 parents b8cbae1 + 87d14ba commit 928067f

File tree

32 files changed

+179
-99
lines changed

32 files changed

+179
-99
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,47 @@
1313
"author": "zhy",
1414
"license": "MIT",
1515
"devDependencies": {
16-
"@jest/types": "^28.0.2",
17-
"@types/chrome": "0.0.183",
16+
"@jest/types": "^28.1.1",
17+
"@types/chrome": "0.0.190",
1818
"@types/copy-webpack-plugin": "^8.0.1",
1919
"@types/echarts": "^4.9.15",
2020
"@types/generate-json-webpack-plugin": "^0.3.4",
21-
"@types/jest": "^27.5.0",
22-
"@types/node": "^17.0.31",
21+
"@types/jest": "^28.1.2",
22+
"@types/node": "^18.0.0",
2323
"@types/psl": "^1.1.0",
2424
"@types/webpack": "^5.28.0",
2525
"@types/webpack-bundle-analyzer": "^4.4.1",
2626
"babel-loader": "^8.2.5",
27-
"copy-webpack-plugin": "^10.2.4",
27+
"copy-webpack-plugin": "^11.0.0",
2828
"css-loader": "^6.7.1",
29-
"eslint": "^8.14.0",
30-
"filemanager-webpack-plugin": "^6.1.7",
29+
"eslint": "^8.18.0",
30+
"filemanager-webpack-plugin": "^7.0.0",
3131
"generate-json-webpack-plugin": "^2.0.0",
32-
"jest": "^28.0.3",
33-
"jest-environment-jsdom": "^28.0.2",
34-
"mini-css-extract-plugin": "^2.6.0",
32+
"jest": "^28.1.1",
33+
"jest-environment-jsdom": "^28.1.1",
34+
"mini-css-extract-plugin": "^2.6.1",
3535
"node-sass": "^7.0.1",
36-
"sass-loader": "^12.6.0",
36+
"sass-loader": "^13.0.0",
3737
"style-loader": "^3.3.1",
38-
"ts-jest": "^28.0.0",
38+
"ts-jest": "^28.0.5",
3939
"ts-loader": "^9.3.0",
40-
"ts-node": "^10.7.0",
40+
"ts-node": "^10.8.1",
4141
"tslib": "^2.4.0",
42-
"typescript": "4.6.4",
42+
"typescript": "4.7.4",
4343
"url-loader": "^4.1.1",
44-
"webpack": "^5.72.0",
44+
"webpack": "^5.73.0",
4545
"webpack-bundle-analyzer": "^4.5.0",
46-
"webpack-cli": "^4.9.2"
46+
"webpack-cli": "^4.10.0"
4747
},
4848
"dependencies": {
49-
"@element-plus/icons-vue": "^1.1.4",
49+
"@element-plus/icons-vue": "^2.0.4",
5050
"axios": "^0.27.2",
5151
"clipboardy": "^3.0.0",
5252
"countup.js": "^2.2.0",
53-
"echarts": "^5.3.2",
54-
"element-plus": "1.2.0-beta.6",
53+
"echarts": "^5.3.3",
54+
"element-plus": "2.2.6",
5555
"psl": "^1.8.0",
56-
"vue": "^3.2.33",
57-
"vue-router": "^4.0.14"
56+
"vue": "^3.2.37",
57+
"vue-router": "^4.0.16"
5858
}
5959
}

src/app/components/common/date-range-filter-item.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const _default = defineComponent({
2626
setup(props, ctx) {
2727
// @ts-ignore
2828
const dateRange: Ref<Date[]> = ref(props.defaultRange || [undefined, undefined])
29+
// @ts-ignore
2930
return () => h('span', { class: 'filter-item' }, h(ElDatePicker,
3031
{
3132
modelValue: dateRange.value,

src/app/components/common/editable-tag.sass

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,19 @@
66
*/
77

88
.el-tag
9+
height: 32px
910
margin-right: 10px
1011

12+
.editable-tag-container
13+
// offset right margin from the rightmost child
14+
margin-right: -10px
15+
display: flex
16+
flex-flow: row wrap
17+
justify-content: space-between
18+
.item-input-container,.item-add-button
19+
// The last line left
20+
margin-right: auto
21+
1122
.item-cancel-button
1223
border-right: 0.5px
1324
border-radius: 0
@@ -17,24 +28,23 @@
1728
margin-left: 0px !important
1829
margin-right: 10px
1930
.item-check-button,.item-cancel-button,.item-add-button
20-
height: 30px
31+
height: 32px
2132
line-height: 30px
2233
.item-add-button
2334
padding: 0 15px
2435
.item-check-button,.item-cancel-button
2536
padding: 0 10px
2637

27-
.input-new-tag
28-
width: 140px
29-
input
30-
height: 32px
31-
3238
.item-input-container
33-
display: inline-block
39+
display: inline-flex
40+
.el-input__wrapper
41+
height: 30px
42+
width: 140px
3443

3544
.editable-item
3645
margin-bottom: 9px
3746
line-height: 32px !important
47+
display: inline-flex
3848

3949
.edit-icon
4050
height: 14px

src/app/components/common/popup-confirm-button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const _default = defineComponent({
3636
onConfirm: () => ctx.emit("confirm")
3737
}, {
3838
reference: () => h(ElButton, {
39-
size: "mini",
39+
size: 'small',
4040
type: props.buttonType,
4141
icon: props.buttonIcon,
4242
style: {

src/app/components/common/switch-filter-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const _default = defineComponent({
2121
emits: ["change"],
2222
setup(props, ctx) {
2323
const modelValue: Ref<boolean> = ref(props.defaultValue)
24-
return () => h("span", {}, [
24+
return () => h("span", { class: "filter-switch" }, [
2525
h('a', { class: 'filter-name' }, props.label),
2626
h(ElSwitch, {
2727
class: 'filter-item',

src/app/components/dashboard/feedback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const _default = defineComponent({
2828
effect: Effect.LIGHT,
2929
}, () => h(ElButton, {
3030
type: "info",
31-
size: "mini",
31+
size: 'small',
3232
icon: Headset,
3333
round: true,
3434
onClick: () => chrome.tabs.create({

src/app/components/data-manage/clear/filter/date-filter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ const pickerShortcuts = [
3737
datePickerShortcut('till30DaysAgo', 30)
3838
]
3939

40+
// @ts-ignore
4041
const picker = ({ dateRangeRef }: DateFilterProps) => h(ElDatePicker, {
4142
modelValue: dateRangeRef.value,
4243
"onUpdate:modelValue": (date: Array<Date>) => dateRangeRef.value = date,
43-
size: 'mini',
44+
size: 'small',
4445
style: 'width:250px;',
4546
startPlaceholder: '1994/12/15',
4647
format: "YYYY/MM/DD",

src/app/components/data-manage/clear/filter/number-filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const elInput = (valRef: Ref<string>, placeholder: string, min?: Ref<string>) =>
1717
placeholder: placeholder,
1818
min: min !== undefined ? min.value || '0' : undefined,
1919
clearable: true,
20-
size: 'mini',
20+
size: 'small',
2121
modelValue: valRef.value,
2222
onInput: (val: string) => valRef.value = val.trim(),
2323
onClear: () => valRef.value = ''

src/app/components/data-manage/clear/filter/operation-button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const button = (props: _Props) => h(ElButton,
139139
{
140140
icon: props.button.icon,
141141
type: props.button.type,
142-
size: 'mini',
142+
size: 'small',
143143
onClick: () => handleClick(props)
144144
},
145145
() => t(msg => msg.item.operation[props.button.message])

src/app/components/limit/table/column/operation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const _default = defineComponent({
2626
default: ({ row }: { row: TimeLimitItem }) => [
2727
h(ElButton, {
2828
type: 'danger',
29-
size: 'mini',
29+
size: 'small',
3030
icon: Delete,
3131
onClick() {
3232
const { cond } = row

0 commit comments

Comments
 (0)