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
@@ -6,7 +6,7 @@ declare const BkSideslider: {
6
6
  title: string;
7
7
  multiInstance: boolean;
8
8
  showMask: boolean;
9
- extCls: string | unknown[];
9
+ extCls: string;
10
10
  width: string | number;
11
11
  height: string | number;
12
12
  draggable: boolean;
@@ -28,6 +28,10 @@ declare const BkSideslider: {
28
28
  type: StringConstructor;
29
29
  default: string;
30
30
  };
31
+ extCls: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
31
35
  direction: {
32
36
  type: StringConstructor;
33
37
  default: string;
@@ -44,11 +48,6 @@ declare const BkSideslider: {
44
48
  height: import("vue-types").VueTypeDef<string | number> & {
45
49
  default: string | number;
46
50
  };
47
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
48
- default: string;
49
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
50
- default: () => unknown[];
51
- });
52
51
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
53
52
  default: boolean;
54
53
  } & {
@@ -137,6 +136,10 @@ declare const BkSideslider: {
137
136
  type: StringConstructor;
138
137
  default: string;
139
138
  };
139
+ extCls: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
140
143
  direction: {
141
144
  type: StringConstructor;
142
145
  default: string;
@@ -153,11 +156,6 @@ declare const BkSideslider: {
153
156
  height: import("vue-types").VueTypeDef<string | number> & {
154
157
  default: string | number;
155
158
  };
156
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
157
- default: string;
158
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
159
- default: () => unknown[];
160
- });
161
159
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
162
160
  default: boolean;
163
161
  } & {
@@ -231,7 +229,7 @@ declare const BkSideslider: {
231
229
  title: string;
232
230
  multiInstance: boolean;
233
231
  showMask: boolean;
234
- extCls: string | unknown[];
232
+ extCls: string;
235
233
  width: string | number;
236
234
  height: string | number;
237
235
  draggable: boolean;
@@ -273,6 +271,10 @@ declare const BkSideslider: {
273
271
  type: StringConstructor;
274
272
  default: string;
275
273
  };
274
+ extCls: {
275
+ type: StringConstructor;
276
+ default: string;
277
+ };
276
278
  direction: {
277
279
  type: StringConstructor;
278
280
  default: string;
@@ -289,11 +291,6 @@ declare const BkSideslider: {
289
291
  height: import("vue-types").VueTypeDef<string | number> & {
290
292
  default: string | number;
291
293
  };
292
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
293
- default: string;
294
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
295
- default: () => unknown[];
296
- });
297
294
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
298
295
  default: boolean;
299
296
  } & {
@@ -372,6 +369,10 @@ declare const BkSideslider: {
372
369
  type: StringConstructor;
373
370
  default: string;
374
371
  };
372
+ extCls: {
373
+ type: StringConstructor;
374
+ default: string;
375
+ };
375
376
  direction: {
376
377
  type: StringConstructor;
377
378
  default: string;
@@ -388,11 +389,6 @@ declare const BkSideslider: {
388
389
  height: import("vue-types").VueTypeDef<string | number> & {
389
390
  default: string | number;
390
391
  };
391
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
392
- default: string;
393
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
394
- default: () => unknown[];
395
- });
396
392
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
397
393
  default: boolean;
398
394
  } & {
@@ -466,7 +462,7 @@ declare const BkSideslider: {
466
462
  title: string;
467
463
  multiInstance: boolean;
468
464
  showMask: boolean;
469
- extCls: string | unknown[];
465
+ extCls: string;
470
466
  width: string | number;
471
467
  height: string | number;
472
468
  draggable: boolean;
@@ -1 +1 @@
1
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],e);else{var r="object"==typeof exports?e(require("../shared"),require("vue"),require("../button"),require("../modal")):e(t["../shared"],t.vue,t["../button"],t["../modal"]);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,((t,e,r,n)=>(()=>{var o={7162:(t,e,r)=>{t.exports=r(5047)},5047:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=m.prototype=y.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=m,u(j,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},L(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},4976:t=>{"use strict";t.exports=r},8014:t=>{"use strict";t.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{"use strict";a.r(c),a.d(c,{default:()=>d});var t=a(4212),e=a(748),r=a(7162),n=a.n(r);Object.create,Object.create;var o=a(4976),i=a.n(o),u=a(8014),s=a.n(u),l=s().propsMixin,f=Object.assign({},l);f.width.default="400",f.height.default="100%";const h=(0,e.defineComponent)({name:"Sideslider",components:{BkModal:s(),BkButton:i()},props:Object.assign(Object.assign({},f),{title:{type:String,default:""},direction:{type:String,default:"right",validator:function(t){var e=["left","right"];return!(e.indexOf(t)<0&&(console.error("direction property is not valid: '".concat(t,"',【").concat(e.join(" | "),"】")),1))}}}),emits:["closed","update:isShow","shown","hidden","animation-end"],setup:function(t,r){var o=this,i=r.slots,a=r.emit,c=function(){return e=o,r=void 0,i=void 0,c=n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!0,"function"!=typeof t.beforeClose){e.next=5;break}return e.next=4,t.beforeClose();case 4:r=e.sent;case 5:r&&(a("update:isShow",!1),a("closed"),setTimeout((function(){a("animation-end")}),250));case 6:case"end":return e.stop()}}),e)})),new(i||(i=Promise))((function(t,n){function o(t){try{u(c.next(t))}catch(t){n(t)}}function a(t){try{u(c.throw(t))}catch(t){n(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(o,a)}u((c=c.apply(e,r||[])).next())}));var e,r,i,c},u=function(){setTimeout((function(){a("shown")}),200)},l=function(){setTimeout((function(){a("hidden")}),200)};return function(){var r,n={header:function(){var r,n;return(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"bk-sideslider-header"},[(0,e.createVNode)("div",{class:"bk-sideslider-close ".concat(t.direction),onClick:function(){c()}},null),(0,e.createVNode)("div",{class:"bk-sideslider-title ".concat(t.direction)},[null!==(n=null===(r=i.header)||void 0===r?void 0:r.call(i))&&void 0!==n?n:t.title])])])},default:function(){var t,e;return null!==(e=null===(t=i.default)||void 0===t?void 0:t.call(i))&&void 0!==e?e:"Content"},footer:function(){var t,r;return(0,e.createVNode)("div",{class:"bk-sideslider-footer"},[null!==(r=null===(t=i.footer)||void 0===t?void 0:t.call(i))&&void 0!==r?r:""])}},o="bk-sideslider-wrapper ".concat(t.scrollable?"scroll-able":""," ").concat(t.extCls),a=i.footer?"calc(100vh - 114px)":"calc(100vh - 60px)";return(0,e.createVNode)(s(),(0,e.mergeProps)(t,{maxHeight:a,class:o,style:"".concat(t.direction,": 0;"),onHidden:l,onShown:u,onClose:c}),"function"==typeof(r=n)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,e.isVNode)(r)?n:{default:function(){return[n]}})}}}),d=(0,t.withInstall)(h)})(),c})()));
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],e);else{var r="object"==typeof exports?e(require("../shared"),require("vue"),require("../button"),require("../modal")):e(t["../shared"],t.vue,t["../button"],t["../modal"]);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,((t,e,r,n)=>(()=>{var o={7162:(t,e,r)=>{t.exports=r(5047)},5047:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=m.prototype=y.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=m,u(j,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},L(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},4976:t=>{"use strict";t.exports=r},8014:t=>{"use strict";t.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{"use strict";a.r(c),a.d(c,{default:()=>d});var t=a(4212),e=a(748),r=a(7162),n=a.n(r);Object.create,Object.create;var o=a(4976),i=a.n(o),u=a(8014),s=a.n(u),l=s().propsMixin,f=Object.assign({},l);f.width.default="400",f.height.default="100%";const h=(0,e.defineComponent)({name:"Sideslider",components:{BkModal:s(),BkButton:i()},props:Object.assign(Object.assign({},f),{title:{type:String,default:""},extCls:{type:String,default:""},direction:{type:String,default:"right",validator:function(t){var e=["left","right"];return!(e.indexOf(t)<0&&(console.error("direction property is not valid: '".concat(t,"',【").concat(e.join(" | "),"】")),1))}}}),emits:["closed","update:isShow","shown","hidden","animation-end"],setup:function(t,r){var o=this,i=r.slots,a=r.emit,c=function(){return e=o,r=void 0,i=void 0,c=n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!0,"function"!=typeof t.beforeClose){e.next=5;break}return e.next=4,t.beforeClose();case 4:r=e.sent;case 5:r&&(a("update:isShow",!1),a("closed"),setTimeout((function(){a("animation-end")}),250));case 6:case"end":return e.stop()}}),e)})),new(i||(i=Promise))((function(t,n){function o(t){try{u(c.next(t))}catch(t){n(t)}}function a(t){try{u(c.throw(t))}catch(t){n(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(o,a)}u((c=c.apply(e,r||[])).next())}));var e,r,i,c},u=function(){setTimeout((function(){a("shown")}),200)},l=function(){setTimeout((function(){a("hidden")}),200)};return function(){var r,n={header:function(){var r,n;return(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"bk-sideslider-header"},[(0,e.createVNode)("div",{class:"bk-sideslider-close ".concat(t.direction),onClick:function(){c()}},null),(0,e.createVNode)("div",{class:"bk-sideslider-title ".concat(t.direction)},[null!==(n=null===(r=i.header)||void 0===r?void 0:r.call(i))&&void 0!==n?n:t.title])])])},default:function(){var t,e;return null!==(e=null===(t=i.default)||void 0===t?void 0:t.call(i))&&void 0!==e?e:"Content"},footer:function(){var t,r;return(0,e.createVNode)("div",{class:"bk-sideslider-footer"},[null!==(r=null===(t=i.footer)||void 0===t?void 0:t.call(i))&&void 0!==r?r:""])}},o="bk-sideslider-wrapper ".concat(t.scrollable?"scroll-able":""," ").concat(t.extCls),a=i.footer?"calc(100vh - 114px)":"calc(100vh - 60px)";return(0,e.createVNode)(s(),(0,e.mergeProps)(t,{maxHeight:a,extCls:o,style:"".concat(t.direction,": 0;"),onHidden:l,onShown:u,onClose:c}),"function"==typeof(r=n)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,e.isVNode)(r)?n:{default:function(){return[n]}})}}}),d=(0,t.withInstall)(h)})(),c})()));
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
+ extCls: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  direction: {
7
11
  type: StringConstructor;
8
12
  default: string;
@@ -19,11 +23,6 @@ declare const _default: import("vue").DefineComponent<{
19
23
  height: import("vue-types").VueTypeDef<string | number> & {
20
24
  default: string | number;
21
25
  };
22
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
23
- default: string;
24
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
25
- default: () => unknown[];
26
- });
27
26
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
28
27
  default: boolean;
