@zyzgroup/core-vue 0.0.42 → 0.0.44

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 (229) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +209 -171
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +21124 -20422
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +209 -171
  7. package/ce/yz_custom_element.umd.cjs.map +1 -1
  8. package/dist/style.css +1 -0
  9. package/dist/zyzgroup_core_vue.iife.js +29 -1
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +11751 -122
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +29 -1
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +3 -2
  16. package/types/App.vue.d.ts +0 -2
  17. package/types/components/Accordion.ce.vue.d.ts +45 -54
  18. package/types/components/Accordion.vue.d.ts +45 -54
  19. package/types/components/Button.ce.vue.d.ts +63 -61
  20. package/types/components/Button.vue.d.ts +63 -61
  21. package/types/components/Canvas.ce.vue.d.ts +11 -36
  22. package/types/components/Canvas.vue.d.ts +11 -36
  23. package/types/components/CardFlip.ce.vue.d.ts +27 -36
  24. package/types/components/CardFlip.vue.d.ts +27 -36
  25. package/types/components/Container.ce.vue.d.ts +203 -49
  26. package/types/components/Container.vue.d.ts +203 -49
  27. package/types/components/Cube.ce.vue.d.ts +58 -39
  28. package/types/components/Cube.vue.d.ts +58 -39
  29. package/types/components/Dialog.ce.vue.d.ts +82 -46
  30. package/types/components/Dialog.vue.d.ts +82 -46
  31. package/types/components/DialogLoading.ce.vue.d.ts +37 -35
  32. package/types/components/DialogLoading.vue.d.ts +37 -35
  33. package/types/components/DialogToast.ce.vue.d.ts +9 -34
  34. package/types/components/DialogToast.vue.d.ts +9 -34
  35. package/types/components/EaseGraphDisplay.ce.vue.d.ts +11 -50
  36. package/types/components/EaseGraphDisplay.vue.d.ts +11 -50
  37. package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +5 -42
  38. package/types/components/EaseGroupGraphDisplay.vue.d.ts +5 -42
  39. package/types/components/HandWritePanel.ce.vue.d.ts +4 -44
  40. package/types/components/HandWritePanel.vue.d.ts +4 -44
  41. package/types/components/Icon.ce.vue.d.ts +3 -28
  42. package/types/components/Icon.vue.d.ts +3 -28
  43. package/types/components/Image.ce.vue.d.ts +6 -38
  44. package/types/components/Image.vue.d.ts +6 -38
  45. package/types/components/ImageView.ce.vue.d.ts +7 -32
  46. package/types/components/ImageView.vue.d.ts +7 -32
  47. package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +9 -39
  48. package/types/components/InterpolationGraphDisplay.vue.d.ts +9 -39
  49. package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +3 -34
  50. package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +3 -34
  51. package/types/components/MapTianditu.ce.vue.d.ts +32 -42
  52. package/types/components/MapTianditu.vue.d.ts +32 -42
  53. package/types/components/Overlay.ce.vue.d.ts +20 -34
  54. package/types/components/Overlay.vue.d.ts +20 -34
  55. package/types/components/Page.ce.vue.d.ts +55 -48
  56. package/types/components/Page.vue.d.ts +55 -48
  57. package/types/components/PlateDisplay.ce.vue.d.ts +4 -32
  58. package/types/components/PlateDisplay.vue.d.ts +4 -32
  59. package/types/components/PlateKeyboard.ce.vue.d.ts +10 -33
  60. package/types/components/PlateKeyboard.vue.d.ts +10 -33
  61. package/types/components/PlateMobile.ce.vue.d.ts +10 -28
  62. package/types/components/PlateMobile.vue.d.ts +10 -28
  63. package/types/components/Pop.ce.vue.d.ts +150 -65
  64. package/types/components/Pop.vue.d.ts +150 -65
  65. package/types/components/Popover.ce.vue.d.ts +41 -37
  66. package/types/components/Popover.vue.d.ts +41 -37
  67. package/types/components/Routes.ce.vue.d.ts +15 -49
  68. package/types/components/Routes.vue.d.ts +15 -49
  69. package/types/components/SVG.ce.vue.d.ts +11 -33
  70. package/types/components/SVG.vue.d.ts +11 -33
  71. package/types/components/SVGAndCanvas.ce.vue.d.ts +3 -28
  72. package/types/components/SVGAndCanvas.vue.d.ts +3 -28
  73. package/types/components/Video.ce.vue.d.ts +12 -44
  74. package/types/components/Video.vue.d.ts +12 -44
  75. package/types/components/VueRouterView.ce.vue.d.ts +3 -21
  76. package/types/components/VueRouterView.vue.d.ts +3 -21
  77. package/types/components/VueSuspense.ce.vue.d.ts +6 -4
  78. package/types/components/VueSuspense.vue.d.ts +6 -4
  79. package/types/components/bg/grid/BgGrid.ce.vue.d.ts +14 -0
  80. package/types/components/bg/grid/BgGrid.vue.d.ts +14 -0
  81. package/types/components/chat/ClockFlipper.ce.vue.d.ts +4 -53
  82. package/types/components/chat/ClockFlipper.vue.d.ts +4 -53
  83. package/types/components/chat/RingIndicator.ce.vue.d.ts +3 -37
  84. package/types/components/chat/RingIndicator.vue.d.ts +3 -37
  85. package/types/components/chat/RingText.ce.vue.d.ts +3 -37
  86. package/types/components/chat/RingText.vue.d.ts +3 -37
  87. package/types/components/effect/BorderFocusText.ce.vue.d.ts +31 -50
  88. package/types/components/effect/BorderFocusText.vue.d.ts +31 -50
  89. package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -61
  90. package/types/components/effect/CSSAnimation.vue.d.ts +49 -61
  91. package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -53
  92. package/types/components/effect/CSSTransition.vue.d.ts +44 -53
  93. package/types/components/effect/Circle.ce.vue.d.ts +31 -44
  94. package/types/components/effect/Circle.vue.d.ts +31 -44
  95. package/types/components/effect/Float.ce.vue.d.ts +28 -47
  96. package/types/components/effect/Float.vue.d.ts +28 -47
  97. package/types/components/effect/ImageMask.ce.vue.d.ts +27 -32
  98. package/types/components/effect/ImageMask.vue.d.ts +27 -32
  99. package/types/components/effect/LineDouble.ce.vue.d.ts +40 -53
  100. package/types/components/effect/LineDouble.vue.d.ts +40 -53
  101. package/types/components/effect/LineSingle.ce.vue.d.ts +36 -53
  102. package/types/components/effect/LineSingle.vue.d.ts +36 -53
  103. package/types/components/effect/Slide.ce.vue.d.ts +30 -47
  104. package/types/components/effect/Slide.vue.d.ts +30 -47
  105. package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -44
  106. package/types/components/effect/SlideCorner.vue.d.ts +31 -44
  107. package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +3 -28
  108. package/types/components/effect/TextBackgroundClip.vue.d.ts +3 -28
  109. package/types/components/effect/VueTransition.ce.vue.d.ts +30 -43
  110. package/types/components/effect/VueTransition.vue.d.ts +30 -43
  111. package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -3
  112. package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -3
  113. package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -3
  114. package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -3
  115. package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -3
  116. package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -3
  117. package/types/components/form/BooleanBox.ce.vue.d.ts +44 -60
  118. package/types/components/form/BooleanBox.vue.d.ts +44 -60
  119. package/types/components/form/CheckboxGroup.ce.vue.d.ts +11 -51
  120. package/types/components/form/CheckboxGroup.vue.d.ts +11 -51
  121. package/types/components/form/ColorPicker.ce.vue.d.ts +43 -32
  122. package/types/components/form/ColorPicker.vue.d.ts +43 -32
  123. package/types/components/form/Input.ce.vue.d.ts +23 -74
  124. package/types/components/form/Input.vue.d.ts +23 -74
  125. package/types/components/form/InputFileDrop.ce.vue.d.ts +23 -29
  126. package/types/components/form/InputFileDrop.vue.d.ts +23 -29
  127. package/types/components/form/InputRange.ce.vue.d.ts +33 -55
  128. package/types/components/form/InputRange.vue.d.ts +33 -55
  129. package/types/components/form/InputRangeBox.ce.vue.d.ts +38 -51
  130. package/types/components/form/InputRangeBox.vue.d.ts +38 -51
  131. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +33 -53
  132. package/types/components/form/InputRangeCanvas.vue.d.ts +33 -53
  133. package/types/components/form/PageVerticalScrollProgressBar.ce.vue.d.ts +21 -0
  134. package/types/components/form/PageVerticalScrollProgressBar.vue.d.ts +21 -0
  135. package/types/components/form/ProgressBar.ce.vue.d.ts +22 -0
  136. package/types/components/form/ProgressBar.vue.d.ts +22 -0
  137. package/types/components/form/RadioGroup.ce.vue.d.ts +11 -51
  138. package/types/components/form/RadioGroup.vue.d.ts +11 -51
  139. package/types/components/form/Select.ce.vue.d.ts +14 -52
  140. package/types/components/form/Select.vue.d.ts +14 -52
  141. package/types/components/form/SelectAbsolute.ce.vue.d.ts +16 -64
  142. package/types/components/form/SelectAbsolute.vue.d.ts +16 -64
  143. package/types/components/form/SlideLeftItem.ce.vue.d.ts +51 -0
  144. package/types/components/form/SlideLeftItem.vue.d.ts +51 -0
  145. package/types/components/form/Status.ce.vue.d.ts +3 -26
  146. package/types/components/form/Status.vue.d.ts +3 -26
  147. package/types/components/form/Switch.ce.vue.d.ts +7 -47
  148. package/types/components/form/Switch.vue.d.ts +7 -47
  149. package/types/components/form/Tabs.ce.vue.d.ts +14 -0
  150. package/types/components/form/Tabs.vue.d.ts +14 -0
  151. package/types/components/form/Text.ce.vue.d.ts +36 -0
  152. package/types/components/form/Text.vue.d.ts +36 -0
  153. package/types/components/form/ViewDocument.ce.vue.d.ts +9 -0
  154. package/types/components/form/ViewDocument.vue.d.ts +9 -0
  155. package/types/components/layout/LayoutCenter.ce.vue.d.ts +20 -30
  156. package/types/components/layout/LayoutCenter.vue.d.ts +20 -30
  157. package/types/components/layout/LayoutMobile.ce.vue.d.ts +4 -36
  158. package/types/components/layout/LayoutMobile.vue.d.ts +4 -36
  159. package/types/components/layout/LayoutPage.ce.vue.d.ts +20 -0
  160. package/types/components/layout/LayoutPage.vue.d.ts +20 -0
  161. package/types/components/loading/Loading1.ce.vue.d.ts +3 -25
  162. package/types/components/loading/Loading1.vue.d.ts +3 -25
  163. package/types/components/loading/Loading10.ce.vue.d.ts +3 -25
  164. package/types/components/loading/Loading10.vue.d.ts +3 -25
  165. package/types/components/loading/Loading11.ce.vue.d.ts +3 -28
  166. package/types/components/loading/Loading11.vue.d.ts +3 -28
  167. package/types/components/loading/Loading2.ce.vue.d.ts +3 -25
  168. package/types/components/loading/Loading2.vue.d.ts +3 -25
  169. package/types/components/loading/Loading3.ce.vue.d.ts +3 -28
  170. package/types/components/loading/Loading3.vue.d.ts +3 -28
  171. package/types/components/loading/Loading4.ce.vue.d.ts +3 -25
  172. package/types/components/loading/Loading4.vue.d.ts +3 -25
  173. package/types/components/loading/Loading5.ce.vue.d.ts +3 -25
  174. package/types/components/loading/Loading5.vue.d.ts +3 -25
  175. package/types/components/loading/Loading6.ce.vue.d.ts +3 -25
  176. package/types/components/loading/Loading6.vue.d.ts +3 -25
  177. package/types/components/loading/Loading7.ce.vue.d.ts +3 -25
  178. package/types/components/loading/Loading7.vue.d.ts +3 -25
  179. package/types/components/loading/Loading8.ce.vue.d.ts +3 -25
  180. package/types/components/loading/Loading8.vue.d.ts +3 -25
  181. package/types/components/loading/Loading9.ce.vue.d.ts +3 -25
  182. package/types/components/loading/Loading9.vue.d.ts +3 -25
  183. package/types/components/pop/PopTel.ce.vue.d.ts +10 -0
  184. package/types/components/pop/PopTel.vue.d.ts +10 -0
  185. package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
  186. package/types/components/svg/SVGAdd.vue.d.ts +7 -0
  187. package/types/components/svg/SVGCheck.ce.vue.d.ts +3 -28
  188. package/types/components/svg/SVGCheck.vue.d.ts +3 -28
  189. package/types/components/svg/SVGCleanUp.ce.vue.d.ts +3 -28
  190. package/types/components/svg/SVGCleanUp.vue.d.ts +3 -28
  191. package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
  192. package/types/components/svg/SVGClose.vue.d.ts +7 -0
  193. package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -32
  194. package/types/components/svg/SVGDelete.vue.d.ts +3 -32
  195. package/types/components/svg/SVGDown.ce.vue.d.ts +3 -29
  196. package/types/components/svg/SVGDown.vue.d.ts +3 -29
  197. package/types/components/svg/SVGElement.ce.vue.d.ts +14 -38
  198. package/types/components/svg/SVGElement.vue.d.ts +14 -38
  199. package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
  200. package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
  201. package/types/components/svg/SVGFail.ce.vue.d.ts +3 -29
  202. package/types/components/svg/SVGFail.vue.d.ts +3 -29
  203. package/types/components/svg/SVGHome.ce.vue.d.ts +3 -29
  204. package/types/components/svg/SVGHome.vue.d.ts +3 -29
  205. package/types/components/svg/SVGLock.ce.vue.d.ts +3 -29
  206. package/types/components/svg/SVGLock.vue.d.ts +3 -29
  207. package/types/components/svg/SVGPrompt.ce.vue.d.ts +3 -29
  208. package/types/components/svg/SVGPrompt.vue.d.ts +3 -29
  209. package/types/components/svg/SVGQuestion.ce.vue.d.ts +3 -29
  210. package/types/components/svg/SVGQuestion.vue.d.ts +3 -29
  211. package/types/components/svg/SVGReturn.ce.vue.d.ts +3 -29
  212. package/types/components/svg/SVGReturn.vue.d.ts +3 -29
  213. package/types/components/svg/SVGSuccess.vue.d.ts +3 -29
  214. package/types/components/svg/SVGWaiting.ce.vue.d.ts +3 -29
  215. package/types/components/svg/SVGWaiting.vue.d.ts +3 -29
  216. package/types/components/svg/SVGWarn.ce.vue.d.ts +9 -0
  217. package/types/components/svg/SVGWarn.vue.d.ts +9 -0
  218. package/types/components/xg/Park.ce.vue.d.ts +2 -0
  219. package/types/components/xg/Park.vue.d.ts +2 -0
  220. package/types/components/xg/XG.ce.vue.d.ts +2 -0
  221. package/types/components/xg/XG.vue.d.ts +2 -0
  222. package/types/demo_vue3.vue.d.ts +22 -58
  223. package/types/globalTeleport.d.ts +6 -7
  224. package/types/hooks/pinia/counter.d.ts +13 -0
  225. package/types/hooks/useSafeArea.d.ts +1 -0
  226. package/types/hooks/useVueRouter.d.ts +5 -14
  227. package/types/hooks/useVuex/modules/root.d.ts +0 -1
  228. package/types/hooks/useVuex/useVuex.d.ts +0 -1
  229. package/types/main.d.ts +3 -1
