bkui-vue 1.0.3-beta.3 → 1.0.3-beta.7

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.
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,7 +82,7 @@
81
82
  text-align: right;
82
83
  text-align: right;
83
84
  vertical-align: middle;
84
- // box-sizing: border-box;
85
+ box-sizing: border-box;
85
86
  }
86
87
  .@{bk-prefix}-form-label-description {
87
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;
@@ -573,7 +573,6 @@ const popover_less_namespaceObject = popover_less_x({ });
573
573
  */
574
574
  var handlePageEditorBlur = function handlePageEditorBlur() {
575
575
  isFocused.value = false;
576
- inputRef.value.textContent = "".concat(inputMemo);
577
576
  if (inputMemo !== localCurrent.value) {
578
577
  localCurrent.value = inputMemo;
579
578
  }
@@ -3424,14 +3424,19 @@ var parentNodeReferId = null;
3424
3424
  storeEvents = null;
3425
3425
  }
3426
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
+ };
3427
3431
  var updateBoundary = function updateBoundary() {
3428
3432
  var _resolvePopElements3 = resolvePopElements(),
3429
3433
  elReference = _resolvePopElements3.elReference,
3430
3434
  root = _resolvePopElements3.root;
3431
3435
  if (isFullscreen.value) {
3436
+ var _fullScreenTarget$val;
3432
3437
  var _ref6 = elReference || root || {},
3433
3438
  parentNode = _ref6.parentNode;
3434
- 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);
3435
3440
  return;
3436
3441
  }
3437
3442
  boundary.value = getPrefixId(root || elReference);
@@ -3439,13 +3444,13 @@ var parentNodeReferId = null;
3439
3444
  var _usePopperId = use_popper_id(props, '#'),
3440
3445
  getPrefixId = _usePopperId.getPrefixId;
3441
3446
  var setFullscreenTag = function setFullscreenTag() {
3442
- var _fullScreenTarget$val;
3443
- 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);
3444
3449
  };
3445
3450
  var clearFullscreenTag = function clearFullscreenTag() {
3446
- var _fullScreenTarget$val2, _fullScreenTarget$val3;
3451
+ var _fullScreenTarget$val3, _fullScreenTarget$val4;
3447
3452
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3448
- ((_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) {
3449
3454
  element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3450
3455
  });
3451
3456
  };
@@ -3427,14 +3427,19 @@ var parentNodeReferId = null;
3427
3427
  storeEvents = null;
3428
3428
  }
3429
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
+ };
3430
3434
  var updateBoundary = function updateBoundary() {
3431
3435
  var _resolvePopElements3 = resolvePopElements(),
3432
3436
  elReference = _resolvePopElements3.elReference,
3433
3437
  root = _resolvePopElements3.root;
3434
3438
  if (isFullscreen.value) {
3439
+ var _fullScreenTarget$val;
3435
3440
  var _ref6 = elReference || root || {},
3436
3441
  parentNode = _ref6.parentNode;
3437
- 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);
3438
3443
  return;
3439
3444
  }
3440
3445
  boundary.value = getPrefixId(root || elReference);
@@ -3442,13 +3447,13 @@ var parentNodeReferId = null;
3442
3447
  var _usePopperId = use_popper_id(props, '#'),
3443
3448
  getPrefixId = _usePopperId.getPrefixId;
3444
3449
  var setFullscreenTag = function setFullscreenTag() {
3445
- var _fullScreenTarget$val;
3446
- 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);
3447
3452
  };
3448
3453
  var clearFullscreenTag = function clearFullscreenTag() {
3449
- var _fullScreenTarget$val2, _fullScreenTarget$val3;
3454
+ var _fullScreenTarget$val3, _fullScreenTarget$val4;
3450
3455
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3451
- ((_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) {
3452
3457
  element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3453
3458
  });
3454
3459
  };
@@ -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
  /**
@@ -42,6 +42,9 @@ declare const BkTable: {
42
42
  } & {
43
43
  default: boolean;
44
44
  };
45
+ sortValFormat: import("vue-types").VueTypeDef<any[]> & {
46
+ default: () => any[];
47
+ };
45
48
  thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
46
49
  default: () => import("./props").Thead;
47
50
  };
@@ -363,6 +366,9 @@ declare const BkTable: {
363
366
  } & {
364
367
  default: boolean;
365
368
  };
369
+ sortValFormat: import("vue-types").VueTypeDef<any[]> & {
370
+ default: () => any[];
371
+ };
366
372
  thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
367
373
  default: () => import("./props").Thead;
368
374
  };
@@ -586,6 +592,7 @@ declare const BkTable: {
586
592
  stripe: boolean;
587
593
  rowHeight: import("./props").RowHeightFunctionNumber;
588
594
  showHead: boolean;
595
+ sortValFormat: any[];
589
596
  virtualEnabled: boolean;
590
597
  paginationHeight: number;
591
598
  remotePagination: boolean;
@@ -650,6 +657,9 @@ declare const BkTable: {
650
657
  } & {
651
658
  default: boolean;
652
659
  };
660
+ sortValFormat: import("vue-types").VueTypeDef<any[]> & {
661
+ default: () => any[];
662
+ };
653
663
  thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
654
664
  default: () => import("./props").Thead;
655
665
  };
@@ -873,6 +883,7 @@ declare const BkTable: {
873
883
  stripe: boolean;
874
884
  rowHeight: import("./props").RowHeightFunctionNumber;
875
885
  showHead: boolean;
886
+ sortValFormat: any[];
876
887
  virtualEnabled: boolean;
877
888
  paginationHeight: number;
878
889
  remotePagination: boolean;
@@ -934,6 +945,9 @@ declare const BkTable: {
934
945
  } & {
935
946
  default: boolean;
936
947
  };
948
+ sortValFormat: import("vue-types").VueTypeDef<any[]> & {
949
+ default: () => any[];
950
+ };
937
951
  thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
938
952
  default: () => import("./props").Thead;
939
953
  };
@@ -1240,6 +1254,7 @@ declare const BkTable: {
1240
1254
  stripe: boolean;
1241
1255
  rowHeight: import("./props").RowHeightFunctionNumber;
1242
1256
  showHead: boolean;
1257
+ sortValFormat: any[];
1243
1258
  virtualEnabled: boolean;
1244
1259
  paginationHeight: number;
1245
1260
  remotePagination: boolean;