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,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var RxButton = require('./RxButton');
6
+
7
+
8
+
9
+ Object.keys(RxButton).forEach(function (k) {
10
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
11
+ enumerable: true,
12
+ get: function () { return RxButton[k]; }
13
+ });
14
+ });
package/lib/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/lib/index.js ADDED
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var components = require('rx-compo/lib/components');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var components__namespace = /*#__PURE__*/_interopNamespace(components);
26
+
27
+ const install = (app) => {
28
+ Object.entries(components__namespace).forEach(([name, component]) => {
29
+ app.component(name, component);
30
+ });
31
+ };
32
+ var index = {
33
+ install
34
+ };
35
+
36
+ exports["default"] = index;
37
+ Object.keys(components).forEach(function (k) {
38
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
39
+ enumerable: true,
40
+ get: function () { return components[k]; }
41
+ });
42
+ });
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "rx-compo",
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "description": "",
6
+ "main": "lib/index.js",
7
+ "module": "es/index.js",
8
+ "scripts": {
9
+ "test": "echo \"Error: no test specified\" && exit 1"
10
+ },
11
+ "author": "",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "element-plus": "^1.1.0-beta.24"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ declare const WButton: import("rx-compo/es/utils/with-install").SFCWithInstall<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 { WButton };
16
+ export default WButton;
@@ -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,3 @@
1
+ import type { Plugin } from "vue";
2
+ export declare type SFCWithInstall<T> = T & Plugin;
3
+ export declare const withInstall: <T>(comp: T) => SFCWithInstall<T>;