bkui-vue 0.0.1-beta.118 → 0.0.1-beta.120

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 (83) hide show
  1. package/dist/index.cjs.js +25 -25
  2. package/dist/index.esm.js +80 -33
  3. package/dist/index.umd.js +21 -21
  4. package/dist/style.css +1 -1
  5. package/lib/affix/affix.variable.css +4 -1
  6. package/lib/alert/alert.variable.css +4 -1
  7. package/lib/backtop/backtop.variable.css +4 -1
  8. package/lib/badge/badge.variable.css +4 -1
  9. package/lib/breadcrumb/breadcrumb.variable.css +4 -1
  10. package/lib/button/button.css +9 -0
  11. package/lib/button/button.d.ts +10 -0
  12. package/lib/button/button.less +12 -1
  13. package/lib/button/button.variable.css +13 -1
  14. package/lib/button/index.d.ts +16 -1
  15. package/lib/button/index.js +1 -1
  16. package/lib/card/card.variable.css +4 -1
  17. package/lib/cascader/cascader.variable.css +4 -1
  18. package/lib/checkbox/checkbox.variable.css +4 -1
  19. package/lib/code-diff/code-diff.variable.css +4 -1
  20. package/lib/collapse/collapse.variable.css +4 -1
  21. package/lib/container/container.variable.css +4 -1
  22. package/lib/date-picker/date-picker.variable.css +4 -1
  23. package/lib/dialog/dialog.css +5 -1
  24. package/lib/dialog/dialog.less +6 -1
  25. package/lib/dialog/dialog.variable.css +5 -1
  26. package/lib/divider/divider.variable.css +4 -1
  27. package/lib/dropdown/dropdown.variable.css +4 -1
  28. package/lib/exception/exception.variable.css +4 -1
  29. package/lib/fixed-navbar/fixed-navbar.variable.css +4 -1
  30. package/lib/form/form.variable.css +4 -1
  31. package/lib/input/index.js +1 -1
  32. package/lib/input/input.css +99 -15
  33. package/lib/input/input.less +83 -18
  34. package/lib/input/input.variable.css +102 -15
  35. package/lib/link/link.variable.css +4 -1
  36. package/lib/loading/loading.variable.css +4 -1
  37. package/lib/menu/menu.variable.css +4 -1
  38. package/lib/menu/submenu.variable.css +4 -1
  39. package/lib/message/message.variable.css +4 -1
  40. package/lib/modal/index.d.ts +29 -1
  41. package/lib/modal/index.js +1 -1
  42. package/lib/modal/modal.d.ts +11 -0
  43. package/lib/modal/props.mixin.d.ts +5 -0
  44. package/lib/navigation/navigation.variable.css +4 -1
  45. package/lib/notify/notify.variable.css +4 -1
  46. package/lib/pagination/pagination.variable.css +4 -1
  47. package/lib/popover/popover.variable.css +4 -1
  48. package/lib/popover2/popover2.variable.css +4 -1
  49. package/lib/process/process.variable.css +4 -1
  50. package/lib/progress/progress.variable.css +4 -1
  51. package/lib/radio/radio.variable.css +4 -1
  52. package/lib/resize-layout/resize-layout.variable.css +4 -1
  53. package/lib/select/index.d.ts +62 -515
  54. package/lib/select/index.js +1 -1
  55. package/lib/select/option.d.ts +11 -2
  56. package/lib/select/select.css +14 -2
  57. package/lib/select/select.d.ts +17 -92
  58. package/lib/select/select.less +22 -8
  59. package/lib/select/select.variable.css +18 -3
  60. package/lib/select/selectTagInput.d.ts +5 -4
  61. package/lib/select/type.d.ts +9 -3
  62. package/lib/sideslider/index.d.ts +19 -23
  63. package/lib/sideslider/index.js +1 -1
  64. package/lib/sideslider/sideslider.d.ts +9 -11
  65. package/lib/sideslider/sideslider.variable.css +4 -1
  66. package/lib/slider/slider.variable.css +4 -1
  67. package/lib/steps/steps.variable.css +4 -1
  68. package/lib/styles/themes/themes.less +6 -1
  69. package/lib/switcher/switcher.variable.css +4 -1
  70. package/lib/tab/tab.variable.css +4 -1
  71. package/lib/table/plugins/head-filter.variable.css +4 -1
  72. package/lib/table/plugins/head-sort.variable.css +4 -1
  73. package/lib/table/plugins/settings.variable.css +4 -1
  74. package/lib/table/table.variable.css +4 -1
  75. package/lib/tag/tag.variable.css +4 -1
  76. package/lib/tag-input/tag-input.variable.css +4 -1
  77. package/lib/timeline/timeline.variable.css +4 -1
  78. package/lib/transfer/transfer.variable.css +4 -1
  79. package/lib/tree/index.d.ts +4 -4
  80. package/lib/tree/tree.d.ts +1 -1
  81. package/lib/tree/tree.variable.css +4 -1
  82. package/lib/upload/upload.variable.css +4 -1
  83. package/package.json +1 -1
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -269,6 +269,9 @@
269
269
  background-color: white;
