sard-uniapp 1.8.0 → 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.
Files changed (67) hide show
  1. package/changelog.md +9 -0
  2. package/components/accordion-item/accordion-item.vue +4 -0
  3. package/components/action-sheet/action-sheet.vue +4 -0
  4. package/components/alert/alert.vue +3 -0
  5. package/components/avatar/avatar.vue +3 -0
  6. package/components/back-top/back-top.vue +3 -0
  7. package/components/button/button.vue +3 -0
  8. package/components/calendar/calendar.vue +7 -0
  9. package/components/calendar-input/calendar-input.vue +5 -0
  10. package/components/cascader/cascader.vue +5 -0
  11. package/components/cascader-input/cascader-input.vue +5 -0
  12. package/components/check-icon/check-icon.vue +3 -0
  13. package/components/checkbox/checkbox.vue +3 -0
  14. package/components/checkbox-group/checkbox-group.vue +3 -0
  15. package/components/checkbox-input/checkbox-input.vue +8 -0
  16. package/components/datetime-picker/datetime-picker.vue +3 -0
  17. package/components/datetime-picker-input/datetime-picker-input.vue +5 -0
  18. package/components/dialog/dialog.vue +5 -0
  19. package/components/dialog-agent/dialog-agent.vue +3 -0
  20. package/components/dropdown-item/dropdown-item.vue +6 -0
  21. package/components/empty/empty.vue +3 -0
  22. package/components/fab/fab.vue +4 -0
  23. package/components/grid-item/grid-item.vue +3 -0
  24. package/components/indexes/indexes.vue +3 -0
  25. package/components/input/input.vue +3 -0
  26. package/components/keyboard/keyboard.vue +3 -0
  27. package/components/list-item/list-item.vue +3 -0
  28. package/components/load-more/load-more.vue +3 -0
  29. package/components/menu/menu.vue +3 -0
  30. package/components/menu-item/menu-item.vue +3 -0
  31. package/components/notice-bar/notice-bar.vue +3 -0
  32. package/components/notify/notify.vue +3 -0
  33. package/components/notify-agent/notify-agent.vue +3 -0
  34. package/components/picker-input/picker-input.vue +5 -0
  35. package/components/popout/popout.vue +5 -0
  36. package/components/popout-input/popout-input.vue +5 -0
  37. package/components/popover/popover.vue +4 -0
  38. package/components/popup/popup.vue +3 -0
  39. package/components/progress-bar/progress-bar.vue +3 -0
  40. package/components/progress-circle/progress-circle.vue +3 -0
  41. package/components/pull-down-refresh/pull-down-refresh.vue +3 -0
  42. package/components/radio/radio.vue +3 -0
  43. package/components/radio-group/radio-group.vue +3 -0
  44. package/components/radio-input/radio-input.vue +8 -0
  45. package/components/rate/rate.vue +3 -0
  46. package/components/result/result.vue +3 -0
  47. package/components/search/search.vue +5 -0
  48. package/components/share-sheet/share-sheet.vue +4 -0
  49. package/components/skeleton/skeleton.vue +5 -0
  50. package/components/skeleton-avatar/skeleton-avatar.vue +3 -0
  51. package/components/skeleton-paragraph/skeleton-paragraph.vue +3 -0
  52. package/components/skeleton-title/skeleton-title.vue +3 -0
  53. package/components/stepper/stepper.vue +3 -0
  54. package/components/steps/steps.vue +3 -0
  55. package/components/switch/switch.vue +3 -0
  56. package/components/tabbar-item/tabbar-item.vue +4 -0
  57. package/components/tabs/tabs.vue +3 -0
  58. package/components/tag/tag.vue +3 -0
  59. package/components/timeline-item/timeline-item.vue +3 -0
  60. package/components/toast/toast.vue +5 -0
  61. package/components/toast-agent/toast-agent.vue +3 -0
  62. package/components/tree/tree.vue +7 -0
  63. package/components/tree-branch/tree-branch.vue +3 -0
  64. package/components/tree-node/tree-node.vue +6 -0
  65. package/components/upload/upload.vue +4 -0
  66. package/components/upload-preview/upload-preview.vue +4 -0
  67. package/package.json +1 -1
package/changelog.md CHANGED
@@ -1,3 +1,12 @@
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
+
1
10
  # [1.8.0](https://github.com/sutras/sard-uniapp/compare/v1.7.1...v1.8.0) (2024-10-21)
