@cgboiler/biz-mobile 1.7.1 → 1.8.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.
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/org-picker/OrgPicker.js +1 -1
- package/es/org-picker/index.css +1 -1
- package/es/org-picker/index.less +1 -2
- package/es/project-select/index.css +1 -1
- package/es/project-select/index.less +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/org-picker/OrgPicker.js +1 -1
- package/lib/org-picker/index.css +1 -1
- package/lib/org-picker/index.less +1 -2
- package/lib/project-select/index.css +1 -1
- package/lib/project-select/index.less +1 -1
- package/package.json +1 -1
package/es/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare namespace _default {
|
|
|
6
6
|
}
|
|
7
7
|
export default _default;
|
|
8
8
|
export function install(app: any): void;
|
|
9
|
-
export const version: "1.
|
|
9
|
+
export const version: "1.8.1";
|
|
10
10
|
import OrgPicker from './org-picker';
|
|
11
11
|
import ProjectSelect from './project-select';
|
|
12
12
|
export { OrgPicker, ProjectSelect };
|
package/es/index.js
CHANGED
|
@@ -54,7 +54,6 @@ var stdin_default = defineComponent({
|
|
|
54
54
|
currentValue.push(item.id);
|
|
55
55
|
selectedItems.value.push(item);
|
|
56
56
|
}
|
|
57
|
-
emit("update:modelValue", currentValue);
|
|
58
57
|
} else {
|
|
59
58
|
selectedItems.value = [item];
|
|
60
59
|
emit("update:modelValue", [item.id]);
|
|
@@ -63,6 +62,7 @@ var stdin_default = defineComponent({
|
|
|
63
62
|
};
|
|
64
63
|
const handleConfirm = () => {
|
|
65
64
|
emit("update:show", false);
|
|
65
|
+
emit("update:modelValue", selectedItems.value.map((item) => item.id));
|
|
66
66
|
};
|
|
67
67
|
const keyword = ref("");
|
|
68
68
|
const loading = ref(false);
|
package/es/org-picker/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root:root{--van-action-sheet-max-height: 100%}.org-list{height:
|
|
1
|
+
:root:root{--van-action-sheet-max-height: 100%}.org-list{height:85vh;display:flex;flex-direction:column}.org-list .breadcrumb-nav{margin-bottom:4px;padding:2px 16px;border-radius:4px;font-size:12px}.org-list .breadcrumb-nav .dept-name.current-dept{color:#969799}.org-list .breadcrumb-nav .separator{color:#969799;margin:0 4px}.org-list .search-bar{position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;z-index:1}.org-list .bottom-section{border-top:1px solid #eee;background-color:#fff}.org-list .bottom-section .selected-items{display:flex;flex-wrap:nowrap;padding:12px 16px;gap:12px;background-color:#fff;overflow-x:auto}.org-list .bottom-section .selected-items .selected-tag{flex-shrink:0;background:none;border:none;padding:0;margin:0}.org-list .bottom-section .selected-items .selected-tag .tag-avatar{width:36px;height:36px}.org-list .bottom-section .selected-items .selected-tag .tag-avatar img{border-radius:4px;border:1px solid #eee;object-fit:contain}.org-list .van-list{flex:1;overflow-y:auto;padding:0 16px}.org-list .feed-list-wrap{flex:1;display:flex;overflow:hidden;position:relative;justify-content:center}.org-list .search-result-list{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;background-color:#fff;overflow-y:auto;padding:0 16px}.org-list .org-item{padding:12px 0;border-bottom:1px solid #eee;cursor:pointer;display:flex;align-items:center;gap:12px}.org-list .org-item.selected{color:var(--van-primary-color)}.org-list .org-item .org-avatar{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.org-list .org-item .org-avatar img{border-radius:4px;border:1px solid #eee;object-fit:contain}.org-list .org-item .org-name{font-size:14px;flex:1}.org-list .org-item:last-child{border-bottom:none}.org-list .action-buttons{padding:16px;display:flex;justify-content:center;border-top:1px solid #eee}.org-list .action-buttons .confirm-button{background-color:var(--van-primary-color);color:#fff;padding:10px 0;border-radius:4px;text-align:center;width:100%;font-size:14px}
|
package/es/org-picker/index.less
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--van-action-sheet-max-height: 100%;
|
|
3
3
|
}
|
|
4
4
|
.org-list {
|
|
5
|
-
height:
|
|
5
|
+
height: 85vh;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
gap: 12px;
|
|
42
42
|
background-color: #fff;
|
|
43
43
|
overflow-x: auto;
|
|
44
|
-
height: 35px;
|
|
45
44
|
|
|
46
45
|
.selected-tag {
|
|
47
46
|
flex-shrink: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root:root{--van-action-sheet-max-height: 100%}.project-list{height:
|
|
1
|
+
:root:root{--van-action-sheet-max-height: 100%}.project-list{height:85vh;display:flex;flex-direction:column}.project-list .search-bar{position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;z-index:1}.project-list .van-list{flex:1;overflow-y:auto;padding:0 16px}.project-list .project-item{padding:12px 0;border-bottom:1px solid #eee;cursor:pointer}.project-list .project-item.selected{color:var(--van-primary-color)}.project-list .project-item .project-name{font-size:14px}.project-list .project-item:last-child{border-bottom:none}
|
package/lib/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare namespace _default {
|
|
|
6
6
|
}
|
|
7
7
|
export default _default;
|
|
8
8
|
export function install(app: any): void;
|
|
9
|
-
export const version: "1.
|
|
9
|
+
export const version: "1.8.1";
|
|
10
10
|
import OrgPicker from './org-picker';
|
|
11
11
|
import ProjectSelect from './project-select';
|
|
12
12
|
export { OrgPicker, ProjectSelect };
|
package/lib/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var import_org_picker = __toESM(require("./org-picker"));
|
|
|
39
39
|
var import_project_select = __toESM(require("./project-select"));
|
|
40
40
|
__reExport(stdin_exports, require("./org-picker"), module.exports);
|
|
41
41
|
__reExport(stdin_exports, require("./project-select"), module.exports);
|
|
42
|
-
const version = "1.
|
|
42
|
+
const version = "1.8.1";
|
|
43
43
|
function install(app) {
|
|
44
44
|
const components = [
|
|
45
45
|
import_org_picker.default,
|
|
@@ -86,7 +86,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
86
86
|
currentValue.push(item.id);
|
|
87
87
|
selectedItems.value.push(item);
|
|
88
88
|
}
|
|
89
|
-
emit("update:modelValue", currentValue);
|
|
90
89
|
} else {
|
|
91
90
|
selectedItems.value = [item];
|
|
92
91
|
emit("update:modelValue", [item.id]);
|
|
@@ -95,6 +94,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
95
94
|
};
|
|
96
95
|
const handleConfirm = () => {
|
|
97
96
|
emit("update:show", false);
|
|
97
|
+
emit("update:modelValue", selectedItems.value.map((item) => item.id));
|
|
98
98
|
};
|
|
99
99
|
const keyword = (0, import_vue2.ref)("");
|
|
100
100
|
const loading = (0, import_vue2.ref)(false);
|
package/lib/org-picker/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root:root{--van-action-sheet-max-height: 100%}.org-list{height:
|
|
1
|
+
:root:root{--van-action-sheet-max-height: 100%}.org-list{height:85vh;display:flex;flex-direction:column}.org-list .breadcrumb-nav{margin-bottom:4px;padding:2px 16px;border-radius:4px;font-size:12px}.org-list .breadcrumb-nav .dept-name.current-dept{color:#969799}.org-list .breadcrumb-nav .separator{color:#969799;margin:0 4px}.org-list .search-bar{position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;z-index:1}.org-list .bottom-section{border-top:1px solid #eee;background-color:#fff}.org-list .bottom-section .selected-items{display:flex;flex-wrap:nowrap;padding:12px 16px;gap:12px;background-color:#fff;overflow-x:auto}.org-list .bottom-section .selected-items .selected-tag{flex-shrink:0;background:none;border:none;padding:0;margin:0}.org-list .bottom-section .selected-items .selected-tag .tag-avatar{width:36px;height:36px}.org-list .bottom-section .selected-items .selected-tag .tag-avatar img{border-radius:4px;border:1px solid #eee;object-fit:contain}.org-list .van-list{flex:1;overflow-y:auto;padding:0 16px}.org-list .feed-list-wrap{flex:1;display:flex;overflow:hidden;position:relative;justify-content:center}.org-list .search-result-list{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;background-color:#fff;overflow-y:auto;padding:0 16px}.org-list .org-item{padding:12px 0;border-bottom:1px solid #eee;cursor:pointer;display:flex;align-items:center;gap:12px}.org-list .org-item.selected{color:var(--van-primary-color)}.org-list .org-item .org-avatar{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.org-list .org-item .org-avatar img{border-radius:4px;border:1px solid #eee;object-fit:contain}.org-list .org-item .org-name{font-size:14px;flex:1}.org-list .org-item:last-child{border-bottom:none}.org-list .action-buttons{padding:16px;display:flex;justify-content:center;border-top:1px solid #eee}.org-list .action-buttons .confirm-button{background-color:var(--van-primary-color);color:#fff;padding:10px 0;border-radius:4px;text-align:center;width:100%;font-size:14px}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--van-action-sheet-max-height: 100%;
|
|
3
3
|
}
|
|
4
4
|
.org-list {
|
|
5
|
-
height:
|
|
5
|
+
height: 85vh;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
gap: 12px;
|
|
42
42
|
background-color: #fff;
|
|
43
43
|
overflow-x: auto;
|
|
44
|
-
height: 35px;
|
|
45
44
|
|
|
46
45
|
.selected-tag {
|
|
47
46
|
flex-shrink: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root:root{--van-action-sheet-max-height: 100%}.project-list{height:
|
|
1
|
+
:root:root{--van-action-sheet-max-height: 100%}.project-list{height:85vh;display:flex;flex-direction:column}.project-list .search-bar{position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;z-index:1}.project-list .van-list{flex:1;overflow-y:auto;padding:0 16px}.project-list .project-item{padding:12px 0;border-bottom:1px solid #eee;cursor:pointer}.project-list .project-item.selected{color:var(--van-primary-color)}.project-list .project-item .project-name{font-size:14px}.project-list .project-item:last-child{border-bottom:none}
|