view-ui-plus-derive 0.0.1
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/LICENSE +21 -0
- package/README.md +1834 -0
- package/dist/directives/index.js +4 -0
- package/dist/directives/v-iview-select.js +28 -0
- package/dist/index.d.ts +2546 -0
- package/dist/index.js +2338 -0
- package/dist/iview-mod.css +1 -0
- package/dist/iview-mod.js +3 -0
- package/dist/iview-mods/index.d.ts +3 -0
- package/dist/iview-mods/input-number.js +15 -0
- package/dist/iview-mods/select.js +8 -0
- package/dist/iview-mods/table.js +8 -0
- package/dist/locale/en-US.js +40 -0
- package/dist/locale/index.d.ts +7 -0
- package/dist/locale/zh-CN.js +64 -0
- package/dist/style.js +6 -0
- package/dist/styles/Combi.css +1 -0
- package/dist/styles/CountRange.css +1 -0
- package/dist/styles/DateRange.css +1 -0
- package/dist/styles/MCalendar.css +1 -0
- package/dist/styles/PageTable.css +1 -0
- package/dist/styles/ToggleColumn.css +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ivu-select-dropdown.transition-drop-leave-active{pointer-events:none}.ivu-table-fixed-shadow{height:auto}.ivu-table-overflowX~.ivu-table-fixed-shadow{overflow:visible}.ivu-table-overflowX~.ivu-table-fixed-shadow>.ivu-table-fixed-body+div{position:absolute;top:100%;left:0;width:100%}.ivu-input[disabled],fieldset[disabled] .ivu-input,.ivu-select-disabled .ivu-select-selection,.ivu-input-number-disabled .ivu-input-number-input{color:#7a7a7a}.ivu-input-number-disabled .ivu-input-number-input{opacity:1}.ivu-select-input[disabled]{color:#7a7a7a;-webkit-text-fill-color:initial}.ivu-btn-default.disabled,.ivu-btn-default[disabled]{color:#7a7a7a}.ivu-btn-default.disabled.active,.ivu-btn-default[disabled].active,.ivu-btn-default.disabled:active,.ivu-btn-default[disabled]:active,.ivu-btn-default.disabled:focus,.ivu-btn-default[disabled]:focus,.ivu-btn-default.disabled:hover,.ivu-btn-default[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-default,fieldset[disabled] .ivu-btn-default.active,fieldset[disabled] .ivu-btn-default:active{color:#7a7a7a}[disabled] .ivu-btn-default:focus,[disabled] .ivu-btn-default:hover{color:#7a7a7a}.ivu-btn-default.ivu-btn-ghost.disabled,.ivu-btn-default.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-default.ivu-btn-ghost.disabled.active,.ivu-btn-default.ivu-btn-ghost[disabled].active,.ivu-btn-default.ivu-btn-ghost.disabled:active,.ivu-btn-default.ivu-btn-ghost[disabled]:active,.ivu-btn-default.ivu-btn-ghost.disabled:focus,.ivu-btn-default.ivu-btn-ghost[disabled]:focus,.ivu-btn-default.ivu-btn-ghost.disabled:hover,.ivu-btn-default.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-default.ivu-btn-ghost,fieldset[disabled] .ivu-btn-default.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-default.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-default.ivu-btn-ghost:focus,[disabled] .ivu-btn-default.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-primary.disabled,.ivu-btn-primary[disabled]{color:#7a7a7a}.ivu-btn-primary.disabled.active,.ivu-btn-primary[disabled].active,.ivu-btn-primary.disabled:active,.ivu-btn-primary[disabled]:active,.ivu-btn-primary.disabled:focus,.ivu-btn-primary[disabled]:focus,.ivu-btn-primary.disabled:hover,.ivu-btn-primary[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-primary,fieldset[disabled] .ivu-btn-primary.active,fieldset[disabled] .ivu-btn-primary:active{color:#7a7a7a}[disabled] .ivu-btn-primary:focus,[disabled] .ivu-btn-primary:hover{color:#7a7a7a}.ivu-btn-primary.ivu-btn-ghost.disabled,.ivu-btn-primary.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-primary.ivu-btn-ghost.disabled.active,.ivu-btn-primary.ivu-btn-ghost[disabled].active,.ivu-btn-primary.ivu-btn-ghost.disabled:active,.ivu-btn-primary.ivu-btn-ghost[disabled]:active,.ivu-btn-primary.ivu-btn-ghost.disabled:focus,.ivu-btn-primary.ivu-btn-ghost[disabled]:focus,.ivu-btn-primary.ivu-btn-ghost.disabled:hover,.ivu-btn-primary.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-primary.ivu-btn-ghost,fieldset[disabled] .ivu-btn-primary.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-primary.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-primary.ivu-btn-ghost:focus,[disabled] .ivu-btn-primary.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-dashed.disabled,.ivu-btn-dashed[disabled]{color:#7a7a7a}.ivu-btn-dashed.disabled.active,.ivu-btn-dashed[disabled].active,.ivu-btn-dashed.disabled:active,.ivu-btn-dashed[disabled]:active,.ivu-btn-dashed.disabled:focus,.ivu-btn-dashed[disabled]:focus,.ivu-btn-dashed.disabled:hover,.ivu-btn-dashed[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-dashed,fieldset[disabled] .ivu-btn-dashed.active,fieldset[disabled] .ivu-btn-dashed:active{color:#7a7a7a}[disabled] .ivu-btn-dashed:focus,[disabled] .ivu-btn-dashed:hover{color:#7a7a7a}.ivu-btn-dashed.ivu-btn-ghost.disabled,.ivu-btn-dashed.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-dashed.ivu-btn-ghost.disabled.active,.ivu-btn-dashed.ivu-btn-ghost[disabled].active,.ivu-btn-dashed.ivu-btn-ghost.disabled:active,.ivu-btn-dashed.ivu-btn-ghost[disabled]:active,.ivu-btn-dashed.ivu-btn-ghost.disabled:focus,.ivu-btn-dashed.ivu-btn-ghost[disabled]:focus,.ivu-btn-dashed.ivu-btn-ghost.disabled:hover,.ivu-btn-dashed.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-dashed.ivu-btn-ghost,fieldset[disabled] .ivu-btn-dashed.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-dashed.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-dashed.ivu-btn-ghost:focus,[disabled] .ivu-btn-dashed.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-text.disabled,.ivu-btn-text[disabled]{color:#7a7a7a}.ivu-btn-text.disabled.active,.ivu-btn-text[disabled].active,.ivu-btn-text.disabled:active,.ivu-btn-text[disabled]:active,.ivu-btn-text.disabled:focus,.ivu-btn-text[disabled]:focus,.ivu-btn-text.disabled:hover,.ivu-btn-text[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-text,fieldset[disabled] .ivu-btn-text.active,fieldset[disabled] .ivu-btn-text:active{color:#7a7a7a}[disabled] .ivu-btn-text:focus,[disabled] .ivu-btn-text:hover{color:#7a7a7a}.ivu-btn-text.ivu-btn-ghost.disabled,.ivu-btn-text.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-text.ivu-btn-ghost.disabled.active,.ivu-btn-text.ivu-btn-ghost[disabled].active,.ivu-btn-text.ivu-btn-ghost.disabled:active,.ivu-btn-text.ivu-btn-ghost[disabled]:active,.ivu-btn-text.ivu-btn-ghost.disabled:focus,.ivu-btn-text.ivu-btn-ghost[disabled]:focus,.ivu-btn-text.ivu-btn-ghost.disabled:hover,.ivu-btn-text.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-text.ivu-btn-ghost,fieldset[disabled] .ivu-btn-text.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-text.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-text.ivu-btn-ghost:focus,[disabled] .ivu-btn-text.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-info.disabled,.ivu-btn-info[disabled]{color:#7a7a7a}.ivu-btn-info.disabled.active,.ivu-btn-info[disabled].active,.ivu-btn-info.disabled:active,.ivu-btn-info[disabled]:active,.ivu-btn-info.disabled:focus,.ivu-btn-info[disabled]:focus,.ivu-btn-info.disabled:hover,.ivu-btn-info[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-info,fieldset[disabled] .ivu-btn-info.active,fieldset[disabled] .ivu-btn-info:active{color:#7a7a7a}[disabled] .ivu-btn-info:focus,[disabled] .ivu-btn-info:hover{color:#7a7a7a}.ivu-btn-info.ivu-btn-ghost.disabled,.ivu-btn-info.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-info.ivu-btn-ghost.disabled.active,.ivu-btn-info.ivu-btn-ghost[disabled].active,.ivu-btn-info.ivu-btn-ghost.disabled:active,.ivu-btn-info.ivu-btn-ghost[disabled]:active,.ivu-btn-info.ivu-btn-ghost.disabled:focus,.ivu-btn-info.ivu-btn-ghost[disabled]:focus,.ivu-btn-info.ivu-btn-ghost.disabled:hover,.ivu-btn-info.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-info.ivu-btn-ghost,fieldset[disabled] .ivu-btn-info.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-info.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-info.ivu-btn-ghost:focus,[disabled] .ivu-btn-info.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-success.disabled,.ivu-btn-success[disabled]{color:#7a7a7a}.ivu-btn-success.disabled.active,.ivu-btn-success[disabled].active,.ivu-btn-success.disabled:active,.ivu-btn-success[disabled]:active,.ivu-btn-success.disabled:focus,.ivu-btn-success[disabled]:focus,.ivu-btn-success.disabled:hover,.ivu-btn-success[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-success,fieldset[disabled] .ivu-btn-success.active,fieldset[disabled] .ivu-btn-success:active{color:#7a7a7a}[disabled] .ivu-btn-success:focus,[disabled] .ivu-btn-success:hover{color:#7a7a7a}.ivu-btn-success.ivu-btn-ghost.disabled,.ivu-btn-success.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-success.ivu-btn-ghost.disabled.active,.ivu-btn-success.ivu-btn-ghost[disabled].active,.ivu-btn-success.ivu-btn-ghost.disabled:active,.ivu-btn-success.ivu-btn-ghost[disabled]:active,.ivu-btn-success.ivu-btn-ghost.disabled:focus,.ivu-btn-success.ivu-btn-ghost[disabled]:focus,.ivu-btn-success.ivu-btn-ghost.disabled:hover,.ivu-btn-success.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-success.ivu-btn-ghost,fieldset[disabled] .ivu-btn-success.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-success.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-success.ivu-btn-ghost:focus,[disabled] .ivu-btn-success.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-warning.disabled,.ivu-btn-warning[disabled]{color:#7a7a7a}.ivu-btn-warning.disabled.active,.ivu-btn-warning[disabled].active,.ivu-btn-warning.disabled:active,.ivu-btn-warning[disabled]:active,.ivu-btn-warning.disabled:focus,.ivu-btn-warning[disabled]:focus,.ivu-btn-warning.disabled:hover,.ivu-btn-warning[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-warning,fieldset[disabled] .ivu-btn-warning.active,fieldset[disabled] .ivu-btn-warning:active{color:#7a7a7a}[disabled] .ivu-btn-warning:focus,[disabled] .ivu-btn-warning:hover{color:#7a7a7a}.ivu-btn-warning.ivu-btn-ghost.disabled,.ivu-btn-warning.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-warning.ivu-btn-ghost.disabled.active,.ivu-btn-warning.ivu-btn-ghost[disabled].active,.ivu-btn-warning.ivu-btn-ghost.disabled:active,.ivu-btn-warning.ivu-btn-ghost[disabled]:active,.ivu-btn-warning.ivu-btn-ghost.disabled:focus,.ivu-btn-warning.ivu-btn-ghost[disabled]:focus,.ivu-btn-warning.ivu-btn-ghost.disabled:hover,.ivu-btn-warning.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-warning.ivu-btn-ghost,fieldset[disabled] .ivu-btn-warning.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-warning.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-warning.ivu-btn-ghost:focus,[disabled] .ivu-btn-warning.ivu-btn-ghost:hover{color:#7a7a7a}.ivu-btn-error.disabled,.ivu-btn-error[disabled]{color:#7a7a7a}.ivu-btn-error.disabled.active,.ivu-btn-error[disabled].active,.ivu-btn-error.disabled:active,.ivu-btn-error[disabled]:active,.ivu-btn-error.disabled:focus,.ivu-btn-error[disabled]:focus,.ivu-btn-error.disabled:hover,.ivu-btn-error[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-error,fieldset[disabled] .ivu-btn-error.active,fieldset[disabled] .ivu-btn-error:active{color:#7a7a7a}[disabled] .ivu-btn-error:focus,[disabled] .ivu-btn-error:hover{color:#7a7a7a}.ivu-btn-error.ivu-btn-ghost.disabled,.ivu-btn-error.ivu-btn-ghost[disabled]{color:#7a7a7a}.ivu-btn-error.ivu-btn-ghost.disabled.active,.ivu-btn-error.ivu-btn-ghost[disabled].active,.ivu-btn-error.ivu-btn-ghost.disabled:active,.ivu-btn-error.ivu-btn-ghost[disabled]:active,.ivu-btn-error.ivu-btn-ghost.disabled:focus,.ivu-btn-error.ivu-btn-ghost[disabled]:focus,.ivu-btn-error.ivu-btn-ghost.disabled:hover,.ivu-btn-error.ivu-btn-ghost[disabled]:hover{color:#7a7a7a}fieldset[disabled] .ivu-btn-error.ivu-btn-ghost,fieldset[disabled] .ivu-btn-error.ivu-btn-ghost.active,fieldset[disabled] .ivu-btn-error.ivu-btn-ghost:active{color:#7a7a7a}[disabled] .ivu-btn-error.ivu-btn-ghost:focus,[disabled] .ivu-btn-error.ivu-btn-ghost:hover{color:#7a7a7a}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import r from "view-ui-plus";
|
|
2
|
+
r.InputNumber.props.modelValue.default = null;
|
|
3
|
+
r.InputNumber.props.unset = {
|
|
4
|
+
type: Number,
|
|
5
|
+
default: null
|
|
6
|
+
};
|
|
7
|
+
r.InputNumber.methods.change = function(e) {
|
|
8
|
+
if (e.type === "change" && this.activeChange || e.type === "input" && !this.activeChange) return;
|
|
9
|
+
let t = e.target.value.trim();
|
|
10
|
+
if (this.parser && (t = this.parser(t)), t.length === 0) {
|
|
11
|
+
this.setValue(this.unset);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
e.type === "input" && t.match(/^\-?\.?$|\.$/) || (t = Number(t), isNaN(t) ? e.target.value = this.currentValue : (this.currentValue = t, this.setValue(t)));
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import i from "view-ui-plus";
|
|
2
|
+
i.Select.watch.visible = function(t) {
|
|
3
|
+
t && (this.filterQueryChange = !1), this.$emit("on-open-change", t);
|
|
4
|
+
};
|
|
5
|
+
const e = i.Option.computed.isShow;
|
|
6
|
+
i.Option.computed.isShow = function() {
|
|
7
|
+
return this.SelectInstance.dropVisible || e.call(this);
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "view-ui-plus";
|
|
2
|
+
const i = e.Table.watch.data.handler;
|
|
3
|
+
e.Table.watch.data.handler = function(s) {
|
|
4
|
+
i.call(this, s), setTimeout(() => {
|
|
5
|
+
const t = this.$refs.body;
|
|
6
|
+
t && ((this.$refs.header && this.$refs.header.scrollLeft) !== t.scrollLeft || this.isRightFixed && this.$refs.fixedRightBody.scrollTop !== t.scrollTop || this.isLeftFixed && this.$refs.fixedBody.scrollTop !== t.scrollTop) && t.dispatchEvent(new Event("scroll"));
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
d: {
|
|
3
|
+
lang: 'en-US',
|
|
4
|
+
allCheckbox: {
|
|
5
|
+
title: 'All'
|
|
6
|
+
},
|
|
7
|
+
countRange: {
|
|
8
|
+
minHolder: 'min',
|
|
9
|
+
maxHolder: 'max'
|
|
10
|
+
},
|
|
11
|
+
curdTable: {
|
|
12
|
+
actionText: 'action',
|
|
13
|
+
addText: 'add',
|
|
14
|
+
del: 'del'
|
|
15
|
+
},
|
|
16
|
+
dateRange: {
|
|
17
|
+
beginHolder: 'start from',
|
|
18
|
+
endHolder: 'end at'
|
|
19
|
+
},
|
|
20
|
+
dCalendar: {
|
|
21
|
+
mini: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
22
|
+
short: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
23
|
+
long: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
|
|
24
|
+
},
|
|
25
|
+
modalFooter: {
|
|
26
|
+
ok: 'OK',
|
|
27
|
+
cancel: 'Cancel'
|
|
28
|
+
},
|
|
29
|
+
pageTable: {
|
|
30
|
+
title: 'List',
|
|
31
|
+
reload: 'Reload',
|
|
32
|
+
maxmize: 'Maxmize',
|
|
33
|
+
restore: 'Restore'
|
|
34
|
+
},
|
|
35
|
+
toggleColumn: {
|
|
36
|
+
title: 'column',
|
|
37
|
+
checkAll: 'All'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
d: {
|
|
3
|
+
lang: "zh-CN",
|
|
4
|
+
allCheckbox: {
|
|
5
|
+
title: "全选"
|
|
6
|
+
},
|
|
7
|
+
countRange: {
|
|
8
|
+
minHolder: "最小值",
|
|
9
|
+
maxHolder: "最大值"
|
|
10
|
+
},
|
|
11
|
+
curdTable: {
|
|
12
|
+
actionText: "操作",
|
|
13
|
+
addText: "新增",
|
|
14
|
+
del: "删除"
|
|
15
|
+
},
|
|
16
|
+
dateRange: {
|
|
17
|
+
beginHolder: "开始时间",
|
|
18
|
+
endHolder: "结束时间"
|
|
19
|
+
},
|
|
20
|
+
dCalendar: {
|
|
21
|
+
mini: ["日", "一", "二", "三", "四", "五", "六"],
|
|
22
|
+
short: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
|
23
|
+
long: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]
|
|
24
|
+
// Mon: '一',
|
|
25
|
+
// Tue: '二',
|
|
26
|
+
// Wed: '三',
|
|
27
|
+
// Thu: '四',
|
|
28
|
+
// Fri: '五',
|
|
29
|
+
// Sat: '六',
|
|
30
|
+
// Sun: '日',
|
|
31
|
+
// shortMon: '周一',
|
|
32
|
+
// shortTue: '周二',
|
|
33
|
+
// shortWed: '周三',
|
|
34
|
+
// shortThu: '周四',
|
|
35
|
+
// shortFri: '周五',
|
|
36
|
+
// shortSat: '周六',
|
|
37
|
+
// shortSun: '周日',
|
|
38
|
+
// longMon: '星期一',
|
|
39
|
+
// longTue: '星期二',
|
|
40
|
+
// longWed: '星期三',
|
|
41
|
+
// longThu: '星期四',
|
|
42
|
+
// longFri: '星期五',
|
|
43
|
+
// longSat: '星期六',
|
|
44
|
+
// longSun: '星期日'
|
|
45
|
+
},
|
|
46
|
+
modalFooter: {
|
|
47
|
+
ok: "确定",
|
|
48
|
+
cancel: "取消"
|
|
49
|
+
},
|
|
50
|
+
pageTable: {
|
|
51
|
+
title: "列表",
|
|
52
|
+
reload: "刷新",
|
|
53
|
+
maxmize: "最大化",
|
|
54
|
+
restore: "还原"
|
|
55
|
+
},
|
|
56
|
+
toggleColumn: {
|
|
57
|
+
title: "列",
|
|
58
|
+
checkAll: "全选"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
e as default
|
|
64
|
+
};
|
package/dist/style.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.combi{display:inline-table;vertical-align:middle}.combi-cell{display:table-cell}.combi-cell>[class^=ivu-]{vertical-align:top}.combi-cell .ivu-date-picker .ivu-input{z-index:0}.combi-cell.with-append>[class^=ivu-],.combi-cell.with-append>.ivu-date-picker .ivu-input,.combi-cell.with-append>.ivu-select .ivu-select-selection{border-top-right-radius:0;border-bottom-right-radius:0}.combi-cell.with-prepend>[class^=ivu-],.combi-cell.with-prepend>.ivu-date-picker .ivu-input,.combi-cell.with-prepend>.ivu-select .ivu-select-selection{border-top-left-radius:0;border-bottom-left-radius:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.count-range{display:inline-flex;width:100%;vertical-align:middle}.count-range>.ivu-input-number{width:50%;flex:1}.count-range>.ivu-input-number:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.count-range>.ivu-input-number:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.count-range-joiner{width:10px;background:#dcdee2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.date-range{display:inline-flex;width:100%;vertical-align:middle}.date-range>.ivu-date-picker{width:50%;flex:1}.date-range>.ivu-date-picker:first-child>.ivu-date-picker-rel .ivu-input{border-top-right-radius:0;border-bottom-right-radius:0}.date-range>.ivu-date-picker:last-child>.ivu-date-picker-rel .ivu-input{border-top-left-radius:0;border-bottom-left-radius:0}.date-range-joiner{width:10px;background:#dcdee2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.mcalendar{position:relative;color:#333}.mcalendar-title{flex-basis:14.2857%;max-width:14.2857%;padding:10px 0;line-height:1;text-align:center;background:#efefef}.mcalendar-title.weekend{color:#fff;background:coral}.mcalendar-cell{flex-basis:14.2857%;max-width:14.2857%;min-height:100px;padding:5px;border-bottom:1px solid #f5f5f5;border-left:1px solid #f5f5f5;word-break:break-all;transition:border-color .15s ease-out,background-color .15s ease-out}.mcalendar-cell:nth-child(7n){border-right:1px solid #f5f5f5}.mcalendar-cell.outer:not(.in-range){color:#aaa}.mcalendar-cell.in-range{border-color:#e6eafd;background-color:#e6eafd}.mcalendar-cell.range-start,.mcalendar-cell.range-end{border-color:#b9c6ff;background-color:#b9c6ff}.mcalendar-cell_today{background-color:#f2faff}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body.clip{overflow:hidden}.page-table-bordered{border:1px solid #e8eaec;border-radius:4px}.page-table-bordered .page-table-list{padding:15px}.page-table-bordered .page-table-header{border-bottom:1px solid #e8eaec;padding-left:15px;padding-right:15px}.page-table-maximized{background:#fff;border-radius:0}.page-table-maximized:fullscreen{padding:10px}.page-table-maximized:not(.page-table-fullscreen){position:fixed;inset:0;z-index:999}.page-table-header{padding:10px 0}.page-table-header-title{font-size:16px}.page-table-header .toggle-column{vertical-align:top}.page-table-header .toggle-column>.ivu-dropdown-rel,.page-table-header .toggle-column .ivu-icon{vertical-align:top}.page-table-action{vertical-align:top;cursor:pointer}.page-table-action:not(:last-child){margin-right:10px}.page-table-action>.ivu-tooltip-rel{vertical-align:top}.page-table-action>.ivu-tooltip-rel>.ivu-icon{vertical-align:top}.page-table-page-right{margin-top:10px;text-align:right}.page-table-mr0 .ivu-checkbox-wrapper{margin-right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.toggle-column-list{max-height:400px;max-height:60vh;overflow:auto;-webkit-user-select:none;user-select:none}.toggle-column-btn .ivu-icon{line-height:1;font-size:16px}.toggle-column-btn .ivu-icon+span{display:none}.toggle-column-pop{text-align:left}
|
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "view-ui-plus-derive",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "基于view-ui-plus的组件等扩展",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"view-ui-plus component",
|
|
8
|
+
"vue component",
|
|
9
|
+
"typescript"
|
|
10
|
+
],
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"module": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./locale/*": {
|
|
20
|
+
"types": "./dist/locale/index.d.ts",
|
|
21
|
+
"import": "./dist/locale/*.js"
|
|
22
|
+
},
|
|
23
|
+
"./iview-mods/*": {
|
|
24
|
+
"types": "./dist/iview-mods/index.d.ts",
|
|
25
|
+
"import": "./dist/iview-mods/*.js"
|
|
26
|
+
},
|
|
27
|
+
"./iview-mod": "./dist/iview-mod.js",
|
|
28
|
+
"./iview-mod.css": "./dist/iview-mod.css",
|
|
29
|
+
"./style": "./dist/style.js",
|
|
30
|
+
"./styles/*": "./dist/styles/*"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"prepare": "husky",
|
|
37
|
+
"release": "commit-and-tag-version",
|
|
38
|
+
"dev": "vite",
|
|
39
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
40
|
+
"preview": "vite preview",
|
|
41
|
+
"test:unit": "vitest",
|
|
42
|
+
"build-only": "vite build",
|
|
43
|
+
"type-check": "vue-tsc --build",
|
|
44
|
+
"lint": "eslint . --fix",
|
|
45
|
+
"format": "prettier --write src/",
|
|
46
|
+
"prepublishOnly": "npm run build && npm run release"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"registry": "https://registry.npmjs.org"
|
|
50
|
+
},
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "git+https://github.com/Xli33/view-ui-plus-derive.git"
|
|
54
|
+
},
|
|
55
|
+
"author": "Xli33",
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/Xli33/view-ui-plus-derive/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://github.com/Xli33/view-ui-plus-derive#readme",
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"dayjs": "^1.11.13",
|
|
63
|
+
"utils-where": "^0.3.7"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@commitlint/cli": "^19.8.1",
|
|
67
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
68
|
+
"@tsconfig/node22": "^22.0.2",
|
|
69
|
+
"@types/jsdom": "^21.1.7",
|
|
70
|
+
"@types/node": "^24.3.0",
|
|
71
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
72
|
+
"@vitejs/plugin-vue-jsx": "^5.1.0",
|
|
73
|
+
"@vitest/eslint-plugin": "1.3.4",
|
|
74
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
75
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
76
|
+
"@vue/test-utils": "^2.4.6",
|
|
77
|
+
"@vue/tsconfig": "^0.8.1",
|
|
78
|
+
"commit-and-tag-version": "^12.5.2",
|
|
79
|
+
"dayjs": "^1.11.13",
|
|
80
|
+
"eslint": "^9.34.0",
|
|
81
|
+
"eslint-plugin-vue": "^10.4.0",
|
|
82
|
+
"husky": "^9.1.7",
|
|
83
|
+
"jiti": "^2.5.1",
|
|
84
|
+
"jsdom": "^26.1.0",
|
|
85
|
+
"less": "^4.4.1",
|
|
86
|
+
"npm-run-all2": "^8.0.4",
|
|
87
|
+
"prettier": "^3.6.2",
|
|
88
|
+
"typescript": "~5.9.2",
|
|
89
|
+
"utils-where": "^0.3.7",
|
|
90
|
+
"view-ui-plus": "^1.3.20",
|
|
91
|
+
"vite": "^7.1.3",
|
|
92
|
+
"vite-plugin-dts": "^4.5.4",
|
|
93
|
+
"vite-plugin-vue-devtools": "^8.0.1",
|
|
94
|
+
"vitest": "^3.2.4",
|
|
95
|
+
"vue": "^3.5.20",
|
|
96
|
+
"vue-tsc": "^3.0.6"
|
|
97
|
+
}
|
|
98
|
+
}
|