2
11
 
3
12
 
@@ -25,6 +25,10 @@ import {
25
25
  import SarCollapse from "../collapse/collapse.vue";
26
26
  import SarIcon from "../icon/icon.vue";
27
27
  export default _defineComponent({
28
+ components: {
29
+ SarCollapse,
30
+ SarIcon,
31
+ },
28
32
  ...{
29
33
  options: {
30
34
  virtualHost: true,
@@ -56,6 +56,10 @@ import {
56
56
  defaultActionSheetProps
57
57
  } from "./common";
58
58
  export default _defineComponent({
59
+ components: {
60
+ SarPopup,
61
+ SarLoading,
62
+ },
59
63
  ...{
60
64
  options: {
61
65
  virtualHost: true,
@@ -22,6 +22,9 @@ import {
22
22
  } from "./common";
23
23
  import SarIcon from "../icon/icon.vue";
24
24
  export default _defineComponent({
25
+ components: {
26
+ SarIcon,
27
+ },
25
28
  ...{
26
29
  options: {
27
30
  virtualHost: true,
@@ -23,6 +23,9 @@ import {
23
23
  defaultAvatarProps
24
24
  } from "./common";
25
25
  export default _defineComponent({
26
+ components: {
27
+ SarIcon,
28
+ },
26
29
  ...{
27
30
  options: {
28
31
  virtualHost: true,
@@ -15,6 +15,9 @@ import {
15
15
  } from "./common";
16
16
  import SarIcon from "../icon/icon.vue";
17
17
  export default _defineComponent({
18
+ components: {
19
+ SarIcon,
20
+ },
18
21
  ...{
19
22
  options: {
20
23
  virtualHost: true,
@@ -57,6 +57,9 @@ import {
57
57
  defaultButtonProps
58
58
  } from "./common";
59
59
  export default _defineComponent({
60
+ components: {
61
+ SarLoading,
62
+ },
60
63
  ...{
61
64
  options: {
62
65
  virtualHost: true,
@@ -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,
@@ -54,6 +54,11 @@ import {
54
54
  import { useFormItemContext } from "../form/common";
55
55
  const format = "YYYY-MM-DD";
56
56
  export default _defineComponent({
57
+ components: {
58
+ SarPopoutInput,
59
+ SarCalendar,
60
+ SarPopout,
61
+ },
57
62
  ...{
58
63
  options: {
59
64
  virtualHost: true,
@@ -88,6 +88,11 @@ import {
88
88
  defaultCascaderProps
89
89
  } from "./common";
90
90
  export default _defineComponent({
91
+ components: {
92
+ SarTabs,
93
+ SarIcon,
94
+ SarLoading,
95
+ },
91
96
  ...{
92
97
  options: {
93
98
  virtualHost: true,
@@ -53,6 +53,11 @@ import {
53
53
  } from "./common";
54
54
  import { useFormItemContext } from "../form/common";
55
55
  export default _defineComponent({
56
+ components: {
57
+ SarPopoutInput,
58
+ SarCascader,
59
+ SarPopout,
60
+ },
56
61
  ...{
57
62
  options: {
58
63
  virtualHost: true,
@@ -10,6 +10,9 @@ import { computed } from "vue";
10
10
  import { classNames, createBem } from "../../utils";
11
11
  import SarIcon from "../icon/icon.vue";
12
12
  export default _defineComponent({
13
+ components: {
14
+ SarIcon,
15
+ },
13
16
  ...{
14
17
  options: {
15
18
  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,
@@ -41,6 +41,9 @@ import {
41
41
  import { useFormItemContext } from "../form/common";
42
42
  import SarCheckbox from "../checkbox/checkbox.vue";
43
43
  export default _defineComponent({
44
+ components: {
45
+ SarCheckbox,
46
+ },
44
47
  ...{
45
48
  options: {
46
49
  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,
@@ -25,6 +25,9 @@ import {
25
25
  } from "./common";
26
26
  import { useTranslate } from "../locale";
27
27
  export default _defineComponent({
28
+ components: {
29
+ SarPicker,
30
+ },
28
31
  ...{
29
32
  options: {
30
33
  virtualHost: true,
@@ -51,6 +51,11 @@ import {
51
51
  } from "./common";
52
52
  import { useFormItemContext } from "../form/common";
53
53
  export default _defineComponent({
54
+ components: {
55
+ SarPopoutInput,
56
+ SarPopout,
57
+ SarDatetimePicker,
58
+ },
54
59
  ...{
55
60
  options: {
56
61
  virtualHost: true,
@@ -80,6 +80,11 @@ import {
80
80
  defaultDialogProps
81
81
  } from "./common";
82
82
  export default _defineComponent({
83
+ components: {
84
+ SarPopup,
85
+ SarButton,
86
+ SarIcon,
87
+ },
83
88
  ...{
84
89
  options: {
85
90
  virtualHost: true,
@@ -26,6 +26,9 @@ import {
26
26
  } from "./common";
27
27
  import { useImperative } from "../../use/useImperative";
28
28
  export default _defineComponent({
29
+ components: {
30
+ SarDialog,
31
+ },
29
32
  ...{
30
33
  options: {
31
34
  virtualHost: true,
@@ -104,6 +104,12 @@ import {
104
104
  defaultDropdownItemProps
105
105
  } from "../dropdown/common";
106
106
  export default _defineComponent({
107
+ components: {
108
+ SarPopup,
109
+ SarList,
110
+ SarListItem,
111
+ SarIcon,
112
+ },
107
113
  ...{
108
114
  options: {
109
115
  virtualHost: true,
@@ -24,6 +24,9 @@ import SarIcon from "../icon/icon.vue";
24
24
  import { useTranslate } from "../locale";
25
25
  import { defaultEmptyProps } from "./common";
26
26
  export default _defineComponent({
27
+ components: {
28
+ SarIcon,
29
+ },
27
30
  ...{
28
31
  options: {
29
32
  virtualHost: true,
@@ -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,
@@ -35,6 +35,9 @@ import {
35
35
  } from "../grid/common";
36
36
  import SarIcon from "../icon/icon.vue";
37
37
  export default _defineComponent({
38
+ components: {
39
+ SarIcon,
40
+ },
38
41
  ...{
39
42
  options: {
40
43
  virtualHost: true,
@@ -43,6 +43,9 @@ import {
43
43
  import { useSetTimeout } from "../../use";
44
44
  import SarIndexesNav from "../indexes-nav/indexes-nav.vue";
45
45
  export default _defineComponent({
46
+ components: {
47
+ SarIndexesNav,
48
+ },
46
49
  ...{
47
50
  options: {
48
51
  virtualHost: true,
@@ -127,6 +127,9 @@ import {
127
127
  defaultInputProps
128
128
  } from "./common";
129
129
  export default _defineComponent({
130
+ components: {
131
+ SarIcon,
132
+ },
130
133
  ...{
131
134
  options: {
132
135
  virtualHost: true,
@@ -118,6 +118,9 @@ import {
118
118
  } from "./common";
119
119
  import SarIcon from "../icon/icon.vue";
120
120
  export default _defineComponent({
121
+ components: {
122
+ SarIcon,
123
+ },
121
124
  ...{
122
125
  options: {
123
126
  virtualHost: true,
@@ -54,6 +54,9 @@ import {
54
54
  defaultListItemProps
55
55
  } from "../list/common";
56
56
  export default _defineComponent({
57
+ components: {
58
+ SarIcon,
59
+ },
57
60
  ...{
58
61
  options: {
59
62
  virtualHost: true,
@@ -27,6 +27,9 @@ import {
27
27
  import { useTranslate } from "../locale";
28
28
  import SarLoading from "../loading/loading.vue";
29
29
  export default _defineComponent({
30
+ components: {
31
+ SarLoading,
32
+ },
30
33
  ...{
31
34
  options: {
32
35
  virtualHost: true,
@@ -23,6 +23,9 @@ import {
23
23
  defaultMenuProps
24
24
  } from "./common";
25
25
  export default _defineComponent({
26
+ components: {
27
+ SarMenuItem,
28
+ },
26
29
  ...{
27
30
  options: {
28
31
  virtualHost: true,
@@ -18,6 +18,9 @@ import { computed } from "vue";
18
18
  import { classNames, createBem } from "../../utils";
19
19
  import SarIcon from "../icon/icon.vue";
20
20
  export default _defineComponent({
21
+ components: {
22
+ SarIcon,
23
+ },
21
24
  ...{
22
25
  options: {
23
26
  virtualHost: true,
@@ -43,6 +43,9 @@ import {
43
43
  } from "./common";
44
44
  import { useSetTimeout } from "../../use";
45
45
  export default _defineComponent({
46
+ components: {
47
+ SarIcon,
48
+ },
46
49
  ...{
47
50
  options: {
48
51
  virtualHost: true,
@@ -19,6 +19,9 @@ import {
19
19
  } from "./common";
20
20
  import SarPopup from "../popup/popup.vue";
21
21
  export default _defineComponent({
22
+ components: {
23
+ SarPopup,
24
+ },
22
25
  ...{
23
26
  options: {
24
27
  virtualHost: true,
@@ -23,6 +23,9 @@ import {
23
23
  } from "./common";
24
24
  import { useImperative } from "../../use/useImperative";
25
25
  export default _defineComponent({
26
+ components: {
27
+ SarNotify,
28
+ },
26
29
  ...{
27
30
  options: {
28
31
  virtualHost: true,
@@ -50,6 +50,11 @@ import {
50
50
  } from "./common";
51
51
  import { useFormItemContext } from "../form/common";
52
52
  export default _defineComponent({
53
+ components: {
54
+ SarPopoutInput,
55
+ SarPopout,
56
+ SarPicker,
57
+ },
53
58
  ...{
54
59
  options: {
55
60
  virtualHost: true,
@@ -98,6 +98,11 @@ import {
98
98
  defaultPopoutProps
99
99
  } from "./common";
100
100
  export default _defineComponent({
101
+ components: {
102
+ SarPopup,
103
+ SarButton,
104
+ SarIcon,
105
+ },
101
106
  ...{
102
107
  options: {
103
108
  virtualHost: true,
@@ -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,
@@ -55,6 +55,10 @@ import {
55
55
  defaultPopoverProps
56
56
  } from "./common";
57
57
  export default _defineComponent({
58
+ components: {
59
+ SarOverlay,
60
+ SarMenu,
61
+ },
58
62
  ...{
59
63
  options: {
60
64
  virtualHost: true,
@@ -30,6 +30,9 @@ import {
30
30
  usePopupVisibleHookProvide
31
31
  } from "./common";
32
32
  export default _defineComponent({
33
+ components: {
34
+ SarOverlay,
35
+ },
33
36
  ...{
34
37
  options: {
35
38
  virtualHost: true,
@@ -25,6 +25,9 @@ import {
25
25
  defaultProgressBarProps
26
26
  } from "./common";
27
27
  export default _defineComponent({
28
+ components: {
29
+ SarIcon,
30
+ },
28
31
  ...{
29
32
  options: {
30
33
  virtualHost: true,
@@ -24,6 +24,9 @@ import {
24
24
  defaultProgressCircle
25
25
  } from "./common";
26
26
  export default _defineComponent({
27
+ components: {
28
+ SarIcon,
29
+ },
27
30
  ...{
28
31
  options: {
29
32
  virtualHost: true,
@@ -82,6 +82,9 @@ import {
82
82
  import { useMouseDown, useSetTimeout } from "../../use";
83
83
  import SarLoading from "../loading/loading.vue";
84
84
  export default _defineComponent({
85
+ components: {
86
+ SarLoading,
87
+ },
85
88
  ...{
86
89
  options: {
87
90
  virtualHost: true,
@@ -25,6 +25,9 @@ import {
25
25
  import SarCheckIcon from "../check-icon/check-icon.vue";
26
26
  import { useFormContext } from "../form/common";
27
27
  export default _defineComponent({
28
+ components: {
29
+ SarCheckIcon,
30
+ },
28
31
  ...{
29
32
  options: {
30
33
  virtualHost: true,
@@ -41,6 +41,9 @@ import {
41
41
  import { useFormItemContext } from "../form/common";
42
42
  import SarRadio from "../radio/radio.vue";
43
43
  export default _defineComponent({
44
+ components: {
45
+ SarRadio,
46
+ },
44
47
  ...{
45
48
  options: {
46
49
  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,
@@ -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,
@@ -32,6 +32,9 @@ import {
32
32
  defaultResultProps
33
33
  } from "./common";
34
34
  export default _defineComponent({
35
+ components: {
36
+ SarIcon,
37
+ },
35
38
  ...{
36
39
  options: {
37
40
  virtualHost: true,
@@ -65,6 +65,11 @@ import {
65
65
  defaultSearchProps
66
66
  } from "./common";
67
67
  export default _defineComponent({
68
+ components: {
69
+ SarInput,
70
+ SarIcon,
71
+ SarButton,
72
+ },
68
73
  ...{
69
74
  options: {
70
75
  virtualHost: true,
@@ -85,6 +85,10 @@ import {
85
85
  defaultShareSheetProps
86
86
  } from "./common";
87
87
  export default _defineComponent({
88
+ components: {
89
+ SarPopup,
90
+ SarIcon,
91
+ },
88
92
  ...{
89
93
  options: {
90
94
  virtualHost: true,
@@ -30,6 +30,11 @@ import {
30
30
  defaultSkeletonProps
31
31
  } from "./common";
32
32
  export default _defineComponent({
33
+ components: {
34
+ SarSkeletonAvatar,
35
+ SarSkeletonTitle,
36
+ SarSkeletonParagraph,
37
+ },
33
38
  ...{
34
39
  options: {
35
40
  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,
@@ -65,6 +65,9 @@ import {
65
65
  defaultStepperProps
66
66
  } from "./common";
67
67
  export default _defineComponent({
68
+ components: {
69
+ SarIcon,
70
+ },
68
71
  ...{
69
72
  options: {
70
73
  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,
@@ -16,6 +16,9 @@ import {
16
16
  defaultSwitchProps
17
17
  } from "./common";
18
18
  export default _defineComponent({
19
+ components: {
20
+ SarLoading,
21
+ },
19
22
  ...{
20
23
  options: {
21
24
  virtualHost: true,
@@ -24,6 +24,10 @@ import {
24
24
  import SarIcon from "../icon/icon.vue";
25
25
  import SarBadge from "../badge/badge.vue";
26
26
  export default _defineComponent({
27
+ components: {
28
+ SarIcon,
29
+ SarBadge,
30
+ },
27
31
  ...{
28
32
  options: {
29
33
  virtualHost: true,
@@ -55,6 +55,9 @@ import {
55
55
  import SarTab from "../tab/tab.vue";
56
56
  import { usePopupEnter } from "../popup/common";
57
57
  export default _defineComponent({
58
+ components: {
59
+ SarTab,
60
+ },
58
61
  ...{
59
62
  options: {
60
63
  virtualHost: true,
@@ -16,6 +16,9 @@ import {
16
16
  defaultTagProps
17
17
  } from "./common";
18
18
  export default _defineComponent({
19
+ components: {
20
+ SarIcon,
21
+ },
19
22
  ...{
20
23
  options: {
21
24
  virtualHost: true,
@@ -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,
@@ -36,6 +36,11 @@ const __default__ = {
36
36
  };
37
37
  export const mapIdToast = {};
38
38
  export default _defineComponent({
39
+ components: {
40
+ SarPopup,
41
+ SarLoading,
42
+ SarIcon,
43
+ },
39
44
  ...__default__,
40
45
  __name: "toast",
41
46
  props: _mergeDefaults({
@@ -22,6 +22,9 @@ import {
22
22
  } from "./common";
23
23
  import { useImperative } from "../../use/useImperative";
24
24
  export default _defineComponent({
25
+ components: {
26
+ SarToast,
27
+ },
25
28
  ...{
26
29
  options: {
27
30
  virtualHost: true,
@@ -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,
@@ -8,6 +8,9 @@
8
8
  import { defineComponent as _defineComponent } from "vue";
9
9
  import SarTreeNode from "../tree-node/tree-node.vue";
10
10
  export default _defineComponent({
11
+ components: {
12
+ SarTreeNode,
13
+ },
11
14
  ...{
12
15
  options: {
13
16
  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,
@@ -54,6 +54,10 @@ import {
54
54
  } from "./common";
55
55
  import { useFormContext, useFormItemContext } from "../form/common";
56
56
  export default _defineComponent({
57
+ components: {
58
+ SarUploadPreview,
59
+ SarIcon,
60
+ },
57
61
  ...{
58
62
  options: {
59
63
  virtualHost: true,
@@ -69,6 +69,10 @@ import {
69
69
  defaultUploadPreviewProps
70
70
  } from "../upload/common";
71
71
  export default _defineComponent({
72
+ components: {
73
+ SarIcon,
74
+ SarLoading,
75
+ },
72
76
  ...{
73
77
  options: {
74
78
  virtualHost: true,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "sard-uniapp",
3
3
  "name": "sard-uniapp",
4
4
  "displayName": "sard-uniapp",
5
- "version": "1.8.0",
5
+ "version": "1.8.1",
6
6
  "type": "module",
7
7
  "description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
8
8
  "keywords": [