rx-compo 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/entry/types/index.d.ts +6 -0
- package/es/components/RxButton/index.d.ts +16 -0
- package/es/components/RxButton/index.js +1834 -0
- package/es/components/RxButton/src/button.d.ts +8 -0
- package/es/components/RxButton/src/button.vue.d.ts +15 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +13 -0
- package/index.esm.js +1854 -0
- package/index.js +1863 -0
- package/lib/components/RxButton/index.d.ts +16 -0
- package/lib/components/RxButton/index.js +1839 -0
- package/lib/components/RxButton/src/button.d.ts +8 -0
- package/lib/components/RxButton/src/button.vue.d.ts +15 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +14 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +42 -0
- package/package.json +16 -0
- package/types/components/RxButton/index.d.ts +16 -0
- package/types/components/RxButton/src/button.d.ts +8 -0
- package/types/components/RxButton/src/button.vue.d.ts +15 -0
- package/types/components/index.d.ts +1 -0
- package/types/utils/with-install.d.ts +3 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export declare const buttonProps: {
|
|
3
|
+
type: {
|
|
4
|
+
type: PropType<"" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: import("vue").PropType<"" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
handlerClick: () => void;
|
|
8
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
9
|
+
type?: unknown;
|
|
10
|
+
} & {
|
|
11
|
+
type: "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger";
|
|
12
|
+
} & {}>, {
|
|
13
|
+
type: "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger";
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RxButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RxButton';
|
package/es/index.d.ts
ADDED
package/es/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as components from 'rx-compo/es/components';
|
|
2
|
+
export * from 'rx-compo/es/components';
|
|
3
|
+
|
|
4
|
+
const install = (app) => {
|
|
5
|
+
Object.entries(components).forEach(([name, component]) => {
|
|
6
|
+
app.component(name, component);
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
var index = {
|
|
10
|
+
install
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { index as default };
|