rx-compo 1.0.2 → 1.0.51
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/es/components/RxButton/index.d.ts +1 -14
- package/es/utils/with-install.d.ts +3 -0
- package/es/utils/with-install.js +6 -0
- package/lib/components/RxButton/index.d.ts +1 -14
- package/lib/utils/with-install.d.ts +3 -0
- package/lib/utils/with-install.js +10 -0
- package/package.json +1 -1
- package/types/components/RxButton/index.d.ts +1 -14
- package/types/utils/with-install.d.ts +2 -2
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
declare const WButton: import("
|
|
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
|
-
}>>;
|
|
1
|
+
declare const WButton: import("@vue/runtime-core").Plugin;
|
|
15
2
|
export { WButton };
|
|
16
3
|
export default WButton;
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
declare const WButton: import("
|
|
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
|
-
}>>;
|
|
1
|
+
declare const WButton: import("@vue/runtime-core").Plugin;
|
|
15
2
|
export { WButton };
|
|
16
3
|
export default WButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true })
|
|
3
|
+
exports.withInstall = void 0
|
|
4
|
+
const withInstall = (comp) => {
|
|
5
|
+
comp.install = function (app) {
|
|
6
|
+
app.component(comp.name, comp)
|
|
7
|
+
}
|
|
8
|
+
return comp
|
|
9
|
+
}
|
|
10
|
+
exports.withInstall = withInstall
|
package/package.json
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
declare const WButton: import("
|
|
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
|
-
}>>;
|
|
1
|
+
declare const WButton: import("@vue/runtime-core").Plugin;
|
|
15
2
|
export { WButton };
|
|
16
3
|
export default WButton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Plugin } from
|
|
1
|
+
import type { Plugin } from 'vue';
|
|
2
2
|
export declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const withInstall: <T>(comp:
|
|
3
|
+
export declare const withInstall: <T>(comp: any) => SFCWithInstall<T>;
|