bkui-vue 1.0.3-beta.1 → 1.0.3-beta.10

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 (97) hide show
  1. package/README.md +1 -0
  2. package/dist/index.cjs.js +61 -61
  3. package/dist/index.esm.js +11749 -11679
  4. package/dist/index.umd.js +61 -61
  5. package/dist/style.css +1 -1
  6. package/dist/style.variable.css +1 -1
  7. package/lib/affix/index.js +1 -0
  8. package/lib/alert/index.js +1 -0
  9. package/lib/animate-number/index.js +1 -0
  10. package/lib/backtop/index.js +1 -0
  11. package/lib/badge/index.js +1 -0
  12. package/lib/breadcrumb/index.js +1 -0
  13. package/lib/button/index.js +1 -0
  14. package/lib/card/index.js +1 -0
  15. package/lib/cascader/index.js +1 -0
  16. package/lib/checkbox/index.js +1 -0
  17. package/lib/code-diff/index.js +1 -0
  18. package/lib/collapse/index.js +1 -0
  19. package/lib/collapse-transition/index.js +1 -0
  20. package/lib/color-picker/index.js +1 -0
  21. package/lib/components.js +0 -4
  22. package/lib/config-provider/index.js +1 -0
  23. package/lib/container/index.js +1 -0
  24. package/lib/date-picker/index.js +1 -0
  25. package/lib/dialog/index.js +1 -0
  26. package/lib/directives/index.js +1 -0
  27. package/lib/dist.index.js +0 -1
  28. package/lib/divider/index.js +1 -0
  29. package/lib/dropdown/index.js +1 -0
  30. package/lib/exception/index.js +1 -0
  31. package/lib/fixed-navbar/index.js +1 -0
  32. package/lib/form/form.css +1 -0
  33. package/lib/form/form.less +2 -0
  34. package/lib/form/form.variable.css +1 -0
  35. package/lib/form/index.js +1 -0
  36. package/lib/hooks.js +1 -8
  37. package/lib/icon/index.js +1 -0
  38. package/lib/image/index.js +1 -0
  39. package/lib/index.js +0 -1
  40. package/lib/info-box/index.js +1 -0
  41. package/lib/input/index.js +1 -0
  42. package/lib/link/index.js +1 -0
  43. package/lib/loading/index.js +1 -0
  44. package/lib/locale/index.js +1 -0
  45. package/lib/menu/index.js +1 -0
  46. package/lib/message/index.js +1 -0
  47. package/lib/modal/index.js +1 -0
  48. package/lib/navigation/index.js +1 -0
  49. package/lib/notify/index.js +1 -0
  50. package/lib/overflow-title/index.js +1 -0
  51. package/lib/pagination/index.js +1 -1
  52. package/lib/plugin-popover/index.js +11 -5
  53. package/lib/plugins/index.js +1 -0
  54. package/lib/pop-confirm/index.js +1 -0
  55. package/lib/popover/index.js +11 -5
  56. package/lib/popover2/index.js +1 -0
  57. package/lib/preset.js +14 -20
  58. package/lib/process/index.js +1 -0
  59. package/lib/progress/index.js +1 -0
  60. package/lib/radio/index.js +1 -0
  61. package/lib/rate/index.js +1 -0
  62. package/lib/resize-layout/index.js +1 -0
  63. package/lib/search-select/index.js +1 -0
  64. package/lib/select/index.js +1 -0
  65. package/lib/shared/index.js +1 -0
  66. package/lib/sideslider/index.js +1 -0
  67. package/lib/slider/index.js +1 -0
  68. package/lib/steps/index.js +1 -0
  69. package/lib/styles/reset.css +3 -1
  70. package/lib/styles/reset.less +3 -1
  71. package/lib/styles/reset.variable.css +3 -1
  72. package/lib/swiper/index.js +1 -0
  73. package/lib/switcher/index.js +1 -0
  74. package/lib/tab/index.js +1 -0
  75. package/lib/table/index.d.ts +15 -0
  76. package/lib/table/index.js +386 -245
  77. package/lib/table/plugins/head-sort.d.ts +7 -0
  78. package/lib/table/plugins/use-draggable.d.ts +2 -2
  79. package/lib/table/plugins/use-pagination.d.ts +2 -1
  80. package/lib/table/props.d.ts +9 -0
  81. package/lib/table/table.css +15 -16
  82. package/lib/table/table.d.ts +7 -0
  83. package/lib/table/table.less +27 -14
  84. package/lib/table/table.variable.css +15 -16
  85. package/lib/table/use-attributes.d.ts +40 -1
  86. package/lib/table/use-common.d.ts +1 -0
  87. package/lib/table/utils.d.ts +5 -4
  88. package/lib/table-column/index.js +11 -0
  89. package/lib/tag/index.js +1 -0
  90. package/lib/tag-input/index.js +1 -0
  91. package/lib/time-picker/index.js +1 -0
  92. package/lib/timeline/index.js +1 -0
  93. package/lib/transfer/index.js +1 -0
  94. package/lib/tree/index.js +1 -0
  95. package/lib/upload/index.js +1 -0
  96. package/lib/virtual-render/index.js +1 -0
  97. package/package.json +3 -2
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./affix.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./alert.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  /******/ // The require scope
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./backtop.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./badge.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./breadcrumb.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./button.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/card/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./card.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./cascader.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./checkbox.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./code-diff.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./collapse.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./color-picker.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/components.js CHANGED
@@ -23,7 +23,6 @@
23
23
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
24
  * IN THE SOFTWARE.
