bk-magic-vue 2.5.4-beta.8 → 2.5.4

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 (55) hide show
  1. package/License.txt +14 -0
  2. package/dist/bk-magic-vue.css +49 -59
  3. package/dist/bk-magic-vue.js +148 -87
  4. package/dist/bk-magic-vue.min.css +1 -1
  5. package/dist/bk-magic-vue.min.css.gz +0 -0
  6. package/dist/bk-magic-vue.min.css.map +1 -1
  7. package/dist/bk-magic-vue.min.js +1 -1
  8. package/dist/bk-magic-vue.min.js.gz +0 -0
  9. package/dist/bk-magic-vue.min.js.map +1 -1
  10. package/dist/images/exceptions/403.svg +41 -85
  11. package/dist/images/exceptions/404.svg +86 -188
  12. package/dist/images/exceptions/500.svg +53 -86
  13. package/dist/images/exceptions/building.svg +155 -265
  14. package/dist/images/exceptions/empty.svg +37 -56
  15. package/dist/images/exceptions/login.svg +81 -160
  16. package/dist/images/exceptions/search-empty.svg +69 -108
  17. package/lib/cascade.js +59 -15
  18. package/lib/directives/overflow-tips.js +79 -35
  19. package/lib/directives/tooltips.js +54 -3
  20. package/lib/exception.js +7 -7
  21. package/lib/form-item.js +81 -37
  22. package/lib/pagination.js +521 -373
  23. package/lib/popconfirm.js +59 -15
  24. package/lib/popover.js +59 -15
  25. package/lib/search-select.js +51 -0
  26. package/lib/select.js +521 -373
  27. package/lib/slider.js +54 -3
  28. package/lib/table.js +249 -80
  29. package/lib/tag-input.js +165 -20
  30. package/lib/transfer.js +44 -0
  31. package/lib/ui/bk-magic-vue.css +49 -59
  32. package/lib/ui/bk-magic-vue.min.css +1 -1
  33. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  34. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  35. package/lib/ui/exception.css +5 -8
  36. package/lib/ui/exception.min.css +1 -1
  37. package/lib/ui/exception.min.css.map +1 -1
  38. package/lib/ui/images/exceptions/403.svg +41 -85
  39. package/lib/ui/images/exceptions/404.svg +86 -188
  40. package/lib/ui/images/exceptions/500.svg +53 -86
  41. package/lib/ui/images/exceptions/building.svg +155 -265
  42. package/lib/ui/images/exceptions/empty.svg +37 -56
  43. package/lib/ui/images/exceptions/login.svg +81 -160
  44. package/lib/ui/images/exceptions/search-empty.svg +69 -108
  45. package/lib/ui/table.css +0 -1
  46. package/lib/ui/table.min.css +1 -1
  47. package/lib/ui/table.min.css.map +1 -1
  48. package/lib/ui/version-detail.css +44 -50
  49. package/lib/ui/version-detail.min.css +1 -1
  50. package/lib/ui/version-detail.min.css.map +1 -1
  51. package/lib/upload.js +44 -0
  52. package/lib/utils/tippy.js +51 -0
  53. package/lib/version-detail.js +88 -44
  54. package/package.json +2 -2
  55. package/LICENSE.txt +0 -22
package/License.txt ADDED
@@ -0,0 +1,14 @@
1
+ TencentBlueKing is pleased to support the open source community by making
2
+ 蓝鲸智云 - 蓝鲸Vue组件库2.0 (BlueKing PaaS Community Edition) available.
3
+ Copyright (C) 2021 THL A29 Limited,
4
+ a Tencent company. All rights reserved.
5
+ Licensed under the MIT License (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at http://opensource.org/licenses/MIT
8
+ Unless required by applicable law or agreed to in writing,
9
+ software distributed under the License is distributed on
10
+ an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
11
+ either express or implied. See the License for the
12
+ specific language governing permissions and limitations under the License.
13
+ We undertake not to change the open source license (MIT license) applicable
14
+ to the current version of the project delivered to anyone in the future.
@@ -5354,8 +5354,6 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
5354
5354
  position:relative;
5355
5355
  }
5356
5356
  .bk-exception-img{
5357
- width:480px;
5358
- height:240px;
5359
5357
  display:-webkit-box;
5360
5358
  display:-ms-flexbox;
5361
5359
  display:flex;
@@ -5364,19 +5362,18 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
5364
5362
  align-items:center;
5365
5363
  -webkit-box-pack:center;
5366
5364
  -ms-flex-pack:center;
5367
- justify-content:center
5365
+ justify-content:center;
5368
5366
  }
