@cgboiler/biz-mobile 1.18.20 → 1.18.21
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 +2 -4
- package/es/index.js +2 -6
- package/es/md-preview/index.less +107 -107
- package/es/org-picker/OrgPicker.js +19 -11
- package/es/org-picker/_atomic.css +0 -21
- package/es/org-picker/index.less +230 -230
- package/es/org-picker/useApi.d.ts +6 -1
- package/es/org-picker/useApi.js +259 -71
- package/es/org-picker/useSearch.js +37 -16
- package/es/project-select/index.less +45 -45
- package/es/project-select/useApi.js +1 -1
- package/es/vue-sfc-shim.d.ts +8 -8
- package/es/vue-tsx-shim.d.ts +29 -29
- package/lib/index.d.ts +2 -4
- package/lib/index.js +2 -6
- package/lib/md-preview/index.less +107 -107
- package/lib/org-picker/OrgPicker.js +20 -12
- package/lib/org-picker/_atomic.css +0 -21
- package/lib/org-picker/index.less +230 -230
- package/lib/org-picker/useApi.d.ts +6 -1
- package/lib/org-picker/useApi.js +257 -71
- package/lib/org-picker/useSearch.js +36 -15
- package/lib/project-select/index.less +45 -45
- package/lib/project-select/useApi.js +1 -1
- package/lib/vue-sfc-shim.d.ts +8 -8
- package/lib/vue-tsx-shim.d.ts +29 -29
- package/package.json +2 -3
- package/es/rich-text-editor/RichTextEditor.d.ts +0 -26
- package/es/rich-text-editor/RichTextEditor.js +0 -23
- package/es/rich-text-editor/_atomic.css +0 -32
- package/es/rich-text-editor/index.css +0 -0
- package/es/rich-text-editor/index.d.ts +0 -3
- package/es/rich-text-editor/index.js +0 -5
- package/es/rich-text-editor/index.less +0 -0
- package/es/rich-text-editor/style/index.d.ts +0 -1
- package/es/rich-text-editor/style/index.js +0 -1
- package/es/rich-text-editor/style/less.d.ts +0 -1
- package/es/rich-text-editor/style/less.js +0 -1
- package/es/rich-text-editor/types.d.ts +0 -12
- package/es/rich-text-editor/types.js +0 -13
- package/lib/rich-text-editor/RichTextEditor.d.ts +0 -26
- package/lib/rich-text-editor/RichTextEditor.js +0 -42
- package/lib/rich-text-editor/_atomic.css +0 -32
- package/lib/rich-text-editor/index.css +0 -0
- package/lib/rich-text-editor/index.d.ts +0 -3
- package/lib/rich-text-editor/index.js +0 -34
- package/lib/rich-text-editor/index.less +0 -0
- package/lib/rich-text-editor/style/index.d.ts +0 -1
- package/lib/rich-text-editor/style/index.js +0 -1
- package/lib/rich-text-editor/style/less.d.ts +0 -1
- package/lib/rich-text-editor/style/less.js +0 -1
- package/lib/rich-text-editor/types.d.ts +0 -12
- package/lib/rich-text-editor/types.js +0 -32
- /package/es/org-picker/components/{DeptImg.d.ts → deptImg.d.ts} +0 -0
- /package/es/org-picker/components/{DeptImg.js → deptImg.js} +0 -0
- /package/lib/org-picker/components/{DeptImg.d.ts → deptImg.d.ts} +0 -0
- /package/lib/org-picker/components/{DeptImg.js → deptImg.js} +0 -0
package/lib/vue-tsx-shim.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import 'vue';
|
|
2
|
-
|
|
3
|
-
type EventHandler = (...args: any[]) => void;
|
|
4
|
-
|
|
5
|
-
declare module 'vue' {
|
|
6
|
-
interface ComponentCustomProps {
|
|
7
|
-
id?: string;
|
|
8
|
-
role?: string;
|
|
9
|
-
tabindex?: number;
|
|
10
|
-
onClick?: EventHandler;
|
|
11
|
-
onTouchend?: EventHandler;
|
|
12
|
-
onTouchmove?: EventHandler;
|
|
13
|
-
onTouchstart?: EventHandler;
|
|
14
|
-
onTouchcancel?: EventHandler;
|
|
15
|
-
onTouchmovePassive?: EventHandler;
|
|
16
|
-
onTouchstartPassive?: EventHandler;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface HTMLAttributes {
|
|
20
|
-
onTouchmovePassive?: EventHandler;
|
|
21
|
-
onTouchstartPassive?: EventHandler;
|
|
22
|
-
onClickCapture?: EventHandler;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
declare global {
|
|
26
|
-
interface Window {
|
|
27
|
-
globalConfig: any;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
import 'vue';
|
|
2
|
+
|
|
3
|
+
type EventHandler = (...args: any[]) => void;
|
|
4
|
+
|
|
5
|
+
declare module 'vue' {
|
|
6
|
+
interface ComponentCustomProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
role?: string;
|
|
9
|
+
tabindex?: number;
|
|
10
|
+
onClick?: EventHandler;
|
|
11
|
+
onTouchend?: EventHandler;
|
|
12
|
+
onTouchmove?: EventHandler;
|
|
13
|
+
onTouchstart?: EventHandler;
|
|
14
|
+
onTouchcancel?: EventHandler;
|
|
15
|
+
onTouchmovePassive?: EventHandler;
|
|
16
|
+
onTouchstartPassive?: EventHandler;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface HTMLAttributes {
|
|
20
|
+
onTouchmovePassive?: EventHandler;
|
|
21
|
+
onTouchstartPassive?: EventHandler;
|
|
22
|
+
onClickCapture?: EventHandler;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface Window {
|
|
27
|
+
globalConfig: any;
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgboiler/biz-mobile",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -51,8 +51,7 @@
|
|
|
51
51
|
"mermaid": "^11.10.1",
|
|
52
52
|
"lodash-es": "^4.17.21",
|
|
53
53
|
"vant": "^4.9.19",
|
|
54
|
-
"@cgboiler/
|
|
55
|
-
"@cgboiler/core": "1.2.10",
|
|
54
|
+
"@cgboiler/core": "1.2.14",
|
|
56
55
|
"@cgboiler/shared": "1.1.2"
|
|
57
56
|
},
|
|
58
57
|
"scripts": {
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
placeholder: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
placeholder: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
modelValue: string;
|
|
24
|
-
placeholder: string;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import "./_atomic.css";
|
|
3
|
-
import { defineComponent } from "vue";
|
|
4
|
-
import { richTextEditorProps } from "./types";
|
|
5
|
-
import "./index.css";
|
|
6
|
-
import { RichTextEditor } from "@cgboiler/biz-basic";
|
|
7
|
-
var stdin_default = defineComponent({
|
|
8
|
-
name: "RichTextEditor",
|
|
9
|
-
props: richTextEditorProps,
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(props, {
|
|
12
|
-
emit
|
|
13
|
-
}) {
|
|
14
|
-
return () => _createVNode(RichTextEditor, {
|
|
15
|
-
"modelValue": props.modelValue,
|
|
16
|
-
"onUpdate:modelValue": (val) => emit("update:modelValue", val),
|
|
17
|
-
"placeholder": props.placeholder
|
|
18
|
-
}, null);
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
stdin_default as default
|
|
23
|
-
};
|
|
@@ -1,32 +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
|
-
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../index.css";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../index.less";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
export declare const richTextEditorProps: {
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
placeholder: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type RichTextEditorProps = ExtractPropTypes<typeof richTextEditorProps>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
placeholder: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
placeholder: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
modelValue: string;
|
|
24
|
-
placeholder: string;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
-
export default _default;
|
|
@@ -1,42 +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_index = require("./index.css");
|
|
28
|
-
var import_biz_basic = require("@cgboiler/biz-basic");
|
|
29
|
-
var stdin_default = (0, import_vue2.defineComponent)({
|
|
30
|
-
name: "RichTextEditor",
|
|
31
|
-
props: import_types.richTextEditorProps,
|
|
32
|
-
emits: ["update:modelValue"],
|
|
33
|
-
setup(props, {
|
|
34
|
-
emit
|
|
35
|
-
}) {
|
|
36
|
-
return () => (0, import_vue.createVNode)(import_biz_basic.RichTextEditor, {
|
|
37
|
-
"modelValue": props.modelValue,
|
|
38
|
-
"onUpdate:modelValue": (val) => emit("update:modelValue", val),
|
|
39
|
-
"placeholder": props.placeholder
|
|
40
|
-
}, null);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
@@ -1,32 +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
|
-
|
|
File without changes
|
|
@@ -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_RichTextEditor = __toESM(require("./RichTextEditor"));
|
|
34
|
-
var stdin_default = import_RichTextEditor.default;
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("../index.css");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("../index.less");
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
export declare const richTextEditorProps: {
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
placeholder: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type RichTextEditorProps = ExtractPropTypes<typeof richTextEditorProps>;
|
|
@@ -1,32 +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
|
-
richTextEditorProps: () => richTextEditorProps
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
-
const richTextEditorProps = {
|
|
24
|
-
modelValue: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
},
|
|
28
|
-
placeholder: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: "\u8BF7\u5199\u70B9\u4EC0\u4E48..."
|
|
31
|
-
}
|
|
32
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|