25
25
  */
26
-
27
26
  export { default as Alert } from './alert';
28
27
  export { default as AnimateNumber } from './animate-number';
29
28
  export { default as Affix } from './affix';
@@ -33,7 +32,6 @@ export { default as Breadcrumb } from './breadcrumb';
33
32
  export { default as Button } from './button';
34
33
  export { default as Card } from './card';
35
34
  export { default as Checkbox } from './checkbox';
36
-
37
35
  export { default as Collapse } from './collapse';
38
36
  export { default as Dialog } from './dialog';
39
37
  export { default as Exception } from './exception';
@@ -52,12 +50,10 @@ export { default as Select } from './select';
52
50
  export { default as Sideslider } from './sideslider';
53
51
  export { default as Steps } from './steps';
54
52
  export { default as Switcher } from './switcher';
55
-
56
53
  export { default as Table } from './table';
57
54
  export { default as Tag } from './tag';
58
55
  export { default as TagInput } from './tag-input';
59
56
  export { default as Divider } from './divider';
60
-
61
57
  export { default as Tab } from './tab';
62
58
  export { default as Message } from './message';
63
59
  export { default as InfoBox } from './info-box';
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__ from "lodash/merge";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./container.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./date-picker.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./dialog.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
package/lib/dist.index.js CHANGED
@@ -24,7 +24,6 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  import './styles';
27
-
28
27
  export { default } from './preset';
29
28
  export * from './components';
30
29
  export * from './directives';
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./divider.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./dropdown.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./exception.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./fixed-navbar.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/form/form.css CHANGED
@@ -59,6 +59,7 @@
59
59
  color: #63656e;
60
60
  text-align: right;
61
61
  vertical-align: middle;
62
+ box-sizing: border-box;
62
63
  }
63
64
  .bk-form-label-description {
64
65
  cursor: pointer;
@@ -24,6 +24,7 @@
24
24
  margin-bottom: 6px;
25
25
  line-height: 20px;
26
26
  text-align: left;
27
+
27
28
  }
28
29
 
29
30
  .@{bk-prefix}-form-content {
@@ -81,6 +82,7 @@
81
82
  text-align: right;
82
83
  text-align: right;
83
84
  vertical-align: middle;
85
+ box-sizing: border-box;
84
86
  }
85
87
  .@{bk-prefix}-form-label-description {
86
88
  cursor: pointer;
@@ -185,6 +185,7 @@
185
185
  color: #63656e;
186
186
  text-align: right;
187
187
  vertical-align: middle;
188
+ box-sizing: border-box;
188
189
  }
