@puresnake/snake-ui 0.0.0-stage → 0.0.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 (279) hide show
  1. package/LICENSE +21 -0
  2. package/changelog.md +1 -0
  3. package/components/snake-activity-list/snake-activity-list.vue +365 -0
  4. package/components/snake-activity-list/types.ts +29 -0
  5. package/components/snake-auxiliary-segmentation/snake-auxiliary-segmentation.vue +44 -0
  6. package/components/snake-auxiliary-segmentation/types.ts +5 -0
  7. package/components/snake-button/snake-button.vue +357 -0
  8. package/components/snake-button/types.ts +103 -0
  9. package/components/snake-button-sort/snake-button-sort.vue +72 -0
  10. package/components/snake-button-sort/types.ts +22 -0
  11. package/components/snake-calendar/snake-calendar.vue +998 -0
  12. package/components/snake-calendar/types.ts +189 -0
  13. package/components/snake-cell-group/snake-cell-group.vue +55 -0
  14. package/components/snake-cell-group/types.ts +19 -0
  15. package/components/snake-cell-item/snake-cell-item.vue +159 -0
  16. package/components/snake-cell-item/types.ts +66 -0
  17. package/components/snake-checkbox/snake-checkbox.vue +264 -0
  18. package/components/snake-checkbox/types.ts +70 -0
  19. package/components/snake-checkbox-group/snake-checkbox-group.vue +154 -0
  20. package/components/snake-checkbox-group/types.ts +52 -0
  21. package/components/snake-cms/blocks/v2/cms-v2-carousel.vue +87 -0
  22. package/components/snake-cms/blocks/v2/cms-v2-coupon.vue +25 -0
  23. package/components/snake-cms/blocks/v2/cms-v2-custom.vue +12 -0
  24. package/components/snake-cms/blocks/v2/cms-v2-divider.vue +33 -0
  25. package/components/snake-cms/blocks/v2/cms-v2-floatbutton.vue +28 -0
  26. package/components/snake-cms/blocks/v2/cms-v2-goods-list.vue +150 -0
  27. package/components/snake-cms/blocks/v2/cms-v2-hotzone.vue +41 -0
  28. package/components/snake-cms/blocks/v2/cms-v2-images.vue +41 -0
  29. package/components/snake-cms/blocks/v2/cms-v2-magiccube.vue +93 -0
  30. package/components/snake-cms/blocks/v2/cms-v2-notice.vue +80 -0
  31. package/components/snake-cms/blocks/v2/cms-v2-popup.vue +46 -0
  32. package/components/snake-cms/blocks/v2/cms-v2-richtext.vue +18 -0
  33. package/components/snake-cms/blocks/v2/cms-v2-search.vue +115 -0
  34. package/components/snake-cms/blocks/v2/cms-v2-video.vue +25 -0
  35. package/components/snake-cms/blocks/v2/shared.ts +84 -0
  36. package/components/snake-cms/snake-cms.vue +409 -0
  37. package/components/snake-cms/types.ts +50 -0
  38. package/components/snake-commodity-search/snake-commodity-search.vue +234 -0
  39. package/components/snake-commodity-search/types.ts +11 -0
  40. package/components/snake-config-provider/snake-config-provider.vue +61 -0
  41. package/components/snake-config-provider/types.ts +22 -0
  42. package/components/snake-count-down/snake-count-down.vue +231 -0
  43. package/components/snake-count-down/types.ts +103 -0
  44. package/components/snake-coupon/snake-coupon.vue +209 -0
  45. package/components/snake-coupon/types.ts +21 -0
  46. package/components/snake-custom-module/snake-custom-module.vue +25 -0
  47. package/components/snake-custom-module/types.ts +11 -0
  48. package/components/snake-drop-menu/snake-drop-menu.vue +123 -0
  49. package/components/snake-drop-menu/types.ts +95 -0
  50. package/components/snake-drop-menu-item/snake-drop-menu-item.vue +181 -0
  51. package/components/snake-drop-menu-item/types.ts +48 -0
  52. package/components/snake-empty/snake-empty.vue +100 -0
  53. package/components/snake-empty/types.ts +48 -0
  54. package/components/snake-filter-sorts/filter-page.vue +695 -0
  55. package/components/snake-filter-sorts/snake-filter-sorts.vue +185 -0
  56. package/components/snake-filter-sorts/types.ts +57 -0
  57. package/components/snake-floating-bubble/snake-floating-bubble.vue +157 -0
  58. package/components/snake-floating-bubble/types.ts +43 -0
  59. package/components/snake-follow/snake-follow.vue +18 -0
  60. package/components/snake-follow/types.ts +2 -0
  61. package/components/snake-form/snake-form.vue +124 -0
  62. package/components/snake-form/types.ts +96 -0
  63. package/components/snake-form-item/snake-form-item.vue +331 -0
  64. package/components/snake-form-item/types.ts +70 -0
  65. package/components/snake-goods-list/snake-goods-list.vue +792 -0
  66. package/components/snake-goods-list/types.ts +55 -0
  67. package/components/snake-graphic-navigation/snake-graphic-navigation.vue +198 -0
  68. package/components/snake-graphic-navigation/types.ts +43 -0
  69. package/components/snake-icon/icon-names.ts +222 -0
  70. package/components/snake-icon/snake-icon.vue +220 -0
  71. package/components/snake-icon/types.ts +45 -0
  72. package/components/snake-image/snake-image.vue +230 -0
  73. package/components/snake-image/types.ts +70 -0
  74. package/components/snake-images/snake-images.vue +80 -0
  75. package/components/snake-images/types.ts +5 -0
  76. package/components/snake-index-anchor/snake-index-anchor.vue +83 -0
  77. package/components/snake-index-anchor/types.ts +14 -0
  78. package/components/snake-index-list/anchor-registry.ts +80 -0
  79. package/components/snake-index-list/snake-index-list.vue +259 -0
  80. package/components/snake-index-list/types.ts +115 -0
  81. package/components/snake-index-list-panel/snake-index-list-panel.vue +277 -0
  82. package/components/snake-index-list-panel/types.ts +10 -0
  83. package/components/snake-input/snake-input.vue +225 -0
  84. package/components/snake-input/types.ts +99 -0
  85. package/components/snake-jump-applet/snake-jump-applet.vue +99 -0
  86. package/components/snake-jump-applet/types.ts +17 -0
  87. package/components/snake-line/snake-line.vue +42 -0
  88. package/components/snake-line/types.ts +30 -0
  89. package/components/snake-line-progress/snake-line-progress.vue +105 -0
  90. package/components/snake-line-progress/types.ts +26 -0
  91. package/components/snake-link/snake-link.vue +74 -0
  92. package/components/snake-link/types.ts +30 -0
  93. package/components/snake-list-switching/components/tree-select/index.vue +156 -0
  94. package/components/snake-list-switching/snake-list-switching.vue +1285 -0
  95. package/components/snake-list-switching/types.ts +11 -0
  96. package/components/snake-loading/snake-loading.vue +241 -0
  97. package/components/snake-loading/types.ts +34 -0
  98. package/components/snake-loadmore/snake-loadmore.vue +103 -0
  99. package/components/snake-loadmore/types.ts +56 -0
  100. package/components/snake-magic-cube/snake-magic-cube.vue +622 -0
  101. package/components/snake-magic-cube/types.ts +5 -0
  102. package/components/snake-modal/snake-modal.vue +434 -0
  103. package/components/snake-modal/types.ts +71 -0
  104. package/components/snake-navbar/snake-navbar.vue +194 -0
  105. package/components/snake-navbar/types.ts +54 -0
  106. package/components/snake-no-network/snake-no-network.vue +125 -0
  107. package/components/snake-no-network/types.ts +27 -0
  108. package/components/snake-notice/snake-notice.vue +44 -0
  109. package/components/snake-notice/types.ts +5 -0
  110. package/components/snake-notice-bar/snake-notice-bar.vue +336 -0
  111. package/components/snake-notice-bar/types.ts +82 -0
  112. package/components/snake-overlay/snake-overlay.vue +73 -0
  113. package/components/snake-overlay/types.ts +35 -0
  114. package/components/snake-page-popup/snake-page-popup.vue +146 -0
  115. package/components/snake-page-popup/types.ts +28 -0
  116. package/components/snake-parse/audio/audio.vue +286 -0
  117. package/components/snake-parse/audio/context.js +11 -0
  118. package/components/snake-parse/audio/index.js +34 -0
  119. package/components/snake-parse/node/node.vue +830 -0
  120. package/components/snake-parse/parser.js +1480 -0
  121. package/components/snake-parse/snake-parse.vue +548 -0
  122. package/components/snake-parse/static/app-plus/snake-parse/js/handler.js +109 -0
  123. package/components/snake-parse/static/app-plus/snake-parse/js/uni.webview.js +0 -0
  124. package/components/snake-parse/static/app-plus/snake-parse/js/uni.webview.min.js +1 -0
  125. package/components/snake-parse/static/app-plus/snake-parse/local.html +3 -0
  126. package/components/snake-parse/style/index.js +132 -0
  127. package/components/snake-parse/style/parser.js +175 -0
  128. package/components/snake-parse/types.ts +49 -0
  129. package/components/snake-picture-ads/snake-picture-ads.vue +292 -0
  130. package/components/snake-picture-ads/types.ts +5 -0
  131. package/components/snake-popup/snake-popup.vue +348 -0
  132. package/components/snake-popup/types.ts +88 -0
  133. package/components/snake-qr-code/qrcode.ts +1214 -0
  134. package/components/snake-qr-code/snake-qr-code.vue +408 -0
  135. package/components/snake-qr-code/types.ts +78 -0
  136. package/components/snake-radio/snake-radio.vue +271 -0
  137. package/components/snake-radio/types.ts +64 -0
  138. package/components/snake-radio-group/snake-radio-group.vue +98 -0
  139. package/components/snake-radio-group/types.ts +48 -0
  140. package/components/snake-read-more/snake-read-more.vue +140 -0
  141. package/components/snake-read-more/types.ts +53 -0
  142. package/components/snake-rich-text/snake-rich-text.vue +24 -0
  143. package/components/snake-rich-text/types.ts +5 -0
  144. package/components/snake-root-portal/snake-root-portal.vue +92 -0
  145. package/components/snake-root-portal/types.ts +9 -0
  146. package/components/snake-search/snake-search.vue +202 -0
  147. package/components/snake-search/types.ts +84 -0
  148. package/components/snake-select/snake-select.vue +371 -0
  149. package/components/snake-select/types.ts +75 -0
  150. package/components/snake-skeleton/snake-skeleton.vue +104 -0
  151. package/components/snake-skeleton/types.ts +32 -0
  152. package/components/snake-skeleton-item/snake-skeleton-item.vue +90 -0
  153. package/components/snake-skeleton-item/types.ts +30 -0
  154. package/components/snake-slider/snake-slider.vue +249 -0
  155. package/components/snake-slider/types.ts +59 -0
  156. package/components/snake-sticky/snake-sticky.vue +178 -0
  157. package/components/snake-sticky/types.ts +48 -0
  158. package/components/snake-subsection/snake-subsection.vue +188 -0
  159. package/components/snake-subsection/types.ts +54 -0
  160. package/components/snake-swiper/snake-swiper.vue +229 -0
  161. package/components/snake-swiper/types.ts +79 -0
  162. package/components/snake-switch/snake-switch.vue +100 -0
  163. package/components/snake-switch/types.ts +41 -0
  164. package/components/snake-tabbar/snake-tabbar.vue +306 -0
  165. package/components/snake-tabbar/types.ts +93 -0
  166. package/components/snake-tabs/snake-tabs.vue +305 -0
  167. package/components/snake-tabs/types.ts +79 -0
  168. package/components/snake-text/snake-text.vue +292 -0
  169. package/components/snake-text/types.ts +100 -0
  170. package/components/snake-textarea/snake-textarea.vue +171 -0
  171. package/components/snake-textarea/types.ts +79 -0
  172. package/components/snake-toast/snake-toast.vue +330 -0
  173. package/components/snake-toast/types.ts +55 -0
  174. package/components/snake-tooltip/position.ts +33 -0
  175. package/components/snake-tooltip/snake-tooltip.vue +339 -0
  176. package/components/snake-tooltip/types.ts +80 -0
  177. package/components/snake-transition/snake-transition.vue +315 -0
  178. package/components/snake-transition/types.ts +65 -0
  179. package/components/snake-upload/snake-upload.vue +1801 -0
  180. package/components/snake-upload/types.ts +256 -0
  181. package/components/snake-videos/snake-videos.vue +122 -0
  182. package/components/snake-videos/types.ts +7 -0
  183. package/iconfont.css +881 -0
  184. package/index.d.ts +7 -0
  185. package/index.scss +26 -0
  186. package/index.ts +94 -0
  187. package/libs/cms/blocks.ts +103 -0
  188. package/libs/cms/config.ts +25 -0
  189. package/libs/cms/index.ts +7 -0
  190. package/libs/cms/normalize.ts +135 -0
  191. package/libs/cms/resolve.ts +12 -0
  192. package/libs/cms/types.ts +164 -0
  193. package/libs/cms/use-commerce.ts +385 -0
  194. package/libs/cms/v2.ts +193 -0
  195. package/libs/config/index.ts +4 -0
  196. package/libs/config/modal.ts +93 -0
  197. package/libs/config/state.ts +33 -0
  198. package/libs/config/theme.ts +351 -0
  199. package/libs/config/toast.ts +71 -0
  200. package/libs/config/types.ts +135 -0
  201. package/libs/config/zIndex.ts +44 -0
  202. package/libs/css/color.scss +105 -0
  203. package/libs/css/common.scss +171 -0
  204. package/libs/css/style.h5.scss +7 -0
  205. package/libs/css/style.mp.scss +7 -0
  206. package/libs/css/style.theme.scss +70 -0
  207. package/libs/css/style.vue.scss +140 -0
  208. package/libs/form/async-validator.min.d.ts +75 -0
  209. package/libs/form/async-validator.min.js +3 -0
  210. package/libs/form/index.ts +3 -0
  211. package/libs/form/path.ts +40 -0
  212. package/libs/form/types.ts +51 -0
  213. package/libs/form/validate.ts +149 -0
  214. package/libs/foundation.ts +96 -0
  215. package/libs/function/$parent.ts +33 -0
  216. package/libs/function/clipboard.ts +13 -0
  217. package/libs/function/color.ts +55 -0
  218. package/libs/function/debounce.ts +34 -0
  219. package/libs/function/deepClone.ts +30 -0
  220. package/libs/function/deepMerge.ts +25 -0
  221. package/libs/function/emitter.ts +30 -0
  222. package/libs/function/format.ts +27 -0
  223. package/libs/function/getParent.ts +53 -0
  224. package/libs/function/getRect.ts +29 -0
  225. package/libs/function/guid.ts +11 -0
  226. package/libs/function/index.ts +31 -0
  227. package/libs/function/queryParams.ts +73 -0
  228. package/libs/function/random.ts +6 -0
  229. package/libs/function/randomArray.ts +14 -0
  230. package/libs/function/route.ts +155 -0
  231. package/libs/function/sleep.ts +7 -0
  232. package/libs/function/style.ts +58 -0
  233. package/libs/function/styleUtils.ts +83 -0
  234. package/libs/function/system.ts +14 -0
  235. package/libs/function/test.ts +202 -0
  236. package/libs/function/throttle.ts +36 -0
  237. package/libs/function/timeFormat.ts +27 -0
  238. package/libs/function/timeFrom.ts +27 -0
  239. package/libs/function/toast.ts +10 -0
  240. package/libs/function/trim.ts +11 -0
  241. package/libs/function/type2icon.ts +11 -0
  242. package/libs/function/unit.ts +45 -0
  243. package/libs/hooks/index.ts +11 -0
  244. package/libs/hooks/useChildren.ts +125 -0
  245. package/libs/hooks/useColor.ts +5 -0
  246. package/libs/hooks/useDebounce.ts +5 -0
  247. package/libs/hooks/useLocale.ts +13 -0
  248. package/libs/hooks/useModal.ts +131 -0
  249. package/libs/hooks/useParent.ts +62 -0
  250. package/libs/hooks/useRect.ts +44 -0
  251. package/libs/hooks/useRouter.ts +5 -0
  252. package/libs/hooks/useTheme.ts +31 -0
  253. package/libs/hooks/useThrottle.ts +5 -0
  254. package/libs/hooks/useToast.ts +116 -0
  255. package/libs/index.ts +18 -0
  256. package/libs/request/auto-http.ts +1 -0
  257. package/libs/request/index.ts +343 -0
  258. package/libs/runtime/accessors.ts +55 -0
  259. package/libs/runtime/context.ts +40 -0
  260. package/libs/runtime/index.ts +18 -0
  261. package/libs/runtime/types.ts +49 -0
  262. package/libs/util/calendar.ts +6 -0
  263. package/locale/index.ts +130 -0
  264. package/locale/lang/en-US.ts +67 -0
  265. package/locale/lang/zh-CN.ts +67 -0
  266. package/package.json +130 -5
  267. package/plugins/index.ts +1 -0
  268. package/plugins/root/README.md +86 -0
  269. package/plugins/root/index.ts +123 -0
  270. package/plugins/root/page.ts +77 -0
  271. package/plugins/root/root.ts +53 -0
  272. package/plugins/root/utils.ts +137 -0
  273. package/readme.md +79 -0
  274. package/theme.scss +118 -0
  275. package/types/components.d.ts +236 -0
  276. package/types/global.d.ts +21 -0
  277. package/types/index.d.ts +6 -0
  278. package/types/uni-app.d.ts +16 -0
  279. package/README.md +0 -3
