@kdcloudjs/table 1.2.2-canary.19 → 1.2.2-canary.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.
Files changed (69) hide show
  1. package/LICENSE +568 -568
  2. package/README.md +111 -111
  3. package/dist/@kdcloudjs/table.css +1 -1
  4. package/dist/@kdcloudjs/table.js +760 -530
  5. package/dist/@kdcloudjs/table.js.map +1 -1
  6. package/dist/kd-ui-complete.less +777 -777
  7. package/es/_utils/usePopper.d.ts +1 -1
  8. package/es/style/color/colors.less +1 -1
  9. package/es/style/core/index.less +1 -1
  10. package/es/style/core/motion/other.less +27 -27
  11. package/es/style/core/motion/slide.less +53 -53
  12. package/es/style/core/motion.less +1 -1
  13. package/es/style/core/reset.less +185 -185
  14. package/es/style/index.less +1 -1
  15. package/es/style/mixins/index.less +18 -18
  16. package/es/style/mixins/overlay.less +21 -21
  17. package/es/style/mixins/reset.less +12 -12
  18. package/es/style/themes/default.less +445 -445
  19. package/es/table/base/colgroup.d.ts +2 -2
  20. package/es/table/base/empty.d.ts +1 -1
  21. package/es/table/base/globalStyleComponent.d.ts +2 -2
  22. package/es/table/base/header.d.ts +2 -2
  23. package/es/table/base/html-table.d.ts +2 -2
  24. package/es/table/base/loading.d.ts +1 -1
  25. package/es/table/base/table.d.ts +1 -1
  26. package/es/table/common-views.d.ts +4 -4
  27. package/es/table/internals.d.ts +1 -2
  28. package/es/table/pipeline/features/colGroupExtendable.js +17 -4
  29. package/es/table/pipeline/features/filter/DefaultFilterContent.d.ts +2 -2
  30. package/es/table/pipeline/features/filter/DefaultFilterIcon.d.ts +2 -2
  31. package/es/table/pipeline/features/filter/Filter.d.ts +1 -1
  32. package/es/table/pipeline/features/filter/FilterPanel.d.ts +2 -2
  33. package/es/table/pivot/cross-table/cross-table.d.ts +1 -1
  34. package/es/table/pivot/cross-tree-table/cross-tree-table.d.ts +1 -1
  35. package/es/table/style/index.less +1 -1
  36. package/lib/_utils/usePopper.d.ts +1 -1
  37. package/lib/style/color/colors.less +1 -1
  38. package/lib/style/components.less +1 -1
  39. package/lib/style/core/index.less +1 -1
  40. package/lib/style/core/motion/other.less +27 -27
  41. package/lib/style/core/motion/slide.less +53 -53
  42. package/lib/style/core/motion.less +1 -1
  43. package/lib/style/core/reset.less +185 -185
  44. package/lib/style/index.less +1 -1
  45. package/lib/style/mixins/index.less +18 -18
  46. package/lib/style/mixins/overlay.less +21 -21
  47. package/lib/style/mixins/reset.less +12 -12
  48. package/lib/style/themes/default.less +445 -445
  49. package/lib/table/base/colgroup.d.ts +2 -2
  50. package/lib/table/base/empty.d.ts +1 -1
  51. package/lib/table/base/globalStyleComponent.d.ts +2 -2
  52. package/lib/table/base/header.d.ts +2 -2
  53. package/lib/table/base/html-table.d.ts +2 -2
  54. package/lib/table/base/loading.d.ts +1 -1
  55. package/lib/table/base/table.d.ts +1 -1
  56. package/lib/table/common-views.d.ts +4 -4
  57. package/lib/table/internals.d.ts +1 -2
  58. package/lib/table/pipeline/features/colGroupExtendable.js +17 -4
  59. package/lib/table/pipeline/features/filter/DefaultFilterContent.d.ts +2 -2
  60. package/lib/table/pipeline/features/filter/DefaultFilterIcon.d.ts +2 -2
  61. package/lib/table/pipeline/features/filter/Filter.d.ts +1 -1
  62. package/lib/table/pipeline/features/filter/FilterPanel.d.ts +2 -2
  63. package/lib/table/pivot/cross-table/cross-table.d.ts +1 -1
  64. package/lib/table/pivot/cross-tree-table/cross-tree-table.d.ts +1 -1
  65. package/lib/table/style/index.less +1 -1
  66. package/package.json +219 -219
  67. package/dist/@kdcloudjs/table.min.css +0 -9
  68. package/dist/@kdcloudjs/table.min.js +0 -209
  69. package/dist/@kdcloudjs/table.min.js.map +0 -1