@@ -1,45 +1,20 @@
1
1
  import { YZCanvas } from "@zyzgroup/core-web";
2
- declare function getCanvas(): Promise<YZCanvas>;
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
4
3
  bgColor?: string;
5
4
  enableCustomContext?: boolean;
6
- }>, {
7
- bgColor: string;
8
- enableCustomContext: boolean;
9
- }>>, {
10
- getCanvasElement: () => any;
11
- getCanvas: typeof getCanvas;
12
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- ready: (canvas: YZCanvas) => void;
14
- resize: (width: number, height: number) => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
- bgColor?: string;
17
- enableCustomContext?: boolean;
18
- }>, {
19
- bgColor: string;
20
- enableCustomContext: boolean;
21
- }>>> & Readonly<{
22
- onResize?: (width: number, height: number) => any;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {
7
+ getCanvas: () => Promise<YZCanvas>;
8
+ getElement: () => any;
9
+ getRect: () => any;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ ready: (canvas: YZCanvas) => any;
12
+ update: (canvas: YZCanvas) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
14
  onReady?: (canvas: YZCanvas) => any;
15
+ onUpdate?: (canvas: YZCanvas) => any;
24
16
  }>, {
25
17
  bgColor: string;
26
18
  enableCustomContext: boolean;
27
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
20
  export default _default;
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: import('vue').PropType<T[K]>;
43
- required: true;
44
- };
45
- };
@@ -1,51 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- type?: "" | "slide";
3
- dur?: number;
4
- perspective?: string;
5
- }>, {
6
- type: string;
7
- dur: number;
8
- perspective: string;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- click: (isFlipped: boolean) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
12
2
  type?: "" | "slide";
13
3
  dur?: number;
14
4
  perspective?: string;
5
+ };
6
+ declare const flip: import("vue").Ref<boolean, boolean>;
7
+ declare const click: () => void;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_1: {}, __VLS_3: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ front?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ back?: (props: typeof __VLS_3) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
16
+ flip: typeof flip;
17
+ click: typeof click;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ click: (isFlipped: boolean) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ onClick?: (isFlipped: boolean) => any;
15
22
  }>, {
16
- type: string;
23
+ type: "" | "slide";
17
24
  dur: number;
18
25
  perspective: string;
19
- }>>> & Readonly<{
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ click: (isFlipped: boolean) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
30
  onClick?: (isFlipped: boolean) => any;
21
31
  }>, {
22
- dur: number;
23
32
  type: "" | "slide";
33
+ dur: number;
24
34
  perspective: string;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
26
- front?(_: {}): any;
27
- back?(_: {}): any;
28
- }>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
37
  export default _default;
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
- default: D[K];
33
- }> : P[K];
34
- };
35
- type __VLS_Prettify<T> = {
36
- [K in keyof T]: T[K];
37
- } & {};
38
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
39
39
  new (): {
40
40
  $slots: S;
41
41
  };
