@w-run/wdesign-ui 0.0.0-stage → 1.1.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.
- package/README.md +255 -2
- package/dist/index.d.ts +1013 -0
- package/dist/parts/WdAffix.js +159 -0
- package/dist/parts/WdAiMessage.js +277 -0
- package/dist/parts/WdAlert.js +92 -0
- package/dist/parts/WdAnchor.js +159 -0
- package/dist/parts/WdAudioPlayer.js +1024 -0
- package/dist/parts/WdAvatar.js +6 -0
- package/dist/parts/WdAvatarGroup.js +46 -0
- package/dist/parts/WdBacktop.js +120 -0
- package/dist/parts/WdBadge.js +61 -0
- package/dist/parts/WdBento.js +40 -0
- package/dist/parts/WdBentoItem.js +43 -0
- package/dist/parts/WdBottomSheet.js +263 -0
- package/dist/parts/WdBreadcrumb.js +64 -0
- package/dist/parts/WdButton.js +94 -0
- package/dist/parts/WdCalendar.js +11 -0
- package/dist/parts/WdCard.js +113 -0
- package/dist/parts/WdCarousel.js +365 -0
- package/dist/parts/WdCascader.js +386 -0
- package/dist/parts/WdCheckbox.js +81 -0
- package/dist/parts/WdCollapse.js +135 -0
- package/dist/parts/WdColorPicker.js +592 -0
- package/dist/parts/WdCommand.js +357 -0
- package/dist/parts/WdContainer.js +37 -0
- package/dist/parts/WdCountdown.js +163 -0
- package/dist/parts/WdDanmaku.js +6 -0
- package/dist/parts/WdDatePicker.js +169 -0
- package/dist/parts/WdDateTimePicker.js +162 -0
- package/dist/parts/WdDescriptions.js +146 -0
- package/dist/parts/WdDivider.js +64 -0
- package/dist/parts/WdDrawer.js +176 -0
- package/dist/parts/WdDropdown.js +140 -0
- package/dist/parts/WdEmpty.js +79 -0
- package/dist/parts/WdExplorer.js +336 -0
- package/dist/parts/WdFileList.js +177 -0
- package/dist/parts/WdForm.js +111 -0
- package/dist/parts/WdFormItem.js +156 -0
- package/dist/parts/WdGrid.js +40 -0
- package/dist/parts/WdGroup.js +68 -0
- package/dist/parts/WdImagePreview.js +274 -0
- package/dist/parts/WdInput.js +10 -0
- package/dist/parts/WdInputNumber.js +253 -0
- package/dist/parts/WdListItem.js +60 -0
- package/dist/parts/WdLoading.js +128 -0
- package/dist/parts/WdMarkdown.js +172 -0
- package/dist/parts/WdMarquee.js +80 -0
- package/dist/parts/WdMasonry.js +40 -0
- package/dist/parts/WdMediaCard.js +302 -0
- package/dist/parts/WdMentions.js +277 -0
- package/dist/parts/WdModal.js +149 -0
- package/dist/parts/WdNav.js +311 -0
- package/dist/parts/WdNotification.js +112 -0
- package/dist/parts/WdOtp.js +107 -0
- package/dist/parts/WdPagination.js +252 -0
- package/dist/parts/WdPopconfirm.js +214 -0
- package/dist/parts/WdPopover.js +203 -0
- package/dist/parts/WdPostItem.js +84 -0
- package/dist/parts/WdProgress.js +48 -0
- package/dist/parts/WdProgressRing.js +101 -0
- package/dist/parts/WdPullRefresh.js +167 -0
- package/dist/parts/WdQRCode.js +1909 -0
- package/dist/parts/WdRadioGroup.js +95 -0
- package/dist/parts/WdRate.js +128 -0
- package/dist/parts/WdResult.js +86 -0
- package/dist/parts/WdScrollbar.js +186 -0
- package/dist/parts/WdSegmented.js +11 -0
- package/dist/parts/WdSelect.js +465 -0
- package/dist/parts/WdSkeleton.js +69 -0
- package/dist/parts/WdSlider.js +100 -0
- package/dist/parts/WdSortableList.js +291 -0
- package/dist/parts/WdSpace.js +46 -0
- package/dist/parts/WdSparkline.js +148 -0
- package/dist/parts/WdSpinner.js +6 -0
- package/dist/parts/WdSplitter.js +183 -0
- package/dist/parts/WdStatBar.js +202 -0
- package/dist/parts/WdStatistic.js +131 -0
- package/dist/parts/WdSteps.js +110 -0
- package/dist/parts/WdSwitch.js +63 -0
- package/dist/parts/WdTabBar.js +84 -0
- package/dist/parts/WdTable.js +589 -0
- package/dist/parts/WdTabs.js +219 -0
- package/dist/parts/WdTag.js +6 -0
- package/dist/parts/WdTagInput.js +181 -0
- package/dist/parts/WdTimePicker.js +12 -0
- package/dist/parts/WdTimeline.js +145 -0
- package/dist/parts/WdTooltip.js +108 -0
- package/dist/parts/WdTour.js +264 -0
- package/dist/parts/WdTransfer.js +446 -0
- package/dist/parts/WdTree.js +322 -0
- package/dist/parts/WdUpload.js +309 -0
- package/dist/parts/WdVideoPlayer.js +1006 -0
- package/dist/parts/WdVirtualList.js +169 -0
- package/dist/parts/WdWatermark.js +150 -0
- package/dist/parts/chunk-3LVE72ZK.js +361 -0
- package/dist/parts/chunk-5HYOQ52I.js +101 -0
- package/dist/parts/chunk-7M3MUL3B.js +275 -0
- package/dist/parts/chunk-AOTJ63HN.js +15 -0
- package/dist/parts/chunk-AXEF2U2A.js +41 -0
- package/dist/parts/chunk-CY3QOSFP.js +645 -0
- package/dist/parts/chunk-G7NN4A6J.js +40 -0
- package/dist/parts/chunk-HAKYCUAR.js +9 -0
- package/dist/parts/chunk-JDE4AHBR.js +160 -0
- package/dist/parts/chunk-LT3NTWIT.js +117 -0
- package/dist/parts/chunk-OGHYFT7B.js +387 -0
- package/dist/parts/chunk-Q34U2HES.js +261 -0
- package/dist/parts/chunk-RLSVPJHM.js +10 -0
- package/dist/parts/chunk-U2CDKD2T.js +30 -0
- package/dist/parts/chunk-UYUNYHZD.js +40 -0
- package/dist/parts/chunk-VUJL2HGD.js +23 -0
- package/dist/parts/chunk-WCFG5KNT.js +51 -0
- package/dist/parts/chunk-WDDAALPI.js +42 -0
- package/dist/parts/chunk-WFXLDBP2.js +149 -0
- package/dist/style/affix.css +566 -0
- package/dist/style/ai-msg.css +746 -0
- package/dist/style/alert.css +636 -0
- package/dist/style/anchor.css +630 -0
- package/dist/style/audio.css +1954 -0
- package/dist/style/avatar.css +651 -0
- package/dist/style/backtop.css +625 -0
- package/dist/style/badge.css +632 -0
- package/dist/style/bento.css +763 -0
- package/dist/style/bottom-sheet.css +776 -0
- package/dist/style/breadcrumb.css +629 -0
- package/dist/style/button.css +829 -0
- package/dist/style/calendar.css +1512 -0
- package/dist/style/card.css +748 -0
- package/dist/style/carousel.css +670 -0
- package/dist/style/cascader.css +862 -0
- package/dist/style/checkbox.css +706 -0
- package/dist/style/chevron.css +575 -0
- package/dist/style/collapse.css +648 -0
- package/dist/style/colorpicker.css +876 -0
- package/dist/style/command.css +760 -0
- package/dist/style/container.css +550 -0
- package/dist/style/countdown.css +722 -0
- package/dist/style/danmaku.css +644 -0
- package/dist/style/datepicker.css +683 -0
- package/dist/style/datetime-picker.css +714 -0
- package/dist/style/descriptions.css +712 -0
- package/dist/style/divider.css +604 -0
- package/dist/style/dot.css +585 -0
- package/dist/style/drawer.css +743 -0
- package/dist/style/dropdown.css +645 -0
- package/dist/style/empty.css +657 -0
- package/dist/style/explorer.css +944 -0
- package/dist/style/file-list.css +664 -0
- package/dist/style/flip.css +600 -0
- package/dist/style/form.css +638 -0
- package/dist/style/grid.css +618 -0
- package/dist/style/group.css +1022 -0
- package/dist/style/icon-btn.css +641 -0
- package/dist/style/image-preview.css +725 -0
- package/dist/style/input-number.css +680 -0
- package/dist/style/input.css +682 -0
- package/dist/style/list.css +630 -0
- package/dist/style/loading.css +667 -0
- package/dist/style/markdown.css +884 -0
- package/dist/style/marquee.css +678 -0
- package/dist/style/masonry.css +614 -0
- package/dist/style/media-card.css +1229 -0
- package/dist/style/mentions.css +690 -0
- package/dist/style/modal.css +775 -0
- package/dist/style/nav.css +1046 -0
- package/dist/style/notification.css +601 -0
- package/dist/style/otp.css +699 -0
- package/dist/style/pagination.css +680 -0
- package/dist/style/popconfirm.css +645 -0
- package/dist/style/popover.css +740 -0
- package/dist/style/post-item.css +676 -0
- package/dist/style/progress-ring.css +640 -0
- package/dist/style/progress.css +576 -0
- package/dist/style/pull-refresh.css +637 -0
- package/dist/style/qrcode.css +613 -0
- package/dist/style/radio.css +705 -0
- package/dist/style/rate.css +637 -0
- package/dist/style/result.css +597 -0
- package/dist/style/scroll-reveal.css +613 -0
- package/dist/style/scrollbar.css +644 -0
- package/dist/style/segmented-picker.css +679 -0
- package/dist/style/segmented.css +894 -0
- package/dist/style/select.css +937 -0
- package/dist/style/skeleton.css +590 -0
- package/dist/style/slider.css +642 -0
- package/dist/style/sortable.css +714 -0
- package/dist/style/space.css +568 -0
- package/dist/style/sparkline.css +606 -0
- package/dist/style/spinner.css +586 -0
- package/dist/style/splitter.css +711 -0
- package/dist/style/stat-bar.css +767 -0
- package/dist/style/statistic.css +589 -0
- package/dist/style/steps.css +724 -0
- package/dist/style/switch.css +676 -0
- package/dist/style/tab-bar.css +647 -0
- package/dist/style/table.css +1229 -0
- package/dist/style/tabs.css +756 -0
- package/dist/style/tag-input.css +710 -0
- package/dist/style/tag.css +682 -0
- package/dist/style/time-picker.css +749 -0
- package/dist/style/timeline.css +1082 -0
- package/dist/style/toast.css +598 -0
- package/dist/style/tooltip.css +604 -0
- package/dist/style/tour.css +683 -0
- package/dist/style/transfer.css +858 -0
- package/dist/style/tree.css +786 -0
- package/dist/style/typography.css +947 -0
- package/dist/style/upload.css +758 -0
- package/dist/style/vlist.css +591 -0
- package/dist/style/vplayer.css +1588 -0
- package/dist/style/watermark.css +570 -0
- package/dist/wdesign-ui.css +21093 -0
- package/dist/wdesign-ui.esm.js +20265 -0
- package/package.json +134 -4
- package/tokens.json +385 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// .lib-build/WdAffix.ts
|
|
2
|
+
import { defineComponent as _defineComponent } from "vue";
|
|
3
|
+
import { createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from "vue";
|
|
4
|
+
import { computed, onBeforeUnmount, onMounted, ref } from "vue";
|
|
5
|
+
var WdAffix_default = /* @__PURE__ */ _defineComponent({
|
|
6
|
+
...{ name: "WdAffix" },
|
|
7
|
+
__name: "WdAffix",
|
|
8
|
+
props: {
|
|
9
|
+
position: { type: String, required: false, default: "top" },
|
|
10
|
+
offset: { type: Number, required: false, default: 0 },
|
|
11
|
+
target: { type: [Number, String], required: false, default: void 0 },
|
|
12
|
+
keepWidth: { type: Boolean, required: false, default: true },
|
|
13
|
+
container: { type: String, required: false, default: "" },
|
|
14
|
+
zIndex: { type: Number, required: false, default: 900 }
|
|
15
|
+
},
|
|
16
|
+
emits: ["change"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
const root = ref(null);
|
|
21
|
+
const affixed = ref(false);
|
|
22
|
+
const placeholder = ref({ width: 0, height: 0, left: 0 });
|
|
23
|
+
const naturalTop = ref(0);
|
|
24
|
+
let scrollEl = null;
|
|
25
|
+
let raf = 0;
|
|
26
|
+
function readScrollTop() {
|
|
27
|
+
if (!scrollEl || scrollEl === window) {
|
|
28
|
+
return window.scrollY ?? window.pageYOffset ?? 0;
|
|
29
|
+
}
|
|
30
|
+
return scrollEl.scrollTop;
|
|
31
|
+
}
|
|
32
|
+
function containerTop() {
|
|
33
|
+
if (!scrollEl || scrollEl === window) return 0;
|
|
34
|
+
return scrollEl.getBoundingClientRect().top;
|
|
35
|
+
}
|
|
36
|
+
function measure() {
|
|
37
|
+
const el = root.value;
|
|
38
|
+
if (!el) return;
|
|
39
|
+
const r = el.getBoundingClientRect();
|
|
40
|
+
placeholder.value = { width: r.width, height: r.height, left: r.left };
|
|
41
|
+
naturalTop.value = r.top - containerTop() + readScrollTop();
|
|
42
|
+
}
|
|
43
|
+
function computeThreshold() {
|
|
44
|
+
if (typeof props.target === "number") return props.target;
|
|
45
|
+
if (typeof props.target === "string" && props.target) {
|
|
46
|
+
const el = document.querySelector(props.target);
|
|
47
|
+
if (el) return el.getBoundingClientRect().bottom;
|
|
48
|
+
}
|
|
49
|
+
return props.position === "top" ? naturalTop.value - props.offset : 0;
|
|
50
|
+
}
|
|
51
|
+
function update() {
|
|
52
|
+
raf = 0;
|
|
53
|
+
const sTop = readScrollTop();
|
|
54
|
+
const threshold = computeThreshold();
|
|
55
|
+
let next;
|
|
56
|
+
if (props.position === "top") {
|
|
57
|
+
next = sTop >= threshold;
|
|
58
|
+
} else {
|
|
59
|
+
const el = scrollEl && scrollEl !== window ? scrollEl : document.documentElement;
|
|
60
|
+
const viewH = scrollEl && scrollEl !== window ? scrollEl.clientHeight : window.innerHeight;
|
|
61
|
+
const maxScroll = el.scrollHeight - viewH;
|
|
62
|
+
next = maxScroll - sTop <= threshold;
|
|
63
|
+
}
|
|
64
|
+
if (next !== affixed.value) {
|
|
65
|
+
if (next) measure();
|
|
66
|
+
affixed.value = next;
|
|
67
|
+
emit("change", next);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function schedule() {
|
|
71
|
+
if (raf) return;
|
|
72
|
+
raf = requestAnimationFrame(update);
|
|
73
|
+
window.setTimeout(() => {
|
|
74
|
+
if (raf) {
|
|
75
|
+
cancelAnimationFrame(raf);
|
|
76
|
+
raf = 0;
|
|
77
|
+
update();
|
|
78
|
+
}
|
|
79
|
+
}, 40);
|
|
80
|
+
}
|
|
81
|
+
const style = computed(() => {
|
|
82
|
+
if (!affixed.value) return {};
|
|
83
|
+
const s = {
|
|
84
|
+
position: "fixed",
|
|
85
|
+
/*
|
|
86
|
+
* left 用**吸附前记录的值**,不能现读 rect。
|
|
87
|
+
* 吸附后 root 已被 fixed 接管,rect.left 会等于 fixed 后的位置,
|
|
88
|
+
* 发生"每帧左移一点"的漂移。
|
|
89
|
+
*/
|
|
90
|
+
left: placeholder.value.left + "px",
|
|
91
|
+
zIndex: String(props.zIndex)
|
|
92
|
+
};
|
|
93
|
+
if (props.keepWidth) s.width = placeholder.value.width + "px";
|
|
94
|
+
if (props.position === "top") s.top = props.offset + "px";
|
|
95
|
+
else s.bottom = props.offset + "px";
|
|
96
|
+
return s;
|
|
97
|
+
});
|
|
98
|
+
onMounted(() => {
|
|
99
|
+
scrollEl = props.container ? document.querySelector(props.container) ?? window : window;
|
|
100
|
+
scrollEl.addEventListener("scroll", schedule, { passive: true });
|
|
101
|
+
window.addEventListener("resize", schedule);
|
|
102
|
+
requestAnimationFrame(() => {
|
|
103
|
+
measure();
|
|
104
|
+
update();
|
|
105
|
+
});
|
|
106
|
+
window.setTimeout(() => {
|
|
107
|
+
measure();
|
|
108
|
+
update();
|
|
109
|
+
}, 60);
|
|
110
|
+
});
|
|
111
|
+
onBeforeUnmount(() => {
|
|
112
|
+
scrollEl?.removeEventListener("scroll", schedule);
|
|
113
|
+
window.removeEventListener("resize", schedule);
|
|
114
|
+
if (raf) cancelAnimationFrame(raf);
|
|
115
|
+
});
|
|
116
|
+
return (_ctx, _cache) => {
|
|
117
|
+
return _openBlock(), _createElementBlock(
|
|
118
|
+
"div",
|
|
119
|
+
{
|
|
120
|
+
ref_key: "root",
|
|
121
|
+
ref: root,
|
|
122
|
+
class: _normalizeClass(["wd-affix", { "is-affixed": affixed.value }])
|
|
123
|
+
},
|
|
124
|
+
[
|
|
125
|
+
_createCommentVNode(" \u5438\u9644\u65F6\u7528\u5360\u4F4D\u6491\u4F4F\u539F\u7A7A\u95F4\uFF0C\u907F\u514D\u9875\u9762\u5185\u5BB9\u8DF3\u52A8 "),
|
|
126
|
+
affixed.value ? (_openBlock(), _createElementBlock(
|
|
127
|
+
"div",
|
|
128
|
+
{
|
|
129
|
+
key: 0,
|
|
130
|
+
class: "wd-affix__placeholder",
|
|
131
|
+
style: _normalizeStyle({ width: placeholder.value.width + "px", height: placeholder.value.height + "px" }),
|
|
132
|
+
"aria-hidden": "true"
|
|
133
|
+
},
|
|
134
|
+
null,
|
|
135
|
+
4
|
|
136
|
+
/* STYLE */
|
|
137
|
+
)) : _createCommentVNode("v-if", true),
|
|
138
|
+
_createElementVNode(
|
|
139
|
+
"div",
|
|
140
|
+
{
|
|
141
|
+
class: "wd-affix__content",
|
|
142
|
+
style: _normalizeStyle(style.value)
|
|
143
|
+
},
|
|
144
|
+
[
|
|
145
|
+
_renderSlot(_ctx.$slots, "default")
|
|
146
|
+
],
|
|
147
|
+
4
|
|
148
|
+
/* STYLE */
|
|
149
|
+
)
|
|
150
|
+
],
|
|
151
|
+
2
|
|
152
|
+
/* CLASS */
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
WdAffix_default as WdAffix
|
|
159
|
+
};
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WdIcon_default
|
|
3
|
+
} from "./chunk-Q34U2HES.js";
|
|
4
|
+
|
|
5
|
+
// .lib-build/WdAiMessage.ts
|
|
6
|
+
import { defineComponent as _defineComponent } from "vue";
|
|
7
|
+
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createVNode as _createVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment } from "vue";
|
|
8
|
+
import { onBeforeUnmount, ref, watch } from "vue";
|
|
9
|
+
var _hoisted_1 = { class: "wd-ai-msg__avatar" };
|
|
10
|
+
var _hoisted_2 = { class: "wd-ai-msg__bubble" };
|
|
11
|
+
var _hoisted_3 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "wd-ai-msg__thinking"
|
|
14
|
+
};
|
|
15
|
+
var _hoisted_4 = { class: "wd-ai-msg__reasoning-state" };
|
|
16
|
+
var _hoisted_5 = { class: "wd-ai-msg__reasoning-body" };
|
|
17
|
+
var _hoisted_6 = { class: "wd-ai-msg__reasoning-inner" };
|
|
18
|
+
var _hoisted_7 = { class: "wd-ai-msg__reasoning-text" };
|
|
19
|
+
var _hoisted_8 = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "wd-ai-msg__cursor"
|
|
22
|
+
};
|
|
23
|
+
var _hoisted_9 = {
|
|
24
|
+
key: 2,
|
|
25
|
+
class: "wd-ai-msg__text"
|
|
26
|
+
};
|
|
27
|
+
var _hoisted_10 = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "wd-ai-msg__cursor"
|
|
30
|
+
};
|
|
31
|
+
var _hoisted_11 = {
|
|
32
|
+
key: 3,
|
|
33
|
+
class: "wd-ai-msg__actions"
|
|
34
|
+
};
|
|
35
|
+
var _hoisted_12 = ["onClick"];
|
|
36
|
+
var WdAiMessage_default = /* @__PURE__ */ _defineComponent({
|
|
37
|
+
...{ name: "WdAiMessage" },
|
|
38
|
+
__name: "WdAiMessage",
|
|
39
|
+
props: {
|
|
40
|
+
content: { type: String, required: false, default: "" },
|
|
41
|
+
reasoning: { type: String, required: false, default: "" },
|
|
42
|
+
self: { type: Boolean, required: false, default: false },
|
|
43
|
+
thinking: { type: Boolean, required: false, default: false },
|
|
44
|
+
streaming: { type: Boolean, required: false, default: false },
|
|
45
|
+
reasoningStreaming: { type: Boolean, required: false, default: false },
|
|
46
|
+
speed: { type: Number, required: false, default: 24 },
|
|
47
|
+
actions: { type: Array, required: false, default: () => [] },
|
|
48
|
+
defaultReasoningOpen: { type: Boolean, required: false, default: true }
|
|
49
|
+
},
|
|
50
|
+
emits: ["action", "stream-end", "reasoning-end"],
|
|
51
|
+
setup(__props, { emit: __emit }) {
|
|
52
|
+
const props = __props;
|
|
53
|
+
const emit = __emit;
|
|
54
|
+
const shown = ref(props.content);
|
|
55
|
+
const shownReasoning = ref(props.reasoning);
|
|
56
|
+
const reasoningOpen = ref(props.defaultReasoningOpen);
|
|
57
|
+
let contentTimer = null;
|
|
58
|
+
let reasoningTimer = null;
|
|
59
|
+
function stopContent() {
|
|
60
|
+
if (contentTimer) {
|
|
61
|
+
window.clearInterval(contentTimer);
|
|
62
|
+
contentTimer = null;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function stopReasoning() {
|
|
66
|
+
if (reasoningTimer) {
|
|
67
|
+
window.clearInterval(reasoningTimer);
|
|
68
|
+
reasoningTimer = null;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function startContent() {
|
|
72
|
+
stopContent();
|
|
73
|
+
shown.value = "";
|
|
74
|
+
let i = 0;
|
|
75
|
+
contentTimer = window.setInterval(() => {
|
|
76
|
+
i += 1;
|
|
77
|
+
shown.value = props.content.slice(0, i);
|
|
78
|
+
if (i >= props.content.length) {
|
|
79
|
+
stopContent();
|
|
80
|
+
emit("stream-end");
|
|
81
|
+
}
|
|
82
|
+
}, Math.max(8, props.speed));
|
|
83
|
+
}
|
|
84
|
+
function startReasoning() {
|
|
85
|
+
stopReasoning();
|
|
86
|
+
shownReasoning.value = "";
|
|
87
|
+
let i = 0;
|
|
88
|
+
reasoningTimer = window.setInterval(() => {
|
|
89
|
+
i += 1;
|
|
90
|
+
shownReasoning.value = props.reasoning.slice(0, i);
|
|
91
|
+
if (i >= props.reasoning.length) {
|
|
92
|
+
stopReasoning();
|
|
93
|
+
emit("reasoning-end");
|
|
94
|
+
if (props.defaultReasoningOpen) reasoningOpen.value = false;
|
|
95
|
+
}
|
|
96
|
+
}, Math.max(8, props.speed));
|
|
97
|
+
}
|
|
98
|
+
watch(
|
|
99
|
+
() => props.streaming,
|
|
100
|
+
(v) => {
|
|
101
|
+
if (v) startContent();
|
|
102
|
+
else {
|
|
103
|
+
stopContent();
|
|
104
|
+
shown.value = props.content;
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{ immediate: true }
|
|
108
|
+
);
|
|
109
|
+
watch(
|
|
110
|
+
() => props.reasoningStreaming,
|
|
111
|
+
(v) => {
|
|
112
|
+
if (v) startReasoning();
|
|
113
|
+
else {
|
|
114
|
+
stopReasoning();
|
|
115
|
+
shownReasoning.value = props.reasoning;
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{ immediate: true }
|
|
119
|
+
);
|
|
120
|
+
watch(
|
|
121
|
+
() => props.content,
|
|
122
|
+
(v) => {
|
|
123
|
+
if (!props.streaming) shown.value = v;
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
watch(
|
|
127
|
+
() => props.reasoning,
|
|
128
|
+
(v) => {
|
|
129
|
+
if (!props.reasoningStreaming) shownReasoning.value = v;
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
onBeforeUnmount(() => {
|
|
133
|
+
stopContent();
|
|
134
|
+
stopReasoning();
|
|
135
|
+
});
|
|
136
|
+
return (_ctx, _cache) => {
|
|
137
|
+
return _openBlock(), _createElementBlock(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
class: _normalizeClass(["wd-ai-msg", { "wd-ai-msg--self": __props.self }])
|
|
141
|
+
},
|
|
142
|
+
[
|
|
143
|
+
_createElementVNode(
|
|
144
|
+
"span",
|
|
145
|
+
_hoisted_1,
|
|
146
|
+
_toDisplayString(__props.self ? "\u6211" : "AI"),
|
|
147
|
+
1
|
|
148
|
+
/* TEXT */
|
|
149
|
+
),
|
|
150
|
+
_createElementVNode("div", _hoisted_2, [
|
|
151
|
+
_createCommentVNode(" \u6DF1\u5EA6\u601D\u8003\uFF08reasoning_content\uFF09\uFF1A\u72EC\u7ACB\u533A\u57DF\uFF0C\u53EF\u6298\u53E0 "),
|
|
152
|
+
__props.thinking && !shownReasoning.value ? (_openBlock(), _createElementBlock("div", _hoisted_3, [..._cache[1] || (_cache[1] = [
|
|
153
|
+
_createElementVNode(
|
|
154
|
+
"i",
|
|
155
|
+
null,
|
|
156
|
+
null,
|
|
157
|
+
-1
|
|
158
|
+
/* CACHED */
|
|
159
|
+
),
|
|
160
|
+
_createElementVNode(
|
|
161
|
+
"i",
|
|
162
|
+
null,
|
|
163
|
+
null,
|
|
164
|
+
-1
|
|
165
|
+
/* CACHED */
|
|
166
|
+
),
|
|
167
|
+
_createElementVNode(
|
|
168
|
+
"i",
|
|
169
|
+
null,
|
|
170
|
+
null,
|
|
171
|
+
-1
|
|
172
|
+
/* CACHED */
|
|
173
|
+
),
|
|
174
|
+
_createTextVNode(
|
|
175
|
+
"\u6DF1\u5EA6\u601D\u8003\u4E2D\u2026 ",
|
|
176
|
+
-1
|
|
177
|
+
/* CACHED */
|
|
178
|
+
)
|
|
179
|
+
])])) : _createCommentVNode("v-if", true),
|
|
180
|
+
shownReasoning.value ? (_openBlock(), _createElementBlock(
|
|
181
|
+
"div",
|
|
182
|
+
{
|
|
183
|
+
key: 1,
|
|
184
|
+
class: _normalizeClass(["wd-ai-msg__reasoning", { "wd-ai-msg__reasoning--open": reasoningOpen.value }])
|
|
185
|
+
},
|
|
186
|
+
[
|
|
187
|
+
_createElementVNode("button", {
|
|
188
|
+
type: "button",
|
|
189
|
+
class: "wd-ai-msg__reasoning-head",
|
|
190
|
+
onClick: _cache[0] || (_cache[0] = ($event) => reasoningOpen.value = !reasoningOpen.value)
|
|
191
|
+
}, [
|
|
192
|
+
_createVNode(_unref(WdIcon_default), {
|
|
193
|
+
class: "wd-ai-msg__reasoning-spark",
|
|
194
|
+
name: "magic",
|
|
195
|
+
size: 13
|
|
196
|
+
}),
|
|
197
|
+
_cache[2] || (_cache[2] = _createElementVNode(
|
|
198
|
+
"span",
|
|
199
|
+
{ class: "wd-ai-msg__reasoning-title" },
|
|
200
|
+
"\u6DF1\u5EA6\u601D\u8003",
|
|
201
|
+
-1
|
|
202
|
+
/* CACHED */
|
|
203
|
+
)),
|
|
204
|
+
_createElementVNode(
|
|
205
|
+
"span",
|
|
206
|
+
_hoisted_4,
|
|
207
|
+
_toDisplayString(__props.reasoningStreaming ? "\u8FDB\u884C\u4E2D" : "\u5DF2\u5B8C\u6210"),
|
|
208
|
+
1
|
|
209
|
+
/* TEXT */
|
|
210
|
+
),
|
|
211
|
+
_createElementVNode(
|
|
212
|
+
"span",
|
|
213
|
+
{
|
|
214
|
+
class: _normalizeClass(["wd-chevron", { "wd-chevron--open": reasoningOpen.value }])
|
|
215
|
+
},
|
|
216
|
+
[
|
|
217
|
+
_createVNode(_unref(WdIcon_default), {
|
|
218
|
+
name: "chevron-down",
|
|
219
|
+
size: 13
|
|
220
|
+
})
|
|
221
|
+
],
|
|
222
|
+
2
|
|
223
|
+
/* CLASS */
|
|
224
|
+
)
|
|
225
|
+
]),
|
|
226
|
+
_createElementVNode("div", _hoisted_5, [
|
|
227
|
+
_createElementVNode("div", _hoisted_6, [
|
|
228
|
+
_createElementVNode("p", _hoisted_7, [
|
|
229
|
+
_createTextVNode(
|
|
230
|
+
_toDisplayString(shownReasoning.value),
|
|
231
|
+
1
|
|
232
|
+
/* TEXT */
|
|
233
|
+
),
|
|
234
|
+
__props.reasoningStreaming ? (_openBlock(), _createElementBlock("span", _hoisted_8, "\u258D")) : _createCommentVNode("v-if", true)
|
|
235
|
+
])
|
|
236
|
+
])
|
|
237
|
+
])
|
|
238
|
+
],
|
|
239
|
+
2
|
|
240
|
+
/* CLASS */
|
|
241
|
+
)) : _createCommentVNode("v-if", true),
|
|
242
|
+
_createCommentVNode(" \u6B63\u6587\uFF08content\uFF09 "),
|
|
243
|
+
__props.content || shown.value ? (_openBlock(), _createElementBlock("p", _hoisted_9, [
|
|
244
|
+
_createTextVNode(
|
|
245
|
+
_toDisplayString(shown.value),
|
|
246
|
+
1
|
|
247
|
+
/* TEXT */
|
|
248
|
+
),
|
|
249
|
+
__props.streaming && shown.value.length < __props.content.length ? (_openBlock(), _createElementBlock("span", _hoisted_10, "\u258D")) : _createCommentVNode("v-if", true)
|
|
250
|
+
])) : _createCommentVNode("v-if", true),
|
|
251
|
+
__props.actions.length ? (_openBlock(), _createElementBlock("div", _hoisted_11, [
|
|
252
|
+
(_openBlock(true), _createElementBlock(
|
|
253
|
+
_Fragment,
|
|
254
|
+
null,
|
|
255
|
+
_renderList(__props.actions, (a) => {
|
|
256
|
+
return _openBlock(), _createElementBlock("button", {
|
|
257
|
+
key: a.label,
|
|
258
|
+
type: "button",
|
|
259
|
+
class: _normalizeClass(["wd-btn", [`wd-btn--${a.variant || "ghost"}`, "wd-btn--sm"]]),
|
|
260
|
+
onClick: ($event) => emit("action", a.label)
|
|
261
|
+
}, _toDisplayString(a.label), 11, _hoisted_12);
|
|
262
|
+
}),
|
|
263
|
+
128
|
|
264
|
+
/* KEYED_FRAGMENT */
|
|
265
|
+
))
|
|
266
|
+
])) : _createCommentVNode("v-if", true)
|
|
267
|
+
])
|
|
268
|
+
],
|
|
269
|
+
2
|
|
270
|
+
/* CLASS */
|
|
271
|
+
);
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
export {
|
|
276
|
+
WdAiMessage_default as WdAiMessage
|
|
277
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WdIcon_default
|
|
3
|
+
} from "./chunk-Q34U2HES.js";
|
|
4
|
+
|
|
5
|
+
// .lib-build/WdAlert.ts
|
|
6
|
+
import { defineComponent as _defineComponent } from "vue";
|
|
7
|
+
import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createTextVNode as _createTextVNode, unref as _unref, createVNode as _createVNode } from "vue";
|
|
8
|
+
import { ref } from "vue";
|
|
9
|
+
var _hoisted_1 = { class: "wd-alert__body" };
|
|
10
|
+
var _hoisted_2 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "wd-alert__title"
|
|
13
|
+
};
|
|
14
|
+
var _hoisted_3 = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "wd-alert__desc"
|
|
17
|
+
};
|
|
18
|
+
var WdAlert_default = /* @__PURE__ */ _defineComponent({
|
|
19
|
+
...{ name: "WdAlert" },
|
|
20
|
+
__name: "WdAlert",
|
|
21
|
+
props: {
|
|
22
|
+
variant: { type: String, required: false, default: "info" },
|
|
23
|
+
title: { type: String, required: false, default: "" },
|
|
24
|
+
description: { type: String, required: false, default: "" },
|
|
25
|
+
closable: { type: Boolean, required: false, default: false }
|
|
26
|
+
},
|
|
27
|
+
emits: ["close"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const emit = __emit;
|
|
30
|
+
const visible = ref(true);
|
|
31
|
+
function close() {
|
|
32
|
+
visible.value = false;
|
|
33
|
+
emit("close");
|
|
34
|
+
}
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return visible.value ? (_openBlock(), _createElementBlock(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
key: 0,
|
|
40
|
+
class: _normalizeClass(["wd-alert", `wd-alert--${__props.variant}`]),
|
|
41
|
+
role: "alert"
|
|
42
|
+
},
|
|
43
|
+
[
|
|
44
|
+
_createElementVNode(
|
|
45
|
+
"span",
|
|
46
|
+
{
|
|
47
|
+
class: _normalizeClass(["wd-alert__icon wd-dot wd-dot--lg", `wd-dot--${__props.variant}`])
|
|
48
|
+
},
|
|
49
|
+
null,
|
|
50
|
+
2
|
|
51
|
+
/* CLASS */
|
|
52
|
+
),
|
|
53
|
+
_createElementVNode("div", _hoisted_1, [
|
|
54
|
+
__props.title ? (_openBlock(), _createElementBlock(
|
|
55
|
+
"div",
|
|
56
|
+
_hoisted_2,
|
|
57
|
+
_toDisplayString(__props.title),
|
|
58
|
+
1
|
|
59
|
+
/* TEXT */
|
|
60
|
+
)) : _createCommentVNode("v-if", true),
|
|
61
|
+
__props.description || _ctx.$slots.default ? (_openBlock(), _createElementBlock("div", _hoisted_3, [
|
|
62
|
+
_renderSlot(_ctx.$slots, "default", {}, () => [
|
|
63
|
+
_createTextVNode(
|
|
64
|
+
_toDisplayString(__props.description),
|
|
65
|
+
1
|
|
66
|
+
/* TEXT */
|
|
67
|
+
)
|
|
68
|
+
])
|
|
69
|
+
])) : _createCommentVNode("v-if", true)
|
|
70
|
+
]),
|
|
71
|
+
__props.closable ? (_openBlock(), _createElementBlock("button", {
|
|
72
|
+
key: 0,
|
|
73
|
+
type: "button",
|
|
74
|
+
class: "wd-alert__close",
|
|
75
|
+
"aria-label": "\u5173\u95ED",
|
|
76
|
+
onClick: close
|
|
77
|
+
}, [
|
|
78
|
+
_createVNode(_unref(WdIcon_default), {
|
|
79
|
+
name: "warning-circle",
|
|
80
|
+
size: 14
|
|
81
|
+
})
|
|
82
|
+
])) : _createCommentVNode("v-if", true)
|
|
83
|
+
],
|
|
84
|
+
2
|
|
85
|
+
/* CLASS */
|
|
86
|
+
)) : _createCommentVNode("v-if", true);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
export {
|
|
91
|
+
WdAlert_default as WdAlert
|
|
92
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// .lib-build/WdAnchor.ts
|
|
2
|
+
import { defineComponent as _defineComponent } from "vue";
|
|
3
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode } from "vue";
|
|
4
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
5
|
+
var _hoisted_1 = { class: "wd-anchor__list" };
|
|
6
|
+
var _hoisted_2 = ["href", "aria-current", "onClick"];
|
|
7
|
+
var WdAnchor_default = /* @__PURE__ */ _defineComponent({
|
|
8
|
+
...{ name: "WdAnchor" },
|
|
9
|
+
__name: "WdAnchor",
|
|
10
|
+
props: {
|
|
11
|
+
items: { type: Array, required: true },
|
|
12
|
+
target: { type: String, required: false, default: "" },
|
|
13
|
+
offset: { type: Number, required: false, default: 80 },
|
|
14
|
+
duration: { type: Number, required: false, default: 420 },
|
|
15
|
+
modelValue: { type: String, required: false, default: void 0 },
|
|
16
|
+
stickyTop: { type: Number, required: false, default: 16 }
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue", "click"],
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
const inner = ref("");
|
|
23
|
+
const active = computed(() => props.modelValue !== void 0 ? props.modelValue : inner.value);
|
|
24
|
+
let scrollEl = null;
|
|
25
|
+
let raf = 0;
|
|
26
|
+
let ticking = false;
|
|
27
|
+
function reduced() {
|
|
28
|
+
return typeof matchMedia !== "undefined" && matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
29
|
+
}
|
|
30
|
+
function offsetInScroller(el) {
|
|
31
|
+
const elTop = el.getBoundingClientRect().top;
|
|
32
|
+
if (scrollEl instanceof HTMLElement) {
|
|
33
|
+
const box = scrollEl.getBoundingClientRect();
|
|
34
|
+
return elTop - box.top + scrollEl.scrollTop;
|
|
35
|
+
}
|
|
36
|
+
return elTop + window.scrollY;
|
|
37
|
+
}
|
|
38
|
+
function currentScroll() {
|
|
39
|
+
return scrollEl instanceof HTMLElement ? scrollEl.scrollTop : window.scrollY;
|
|
40
|
+
}
|
|
41
|
+
function syncActive() {
|
|
42
|
+
let current = props.items[0]?.id ?? "";
|
|
43
|
+
const scrolled = currentScroll();
|
|
44
|
+
for (const it of props.items) {
|
|
45
|
+
const el = document.getElementById(it.id);
|
|
46
|
+
if (!el) continue;
|
|
47
|
+
const topInView = offsetInScroller(el) - scrolled;
|
|
48
|
+
if (topInView - props.offset <= 0) current = it.id;
|
|
49
|
+
else break;
|
|
50
|
+
}
|
|
51
|
+
const sc = scrollEl instanceof HTMLElement ? scrollEl : document.documentElement;
|
|
52
|
+
const atBottom = sc.scrollTop + sc.clientHeight >= sc.scrollHeight - 2;
|
|
53
|
+
if (atBottom && props.items.length) current = props.items[props.items.length - 1].id;
|
|
54
|
+
if (current && current !== inner.value) {
|
|
55
|
+
inner.value = current;
|
|
56
|
+
emit("update:modelValue", current);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function onScroll() {
|
|
60
|
+
if (ticking) return;
|
|
61
|
+
ticking = true;
|
|
62
|
+
raf = requestAnimationFrame(() => {
|
|
63
|
+
ticking = false;
|
|
64
|
+
syncActive();
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function scrollToId(id) {
|
|
68
|
+
const el = document.getElementById(id);
|
|
69
|
+
if (!el) return;
|
|
70
|
+
const isDoc = scrollEl instanceof Window || scrollEl === null;
|
|
71
|
+
const scroller = isDoc ? null : scrollEl;
|
|
72
|
+
const from = currentScroll();
|
|
73
|
+
const to = Math.max(0, offsetInScroller(el) - props.offset);
|
|
74
|
+
if (!props.duration || reduced()) {
|
|
75
|
+
if (isDoc) window.scrollTo(0, to);
|
|
76
|
+
else scroller.scrollTop = to;
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const start = performance.now();
|
|
80
|
+
const step = (now) => {
|
|
81
|
+
const t = Math.min(1, (now - start) / props.duration);
|
|
82
|
+
const eased = 1 - Math.pow(1 - t, 3);
|
|
83
|
+
const y = from + (to - from) * eased;
|
|
84
|
+
if (isDoc) window.scrollTo(0, y);
|
|
85
|
+
else scroller.scrollTop = y;
|
|
86
|
+
if (t < 1) requestAnimationFrame(step);
|
|
87
|
+
};
|
|
88
|
+
requestAnimationFrame(step);
|
|
89
|
+
}
|
|
90
|
+
function onClick(it, e) {
|
|
91
|
+
e.preventDefault();
|
|
92
|
+
scrollToId(it.id);
|
|
93
|
+
if (props.modelValue === void 0) inner.value = it.id;
|
|
94
|
+
emit("update:modelValue", it.id);
|
|
95
|
+
emit("click", it.id, e);
|
|
96
|
+
}
|
|
97
|
+
function bind() {
|
|
98
|
+
const t = props.target;
|
|
99
|
+
scrollEl = t ? document.querySelector(t) : window;
|
|
100
|
+
if (!scrollEl) return;
|
|
101
|
+
scrollEl.addEventListener("scroll", onScroll, { passive: true });
|
|
102
|
+
window.addEventListener("resize", onScroll, { passive: true });
|
|
103
|
+
syncActive();
|
|
104
|
+
}
|
|
105
|
+
function unbind() {
|
|
106
|
+
cancelAnimationFrame(raf);
|
|
107
|
+
scrollEl?.removeEventListener("scroll", onScroll);
|
|
108
|
+
window.removeEventListener("resize", onScroll);
|
|
109
|
+
}
|
|
110
|
+
onMounted(bind);
|
|
111
|
+
onBeforeUnmount(unbind);
|
|
112
|
+
watch(() => props.items, () => syncActive(), { deep: true });
|
|
113
|
+
return (_ctx, _cache) => {
|
|
114
|
+
return _openBlock(), _createElementBlock(
|
|
115
|
+
"nav",
|
|
116
|
+
{
|
|
117
|
+
class: "wd-anchor",
|
|
118
|
+
style: _normalizeStyle({ top: __props.stickyTop + "px" }),
|
|
119
|
+
"aria-label": "\u9875\u5185\u5BFC\u822A"
|
|
120
|
+
},
|
|
121
|
+
[
|
|
122
|
+
_createElementVNode("ul", _hoisted_1, [
|
|
123
|
+
(_openBlock(true), _createElementBlock(
|
|
124
|
+
_Fragment,
|
|
125
|
+
null,
|
|
126
|
+
_renderList(__props.items, (it) => {
|
|
127
|
+
return _openBlock(), _createElementBlock("li", {
|
|
128
|
+
key: it.id
|
|
129
|
+
}, [
|
|
130
|
+
_createElementVNode("a", {
|
|
131
|
+
class: _normalizeClass(["wd-anchor__link", { "is-active": active.value === it.id }]),
|
|
132
|
+
style: _normalizeStyle({ paddingLeft: 12 + (it.level ?? 0) * 12 + "px" }),
|
|
133
|
+
href: "#" + it.id,
|
|
134
|
+
"aria-current": active.value === it.id ? "location" : void 0,
|
|
135
|
+
onClick: ($event) => onClick(it, $event)
|
|
136
|
+
}, [
|
|
137
|
+
_createCommentVNode("\n \u6307\u793A\u6761\u7528\u4F2A\u5143\u7D20\u753B\uFF0C\u4E0D\u7528\u989D\u5916 span\uFF1A\n \u76EE\u5F55\u9879\u53EF\u80FD\u6709\u51E0\u5341\u6761\uFF0C\u591A\u4E00\u4E2A\u8282\u70B9\u5C31\u591A\u4E00\u6B21\u5E03\u5C40\u3002\n "),
|
|
138
|
+
_createTextVNode(
|
|
139
|
+
" " + _toDisplayString(it.label),
|
|
140
|
+
1
|
|
141
|
+
/* TEXT */
|
|
142
|
+
)
|
|
143
|
+
], 14, _hoisted_2)
|
|
144
|
+
]);
|
|
145
|
+
}),
|
|
146
|
+
128
|
|
147
|
+
/* KEYED_FRAGMENT */
|
|
148
|
+
))
|
|
149
|
+
])
|
|
150
|
+
],
|
|
151
|
+
4
|
|
152
|
+
/* STYLE */
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
WdAnchor_default as WdAnchor
|
|
159
|
+
};
|