@@ -1,186 +1,186 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
-
3
- /* normalize.css 和现有产品的结合版本, 根据兼容性进行了调整 */
4
- /* Document
5
- ========================================================================== */
6
-
7
- /* Sections
8
- ========================================================================== */
9
-
10
- /**
11
- * Remove the margin in all browsers.
12
- */
13
- html,body {
14
- height: 100%;
15
- padding: 0;
16
- margin: 0;
17
- font-size:12px;
18
-
19
- }
20
-
21
- html,body,input, textarea, select, button{
22
- font-family:"Microsoft YaHei","PingFangSC-Regular","Helvetica Neue", Helvetica, Arial,"Hiragino Sans GB","WenQuanYi Micro Hei", sans-serif;
23
- }
24
-
25
- body {
26
- box-sizing: border-box;
27
- }
28
-
29
- /**
30
- * Remove the gray background on active links in IE 10.
31
- */
32
-
33
- a {
34
- background-color: transparent;
35
- }
36
-
37
-
38
- /* Forms
39
- ========================================================================== */
40
-
41
- /**
42
- */
43
- input {
44
- padding: 0;
45
- margin: 0;
46
- }
47
- /**
48
- * 1. Change the font styles in all browsers.
49
- * 2. Remove the margin in Firefox and Safari.
50
- */
51
-
52
- button,
53
- input,
54
- optgroup,
55
- select,
56
- textarea {
57
- margin: 0; /* 2 */
58
- }
59
-
60
- /**
61
- * Show the overflow in IE.
62
- * 1. Show the overflow in Edge.
63
- */
64
-
65
- button,
66
- input { /* 1 */
67
- overflow: visible;
68
- }
69
-
70
- /**
71
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
72
- * 1. Remove the inheritance of text transform in Firefox.
73
- */
74
-
75
- button,
76
- select { /* 1 */
77
- text-transform: none;
78
- }
79
-
80
- /**
81
- * Correct the inability to style clickable types in iOS and Safari.
82
- */
83
-
84
- button,
85
- [type="button"],
86
- [type="reset"],
87
- [type="submit"] {
88
- -webkit-appearance: button;
89
- }
90
-
91
- /**
92
- * Remove the inner border and padding in Firefox.
93
- */
94
-
95
- button::-moz-focus-inner,
96
- [type="button"]::-moz-focus-inner,
97
- [type="reset"]::-moz-focus-inner,
98
- [type="submit"]::-moz-focus-inner {
99
- border-style: none;
100
- padding: 0;
101
- }
102
-
103
- /**
104
- * Restore the focus styles unset by the previous rule.
105
- */
106
-
107
- button:-moz-focusring,
108
- [type="button"]:-moz-focusring,
109
- [type="reset"]:-moz-focusring,
110
- [type="submit"]:-moz-focusring {
111
- outline: 1px dotted ButtonText;
112
- }
113
-
114
- /**
115
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
116
- */
117
-
118
- progress {
119
- vertical-align: baseline;
120
- }
121
-
122
- /**
123
- * Remove the default vertical scrollbar in IE 10+.
124
- */
125
-
126
- textarea {
127
- overflow: auto;
128
- }
129
-
130
- /**
131
- * 1. Add the correct box sizing in IE 10.
132
- * 2. Remove the padding in IE 10.
133
- */
134
-
135
- [type="checkbox"],
136
- [type="radio"] {
137
- box-sizing: border-box; /* 1 */
138
- padding: 0; /* 2 */
139
- }
140
-
141
- /**
142
- * Correct the cursor style of increment and decrement buttons in Chrome.
143
- */
144
-
145
- [type="number"]::-webkit-inner-spin-button,
146
- [type="number"]::-webkit-outer-spin-button {
147
- height: auto;
148
- }
149
-
150
- /**
151
- * 1. Correct the odd appearance in Chrome and Safari.
152
- * 2. Correct the outline style in Safari.
153
- */
154
-
155
- [type="search"] {
156
- -webkit-appearance: textfield; /* 1 */
157
- outline-offset: -2px; /* 2 */
158
- }
159
-
160
- /**
161
- * Remove the inner padding in Chrome and Safari on macOS.
162
- */
163
-
164
- [type="search"]::-webkit-search-decoration {
165
- -webkit-appearance: none;
166
- }
167
-
168
-
169
- /* Misc
170
- ========================================================================== */
171
-
172
- /**
173
- * Add the correct display in IE 10+.
174
- */
175
-
176
- template {
177
- display: none;
178
- }
179
-
180
- /**
181
- * Add the correct display in IE 10.
182
- */
183
-
184
- [hidden] {
185
- display: none;
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* normalize.css 和现有产品的结合版本, 根据兼容性进行了调整 */
4
+ /* Document
5
+ ========================================================================== */
6
+
7
+ /* Sections
8
+ ========================================================================== */
9
+
10
+ /**
11
+ * Remove the margin in all browsers.
12
+ */
13
+ html,body {
14
+ height: 100%;
15
+ padding: 0;
16
+ margin: 0;
17
+ font-size:12px;
18
+
19
+ }
20
+
21
+ html,body,input, textarea, select, button{
22
+ font-family:"Microsoft YaHei","PingFangSC-Regular","Helvetica Neue", Helvetica, Arial,"Hiragino Sans GB","WenQuanYi Micro Hei", sans-serif;
23
+ }
24
+
25
+ body {
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ /**
30
+ * Remove the gray background on active links in IE 10.
31
+ */
32
+
33
+ a {
34
+ background-color: transparent;
35
+ }
36
+
37
+
38
+ /* Forms
39
+ ========================================================================== */
40
+
41
+ /**
42
+ */
43
+ input {
44
+ padding: 0;
45
+ margin: 0;
46
+ }
47
+ /**
48
+ * 1. Change the font styles in all browsers.
49
+ * 2. Remove the margin in Firefox and Safari.
50
+ */
51
+
52
+ button,
53
+ input,
54
+ optgroup,
55
+ select,
56
+ textarea {
57
+ margin: 0; /* 2 */
58
+ }
59
+
60
+ /**
61
+ * Show the overflow in IE.
62
+ * 1. Show the overflow in Edge.
63
+ */
64
+
65
+ button,
66
+ input { /* 1 */
67
+ overflow: visible;
68
+ }
69
+
70
+ /**
71
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
72
+ * 1. Remove the inheritance of text transform in Firefox.
73
+ */
74
+
75
+ button,
76
+ select { /* 1 */
77
+ text-transform: none;
78
+ }
79
+
80
+ /**
81
+ * Correct the inability to style clickable types in iOS and Safari.
82
+ */
83
+
84
+ button,
85
+ [type="button"],
86
+ [type="reset"],
87
+ [type="submit"] {
88
+ -webkit-appearance: button;
89
+ }
90
+
91
+ /**
92
+ * Remove the inner border and padding in Firefox.
93
+ */
94
+
95
+ button::-moz-focus-inner,
96
+ [type="button"]::-moz-focus-inner,
97
+ [type="reset"]::-moz-focus-inner,
98
+ [type="submit"]::-moz-focus-inner {
99
+ border-style: none;
100
+ padding: 0;
101
+ }
102
+
103
+ /**
104
+ * Restore the focus styles unset by the previous rule.
105
+ */
106
+
107
+ button:-moz-focusring,
108
+ [type="button"]:-moz-focusring,
109
+ [type="reset"]:-moz-focusring,
110
+ [type="submit"]:-moz-focusring {
111
+ outline: 1px dotted ButtonText;
112
+ }
113
+
114
+ /**
115
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
116
+ */
117
+
118
+ progress {
119
+ vertical-align: baseline;
120
+ }
121
+
122
+ /**
123
+ * Remove the default vertical scrollbar in IE 10+.
124
+ */
125
+
126
+ textarea {
127
+ overflow: auto;
128
+ }
129
+
130
+ /**
131
+ * 1. Add the correct box sizing in IE 10.
132
+ * 2. Remove the padding in IE 10.
133
+ */
134
+
135
+ [type="checkbox"],
136
+ [type="radio"] {
137
+ box-sizing: border-box; /* 1 */
138
+ padding: 0; /* 2 */
139
+ }
140
+
141
+ /**
142
+ * Correct the cursor style of increment and decrement buttons in Chrome.
143
+ */
144
+
145
+ [type="number"]::-webkit-inner-spin-button,
146
+ [type="number"]::-webkit-outer-spin-button {
147
+ height: auto;
148
+ }
149
+
150
+ /**
151
+ * 1. Correct the odd appearance in Chrome and Safari.
152
+ * 2. Correct the outline style in Safari.
153
+ */
154
+
155
+ [type="search"] {
156
+ -webkit-appearance: textfield; /* 1 */
157
+ outline-offset: -2px; /* 2 */
158
+ }
159
+
160
+ /**
161
+ * Remove the inner padding in Chrome and Safari on macOS.
162
+ */
163
+
164
+ [type="search"]::-webkit-search-decoration {
165
+ -webkit-appearance: none;
166
+ }
167
+
168
+
169
+ /* Misc
170
+ ========================================================================== */
171
+
172
+ /**
173
+ * Add the correct display in IE 10+.
174
+ */
175
+
176
+ template {
177
+ display: none;
178
+ }
179
+
180
+ /**
181
+ * Add the correct display in IE 10.
182
+ */
183
+
184
+ [hidden] {
185
+ display: none;
186
186
  }
@@ -1,2 +1,2 @@
1
- @import './themes/index';
1
+ @import './themes/index';
2
2
  @import './core/index';
@@ -1,19 +1,19 @@
1
- // Mixins
2
- //----------------------------------------
3
- @import 'reset';
4
-
5
- /* 多行显示省略号 */
6
- .multilpleEllipsis(@n: n) {
7
- overflow: hidden;
8
- text-overflow: ellipsis;
9
- display: -webkit-box;
10
- -webkit-line-clamp: @n;
11
- -webkit-box-orient: vertical;
12
- }
13
-
14
- /* 单行显示省略号 */
15
- .ellipsis() {
16
- white-space: nowrap;
17
- overflow: hidden;
18
- text-overflow: ellipsis;
1
+ // Mixins
2
+ //----------------------------------------
3
+ @import 'reset';
4
+
5
+ /* 多行显示省略号 */
6
+ .multilpleEllipsis(@n: n) {
7
+ overflow: hidden;
8
+ text-overflow: ellipsis;
9
+ display: -webkit-box;
10
+ -webkit-line-clamp: @n;
11
+ -webkit-box-orient: vertical;
12
+ }
13
+
14
+ /* 单行显示省略号 */
15
+ .ellipsis() {
16
+ white-space: nowrap;
17
+ overflow: hidden;
18
+ text-overflow: ellipsis;
19
19
  }
@@ -1,22 +1,22 @@
1
- @import '../themes/default.less';
2
-
3
- .overlay(@bgcolor, @isUseMaskZindex) {
4
- position: fixed;
5
- background-color: @bgcolor;
6
- z-index: if(boolean(@isUseMaskZindex), @zIndex-masker, auto);
7
- .overall-postion()
8
- }
9
-
10
- .overall-postion {
11
- left: 0;
12
- right: 0;
13
- top: 0;
14
- bottom: 0;
15
- }
16
-
17
- .static-overlay(@bgcolor, @isUseMaskZindex) {
18
- width: 100%;
19
- height: 100%;
20
- background-color: @bgcolor;
21
- z-index: if(boolean(@isUseMaskZindex), @zIndex-masker, auto);
1
+ @import '../themes/default.less';
2
+
3
+ .overlay(@bgcolor, @isUseMaskZindex) {
4
+ position: fixed;
5
+ background-color: @bgcolor;
6
+ z-index: if(boolean(@isUseMaskZindex), @zIndex-masker, auto);
7
+ .overall-postion()
8
+ }
9
+
10
+ .overall-postion {
11
+ left: 0;
12
+ right: 0;
13
+ top: 0;
14
+ bottom: 0;
15
+ }
16
+
17
+ .static-overlay(@bgcolor, @isUseMaskZindex) {
18
+ width: 100%;
19
+ height: 100%;
20
+ background-color: @bgcolor;
21
+ z-index: if(boolean(@isUseMaskZindex), @zIndex-masker, auto);
22
22
  }
@@ -1,13 +1,13 @@
1
- @import '../themes/index';
2
-
3
- @font-variant: tabular-nums;
4
- @font-feature-settings: 'tnum';
5
-
6
- .reset-component() {
7
- box-sizing: border-box;
8
- margin: 0;
9
- padding: 0;
10
- font-variant: @font-variant;
11
- list-style: none;
12
- font-feature-settings: @font-feature-settings;
1
+ @import '../themes/index';
2
+
3
+ @font-variant: tabular-nums;
4
+ @font-feature-settings: 'tnum';
5
+
6
+ .reset-component() {
7
+ box-sizing: border-box;
8
+ margin: 0;
9
+ padding: 0;
10
+ font-variant: @font-variant;
11
+ list-style: none;
12
+ font-feature-settings: @font-feature-settings;
13
13
  }