bkui-vue 0.0.2-beta.14 → 0.0.2-beta.16

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.
@@ -26472,7 +26472,10 @@ const InfoBox = (config) => {
26472
26472
  isShow.value = false;
26473
26473
  };
26474
26474
  function update(newValue) {
26475
- modalFuncProps.value = newValue;
26475
+ modalFuncProps.value = {
26476
+ ...modalFuncProps.value,
26477
+ ...newValue
26478
+ };
26476
26479
  }
26477
26480
  expose({
26478
26481
  update
@@ -26508,6 +26511,8 @@ const InfoBox = (config) => {
26508
26511
  class: resolveClassName2("info-wrapper"),
26509
26512
  headerAlign: "center",
26510
26513
  footerAlign: "center",
26514
+ transfer: true,
26515
+ fullscreen: false,
26511
26516
  ...modalFuncProps.value,
26512
26517
  isShow: isShow.value,
26513
26518
  onClosed,
@@ -43649,7 +43654,8 @@ const Component$2 = /* @__PURE__ */ vue.defineComponent({
43649
43654
  props: colorPickerProps,
43650
43655
  emits: ["update:modelValue", "change"],
43651
43656
  setup(props2, {
43652
- emit
43657
+ emit,
43658
+ slots
43653
43659
  }) {
43654
43660
  const formItem = useFormItem();
43655
43661
  const showDropdown = vue.ref(false);
@@ -43784,7 +43790,10 @@ const Component$2 = /* @__PURE__ */ vue.defineComponent({
43784
43790
  "class": colorPickerCls.value,
43785
43791
  "onKeydown": handleTriggerKeydown,
43786
43792
  "onClick": toggleDropdown
43787
- }, [vue.createVNode("div", {
43793
+ }, [typeof slots.trigger === "function" ? slots.trigger({
43794
+ value: colorStr.value,
43795
+ isShowDropdown: showDropdown.value
43796
+ }) : vue.createVNode(vue.Fragment, null, [vue.createVNode("div", {
43788
43797
  "class": `${resolveClassName2("color-picker-color")}`
43789
43798
  }, [vue.createVNode("span", {
43790
43799
  "class": `${resolveClassName2("color-picker-color-square")} ${!colorStr.value && `${resolveClassName2("color-picker-empty")}`}`,
@@ -43795,7 +43804,7 @@ const Component$2 = /* @__PURE__ */ vue.defineComponent({
43795
43804
  "class": `${resolveClassName2("color-picker-icon")}`
43796
43805
  }, [vue.createVNode(angleUp, {
43797
43806
  "class": "icon-angle-down"
43798
- }, null)]), vue.createVNode(vue.Transition, {
43807
+ }, null)])]), vue.createVNode(vue.Transition, {
43799
43808
  "name": "bk-fade-down-transition"
43800
43809
  }, {
43801
43810
  default: () => [vue.withDirectives(vue.createVNode(PickerDropdown, {
@@ -44752,15 +44761,16 @@ const SearchSelectInput = /* @__PURE__ */ vue.defineComponent({
44752
44761
  const isMatched = item.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase());
44753
44762
  if (isMatched) {
44754
44763
  list.push(item);
44764
+ const filterList = [];
44755
44765
  (_a2 = item.children) == null ? void 0 : _a2.forEach((child) => {
44756
- list.push({
44766
+ filterList.push({
44757
44767
  ...item,
44758
44768
  realId: item.id,
44759
44769
  id: random(10),
44760
44770
  value: child
44761
44771
  });
44762
44772
  });
44763
- list.push({
44773
+ !filterList.length && !item.onlyRecommendChildren && filterList.push({
44764
44774
  ...item,
44765
44775
  realId: item.id,
44766
44776
  id: random(10),
@@ -44769,10 +44779,12 @@ const SearchSelectInput = /* @__PURE__ */ vue.defineComponent({
44769
44779
  name: keyword.value
44770
44780
  }
44771
44781
  });
44782
+ list.push(...filterList);
44772
44783
  } else {
44784
+ const filterList = [];
44773
44785
  (_b2 = item.children) == null ? void 0 : _b2.forEach((child) => {
44774
44786
  if (child.name.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase())) {
44775
- list.push({
44787
+ filterList.push({
44776
44788
  ...item,
44777
44789
  realId: item.id,
44778
44790
  id: random(10),
@@ -44780,13 +44792,14 @@ const SearchSelectInput = /* @__PURE__ */ vue.defineComponent({
44780
44792
  });
44781
44793
  }
44782
44794
  });
44783
- list.push({
44795
+ !filterList.length && !item.onlyRecommendChildren && filterList.push({
44784
44796
  ...item,
44785
44797
  value: {
44786
44798
  id: keyword.value,
44787
44799
  name: keyword.value
44788
44800
  }
44789
44801
  });
44802
+ list.push(...filterList);
44790
44803
  }
44791
44804
  });
44792
44805
  } else if (usingItem.value.type === "condition") {