270
270
  border-color: #c4c6cc;
271
271
  }
272
+ .bk-button-group .bk-button.is-disabled {
273
+ color: #c4c6cc;
274
+ }
272
275
  .bk-button-group .bk-button:first-child {
273
276
  border-radius: 2px 0 0 2px;
274
277
  }
@@ -286,3 +289,9 @@
286
289
  background-color: white;
287
290
  border-color: #3a84ff;
288
291
  }
292
+ .bk-button-group .bk-button.is-selected:not(.is-disabled) {
293
+ background-color: #e1ecff;
294
+ }
295
+ .bk-button-group .bk-button.is-selected.is-disabled {
296
+ background-color: #f0f1f5;
297
+ }
@@ -57,6 +57,9 @@ declare const buttonProps: {
57
57
  text: import("vue-types").VueTypeValidableDef<boolean> & {
58
58
  default: boolean;
59
59
  };
60
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
61
+ default: boolean;
62
+ };
60
63
  nativeType: {
61
64
  type: IButtonNativeType;
62
65
  default: string;
@@ -95,6 +98,9 @@ declare const _default: import("vue").DefineComponent<{
95
98
  text: import("vue-types").VueTypeValidableDef<boolean> & {
96
99
  default: boolean;
97
100
  };
101
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
102
+ default: boolean;
103
+ };
98
104
  nativeType: {
99
105
  type: IButtonNativeType;
100
106
  default: string;
@@ -131,6 +137,9 @@ declare const _default: import("vue").DefineComponent<{
131
137
  text: import("vue-types").VueTypeValidableDef<boolean> & {
132
138
  default: boolean;
133
139
  };
140
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
141
+ default: boolean;
142
+ };
134
143
  nativeType: {
135
144
  type: IButtonNativeType;
136
145
  default: string;
@@ -149,6 +158,7 @@ declare const _default: import("vue").DefineComponent<{
149
158
  loading: boolean;
150
159
  hoverTheme: string;
151
160
  iconRight: string;
161
+ selected: boolean;
152
162
  nativeType: "button" | "reset" | "submit";
153
163
  }>;
154
164
  export default _default;
@@ -182,10 +182,13 @@
182
182
  background-color: @white-color;
183
183
  border-color: @light-gray;
184
184
  }
185
+
186
+ &.is-disabled {
187
+ color: @light-gray;
188
+ }
185
189
 
186
190
  &:first-child {
187
191
  border-radius: @btnBorderRadius 0 0 @btnBorderRadius;
188
-
189
192
  }
190
193
 
191
194
  &:last-child {
@@ -205,5 +208,13 @@
205
208
  border-color: @primary-color;
206
209
  }
207
210
 
211
+ &.is-selected:not(.is-disabled) {
212
+ background-color: @button-selected-bg-color;
213
+ }
214
+
215
+ &.is-selected.is-disabled {
216
+ background-color: @button-disabled-selected-bg-color;
217
+ }
218
+
208
219
  }
209
220
  }
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -368,6 +371,9 @@
368
371
  background-color: var(--white-color);