@@ -0,0 +1,236 @@
1
+ import type { DefineComponent } from 'vue';
2
+ import type { ActivityListEmits, ActivityListProps } from '../components/snake-activity-list/types';
3
+ import type { AuxiliarySegmentationProps } from '../components/snake-auxiliary-segmentation/types';
4
+ import type { ButtonEmits, ButtonProps } from '../components/snake-button/types';
5
+ import type { LoadingProps } from '../components/snake-loading/types';
6
+ import type { SkeletonProps } from '../components/snake-skeleton/types';
7
+ import type { SkeletonItemProps } from '../components/snake-skeleton-item/types';
8
+ import type { TransitionEmits, TransitionProps } from '../components/snake-transition/types';
9
+ import type { RootPortalProps } from '../components/snake-root-portal/types';
10
+ import type { EmptyProps } from '../components/snake-empty/types';
11
+ import type { IconEmits, IconProps } from '../components/snake-icon/types';
12
+ import type { ImageEmits, ImageProps } from '../components/snake-image/types';
13
+ import type { LoadmoreEmits, LoadmoreProps } from '../components/snake-loadmore/types';
14
+ import type { NoticeBarEmits, NoticeBarProps } from '../components/snake-notice-bar/types';
15
+ import type { NavbarEmits, NavbarProps } from '../components/snake-navbar/types';
16
+ import type { OverlayEmits, OverlayProps } from '../components/snake-overlay/types';
17
+ import type { TooltipEmits, TooltipProps } from '../components/snake-tooltip/types';
18
+ import type { PopupEmits, PopupProps } from '../components/snake-popup/types';
19
+ import type { StickyEmits, StickyProps } from '../components/snake-sticky/types';
20
+ import type { SwiperEmits, SwiperProps } from '../components/snake-swiper/types';
21
+ import type { TabsEmits, TabsProps } from '../components/snake-tabs/types';
22
+ import type { TabbarEmits, TabbarProps } from '../components/snake-tabbar/types';
23
+ import type { UploadProps } from '../components/snake-upload/types';
24
+ import type { SubsectionEmits, SubsectionProps } from '../components/snake-subsection/types';
25
+ import type { ButtonSortEmits, ButtonSortProps } from '../components/snake-button-sort/types';
26
+ import type { DropMenuEmits, DropMenuProps } from '../components/snake-drop-menu/types';
27
+ import type { DropMenuItemEmits, DropMenuItemProps } from '../components/snake-drop-menu-item/types';
28
+ import type { CellGroupProps } from '../components/snake-cell-group/types';
29
+ import type { CellItemEmits, CellItemProps } from '../components/snake-cell-item/types';
30
+ import type { LineProps } from '../components/snake-line/types';
31
+ import type { LineProgressProps } from '../components/snake-line-progress/types';
32
+ import type { SearchEmits, SearchProps } from '../components/snake-search/types';
33
+ import type { SelectEmits, SelectProps } from '../components/snake-select/types';
34
+ import type { ReadMoreEmits, ReadMoreProps } from '../components/snake-read-more/types';
35
+ import type { NoNetworkEmits, NoNetworkProps } from '../components/snake-no-network/types';
36
+ import type { LinkEmits, LinkProps } from '../components/snake-link/types';
37
+ import type { TextEmits, TextProps } from '../components/snake-text/types';
38
+ import type { CalendarEmits, CalendarProps } from '../components/snake-calendar/types';
39
+ import type { CountDownEmits, CountDownProps } from '../components/snake-count-down/types';
40
+ import type { QrCodeEmits, QrCodeProps } from '../components/snake-qr-code/types';
41
+ import type { IndexListEmits, IndexListProps } from '../components/snake-index-list/types';
42
+ import type { IndexListPanelEmits, IndexListPanelProps } from '../components/snake-index-list-panel/types';
43
+ import type { IndexAnchorProps } from '../components/snake-index-anchor/types';
44
+ import type { FormEmits, FormProps } from '../components/snake-form/types';
45
+ import type { FormItemProps } from '../components/snake-form-item/types';
46
+ import type { InputEmits, InputProps } from '../components/snake-input/types';
47
+ import type { TextareaEmits, TextareaProps } from '../components/snake-textarea/types';
48
+ import type { CheckboxEmits, CheckboxProps } from '../components/snake-checkbox/types';
49
+ import type { CheckboxGroupEmits, CheckboxGroupProps } from '../components/snake-checkbox-group/types';
50
+ import type { RadioEmits, RadioProps } from '../components/snake-radio/types';
51
+ import type { RadioGroupEmits, RadioGroupProps } from '../components/snake-radio-group/types';
52
+ import type { SwitchEmits, SwitchProps } from '../components/snake-switch/types';
53
+ import type { SliderEmits, SliderProps } from '../components/snake-slider/types';
54
+ import type { CmsEmits, CmsProps } from '../components/snake-cms/types';
55
+ import type { ConfigProviderEmits, ConfigProviderProps } from '../components/snake-config-provider/types';
56
+ import type { CommoditySearchProps } from '../components/snake-commodity-search/types';
57
+ import type { CouponEmits, CouponProps } from '../components/snake-coupon/types';
58
+ import type { CustomModuleProps } from '../components/snake-custom-module/types';
59
+ import type { FilterSortsEmits, FilterSortsProps } from '../components/snake-filter-sorts/types';
60
+ import type { FollowProps } from '../components/snake-follow/types';
61
+ import type { GoodsListEmits, GoodsListProps } from '../components/snake-goods-list/types';
62
+ import type { GraphicNavigationProps } from '../components/snake-graphic-navigation/types';
63
+ import type { ImagesProps } from '../components/snake-images/types';
64
+ import type { JumpAppletEmits, JumpAppletProps } from '../components/snake-jump-applet/types';
65
+ import type { ListSwitchingEmits, ListSwitchingProps } from '../components/snake-list-switching/types';
66
+ import type { MagicCubeProps } from '../components/snake-magic-cube/types';
67
+ import type { ModalEmits, ModalProps } from '../components/snake-modal/types';
68
+ import type { ToastProps } from '../components/snake-toast/types';
69
+ import type { NoticeProps } from '../components/snake-notice/types';
70
+ import type { PagePopupProps } from '../components/snake-page-popup/types';
71
+ import type { PictureAdsProps } from '../components/snake-picture-ads/types';
72
+ import type { RichTextProps } from '../components/snake-rich-text/types';
73
+ import type { ParseEmits, ParseProps } from '../components/snake-parse/types';
74
+ import type { FloatingBubbleProps } from '../components/snake-floating-bubble/types';
75
+ import type { VideosProps } from '../components/snake-videos/types';
76
+
77
+ export * from '../components/snake-button/types';
78
+ export * from '../components/snake-loading/types';
79
+ export * from '../components/snake-skeleton/types';
80
+ export * from '../components/snake-skeleton-item/types';
81
+ export * from '../components/snake-transition/types';
82
+ export * from '../components/snake-root-portal/types';
83
+ export * from '../components/snake-empty/types';
84
+ export * from '../components/snake-icon/types';
85
+ export * from '../components/snake-image/types';
86
+ export * from '../components/snake-loadmore/types';
87
+ export * from '../components/snake-notice-bar/types';
88
+ export * from '../components/snake-navbar/types';
89
+ export * from '../components/snake-overlay/types';
90
+ export * from '../components/snake-tooltip/types';
91
+ export * from '../components/snake-popup/types';
92
+ export * from '../components/snake-sticky/types';
93
+ export * from '../components/snake-swiper/types';
94
+ export * from '../components/snake-tabs/types';
95
+ export * from '../components/snake-tabbar/types';
96
+ export * from '../components/snake-upload/types';
97
+ export * from '../components/snake-subsection/types';
98
+ export * from '../components/snake-button-sort/types';
99
+ export * from '../components/snake-drop-menu/types';
100
+ export * from '../components/snake-drop-menu-item/types';
101
+ export * from '../components/snake-cell-group/types';
102
+ export * from '../components/snake-cell-item/types';
103
+ export * from '../components/snake-line/types';
104
+ export * from '../components/snake-line-progress/types';
105
+ export * from '../components/snake-search/types';
106
+ export * from '../components/snake-select/types';
107
+ export * from '../components/snake-read-more/types';
108
+ export * from '../components/snake-no-network/types';
109
+ export * from '../components/snake-link/types';
110
+ export * from '../components/snake-text/types';
111
+ export * from '../components/snake-calendar/types';
112
+ export * from '../components/snake-count-down/types';
113
+ export * from '../components/snake-qr-code/types';
114
+ export * from '../components/snake-index-list/types';
115
+ export * from '../components/snake-index-list-panel/types';
116
+ export * from '../components/snake-index-anchor/types';
117
+ export * from '../components/snake-form/types';
118
+ export * from '../components/snake-form-item/types';
119
+ export * from '../components/snake-input/types';
120
+ export * from '../components/snake-textarea/types';
121
+ export * from '../components/snake-checkbox/types';
122
+ export * from '../components/snake-checkbox-group/types';
123
+ export * from '../components/snake-radio/types';
124
+ export * from '../components/snake-radio-group/types';
125
+ export * from '../components/snake-switch/types';
126
+ export * from '../components/snake-slider/types';
127
+ export * from '../components/snake-cms/types';
128
+ export * from '../components/snake-config-provider/types';
129
+ export * from '../components/snake-activity-list/types';
130
+ export * from '../components/snake-auxiliary-segmentation/types';
131
+ export * from '../components/snake-commodity-search/types';
132
+ export * from '../components/snake-coupon/types';
133
+ export * from '../components/snake-custom-module/types';
134
+ export * from '../components/snake-filter-sorts/types';
135
+ export * from '../components/snake-follow/types';
136
+ export * from '../components/snake-goods-list/types';
137
+ export * from '../components/snake-graphic-navigation/types';
138
+ export * from '../components/snake-images/types';
139
+ export * from '../components/snake-jump-applet/types';
140
+ export * from '../components/snake-list-switching/types';
141
+ export * from '../components/snake-magic-cube/types';
142
+ export * from '../components/snake-modal/types';
143
+ export * from '../components/snake-toast/types';
144
+ export * from '../components/snake-notice/types';
145
+ export * from '../components/snake-page-popup/types';
146
+ export * from '../components/snake-picture-ads/types';
147
+ export * from '../components/snake-rich-text/types';
148
+ export * from '../components/snake-parse/types';
149
+ export * from '../components/snake-floating-bubble/types';
150
+ export * from '../components/snake-videos/types';
151
+
152
+ type Component<Props = Record<string, unknown>, Emits extends object = {}> = DefineComponent<
153
+ Props,
154
+ {},
155
+ {},
156
+ {},
157
+ {},
158
+ {},
159
+ {},
160
+ { [Name in keyof Emits]: Emits[Name] extends unknown[] ? (...args: Emits[Name]) => void : never }
161
+ >;
162
+
163
+ export const SnakeActivityList: Component<ActivityListProps, ActivityListEmits>;
164
+ export const SnakeAuxiliarySegmentation: Component<AuxiliarySegmentationProps>;
165
+ export const SnakeCms: Component<CmsProps, CmsEmits>;
166
+ export const SnakeConfigProvider: Component<ConfigProviderProps, ConfigProviderEmits>;
167
+ export const SnakeCommoditySearch: Component<CommoditySearchProps>;
168
+ export const SnakeCoupon: Component<CouponProps, CouponEmits>;
169
+ export const SnakeCustomModule: Component<CustomModuleProps>;
170
+ export const SnakeFilterSorts: Component<FilterSortsProps, FilterSortsEmits>;
171
+ export const SnakeFollow: Component<FollowProps>;
172
+ export const SnakeGoodsList: Component<GoodsListProps, GoodsListEmits>;
173
+ export const SnakeGraphicNavigation: Component<GraphicNavigationProps>;
174
+ export const SnakeImages: Component<ImagesProps>;
175
+ export const SnakeJumpApplet: Component<JumpAppletProps, JumpAppletEmits>;
176
+ export const SnakeListSwitching: Component<ListSwitchingProps, ListSwitchingEmits>;
177
+ export const SnakeMagicCube: Component<MagicCubeProps>;
178
+ export const SnakeModal: Component<ModalProps, ModalEmits>;
179
+ export const SnakeToast: Component<ToastProps>;
180
+ export const SnakeNotice: Component<NoticeProps>;
181
+ export const SnakePagePopup: Component<PagePopupProps>;
182
+ export const SnakePictureAds: Component<PictureAdsProps>;
183
+ export const SnakeRichText: Component<RichTextProps>;
184
+ export const SnakeParse: Component<ParseProps, ParseEmits>;
185
+ export const SnakeFloatingBubble: Component<FloatingBubbleProps>;
186
+ export const SnakeVideos: Component<VideosProps>;
187
+ export const SnakeButton: Component<ButtonProps, ButtonEmits>;
188
+ export const SnakeLoading: Component<LoadingProps>;
189
+ export const SnakeSkeleton: Component<SkeletonProps>;
190
+ export const SnakeSkeletonItem: Component<SkeletonItemProps>;
191
+ export const SnakeTransition: Component<TransitionProps, TransitionEmits>;
192
+ export const SnakeRootPortal: Component<RootPortalProps>;
193
+ export const SnakeEmpty: Component<EmptyProps>;
194
+ export const SnakeIcon: Component<IconProps, IconEmits>;
195
+ export const SnakeImage: Component<ImageProps, ImageEmits>;
196
+ export const SnakeQrCode: Component<QrCodeProps, QrCodeEmits>;
197
+ export const SnakeLoadmore: Component<LoadmoreProps, LoadmoreEmits>;
198
+ export const SnakeNoticeBar: Component<NoticeBarProps, NoticeBarEmits>;
199
+ export const SnakeNavbar: Component<NavbarProps, NavbarEmits>;
200
+ export const SnakeOverlay: Component<OverlayProps, OverlayEmits>;
201
+ export const SnakeTooltip: Component<TooltipProps, TooltipEmits>;
202
+ export const SnakePopup: Component<PopupProps, PopupEmits>;
203
+ export const SnakeSticky: Component<StickyProps, StickyEmits>;
204
+ export const SnakeSwiper: Component<SwiperProps, SwiperEmits>;
205
+ export const SnakeTabs: Component<TabsProps, TabsEmits>;
206
+ export const SnakeTabbar: Component<TabbarProps, TabbarEmits>;
207
+ export const SnakeUpload: Component<UploadProps>;
208
+ export const SnakeSubsection: Component<SubsectionProps, SubsectionEmits>;
209
+ export const SnakeButtonSort: Component<ButtonSortProps, ButtonSortEmits>;
210
+ export const SnakeDropMenu: Component<DropMenuProps, DropMenuEmits>;
211
+ export const SnakeDropMenuItem: Component<DropMenuItemProps, DropMenuItemEmits>;
212
+ export const SnakeCellGroup: Component<CellGroupProps>;
213
+ export const SnakeCellItem: Component<CellItemProps, CellItemEmits>;
214
+ export const SnakeLine: Component<LineProps>;
215
+ export const SnakeLineProgress: Component<LineProgressProps>;
216
+ export const SnakeSearch: Component<SearchProps, SearchEmits>;
217
+ export const SnakeSelect: Component<SelectProps, SelectEmits>;
218
+ export const SnakeReadMore: Component<ReadMoreProps, ReadMoreEmits>;
219
+ export const SnakeNoNetwork: Component<NoNetworkProps, NoNetworkEmits>;
220
+ export const SnakeLink: Component<LinkProps, LinkEmits>;
221
+ export const SnakeText: Component<TextProps, TextEmits>;
222
+ export const SnakeCalendar: Component<CalendarProps, CalendarEmits>;
223
+ export const SnakeCountDown: Component<CountDownProps, CountDownEmits>;
224
+ export const SnakeIndexList: Component<IndexListProps, IndexListEmits>;
225
+ export const SnakeIndexListPanel: Component<IndexListPanelProps, IndexListPanelEmits>;
226
+ export const SnakeIndexAnchor: Component<IndexAnchorProps>;
227
+ export const SnakeForm: Component<FormProps, FormEmits>;
228
+ export const SnakeFormItem: Component<FormItemProps>;
229
+ export const SnakeInput: Component<InputProps, InputEmits>;
230
+ export const SnakeTextarea: Component<TextareaProps, TextareaEmits>;
231
+ export const SnakeCheckbox: Component<CheckboxProps, CheckboxEmits>;
232
+ export const SnakeCheckboxGroup: Component<CheckboxGroupProps, CheckboxGroupEmits>;
233
+ export const SnakeRadio: Component<RadioProps, RadioEmits>;
234
+ export const SnakeRadioGroup: Component<RadioGroupProps, RadioGroupEmits>;
235
+ export const SnakeSwitch: Component<SwitchProps, SwitchEmits>;
236
+ export const SnakeSlider: Component<SliderProps, SliderEmits>;
@@ -0,0 +1,21 @@
1
+ import type { CSSProperties } from 'vue';
2
+
3
+ /** uni-app 组件可接受的行内样式值。 */
4
+ export type StyleValue = string | CSSProperties | StyleValue[];
5
+
6
+ /** uni-app image 组件支持的常用裁剪模式。 */
7
+ export type ImageMode =
8
+ | 'scaleToFill'
9
+ | 'aspectFit'
10
+ | 'aspectFill'
11
+ | 'widthFix'
12
+ | 'heightFix'
13
+ | 'top'
14
+ | 'bottom'
15
+ | 'center'
16
+ | 'left'
17
+ | 'right'
18
+ | 'top left'
19
+ | 'top right'
20
+ | 'bottom left'
21
+ | 'bottom right';
@@ -0,0 +1,6 @@
1
+ import './uni-app';
2
+
3
+ export * from './global';
4
+ export * from './components';
5
+ export * from '../libs';
6
+ export * from '../locale';
@@ -0,0 +1,16 @@
1
+ type GlobalAPI = typeof import('../libs/foundation').snake;
2
+
3
+ declare global {
4
+ interface Uni {
5
+ $snake: GlobalAPI;
6
+ }
7
+ }
8
+
9
+ declare module '@vue/runtime-core' {
10
+ interface ComponentCustomProperties {
11
+ $snake: GlobalAPI;
12
+ $themeStyle: Readonly<Record<string, string>>;
13
+ }
14
+ }
15
+
16
+ export {};
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.