@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.
- package/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +209 -171
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +21124 -20422
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +209 -171
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -0
- package/dist/zyzgroup_core_vue.iife.js +29 -1
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +11751 -122
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +29 -1
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +3 -2
- package/types/App.vue.d.ts +0 -2
- package/types/components/Accordion.ce.vue.d.ts +45 -54
- package/types/components/Accordion.vue.d.ts +45 -54
- package/types/components/Button.ce.vue.d.ts +63 -61
- package/types/components/Button.vue.d.ts +63 -61
- package/types/components/Canvas.ce.vue.d.ts +11 -36
- package/types/components/Canvas.vue.d.ts +11 -36
- package/types/components/CardFlip.ce.vue.d.ts +27 -36
- package/types/components/CardFlip.vue.d.ts +27 -36
- package/types/components/Container.ce.vue.d.ts +203 -49
- package/types/components/Container.vue.d.ts +203 -49
- package/types/components/Cube.ce.vue.d.ts +58 -39
- package/types/components/Cube.vue.d.ts +58 -39
- package/types/components/Dialog.ce.vue.d.ts +82 -46
- package/types/components/Dialog.vue.d.ts +82 -46
- package/types/components/DialogLoading.ce.vue.d.ts +37 -35
- package/types/components/DialogLoading.vue.d.ts +37 -35
- package/types/components/DialogToast.ce.vue.d.ts +9 -34
- package/types/components/DialogToast.vue.d.ts +9 -34
- package/types/components/EaseGraphDisplay.ce.vue.d.ts +11 -50
- package/types/components/EaseGraphDisplay.vue.d.ts +11 -50
- package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +5 -42
- package/types/components/EaseGroupGraphDisplay.vue.d.ts +5 -42
- package/types/components/HandWritePanel.ce.vue.d.ts +4 -44
- package/types/components/HandWritePanel.vue.d.ts +4 -44
- package/types/components/Icon.ce.vue.d.ts +3 -28
- package/types/components/Icon.vue.d.ts +3 -28
- package/types/components/Image.ce.vue.d.ts +6 -38
- package/types/components/Image.vue.d.ts +6 -38
- package/types/components/ImageView.ce.vue.d.ts +7 -32
- package/types/components/ImageView.vue.d.ts +7 -32
- package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +9 -39
- package/types/components/InterpolationGraphDisplay.vue.d.ts +9 -39
- package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +3 -34
- package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +3 -34
- package/types/components/MapTianditu.ce.vue.d.ts +32 -42
- package/types/components/MapTianditu.vue.d.ts +32 -42
- package/types/components/Overlay.ce.vue.d.ts +20 -34
- package/types/components/Overlay.vue.d.ts +20 -34
- package/types/components/Page.ce.vue.d.ts +55 -48
- package/types/components/Page.vue.d.ts +55 -48
- package/types/components/PlateDisplay.ce.vue.d.ts +4 -32
- package/types/components/PlateDisplay.vue.d.ts +4 -32
- package/types/components/PlateKeyboard.ce.vue.d.ts +10 -33
- package/types/components/PlateKeyboard.vue.d.ts +10 -33
- package/types/components/PlateMobile.ce.vue.d.ts +10 -28
- package/types/components/PlateMobile.vue.d.ts +10 -28
- package/types/components/Pop.ce.vue.d.ts +150 -65
- package/types/components/Pop.vue.d.ts +150 -65
- package/types/components/Popover.ce.vue.d.ts +41 -37
- package/types/components/Popover.vue.d.ts +41 -37
- package/types/components/Routes.ce.vue.d.ts +15 -49
- package/types/components/Routes.vue.d.ts +15 -49
- package/types/components/SVG.ce.vue.d.ts +11 -33
- package/types/components/SVG.vue.d.ts +11 -33
- package/types/components/SVGAndCanvas.ce.vue.d.ts +3 -28
- package/types/components/SVGAndCanvas.vue.d.ts +3 -28
- package/types/components/Video.ce.vue.d.ts +12 -44
- package/types/components/Video.vue.d.ts +12 -44
- package/types/components/VueRouterView.ce.vue.d.ts +3 -21
- package/types/components/VueRouterView.vue.d.ts +3 -21
- package/types/components/VueSuspense.ce.vue.d.ts +6 -4
- package/types/components/VueSuspense.vue.d.ts +6 -4
- package/types/components/bg/grid/BgGrid.ce.vue.d.ts +14 -0
- package/types/components/bg/grid/BgGrid.vue.d.ts +14 -0
- package/types/components/chat/ClockFlipper.ce.vue.d.ts +4 -53
- package/types/components/chat/ClockFlipper.vue.d.ts +4 -53
- package/types/components/chat/RingIndicator.ce.vue.d.ts +3 -37
- package/types/components/chat/RingIndicator.vue.d.ts +3 -37
- package/types/components/chat/RingText.ce.vue.d.ts +3 -37
- package/types/components/chat/RingText.vue.d.ts +3 -37
- package/types/components/effect/BorderFocusText.ce.vue.d.ts +31 -50
- package/types/components/effect/BorderFocusText.vue.d.ts +31 -50
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -61
- package/types/components/effect/CSSAnimation.vue.d.ts +49 -61
- package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -53
- package/types/components/effect/CSSTransition.vue.d.ts +44 -53
- package/types/components/effect/Circle.ce.vue.d.ts +31 -44
- package/types/components/effect/Circle.vue.d.ts +31 -44
- package/types/components/effect/Float.ce.vue.d.ts +28 -47
- package/types/components/effect/Float.vue.d.ts +28 -47
- package/types/components/effect/ImageMask.ce.vue.d.ts +27 -32
- package/types/components/effect/ImageMask.vue.d.ts +27 -32
- package/types/components/effect/LineDouble.ce.vue.d.ts +40 -53
- package/types/components/effect/LineDouble.vue.d.ts +40 -53
- package/types/components/effect/LineSingle.ce.vue.d.ts +36 -53
- package/types/components/effect/LineSingle.vue.d.ts +36 -53
- package/types/components/effect/Slide.ce.vue.d.ts +30 -47
- package/types/components/effect/Slide.vue.d.ts +30 -47
- package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -44
- package/types/components/effect/SlideCorner.vue.d.ts +31 -44
- package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +3 -28
- package/types/components/effect/TextBackgroundClip.vue.d.ts +3 -28
- package/types/components/effect/VueTransition.ce.vue.d.ts +30 -43
- package/types/components/effect/VueTransition.vue.d.ts +30 -43
- package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -3
- package/types/components/form/BooleanBox.ce.vue.d.ts +44 -60
- package/types/components/form/BooleanBox.vue.d.ts +44 -60
- package/types/components/form/CheckboxGroup.ce.vue.d.ts +11 -51
- package/types/components/form/CheckboxGroup.vue.d.ts +11 -51
- package/types/components/form/ColorPicker.ce.vue.d.ts +43 -32
- package/types/components/form/ColorPicker.vue.d.ts +43 -32
- package/types/components/form/Input.ce.vue.d.ts +23 -74
- package/types/components/form/Input.vue.d.ts +23 -74
- package/types/components/form/InputFileDrop.ce.vue.d.ts +23 -29
- package/types/components/form/InputFileDrop.vue.d.ts +23 -29
- package/types/components/form/InputRange.ce.vue.d.ts +33 -55
- package/types/components/form/InputRange.vue.d.ts +33 -55
- package/types/components/form/InputRangeBox.ce.vue.d.ts +38 -51
- package/types/components/form/InputRangeBox.vue.d.ts +38 -51
- package/types/components/form/InputRangeCanvas.ce.vue.d.ts +33 -53
- package/types/components/form/InputRangeCanvas.vue.d.ts +33 -53
- package/types/components/form/PageVerticalScrollProgressBar.ce.vue.d.ts +21 -0
- package/types/components/form/PageVerticalScrollProgressBar.vue.d.ts +21 -0
- package/types/components/form/ProgressBar.ce.vue.d.ts +22 -0
- package/types/components/form/ProgressBar.vue.d.ts +22 -0
- package/types/components/form/RadioGroup.ce.vue.d.ts +11 -51
- package/types/components/form/RadioGroup.vue.d.ts +11 -51
- package/types/components/form/Select.ce.vue.d.ts +14 -52
- package/types/components/form/Select.vue.d.ts +14 -52
- package/types/components/form/SelectAbsolute.ce.vue.d.ts +16 -64
- package/types/components/form/SelectAbsolute.vue.d.ts +16 -64
- package/types/components/form/SlideLeftItem.ce.vue.d.ts +51 -0
- package/types/components/form/SlideLeftItem.vue.d.ts +51 -0
- package/types/components/form/Status.ce.vue.d.ts +3 -26
- package/types/components/form/Status.vue.d.ts +3 -26
- package/types/components/form/Switch.ce.vue.d.ts +7 -47
- package/types/components/form/Switch.vue.d.ts +7 -47
- package/types/components/form/Tabs.ce.vue.d.ts +14 -0
- package/types/components/form/Tabs.vue.d.ts +14 -0
- package/types/components/form/Text.ce.vue.d.ts +36 -0
- package/types/components/form/Text.vue.d.ts +36 -0
- package/types/components/form/ViewDocument.ce.vue.d.ts +9 -0
- package/types/components/form/ViewDocument.vue.d.ts +9 -0
- package/types/components/layout/LayoutCenter.ce.vue.d.ts +20 -30
- package/types/components/layout/LayoutCenter.vue.d.ts +20 -30
- package/types/components/layout/LayoutMobile.ce.vue.d.ts +4 -36
- package/types/components/layout/LayoutMobile.vue.d.ts +4 -36
- package/types/components/layout/LayoutPage.ce.vue.d.ts +20 -0
- package/types/components/layout/LayoutPage.vue.d.ts +20 -0
- package/types/components/loading/Loading1.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading1.vue.d.ts +3 -25
- package/types/components/loading/Loading10.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading10.vue.d.ts +3 -25
- package/types/components/loading/Loading11.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading11.vue.d.ts +3 -28
- package/types/components/loading/Loading2.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading2.vue.d.ts +3 -25
- package/types/components/loading/Loading3.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading3.vue.d.ts +3 -28
- package/types/components/loading/Loading4.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading4.vue.d.ts +3 -25
- package/types/components/loading/Loading5.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading5.vue.d.ts +3 -25
- package/types/components/loading/Loading6.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading6.vue.d.ts +3 -25
- package/types/components/loading/Loading7.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading7.vue.d.ts +3 -25
- package/types/components/loading/Loading8.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading8.vue.d.ts +3 -25
- package/types/components/loading/Loading9.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading9.vue.d.ts +3 -25
- package/types/components/pop/PopTel.ce.vue.d.ts +10 -0
- package/types/components/pop/PopTel.vue.d.ts +10 -0
- package/types/components/svg/SVGAdd.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGAdd.vue.d.ts +7 -0
- package/types/components/svg/SVGCheck.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCheck.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.vue.d.ts +3 -28
- package/types/components/svg/SVGClose.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGClose.vue.d.ts +7 -0
- package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -32
- package/types/components/svg/SVGDelete.vue.d.ts +3 -32
- package/types/components/svg/SVGDown.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGDown.vue.d.ts +3 -29
- package/types/components/svg/SVGElement.ce.vue.d.ts +14 -38
- package/types/components/svg/SVGElement.vue.d.ts +14 -38
- package/types/components/svg/SVGEllipse.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
- package/types/components/svg/SVGFail.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGFail.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.vue.d.ts +3 -29
- package/types/components/svg/SVGSuccess.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.vue.d.ts +3 -29
- package/types/components/svg/SVGWarn.ce.vue.d.ts +9 -0
- package/types/components/svg/SVGWarn.vue.d.ts +9 -0
- package/types/components/xg/Park.ce.vue.d.ts +2 -0
- package/types/components/xg/Park.vue.d.ts +2 -0
- package/types/components/xg/XG.ce.vue.d.ts +2 -0
- package/types/components/xg/XG.vue.d.ts +2 -0
- package/types/demo_vue3.vue.d.ts +22 -58
- package/types/globalTeleport.d.ts +6 -7
- package/types/hooks/pinia/counter.d.ts +13 -0
- package/types/hooks/useSafeArea.d.ts +1 -0
- package/types/hooks/useVueRouter.d.ts +5 -14
- package/types/hooks/useVuex/modules/root.d.ts +0 -1
- package/types/hooks/useVuex/useVuex.d.ts +0 -1
- package/types/main.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyzgroup/core-vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.44",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/zyzgroup_core_vue.umd.cjs",
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite",
|
|
34
34
|
"preview": "vite preview",
|
|
35
|
-
"build": "npm run
|
|
35
|
+
"build": "npm run ce && npm run lib",
|
|
36
36
|
"lib": "vue-tsc --emitDeclarationOnly && npm run --prefix ../../../vite/ lib -- ../lib/packages/core-vue/vite.config.json",
|
|
37
37
|
"ce": "copy_ce_vue && npm run --prefix ../../../vite/ lib:ce -- ../lib/packages/core-vue/vite.ce.config.json",
|
|
38
38
|
"copy:components": "copy /src/components/ /dist/ vue",
|
|
39
39
|
"publishToNpm": "npm run build && update_package_version ./package.json && npm publish --access public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
+
"pinia": "^3.0.1",
|
|
42
43
|
"vue": "^3.5.13",
|
|
43
44
|
"vue-router": "^4.5.0",
|
|
44
45
|
"vuex": "^4.1.0"
|
package/types/App.vue.d.ts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import "@zyzgroup/core-web/dist/better.css";
|
|
2
|
-
import "@zyzgroup/core-web/dist/theme.css";
|
|
3
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>;
|
|
4
2
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import Container from "./Container.vue";
|
|
2
|
+
import SVGDown from "./svg/SVGDown.vue";
|
|
3
|
+
type __VLS_Props = {
|
|
2
4
|
initOpen?: boolean;
|
|
3
5
|
titleHeight?: string;
|
|
4
6
|
bgColor?: string;
|
|
@@ -7,74 +9,63 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
7
9
|
borderRadius?: string;
|
|
8
10
|
padding?: string;
|
|
9
11
|
duration?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const content: import("vue").Ref<any, any>;
|
|
14
|
+
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
15
|
+
declare const open: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
declare function toggleOpen(): void;
|
|
17
|
+
declare const rotate: import("vue").Ref<number, number>;
|
|
18
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
|
+
declare var __VLS_5: {}, __VLS_10: {};
|
|
20
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
21
|
+
title?: (props: typeof __VLS_5) => any;
|
|
22
|
+
} & {
|
|
23
|
+
content?: (props: typeof __VLS_10) => any;
|
|
24
|
+
}>;
|
|
25
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
26
|
+
Container: typeof Container;
|
|
27
|
+
SVGDown: typeof SVGDown;
|
|
28
|
+
content: typeof content;
|
|
29
|
+
contentMaxHeight: typeof contentMaxHeight;
|
|
30
|
+
open: typeof open;
|
|
31
|
+
toggleOpen: typeof toggleOpen;
|
|
32
|
+
rotate: typeof rotate;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
close: () => any;
|
|
35
|
+
open: () => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
37
|
+
onClose?: () => any;
|
|
38
|
+
onOpen?: () => any;
|
|
10
39
|
}>, {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
bgColor: string;
|
|
40
|
+
padding: string;
|
|
41
|
+
borderRadius: string;
|
|
14
42
|
fontColor: string;
|
|
15
43
|
borderColor: string;
|
|
16
|
-
|
|
17
|
-
padding: string;
|
|
44
|
+
bgColor: string;
|
|
18
45
|
duration: number;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
resize: (width: number, height: number) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
initOpen?: boolean;
|
|
25
|
-
titleHeight?: string;
|
|
26
|
-
bgColor?: string;
|
|
27
|
-
fontColor?: string;
|
|
28
|
-
borderColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
padding?: string;
|
|
31
|
-
duration?: number;
|
|
32
|
-
}>, {
|
|
33
46
|
initOpen: boolean;
|
|
34
47
|
titleHeight: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
duration: number;
|
|
41
|
-
}>>> & Readonly<{
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
+
close: () => any;
|
|
51
|
+
open: () => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
53
|
onClose?: () => any;
|
|
43
|
-
onResize?: (width: number, height: number) => any;
|
|
44
54
|
onOpen?: () => any;
|
|
45
55
|
}>, {
|
|
46
|
-
borderColor: string;
|
|
47
|
-
fontColor: string;
|
|
48
|
-
borderRadius: string;
|
|
49
|
-
duration: number;
|
|
50
56
|
padding: string;
|
|
57
|
+
borderRadius: string;
|
|
58
|
+
fontColor: string;
|
|
59
|
+
borderColor: string;
|
|
51
60
|
bgColor: string;
|
|
61
|
+
duration: number;
|
|
52
62
|
initOpen: boolean;
|
|
53
63
|
titleHeight: string;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
55
|
-
|
|
56
|
-
content?(_: {}): any;
|
|
57
|
-
}>;
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
58
66
|
export default _default;
|
|
59
|
-
type
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} & {};
|
|
67
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
68
68
|
new (): {
|
|
69
69
|
$slots: S;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
-
type __VLS_TypePropsToOption<T> = {
|
|
74
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
-
} : {
|
|
77
|
-
type: import('vue').PropType<T[K]>;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import Container from "./Container.vue";
|
|
2
|
+
import SVGDown from "./svg/SVGDown.vue";
|
|
3
|
+
type __VLS_Props = {
|
|
2
4
|
initOpen?: boolean;
|
|
3
5
|
titleHeight?: string;
|
|
4
6
|
bgColor?: string;
|
|
@@ -7,74 +9,63 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
7
9
|
borderRadius?: string;
|
|
8
10
|
padding?: string;
|
|
9
11
|
duration?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const content: import("vue").Ref<any, any>;
|
|
14
|
+
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
15
|
+
declare const open: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
declare function toggleOpen(): void;
|
|
17
|
+
declare const rotate: import("vue").Ref<number, number>;
|
|
18
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
|
+
declare var __VLS_5: {}, __VLS_10: {};
|
|
20
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
21
|
+
title?: (props: typeof __VLS_5) => any;
|
|
22
|
+
} & {
|
|
23
|
+
content?: (props: typeof __VLS_10) => any;
|
|
24
|
+
}>;
|
|
25
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
26
|
+
Container: typeof Container;
|
|
27
|
+
SVGDown: typeof SVGDown;
|
|
28
|
+
content: typeof content;
|
|
29
|
+
contentMaxHeight: typeof contentMaxHeight;
|
|
30
|
+
open: typeof open;
|
|
31
|
+
toggleOpen: typeof toggleOpen;
|
|
32
|
+
rotate: typeof rotate;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
close: () => any;
|
|
35
|
+
open: () => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
37
|
+
onClose?: () => any;
|
|
38
|
+
onOpen?: () => any;
|
|
10
39
|
}>, {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
bgColor: string;
|
|
40
|
+
padding: string;
|
|
41
|
+
borderRadius: string;
|
|
14
42
|
fontColor: string;
|
|
15
43
|
borderColor: string;
|
|
16
|
-
|
|
17
|
-
padding: string;
|
|
44
|
+
bgColor: string;
|
|
18
45
|
duration: number;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
resize: (width: number, height: number) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
initOpen?: boolean;
|
|
25
|
-
titleHeight?: string;
|
|
26
|
-
bgColor?: string;
|
|
27
|
-
fontColor?: string;
|
|
28
|
-
borderColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
padding?: string;
|
|
31
|
-
duration?: number;
|
|
32
|
-
}>, {
|
|
33
46
|
initOpen: boolean;
|
|
34
47
|
titleHeight: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
duration: number;
|
|
41
|
-
}>>> & Readonly<{
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
+
close: () => any;
|
|
51
|
+
open: () => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
53
|
onClose?: () => any;
|
|
43
|
-
onResize?: (width: number, height: number) => any;
|
|
44
54
|
onOpen?: () => any;
|
|
45
55
|
}>, {
|
|
46
|
-
borderColor: string;
|
|
47
|
-
fontColor: string;
|
|
48
|
-
borderRadius: string;
|
|
49
|
-
duration: number;
|
|
50
56
|
padding: string;
|
|
57
|
+
borderRadius: string;
|
|
58
|
+
fontColor: string;
|
|
59
|
+
borderColor: string;
|
|
51
60
|
bgColor: string;
|
|
61
|
+
duration: number;
|
|
52
62
|
initOpen: boolean;
|
|
53
63
|
titleHeight: string;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
55
|
-
|
|
56
|
-
content?(_: {}): any;
|
|
57
|
-
}>;
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
58
66
|
export default _default;
|
|
59
|
-
type
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} & {};
|
|
67
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
68
68
|
new (): {
|
|
69
69
|
$slots: S;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
-
type __VLS_TypePropsToOption<T> = {
|
|
74
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
-
} : {
|
|
77
|
-
type: import('vue').PropType<T[K]>;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
@@ -1,91 +1,93 @@
|
|
|
1
|
-
|
|
1
|
+
import Icon from "./Icon.vue";
|
|
2
|
+
import Loading11 from "./loading/Loading11.vue";
|
|
3
|
+
export type ButtonStylePatternType = "fullfill" | "outline" | "transparent";
|
|
4
|
+
type __VLS_Props = {
|
|
2
5
|
label?: string;
|
|
3
6
|
icon?: string;
|
|
4
|
-
iconPosition?:
|
|
7
|
+
iconPosition?: "left" | "right";
|
|
5
8
|
disabled?: boolean;
|
|
6
9
|
width?: string;
|
|
7
10
|
height?: string;
|
|
8
11
|
padding?: string;
|
|
9
12
|
fontSize?: string;
|
|
13
|
+
fontWeight?: string;
|
|
10
14
|
borderRadius?: string;
|
|
11
|
-
stylePattern?:
|
|
12
|
-
borderColor?: string;
|
|
13
|
-
bgColor?: string;
|
|
15
|
+
stylePattern?: ButtonStylePatternType;
|
|
14
16
|
fontColor?: string;
|
|
15
|
-
asyncClick?: () => Promise<void>;
|
|
16
|
-
}>, {
|
|
17
|
-
iconPosition: string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
width: string;
|
|
20
|
-
height: string;
|
|
21
|
-
padding: string;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
borderRadius: string;
|
|
24
|
-
stylePattern: string;
|
|
25
|
-
}>>, {
|
|
26
|
-
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
27
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"yz-click": () => void;
|
|
29
|
-
click: () => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
31
|
-
label?: string;
|
|
32
|
-
icon?: string;
|
|
33
|
-
iconPosition?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
width?: string;
|
|
36
|
-
height?: string;
|
|
37
|
-
padding?: string;
|
|
38
|
-
fontSize?: string;
|
|
39
|
-
borderRadius?: string;
|
|
40
|
-
stylePattern?: "fullfilled" | "outline";
|
|
41
17
|
borderColor?: string;
|
|
42
18
|
bgColor?: string;
|
|
43
|
-
|
|
19
|
+
bgColorStart?: string;
|
|
20
|
+
bgColorEnd?: string;
|
|
44
21
|
asyncClick?: () => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
25
|
+
declare const borderColor: import("vue").Ref<string, string>;
|
|
26
|
+
declare const bgColor: import("vue").Ref<string, string>;
|
|
27
|
+
declare const opacity: import("vue").Ref<string, string>;
|
|
28
|
+
declare const cursor: import("vue").Ref<string, string>;
|
|
29
|
+
declare const mouseover: () => void;
|
|
30
|
+
declare const mouseleave: () => void;
|
|
31
|
+
declare const asyncClickPending: import("vue").Ref<boolean, boolean>;
|
|
32
|
+
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
33
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
34
|
+
declare var __VLS_4: {};
|
|
35
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
36
|
+
default?: (props: typeof __VLS_4) => any;
|
|
37
|
+
}>;
|
|
38
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
39
|
+
Icon: typeof Icon;
|
|
40
|
+
Loading11: typeof Loading11;
|
|
41
|
+
el: typeof el;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
43
|
+
borderColor: typeof borderColor;
|
|
44
|
+
bgColor: typeof bgColor;
|
|
45
|
+
opacity: typeof opacity;
|
|
46
|
+
cursor: typeof cursor;
|
|
47
|
+
mouseover: typeof mouseover;
|
|
48
|
+
mouseleave: typeof mouseleave;
|
|
49
|
+
asyncClickPending: typeof asyncClickPending;
|
|
50
|
+
throttleClick: typeof throttleClick;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
52
|
+
click: () => any;
|
|
53
|
+
"yz-click": () => any;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
|
+
onClick?: () => any;
|
|
56
|
+
"onYz-click"?: () => any;
|
|
45
57
|
}>, {
|
|
46
|
-
iconPosition: string;
|
|
47
|
-
disabled: boolean;
|
|
48
58
|
width: string;
|
|
49
59
|
height: string;
|
|
60
|
+
iconPosition: "left" | "right";
|
|
61
|
+
disabled: boolean;
|
|
50
62
|
padding: string;
|
|
51
63
|
fontSize: string;
|
|
64
|
+
fontWeight: string;
|
|
52
65
|
borderRadius: string;
|
|
53
|
-
stylePattern:
|
|
54
|
-
}
|
|
66
|
+
stylePattern: ButtonStylePatternType;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
69
|
+
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
70
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
71
|
+
click: () => any;
|
|
72
|
+
"yz-click": () => any;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
74
|
onClick?: () => any;
|
|
56
75
|
"onYz-click"?: () => any;
|
|
57
76
|
}>, {
|
|
58
|
-
height: string;
|
|
59
|
-
borderRadius: string;
|
|
60
77
|
width: string;
|
|
61
|
-
|
|
78
|
+
height: string;
|
|
79
|
+
iconPosition: "left" | "right";
|
|
62
80
|
disabled: boolean;
|
|
63
81
|
padding: string;
|
|
64
82
|
fontSize: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}>;
|
|
83
|
+
fontWeight: string;
|
|
84
|
+
borderRadius: string;
|
|
85
|
+
stylePattern: ButtonStylePatternType;
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
69
88
|
export default _default;
|
|
70
|
-
type
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
-
default: D[K];
|
|
73
|
-
}> : P[K];
|
|
74
|
-
};
|
|
75
|
-
type __VLS_Prettify<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
78
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
89
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
90
|
new (): {
|
|
80
91
|
$slots: S;
|
|
81
92
|
};
|
|
82
93
|
};
|
|
83
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
84
|
-
type __VLS_TypePropsToOption<T> = {
|
|
85
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
87
|
-
} : {
|
|
88
|
-
type: import('vue').PropType<T[K]>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
@@ -1,91 +1,93 @@
|
|
|
1
|
-
|
|
1
|
+
import Icon from "./Icon.vue";
|
|
2
|
+
import Loading11 from "./loading/Loading11.vue";
|
|
3
|
+
export type ButtonStylePatternType = "fullfill" | "outline" | "transparent";
|
|
4
|
+
type __VLS_Props = {
|
|
2
5
|
label?: string;
|
|
3
6
|
icon?: string;
|
|
4
|
-
iconPosition?:
|
|
7
|
+
iconPosition?: "left" | "right";
|
|
5
8
|
disabled?: boolean;
|
|
6
9
|
width?: string;
|
|
7
10
|
height?: string;
|
|
8
11
|
padding?: string;
|
|
9
12
|
fontSize?: string;
|
|
13
|
+
fontWeight?: string;
|
|
10
14
|
borderRadius?: string;
|
|
11
|
-
stylePattern?:
|
|
12
|
-
borderColor?: string;
|
|
13
|
-
bgColor?: string;
|
|
15
|
+
stylePattern?: ButtonStylePatternType;
|
|
14
16
|
fontColor?: string;
|
|
15
|
-
asyncClick?: () => Promise<void>;
|
|
16
|
-
}>, {
|
|
17
|
-
iconPosition: string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
width: string;
|
|
20
|
-
height: string;
|
|
21
|
-
padding: string;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
borderRadius: string;
|
|
24
|
-
stylePattern: string;
|
|
25
|
-
}>>, {
|
|
26
|
-
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
27
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"yz-click": () => void;
|
|
29
|
-
click: () => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
31
|
-
label?: string;
|
|
32
|
-
icon?: string;
|
|
33
|
-
iconPosition?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
width?: string;
|
|
36
|
-
height?: string;
|
|
37
|
-
padding?: string;
|
|
38
|
-
fontSize?: string;
|
|
39
|
-
borderRadius?: string;
|
|
40
|
-
stylePattern?: "fullfilled" | "outline";
|
|
41
17
|
borderColor?: string;
|
|
42
18
|
bgColor?: string;
|
|
43
|
-
|
|
19
|
+
bgColorStart?: string;
|
|
20
|
+
bgColorEnd?: string;
|
|
44
21
|
asyncClick?: () => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
25
|
+
declare const borderColor: import("vue").Ref<string, string>;
|
|
26
|
+
declare const bgColor: import("vue").Ref<string, string>;
|
|
27
|
+
declare const opacity: import("vue").Ref<string, string>;
|
|
28
|
+
declare const cursor: import("vue").Ref<string, string>;
|
|
29
|
+
declare const mouseover: () => void;
|
|
30
|
+
declare const mouseleave: () => void;
|
|
31
|
+
declare const asyncClickPending: import("vue").Ref<boolean, boolean>;
|
|
32
|
+
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
33
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
34
|
+
declare var __VLS_4: {};
|
|
35
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
36
|
+
default?: (props: typeof __VLS_4) => any;
|
|
37
|
+
}>;
|
|
38
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
39
|
+
Icon: typeof Icon;
|
|
40
|
+
Loading11: typeof Loading11;
|
|
41
|
+
el: typeof el;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
43
|
+
borderColor: typeof borderColor;
|
|
44
|
+
bgColor: typeof bgColor;
|
|
45
|
+
opacity: typeof opacity;
|
|
46
|
+
cursor: typeof cursor;
|
|
47
|
+
mouseover: typeof mouseover;
|
|
48
|
+
mouseleave: typeof mouseleave;
|
|
49
|
+
asyncClickPending: typeof asyncClickPending;
|
|
50
|
+
throttleClick: typeof throttleClick;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
52
|
+
click: () => any;
|
|
53
|
+
"yz-click": () => any;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
|
+
onClick?: () => any;
|
|
56
|
+
"onYz-click"?: () => any;
|
|
45
57
|
}>, {
|
|
46
|
-
iconPosition: string;
|
|
47
|
-
disabled: boolean;
|
|
48
58
|
width: string;
|
|
49
59
|
height: string;
|
|
60
|
+
iconPosition: "left" | "right";
|
|
61
|
+
disabled: boolean;
|
|
50
62
|
padding: string;
|
|
51
63
|
fontSize: string;
|
|
64
|
+
fontWeight: string;
|
|
52
65
|
borderRadius: string;
|
|
53
|
-
stylePattern:
|
|
54
|
-
}
|
|
66
|
+
stylePattern: ButtonStylePatternType;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
69
|
+
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
70
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
71
|
+
click: () => any;
|
|
72
|
+
"yz-click": () => any;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
74
|
onClick?: () => any;
|
|
56
75
|
"onYz-click"?: () => any;
|
|
57
76
|
}>, {
|
|
58
|
-
height: string;
|
|
59
|
-
borderRadius: string;
|
|
60
77
|
width: string;
|
|
61
|
-
|
|
78
|
+
height: string;
|
|
79
|
+
iconPosition: "left" | "right";
|
|
62
80
|
disabled: boolean;
|
|
63
81
|
padding: string;
|
|
64
82
|
fontSize: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}>;
|
|
83
|
+
fontWeight: string;
|
|
84
|
+
borderRadius: string;
|
|
85
|
+
stylePattern: ButtonStylePatternType;
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
69
88
|
export default _default;
|
|
70
|
-
type
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
-
default: D[K];
|
|
73
|
-
}> : P[K];
|
|
74
|
-
};
|
|
75
|
-
type __VLS_Prettify<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
78
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
89
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
90
|
new (): {
|
|
80
91
|
$slots: S;
|
|
81
92
|
};
|
|
82
93
|
};
|
|
83
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
84
|
-
type __VLS_TypePropsToOption<T> = {
|
|
85
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
87
|
-
} : {
|
|
88
|
-
type: import('vue').PropType<T[K]>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
import { YZCanvas } from "@zyzgroup/core-web";
|
|
2
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
};
|