189
190
  .bk-form-label-description {
190
191
  cursor: pointer;
package/lib/form/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./form.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/hooks.js CHANGED
@@ -23,11 +23,4 @@
23
23
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
24
  * IN THE SOFTWARE.
25
25
  */
26
- export {
27
- useGlobalConfig,
28
- provideGlobalConfig,
29
- useLocale,
30
- usePrefix,
31
- defaultRootConfig,
32
- rootProviderKey,
33
- } from './config-provider';
26
+ export { useGlobalConfig, provideGlobalConfig, useLocale, usePrefix, defaultRootConfig, rootProviderKey, } from './config-provider';
package/lib/icon/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
3
  /******/ var __webpack_modules__ = ({
3
4
 
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
package/lib/index.js CHANGED
@@ -24,7 +24,6 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  // import './styles';
27
-
28
27
  export { default } from './preset';
29
28
  export * from './components';
30
29
  export * from './directives';
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./info-box.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./input.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/link/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./link.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./loading.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  /******/ // The require scope
2
3
  /******/ var __webpack_require__ = {};
3
4
  /******/
package/lib/menu/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./menu.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./message.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./modal.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./navigation.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./notify.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./overflow-title.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./pagination.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -572,7 +573,6 @@ const popover_less_namespaceObject = popover_less_x({ });
572
573
  */
573
574
  var handlePageEditorBlur = function handlePageEditorBlur() {
574
575
  isFocused.value = false;
575
- inputRef.value.textContent = "".concat(inputMemo);
576
576
  if (inputMemo !== localCurrent.value) {
577
577
  localCurrent.value = inputMemo;
578
578
  }
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
@@ -3423,14 +3424,19 @@ var parentNodeReferId = null;
3423
3424
  storeEvents = null;
3424
3425
  }
3425
3426
  };
3427
+ var getClosestFullscreenElement = function getClosestFullscreenElement(elment) {
3428
+ var _elment$closest;
3429
+ return (_elment$closest = elment === null || elment === void 0 ? void 0 : elment.closest('[data-fllsrn-id]')) !== null && _elment$closest !== void 0 ? _elment$closest : elment;
3430
+ };
3426
3431
  var updateBoundary = function updateBoundary() {
3427
3432
  var _resolvePopElements3 = resolvePopElements(),
3428
3433
  elReference = _resolvePopElements3.elReference,
3429
3434
  root = _resolvePopElements3.root;
3430
3435
  if (isFullscreen.value) {
3436
+ var _fullScreenTarget$val;
3431
3437
  var _ref6 = elReference || root || {},
3432
3438
  parentNode = _ref6.parentNode;
3433
- boundary.value = (fullScreenTarget === null || fullScreenTarget === void 0 ? void 0 : fullScreenTarget.value) || parentNode;
3439
+ boundary.value = (_fullScreenTarget$val = fullScreenTarget === null || fullScreenTarget === void 0 ? void 0 : fullScreenTarget.value) !== null && _fullScreenTarget$val !== void 0 ? _fullScreenTarget$val : getClosestFullscreenElement(parentNode);
3434
3440
  return;
3435
3441
  }
3436
3442
  boundary.value = getPrefixId(root || elReference);
@@ -3438,13 +3444,13 @@ var parentNodeReferId = null;
3438
3444
  var _usePopperId = use_popper_id(props, '#'),
3439
3445
  getPrefixId = _usePopperId.getPrefixId;
3440
3446
  var setFullscreenTag = function setFullscreenTag() {
3441
- var _fullScreenTarget$val;
3442
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val = fullScreenTarget.value) === null || _fullScreenTarget$val === void 0 || _fullScreenTarget$val.setAttribute('data-fllsrn-id', fullscreenReferId);
3447
+ var _fullScreenTarget$val2;
3448
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 || _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3443
3449
  };
3444
3450
  var clearFullscreenTag = function clearFullscreenTag() {
3445
- var _fullScreenTarget$val2, _fullScreenTarget$val3;
3451
+ var _fullScreenTarget$val3, _fullScreenTarget$val4;
3446
3452
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3447
- ((_fullScreenTarget$val2 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val3 = fullScreenTarget.value) === null || _fullScreenTarget$val3 === void 0 ? void 0 : _fullScreenTarget$val3.querySelectorAll(query)) !== null && _fullScreenTarget$val2 !== void 0 ? _fullScreenTarget$val2 : []).forEach(function (element) {
3453
+ ((_fullScreenTarget$val3 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val4 = fullScreenTarget.value) === null || _fullScreenTarget$val4 === void 0 ? void 0 : _fullScreenTarget$val4.querySelectorAll(query)) !== null && _fullScreenTarget$val3 !== void 0 ? _fullScreenTarget$val3 : []).forEach(function (element) {
3448
3454
  element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3449
3455
  });
3450
3456
  };
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE__plugin_popover_d49f5bb2__ from "../plugin-popover";
2
3
  /******/ // The require scope
3
4
  /******/ var __webpack_require__ = {};
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./pop-confirm.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./popover.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -3426,14 +3427,19 @@ var parentNodeReferId = null;
3426
3427
  storeEvents = null;
3427
3428
  }
3428
3429
  };
