@cgboiler/biz-mobile 1.1.0 → 1.1.2
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/index.d.ts +3 -3
- package/es/index.js +2 -6
- package/lib/index.d.ts +3 -3
- package/lib/index.js +14 -8
- package/package.json +1 -1
- package/es/button/Button.d.ts +0 -9
- package/es/button/Button.js +0 -31
- package/es/button/_atomic.css +0 -35
- package/es/button/index.css +0 -1
- package/es/button/index.d.ts +0 -3
- package/es/button/index.js +0 -5
- package/es/button/index.less +0 -3
- package/es/button/style/index.d.ts +0 -1
- package/es/button/style/index.js +0 -1
- package/es/button/style/less.d.ts +0 -1
- package/es/button/style/less.js +0 -1
- package/es/button/types.d.ts +0 -5
- package/es/button/types.js +0 -6
- package/lib/button/Button.d.ts +0 -9
- package/lib/button/Button.js +0 -50
- package/lib/button/_atomic.css +0 -35
- package/lib/button/index.css +0 -1
- package/lib/button/index.d.ts +0 -3
- package/lib/button/index.js +0 -34
- package/lib/button/index.less +0 -3
- package/lib/button/style/index.d.ts +0 -1
- package/lib/button/style/index.js +0 -1
- package/lib/button/style/less.d.ts +0 -1
- package/lib/button/style/less.js +0 -1
- package/lib/button/types.d.ts +0 -5
- package/lib/button/types.js +0 -25
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./button";
|
|
2
1
|
export * from "./project-select";
|
|
3
2
|
declare namespace _default {
|
|
4
3
|
export { install };
|
|
@@ -6,5 +5,6 @@ declare namespace _default {
|
|
|
6
5
|
}
|
|
7
6
|
export default _default;
|
|
8
7
|
export function install(app: any): void;
|
|
9
|
-
export const version: "1.
|
|
10
|
-
|
|
8
|
+
export const version: "1.1.1";
|
|
9
|
+
import ProjectSelect from './project-select';
|
|
10
|
+
export { ProjectSelect };
|
package/es/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const version = "1.0.0";
|
|
1
|
+
import ProjectSelect from "./project-select";
|
|
2
|
+
const version = "1.1.1";
|
|
4
3
|
function install(app) {
|
|
5
4
|
const components = [
|
|
6
|
-
Button,
|
|
7
5
|
ProjectSelect
|
|
8
6
|
];
|
|
9
7
|
components.forEach((item) => {
|
|
@@ -14,14 +12,12 @@ function install(app) {
|
|
|
14
12
|
}
|
|
15
13
|
});
|
|
16
14
|
}
|
|
17
|
-
export * from "./button";
|
|
18
15
|
export * from "./project-select";
|
|
19
16
|
var stdin_default = {
|
|
20
17
|
install,
|
|
21
18
|
version
|
|
22
19
|
};
|
|
23
20
|
export {
|
|
24
|
-
Button,
|
|
25
21
|
ProjectSelect,
|
|
26
22
|
stdin_default as default,
|
|
27
23
|
install,
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./button";
|
|
2
1
|
export * from "./project-select";
|
|
3
2
|
declare namespace _default {
|
|
4
3
|
export { install };
|
|
@@ -6,5 +5,6 @@ declare namespace _default {
|
|
|
6
5
|
}
|
|
7
6
|
export default _default;
|
|
8
7
|
export function install(app: any): void;
|
|
9
|
-
export const version: "1.
|
|
10
|
-
|
|
8
|
+
export const version: "1.1.1";
|
|
9
|
+
import ProjectSelect from './project-select';
|
|
10
|
+
export { ProjectSelect };
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -15,25 +17,29 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
17
19
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
var stdin_exports = {};
|
|
20
30
|
__export(stdin_exports, {
|
|
21
|
-
|
|
22
|
-
ProjectSelect: () => import_project_select.ProjectSelect,
|
|
31
|
+
ProjectSelect: () => import_project_select.default,
|
|
23
32
|
default: () => stdin_default,
|
|
24
33
|
install: () => install,
|
|
25
34
|
version: () => version
|
|
26
35
|
});
|
|
27
36
|
module.exports = __toCommonJS(stdin_exports);
|
|
28
|
-
var
|
|
29
|
-
var import_project_select = require("./project-select");
|
|
30
|
-
__reExport(stdin_exports, require("./button"), module.exports);
|
|
37
|
+
var import_project_select = __toESM(require("./project-select"));
|
|
31
38
|
__reExport(stdin_exports, require("./project-select"), module.exports);
|
|
32
|
-
const version = "1.
|
|
39
|
+
const version = "1.1.1";
|
|
33
40
|
function install(app) {
|
|
34
41
|
const components = [
|
|
35
|
-
|
|
36
|
-
import_project_select.ProjectSelect
|
|
42
|
+
import_project_select.default
|
|
37
43
|
];
|
|
38
44
|
components.forEach((item) => {
|
|
39
45
|
if (item.install) {
|
package/package.json
CHANGED
package/es/button/Button.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
}>> & Readonly<{
|
|
7
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
export default _default;
|
package/es/button/Button.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
|
2
|
-
import "./_atomic.css";
|
|
3
|
-
import { defineComponent } from "vue";
|
|
4
|
-
import { buttonProps } from "./types";
|
|
5
|
-
import { ElButton } from "element-plus";
|
|
6
|
-
import "./index.css";
|
|
7
|
-
var stdin_default = defineComponent({
|
|
8
|
-
name: "DemoButton",
|
|
9
|
-
props: buttonProps,
|
|
10
|
-
emits: ["click"],
|
|
11
|
-
setup(props, {
|
|
12
|
-
emit,
|
|
13
|
-
slots
|
|
14
|
-
}) {
|
|
15
|
-
return () => {
|
|
16
|
-
var _a;
|
|
17
|
-
return _createVNode("div", {
|
|
18
|
-
"class": "cg-atm"
|
|
19
|
-
}, [_createVNode("button", {
|
|
20
|
-
"class": "demo-button w-[120px] p-2"
|
|
21
|
-
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), _createVNode(ElButton, {
|
|
22
|
-
"type": "primary"
|
|
23
|
-
}, {
|
|
24
|
-
default: () => [_createTextVNode("123")]
|
|
25
|
-
})]);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
export {
|
|
30
|
-
stdin_default as default
|
|
31
|
-
};
|
package/es/button/_atomic.css
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.cgx-atm .flex {
|
|
3
|
-
align-items: initial;
|
|
4
|
-
flex-direction: initial;
|
|
5
|
-
justify-content: initial;
|
|
6
|
-
flex-wrap: initial;
|
|
7
|
-
}
|
|
8
|
-
.cgx-atm .flex-row {
|
|
9
|
-
flex-direction: row;
|
|
10
|
-
}
|
|
11
|
-
.cgx-atm .flex-col {
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
.cgx-atm .justify-center {
|
|
15
|
-
justify-content: center;
|
|
16
|
-
}
|
|
17
|
-
.cgx-atm .justify-between {
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
}
|
|
20
|
-
.cgx-atm .justify-around {
|
|
21
|
-
justify-content: space-around;
|
|
22
|
-
}
|
|
23
|
-
.cgx-atm .justify-end {
|
|
24
|
-
justify-content: flex-end;
|
|
25
|
-
}
|
|
26
|
-
.cgx-atm .items-center {
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
.cgx-atm .flex-wrap {
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* layer: default */
|
|
34
|
-
.cgx-atm .w-\[120px\]{width:120px;}
|
|
35
|
-
.cgx-atm .p-2{padding:0.5rem;}
|
package/es/button/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.a-b{color:#abcdef}
|
package/es/button/index.d.ts
DELETED
package/es/button/index.js
DELETED
package/es/button/index.less
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/es/button/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../index.css";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/es/button/style/less.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../index.less";
|
package/es/button/types.d.ts
DELETED
package/es/button/types.js
DELETED
package/lib/button/Button.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
}>> & Readonly<{
|
|
7
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
export default _default;
|
package/lib/button/Button.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var stdin_exports = {};
|
|
19
|
-
__export(stdin_exports, {
|
|
20
|
-
default: () => stdin_default
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
-
var import_vue = require("vue");
|
|
24
|
-
var import_atomic = require("./_atomic.css");
|
|
25
|
-
var import_vue2 = require("vue");
|
|
26
|
-
var import_types = require("./types");
|
|
27
|
-
var import_element_plus = require("element-plus");
|
|
28
|
-
var import_index = require("./index.css");
|
|
29
|
-
var stdin_default = (0, import_vue2.defineComponent)({
|
|
30
|
-
name: "DemoButton",
|
|
31
|
-
props: import_types.buttonProps,
|
|
32
|
-
emits: ["click"],
|
|
33
|
-
setup(props, {
|
|
34
|
-
emit,
|
|
35
|
-
slots
|
|
36
|
-
}) {
|
|
37
|
-
return () => {
|
|
38
|
-
var _a;
|
|
39
|
-
return (0, import_vue.createVNode)("div", {
|
|
40
|
-
"class": "cg-atm"
|
|
41
|
-
}, [(0, import_vue.createVNode)("button", {
|
|
42
|
-
"class": "demo-button w-[120px] p-2"
|
|
43
|
-
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), (0, import_vue.createVNode)(import_element_plus.ElButton, {
|
|
44
|
-
"type": "primary"
|
|
45
|
-
}, {
|
|
46
|
-
default: () => [(0, import_vue.createTextVNode)("123")]
|
|
47
|
-
})]);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
});
|
package/lib/button/_atomic.css
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.cgx-atm .flex {
|
|
3
|
-
align-items: initial;
|
|
4
|
-
flex-direction: initial;
|
|
5
|
-
justify-content: initial;
|
|
6
|
-
flex-wrap: initial;
|
|
7
|
-
}
|
|
8
|
-
.cgx-atm .flex-row {
|
|
9
|
-
flex-direction: row;
|
|
10
|
-
}
|
|
11
|
-
.cgx-atm .flex-col {
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
.cgx-atm .justify-center {
|
|
15
|
-
justify-content: center;
|
|
16
|
-
}
|
|
17
|
-
.cgx-atm .justify-between {
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
}
|
|
20
|
-
.cgx-atm .justify-around {
|
|
21
|
-
justify-content: space-around;
|
|
22
|
-
}
|
|
23
|
-
.cgx-atm .justify-end {
|
|
24
|
-
justify-content: flex-end;
|
|
25
|
-
}
|
|
26
|
-
.cgx-atm .items-center {
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
.cgx-atm .flex-wrap {
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* layer: default */
|
|
34
|
-
.cgx-atm .w-\[120px\]{width:120px;}
|
|
35
|
-
.cgx-atm .p-2{padding:0.5rem;}
|
package/lib/button/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.a-b{color:#abcdef}
|
package/lib/button/index.d.ts
DELETED
package/lib/button/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
var stdin_exports = {};
|
|
29
|
-
__export(stdin_exports, {
|
|
30
|
-
default: () => stdin_default
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(stdin_exports);
|
|
33
|
-
var import_Button = __toESM(require("./Button"));
|
|
34
|
-
var stdin_default = import_Button.default;
|
package/lib/button/index.less
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("../index.css");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/button/style/less.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("../index.less");
|
package/lib/button/types.d.ts
DELETED
package/lib/button/types.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var stdin_exports = {};
|
|
19
|
-
__export(stdin_exports, {
|
|
20
|
-
buttonProps: () => buttonProps
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
-
const buttonProps = {
|
|
24
|
-
type: String
|
|
25
|
-
};
|