@zyzgroup/core-vue 0.0.38 → 0.0.40

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 (236) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +124 -109
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +13069 -12451
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +124 -109
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/zyzgroup_core_vue.iife.js +13 -131
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +2203 -23631
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +13 -131
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +7 -5
  16. package/types/App.vue.d.ts +1 -1
  17. package/types/components/Accordion.ce.vue.d.ts +24 -24
  18. package/types/components/Accordion.vue.d.ts +24 -24
  19. package/types/components/Button.ce.vue.d.ts +40 -35
  20. package/types/components/Button.vue.d.ts +40 -35
  21. package/types/components/Canvas.ce.vue.d.ts +12 -12
  22. package/types/components/Canvas.vue.d.ts +12 -12
  23. package/types/components/CardFlip.ce.vue.d.ts +12 -12
  24. package/types/components/CardFlip.vue.d.ts +12 -12
  25. package/types/components/Container.ce.vue.d.ts +20 -25
  26. package/types/components/Container.vue.d.ts +20 -25
  27. package/types/components/Cube.ce.vue.d.ts +12 -12
  28. package/types/components/Cube.vue.d.ts +12 -12
  29. package/types/components/Demo.ce.vue.d.ts +1 -1
  30. package/types/components/Demo.vue.d.ts +1 -1
  31. package/types/components/Dialog.ce.vue.d.ts +20 -20
  32. package/types/components/Dialog.vue.d.ts +20 -20
  33. package/types/components/DialogLoading.ce.vue.d.ts +12 -12
  34. package/types/components/DialogLoading.vue.d.ts +12 -12
  35. package/types/components/DialogToast.ce.vue.d.ts +12 -12
  36. package/types/components/DialogToast.vue.d.ts +12 -12
  37. package/types/components/EaseGraphDisplay.ce.vue.d.ts +22 -22
  38. package/types/components/EaseGraphDisplay.vue.d.ts +22 -22
  39. package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +10 -10
  40. package/types/components/EaseGroupGraphDisplay.vue.d.ts +10 -10
  41. package/types/components/FPSStats.ce.vue.d.ts +1 -1
  42. package/types/components/FPSStats.vue.d.ts +1 -1
  43. package/types/components/HandWritePanel.ce.vue.d.ts +19 -19
  44. package/types/components/HandWritePanel.vue.d.ts +19 -19
  45. package/types/components/Icon.ce.vue.d.ts +9 -9
  46. package/types/components/Icon.vue.d.ts +9 -9
  47. package/types/components/Image.ce.vue.d.ts +14 -14
  48. package/types/components/Image.vue.d.ts +14 -14
  49. package/types/components/ImageView.ce.vue.d.ts +9 -9
  50. package/types/components/ImageView.vue.d.ts +9 -9
  51. package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +15 -15
  52. package/types/components/InterpolationGraphDisplay.vue.d.ts +15 -15
  53. package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +6 -6
  54. package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +6 -6
  55. package/types/components/MapTianditu.ce.vue.d.ts +22 -22
  56. package/types/components/MapTianditu.vue.d.ts +22 -22
  57. package/types/components/Overlay.ce.vue.d.ts +10 -10
  58. package/types/components/Overlay.vue.d.ts +10 -10
  59. package/types/components/Page.ce.vue.d.ts +24 -24
  60. package/types/components/Page.vue.d.ts +24 -24
  61. package/types/components/PageVerticalScrollProgressBar.ce.vue.d.ts +19 -19
  62. package/types/components/PageVerticalScrollProgressBar.vue.d.ts +19 -19
  63. package/types/components/PlateDisplay.ce.vue.d.ts +12 -12
  64. package/types/components/PlateDisplay.vue.d.ts +12 -12
  65. package/types/components/PlateKeyboard.ce.vue.d.ts +15 -15
  66. package/types/components/PlateKeyboard.vue.d.ts +15 -15
  67. package/types/components/PlateMobile.ce.vue.d.ts +9 -9
  68. package/types/components/PlateMobile.vue.d.ts +9 -9
  69. package/types/components/Pop.ce.vue.d.ts +34 -34
  70. package/types/components/Pop.vue.d.ts +34 -34
  71. package/types/components/Popover.ce.vue.d.ts +11 -11
  72. package/types/components/Popover.vue.d.ts +11 -11
  73. package/types/components/ProgressBar.ce.vue.d.ts +17 -17
  74. package/types/components/ProgressBar.vue.d.ts +17 -17
  75. package/types/components/ResizeObserver.ce.vue.d.ts +4 -4
  76. package/types/components/ResizeObserver.vue.d.ts +4 -4
  77. package/types/components/Routes.ce.vue.d.ts +20 -20
  78. package/types/components/Routes.vue.d.ts +20 -20
  79. package/types/components/SVG.ce.vue.d.ts +10 -10
  80. package/types/components/SVG.vue.d.ts +10 -10
  81. package/types/components/SVGAndCanvas.ce.vue.d.ts +8 -8
  82. package/types/components/SVGAndCanvas.vue.d.ts +8 -8
  83. package/types/components/SlideLeftItem.ce.vue.d.ts +18 -18
  84. package/types/components/SlideLeftItem.vue.d.ts +18 -18
  85. package/types/components/Tab.ce.vue.d.ts +3 -3
  86. package/types/components/Tab.vue.d.ts +3 -3
  87. package/types/components/Tabs.ce.vue.d.ts +8 -8
  88. package/types/components/Tabs.vue.d.ts +8 -8
  89. package/types/components/TabsForCE.ce.vue.d.ts +10 -10
  90. package/types/components/TabsForCE.vue.d.ts +10 -10
  91. package/types/components/TabsWithTab.ce.vue.d.ts +8 -8
  92. package/types/components/TabsWithTab.vue.d.ts +8 -8
  93. package/types/components/Video.ce.vue.d.ts +16 -16
  94. package/types/components/Video.vue.d.ts +16 -16
  95. package/types/components/VueRouterView.ce.vue.d.ts +24 -0
  96. package/types/components/VueRouterView.vue.d.ts +24 -0
  97. package/types/components/VueSuspense.ce.vue.d.ts +7 -0
  98. package/types/components/VueSuspense.vue.d.ts +7 -0
  99. package/types/components/VueTeleport.ce.vue.d.ts +2 -0
  100. package/types/components/VueTeleport.vue.d.ts +2 -0
  101. package/types/components/chat/ClockFlipper.ce.vue.d.ts +26 -26
  102. package/types/components/chat/ClockFlipper.vue.d.ts +26 -26
  103. package/types/components/chat/RingIndicator.ce.vue.d.ts +14 -14
  104. package/types/components/chat/RingIndicator.vue.d.ts +14 -14
  105. package/types/components/chat/RingText.ce.vue.d.ts +14 -14
  106. package/types/components/chat/RingText.vue.d.ts +14 -14
  107. package/types/components/effect/BorderFocusText.ce.vue.d.ts +22 -22
  108. package/types/components/effect/BorderFocusText.vue.d.ts +22 -22
  109. package/types/components/effect/CSSAnimation.ce.vue.d.ts +36 -36
  110. package/types/components/effect/CSSAnimation.vue.d.ts +36 -36
  111. package/types/components/effect/CSSTransition.ce.vue.d.ts +32 -25
  112. package/types/components/effect/CSSTransition.vue.d.ts +32 -25
  113. package/types/components/effect/Circle.ce.vue.d.ts +16 -16
  114. package/types/components/effect/Circle.vue.d.ts +16 -16
  115. package/types/components/effect/Float.ce.vue.d.ts +20 -20
  116. package/types/components/effect/Float.vue.d.ts +20 -20
  117. package/types/components/effect/ImageMask.ce.vue.d.ts +8 -8
  118. package/types/components/effect/ImageMask.vue.d.ts +8 -8
  119. package/types/components/effect/LineDouble.ce.vue.d.ts +22 -22
  120. package/types/components/effect/LineDouble.vue.d.ts +22 -22
  121. package/types/components/effect/LineSingle.ce.vue.d.ts +22 -22
  122. package/types/components/effect/LineSingle.vue.d.ts +22 -22
  123. package/types/components/effect/Slide.ce.vue.d.ts +18 -18
  124. package/types/components/effect/Slide.vue.d.ts +18 -18
  125. package/types/components/effect/SlideCorner.ce.vue.d.ts +18 -18
  126. package/types/components/effect/SlideCorner.vue.d.ts +18 -18
  127. package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +8 -8
  128. package/types/components/effect/TextBackgroundClip.vue.d.ts +8 -8
  129. package/types/components/effect/VueTransition.ce.vue.d.ts +71 -0
  130. package/types/components/effect/VueTransition.vue.d.ts +71 -0
  131. package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -0
  132. package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -0
  133. package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -0
  134. package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -0
  135. package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -0
  136. package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -0
  137. package/types/components/form/BooleanBox.ce.vue.d.ts +31 -31
  138. package/types/components/form/BooleanBox.vue.d.ts +31 -31
  139. package/types/components/form/CheckboxGroup.ce.vue.d.ts +38 -38
  140. package/types/components/form/CheckboxGroup.vue.d.ts +38 -38
  141. package/types/components/form/ColorPicker.ce.vue.d.ts +9 -9
  142. package/types/components/form/ColorPicker.vue.d.ts +9 -9
  143. package/types/components/form/Input.ce.vue.d.ts +40 -40
  144. package/types/components/form/Input.vue.d.ts +40 -40
  145. package/types/components/form/InputFileDrop.ce.vue.d.ts +8 -8
  146. package/types/components/form/InputFileDrop.vue.d.ts +8 -8
  147. package/types/components/form/InputRange.ce.vue.d.ts +28 -28
  148. package/types/components/form/InputRange.vue.d.ts +28 -28
  149. package/types/components/form/InputRangeBox.ce.vue.d.ts +24 -24
  150. package/types/components/form/InputRangeBox.vue.d.ts +24 -24
  151. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +26 -26
  152. package/types/components/form/InputRangeCanvas.vue.d.ts +26 -26
  153. package/types/components/form/RadioGroup.ce.vue.d.ts +38 -38
  154. package/types/components/form/RadioGroup.vue.d.ts +38 -38
  155. package/types/components/form/Select.ce.vue.d.ts +65 -0
  156. package/types/components/form/Select.vue.d.ts +65 -0
  157. package/types/components/form/SelectAbsolute.ce.vue.d.ts +80 -0
  158. package/types/components/form/SelectAbsolute.vue.d.ts +80 -0
  159. package/types/components/form/Status.ce.vue.d.ts +8 -8
  160. package/types/components/form/Status.vue.d.ts +8 -8
  161. package/types/components/form/Switch.ce.vue.d.ts +19 -19
  162. package/types/components/form/Switch.vue.d.ts +19 -19
  163. package/types/components/layout/LayoutCenter.ce.vue.d.ts +6 -6
  164. package/types/components/layout/LayoutCenter.vue.d.ts +6 -6
  165. package/types/components/layout/LayoutMobile.ce.vue.d.ts +7 -7
  166. package/types/components/layout/LayoutMobile.vue.d.ts +7 -7
  167. package/types/components/loading/Loading1.ce.vue.d.ts +6 -6
  168. package/types/components/loading/Loading1.vue.d.ts +6 -6
  169. package/types/components/loading/Loading10.ce.vue.d.ts +6 -6
  170. package/types/components/loading/Loading10.vue.d.ts +6 -6
  171. package/types/components/loading/Loading11.ce.vue.d.ts +9 -9
  172. package/types/components/loading/Loading11.vue.d.ts +9 -9
  173. package/types/components/loading/Loading2.ce.vue.d.ts +6 -6
  174. package/types/components/loading/Loading2.vue.d.ts +6 -6
  175. package/types/components/loading/Loading3.ce.vue.d.ts +8 -8
  176. package/types/components/loading/Loading3.vue.d.ts +8 -8
  177. package/types/components/loading/Loading4.ce.vue.d.ts +6 -6
  178. package/types/components/loading/Loading4.vue.d.ts +6 -6
  179. package/types/components/loading/Loading5.ce.vue.d.ts +6 -6
  180. package/types/components/loading/Loading5.vue.d.ts +6 -6
  181. package/types/components/loading/Loading6.ce.vue.d.ts +6 -6
  182. package/types/components/loading/Loading6.vue.d.ts +6 -6
  183. package/types/components/loading/Loading7.ce.vue.d.ts +6 -6
  184. package/types/components/loading/Loading7.vue.d.ts +6 -6
  185. package/types/components/loading/Loading8.ce.vue.d.ts +6 -6
  186. package/types/components/loading/Loading8.vue.d.ts +6 -6
  187. package/types/components/loading/Loading9.ce.vue.d.ts +6 -6
  188. package/types/components/loading/Loading9.vue.d.ts +6 -6
  189. package/types/components/svg/SVGCheck.ce.vue.d.ts +9 -9
  190. package/types/components/svg/SVGCheck.vue.d.ts +9 -9
  191. package/types/components/svg/SVGCleanUp.ce.vue.d.ts +9 -9
  192. package/types/components/svg/SVGCleanUp.vue.d.ts +9 -9
  193. package/types/components/svg/SVGDelete.ce.vue.d.ts +11 -11
  194. package/types/components/svg/SVGDelete.vue.d.ts +11 -11
  195. package/types/components/svg/SVGDown.ce.vue.d.ts +11 -11
  196. package/types/components/svg/SVGDown.vue.d.ts +11 -11
  197. package/types/components/svg/SVGElement.ce.vue.d.ts +15 -15
  198. package/types/components/svg/SVGElement.vue.d.ts +15 -15
  199. package/types/components/svg/SVGFail.ce.vue.d.ts +11 -11
  200. package/types/components/svg/SVGFail.vue.d.ts +11 -11
  201. package/types/components/svg/SVGHome.ce.vue.d.ts +11 -11
  202. package/types/components/svg/SVGHome.vue.d.ts +11 -11
  203. package/types/components/svg/SVGLock.ce.vue.d.ts +11 -11
  204. package/types/components/svg/SVGLock.vue.d.ts +11 -11
  205. package/types/components/svg/SVGMaskNapkin.ce.vue.d.ts +1 -1
  206. package/types/components/svg/SVGMaskNapkin.vue.d.ts +1 -1
  207. package/types/components/svg/SVGPrompt.ce.vue.d.ts +11 -11
  208. package/types/components/svg/SVGPrompt.vue.d.ts +11 -11
  209. package/types/components/svg/SVGQuestion.ce.vue.d.ts +11 -11
  210. package/types/components/svg/SVGQuestion.vue.d.ts +11 -11
  211. package/types/components/svg/SVGReturn.ce.vue.d.ts +11 -11
  212. package/types/components/svg/SVGReturn.vue.d.ts +11 -11
  213. package/types/components/svg/SVGSuccess.vue.d.ts +11 -11
  214. package/types/components/svg/SVGWaiting.ce.vue.d.ts +11 -11
  215. package/types/components/svg/SVGWaiting.vue.d.ts +11 -11
  216. package/types/components/teleport.ce.vue.d.ts +2 -0
  217. package/types/components/teleport.vue.d.ts +2 -0
  218. package/types/components/xg/Footer.ce.vue.d.ts +2 -0
  219. package/types/components/xg/Footer.vue.d.ts +2 -0
  220. package/types/components/xg/Lot.ce.vue.d.ts +2 -0
  221. package/types/components/xg/Lot.vue.d.ts +2 -0
  222. package/types/demo.vue.d.ts +54 -0
  223. package/types/demo_vue3.vue.d.ts +65 -0
  224. package/types/directives/autofocus.d.ts +5 -0
  225. package/types/directives/demo.d.ts +23 -0
  226. package/types/directives/timestamp.d.ts +5 -0
  227. package/types/hooks/index.d.ts +4 -0
  228. package/types/hooks/useVue.d.ts +13 -0
  229. package/types/hooks/useVueEffect.d.ts +1 -0
  230. package/types/hooks/useVueRouter.d.ts +14 -0
  231. package/types/hooks/useVuex/modules/demo.d.ts +4 -0
  232. package/types/hooks/useVuex/modules/root.d.ts +4 -0
  233. package/types/hooks/useVuex/useVuex.d.ts +24 -0
  234. package/types/lib.d.ts +5 -79
  235. package/types/plugins/demo.d.ts +4 -0
  236. package/types/plugins/index.d.ts +1 -0
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ prop: {
3
+ validator(value: unknown, props: {
4
+ [x: string]: unknown;
5
+ }): boolean;
6
+ };
7
+ }>, {}, {
8
+ count: number;
9
+ style: {
10
+ backgroundColor: string;
11
+ };
12
+ }, {
13
+ example(): any;
14
+ fullName: {
15
+ get(): string;
16
+ set(newValue: any): void;
17
+ };
18
+ }, {
19
+ increment(): void;
20
+ example(message: any, event: any): void;
21
+ beforeLeave(el: any): void;
22
+ leave(el: any, done: any): void;
23
+ afterLeave(el: any): void;
24
+ beforeEnter(el: any): void;
25
+ enter(el: any, done: any): void;
26
+ afterEnter(el: any): void;
27
+ }, any, import("vue").ComponentOptionsMixin, {
28
+ click: any;
29
+ submit: ({ email, password }: {
30
+ email: any;
31
+ password: any;
32
+ }) => boolean;
33
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ prop: {
35
+ validator(value: unknown, props: {
36
+ [x: string]: unknown;
37
+ }): boolean;
38
+ };
39
+ }>> & Readonly<{
40
+ onClick?: (...args: any[] | unknown[]) => any;
41
+ onSubmit?: (args_0?: {
42
+ email: any;
43
+ password: any;
44
+ }) => any;
45
+ }>, {}, {}, {
46
+ teleportComponent: any;
47
+ }, {
48
+ focus: {
49
+ mounted(el: any): void;
50
+ };
51
+ }, string, () => {
52
+ parentProvide: import("vue").ComputedRef<number>;
53
+ }, true, {}, any>;
54
+ export default _default;
@@ -0,0 +1,65 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ modelValue: {
3
+ required: true;
4
+ type: import("vue").PropType<number>;
5
+ };
6
+ title: import("vue").PropType<any>;
7
+ size: {
8
+ type: import("vue").PropType<string | number>;
9
+ default: string;
10
+ };
11
+ name: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
15
+ color: {
16
+ type: import("vue").PropType<string>;
17
+ default: string;
18
+ };
19
+ activeColor: {
20
+ type: import("vue").PropType<string>;
21
+ default: string;
22
+ };
23
+ prefix: {
24
+ type: import("vue").PropType<string>;
25
+ default: string;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": ((modelValue: number) => void) & ((value: string) => void);
29
+ "update:title": (title: any) => void;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ modelValue: {
32
+ required: true;
33
+ type: import("vue").PropType<number>;
34
+ };
35
+ title: import("vue").PropType<any>;
36
+ size: {
37
+ type: import("vue").PropType<string | number>;
38
+ default: string;
39
+ };
40
+ name: {
41
+ type: import("vue").PropType<string>;
42
+ required: true;
43
+ };
44
+ color: {
45
+ type: import("vue").PropType<string>;
46
+ default: string;
47
+ };
48
+ activeColor: {
49
+ type: import("vue").PropType<string>;
50
+ default: string;
51
+ };
52
+ prefix: {
53
+ type: import("vue").PropType<string>;
54
+ default: string;
55
+ };
56
+ }>> & Readonly<{
57
+ "onUpdate:modelValue"?: (value: string) => any;
58
+ "onUpdate:title"?: (title: any) => any;
59
+ }>, {
60
+ size: number | string;
61
+ color: string;
62
+ activeColor: string;
63
+ prefix: string;
64
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /** <input v-autofocus /> */
2
+ declare const _default: {
3
+ mounted(el: any): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { type VNode } from "vue";
2
+ /** <div v-demo:arg.modifier1.modifier2="value"> el.textContent </div> */
3
+ type Bindings = {
4
+ value: string;
5
+ arg?: string;
6
+ modifiers?: Record<string, boolean>;
7
+ instance: any;
8
+ dir: any;
9
+ };
10
+ declare const _default: {
11
+ created(el: HTMLElement, bindings: Bindings, vnode: VNode): void;
12
+ beforeMount(el: HTMLElement, bindings: Bindings, vnode: VNode): void;
13
+ mounted(el: HTMLElement, bindings: Bindings, vnode: VNode): void;
14
+ beforeUpdate(el: HTMLElement, bindings: Bindings & {
15
+ oldValue: string;
16
+ }, vnode: VNode, preVnode: VNode): void;
17
+ updated(el: HTMLElement, bindings: Bindings & {
18
+ oldValue: string;
19
+ }, vnode: VNode, preVnode: VNode): void;
20
+ beforeUnmount(el: HTMLElement, bindings: Bindings, vnode: VNode): void;
21
+ unmounted(el: HTMLElement, bindings: Bindings, vnode: VNode): void;
22
+ };
23
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ mounted(el: any, bindings: any): void;
3
+ updated(el: any, bindings: any): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export * from "./useVue";
2
+ export * from "./useVueEffect";
3
+ export * from "./useVueRouter";
4
+ export * from "./useVuex/useVuex";
@@ -0,0 +1,13 @@
1
+ import { AppContext, VNode, VNodeProps, Component, ComponentInternalInstance } from "vue";
2
+ export declare function getInstance(): ComponentInternalInstance | null;
3
+ export interface CommonComponentProps extends VNodeProps {
4
+ [index: string]: any;
5
+ }
6
+ export declare function getVNode<T extends Component>(component: T, props?: CommonComponentProps): VNode;
7
+ export declare function renderComponent<T extends Component>(options: {
8
+ component: T;
9
+ props?: CommonComponentProps;
10
+ appContext?: AppContext;
11
+ selfContainer: HTMLElement;
12
+ parentContainer?: HTMLElement;
13
+ }): void;
@@ -0,0 +1 @@
1
+ export declare function useVueEffect(effect: () => () => void): void;
@@ -0,0 +1,14 @@
1
+ import { type RouteRecordRaw, type RouteRecordNormalized, type RouteLocationRaw } from "vue-router";
2
+ export declare function useVueRouter(routes: RouteRecordRaw[]): {
3
+ router: import("vue-router").Router;
4
+ push: (location: RouteLocationRaw) => Promise<void>;
5
+ to: (this: any, path: string) => void;
6
+ addRoute: (name: string, route: RouteRecordRaw) => (() => void);
7
+ removeRoute: (name: string) => void;
8
+ hasRoute: (name: string) => boolean;
9
+ getRoutes: () => RouteRecordNormalized[];
10
+ getCurrentRoute: () => {
11
+ params: import("vue-router").RouteParamsGeneric;
12
+ query: import("vue-router").LocationQuery;
13
+ };
14
+ };
@@ -0,0 +1,4 @@
1
+ import { Module } from "vuex";
2
+ import { VuexDemoState, VuexRootState } from "../useVuex";
3
+ declare const demo: Module<VuexDemoState, VuexRootState>;
4
+ export default demo;
@@ -0,0 +1,4 @@
1
+ /// <reference types="@/src/vite-env" />
2
+ import { VuexRootState } from "../useVuex";
3
+ declare const store: import("vuex").Store<VuexRootState>;
4
+ export default store;
@@ -0,0 +1,24 @@
1
+ /// <reference types="@/src/vite-env" />
2
+ export type VuexState = VuexRootState & {
3
+ demo: VuexDemoState;
4
+ };
5
+ export interface VuexRootState {
6
+ count: number;
7
+ }
8
+ export interface VuexDemoState {
9
+ name: string;
10
+ }
11
+ export declare const INCREMENT = "increment";
12
+ export declare const DECREMENT = "decrement";
13
+ export declare const INCREMENTACTION = "incrementAction";
14
+ export declare function useVuex(): {
15
+ store: import("vuex").Store<VuexState>;
16
+ };
17
+ export declare function useVuexStates(keyMaps: Record<string, string> | string[]): Record<string, any>;
18
+ export declare function useVuexStates(moduleName: string, keyMaps: Record<string, string> | string[]): Record<string, any>;
19
+ export declare function useVuexGetters(keyMaps: Record<string, string> | string[]): Record<string, any>;
20
+ export declare function useVuexGetters(moduleName: string, keyMaps: Record<string, string> | string[]): Record<string, any>;
21
+ export declare function useVuexMutations(keyMaps: Record<string, string> | string[]): Record<string, any>;
22
+ export declare function useVuexMutations(moduleName: string, keyMaps: Record<string, string> | string[]): Record<string, any>;
23
+ export declare function useVuexActions(keyMaps: Record<string, string> | string[]): Record<string, any>;
24
+ export declare function useVuexActions(moduleName: string, keyMaps: Record<string, string> | string[]): Record<string, any>;
package/types/lib.d.ts CHANGED
@@ -1,79 +1,5 @@
1
- import Icon from "./components/Icon.vue";
2
- import Button from "./components/Button.vue";
3
- import Select from "./components/Select.vue";
4
- import SelectAbsolute from "./components/SelectAbsolute.vue";
5
- import Switch from "./components/form/Switch.vue";
6
- import BooleanBox from "./components/form/BooleanBox.vue";
7
- import RadioGroup from "./components/form/RadioGroup.vue";
8
- import CheckboxGroup from "./components/form/CheckboxGroup.vue";
9
- import Input from "./components/form/Input.vue";
10
- import InputRange from "./components/form/InputRange.vue";
11
- import InputRangeCanvas from "./components/form/InputRangeCanvas.vue";
12
- import InputRangeBox from "./components/form/InputRangeBox.vue";
13
- import Status from "./components/form/Status.vue";
14
- import InputFileDrop from "./components/form/InputFileDrop.vue";
15
- import SlideLeftItem from "./components/SlideLeftItem.vue";
16
- import Accordion from "./components/Accordion.vue";
17
- import Video from "./components/Video.vue";
18
- import Image from "./components/Image.vue";
19
- import ImageView from "./components/ImageView.vue";
20
- import LayoutMobile from "./components/layout/LayoutMobile.vue";
21
- import LayoutCenter from "./components/layout/LayoutCenter.vue";
22
- import Container from "./components/Container.vue";
23
- import Page from "./components/Page.vue";
24
- import Routes from "./components/Routes.vue";
25
- import Overlay from "./components/Overlay.vue";
26
- import Pop from "./components/Pop.vue";
27
- import Popover from "./components/Popover.vue";
28
- import Dialog from "./components/Dialog.vue";
29
- import DialogLoading from "./components/DialogLoading.vue";
30
- import DialogToast from "./components/DialogToast.vue";
31
- import Tab from "./components/Tab.vue";
32
- import Tabs from "./components/Tabs.vue";
33
- import HandWritePanel from "./components/HandWritePanel.vue";
34
- import ProgressBar from "./components/ProgressBar.vue";
35
- import PageVerticalScrollProgressBar from "./components/PageVerticalScrollProgressBar.vue";
36
- import PlateMobile from "./components/PlateMobile.vue";
37
- import PlateKeyboard from "./components/PlateKeyboard.vue";
38
- import PlateDisplay from "./components/PlateDisplay.vue";
39
- import ColorPicker from "./components/form/ColorPicker.vue";
40
- import ResizeObserver from "./components/ResizeObserver.vue";
41
- import MapTianditu from "./components/MapTianditu.vue";
42
- import FPSStats from "./components/FPSStats.vue";
43
- import EaseGraphDisplay from "./components/EaseGraphDisplay.vue";
44
- import EaseGroupGraphDisplay from "./components/EaseGroupGraphDisplay.vue";
45
- import InterpolationGraphDisplay from "./components/InterpolationGraphDisplay.vue";
46
- import InterpolationGroupGraphDisplay from "./components/InterpolationGroupGraphDisplay.vue";
47
- import SVGAndCanvas from "./components/SVGAndCanvas.vue";
48
- import SVGCheck from "./components/svg/SVGCheck.vue";
49
- import SVGDelete from "./components/svg/SVGDelete.vue";
50
- import SVGCleanUp from "./components/svg/SVGCleanUp.vue";
51
- import SVGDown from "./components/svg/SVGDown.vue";
52
- import SVGMaskNapkin from "./components/svg/SVGMaskNapkin.vue";
53
- import Loading1 from "./components/loading/Loading1.vue";
54
- import Loading2 from "./components/loading/Loading2.vue";
55
- import Loading3 from "./components/loading/Loading3.vue";
56
- import Loading4 from "./components/loading/Loading4.vue";
57
- import Loading5 from "./components/loading/Loading5.vue";
58
- import Loading6 from "./components/loading/Loading6.vue";
59
- import Loading7 from "./components/loading/Loading7.vue";
60
- import Loading8 from "./components/loading/Loading8.vue";
61
- import Loading9 from "./components/loading/Loading9.vue";
62
- import Loading10 from "./components/loading/Loading10.vue";
63
- import Loading11 from "./components/loading/Loading11.vue";
64
- import CardFlip from "./components/CardFlip.vue";
65
- import Cube from "./components/Cube.vue";
66
- import RingIndicator from "./components/chat/RingIndicator.vue";
67
- import RingText from "./components/chat/RingText.vue";
68
- import ClockFlipper from "./components/chat/ClockFlipper.vue";
69
- import TextBackgroundClip from "./components/effect/TextBackgroundClip.vue";
70
- import Slide from "./components/effect/Slide.vue";
71
- import SlideCorner from "./components/effect/SlideCorner.vue";
72
- import LineSingle from "./components/effect/LineSingle.vue";
73
- import LineDouble from "./components/effect/LineDouble.vue";
74
- import Float from "./components/effect/Float.vue";
75
- import CSSAnimation from "./components/effect/CSSAnimation.vue";
76
- import Circle from "./components/effect/Circle.vue";
77
- import BorderFocusText from "./components/effect/BorderFocusText.vue";
78
- import ImageMask from "./components/effect/ImageMask.vue";
79
- export { Icon, Button, LayoutMobile, LayoutCenter, Loading1, Loading2, Loading3, Loading4, Loading5, Loading6, Loading7, Loading8, Loading9, Loading10, Loading11, Container, Page, Routes, Overlay, Pop, Dialog, DialogLoading, DialogToast, Select, SelectAbsolute, Switch, BooleanBox, RadioGroup, CheckboxGroup, Popover, ColorPicker, ResizeObserver, MapTianditu, SVGCheck, PlateMobile, SVGCleanUp, PlateKeyboard, SVGDelete, SlideLeftItem, PlateDisplay, Tab, Tabs, FPSStats, EaseGraphDisplay, EaseGroupGraphDisplay, InterpolationGraphDisplay, InterpolationGroupGraphDisplay, HandWritePanel, ProgressBar, PageVerticalScrollProgressBar, Video, Input, InputRange, InputRangeCanvas, InputRangeBox, Status, Accordion, SVGAndCanvas, Image, ImageView, SVGDown, CardFlip, Cube, RingIndicator, RingText, ClockFlipper, TextBackgroundClip, Slide, SlideCorner, LineSingle, LineDouble, Float, CSSAnimation, Circle, BorderFocusText, SVGMaskNapkin, ImageMask, InputFileDrop };
1
+ export * from "./hooks";
2
+ export * as Button from "./components/Button.vue";
3
+ export * as LayoutMobile from "./components/layout/LayoutMobile.vue";
4
+ export * as Lot from "./components/xg/Lot.vue";
5
+ export * as Footer from "./components/xg/Footer.vue";
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ install: (app: any, options: any) => void;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare function registerGlobalPlugins(app: any): void;