Skip to content

Commit

Permalink
chore: generate dts
Browse files Browse the repository at this point in the history
  • Loading branch information
spx443812507 committed Mar 23, 2023
1 parent bcdf331 commit 37e03f8
Show file tree
Hide file tree
Showing 66 changed files with 563 additions and 805 deletions.
14 changes: 7 additions & 7 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ace-builds": "^1.8.1",
"axios": "^0.23.0",
"element-plus": "2.3.0",
"giantgo-render": "1.4.1",
"giantgo-render": "1.4.2",
"vue": "^3.2.37"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/giantgo-render/dist/giantgo-render.es.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './packages/giantgo-render/src/main'
import giantgo-render from './packages/giantgo-render/src/main'
export default giantgo-render
import GiantgoRender from './packages/giantgo-render/src/main'
export default GiantgoRender
2 changes: 1 addition & 1 deletion packages/giantgo-render/dist/giantgo-render.umd.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from '.pnpm/@[email protected]/node_modules/@vue/runtime-core';
export default _sfc_main;
declare const _sfc_main: import("vue").DefineComponent<{
declare const _sfc_main: DefineComponent<{
modelValue: {
type: StringConstructor;
required: true;
Expand All @@ -26,7 +27,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
focus(): void;
blur(): void;
selectAll(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, ComponentOptionsMixin, ComponentOptionsMixin, string[], string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
modelValue: {
type: StringConstructor;
required: true;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { FormDesign } from '@giantgo-render/tokens';
export declare const inputs: Array<FormDesign>;
export declare const pickers: Array<FormDesign>;
export declare const complexs: Array<FormDesign>;
export declare const matrixs: Array<FormDesign>;
export declare const objectLayout: FormDesign;
export declare const assists: Array<FormDesign>;
export declare const layouts: Array<FormDesign>;
export declare const form: FormDesign;
export declare const optionKeyLabels: Record<string, string>;
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -15,7 +16,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -27,7 +28,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -15,7 +16,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -27,7 +28,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -18,11 +19,11 @@ declare namespace _sfc_main {
items: never[];
};
state: any;
rows: import("vue").Ref<{
rows: Ref<{
label: string;
value: string;
}[]>;
columns: import("vue").Ref<{
columns: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -42,11 +43,11 @@ declare namespace _sfc_main {
items: never[];
};
state: any;
rows: import("vue").Ref<{
rows: Ref<{
label: string;
value: string;
}[]>;
columns: import("vue").Ref<{
columns: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -15,11 +16,11 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
rows: import("vue").Ref<{
rows: Ref<{
label: string;
value: string;
}[]>;
columns: import("vue").Ref<{
columns: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -31,11 +32,11 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
rows: import("vue").Ref<{
rows: Ref<{
label: string;
value: string;
}[]>;
columns: import("vue").Ref<{
columns: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -15,7 +16,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -27,7 +28,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from '.pnpm/@[email protected]/node_modules/@vue/runtime-core';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand Down Expand Up @@ -27,7 +28,7 @@ declare namespace _sfc_main {
add: (evt: any) => any;
dragStart: (evt: any) => any;
updateItems: (items: any) => any;
draggable: import("vue").DefineComponent<{
draggable: DefineComponent<{
list: {
type: ArrayConstructor;
required: boolean;
Expand Down Expand Up @@ -83,7 +84,7 @@ declare namespace _sfc_main {
computeFutureIndex(relatedContext: any, evt: any): any;
onDragMove(evt: any, originalEvent: any): any;
onDragEnd(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
}, ComponentOptionsMixin, ComponentOptionsMixin, any[], any, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
move: Function;
tag: string;
clone: Function;
Expand Down Expand Up @@ -111,7 +112,7 @@ declare namespace _sfc_main {
add: (evt: any) => any;
dragStart: (evt: any) => any;
updateItems: (items: any) => any;
draggable: import("vue").DefineComponent<{
draggable: DefineComponent<{
list: {
type: ArrayConstructor;
required: boolean;
Expand Down Expand Up @@ -167,7 +168,7 @@ declare namespace _sfc_main {
computeFutureIndex(relatedContext: any, evt: any): any;
onDragMove(evt: any, originalEvent: any): any;
onDragEnd(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
}, ComponentOptionsMixin, ComponentOptionsMixin, any[], any, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
move: Function;
tag: string;
clone: Function;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { Ref } from '@vue/reactivity';
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
Expand All @@ -15,7 +16,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand All @@ -27,7 +28,7 @@ declare namespace _sfc_main {
}): {
props: any;
state: any;
items: import("vue").Ref<{
items: Ref<{
label: string;
value: string;
}[]>;
Expand Down
Loading

0 comments on commit 37e03f8

Please sign in to comment.