369
372
  border-color: var(--light-gray);
370
373
  }
374
+ .bk-button-group .bk-button.is-disabled {
375
+ color: var(--light-gray);
376
+ }
371
377
  .bk-button-group .bk-button:first-child {
372
378
  border-radius: 2px 0 0 2px;
373
379
  }
@@ -385,3 +391,9 @@
385
391
  background-color: var(--white-color);
386
392
  border-color: var(--primary-color);
387
393
  }
394
+ .bk-button-group .bk-button.is-selected:not(.is-disabled) {
395
+ background-color: var(--button-selected-bg-color);
396
+ }
397
+ .bk-button-group .bk-button.is-selected.is-disabled {
398
+ background-color: var(--button-disabled-selected-bg-color);
399
+ }
@@ -14,6 +14,7 @@ declare const BkButton: {
14
14
  loading: boolean;
15
15
  hoverTheme: string;
16
16
  iconRight: string;
17
+ selected: boolean;
17
18
  nativeType: "button" | "reset" | "submit";
18
19
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
20
  theme: import("vue-types").VueTypeDef<string> & {
@@ -47,6 +48,9 @@ declare const BkButton: {
47
48
  text: import("vue-types").VueTypeValidableDef<boolean> & {
48
49
  default: boolean;
49
50
  };
51
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
52
+ default: boolean;
53
+ };
50
54
  nativeType: {
51
55
  type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
52
56
  default: string;
@@ -54,7 +58,7 @@ declare const BkButton: {
54
58
  }>> & {
55
59
  onClick?: (...args: any[]) => any;
56
60
  onMouseover?: (...args: any[]) => any;
57
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "text" | "disabled" | "theme" | "size" | "icon" | "outline" | "loading" | "hoverTheme" | "iconRight" | "nativeType">;
61
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "text" | "disabled" | "theme" | "size" | "icon" | "outline" | "loading" | "hoverTheme" | "iconRight" | "selected" | "nativeType">;
58
62
  $attrs: {
59
63
  [x: string]: unknown;
60
64
  };
@@ -100,6 +104,9 @@ declare const BkButton: {
100
104
  text: import("vue-types").VueTypeValidableDef<boolean> & {
101
105
  default: boolean;
102
106
  };
107
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
108
+ default: boolean;
109
+ };
103
110
  nativeType: {
104
111
  type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
105
112
  default: string;
@@ -118,6 +125,7 @@ declare const BkButton: {
118
125
  loading: boolean;
119
126
  hoverTheme: string;
120
127
  iconRight: string;
128
+ selected: boolean;
121
129
  nativeType: "button" | "reset" | "submit";
122
130
  }> & {
123
131
  beforeCreate?: (() => void) | (() => void)[];
@@ -171,6 +179,9 @@ declare const BkButton: {
171
179
  text: import("vue-types").VueTypeValidableDef<boolean> & {
172
180
  default: boolean;
173
181
  };
182
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
183
+ default: boolean;
184
+ };
174
185
  nativeType: {
175
186
  type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
176
187
  default: string;
@@ -214,6 +225,9 @@ declare const BkButton: {
214
225
  text: import("vue-types").VueTypeValidableDef<boolean> & {
215
226
  default: boolean;
216
227
  };
228
+ selected: import("vue-types").VueTypeValidableDef<boolean> & {
229
+ default: boolean;
230
+ };
217
231
  nativeType: {
218
232
  type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
219
233
  default: string;
@@ -232,6 +246,7 @@ declare const BkButton: {
232
246
  loading: boolean;
233
247
  hoverTheme: string;
234
248
  iconRight: string;
249
+ selected: boolean;
235
250
  nativeType: "button" | "reset" | "submit";
236
251
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
237
252
  ButtonGroup: import("vue").DefineComponent<{
@@ -1 +1 @@
1
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("../loading"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../loading"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue"),require("../loading")):o(e["../shared"],e.vue,e["../loading"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o,t)=>(()=>{"use strict";var n={4870:e=>{e.exports=t},4212:o=>{o.exports=e},748:e=>{e.exports=o}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var t=r[e]={exports:{}};return n[e](t,t.exports,i),t.exports}i.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return i.d(o,{a:o}),o},i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{BkButton:()=>c,BkButtonGroup:()=>d,default:()=>p});var e=i(4212);function o(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var t=i(748),n=i(4870),r=i.n(n),u=["","small","large"],l={theme:e.PropTypes.theme().def(""),hoverTheme:e.PropTypes.theme(["primary","warning","success","danger"]).def(""),size:e.PropTypes.size(u).def(""),title:e.PropTypes.string,icon:e.PropTypes.string,iconRight:e.PropTypes.string,disabled:e.PropTypes.bool,loading:e.PropTypes.bool,loadingMode:e.PropTypes.commonType(Object.values(n.BkLoadingMode)),outline:e.PropTypes.bool,text:e.PropTypes.bool,nativeType:{type:String,default:"button"}};const s=(0,t.defineComponent)({name:"Button",props:l,emits:["click","mouseover"],setup:function(i,a){var l,s=a.slots,d=a.attrs,c=a.emit,p=(0,t.ref)(!1),v=null!==(l=s.default)&&void 0!==l&&l,f="bk-button",m=(0,t.computed)((function(){return i.text&&!i.hoverTheme})),b=(0,t.computed)((function(){var t,n=i.hoverTheme?"".concat(f,"-hover-").concat(i.hoverTheme):"",r=i.theme?"".concat(f,"-").concat(i.theme):"",a=i.hoverTheme?"":r;return(0,e.classes)((o(t={"is-disabled":i.disabled,"is-outline":i.outline,"is-text":m.value,"is-loading":i.loading},"".concat(f,"-").concat(i.size),i.size&&u.includes(i.size)),o(t,"no-slot",!v),t),"".concat(a," ").concat(f," ").concat(n))})),g=(0,t.computed)((function(){return i.text||i.outline||i.hoverTheme?p.value&&!i.text?"white":i.text&&i.disabled?"":i.hoverTheme||i.theme:["","default"].includes(i.theme)?"":"white"})),y=(0,t.computed)((function(){return m.value||i.size===n.BkLoadingSize.Small?n.BkLoadingSize.Mini:n.BkLoadingSize.Small})),h=function(e){i.loading||c("click",e)},T=function(e){p.value=!0,c("mouseover",e)},x=function(){p.value=!1};return function(){var e;return(0,t.createVNode)("button",(0,t.mergeProps)({title:i.title,disabled:i.disabled,class:b.value,type:i.nativeType},d,{onClick:h,onMouseover:T,onMouseleave:x}),[i.loading&&(0,t.createVNode)(r(),{loading:!0,class:"".concat(f,"-loading"),mode:i.loadingMode,theme:g.value,size:y.value},null),s.default&&(0,t.createVNode)("span",{class:"".concat(f,"-text")},[null===(e=s.default)||void 0===e?void 0:e.call(s)])])}}}),d=(0,t.defineComponent)({name:"ButtonGroup",props:{size:e.PropTypes.size()},setup:function(n,r){var i=(0,t.computed)((function(){return(0,e.classes)(o({},"bk-button-group-".concat(n.size),!!n.size),"bk-button-group")}));return function(){var e,o;return(0,t.createVNode)("div",{class:i.value},[null===(o=(e=r.slots).default)||void 0===o?void 0:o.call(e)])}}});var c=(0,e.withInstallProps)(s,{ButtonGroup:d});const p=c})(),a})()));
1
+ !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("../loading"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../loading"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue"),require("../loading")):o(e["../shared"],e.vue,e["../loading"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o,t)=>(()=>{"use strict";var n={4870:e=>{e.exports=t},4212:o=>{o.exports=e},748:e=>{e.exports=o}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var t=r[e]={exports:{}};return n[e](t,t.exports,i),t.exports}i.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return i.d(o,{a:o}),o},i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{BkButton:()=>c,BkButtonGroup:()=>d,default:()=>p});var e=i(4212);function o(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var t=i(748),n=i(4870),r=i.n(n),l=["","small","large"],u={theme:e.PropTypes.theme().def(""),hoverTheme:e.PropTypes.theme(["primary","warning","success","danger"]).def(""),size:e.PropTypes.size(l).def(""),title:e.PropTypes.string,icon:e.PropTypes.string,iconRight:e.PropTypes.string,disabled:e.PropTypes.bool,loading:e.PropTypes.bool,loadingMode:e.PropTypes.commonType(Object.values(n.BkLoadingMode)),outline:e.PropTypes.bool,text:e.PropTypes.bool,selected:e.PropTypes.bool,nativeType:{type:String,default:"button"}};const s=(0,t.defineComponent)({name:"Button",props:u,emits:["click","mouseover"],setup:function(i,a){var u,s=a.slots,d=a.attrs,c=a.emit,p=(0,t.ref)(!1),v=null!==(u=s.default)&&void 0!==u&&u,f="bk-button",m=(0,t.computed)((function(){return i.text&&!i.hoverTheme})),b=(0,t.computed)((function(){var t,n=i.hoverTheme?"".concat(f,"-hover-").concat(i.hoverTheme):"",r=i.theme?"".concat(f,"-").concat(i.theme):"",a=i.hoverTheme?"":r;return(0,e.classes)((o(t={"is-disabled":i.disabled,"is-outline":i.outline,"is-text":m.value,"is-loading":i.loading,"is-selected":i.selected},"".concat(f,"-").concat(i.size),i.size&&l.includes(i.size)),o(t,"no-slot",!v),t),"".concat(a," ").concat(f," ").concat(n))})),g=(0,t.computed)((function(){return i.text||i.outline||i.hoverTheme?p.value&&!i.text?"white":i.text&&i.disabled?"":i.hoverTheme||i.theme:["","default"].includes(i.theme)?"":"white"})),y=(0,t.computed)((function(){return m.value||i.size===n.BkLoadingSize.Small?n.BkLoadingSize.Mini:n.BkLoadingSize.Small})),h=function(e){i.loading||c("click",e)},T=function(e){p.value=!0,c("mouseover",e)},P=function(){p.value=!1};return function(){var e;return(0,t.createVNode)("button",(0,t.mergeProps)({title:i.title,disabled:i.disabled,class:b.value,type:i.nativeType},d,{onClick:h,onMouseover:T,onMouseleave:P}),[i.loading&&(0,t.createVNode)(r(),{loading:!0,class:"".concat(f,"-loading"),mode:i.loadingMode,theme:g.value,size:y.value},null),s.default&&(0,t.createVNode)("span",{class:"".concat(f,"-text")},[null===(e=s.default)||void 0===e?void 0:e.call(s)])])}}}),d=(0,t.defineComponent)({name:"ButtonGroup",props:{size:e.PropTypes.size()},setup:function(n,r){var i=(0,t.computed)((function(){return(0,e.classes)(o({},"bk-button-group-".concat(n.size),!!n.size),"bk-button-group")}));return function(){var e,o;return(0,t.createVNode)("div",{class:i.value},[null===(o=(e=r.slots).default)||void 0===o?void 0:o.call(e)])}}});var c=(0,e.withInstallProps)(s,{ButtonGroup:d});const p=c})(),a})()));
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -33,7 +33,8 @@
33
33
  --input-broder-radius: 3px;
34
34
  --input-shadow-color: #a3c5fd;
35
35
  --input-horizontal-padding: 10px;
36
- --input-block-color: #f4f6fa;
36
+ --input-block-color: #f5f7fa;
37
+ --input-block-hover-color: #eaebf0;
37
38
  --input-icon-size: var(--font-size-large);
38
39
  --input-maxlength-color: #979ba5;
39
40
  --button-primary-hover-color: #5594fa;
@@ -45,6 +46,8 @@
45
46
  --button-danger-active-color: #db2626;
46
47
  --button-success-active-color: #1ab943;
47
48
  --button-warning-active-color: #eb9000;
49
+ --button-selected-bg-color: #e1ecff;
50
+ --button-disabled-selected-bg-color: #f0f1f5;
48
51
  --fixed-navbar-background: #fff;
49
52
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
50
53
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -91,13 +91,17 @@
91
91
  justify-content: center;
92
92
  align-items: center;
93
93
  }