42
42
  };
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToOption<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
@@ -1,51 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- type?: "" | "slide";
3
- dur?: number;
4
- perspective?: string;
5
- }>, {
6
- type: string;
7
- dur: number;
8
- perspective: string;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- click: (isFlipped: boolean) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
12
2
  type?: "" | "slide";
13
3
  dur?: number;
14
4
  perspective?: string;
5
+ };
6
+ declare const flip: import("vue").Ref<boolean, boolean>;
7
+ declare const click: () => void;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_1: {}, __VLS_3: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ front?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ back?: (props: typeof __VLS_3) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
16
+ flip: typeof flip;
17
+ click: typeof click;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ click: (isFlipped: boolean) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ onClick?: (isFlipped: boolean) => any;
15
22
  }>, {
16
- type: string;
23
+ type: "" | "slide";
17
24
  dur: number;
18
25
  perspective: string;
19
- }>>> & Readonly<{
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ click: (isFlipped: boolean) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
30
  onClick?: (isFlipped: boolean) => any;
21
31
  }>, {
22
- dur: number;
23
32
  type: "" | "slide";
33
+ dur: number;
24
34
  perspective: string;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
26
- front?(_: {}): any;
27
- back?(_: {}): any;
28
- }>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
37
  export default _default;
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
- default: D[K];
33
- }> : P[K];
34
- };
35
- type __VLS_Prettify<T> = {
36
- [K in keyof T]: T[K];
37
- } & {};
38
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
39
39
  new (): {
40
40
  $slots: S;
41
41
  };