29
28
  } & {
@@ -92,6 +91,10 @@ declare const _default: import("vue").DefineComponent<{
92
91
  type: StringConstructor;
93
92
  default: string;
94
93
  };
94
+ extCls: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
95
98
  direction: {
96
99
  type: StringConstructor;
97
100
  default: string;
@@ -108,11 +111,6 @@ declare const _default: import("vue").DefineComponent<{
108
111
  height: import("vue-types").VueTypeDef<string | number> & {
109
112
  default: string | number;
110
113
  };
111
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
112
- default: string;
113
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
114
- default: () => unknown[];
115
- });
116
114
  scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
117
115
  default: boolean;
118
116
  } & {
@@ -186,7 +184,7 @@ declare const _default: import("vue").DefineComponent<{
186
184
  title: string;
187
185
  multiInstance: boolean;
188
186
  showMask: boolean;
189
- extCls: string | unknown[];
187
+ extCls: string;
190
188
  width: string | number;
191
189
  height: string | number;
192
190
  draggable: boolean;
@@ -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;
@@ -41,7 +41,9 @@
41
41
  @input-broder-radius: 3px;
42
42
  @input-shadow-color: #a3c5fd;
43
43
  @input-horizontal-padding: 10px;
44
- @input-block-color: #f4f6fa;
44
+ @input-block-color: #f5f7fa;
45
+ @input-block-hover-color: #eaebf0;
46
+
45
47
  @input-icon-size: @font-size-large;
46
48
  @input-maxlength-color: #979ba5;
47
49
 
@@ -55,6 +57,9 @@
55
57
  @button-danger-active-color: #db2626;
56
58
  @button-success-active-color: #1ab943;
57
59
  @button-warning-active-color: #eb9000;
60
+ @button-selected-bg-color: #e1ecff;
61
+ @button-disabled-selected-bg-color: #f0f1f5;
62
+
58
63
 
59
64
  // fixed-navbar theme
60
65
  @fixed-navbar-background: #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;
@@ -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;
@@ -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;
@@ -7,10 +7,10 @@ declare const BkTree: {
7
7
  search: string | number | boolean | import("./props").SearchOption;
8
8
  draggable: boolean;
9
9
  lineHeight: number;
10
- prefixIcon: any;
11
10
  selected: string | number | {
12
11
  [key: string]: any;
13
12
  };
13
+ prefixIcon: any;
14
14
  children: string;
15
15
  emptyText: string;
16
16
  nodeKey: string;
@@ -112,7 +112,7 @@ declare const BkTree: {
112
112
  onNodeClick?: (...args: any[]) => any;
113
113
  onNodeCollapse?: (...args: any[]) => any;
114
114
  onNodeExpand?: (...args: any[]) => any;
115
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "search" | "draggable" | "lineHeight" | "prefixIcon" | "selected" | "children" | "emptyText" | "nodeKey" | "indent" | "levelLine" | "virtualRender" | "offsetLeft" | "dragSort" | "selectable" | "autoCheckChildren" | "autoOpenParentNode">;
115
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "search" | "draggable" | "lineHeight" | "selected" | "prefixIcon" | "children" | "emptyText" | "nodeKey" | "indent" | "levelLine" | "virtualRender" | "offsetLeft" | "dragSort" | "selectable" | "autoCheckChildren" | "autoOpenParentNode">;
116
116
  $attrs: {
117
117
  [x: string]: unknown;
118
118
  };
@@ -225,10 +225,10 @@ declare const BkTree: {
225
225
  search: string | number | boolean | import("./props").SearchOption;
226
226
  draggable: boolean;
227
227
  lineHeight: number;
228
- prefixIcon: any;
229
228
  selected: string | number | {
230
229
  [key: string]: any;
231
230
  };
231
+ prefixIcon: any;
232
232
  children: string;
233
233
  emptyText: string;
234
234
  nodeKey: string;
@@ -453,10 +453,10 @@ declare const BkTree: {
453
453
  search: string | number | boolean | import("./props").SearchOption;
454
454
  draggable: boolean;
455
455
  lineHeight: number;
456
- prefixIcon: any;
457
456
  selected: string | number | {
458
457
  [key: string]: any;
459
458
  };
459
+ prefixIcon: any;
460
460
  children: string;
461
461
  emptyText: string;
462
462
  nodeKey: string;
@@ -185,10 +185,10 @@ declare const _default: import("vue").DefineComponent<{
185
185
  search: string | number | boolean | import("./props").SearchOption;
186
186
  draggable: boolean;
187
187
  lineHeight: number;
188
- prefixIcon: any;
189
188
  selected: string | number | {
190
189
  [key: string]: any;
191
190
  };
191
+ prefixIcon: any;
192
192
  children: string;
193
193
  emptyText: string;
194
194
  nodeKey: string;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.118",
3
+ "version": "0.0.1-beta.120",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",