sard-uniapp 1.7.1 → 1.8.1
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/changelog.md +18 -0
- package/components/accordion-item/accordion-item.vue +4 -0
- package/components/action-sheet/action-sheet.vue +4 -0
- package/components/alert/alert.vue +3 -0
- package/components/avatar/avatar.vue +3 -0
- package/components/back-top/back-top.vue +3 -0
- package/components/button/button.d.ts +35 -0
- package/components/button/button.vue +84 -3
- package/components/button/common.d.ts +29 -0
- package/components/calendar/calendar.vue +7 -0
- package/components/calendar-input/calendar-input.vue +5 -0
- package/components/cascader/cascader.vue +5 -0
- package/components/cascader-input/cascader-input.vue +5 -0
- package/components/check-icon/check-icon.vue +3 -0
- package/components/checkbox/checkbox.vue +3 -0
- package/components/checkbox-group/checkbox-group.vue +3 -0
- package/components/checkbox-input/checkbox-input.vue +8 -0
- package/components/config/index.d.ts +3 -0
- package/components/config/index.js +3 -0
- package/components/datetime-picker/datetime-picker.vue +3 -0
- package/components/datetime-picker-input/datetime-picker-input.vue +5 -0
- package/components/dialog/dialog.vue +5 -0
- package/components/dialog-agent/dialog-agent.vue +3 -0
- package/components/dropdown-item/dropdown-item.vue +6 -0
- package/components/empty/empty.vue +3 -0
- package/components/fab/fab.vue +4 -0
- package/components/grid-item/grid-item.vue +3 -0
- package/components/indexes/indexes.vue +3 -0
- package/components/input/input.vue +3 -0
- package/components/keyboard/keyboard.vue +3 -0
- package/components/list-item/list-item.vue +3 -0
- package/components/load-more/load-more.vue +3 -0
- package/components/menu/menu.vue +3 -0
- package/components/menu-item/menu-item.vue +3 -0
- package/components/notice-bar/notice-bar.vue +3 -0
- package/components/notify/notify.vue +3 -0
- package/components/notify-agent/notify-agent.vue +3 -0
- package/components/picker-input/picker-input.vue +5 -0
- package/components/popout/popout.vue +5 -0
- package/components/popout-input/popout-input.vue +5 -0
- package/components/popover/popover.vue +4 -0
- package/components/popup/popup.vue +3 -0
- package/components/progress-bar/progress-bar.vue +3 -0
- package/components/progress-circle/progress-circle.vue +3 -0
- package/components/pull-down-refresh/pull-down-refresh.vue +3 -0
- package/components/radio/radio.vue +3 -0
- package/components/radio-group/radio-group.vue +3 -0
- package/components/radio-input/radio-input.vue +8 -0
- package/components/rate/rate.vue +3 -0
- package/components/result/result.vue +3 -0
- package/components/search/search.vue +5 -0
- package/components/share-sheet/share-sheet.vue +4 -0
- package/components/skeleton/skeleton.vue +5 -0
- package/components/skeleton-avatar/skeleton-avatar.vue +3 -0
- package/components/skeleton-paragraph/skeleton-paragraph.vue +3 -0
- package/components/skeleton-title/skeleton-title.vue +3 -0
- package/components/stepper/stepper.vue +3 -0
- package/components/steps/steps.vue +3 -0
- package/components/switch/switch.vue +3 -0
- package/components/tabbar-item/tabbar-item.vue +4 -0
- package/components/tabs/tabs.vue +3 -0
- package/components/tag/tag.vue +3 -0
- package/components/timeline-item/timeline-item.vue +3 -0
- package/components/toast/toast.vue +5 -0
- package/components/toast-agent/toast-agent.vue +3 -0
- package/components/tree/tree.vue +7 -0
- package/components/tree-branch/tree-branch.vue +3 -0
- package/components/tree-node/tree-node.vue +6 -0
- package/components/upload/upload.vue +4 -0
- package/components/upload-preview/upload-preview.vue +4 -0
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.8.1](https://github.com/sutras/sard-uniapp/compare/v1.8.0...v1.8.1) (2024-10-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 修复局部导入组件未注册问题 ([5337b11](https://github.com/sutras/sard-uniapp/commit/5337b119d15b77db76be13c7e33a10cdc4b02d7d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# [1.8.0](https://github.com/sutras/sard-uniapp/compare/v1.7.1...v1.8.0) (2024-10-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 按钮添加小程序能力 ([c395f86](https://github.com/sutras/sard-uniapp/commit/c395f86308c05ab2a515aa1833b65e87969cf537))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.7.1](https://github.com/sutras/sard-uniapp/compare/v1.7.0...v1.7.1) (2024-09-20)
|
|
2
20
|
|
|
3
21
|
|
|
@@ -3,18 +3,53 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
type: "text" | "default" | "pale" | "mild" | "outline" | "pale-text" | undefined;
|
|
4
4
|
theme: "success" | "primary" | "warning" | "danger" | "secondary" | "info" | "neutral" | undefined;
|
|
5
5
|
size: "small" | "medium" | "mini" | "large" | undefined;
|
|
6
|
+
hoverStopPropagation: boolean;
|
|
7
|
+
lang: string;
|
|
8
|
+
showMessageCard: boolean;
|
|
6
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
10
|
click: (event: any) => void;
|
|
11
|
+
getphonenumber: (event: any) => void;
|
|
12
|
+
getuserinfo: (event: any) => void;
|
|
13
|
+
error: (event: any) => void;
|
|
14
|
+
opensetting: (event: any) => void;
|
|
15
|
+
launchapp: (event: any) => void;
|
|
16
|
+
contact: (event: any) => void;
|
|
17
|
+
chooseavatar: (event: any) => void;
|
|
18
|
+
agreeprivacyauthorization: (event: any) => void;
|
|
19
|
+
addgroupapp: (event: any) => void;
|
|
20
|
+
chooseaddress: (event: any) => void;
|
|
21
|
+
chooseinvoicetitle: (event: any) => void;
|
|
22
|
+
subscribe: (event: any) => void;
|
|
23
|
+
login: (event: any) => void;
|
|
8
24
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
9
25
|
type: "text" | "default" | "pale" | "mild" | "outline" | "pale-text" | undefined;
|
|
10
26
|
theme: "success" | "primary" | "warning" | "danger" | "secondary" | "info" | "neutral" | undefined;
|
|
11
27
|
size: "small" | "medium" | "mini" | "large" | undefined;
|
|
28
|
+
hoverStopPropagation: boolean;
|
|
29
|
+
lang: string;
|
|
30
|
+
showMessageCard: boolean;
|
|
12
31
|
}>>> & {
|
|
32
|
+
onError?: ((event: any) => any) | undefined;
|
|
13
33
|
onClick?: ((event: any) => any) | undefined;
|
|
34
|
+
onGetphonenumber?: ((event: any) => any) | undefined;
|
|
35
|
+
onGetuserinfo?: ((event: any) => any) | undefined;
|
|
36
|
+
onOpensetting?: ((event: any) => any) | undefined;
|
|
37
|
+
onLaunchapp?: ((event: any) => any) | undefined;
|
|
38
|
+
onContact?: ((event: any) => any) | undefined;
|
|
39
|
+
onChooseavatar?: ((event: any) => any) | undefined;
|
|
40
|
+
onAgreeprivacyauthorization?: ((event: any) => any) | undefined;
|
|
41
|
+
onAddgroupapp?: ((event: any) => any) | undefined;
|
|
42
|
+
onChooseaddress?: ((event: any) => any) | undefined;
|
|
43
|
+
onChooseinvoicetitle?: ((event: any) => any) | undefined;
|
|
44
|
+
onSubscribe?: ((event: any) => any) | undefined;
|
|
45
|
+
onLogin?: ((event: any) => any) | undefined;
|
|
14
46
|
}, {
|
|
15
47
|
size: "small" | "medium" | "mini" | "large";
|
|
16
48
|
type: "text" | "default" | "pale" | "mild" | "outline" | "pale-text";
|
|
17
49
|
theme: "success" | "primary" | "warning" | "danger" | "secondary" | "info" | "neutral";
|
|
50
|
+
hoverStopPropagation: boolean;
|
|
51
|
+
lang: string;
|
|
52
|
+
showMessageCard: boolean;
|
|
18
53
|
}, {}>, Readonly<ButtonSlots> & ButtonSlots>;
|
|
19
54
|
export default _default;
|
|
20
55
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -4,7 +4,33 @@
|
|
|
4
4
|
:style="buttonStyle"
|
|
5
5
|
:disabled="isDisabled || loading"
|
|
6
6
|
:hover-class="bem.m('hover')"
|
|
7
|
+
:form-type="formType"
|
|
8
|
+
:open-type="openType"
|
|
9
|
+
:app-parameter="appParameter"
|
|
10
|
+
:hover-stop-propagation="hoverStopPropagation"
|
|
11
|
+
:lang="lang"
|
|
12
|
+
:session-from="sessionFrom"
|
|
13
|
+
:send-message-title="sendMessageTitle"
|
|
14
|
+
:send-message-path="sendMessagePath"
|
|
15
|
+
:send-message-img="sendMessageImg"
|
|
16
|
+
:show-message-card="showMessageCard"
|
|
17
|
+
:group-id="groupId"
|
|
18
|
+
:guild-id="guildId"
|
|
19
|
+
:public-id="publicId"
|
|
7
20
|
@click="onClick"
|
|
21
|
+
@getphonenumber="onGetphonenumber"
|
|
22
|
+
@getuserinfo="onGetuserinfo"
|
|
23
|
+
@error="onError"
|
|
24
|
+
@opensetting="onOpensetting"
|
|
25
|
+
@launchapp="onLaunchapp"
|
|
26
|
+
@contact="onContact"
|
|
27
|
+
@chooseavatar="onChooseavatar"
|
|
28
|
+
@agreeprivacyauthorization="onAgreeprivacyauthorization"
|
|
29
|
+
@addgroupapp="onAddgroupapp"
|
|
30
|
+
@chooseaddress="onChooseaddress"
|
|
31
|
+
@chooseinvoicetitle="onChooseinvoicetitle"
|
|
32
|
+
@subscribe="onSubscribe"
|
|
33
|
+
@login="onLogin"
|
|
8
34
|
>
|
|
9
35
|
<view
|
|
10
36
|
v-if="loading"
|
|
@@ -31,6 +57,9 @@ import {
|
|
|
31
57
|
defaultButtonProps
|
|
32
58
|
} from "./common";
|
|
33
59
|
export default _defineComponent({
|
|
60
|
+
components: {
|
|
61
|
+
SarLoading,
|
|
62
|
+
},
|
|
34
63
|
...{
|
|
35
64
|
options: {
|
|
36
65
|
virtualHost: true,
|
|
@@ -49,9 +78,22 @@ export default _defineComponent({
|
|
|
49
78
|
loading: { type: Boolean, required: false },
|
|
50
79
|
loadingType: { type: String, required: false },
|
|
51
80
|
color: { type: String, required: false },
|
|
52
|
-
background: { type: String, required: false }
|
|
81
|
+
background: { type: String, required: false },
|
|
82
|
+
formType: { type: String, required: false },
|
|
83
|
+
openType: { type: String, required: false },
|
|
84
|
+
appParameter: { type: String, required: false },
|
|
85
|
+
hoverStopPropagation: { type: Boolean, required: false },
|
|
86
|
+
lang: { type: String, required: false },
|
|
87
|
+
sessionFrom: { type: String, required: false },
|
|
88
|
+
sendMessageTitle: { type: String, required: false },
|
|
89
|
+
sendMessagePath: { type: String, required: false },
|
|
90
|
+
sendMessageImg: { type: String, required: false },
|
|
91
|
+
showMessageCard: { type: Boolean, required: false },
|
|
92
|
+
groupId: { type: String, required: false },
|
|
93
|
+
guildId: { type: String, required: false },
|
|
94
|
+
publicId: { type: String, required: false }
|
|
53
95
|
}, defaultButtonProps),
|
|
54
|
-
emits: ["click"],
|
|
96
|
+
emits: ["click", "getphonenumber", "getuserinfo", "error", "opensetting", "launchapp", "contact", "chooseavatar", "agreeprivacyauthorization", "addgroupapp", "chooseaddress", "chooseinvoicetitle", "subscribe", "login"],
|
|
55
97
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
56
98
|
__expose();
|
|
57
99
|
const props = __props;
|
|
@@ -64,6 +106,45 @@ export default _defineComponent({
|
|
|
64
106
|
const onClick = (event) => {
|
|
65
107
|
emit("click", event);
|
|
66
108
|
};
|
|
109
|
+
const onGetphonenumber = (event) => {
|
|
110
|
+
emit("getphonenumber", event);
|
|
111
|
+
};
|
|
112
|
+
const onGetuserinfo = (event) => {
|
|
113
|
+
emit("getuserinfo", event);
|
|
114
|
+
};
|
|
115
|
+
const onError = (event) => {
|
|
116
|
+
emit("error", event);
|
|
117
|
+
};
|
|
118
|
+
const onOpensetting = (event) => {
|
|
119
|
+
emit("opensetting", event);
|
|
120
|
+
};
|
|
121
|
+
const onLaunchapp = (event) => {
|
|
122
|
+
emit("launchapp", event);
|
|
123
|
+
};
|
|
124
|
+
const onContact = (event) => {
|
|
125
|
+
emit("contact", event);
|
|
126
|
+
};
|
|
127
|
+
const onChooseavatar = (event) => {
|
|
128
|
+
emit("chooseavatar", event);
|
|
129
|
+
};
|
|
130
|
+
const onAgreeprivacyauthorization = (event) => {
|
|
131
|
+
emit("agreeprivacyauthorization", event);
|
|
132
|
+
};
|
|
133
|
+
const onAddgroupapp = (event) => {
|
|
134
|
+
emit("addgroupapp", event);
|
|
135
|
+
};
|
|
136
|
+
const onChooseaddress = (event) => {
|
|
137
|
+
emit("chooseaddress", event);
|
|
138
|
+
};
|
|
139
|
+
const onChooseinvoicetitle = (event) => {
|
|
140
|
+
emit("chooseinvoicetitle", event);
|
|
141
|
+
};
|
|
142
|
+
const onSubscribe = (event) => {
|
|
143
|
+
emit("subscribe", event);
|
|
144
|
+
};
|
|
145
|
+
const onLogin = (event) => {
|
|
146
|
+
emit("login", event);
|
|
147
|
+
};
|
|
67
148
|
const buttonClass = computed(() => {
|
|
68
149
|
return classNames(
|
|
69
150
|
bem.b(),
|
|
@@ -85,7 +166,7 @@ export default _defineComponent({
|
|
|
85
166
|
props.rootStyle
|
|
86
167
|
);
|
|
87
168
|
});
|
|
88
|
-
const __returned__ = { props, emit, bem, formContext, isDisabled, onClick, buttonClass, buttonStyle, get classNames() {
|
|
169
|
+
const __returned__ = { props, emit, bem, formContext, isDisabled, onClick, onGetphonenumber, onGetuserinfo, onError, onOpensetting, onLaunchapp, onContact, onChooseavatar, onAgreeprivacyauthorization, onAddgroupapp, onChooseaddress, onChooseinvoicetitle, onSubscribe, onLogin, buttonClass, buttonStyle, get classNames() {
|
|
89
170
|
return classNames;
|
|
90
171
|
}, SarLoading };
|
|
91
172
|
return __returned__;
|
|
@@ -11,15 +11,44 @@ export interface ButtonProps {
|
|
|
11
11
|
loadingType?: 'clock' | 'circular';
|
|
12
12
|
color?: string;
|
|
13
13
|
background?: string;
|
|
14
|
+
formType?: string;
|
|
15
|
+
openType?: string;
|
|
16
|
+
appParameter?: string;
|
|
17
|
+
hoverStopPropagation?: boolean;
|
|
18
|
+
lang?: string;
|
|
19
|
+
sessionFrom?: string;
|
|
20
|
+
sendMessageTitle?: string;
|
|
21
|
+
sendMessagePath?: string;
|
|
22
|
+
sendMessageImg?: string;
|
|
23
|
+
showMessageCard?: boolean;
|
|
24
|
+
groupId?: string;
|
|
25
|
+
guildId?: string;
|
|
26
|
+
publicId?: string;
|
|
14
27
|
}
|
|
15
28
|
export declare const defaultButtonProps: {
|
|
16
29
|
type: "text" | "default" | "pale" | "mild" | "outline" | "pale-text" | undefined;
|
|
17
30
|
theme: "success" | "primary" | "warning" | "danger" | "secondary" | "info" | "neutral" | undefined;
|
|
18
31
|
size: "small" | "medium" | "mini" | "large" | undefined;
|
|
32
|
+
hoverStopPropagation: boolean;
|
|
33
|
+
lang: string;
|
|
34
|
+
showMessageCard: boolean;
|
|
19
35
|
};
|
|
20
36
|
export interface ButtonSlots {
|
|
21
37
|
default?(props: Record<string, never>): any;
|
|
22
38
|
}
|
|
23
39
|
export interface ButtonEmits {
|
|
24
40
|
(e: 'click', event: any): void;
|
|
41
|
+
(e: 'getphonenumber', event: any): void;
|
|
42
|
+
(e: 'getuserinfo', event: any): void;
|
|
43
|
+
(e: 'error', event: any): void;
|
|
44
|
+
(e: 'opensetting', event: any): void;
|
|
45
|
+
(e: 'launchapp', event: any): void;
|
|
46
|
+
(e: 'contact', event: any): void;
|
|
47
|
+
(e: 'chooseavatar', event: any): void;
|
|
48
|
+
(e: 'agreeprivacyauthorization', event: any): void;
|
|
49
|
+
(e: 'addgroupapp', event: any): void;
|
|
50
|
+
(e: 'chooseaddress', event: any): void;
|
|
51
|
+
(e: 'chooseinvoicetitle', event: any): void;
|
|
52
|
+
(e: 'subscribe', event: any): void;
|
|
53
|
+
(e: 'login', event: any): void;
|
|
25
54
|
}
|
|
@@ -105,6 +105,13 @@ import SarCalendarMonth from "../calendar-month/calendar-month.vue";
|
|
|
105
105
|
import SarPopout from "../popout/popout.vue";
|
|
106
106
|
import SarDatetimePicker from "../datetime-picker/datetime-picker.vue";
|
|
107
107
|
export default _defineComponent({
|
|
108
|
+
components: {
|
|
109
|
+
SarButton,
|
|
110
|
+
SarIcon,
|
|
111
|
+
SarCalendarMonth,
|
|
112
|
+
SarPopout,
|
|
113
|
+
SarDatetimePicker,
|
|
114
|
+
},
|
|
108
115
|
...{
|
|
109
116
|
options: {
|
|
110
117
|
virtualHost: true,
|
|
@@ -26,6 +26,9 @@ import {
|
|
|
26
26
|
import SarCheckIcon from "../check-icon/check-icon.vue";
|
|
27
27
|
import { useFormContext, useFormItemContext } from "../form/common";
|
|
28
28
|
export default _defineComponent({
|
|
29
|
+
components: {
|
|
30
|
+
SarCheckIcon,
|
|
31
|
+
},
|
|
29
32
|
...{
|
|
30
33
|
options: {
|
|
31
34
|
virtualHost: true,
|
|
@@ -72,6 +72,14 @@ import {
|
|
|
72
72
|
import { createBem, getMayPrimitiveOption, isNullish } from "../../utils";
|
|
73
73
|
import { useFormItemContext } from "../form/common";
|
|
74
74
|
export default _defineComponent({
|
|
75
|
+
components: {
|
|
76
|
+
SarPopoutInput,
|
|
77
|
+
SarPopout,
|
|
78
|
+
SarCheckboxGroup,
|
|
79
|
+
SarCheckbox,
|
|
80
|
+
SarList,
|
|
81
|
+
SarListItem,
|
|
82
|
+
},
|
|
75
83
|
...{
|
|
76
84
|
options: {
|
|
77
85
|
virtualHost: true,
|
|
@@ -23,6 +23,9 @@ export declare const defaultConfig: {
|
|
|
23
23
|
type: "text" | "default" | "pale" | "mild" | "outline" | "pale-text" | undefined;
|
|
24
24
|
theme: "success" | "primary" | "warning" | "danger" | "secondary" | "info" | "neutral" | undefined;
|
|
25
25
|
size: "small" | "medium" | "mini" | "large" | undefined;
|
|
26
|
+
hoverStopPropagation: boolean;
|
|
27
|
+
lang: string;
|
|
28
|
+
showMessageCard: boolean;
|
|
26
29
|
};
|
|
27
30
|
calendar: {
|
|
28
31
|
type: import("../calendar").CalendarType | undefined;
|
package/components/fab/fab.vue
CHANGED
|
@@ -50,6 +50,10 @@ import { useTransition, useZIndex } from "../../use";
|
|
|
50
50
|
import SarIcon from "../icon/icon.vue";
|
|
51
51
|
import SarOverlay from "../overlay/overlay.vue";
|
|
52
52
|
export default _defineComponent({
|
|
53
|
+
components: {
|
|
54
|
+
SarIcon,
|
|
55
|
+
SarOverlay,
|
|
56
|
+
},
|
|
53
57
|
...{
|
|
54
58
|
options: {
|
|
55
59
|
virtualHost: true,
|
package/components/menu/menu.vue
CHANGED
|
@@ -47,6 +47,11 @@ import SarIcon from "../icon/icon.vue";
|
|
|
47
47
|
import { useFormContext } from "../form/common";
|
|
48
48
|
import SarLoading from "../loading/loading.vue";
|
|
49
49
|
export default _defineComponent({
|
|
50
|
+
components: {
|
|
51
|
+
SarInput,
|
|
52
|
+
SarIcon,
|
|
53
|
+
SarLoading,
|
|
54
|
+
},
|
|
50
55
|
...{
|
|
51
56
|
options: {
|
|
52
57
|
virtualHost: true,
|
|
@@ -69,6 +69,14 @@ import {
|
|
|
69
69
|
import { createBem, getMayPrimitiveOption, isNullish } from "../../utils";
|
|
70
70
|
import { useFormItemContext } from "../form/common";
|
|
71
71
|
export default _defineComponent({
|
|
72
|
+
components: {
|
|
73
|
+
SarPopoutInput,
|
|
74
|
+
SarPopout,
|
|
75
|
+
SarRadioGroup,
|
|
76
|
+
SarRadio,
|
|
77
|
+
SarList,
|
|
78
|
+
SarListItem,
|
|
79
|
+
},
|
|
72
80
|
...{
|
|
73
81
|
options: {
|
|
74
82
|
virtualHost: true,
|
package/components/rate/rate.vue
CHANGED
|
@@ -67,6 +67,9 @@ import { useFormContext, useFormItemContext } from "../form/common";
|
|
|
67
67
|
import { defaultRateProps } from "./common";
|
|
68
68
|
import { useMouseDown } from "../../use";
|
|
69
69
|
export default _defineComponent({
|
|
70
|
+
components: {
|
|
71
|
+
SarIcon,
|
|
72
|
+
},
|
|
70
73
|
...{
|
|
71
74
|
options: {
|
|
72
75
|
virtualHost: true,
|
|
@@ -15,6 +15,9 @@ import { computed } from "vue";
|
|
|
15
15
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
16
16
|
import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
|
|
17
17
|
export default _defineComponent({
|
|
18
|
+
components: {
|
|
19
|
+
SarSkeletonBlock,
|
|
20
|
+
},
|
|
18
21
|
...{
|
|
19
22
|
options: {
|
|
20
23
|
virtualHost: true,
|
|
@@ -18,6 +18,9 @@ import { computed } from "vue";
|
|
|
18
18
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
19
19
|
import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
|
|
20
20
|
export default _defineComponent({
|
|
21
|
+
components: {
|
|
22
|
+
SarSkeletonBlock,
|
|
23
|
+
},
|
|
21
24
|
...{
|
|
22
25
|
options: {
|
|
23
26
|
virtualHost: true,
|
|
@@ -15,6 +15,9 @@ import { computed } from "vue";
|
|
|
15
15
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
16
16
|
import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
|
|
17
17
|
export default _defineComponent({
|
|
18
|
+
components: {
|
|
19
|
+
SarSkeletonBlock,
|
|
20
|
+
},
|
|
18
21
|
...{
|
|
19
22
|
options: {
|
|
20
23
|
virtualHost: true,
|
|
@@ -39,6 +39,9 @@ import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
|
39
39
|
import SarIcon from "../icon/icon.vue";
|
|
40
40
|
import { defaultStepsProps } from "./common";
|
|
41
41
|
export default _defineComponent({
|
|
42
|
+
components: {
|
|
43
|
+
SarIcon,
|
|
44
|
+
},
|
|
42
45
|
...{
|
|
43
46
|
options: {
|
|
44
47
|
virtualHost: true,
|
package/components/tabs/tabs.vue
CHANGED
package/components/tag/tag.vue
CHANGED
|
@@ -32,6 +32,9 @@ import { computed } from "vue";
|
|
|
32
32
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
33
33
|
import SarIcon from "../icon/icon.vue";
|
|
34
34
|
export default _defineComponent({
|
|
35
|
+
components: {
|
|
36
|
+
SarIcon,
|
|
37
|
+
},
|
|
35
38
|
...{
|
|
36
39
|
options: {
|
|
37
40
|
virtualHost: true,
|
package/components/tree/tree.vue
CHANGED
|
@@ -54,6 +54,13 @@ import SarToast from "../toast/toast.vue";
|
|
|
54
54
|
import { useTranslate } from "../locale";
|
|
55
55
|
import { recurAncestor, recurDescendant, recurNodes } from "./utils";
|
|
56
56
|
export default _defineComponent({
|
|
57
|
+
components: {
|
|
58
|
+
SarTreeBranch,
|
|
59
|
+
SarPopover,
|
|
60
|
+
SarInput,
|
|
61
|
+
SarDialog,
|
|
62
|
+
SarToast,
|
|
63
|
+
},
|
|
57
64
|
...{
|
|
58
65
|
options: {
|
|
59
66
|
virtualHost: true,
|
|
@@ -106,6 +106,12 @@ import SarPopover from "../popover/popover.vue";
|
|
|
106
106
|
import { usePopover } from "../popover";
|
|
107
107
|
import { getNodeLevel, recurDescendant } from "../tree/utils";
|
|
108
108
|
export default _defineComponent({
|
|
109
|
+
components: {
|
|
110
|
+
SarTreeBranch,
|
|
111
|
+
SarIcon,
|
|
112
|
+
SarCheckbox,
|
|
113
|
+
SarPopover,
|
|
114
|
+
},
|
|
109
115
|
...{
|
|
110
116
|
options: {
|
|
111
117
|
virtualHost: true,
|