94
+ .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header .bk-dialog-close:hover {
95
+ background-color: #f0f1f5;
96
+ border-radius: 50%;
97
+ }
94
98
  .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header .close-icon {
95
99
  display: none;
96
100
  }
97
101
  .bk-modal-wrapper.bk-dialog-wrapper .bk-modal-content {
98
102
  height: calc(100% - 74px);
99
- min-height: calc(258px - 132px);
100
103
  max-height: calc(100vh - 74px);
104
+ min-height: calc(258px - 132px);
101
105
  padding: 3px 24px 58px;
102
106
  font-size: 14px;
103
107
  line-height: 1.5;
@@ -69,6 +69,11 @@
69
69
  transform: rotate(45deg);
70
70
  justify-content: center;
71
71
  align-items: center;
72
+
73
+ &:hover {
74
+ background-color: #f0f1f5;
75
+ border-radius: 50%;
76
+ }
72
77
  }
73
78
 
74
79
  .close-icon {
@@ -78,8 +83,8 @@
78
83
 
79
84
  .bk-modal-content {
80
85
  height: calc(100% - 74px);
81
- min-height: calc(258px - 132px);
82
86
  max-height: calc(100vh - 74px);
87
+ min-height: calc(258px - 132px);
83
88
  padding: 3px 24px 58px;
84
89
  font-size: 14px;
85
90
  line-height: 1.5;
@@ -91,13 +91,17 @@
91
91
  justify-content: center;
92
92
  align-items: center;
93
93
  }
94
+ .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header .bk-dialog-close:hover {
95
+ background-color: #f0f1f5;
96
+ border-radius: 50%;
97
+ }
94
98
  .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header .close-icon {
95
99
  display: none;
96
100
  }
97
101
  .bk-modal-wrapper.bk-dialog-wrapper .bk-modal-content {
98
102
  height: calc(100% - 74px);
99
- min-height: calc(258px - 132px);
100
103
  max-height: calc(100vh - 74px);
104
+ min-height: calc(258px - 132px);
101
105
  padding: 3px 24px 58px;
102
106
  font-size: 14px;
103
107
  line-height: 1.5;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;
@@ -32,7 +32,8 @@
32
32
  --input-broder-radius: 3px;
33
33
  --input-shadow-color: #a3c5fd;
34
34
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
36
37
  --input-icon-size: var(--font-size-large);
37
38
  --input-maxlength-color: #979ba5;
38
39
  --button-primary-hover-color: #5594fa;
@@ -44,6 +45,8 @@
44
45
  --button-danger-active-color: #db2626;
45
46
  --button-success-active-color: #1ab943;
46
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
47
50
  --fixed-navbar-background: #fff;
48
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
52
  --switch-default-color: #fff;