@cgboiler/biz-mobile 1.18.18 → 1.18.20
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 +1 -1
- package/es/index.js +1 -1
- package/es/org-picker/OrgPicker.d.ts +2 -1
- package/es/org-picker/OrgPicker.js +2 -1
- package/es/org-picker/useApi.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/org-picker/OrgPicker.d.ts +2 -1
- package/lib/org-picker/OrgPicker.js +2 -1
- package/lib/org-picker/useApi.js +1 -1
- package/package.json +2 -2
package/es/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare namespace _default {
|
|
|
8
8
|
}
|
|
9
9
|
export default _default;
|
|
10
10
|
export function install(app: any): void;
|
|
11
|
-
export const version: "1.18.
|
|
11
|
+
export const version: "1.18.19";
|
|
12
12
|
import MdPreview from './md-preview';
|
|
13
13
|
import OrgPicker from './org-picker';
|
|
14
14
|
import ProjectSelect from './project-select';
|
package/es/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import MdPreview from "./md-preview";
|
|
|
2
2
|
import OrgPicker from "./org-picker";
|
|
3
3
|
import ProjectSelect from "./project-select";
|
|
4
4
|
import RichTextEditor from "./rich-text-editor";
|
|
5
|
-
const version = "1.18.
|
|
5
|
+
const version = "1.18.19";
|
|
6
6
|
function install(app) {
|
|
7
7
|
const components = [
|
|
8
8
|
MdPreview,
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
'onUpdate:show': {
|
|
23
23
|
type: FunctionConstructor;
|
|
24
24
|
};
|
|
25
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:modelValue")[], "update:show" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:modelValue" | "esc")[], "update:show" | "update:modelValue" | "esc", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
modelValue: {
|
|
27
27
|
type: import("vue").PropType<(string)[] | null>;
|
|
28
28
|
default: () => null;
|
|
@@ -48,6 +48,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
48
48
|
}>> & Readonly<{
|
|
49
49
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onEsc?: ((...args: any[]) => any) | undefined;
|
|
51
52
|
}>, {
|
|
52
53
|
modelValue: string[] | null;
|
|
53
54
|
show: boolean;
|
|
@@ -30,7 +30,7 @@ import { useSearch } from "./useSearch";
|
|
|
30
30
|
var stdin_default = defineComponent({
|
|
31
31
|
name: "OrgPicker",
|
|
32
32
|
props: orgPickerProps,
|
|
33
|
-
emits: ["update:show", "update:modelValue"],
|
|
33
|
+
emits: ["update:show", "update:modelValue", "esc"],
|
|
34
34
|
setup(props, {
|
|
35
35
|
emit
|
|
36
36
|
}) {
|
|
@@ -110,6 +110,7 @@ var stdin_default = defineComponent({
|
|
|
110
110
|
const handleKeyDown = (event) => {
|
|
111
111
|
if (event.key === "Escape") {
|
|
112
112
|
emit("update:show", false);
|
|
113
|
+
emit("esc");
|
|
113
114
|
}
|
|
114
115
|
};
|
|
115
116
|
if (newValue) {
|
package/es/org-picker/useApi.js
CHANGED
|
@@ -112,7 +112,7 @@ const useApi = () => {
|
|
|
112
112
|
const searchResults = yield fetchData(url);
|
|
113
113
|
orgSearchList.value = searchResults.filter((item) => item.type !== "user" || item.status !== 5).filter((item, index, self) => index === self.findIndex((other) => other.id === item.id));
|
|
114
114
|
}), 300);
|
|
115
|
-
const MAX_RECENT_SELECTIONS =
|
|
115
|
+
const MAX_RECENT_SELECTIONS = 20;
|
|
116
116
|
const getRecentUsers = () => __async(void 0, null, function* () {
|
|
117
117
|
var _a;
|
|
118
118
|
const user = yield getUserInfo();
|
package/lib/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare namespace _default {
|
|
|
8
8
|
}
|
|
9
9
|
export default _default;
|
|
10
10
|
export function install(app: any): void;
|
|
11
|
-
export const version: "1.18.
|
|
11
|
+
export const version: "1.18.19";
|
|
12
12
|
import MdPreview from './md-preview';
|
|
13
13
|
import OrgPicker from './org-picker';
|
|
14
14
|
import ProjectSelect from './project-select';
|
package/lib/index.js
CHANGED
|
@@ -45,7 +45,7 @@ __reExport(stdin_exports, require("./md-preview"), module.exports);
|
|
|
45
45
|
__reExport(stdin_exports, require("./org-picker"), module.exports);
|
|
46
46
|
__reExport(stdin_exports, require("./project-select"), module.exports);
|
|
47
47
|
__reExport(stdin_exports, require("./rich-text-editor"), module.exports);
|
|
48
|
-
const version = "1.18.
|
|
48
|
+
const version = "1.18.19";
|
|
49
49
|
function install(app) {
|
|
50
50
|
const components = [
|
|
51
51
|
import_md_preview.default,
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
'onUpdate:show': {
|
|
23
23
|
type: FunctionConstructor;
|
|
24
24
|
};
|
|
25
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:modelValue")[], "update:show" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:modelValue" | "esc")[], "update:show" | "update:modelValue" | "esc", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
modelValue: {
|
|
27
27
|
type: import("vue").PropType<(string)[] | null>;
|
|
28
28
|
default: () => null;
|
|
@@ -48,6 +48,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
48
48
|
}>> & Readonly<{
|
|
49
49
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onEsc?: ((...args: any[]) => any) | undefined;
|
|
51
52
|
}>, {
|
|
52
53
|
modelValue: string[] | null;
|
|
53
54
|
show: boolean;
|
|
@@ -62,7 +62,7 @@ var import_useSearch = require("./useSearch");
|
|
|
62
62
|
var stdin_default = (0, import_vue2.defineComponent)({
|
|
63
63
|
name: "OrgPicker",
|
|
64
64
|
props: import_types.orgPickerProps,
|
|
65
|
-
emits: ["update:show", "update:modelValue"],
|
|
65
|
+
emits: ["update:show", "update:modelValue", "esc"],
|
|
66
66
|
setup(props, {
|
|
67
67
|
emit
|
|
68
68
|
}) {
|
|
@@ -142,6 +142,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
142
142
|
const handleKeyDown = (event) => {
|
|
143
143
|
if (event.key === "Escape") {
|
|
144
144
|
emit("update:show", false);
|
|
145
|
+
emit("esc");
|
|
145
146
|
}
|
|
146
147
|
};
|
|
147
148
|
if (newValue) {
|
package/lib/org-picker/useApi.js
CHANGED
|
@@ -135,7 +135,7 @@ const useApi = () => {
|
|
|
135
135
|
const searchResults = yield fetchData(url);
|
|
136
136
|
orgSearchList.value = searchResults.filter((item) => item.type !== "user" || item.status !== 5).filter((item, index, self) => index === self.findIndex((other) => other.id === item.id));
|
|
137
137
|
}), 300);
|
|
138
|
-
const MAX_RECENT_SELECTIONS =
|
|
138
|
+
const MAX_RECENT_SELECTIONS = 20;
|
|
139
139
|
const getRecentUsers = () => __async(void 0, null, function* () {
|
|
140
140
|
var _a;
|
|
141
141
|
const user = yield (0, import_core.getUserInfo)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgboiler/biz-mobile",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"mermaid": "^11.10.1",
|
|
52
52
|
"lodash-es": "^4.17.21",
|
|
53
53
|
"vant": "^4.9.19",
|
|
54
|
+
"@cgboiler/biz-basic": "1.0.45",
|
|
54
55
|
"@cgboiler/core": "1.2.10",
|
|
55
|
-
"@cgboiler/biz-basic": "1.0.37",
|
|
56
56
|
"@cgboiler/shared": "1.1.2"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|