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.
@@ -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
@@ -0,0 +1,6 @@
1
+ import type { App } from 'vue';
2
+ declare const _default: {
3
+ install: (app: App<any>) => void;
4
+ };
5
+ export default _default;
6
+ export * from './components';
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 };