@cgboiler/biz-mobile 1.0.0 → 1.1.1

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.
Files changed (64) hide show
  1. package/es/index.d.ts +3 -4
  2. package/es/index.js +5 -9
  3. package/es/{project-list/ProjectList.js → project-select/ProjectSelect.js} +1 -1
  4. package/es/project-select/index.d.ts +3 -0
  5. package/es/project-select/index.js +5 -0
  6. package/{lib/project-list → es/project-select}/types.d.ts +1 -1
  7. package/lib/index.d.ts +3 -4
  8. package/lib/index.js +5 -9
  9. package/lib/{project-list/ProjectList.js → project-select/ProjectSelect.js} +1 -1
  10. package/lib/project-select/index.d.ts +3 -0
  11. package/lib/{button → project-select}/index.js +2 -2
  12. package/{es/project-list → lib/project-select}/types.d.ts +1 -1
  13. package/package.json +1 -1
  14. package/es/button/Button.d.ts +0 -9
  15. package/es/button/Button.js +0 -31
  16. package/es/button/_atomic.css +0 -35
  17. package/es/button/index.css +0 -1
  18. package/es/button/index.d.ts +0 -3
  19. package/es/button/index.js +0 -5
  20. package/es/button/index.less +0 -3
  21. package/es/button/types.d.ts +0 -5
  22. package/es/button/types.js +0 -6
  23. package/es/project-list/index.d.ts +0 -3
  24. package/es/project-list/index.js +0 -5
  25. package/es/project-list/style/index.js +0 -1
  26. package/es/project-list/style/less.js +0 -1
  27. package/lib/button/Button.d.ts +0 -9
  28. package/lib/button/Button.js +0 -50
  29. package/lib/button/_atomic.css +0 -35
  30. package/lib/button/index.css +0 -1
  31. package/lib/button/index.d.ts +0 -3
  32. package/lib/button/index.less +0 -3
  33. package/lib/button/style/index.d.ts +0 -1
  34. package/lib/button/style/less.d.ts +0 -1
  35. package/lib/button/types.d.ts +0 -5
  36. package/lib/button/types.js +0 -25
  37. package/lib/project-list/index.d.ts +0 -3
  38. package/lib/project-list/index.js +0 -34
  39. package/lib/project-list/style/index.d.ts +0 -1
  40. package/lib/project-list/style/index.js +0 -1
  41. package/lib/project-list/style/less.d.ts +0 -1
  42. package/lib/project-list/style/less.js +0 -1
  43. /package/es/{project-list/ProjectList.d.ts → project-select/ProjectSelect.d.ts} +0 -0
  44. /package/es/{project-list → project-select}/_atomic.css +0 -0
  45. /package/es/{project-list → project-select}/index.css +0 -0
  46. /package/es/{project-list → project-select}/index.less +0 -0
  47. /package/es/{button → project-select}/style/index.d.ts +0 -0
  48. /package/es/{button → project-select}/style/index.js +0 -0
  49. /package/es/{button → project-select}/style/less.d.ts +0 -0
  50. /package/es/{button → project-select}/style/less.js +0 -0
  51. /package/es/{project-list → project-select}/types.js +0 -0
  52. /package/es/{project-list → project-select}/useApi.d.ts +0 -0
  53. /package/es/{project-list → project-select}/useApi.js +0 -0
  54. /package/lib/{project-list/ProjectList.d.ts → project-select/ProjectSelect.d.ts} +0 -0
  55. /package/lib/{project-list → project-select}/_atomic.css +0 -0
  56. /package/lib/{project-list → project-select}/index.css +0 -0
  57. /package/lib/{project-list → project-select}/index.less +0 -0
  58. /package/{es/project-list → lib/project-select}/style/index.d.ts +0 -0
  59. /package/lib/{button → project-select}/style/index.js +0 -0
  60. /package/{es/project-list → lib/project-select}/style/less.d.ts +0 -0
  61. /package/lib/{button → project-select}/style/less.js +0 -0
  62. /package/lib/{project-list → project-select}/types.js +0 -0
  63. /package/lib/{project-list → project-select}/useApi.d.ts +0 -0
  64. /package/lib/{project-list → project-select}/useApi.js +0 -0
