@solar-taro/ui-sun 1.6.5 → 2.0.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.
Files changed (103) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/accordion/index.vue.d.ts +22 -16
  3. package/chip/index.vue.d.ts +15 -36
  4. package/circular-progress/index.vue.d.ts +4 -30
  5. package/fab/fab-group.vue.d.ts +9 -3
  6. package/fab/fab.vue.d.ts +9 -3
  7. package/fab/index.scss +11 -3
  8. package/icon/index.scss +4 -3
  9. package/icon/index.vue.d.ts +3 -22
  10. package/index.d.ts +2 -0
  11. package/index.js +24 -20
  12. package/index10.js +24 -33
  13. package/index11.js +33 -75
  14. package/index12.js +75 -19
  15. package/index13.js +19 -49
  16. package/index14.js +46 -141
  17. package/index15.js +142 -27
  18. package/index16.js +29 -21
  19. package/index17.js +18 -21
  20. package/index18.js +42 -11
  21. package/index19.js +21 -26
  22. package/index20.js +11 -118
  23. package/index21.js +33 -10
  24. package/index22.js +123 -10
  25. package/index23.js +12 -8
  26. package/index24.js +10 -2
  27. package/index25.js +10 -2
  28. package/index26.js +1 -1
  29. package/index27.js +1 -1
  30. package/index28.js +1 -1
  31. package/index29.js +7 -2
  32. package/index30.js +2 -7
  33. package/index31.js +1 -1
  34. package/index33.js +1 -1
  35. package/index34.js +1 -1
  36. package/index35.js +1 -1
  37. package/index36.js +1 -1
  38. package/index37.js +1 -1
  39. package/index38.js +1 -1
  40. package/index39.js +1 -1
  41. package/index40.js +1 -1
  42. package/index41.js +1 -1
  43. package/index42.js +1 -1
  44. package/index43.js +2 -526
  45. package/index44.js +2 -3
  46. package/index45.js +2 -66
  47. package/index46.js +2 -12
  48. package/index47.js +3 -25
  49. package/index48.js +65 -13
  50. package/index49.js +12 -5
  51. package/index50.js +25 -26
  52. package/index51.js +14 -2
  53. package/index52.js +4 -505
  54. package/index53.js +524 -77
  55. package/index54.js +24 -68
  56. package/index55.js +2 -69
  57. package/index56.js +331 -368
  58. package/index57.js +79 -2
  59. package/index58.js +70 -2
  60. package/index59.js +69 -2
  61. package/index60.js +542 -3
  62. package/index62.js +2 -4
  63. package/index63.js +2 -2
  64. package/index64.js +4 -2
  65. package/index66.js +4 -48
  66. package/index67.js +2 -82
  67. package/index69.js +2 -2
  68. package/index7.js +7 -9
  69. package/index70.js +2 -2
  70. package/index71.js +48 -2
  71. package/index72.js +84 -0
  72. package/index73.js +4 -0
  73. package/index74.js +4 -0
  74. package/index75.js +4 -0
  75. package/index8.js +29 -17
  76. package/index9.js +19 -25
  77. package/item/index.d.ts +1 -0
  78. package/item/index.scss +40 -0
  79. package/item/index.vue.d.ts +26 -0
  80. package/lazy-render/index.vue.d.ts +13 -29
  81. package/list-header/index.scss +1 -1
  82. package/list-header/index.vue.d.ts +9 -3
  83. package/navbar/index.vue.d.ts +10 -4
  84. package/package.json +2 -2
  85. package/plugin.d.ts +0 -1
  86. package/popover/index.vue.d.ts +24 -41
  87. package/qrcode/index.vue.d.ts +6 -31
  88. package/segment/injection.d.ts +0 -1
  89. package/segment/segment-btn.vue.d.ts +12 -16
  90. package/segment/segment.vue.d.ts +16 -20
  91. package/slider-captcha/index.vue.d.ts +7 -36
  92. package/spinner/index.scss +1 -0
  93. package/spinner/index.vue.d.ts +14 -33
  94. package/sudoku/sudoku-item.vue.d.ts +9 -3
  95. package/sudoku/sudoku.vue.d.ts +9 -3
  96. package/tabbar/index.d.ts +1 -0
  97. package/tabbar/index.scss +74 -0
  98. package/tabbar/index.vue.d.ts +38 -0
  99. package/table/_table.scss +1 -1
  100. package/table/table-cell.vue.d.ts +13 -24
  101. package/table/table-row.vue.d.ts +12 -17
  102. package/table/table.vue.d.ts +17 -43
  103. package/virtual-scroll/index.vue.d.ts +35 -74