5369
- .bk-exception-img.part-img{
5370
- width:120px;
5371
- height:100px;
5372
- }
5373
5367
  .bk-exception-img .exception-image{
5374
5368
  -o-object-fit:contain;
5375
5369
  object-fit:contain;
5376
5370
  display:block;
5377
- height:100%;
5371
+ height:200px;
5378
5372
  vertical-align:middle;
5379
5373
  }
5374
+ .bk-exception-img.part-img .exception-image{
5375
+ height:100px;
5376
+ }
5380
5377
  .bk-exception-text{
5381
5378
  font-size:24px;
5382
5379
  color:#63656E;
@@ -10870,7 +10867,6 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
10870
10867
  }
10871
10868
  .bk-table-empty-text{
10872
10869
  padding:60px 0;
10873
- width:50%;
10874
10870
  color:#63656e;
10875
10871
  }
10876
10872
  .bk-table-empty-text .bk-table-empty-icon{
@@ -15095,97 +15091,91 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15095
15091
  border-radius:3px;
15096
15092
  background-color:#dcdee5;
15097
15093
  }
15098
- .bk-version .markdown-theme-style{
15094
+ .bk-version-markdown-theme{
15099
15095
  font-size:14px;
15100
15096
  color:#313238;
15101
15097
  }
15102
- .bk-version .markdown-theme-style h1,
15103
- .bk-version .markdown-theme-style h2,
15104
- .bk-version .markdown-theme-style h3,
15105
- .bk-version .markdown-theme-style h4,
15106
- .bk-version .markdown-theme-style h5{
15098
+ .bk-version-markdown-theme h1,
15099
+ .bk-version-markdown-theme h2,
15100
+ .bk-version-markdown-theme h3,
15101
+ .bk-version-markdown-theme h4,
15102
+ .bk-version-markdown-theme h5{
15107
15103
  height:auto;
15108
15104
  margin:10px 0;
15109
15105
  font:normal 14px/1.5
15110
- "Helvetica Neue",
15111
- Helvetica,
15112
- Arial,
15113
- "Lantinghei SC",
15114
- "Hiragino Sans GB",
15115
- "Microsoft Yahei",
15116
- sans-serif;
15106
+ -apple-system,Helvetica Neue,Helvetica,Arial,PingFang SC,Microsoft YaHei,SimSun,sans-serif;
15117
15107
  font-weight:bold;
15118
15108
  color:#34383e;
15119
15109
  }
15120
- .bk-version .markdown-theme-style h1{
15110
+ .bk-version-markdown-theme h1{
15121
15111
  font-size:30px;
15122
15112
  }
15123
- .bk-version .markdown-theme-style h2{
15113
+ .bk-version-markdown-theme h2{
15124
15114
  font-size:24px;
15125
15115
  }
15126
- .bk-version .markdown-theme-style h3{
15116
+ .bk-version-markdown-theme h3{
15127
15117
  font-size:18px;
15128
15118
  }
15129
- .bk-version .markdown-theme-style h4{
15119
+ .bk-version-markdown-theme h4{
15130
15120
  font-size:16px;
15131
15121
  }
15132
- .bk-version .markdown-theme-style h5{
15122
+ .bk-version-markdown-theme h5{
15133
15123
  font-size:14px;
15134
15124
  }
15135
- .bk-version .markdown-theme-style em{
15125
+ .bk-version-markdown-theme em{
15136
15126
  font-style:italic;
15137
15127
  }
15138
- .bk-version .markdown-theme-style div,
15139
- .bk-version .markdown-theme-style p,
15140
- .bk-version .markdown-theme-style font,
15141
- .bk-version .markdown-theme-style span,
15142
- .bk-version .markdown-theme-style li{
15128
+ .bk-version-markdown-theme div,
15129
+ .bk-version-markdown-theme p,
15130
+ .bk-version-markdown-theme font,
15131
+ .bk-version-markdown-theme span,
15132
+ .bk-version-markdown-theme li{
15143
15133
  line-height:1.3;
15144
15134
  }
15145
- .bk-version .markdown-theme-style p{
15135
+ .bk-version-markdown-theme p{
15146
15136
  margin:0 0 1em;
15147
15137
  }
15148
- .bk-version .markdown-theme-style table,
15149
- .bk-version .markdown-theme-style table p{
15138
+ .bk-version-markdown-theme table,
15139
+ .bk-version-markdown-theme table p{
15150
15140
  margin:0;
15151
15141
  }
15152
- .bk-version .markdown-theme-style ul,
15153
- .bk-version .markdown-theme-style ol{
15142
+ .bk-version-markdown-theme ul,
15143
+ .bk-version-markdown-theme ol{
15154
15144
  padding-left:40px;
15155
15145
  margin:10px 0 10px;
15156
15146
  text-indent:0;
15157
15147
  }
15158
- .bk-version .markdown-theme-style ul{
15148
+ .bk-version-markdown-theme ul{
15159
15149
  list-style:disc
15160
15150
  }
15161
- .bk-version .markdown-theme-style ul > li{
15151
+ .bk-version-markdown-theme ul > li{
15162
15152
  line-height:1.8;
15163
15153
  white-space:normal;
15164
15154
  list-style:disc;
15165
15155
  }
15166
- .bk-version .markdown-theme-style ol{
15156
+ .bk-version-markdown-theme ol{
15167
15157
  list-style:decimal
15168
15158
  }
15169
- .bk-version .markdown-theme-style ol > li{
15159
+ .bk-version-markdown-theme ol > li{
15170
15160
  line-height:1.8;
15171
15161
  white-space:normal;
15172
15162
  list-style:decimal;
15173
15163
  }
15174
- .bk-version .markdown-theme-style li > ul{
15164
+ .bk-version-markdown-theme li > ul{
15175
15165
  margin-bottom:10px;
15176
15166
  }
15177
- .bk-version .markdown-theme-style li ol{
15167
+ .bk-version-markdown-theme li ol{
15178
15168
  padding-left:20px !important;
15179
15169
  }
15180
- .bk-version .markdown-theme-style ul ul,
15181
- .bk-version .markdown-theme-style ul ol,
15182
- .bk-version .markdown-theme-style ol ol,
15183
- .bk-version .markdown-theme-style ol ul{
15170
+ .bk-version-markdown-theme ul ul,
15171
+ .bk-version-markdown-theme ul ol,
15172
+ .bk-version-markdown-theme ol ol,
15173
+ .bk-version-markdown-theme ol ul{
15184
15174
  margin-bottom:0;
15185
15175
  margin-left:20px;
15186
15176
  }
15187
- .bk-version .markdown-theme-style pre,
15188
- .bk-version .markdown-theme-style code{
15177
+ .bk-version-markdown-theme pre,
15178
+ .bk-version-markdown-theme code{
15189
15179
  width:95%;
15190
15180
  padding:0 3px 2px;
15191
15181
  font-family:Monaco, Menlo, Consolas, "Courier New", monospace;
@@ -15193,13 +15183,13 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15193
15183
  color:#333;
15194
15184
  border-radius:3px;
15195
15185
  }
15196
- .bk-version .markdown-theme-style code{
15186
+ .bk-version-markdown-theme code{
15197
15187
  padding:2px 4px;
15198
15188
  font-family:Consolas, monospace, tahoma, Arial;
15199
15189
  color:#d14;
15200
15190
  border:1px solid #e1e1e8;
15201
15191
  }
15202
- .bk-version .markdown-theme-style pre{
15192
+ .bk-version-markdown-theme pre{
15203
15193
  display:block;
15204
15194
  padding:9.5px;
15205
15195
  margin:0 0 10px;
@@ -15213,32 +15203,32 @@ th.bk-table-column-selection .cell, th.bk-table-column-expand .cell, td.bk-table
15213
15203
  border:1px solid rgba(0,0,0,0.15);
15214
15204
  border-radius:2px;
15215
15205
  }
15216
- .bk-version .markdown-theme-style pre code{
15206
+ .bk-version-markdown-theme pre code{
15217
15207
  padding:0;
15218
15208
  white-space:pre-wrap;
15219
15209
  border:0;
15220
15210
  }
15221
- .bk-version .markdown-theme-style blockquote{
15211
+ .bk-version-markdown-theme blockquote{
15222
15212
  padding:0 0 0 14px;
15223
15213
  margin:0 0 20px;
15224
15214
  border-left:5px solid #dfdfdf;
15225
15215
  }
15226
- .bk-version .markdown-theme-style blockquote ::before,
15227
- .bk-version .markdown-theme-style blockquote ::after{
15216
+ .bk-version-markdown-theme blockquote ::before,
15217
+ .bk-version-markdown-theme blockquote ::after{
15228
15218
  content:"";
15229
15219
  }
15230
- .bk-version .markdown-theme-style blockquote p{
15220
+ .bk-version-markdown-theme blockquote p{
15231
15221
  margin-bottom:0;
15232
15222
  font-size:14px;
15233
15223
  font-weight:300;
15234
15224
  line-height:25px;
15235
15225
  }
15236
- .bk-version .markdown-theme-style blockquote small{
15226
+ .bk-version-markdown-theme blockquote small{
15237
15227
  display:block;
15238
15228
  line-height:20px;
15239
15229
  color:#999;
15240
15230
  }
15241
- .bk-version .markdown-theme-style blockquote small ::before{
15231
+ .bk-version-markdown-theme blockquote small ::before{
15242
15232
  content:"\2014 \00A0";
15243
15233
  }
15244
15234
  .version-detail-dialog .bk-dialog-tool .bk-dialog-close{