tntd 3.0.67 → 3.0.68-beta.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/es/anchor/anchor.less +3 -3
- package/es/form/style/index.less +5 -5
- package/es/index.js +7 -0
- package/es/index.js.map +1 -1
- package/es/index.less +0 -1
- package/es/prev-locale.js +4 -2
- package/es/prev-locale.js.map +1 -1
- package/es/query-form/Field/Checkbox.js +1 -1
- package/es/query-form/Field/Checkbox.js.map +1 -1
- package/es/query-form/Field/Composition/FieldPopover.js +13 -109
- package/es/query-form/Field/Composition/Select.js +13 -109
- package/es/query-form/Field/Composition/SelectInput.js +10 -87
- package/es/query-form/Field/Composition/ValueTag.js +10 -87
- package/es/query-form/Field/Composition/index.js +17 -121
- package/es/query-form/Field/Composition/utils.js +1 -5
- package/es/query-form/Field/SelectInput.js +16 -12
- package/es/query-form/Field/SelectInput.js.map +1 -1
- package/es/query-form/Field/fieldsMap.js +2 -2
- package/es/query-form/Field/fieldsMap.js.map +1 -1
- package/es/query-form/Field/index.js +2 -1
- package/es/query-form/Field/index.js.map +1 -1
- package/es/query-form/index.js +226 -357
- package/es/query-form/index.js.map +1 -1
- package/es/query-form/index.less +26 -77
- package/es/query-list-scene/List.js +16 -3
- package/es/query-list-scene/List.js.map +1 -1
- package/es/query-list-scene/QueryForm.js +35 -13
- package/es/query-list-scene/QueryForm.js.map +1 -1
- package/es/query-list-scene/index.js +2 -1
- package/es/query-list-scene/index.js.map +1 -1
- package/es/scroll-bar/ScrollBar.js +8 -5
- package/es/scroll-bar/ScrollBar.js.map +1 -1
- package/es/table/hooks/use-column-setting.js.map +1 -1
- package/es/table/resizableTable/index.less +1 -1
- package/es/table/table.js +8 -2
- package/es/table/table.js.map +1 -1
- package/es/tntd-checkbox-select/index.js +263 -0
- package/es/tntd-checkbox-select/index.js.map +1 -0
- package/es/tntd-checkbox-select/index.less +68 -0
- package/es/tntd-select/index.js.map +1 -1
- package/es/tntd-virtual-tree/index.js +0 -3
- package/es/tntd-virtual-tree/index.js.map +1 -1
- package/lib/anchor/anchor.less +3 -3
- package/lib/form/style/index.less +5 -5
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/index.less +0 -1
- package/lib/prev-locale.d.ts +3 -0
- package/lib/prev-locale.d.ts.map +1 -1
- package/lib/prev-locale.js +4 -2
- package/lib/prev-locale.js.map +1 -1
- package/lib/query-form/Field/Checkbox.js +1 -1
- package/lib/query-form/Field/Checkbox.js.map +1 -1
- package/lib/query-form/Field/SelectInput.d.ts.map +1 -1
- package/lib/query-form/Field/SelectInput.js +16 -12
- package/lib/query-form/Field/SelectInput.js.map +1 -1
- package/lib/query-form/Field/fieldsMap.d.ts +6 -3
- package/lib/query-form/Field/fieldsMap.d.ts.map +1 -1
- package/lib/query-form/Field/fieldsMap.js +2 -2
- package/lib/query-form/Field/fieldsMap.js.map +1 -1
- package/lib/query-form/Field/index.d.ts.map +1 -1
- package/lib/query-form/Field/index.js +2 -1
- package/lib/query-form/Field/index.js.map +1 -1
- package/lib/query-form/index.d.ts +1 -36
- package/lib/query-form/index.d.ts.map +1 -1
- package/lib/query-form/index.js +262 -397
- package/lib/query-form/index.js.map +1 -1
- package/lib/query-form/index.less +26 -77
- package/lib/query-list-scene/List.d.ts.map +1 -1
- package/lib/query-list-scene/List.js +16 -3
- package/lib/query-list-scene/List.js.map +1 -1
- package/lib/query-list-scene/QueryForm.d.ts +5 -4
- package/lib/query-list-scene/QueryForm.d.ts.map +1 -1
- package/lib/query-list-scene/QueryForm.js +35 -13
- package/lib/query-list-scene/QueryForm.js.map +1 -1
- package/lib/query-list-scene/index.d.ts.map +1 -1
- package/lib/query-list-scene/index.js +2 -1
- package/lib/query-list-scene/index.js.map +1 -1
- package/lib/scroll-bar/ScrollBar.js +8 -5
- package/lib/scroll-bar/ScrollBar.js.map +1 -1
- package/lib/table/hooks/use-column-setting.d.ts +1 -0
- package/lib/table/hooks/use-column-setting.d.ts.map +1 -1
- package/lib/table/hooks/use-column-setting.js.map +1 -1
- package/lib/table/resizableTable/index.less +1 -1
- package/lib/table/table.d.ts.map +1 -1
- package/lib/table/table.js +8 -2
- package/lib/table/table.js.map +1 -1
- package/lib/tntd-checkbox-select/index.d.ts +12 -0
- package/lib/tntd-checkbox-select/index.d.ts.map +1 -0
- package/lib/tntd-checkbox-select/index.js +348 -0
- package/lib/tntd-checkbox-select/index.js.map +1 -0
- package/lib/tntd-checkbox-select/index.less +68 -0
- package/lib/tntd-select/index.d.ts.map +1 -1
- package/lib/tntd-select/index.js.map +1 -1
- package/lib/tntd-virtual-tree/index.js +0 -3
- package/lib/tntd-virtual-tree/index.js.map +1 -1
- package/package.json +3 -2
- package/es/query-form-backup/Field/Composition/FieldPopover.less +0 -35
- package/es/query-form-backup/Field/Composition/index.less +0 -114
- package/es/query-form-backup/index.less +0 -90
- package/lib/query-form-backup/Field/Composition/FieldPopover.less +0 -35
- package/lib/query-form-backup/Field/Composition/index.less +0 -114
- package/lib/query-form-backup/index.less +0 -90
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
@import '../../../style/themes/index';
|
|
2
|
-
@import '../../../style/mixins/index';
|
|
3
|
-
@import '../../../input/style/mixin';
|
|
4
|
-
|
|
5
|
-
.tnt-queryform-composition-input {
|
|
6
|
-
// width: 100%;
|
|
7
|
-
max-height: 162px;
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
cursor: text;
|
|
10
|
-
padding: 2px @padding-xl;
|
|
11
|
-
position: relative;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
background-color: @select-background;
|
|
14
|
-
border: @border-width-base @border-style-base @select-border-color;
|
|
15
|
-
border-top-width: calc(@border-width-base + 0.02px);
|
|
16
|
-
border-radius: @border-radius-base;
|
|
17
|
-
outline: none;
|
|
18
|
-
transition: all 0.3s @ease-in-out;
|
|
19
|
-
user-select: none;
|
|
20
|
-
margin-bottom: @margin-sm;
|
|
21
|
-
|
|
22
|
-
&-prefix {
|
|
23
|
-
position: absolute;
|
|
24
|
-
left: @padding-sm;
|
|
25
|
-
top: 50%;
|
|
26
|
-
transform: translateY(-50%);
|
|
27
|
-
i.anticon {
|
|
28
|
-
color: tint(@bg-color-spotilight, 50%);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-width {
|
|
33
|
-
height: 0;
|
|
34
|
-
opacity: 0;
|
|
35
|
-
width: auto;
|
|
36
|
-
position: absolute;
|
|
37
|
-
max-width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-items {
|
|
41
|
-
float: left;
|
|
42
|
-
padding: 0;
|
|
43
|
-
list-style: none;
|
|
44
|
-
margin: 0;
|
|
45
|
-
width: 100%;
|
|
46
|
-
&-item {
|
|
47
|
-
padding: 3px 0;
|
|
48
|
-
}
|
|
49
|
-
li {
|
|
50
|
-
float: left;
|
|
51
|
-
line-height: 1;
|
|
52
|
-
}
|
|
53
|
-
&-input {
|
|
54
|
-
.inputClass {
|
|
55
|
-
background: none;
|
|
56
|
-
border: none !important;
|
|
57
|
-
outline: none;
|
|
58
|
-
box-shadow: none !important;
|
|
59
|
-
width: 150px !important;
|
|
60
|
-
height: 26px;
|
|
61
|
-
line-height: 26px;
|
|
62
|
-
padding: 0;
|
|
63
|
-
input {
|
|
64
|
-
border: none !important;
|
|
65
|
-
outline: none !important;
|
|
66
|
-
box-shadow: none !important;
|
|
67
|
-
height: 26px;
|
|
68
|
-
line-height: 26px;
|
|
69
|
-
padding: 0;
|
|
70
|
-
}
|
|
71
|
-
textarea {
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
.inputClass-with-placeholder {
|
|
76
|
-
min-width: 398px !important;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
&-clear {
|
|
81
|
-
position: absolute;
|
|
82
|
-
right: @margin-sm;
|
|
83
|
-
top: 50%;
|
|
84
|
-
transform: translateY(-50%);
|
|
85
|
-
display: none;
|
|
86
|
-
i.anticon {
|
|
87
|
-
color: tint(@bg-color-spotilight, 50%);
|
|
88
|
-
}
|
|
89
|
-
&:hover {
|
|
90
|
-
.anticon {
|
|
91
|
-
color: @text-color-secondary !important;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
&:hover {
|
|
96
|
-
border-color: @blue-6;
|
|
97
|
-
outline: 0;
|
|
98
|
-
.tnt-queryform-composition-input-clear {
|
|
99
|
-
display: block;
|
|
100
|
-
}
|
|
101
|
-
// box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
|
|
102
|
-
}
|
|
103
|
-
&:focus,
|
|
104
|
-
&:active {
|
|
105
|
-
border-color: @blue-5;
|
|
106
|
-
outline: 0;
|
|
107
|
-
// box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
|
|
108
|
-
}
|
|
109
|
-
.ant-tag {
|
|
110
|
-
padding: 0 @padding-xs;
|
|
111
|
-
border: none;
|
|
112
|
-
background: @fill-color-tertiary;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
.tnt-queryform {
|
|
2
|
-
&-top {
|
|
3
|
-
display: flex;
|
|
4
|
-
&-body {
|
|
5
|
-
flex: 1;
|
|
6
|
-
.ant-btn {
|
|
7
|
-
margin-right: 10px;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-extra {
|
|
13
|
-
& > * {
|
|
14
|
-
margin-left: 10px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ant-form {
|
|
19
|
-
// margin-bottom: @margin-sm;
|
|
20
|
-
&.ant-form-inline {
|
|
21
|
-
flex-wrap: unset;
|
|
22
|
-
position: relative;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.ant-form-inline .ant-form-item {
|
|
26
|
-
margin-right: 10px;
|
|
27
|
-
margin-bottom: @margin-sm;
|
|
28
|
-
display: inline-block;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ant-form-item-control {
|
|
32
|
-
// min-width: 160px;
|
|
33
|
-
line-height: unset;
|
|
34
|
-
.ant-calendar-picker-input {
|
|
35
|
-
padding: 0 @padding-sm;
|
|
36
|
-
}
|
|
37
|
-
.ant-form-item-children {
|
|
38
|
-
& > .ant-input,
|
|
39
|
-
& > .ant-input-affix-wrapper {
|
|
40
|
-
width: 160px;
|
|
41
|
-
// width: 200px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-drawer {
|
|
48
|
-
margin-top: @margin-xxl;
|
|
49
|
-
&.large-size {
|
|
50
|
-
margin-top: 60px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.ant-drawer.ant-drawer-open {
|
|
54
|
-
.ant-drawer-mask {
|
|
55
|
-
opacity: 0;
|
|
56
|
-
background: unset;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.ant-drawer-body {
|
|
60
|
-
.ant-form-item {
|
|
61
|
-
display: block;
|
|
62
|
-
margin-right: 0;
|
|
63
|
-
margin-bottom: @margin-md;
|
|
64
|
-
width: 100%;
|
|
65
|
-
}
|
|
66
|
-
.ant-form-item-label {
|
|
67
|
-
display: block;
|
|
68
|
-
text-align: left;
|
|
69
|
-
line-height: 22px;
|
|
70
|
-
margin-bottom: 10px;
|
|
71
|
-
}
|
|
72
|
-
.ant-form-item-control-wrapper,
|
|
73
|
-
.ant-form-item-control,
|
|
74
|
-
.ant-calendar-picker,
|
|
75
|
-
.ant-input {
|
|
76
|
-
min-width: 100%;
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
& > .ant-btn {
|
|
81
|
-
display: block;
|
|
82
|
-
width: 100%;
|
|
83
|
-
margin-bottom: 10px;
|
|
84
|
-
&.ant-btn-primary {
|
|
85
|
-
margin-top: @margin-md;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|