@@ -1,78 +1,39 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- refreshing?: boolean;
3
- refresher?: boolean;
4
- refresherBg?: string;
5
- direction?: "vertical" | "horizontal";
6
- items: Record<string, any>[];
7
- itemSize: number | string;
8
- itemKey?: string;
9
- id?: string;
10
- bottomSpace?: number;
11
- loading?: boolean;
12
- loadingText?: string;
13
- }>, {
14
- refresherBg: string;
15
- direction: string;
16
- id: () => string;
17
- bottomSpace: number;
18
- loadingText: string;
19
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- refresh: () => void;
21
- lower: () => void;
22
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
- refreshing?: boolean;
24
- refresher?: boolean;
25
- refresherBg?: string;
26
- direction?: "vertical" | "horizontal";
27
- items: Record<string, any>[];
28
- itemSize: number | string;
29
- itemKey?: string;
30
- id?: string;
31
- bottomSpace?: number;
32
- loading?: boolean;
33
- loadingText?: string;
34
- }>, {
35
- refresherBg: string;
36
- direction: string;
37
- id: () => string;
38
- bottomSpace: number;
39
- loadingText: string;
40
- }>>> & Readonly<{
41
- onRefresh?: (() => any) | undefined;
42
- onLower?: (() => any) | undefined;
43
- }>, {
44
- id: string;
45
- direction: "vertical" | "horizontal";
46
- refresherBg: string;
47
- bottomSpace: number;
48
- loadingText: string;
49
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
50
- default?(_: {
51
- item: Record<string, any>;
52
- index: number;
53
- }): any;
54
- empty?(_: {}): any;
55
- }>;
56
- export default _default;
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToRuntimeProps<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
1
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
+ readonly onRefresh?: (() => any) | undefined;
4
+ readonly onLower?: (() => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onRefresh" | "onLower"> & {
6
+ refreshing?: boolean;
7
+ refresher?: boolean;
8
+ refresherBg?: string;
9
+ direction?: "vertical" | "horizontal";
10
+ items: T[];
11
+ itemSize: number | string;
12
+ itemKey?: keyof T;
13
+ id?: string;
14
+ bottomSpace?: number;
15
+ loading?: boolean;
16
+ loadingText?: string;
17
+ } & Partial<{}>> & import('vue').PublicProps;
18
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
+ attrs: any;
20
+ slots: {
21
+ default?(_: {
22
+ item: T;
23
+ index: number;
24
+ }): any;
25
+ empty?(_: {}): any;
64
26
  };
27
+ emit: {
28
+ (e: "refresh"): void;
29
+ (e: "lower"): void;
30
+ };
31
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
32
+ [key: string]: any;
33
+ }> & {
34
+ __ctx?: Awaited<typeof __VLS_setup>;
65
35
  };
66
- type __VLS_WithDefaults<P, D> = {
67
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
- default: D[K];
69
- }> : P[K];
70
- };
71
- type __VLS_Prettify<T> = {
36
+ export default _default;
37
+ type __VLS_PrettifyLocal<T> = {
72
38
  [K in keyof T]: T[K];
73
39
  } & {};
74
- type __VLS_WithTemplateSlots<T, S> = T & {
75
- new (): {
76
- $slots: S;
77
- };
78
- };