package/es/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- export * from "./button";
2
- export * from "./project-list";
1
+ export * from "./project-select";
3
2
  declare namespace _default {
4
3
  export { install };
5
4
  export { version };
6
5
  }
7
6
  export default _default;
8
7
  export function install(app: any): void;
9
- export const version: "0.1.0";
10
- export { Button, ProjectList };
8
+ export const version: "1.1.0";
9
+ export { ProjectSelect };
package/es/index.js CHANGED
@@ -1,10 +1,8 @@
1
- import { Button } from "./button";
2
- import { ProjectList } from "./project-list";
3
- const version = "0.1.0";
1
+ import { ProjectSelect } from "./project-select";
2
+ const version = "1.1.0";
4
3
  function install(app) {
5
4
  const components = [
6
- Button,
7
- ProjectList
5
+ ProjectSelect
8
6
  ];
9
7
  components.forEach((item) => {
10
8
  if (item.install) {
@@ -14,15 +12,13 @@ function install(app) {
14
12
  }
15
13
  });
16
14
  }
17
- export * from "./button";
18
- export * from "./project-list";
15
+ export * from "./project-select";
19
16
  var stdin_default = {
20
17
  install,
21
18
  version
22
19
  };
23
20
  export {
24
- Button,
25
- ProjectList,
21
+ ProjectSelect,
26
22
  stdin_default as default,
27
23
  install,
28
24
  version
@@ -6,7 +6,7 @@ import { projectListProps } from "./types";
6
6
  import { useApi } from "./useApi";
7
7
  import "./index.css";
8
8
  var stdin_default = defineComponent({
9
- name: "ProjectList",
9
+ name: "ProjectSelect",
10
10
  props: projectListProps,
11
11
  emits: ["update:show", "update:modelValue"],
12
12
  setup(props, {
@@ -0,0 +1,3 @@
1
+ import _ProjectSelect from './ProjectSelect';
2
+ export default _ProjectSelect;
3
+ export type { ProjectSelectProps, ProjectItem } from './types';
@@ -0,0 +1,5 @@
1
+ import _ProjectSelect from "./ProjectSelect";
2
+ var stdin_default = _ProjectSelect;
3
+ export {
4
+ stdin_default as default
5
+ };
@@ -19,4 +19,4 @@ export declare const projectListProps: {
19
19
  type: PropType<(val: boolean) => void>;
20
20
  };
21
21
  };
22
- export type ProjectListProps = ExtractPropTypes<typeof projectListProps>;
22
+ export type ProjectSelectProps = ExtractPropTypes<typeof projectListProps>;
package/lib/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- export * from "./button";
2
- export * from "./project-list";
1
+ export * from "./project-select";
3
2
  declare namespace _default {
4
3
  export { install };
5
4
  export { version };
6
5
  }
7
6
  export default _default;
8
7
  export function install(app: any): void;
9
- export const version: "0.1.0";
10
- export { Button, ProjectList };
8
+ export const version: "1.1.0";
9
+ export { ProjectSelect };
package/lib/index.js CHANGED
@@ -18,22 +18,18 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var stdin_exports = {};
20
20
  __export(stdin_exports, {
21
- Button: () => import_button.Button,
22
- ProjectList: () => import_project_list.ProjectList,
21
+ ProjectSelect: () => import_project_select.ProjectSelect,
23
22
  default: () => stdin_default,
24
23
  install: () => install,
25
24
  version: () => version
26
25
  });
27
26
  module.exports = __toCommonJS(stdin_exports);
28
- var import_button = require("./button");
29
- var import_project_list = require("./project-list");
30
- __reExport(stdin_exports, require("./button"), module.exports);
31
- __reExport(stdin_exports, require("./project-list"), module.exports);
32
- const version = "0.1.0";
27
+ var import_project_select = require("./project-select");
28
+ __reExport(stdin_exports, require("./project-select"), module.exports);
29
+ const version = "1.1.0";
33
30
  function install(app) {
34
31
  const components = [
35
- import_button.Button,
36
- import_project_list.ProjectList
32
+ import_project_select.ProjectSelect
37
33
  ];
38
34
  components.forEach((item) => {
39
35
  if (item.install) {
@@ -28,7 +28,7 @@ var import_types = require("./types");
28
28
  var import_useApi = require("./useApi");
29
29
  var import_index = require("./index.css");
30
30
  var stdin_default = (0, import_vue2.defineComponent)({
31
- name: "ProjectList",
31
+ name: "ProjectSelect",
32
32
  props: import_types.projectListProps,
33
33
  emits: ["update:show", "update:modelValue"],
34
34
  setup(props, {
@@ -0,0 +1,3 @@
1
+ import _ProjectSelect from './ProjectSelect';
2
+ export default _ProjectSelect;
3
+ export type { ProjectSelectProps, ProjectItem } from './types';
@@ -30,5 +30,5 @@ __export(stdin_exports, {
30
30
  default: () => stdin_default
31
31
  });
32
32
  module.exports = __toCommonJS(stdin_exports);
33
- var import_Button = __toESM(require("./Button"));
34
- var stdin_default = import_Button.default;
33
+ var import_ProjectSelect = __toESM(require("./ProjectSelect"));
34
+ var stdin_default = import_ProjectSelect.default;
@@ -19,4 +19,4 @@ export declare const projectListProps: {
19
19
  type: PropType<(val: boolean) => void>;
20
20
  };
21
21
  };
22
- export type ProjectListProps = ExtractPropTypes<typeof projectListProps>;
22
+ export type ProjectSelectProps = ExtractPropTypes<typeof projectListProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgboiler/biz-mobile",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -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;
@@ -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
- };
@@ -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;}
@@ -1 +0,0 @@
1
- .a-b{color:#abcdef}
@@ -1,3 +0,0 @@
1
- import _Button from './Button';
2
- export default _Button;
3
- export type { ButtonProps } from './types';
@@ -1,5 +0,0 @@
1
- import _Button from "./Button";
2
- var stdin_default = _Button;
3
- export {
4
- stdin_default as default
5
- };
@@ -1,3 +0,0 @@
1
- .a-b {
2
- color: #abcdef;
3
- }
@@ -1,5 +0,0 @@
1
- import { ExtractPropTypes } from 'vue';
2
- export declare const buttonProps: {
3
- type: StringConstructor;
4
- };
5
- export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
@@ -1,6 +0,0 @@
1
- const buttonProps = {
2
- type: String
3
- };
4
- export {
5
- buttonProps
6
- };
@@ -1,3 +0,0 @@
1
- import _ProjectList from './ProjectList';
2
- export default _ProjectList;
3
- export type { ProjectListProps, ProjectItem } from './types';
@@ -1,5 +0,0 @@
1
- import _ProjectList from "./ProjectList";
2
- var stdin_default = _ProjectList;
3
- export {
4
- stdin_default as default
5
- };
@@ -1 +0,0 @@
1
- import "../index.css";
@@ -1 +0,0 @@
1
- import "../index.less";
@@ -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;
@@ -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
- });
@@ -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;}
@@ -1 +0,0 @@
1
- .a-b{color:#abcdef}
@@ -1,3 +0,0 @@
1
- import _Button from './Button';
2
- export default _Button;
3
- export type { ButtonProps } from './types';
@@ -1,3 +0,0 @@
1
- .a-b {
2
- color: #abcdef;
3
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { ExtractPropTypes } from 'vue';
2
- export declare const buttonProps: {
3
- type: StringConstructor;
4
- };
5
- export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
@@ -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
- };
@@ -1,3 +0,0 @@
1
- import _ProjectList from './ProjectList';
2
- export default _ProjectList;
3
- export type { ProjectListProps, ProjectItem } from './types';
@@ -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_ProjectList = __toESM(require("./ProjectList"));
34
- var stdin_default = import_ProjectList.default;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- require("../index.css");
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- require("../index.less");
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes