bkui-vue 0.0.2-beta.15 → 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, {