3430
+ var getClosestFullscreenElement = function getClosestFullscreenElement(elment) {
3431
+ var _elment$closest;
3432
+ return (_elment$closest = elment === null || elment === void 0 ? void 0 : elment.closest('[data-fllsrn-id]')) !== null && _elment$closest !== void 0 ? _elment$closest : elment;
3433
+ };
3429
3434
  var updateBoundary = function updateBoundary() {
3430
3435
  var _resolvePopElements3 = resolvePopElements(),
3431
3436
  elReference = _resolvePopElements3.elReference,
3432
3437
  root = _resolvePopElements3.root;
3433
3438
  if (isFullscreen.value) {
3439
+ var _fullScreenTarget$val;
3434
3440
  var _ref6 = elReference || root || {},
3435
3441
  parentNode = _ref6.parentNode;
3436
- boundary.value = (fullScreenTarget === null || fullScreenTarget === void 0 ? void 0 : fullScreenTarget.value) || parentNode;
3442
+ boundary.value = (_fullScreenTarget$val = fullScreenTarget === null || fullScreenTarget === void 0 ? void 0 : fullScreenTarget.value) !== null && _fullScreenTarget$val !== void 0 ? _fullScreenTarget$val : getClosestFullscreenElement(parentNode);
3437
3443
  return;
3438
3444
  }
3439
3445
  boundary.value = getPrefixId(root || elReference);
@@ -3441,13 +3447,13 @@ var parentNodeReferId = null;
3441
3447
  var _usePopperId = use_popper_id(props, '#'),
3442
3448
  getPrefixId = _usePopperId.getPrefixId;
3443
3449
  var setFullscreenTag = function setFullscreenTag() {
3444
- var _fullScreenTarget$val;
3445
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val = fullScreenTarget.value) === null || _fullScreenTarget$val === void 0 || _fullScreenTarget$val.setAttribute('data-fllsrn-id', fullscreenReferId);
3450
+ var _fullScreenTarget$val2;
3451
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 || _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3446
3452
  };
3447
3453
  var clearFullscreenTag = function clearFullscreenTag() {
3448
- var _fullScreenTarget$val2, _fullScreenTarget$val3;
3454
+ var _fullScreenTarget$val3, _fullScreenTarget$val4;
3449
3455
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3450
- ((_fullScreenTarget$val2 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val3 = fullScreenTarget.value) === null || _fullScreenTarget$val3 === void 0 ? void 0 : _fullScreenTarget$val3.querySelectorAll(query)) !== null && _fullScreenTarget$val2 !== void 0 ? _fullScreenTarget$val2 : []).forEach(function (element) {
3456
+ ((_fullScreenTarget$val3 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val4 = fullScreenTarget.value) === null || _fullScreenTarget$val4 === void 0 ? void 0 : _fullScreenTarget$val4.querySelectorAll(query)) !== null && _fullScreenTarget$val3 !== void 0 ? _fullScreenTarget$val3 : []).forEach(function (element) {
3451
3457
  element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3452
3458
  });
3453
3459
  };
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
4
  /******/ // The require scope
package/lib/preset.js CHANGED
@@ -23,31 +23,25 @@
23
23
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
24
  * IN THE SOFTWARE.
25
25
  */
26
-
27
- import { App } from 'vue';
28
-
29
- import { ConfigProviderProps, provideGlobalConfig } from './config-provider';
30
-
26
+ import { provideGlobalConfig } from './config-provider';
31
27
  import * as components from './components';
32
-
33
- const createInstall =
34
- (prefix = 'Bk') =>
35
- (app, options) => {
28
+ const createInstall = (prefix = 'Bk') => (app, options) => {
36
29
  const pre = app.config.globalProperties.bkUIPrefix || prefix;
37
30
  Object.keys(components).forEach(key => {
38
- const component = components[key];
39
- if ('install' in component) {
40
- app.use(component, { prefix: pre });
41
- } else {
42
- app.component(pre + key, components[key]);
43
- }
31
+ const component = components[key];
32
+ if ('install' in component) {
33
+ app.use(component, { prefix: pre });
34
+ }
35
+ else {
36
+ app.component(pre + key, components[key]);
37
+ }
44
38
  });
45
39
  if (options) {
46
- provideGlobalConfig(options, app);
40
+ provideGlobalConfig(options, app);
47
41
  }
48
- };
42
+ };
49
43
  export default {
50
- createInstall,
51
- install: createInstall(),
52
- version: '0.0.1',
44
+ createInstall,
45
+ install: createInstall(),
46
+ version: '0.0.1',
53
47
  };
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./process.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./progress.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./radio.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/rate/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./rate.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./resize-layout.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./search-select.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./select.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./sideslider.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./slider.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./steps.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -12,7 +12,9 @@ body {
12
12
  padding: 0;
13
13
  margin: 0;
14
14
  }
15
- * {
15
+ *,
16
+ *::before,
17
+ *::after {
16
18
  box-sizing: border-box;
17
19
  }
18
20
  /**
@@ -19,7 +19,9 @@ body {
19
19
  margin: 0;
20
20
  }
21
21
 
22
- * {
22
+ *,
23
+ *::before,
24
+ *::after {
23
25
  box-sizing: border-box;
24
26
  }
25
27
 
@@ -138,7 +138,9 @@ body {
138
138
  padding: 0;
139
139
  margin: 0;
140
140
  }
141
- * {
141
+ *,
142
+ *::before,
143
+ *::after {
142
144
  box-sizing: border-box;
143
145
  }
144
146
  /**
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./swiper.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./switcher.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
package/lib/tab/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "../styles/reset.css";
1
2
  import "./tab.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";