@webx-ui/core 0.30.1 → 0.31.0

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.
@@ -52,10 +52,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
52
52
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
53
  "update:open": (value: boolean) => any;
54
54
  "filters-inline": (inline: boolean) => any;
55
+ "detail-inline": (inline: boolean) => any;
55
56
  "update:filtersOpen": (value: boolean) => any;
56
57
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
57
58
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
58
59
  "onFilters-inline"?: ((inline: boolean) => any) | undefined;
60
+ "onDetail-inline"?: ((inline: boolean) => any) | undefined;
59
61
  "onUpdate:filtersOpen"?: ((value: boolean) => any) | undefined;
60
62
  }>, {
61
63
  filtersWidth: number | string;
package/dist/index.js CHANGED
@@ -8645,7 +8645,7 @@ const cn = [
8645
8645
  filtersOpen: { type: Boolean, default: !1 },
8646
8646
  filtersOpenModifiers: {}
8647
8647
  }),
8648
- emits: /* @__PURE__ */ de(["filters-inline"], ["update:open", "update:filtersOpen"]),
8648
+ emits: /* @__PURE__ */ de(["filters-inline", "detail-inline"], ["update:open", "update:filtersOpen"]),
8649
8649
  setup(e, { emit: a }) {
8650
8650
  const t = e, l = a, n = we(e, "open"), o = we(e, "filtersOpen"), i = st(), r = f(() => !!i.detail), u = X(null), d = Xt(u);
8651
8651
  function m(W) {
@@ -8677,6 +8677,12 @@ const cn = [
8677
8677
  W && (o.value = !1), l("filters-inline", W);
8678
8678
  },
8679
8679
  { immediate: !0 }
8680
+ ), ge(
8681
+ [d, h],
8682
+ () => {
8683
+ d.value > 0 && l("detail-inline", h.value);
8684
+ },
8685
+ { immediate: !0 }
8680
8686
  ), (W, K) => (s(), v("div", {
8681
8687
  ref_key: "root",
8682
8688
  ref: u,
@@ -8742,7 +8748,7 @@ const cn = [
8742
8748
  }, 8, ["open", "size", "title"])) : x("", !0)
8743
8749
  ], 4));
8744
8750
  }
8745
- }), Uh = /* @__PURE__ */ ue(Hh, [["__scopeId", "data-v-138d8ee9"]]), Kh = ["inert"], jh = ["aria-label"], Yh = {
8751
+ }), Uh = /* @__PURE__ */ ue(Hh, [["__scopeId", "data-v-4597169c"]]), Kh = ["inert"], jh = ["aria-label"], Yh = {
8746
8752
  key: 0,
8747
8753
  class: "wx-loading__text"
8748
8754
  }, Xh = /* @__PURE__ */ ae({