@hlw-uni-mp/use 1.1.2 → 1.1.3

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/dist/index.d.mts CHANGED
@@ -203,13 +203,6 @@ interface ShareConfig {
203
203
  /** 分享卡片封面图 */
204
204
  imageUrl?: string;
205
205
  }
206
- /**
207
- * 分享操作句柄
208
- */
209
- interface ShareHandlers {
210
- /** 显式调起分享菜单 */
211
- showShareMenu: () => void;
212
- }
213
206
  /**
214
207
  * 显式调起分享菜单
215
208
  */
@@ -217,7 +210,7 @@ declare function showShareMenu(): void;
217
210
  /**
218
211
  * 分享组合式函数
219
212
  */
220
- declare function useShare(config?: ShareConfig): ShareHandlers;
213
+ declare function useShare(config?: ShareConfig): void;
221
214
 
222
215
  /**
223
216
  * useRefs - 模板 Ref 批量管理
@@ -251,4 +244,4 @@ interface UseRefsReturn<T = unknown> {
251
244
  */
252
245
  declare function useRefs<T = unknown>(): UseRefsReturn<T>;
253
246
 
254
- export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, type ShareHandlers, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
247
+ export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
package/dist/index.d.ts CHANGED
@@ -203,13 +203,6 @@ interface ShareConfig {
203
203
  /** 分享卡片封面图 */
204
204
  imageUrl?: string;
205
205
  }
206
- /**
207
- * 分享操作句柄
208
- */
209
- interface ShareHandlers {
210
- /** 显式调起分享菜单 */
211
- showShareMenu: () => void;
212
- }
213
206
  /**
214
207
  * 显式调起分享菜单
215
208
  */
@@ -217,7 +210,7 @@ declare function showShareMenu(): void;
217
210
  /**
218
211
  * 分享组合式函数
219
212
  */
220
- declare function useShare(config?: ShareConfig): ShareHandlers;
213
+ declare function useShare(config?: ShareConfig): void;
221
214
 
222
215
  /**
223
216
  * useRefs - 模板 Ref 批量管理
@@ -251,4 +244,4 @@ interface UseRefsReturn<T = unknown> {
251
244
  */
252
245
  declare function useRefs<T = unknown>(): UseRefsReturn<T>;
253
246
 
254
- export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, type ShareHandlers, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
247
+ export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
package/dist/index.js CHANGED
@@ -323,9 +323,6 @@ function useShare(config = {}) {
323
323
  query: config.path?.split("?")[1],
324
324
  imageUrl: config.imageUrl
325
325
  }));
326
- return {
327
- showShareMenu
328
- };
329
326
  }
330
327
 
331
328
  // src/refs/index.ts
package/dist/index.mjs CHANGED
@@ -284,9 +284,6 @@ function useShare(config = {}) {
284
284
  query: config.path?.split("?")[1],
285
285
  imageUrl: config.imageUrl
286
286
  }));
287
- return {
288
- showShareMenu
289
- };
290
287
  }
291
288
 
292
289
  // src/refs/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hlw-uni-mp/use",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Universal Uni-App Vue 3 stateful composables library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",