formax_sgj-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +35 -0
- package/dist/index.global.js +36231 -0
- package/dist/index.js +140 -0
- package/dist/index.mjs +116 -0
- package/docs/index.html +252 -0
- package/package.json +29 -0
- package/src/components/FormaxButton.ts +75 -0
- package/src/index.ts +31 -0
- package/src/types.ts +27 -0
- package/tsconfig.json +13 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface PropMeta {
|
|
2
|
+
type: string;
|
|
3
|
+
default?: any;
|
|
4
|
+
description: string;
|
|
5
|
+
options?: string[];
|
|
6
|
+
}
|
|
7
|
+
interface EventMeta {
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
payload?: string;
|
|
11
|
+
}
|
|
12
|
+
interface ComponentMeta {
|
|
13
|
+
name: string;
|
|
14
|
+
label: string;
|
|
15
|
+
description: string;
|
|
16
|
+
props: Record<string, PropMeta>;
|
|
17
|
+
events: EventMeta[];
|
|
18
|
+
slots?: string[];
|
|
19
|
+
usage: string;
|
|
20
|
+
}
|
|
21
|
+
type FormaxComponent = any & {
|
|
22
|
+
__doc_meta__?: ComponentMeta;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
declare const FormaxButton: FormaxComponent;
|
|
26
|
+
|
|
27
|
+
declare function install(app: any): void;
|
|
28
|
+
declare const componentList: ComponentMeta[];
|
|
29
|
+
|
|
30
|
+
declare const _default: {
|
|
31
|
+
install: typeof install;
|
|
32
|
+
componentList: ComponentMeta[];
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { ComponentMeta, EventMeta, FormaxButton, FormaxComponent, PropMeta, componentList, _default as default, install };
|