qidian-vue-ui 2.8.19 → 2.8.20
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.
|
@@ -12,7 +12,7 @@ declare const _default: <D extends SelectOption = SelectOption, R = unknown, P =
|
|
|
12
12
|
expose(exposed: import("vue").ShallowUnwrapRef<QdServiceSelectInstanceFunctions<D, R, P, TP, Pag>>): void;
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
15
|
-
[x:
|
|
15
|
+
[x: string]: ((props: any) => any) | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
'panel-bottom-content'?: (props: {}) => any;
|
|
18
18
|
} & {
|
|
@@ -4,7 +4,7 @@ import _sfc_main from "./index.vue2.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
7
|
+
const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c29c6081"]]);
|
|
8
8
|
export {
|
|
9
9
|
QdServiceSelect as default
|
|
10
10
|
};
|
|
@@ -2,7 +2,7 @@ import './index2.css'
|
|
|
2
2
|
import './index.css'
|
|
3
3
|
import { defineComponent, mergeDefaults, computed, ref, unref, watch, onMounted, onActivated, onDeactivated, createBlock, openBlock, mergeProps, isRef, createSlots, withCtx, renderSlot, createCommentVNode, renderList, normalizeProps, guardReactiveProps } from "vue";
|
|
4
4
|
import { useVModels } from "../../node_modules/.pnpm/@vueuse_core@14.2.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
|
|
5
|
-
import { isEmpty, toArr, useServiceLoadMore,
|
|
5
|
+
import { isEmpty, toArr, useServiceLoadMore, filterSlots, checkSameObject } from "qidian-shared";
|
|
6
6
|
import { Select, Loading } from "tdesign-vue-next";
|
|
7
7
|
import { useConfig } from "../config-provider/useConfig.mjs";
|
|
8
8
|
import { qdDictConvStrSeparator } from "../dict/tag/props.mjs";
|
|
@@ -496,11 +496,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
496
496
|
]),
|
|
497
497
|
_: 2
|
|
498
498
|
}, [
|
|
499
|
-
renderList(unref(
|
|
499
|
+
renderList(unref(filterSlots)(_ctx.$slots, ["default", "panel-bottom-content"]), (name) => {
|
|
500
500
|
return {
|
|
501
501
|
name,
|
|
502
502
|
fn: withCtx((slotProps) => [
|
|
503
|
-
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps)), void 0, true)
|
|
503
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps ?? {})), void 0, true)
|
|
504
504
|
])
|
|
505
505
|
};
|
|
506
506
|
})
|