42
42
  };
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToOption<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
@@ -1,64 +1,218 @@
1
- import { DOMEventBus } from "@zyzgroup/core-web";
2
- import { ContainerType, EffectTriggerTiming } from "../types";
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ export type ContainerType = "block" | "shrink" | "full";
2
+ export type EffectTriggerTiming = "manual" | "mouseMove" | "click" | "immediate";
3
+ export type EffectStatus = "start" | "end";
4
+ type __VLS_Props = {
4
5
  type?: ContainerType;
5
6
  effectTriggerTiming?: EffectTriggerTiming;
6
7
  supportCopyText?: boolean;
7
- styleSheets?: Record<string, string>;
8
+ };
9
+ declare const r: import("vue").Ref<any, any>;
10
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
+ declare var __VLS_1: {};
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
16
+ r: typeof r;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ start: () => any;
19
+ end: () => any;
20
+ ready: (controller: {
21
+ el: HTMLElement;
22
+ readonly rect: {
23
+ width: number;
24
+ height: number;
25
+ x: number;
26
+ y: number;
27
+ bottom: number;
28
+ left: number;
29
+ right: number;
30
+ top: number;
31
+ toJSON(): any;
32
+ };
33
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
34
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
35
+ start: () => Promise<void>;
36
+ end: () => void;
37
+ }) => any;
38
+ update: (controller: {
39
+ el: HTMLElement;
40
+ readonly rect: {
41
+ width: number;
42
+ height: number;
43
+ x: number;
44
+ y: number;
45
+ bottom: number;
46
+ left: number;
47
+ right: number;
48
+ top: number;
49
+ toJSON(): any;
50
+ };
51
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
52
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
53
+ start: () => Promise<void>;
54
+ end: () => void;
55
+ }) => any;
56
+ clipboard_success: (text: string) => any;
57
+ clipboard_error: (text: string) => any;
58
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
59
+ onStart?: () => any;
60
+ onEnd?: () => any;
61
+ onReady?: (controller: {
62
+ el: HTMLElement;
63
+ readonly rect: {
64
+ width: number;
65
+ height: number;
66
+ x: number;
67
+ y: number;
68
+ bottom: number;
69
+ left: number;
70
+ right: number;
71
+ top: number;
72
+ toJSON(): any;
73
+ };
74
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
75
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
76
+ start: () => Promise<void>;
77
+ end: () => void;
78
+ }) => any;
79
+ onUpdate?: (controller: {
80
+ el: HTMLElement;
81
+ readonly rect: {
82
+ width: number;
83
+ height: number;
84
+ x: number;
85
+ y: number;
86
+ bottom: number;
87
+ left: number;
88
+ right: number;
89
+ top: number;
90
+ toJSON(): any;
91
+ };
92
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
93
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
94
+ start: () => Promise<void>;
95
+ end: () => void;
96
+ }) => any;
97
+ onClipboard_success?: (text: string) => any;
98
+ onClipboard_error?: (text: string) => any;
8
99
  }>, {
9
- type: string;
10
- effectTriggerTiming: string;
100
+ type: ContainerType;
101
+ effectTriggerTiming: EffectTriggerTiming;
11
102
  supportCopyText: boolean;
12
- }>>, {
103
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
105
+ getController: () => Promise<{
106
+ el: HTMLElement;
107
+ readonly rect: {
108
+ width: number;
109
+ height: number;
110
+ x: number;
111
+ y: number;
112
+ bottom: number;
113
+ left: number;
114
+ right: number;
115
+ top: number;
116
+ toJSON(): any;
117
+ };
118
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
119
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
120
+ start: () => Promise<void>;
121
+ end: () => void;
122
+ }>;
13
123
  getElement: () => any;
14
- getApp: () => Promise<DOMEventBus>;
15
- getSize: () => Promise<DOMRect>;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- ready: (app: DOMEventBus) => void;
18
- resize: (width: number, height: number, rect: DOMRect) => void;
19
- start: () => void;
20
- end: () => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
22
- type?: ContainerType;
23
- effectTriggerTiming?: EffectTriggerTiming;
24
- supportCopyText?: boolean;
25
- styleSheets?: Record<string, string>;
26
- }>, {
27
- type: string;
28
- effectTriggerTiming: string;
29
- supportCopyText: boolean;
30
- }>>> & Readonly<{
31
- onResize?: (width: number, height: number, rect: DOMRect) => any;
32
- onEnd?: () => any;
124
+ getRect: () => any;
125
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
126
+ start: () => any;
127
+ end: () => any;
128
+ ready: (controller: {
129
+ el: HTMLElement;
130
+ readonly rect: {
131
+ width: number;
132
+ height: number;
133
+ x: number;
134
+ y: number;
135
+ bottom: number;
136
+ left: number;
137
+ right: number;
138
+ top: number;
139
+ toJSON(): any;
140
+ };
141
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
142
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
143
+ start: () => Promise<void>;
144
+ end: () => void;
145
+ }) => any;
146
+ update: (controller: {
147
+ el: HTMLElement;
148
+ readonly rect: {
149
+ width: number;
150
+ height: number;
151
+ x: number;
152
+ y: number;
153
+ bottom: number;
154
+ left: number;
155
+ right: number;
156
+ top: number;
157
+ toJSON(): any;
158
+ };
159
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
160
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
161
+ start: () => Promise<void>;
162
+ end: () => void;
163
+ }) => any;
164
+ clipboard_success: (text: string) => any;
165
+ clipboard_error: (text: string) => any;
166
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
33
167
  onStart?: () => any;
34
- onReady?: (app: DOMEventBus) => any;
168
+ onEnd?: () => any;
169
+ onReady?: (controller: {
170
+ el: HTMLElement;
171
+ readonly rect: {
172
+ width: number;
173
+ height: number;
174
+ x: number;
175
+ y: number;
176
+ bottom: number;
177
+ left: number;
178
+ right: number;
179
+ top: number;
180
+ toJSON(): any;
181
+ };
182
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
183
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
184
+ start: () => Promise<void>;
185
+ end: () => void;
186
+ }) => any;
187
+ onUpdate?: (controller: {
188
+ el: HTMLElement;
189
+ readonly rect: {
190
+ width: number;
191
+ height: number;
192
+ x: number;
193
+ y: number;
194
+ bottom: number;
195
+ left: number;
196
+ right: number;
197
+ top: number;
198
+ toJSON(): any;
199
+ };
200
+ mousePoint: import("@zyzgroup/core-web").MousePoint;
201
+ eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
202
+ start: () => Promise<void>;
203
+ end: () => void;
204
+ }) => any;
205
+ onClipboard_success?: (text: string) => any;
206
+ onClipboard_error?: (text: string) => any;
35
207
  }>, {
36
208
  type: ContainerType;
37
- supportCopyText: boolean;
38
209
  effectTriggerTiming: EffectTriggerTiming;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
40
- default?(_: {}): any;
41
- }>;
210
+ supportCopyText: boolean;
211
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
212
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
42
213
  export default _default;
43
- type __VLS_WithDefaults<P, D> = {
44
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
- default: D[K];
46
- }> : P[K];
47
- };
48
- type __VLS_Prettify<T> = {
49
- [K in keyof T]: T[K];
50
- } & {};
51
- type __VLS_WithTemplateSlots<T, S> = T & {
214
+ type __VLS_WithSlots<T, S> = T & {
52
215
  new (): {
53
216
  $slots: S;
54
217
  };
55
218
  };
56
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
- type __VLS_TypePropsToOption<T> = {
58
- [K in keyof T]-?: {} extends Pick<T, K> ? {
59
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
- } : {
61
- type: import('vue').PropType<T[K]>;
62
- required: true;
63
- };
64
- };