boke-devops 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- package/.vscode/settings.json +2 -0
- package/lerna.json +4 -0
- package/package.json +43 -0
- package/packages/boke-devops-vue/.eslintrc.cjs +22 -0
- package/packages/boke-devops-vue/README.md +45 -0
- package/packages/boke-devops-vue/demo/App.vue +62 -0
- package/packages/boke-devops-vue/demo/main.ts +7 -0
- package/packages/boke-devops-vue/package-lock.json +13513 -0
- package/packages/boke-devops-vue/package.json +59 -0
- package/packages/boke-devops-vue/pnpm-lock.yaml +6063 -0
- package/packages/boke-devops-vue/src/AegisUser/__tests__/Avatar.test.js +18 -0
- package/packages/boke-devops-vue/src/AegisUser/__tests__/__snapshots__/Avatar.test.js.snap +60 -0
- package/packages/boke-devops-vue/src/AegisUser/multiple-user-select.vue +190 -0
- package/packages/boke-devops-vue/src/AegisUser/store.ts +23 -0
- package/packages/boke-devops-vue/src/AegisUser/user-avatar-group.vue +76 -0
- package/packages/boke-devops-vue/src/AegisUser/user-avatar.vue +347 -0
- package/packages/boke-devops-vue/src/Microapp/MicroAppProvider.vue +50 -0
- package/packages/boke-devops-vue/src/Provider/Provider.vue +22 -0
- package/packages/boke-devops-vue/src/Provider/store.ts +23 -0
- package/packages/boke-devops-vue/src/global.d.ts +43 -0
- package/packages/boke-devops-vue/src/index.ts +39 -0
- package/packages/boke-devops-vue/src/style/variables.less +79 -0
- package/packages/boke-devops-vue/tsconfig.json +34 -0
- package/packages/boke-devops-vue/tsconfig.web.json +20 -0
- package/packages/boke-devops-vue/types/AegisUser/multiple-user-select.vue.d.ts +97 -0
- package/packages/boke-devops-vue/types/AegisUser/store.d.ts +7 -0
- package/packages/boke-devops-vue/types/AegisUser/user-avatar-group.vue.d.ts +44 -0
- package/packages/boke-devops-vue/types/AegisUser/user-avatar.vue.d.ts +217 -0
- package/packages/boke-devops-vue/types/Microapp/MicroAppProvider.vue.d.ts +39 -0
- package/packages/boke-devops-vue/types/Provider/Provider.vue.d.ts +63 -0
- package/packages/boke-devops-vue/types/Provider/store.d.ts +15 -0
- package/packages/boke-devops-vue/types/index.d.ts +13 -0
- package/packages/boke-devops-vue/types/store.d.ts +12 -0
- package/packages/boke-devops-vue/vite.config.ts +90 -0
- package/packages/boke-docs/.dumirc.ts +64 -0
- package/packages/boke-docs/.eslintrc.js +14 -0
- package/packages/boke-docs/.fatherrc.ts +7 -0
- package/packages/boke-docs/README.md +1 -0
- package/packages/boke-docs/docs/components/Avatar/demo/normal.vue +25 -0
- package/packages/boke-docs/docs/components/Avatar/demo/with_provider.vue +38 -0
- package/packages/boke-docs/docs/components/Avatar/index.md +10 -0
- package/packages/boke-docs/docs/components/UserSelect/demo/normal.vue +34 -0
- package/packages/boke-docs/docs/components/UserSelect/demo/with_provider.vue +40 -0
- package/packages/boke-docs/docs/components/UserSelect/index.md +12 -0
- package/packages/boke-docs/docs/components/index.md +126 -0
- package/packages/boke-docs/docs/framework-test/external/App.vue +303 -0
- package/packages/boke-docs/docs/framework-test/index.md +96 -0
- package/packages/boke-docs/docs/index.md +50 -0
- package/packages/boke-docs/node_modules/.bin/acorn +17 -0
- package/packages/boke-docs/node_modules/.bin/acorn.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/acorn.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/browserslist +17 -0
- package/packages/boke-docs/node_modules/.bin/browserslist.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/browserslist.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/dumi +17 -0
- package/packages/boke-docs/node_modules/.bin/dumi.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/dumi.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/eslint +17 -0
- package/packages/boke-docs/node_modules/.bin/eslint.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/eslint.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/prettier +17 -0
- package/packages/boke-docs/node_modules/.bin/prettier.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/prettier.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/stylelint +17 -0
- package/packages/boke-docs/node_modules/.bin/stylelint.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/stylelint.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/tsc +17 -0
- package/packages/boke-docs/node_modules/.bin/tsc.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/tsc.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/tsserver +17 -0
- package/packages/boke-docs/node_modules/.bin/tsserver.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/tsserver.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/vite +17 -0
- package/packages/boke-docs/node_modules/.bin/vite.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/vite.ps1 +41 -0
- package/packages/boke-docs/node_modules/.bin/webpack +17 -0
- package/packages/boke-docs/node_modules/.bin/webpack.CMD +12 -0
- package/packages/boke-docs/node_modules/.bin/webpack.ps1 +41 -0
- package/packages/boke-docs/package.json +38 -0
- package/packages/boke-docs/pnpm-lock.yaml +11506 -0
- package/packages/boke-docs/tsconfig.json +14 -0
- package/packages/boke-docs/tsconfig.vue.json +10 -0
- package/packages/boke-js-bridge/es/child.d.ts +27 -0
- package/packages/boke-js-bridge/es/child.js +144 -0
- package/packages/boke-js-bridge/es/index.d.ts +3 -0
- package/packages/boke-js-bridge/es/index.js +3 -0
- package/packages/boke-js-bridge/es/parent.d.ts +24 -0
- package/packages/boke-js-bridge/es/parent.js +71 -0
- package/packages/boke-js-bridge/es/utils.d.ts +2 -0
- package/packages/boke-js-bridge/es/utils.js +6 -0
- package/packages/boke-js-bridge/package-lock.json +2028 -0
- package/packages/boke-js-bridge/package.json +35 -0
- package/packages/boke-js-bridge/readme.md +11 -0
- package/packages/boke-js-bridge/src/child.ts +174 -0
- package/packages/boke-js-bridge/src/index.ts +3 -0
- package/packages/boke-js-bridge/src/parent.ts +92 -0
- package/packages/boke-js-bridge/src/utils.ts +15 -0
- package/packages/boke-js-bridge/tsconfig.json +26 -0
- package/packages/boke-js-bridge/typings.d.ts +4 -0
- package/packages/boke-js-bridge/umd/child.js +156 -0
- package/packages/boke-js-bridge/umd/index.js +18 -0
- package/packages/boke-js-bridge/umd/parent.js +84 -0
- package/packages/boke-js-bridge/umd/utils.js +18 -0
- package/packages/test/Provider-test.vue +85 -0
- package/pnpm-workspace.yaml +2 -0
- package/scripts/configs.mjs +52 -0
- package/scripts/index.mjs +43 -0
- package/scripts/release.mjs +16 -0
- package/test-setup.js +24 -0
- package/vite.config.ts +21 -0
- package/vitest.config.js +22 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
<template>
|
2
|
+
<slot name="default"></slot>
|
3
|
+
</template>
|
4
|
+
<script setup lang="jsx">
|
5
|
+
import { onMounted } from 'vue';
|
6
|
+
import {isEmpty,cloneDeep } from "lodash-es"
|
7
|
+
|
8
|
+
const props = defineProps({
|
9
|
+
'appName': {
|
10
|
+
type: String,
|
11
|
+
default: 'sub',
|
12
|
+
require: true,
|
13
|
+
},
|
14
|
+
'runtime_mode': {
|
15
|
+
type: String,
|
16
|
+
default: 'alive'
|
17
|
+
},
|
18
|
+
"mapRoutes": {
|
19
|
+
type: Array,
|
20
|
+
default: []
|
21
|
+
},
|
22
|
+
"router": {
|
23
|
+
type: Object,
|
24
|
+
},
|
25
|
+
})
|
26
|
+
|
27
|
+
const isWujieEnv = !!window.$wujie;
|
28
|
+
|
29
|
+
onMounted(() => {
|
30
|
+
if (isWujieEnv) {
|
31
|
+
if (!isEmpty(props.mapRoutes)) {
|
32
|
+
const namespace = props.appName;
|
33
|
+
}
|
34
|
+
|
35
|
+
props.router.beforeEach((to, from, next)=> {
|
36
|
+
if(window.$wujie?.bus) {
|
37
|
+
window.$wujie?.bus.$emit("sub-route-change", props.appName, to.fullPath);// child to parent
|
38
|
+
next()
|
39
|
+
}else {
|
40
|
+
next()
|
41
|
+
}
|
42
|
+
})
|
43
|
+
|
44
|
+
window.$wujie.bus.$on(props.appName + '-router-change', (path) => {
|
45
|
+
props.router.push(path)
|
46
|
+
})
|
47
|
+
}
|
48
|
+
})
|
49
|
+
|
50
|
+
</script>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<template>
|
2
|
+
<slot name="default"></slot>
|
3
|
+
</template>
|
4
|
+
<script setup lang="tsx">
|
5
|
+
import {provide} from "vue"
|
6
|
+
import {mergeConfig} from "./store"
|
7
|
+
|
8
|
+
const props = defineProps({
|
9
|
+
"globalConfig": {
|
10
|
+
type: Object,
|
11
|
+
default: () => ({})
|
12
|
+
},
|
13
|
+
"globalState": {
|
14
|
+
type: Object,
|
15
|
+
default: () => ({})
|
16
|
+
}
|
17
|
+
})
|
18
|
+
|
19
|
+
const {gc, gs} = mergeConfig(props)
|
20
|
+
provide("globalConfig", gc)
|
21
|
+
provide("globalState", gs)
|
22
|
+
</script>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import {reactive} from "vue"
|
2
|
+
import {mergeWith} from "lodash-es"
|
3
|
+
|
4
|
+
export const globalConfig = {
|
5
|
+
avatar: {
|
6
|
+
user_name: "name",
|
7
|
+
dept_name: "dept_name",
|
8
|
+
user_avatar: "avatar",
|
9
|
+
user_id: "user_id"
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
export const globalState = reactive({
|
15
|
+
global_always_avatar_is_hihglight: null, //如果设置这个, 自带的头像高亮将失效
|
16
|
+
})
|
17
|
+
|
18
|
+
export const mergeConfig = (props: any) => {
|
19
|
+
return {
|
20
|
+
gc: mergeWith({}, globalConfig, props.globalConfig),
|
21
|
+
gs: mergeWith({}, globalState, props.globalState), // TIP: 为什么需要合并到{}, 因为要避免污染全局的属性
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
2
|
+
|
3
|
+
// eslint-disable-next-line no-unused-vars
|
4
|
+
declare const PKG_VERSION: string;
|
5
|
+
|
6
|
+
declare module '*.vue' {
|
7
|
+
import { DefineComponent } from 'vue';
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
9
|
+
const component: DefineComponent<{}, {}, any>;
|
10
|
+
export default component;
|
11
|
+
}
|
12
|
+
|
13
|
+
|
14
|
+
//以下是jsx - ts 类型申明
|
15
|
+
declare global {
|
16
|
+
namespace JSX {
|
17
|
+
interface IntrinsicAttributes {
|
18
|
+
[emit: string]: any;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
interface Window {
|
22
|
+
$wujie: {
|
23
|
+
[key: string]: any
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
declare module '@vue/runtime-dom' {
|
29
|
+
interface HTMLAttributes {
|
30
|
+
[attr: string]: any;
|
31
|
+
}
|
32
|
+
|
33
|
+
interface CSSProperties {
|
34
|
+
[attr: string]: any;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
declare module '@vue/runtime-core' {
|
39
|
+
interface ComponentCustomProperties {
|
40
|
+
// todo
|
41
|
+
[x: string]: any;
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
import BokeUserAvatar from './AegisUser/user-avatar.vue'
|
3
|
+
import BokeUserAvatarGroup from './AegisUser/user-avatar-group.vue'
|
4
|
+
|
5
|
+
import BokeProvider from './Provider/Provider.vue'
|
6
|
+
import BokeUserSelect from './AegisUser/multiple-user-select.vue'
|
7
|
+
import { Tag as BokeTag } from "ant-design-vue/es"
|
8
|
+
import { Button as BokeButton } from "ant-design-vue/es"
|
9
|
+
import { Segmented as BokeSegmented } from "ant-design-vue/es"
|
10
|
+
import BokeMicroAppProvider from "./Microapp/MicroAppProvider.vue"
|
11
|
+
import "./style/variables.less"
|
12
|
+
|
13
|
+
export {
|
14
|
+
BokeUserAvatar,
|
15
|
+
BokeProvider,
|
16
|
+
BokeUserSelect,
|
17
|
+
BokeTag,
|
18
|
+
BokeButton,
|
19
|
+
BokeUserAvatarGroup,
|
20
|
+
BokeMicroAppProvider,
|
21
|
+
}
|
22
|
+
|
23
|
+
export default {
|
24
|
+
install(app: any, customOptions = {
|
25
|
+
}) {
|
26
|
+
|
27
|
+
app.component('boke-provider', BokeProvider);
|
28
|
+
app.component('boke-micro-app-provider', BokeMicroAppProvider);
|
29
|
+
|
30
|
+
app.component('boke-user-avatar', BokeUserAvatar);
|
31
|
+
app.component('boke-user-avatar-group', BokeUserAvatarGroup);
|
32
|
+
app.component("boke-user-select", BokeUserSelect);
|
33
|
+
|
34
|
+
app.component("boke-tag", BokeTag);
|
35
|
+
app.component("boke-button", BokeButton);
|
36
|
+
app.component("boke-segmented", BokeSegmented);
|
37
|
+
|
38
|
+
},
|
39
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
:root {
|
2
|
+
--boke-color-primary: #409eff;
|
3
|
+
--boke-color-primary-light-3: #79bbff;
|
4
|
+
--boke-color-primary-light-5: #a0cfff;
|
5
|
+
--boke-color-primary-light-7: #c6e2ff;
|
6
|
+
--boke-color-primary-light-8: #d9ecff;
|
7
|
+
--boke-color-primary-light-9: #ecf5ff;
|
8
|
+
--boke-color-primary-dark-2: #337ecc;
|
9
|
+
--boke-color-success: #67c23a;
|
10
|
+
--boke-color-success-light-3: #95d475;
|
11
|
+
--boke-color-success-light-5: #b3e19d;
|
12
|
+
--boke-color-success-light-7: #d1edc4;
|
13
|
+
--boke-color-success-light-8: #e1f3d8;
|
14
|
+
--boke-color-success-light-9: #f0f9eb;
|
15
|
+
--boke-color-success-dark-2: #529b2e;
|
16
|
+
--boke-color-warning: #e6a23c;
|
17
|
+
--boke-color-warning-light-3: #eebe77;
|
18
|
+
--boke-color-warning-light-5: #f3d19e;
|
19
|
+
--boke-color-warning-light-7: #f8e3c5;
|
20
|
+
--boke-color-warning-light-8: #faecd8;
|
21
|
+
--boke-color-warning-light-9: #fdf6ec;
|
22
|
+
--boke-color-warning-dark-2: #b88230;
|
23
|
+
--boke-color-danger: #f56c6c;
|
24
|
+
--boke-color-danger-light-3: #f89898;
|
25
|
+
--boke-color-danger-light-5: #fab6b6;
|
26
|
+
--boke-color-danger-light-7: #fcd3d3;
|
27
|
+
--boke-color-danger-light-8: #fde2e2;
|
28
|
+
--boke-color-danger-light-9: #fef0f0;
|
29
|
+
--boke-color-danger-dark-2: #c45656;
|
30
|
+
--boke-color-error: #f56c6c;
|
31
|
+
--boke-color-error-light-3: #f89898;
|
32
|
+
--boke-color-error-light-5: #fab6b6;
|
33
|
+
--boke-color-error-light-7: #fcd3d3;
|
34
|
+
--boke-color-error-light-8: #fde2e2;
|
35
|
+
--boke-color-error-light-9: #fef0f0;
|
36
|
+
--boke-color-error-dark-2: #c45656;
|
37
|
+
--boke-color-info: #909399;
|
38
|
+
--boke-color-info-light-3: #b1b3b8;
|
39
|
+
--boke-color-info-light-5: #c8c9cc;
|
40
|
+
--boke-color-info-light-7: #dedfe0;
|
41
|
+
--boke-color-info-light-8: #e9e9eb;
|
42
|
+
--boke-color-info-light-9: #f4f4f5;
|
43
|
+
--boke-color-info-dark-2: #73767a;
|
44
|
+
--boke-bg-color: #ffffff;
|
45
|
+
--boke-bg-color-page: #f2f3f5;
|
46
|
+
--boke-bg-color-overlay: #ffffff;
|
47
|
+
--boke-text-color-primary: #303133;
|
48
|
+
--boke-text-color-regular: #606266;
|
49
|
+
--boke-text-color-secondary: #909399;
|
50
|
+
--boke-text-color-placeholder: #a8abb2;
|
51
|
+
--boke-text-color-disabled: #c0c4cc;
|
52
|
+
--boke-border-color: #dcdfe6;
|
53
|
+
--boke-border-color-light: #e4e7ed;
|
54
|
+
--boke-border-color-lighter: #ebeef5;
|
55
|
+
--boke-border-color-extra-light: #f2f6fc;
|
56
|
+
--boke-border-color-dark: #d4d7de;
|
57
|
+
--boke-border-color-darker: #cdd0d6;
|
58
|
+
--boke-fill-color: #f0f2f5;
|
59
|
+
--boke-fill-color-light: #f5f7fa;
|
60
|
+
--boke-fill-color-lighter: #fafafa;
|
61
|
+
--boke-fill-color-extra-light: #fafcff;
|
62
|
+
--boke-fill-color-dark: #ebedf0;
|
63
|
+
--boke-fill-color-darker: #e6e8eb;
|
64
|
+
--boke-fill-color-blank: #ffffff;
|
65
|
+
--boke-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);
|
66
|
+
--boke-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);
|
67
|
+
--boke-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);
|
68
|
+
--boke-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);
|
69
|
+
--boke-disabled-bg-color: var(--boke-fill-color-light);
|
70
|
+
--boke-disabled-text-color: var(--boke-text-color-placeholder);
|
71
|
+
--boke-disabled-border-color: var(--boke-border-color-light);
|
72
|
+
--boke-overlay-color: rgba(0, 0, 0, .8);
|
73
|
+
--boke-overlay-color-light: rgba(0, 0, 0, .7);
|
74
|
+
--boke-overlay-color-lighter: rgba(0, 0, 0, .5);
|
75
|
+
--boke-mask-color: rgba(255, 255, 255, .9);
|
76
|
+
--boke-mask-color-extra-light: rgba(255, 255, 255, .3);
|
77
|
+
--boke-border-width: 1px;
|
78
|
+
--boke-border-style: solid;
|
79
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"module": "esnext",
|
4
|
+
"lib": [
|
5
|
+
"es2017",
|
6
|
+
"dom",
|
7
|
+
"dom.iterable"
|
8
|
+
],
|
9
|
+
"declaration": true,
|
10
|
+
"outDir": "./types",
|
11
|
+
"strict": true,
|
12
|
+
"noUnusedLocals": false,
|
13
|
+
"noUnusedParameters": false,
|
14
|
+
"noImplicitReturns": false,
|
15
|
+
"noFallthroughCasesInSwitch": false,
|
16
|
+
"moduleResolution": "node",
|
17
|
+
"noImplicitAny": false,
|
18
|
+
"allowSyntheticDefaultImports": true,
|
19
|
+
"skipLibCheck": true,
|
20
|
+
"experimentalDecorators": true,
|
21
|
+
"forceConsistentCasingInFileNames": true,
|
22
|
+
"jsx": "preserve",
|
23
|
+
"allowJs": true
|
24
|
+
},
|
25
|
+
"include": [
|
26
|
+
"src/**/*.ts",
|
27
|
+
"src/**/*.vue",
|
28
|
+
"src/**/*.d.ts",
|
29
|
+
"src/**/*.tsx"
|
30
|
+
],
|
31
|
+
"exclude": [
|
32
|
+
"node_modules"
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"composite": true,
|
5
|
+
"jsx": "preserve",
|
6
|
+
"lib": ["ES2018", "DOM", "DOM.Iterable"],
|
7
|
+
"types": ["unplugin-vue-macros/macros-global"],
|
8
|
+
"skipLibCheck": true
|
9
|
+
},
|
10
|
+
"include": ["packages", "typings/components.d.ts", "typings/env.d.ts"],
|
11
|
+
"exclude": [
|
12
|
+
"node_modules",
|
13
|
+
"**/dist",
|
14
|
+
"**/__tests__/**/*",
|
15
|
+
"**/gulpfile.ts",
|
16
|
+
"**/test-helper",
|
17
|
+
"packages/test-utils",
|
18
|
+
"**/*.md"
|
19
|
+
]
|
20
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<Readonly<{
|
3
|
+
disabled?: any;
|
4
|
+
placeholder?: any;
|
5
|
+
modelValue?: any;
|
6
|
+
options?: any;
|
7
|
+
userSource?: any;
|
8
|
+
optionDisabledProp?: any;
|
9
|
+
hideValues?: any;
|
10
|
+
maxTagCount?: any;
|
11
|
+
}>>> & {
|
12
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
13
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
14
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<Readonly<{
|
17
|
+
disabled?: any;
|
18
|
+
placeholder?: any;
|
19
|
+
modelValue?: any;
|
20
|
+
options?: any;
|
21
|
+
userSource?: any;
|
22
|
+
optionDisabledProp?: any;
|
23
|
+
hideValues?: any;
|
24
|
+
maxTagCount?: any;
|
25
|
+
}>>> & {
|
26
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
27
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
28
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
30
|
+
}, {
|
31
|
+
readonly disabled?: any;
|
32
|
+
readonly placeholder?: any;
|
33
|
+
readonly modelValue?: any;
|
34
|
+
readonly options?: any;
|
35
|
+
readonly userSource?: any;
|
36
|
+
readonly optionDisabledProp?: any;
|
37
|
+
readonly hideValues?: any;
|
38
|
+
readonly maxTagCount?: any;
|
39
|
+
}, true, {}, {}, {
|
40
|
+
P: {};
|
41
|
+
B: {};
|
42
|
+
D: {};
|
43
|
+
C: {};
|
44
|
+
M: {};
|
45
|
+
Defaults: {};
|
46
|
+
}, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
47
|
+
disabled?: any;
|
48
|
+
placeholder?: any;
|
49
|
+
modelValue?: any;
|
50
|
+
options?: any;
|
51
|
+
userSource?: any;
|
52
|
+
optionDisabledProp?: any;
|
53
|
+
hideValues?: any;
|
54
|
+
maxTagCount?: any;
|
55
|
+
}>>> & {
|
56
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
57
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
58
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
59
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
60
|
+
}, {}, {}, {}, {}, {
|
61
|
+
readonly disabled?: any;
|
62
|
+
readonly placeholder?: any;
|
63
|
+
readonly modelValue?: any;
|
64
|
+
readonly options?: any;
|
65
|
+
readonly userSource?: any;
|
66
|
+
readonly optionDisabledProp?: any;
|
67
|
+
readonly hideValues?: any;
|
68
|
+
readonly maxTagCount?: any;
|
69
|
+
}>;
|
70
|
+
__isFragment?: undefined;
|
71
|
+
__isTeleport?: undefined;
|
72
|
+
__isSuspense?: undefined;
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Readonly<{
|
74
|
+
disabled?: any;
|
75
|
+
placeholder?: any;
|
76
|
+
modelValue?: any;
|
77
|
+
options?: any;
|
78
|
+
userSource?: any;
|
79
|
+
optionDisabledProp?: any;
|
80
|
+
hideValues?: any;
|
81
|
+
maxTagCount?: any;
|
82
|
+
}>>> & {
|
83
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
84
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
85
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
86
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
87
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "change")[], "update:modelValue" | "blur" | "focus" | "change", {
|
88
|
+
readonly disabled?: any;
|
89
|
+
readonly placeholder?: any;
|
90
|
+
readonly modelValue?: any;
|
91
|
+
readonly options?: any;
|
92
|
+
readonly userSource?: any;
|
93
|
+
readonly optionDisabledProp?: any;
|
94
|
+
readonly hideValues?: any;
|
95
|
+
readonly maxTagCount?: any;
|
96
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
97
|
+
export default _default;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
3
|
+
$props: {
|
4
|
+
readonly size?: string | undefined;
|
5
|
+
readonly data?: unknown[] | undefined;
|
6
|
+
readonly placeholder?: string | undefined;
|
7
|
+
readonly tag?: boolean | undefined;
|
8
|
+
readonly is_highlight?: Function | undefined;
|
9
|
+
readonly showText?: boolean | undefined;
|
10
|
+
readonly max?: number | undefined;
|
11
|
+
};
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
13
|
+
P: {};
|
14
|
+
B: {};
|
15
|
+
D: {};
|
16
|
+
C: {};
|
17
|
+
M: {};
|
18
|
+
Defaults: {};
|
19
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, {
|
20
|
+
$props: {
|
21
|
+
readonly size?: string | undefined;
|
22
|
+
readonly data?: unknown[] | undefined;
|
23
|
+
readonly placeholder?: string | undefined;
|
24
|
+
readonly tag?: boolean | undefined;
|
25
|
+
readonly is_highlight?: Function | undefined;
|
26
|
+
readonly showText?: boolean | undefined;
|
27
|
+
readonly max?: number | undefined;
|
28
|
+
};
|
29
|
+
}, {}, {}, {}, {}>;
|
30
|
+
__isFragment?: undefined;
|
31
|
+
__isTeleport?: undefined;
|
32
|
+
__isSuspense?: undefined;
|
33
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
34
|
+
$props: {
|
35
|
+
readonly size?: string | undefined;
|
36
|
+
readonly data?: unknown[] | undefined;
|
37
|
+
readonly placeholder?: string | undefined;
|
38
|
+
readonly tag?: boolean | undefined;
|
39
|
+
readonly is_highlight?: Function | undefined;
|
40
|
+
readonly showText?: boolean | undefined;
|
41
|
+
readonly max?: number | undefined;
|
42
|
+
};
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
44
|
+
export default _default;
|
@@ -0,0 +1,217 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
size: {
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
4
|
+
required: false;
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
hidePopover: {
|
8
|
+
type: BooleanConstructor;
|
9
|
+
required: false;
|
10
|
+
default: boolean;
|
11
|
+
};
|
12
|
+
onlyIcon: {
|
13
|
+
type: BooleanConstructor;
|
14
|
+
required: false;
|
15
|
+
default: boolean;
|
16
|
+
};
|
17
|
+
onlyName: {
|
18
|
+
type: BooleanConstructor;
|
19
|
+
required: false;
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
linkType: {
|
23
|
+
type: null;
|
24
|
+
required: false;
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
data: {
|
28
|
+
type: null;
|
29
|
+
required: false;
|
30
|
+
default: null;
|
31
|
+
};
|
32
|
+
shape: {
|
33
|
+
type: StringConstructor;
|
34
|
+
required: false;
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
insidePopover: {
|
38
|
+
type: BooleanConstructor;
|
39
|
+
required: false;
|
40
|
+
default: boolean;
|
41
|
+
};
|
42
|
+
noID: {
|
43
|
+
type: BooleanConstructor;
|
44
|
+
required: false;
|
45
|
+
default: boolean;
|
46
|
+
};
|
47
|
+
noDialogDetail: {
|
48
|
+
type: BooleanConstructor;
|
49
|
+
required: false;
|
50
|
+
default: boolean;
|
51
|
+
};
|
52
|
+
tag: {
|
53
|
+
type: BooleanConstructor;
|
54
|
+
required: false;
|
55
|
+
default: boolean;
|
56
|
+
};
|
57
|
+
closable: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
required: false;
|
60
|
+
default: boolean;
|
61
|
+
};
|
62
|
+
color: {
|
63
|
+
type: StringConstructor;
|
64
|
+
required: false;
|
65
|
+
default: string;
|
66
|
+
};
|
67
|
+
disabled: {
|
68
|
+
type: BooleanConstructor;
|
69
|
+
required: false;
|
70
|
+
default: boolean;
|
71
|
+
};
|
72
|
+
suffix: {
|
73
|
+
type: StringConstructor;
|
74
|
+
required: false;
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
is_highlight: {
|
78
|
+
type: FunctionConstructor;
|
79
|
+
required: false;
|
80
|
+
default: () => boolean;
|
81
|
+
};
|
82
|
+
}, {
|
83
|
+
user_name: import("vue").ComputedRef<any>;
|
84
|
+
dept_name: import("vue").ComputedRef<any>;
|
85
|
+
user_id: import("vue").ComputedRef<any>;
|
86
|
+
data: boolean;
|
87
|
+
user_icon: import("vue").Ref<any>;
|
88
|
+
isLoading: import("vue").Ref<boolean>;
|
89
|
+
isHigh: () => any;
|
90
|
+
props: import(".pnpm/@vue+shared@3.4.31/node_modules/@vue/shared").LooseRequired<{
|
91
|
+
readonly size: string | number;
|
92
|
+
readonly shape: string;
|
93
|
+
readonly disabled: boolean;
|
94
|
+
readonly color: string;
|
95
|
+
readonly closable: boolean;
|
96
|
+
readonly data: any;
|
97
|
+
readonly hidePopover: boolean;
|
98
|
+
readonly onlyIcon: boolean;
|
99
|
+
readonly onlyName: boolean;
|
100
|
+
readonly linkType: any;
|
101
|
+
readonly insidePopover: boolean;
|
102
|
+
readonly noID: boolean;
|
103
|
+
readonly noDialogDetail: boolean;
|
104
|
+
readonly tag: boolean;
|
105
|
+
readonly suffix: string;
|
106
|
+
readonly is_highlight: Function;
|
107
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
108
|
+
} & {}>;
|
109
|
+
onShowPopover: () => void;
|
110
|
+
onClosePopover: () => void;
|
111
|
+
attrs: {
|
112
|
+
[x: string]: unknown;
|
113
|
+
};
|
114
|
+
emit: (event: "close", ...args: any[]) => void;
|
115
|
+
onClose: () => void;
|
116
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
117
|
+
size: {
|
118
|
+
type: (StringConstructor | NumberConstructor)[];
|
119
|
+
required: false;
|
120
|
+
default: number;
|
121
|
+
};
|
122
|
+
hidePopover: {
|
123
|
+
type: BooleanConstructor;
|
124
|
+
required: false;
|
125
|
+
default: boolean;
|
126
|
+
};
|
127
|
+
onlyIcon: {
|
128
|
+
type: BooleanConstructor;
|
129
|
+
required: false;
|
130
|
+
default: boolean;
|
131
|
+
};
|
132
|
+
onlyName: {
|
133
|
+
type: BooleanConstructor;
|
134
|
+
required: false;
|
135
|
+
default: boolean;
|
136
|
+
};
|
137
|
+
linkType: {
|
138
|
+
type: null;
|
139
|
+
required: false;
|
140
|
+
default: string;
|
141
|
+
};
|
142
|
+
data: {
|
143
|
+
type: null;
|
144
|
+
required: false;
|
145
|
+
default: null;
|
146
|
+
};
|
147
|
+
shape: {
|
148
|
+
type: StringConstructor;
|
149
|
+
required: false;
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
insidePopover: {
|
153
|
+
type: BooleanConstructor;
|
154
|
+
required: false;
|
155
|
+
default: boolean;
|
156
|
+
};
|
157
|
+
noID: {
|
158
|
+
type: BooleanConstructor;
|
159
|
+
required: false;
|
160
|
+
default: boolean;
|
161
|
+
};
|
162
|
+
noDialogDetail: {
|
163
|
+
type: BooleanConstructor;
|
164
|
+
required: false;
|
165
|
+
default: boolean;
|
166
|
+
};
|
167
|
+
tag: {
|
168
|
+
type: BooleanConstructor;
|
169
|
+
required: false;
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
closable: {
|
173
|
+
type: BooleanConstructor;
|
174
|
+
required: false;
|
175
|
+
default: boolean;
|
176
|
+
};
|
177
|
+
color: {
|
178
|
+
type: StringConstructor;
|
179
|
+
required: false;
|
180
|
+
default: string;
|
181
|
+
};
|
182
|
+
disabled: {
|
183
|
+
type: BooleanConstructor;
|
184
|
+
required: false;
|
185
|
+
default: boolean;
|
186
|
+
};
|
187
|
+
suffix: {
|
188
|
+
type: StringConstructor;
|
189
|
+
required: false;
|
190
|
+
default: string;
|
191
|
+
};
|
192
|
+
is_highlight: {
|
193
|
+
type: FunctionConstructor;
|
194
|
+
required: false;
|
195
|
+
default: () => boolean;
|
196
|
+
};
|
197
|
+
}>> & {
|
198
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
199
|
+
}, {
|
200
|
+
size: string | number;
|
201
|
+
shape: string;
|
202
|
+
disabled: boolean;
|
203
|
+
color: string;
|
204
|
+
closable: boolean;
|
205
|
+
data: any;
|
206
|
+
hidePopover: boolean;
|
207
|
+
onlyIcon: boolean;
|
208
|
+
onlyName: boolean;
|
209
|
+
linkType: any;
|
210
|
+
insidePopover: boolean;
|
211
|
+
noID: boolean;
|
212
|
+
noDialogDetail: boolean;
|
213
|
+
tag: boolean;
|
214
|
+
suffix: string;
|
215
|
+
is_highlight: Function;
|
216
|
+
}, {}>;
|
217
|
+
export default _default;
|