giime 0.5.1 → 0.5.3
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/dist/index.css +24 -24
- package/es/components/src/base/checkbox/Checkbox.vue.d.ts +3 -3
- package/es/components/src/base/checkbox/index.d.ts +9 -9
- package/es/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +3 -3
- package/es/components/src/base/checkboxButton/index.d.ts +9 -9
- package/es/components/src/base/radio/Radio.vue.d.ts +1 -1
- package/es/components/src/base/radio/index.d.ts +3 -3
- package/es/components/src/base/radioButton/RadioButton.vue.d.ts +1 -1
- package/es/components/src/base/radioButton/index.d.ts +3 -3
- package/es/components/src/base/tabPane/TabPane.vue.d.ts +3 -3
- package/es/components/src/base/tabPane/index.d.ts +9 -9
- package/es/components/src/base/tabs/Tabs.vue.d.ts +2 -2
- package/es/components/src/base/tabs/index.d.ts +6 -6
- package/es/components/src/base/tabs/tabs.d.ts +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue.d.ts +9 -0
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs.map +1 -1
- package/es/components/src/business/loginDialog/loginDialog.d.ts +7 -0
- package/es/components/src/business/loginDialog/loginDialog.mjs +7 -0
- package/es/components/src/business/loginDialog/loginDialog.mjs.map +1 -1
- package/es/components/src/composite/operateButton/OperateButton.vue.d.ts +1 -1
- package/es/components/src/composite/operateButton/index.d.ts +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/index.d.ts +1 -1
- package/es/components/src/composite/tablePro/TablePro.vue.d.ts +1 -1
- package/es/components/src/composite/tablePro/index.d.ts +3 -3
- package/es/constants/key.d.ts +2 -2
- package/es/constants/key.mjs.map +1 -1
- package/es/giime/index.mjs +1 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +24 -24
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +1 -0
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/src/tree.d.ts +12 -0
- package/es/utils/src/tree.mjs +19 -0
- package/es/utils/src/tree.mjs.map +1 -0
- package/lib/components/src/base/checkbox/Checkbox.vue.d.ts +3 -3
- package/lib/components/src/base/checkbox/index.d.ts +9 -9
- package/lib/components/src/base/checkboxButton/CheckboxButton.vue.d.ts +3 -3
- package/lib/components/src/base/checkboxButton/index.d.ts +9 -9
- package/lib/components/src/base/radio/Radio.vue.d.ts +1 -1
- package/lib/components/src/base/radio/index.d.ts +3 -3
- package/lib/components/src/base/radioButton/RadioButton.vue.d.ts +1 -1
- package/lib/components/src/base/radioButton/index.d.ts +3 -3
- package/lib/components/src/base/tabPane/TabPane.vue.d.ts +3 -3
- package/lib/components/src/base/tabPane/index.d.ts +9 -9
- package/lib/components/src/base/tabs/Tabs.vue.d.ts +2 -2
- package/lib/components/src/base/tabs/index.d.ts +6 -6
- package/lib/components/src/base/tabs/tabs.d.ts +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue.d.ts +9 -0
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js.map +1 -1
- package/lib/components/src/business/loginDialog/loginDialog.d.ts +7 -0
- package/lib/components/src/business/loginDialog/loginDialog.js +7 -0
- package/lib/components/src/business/loginDialog/loginDialog.js.map +1 -1
- package/lib/components/src/composite/operateButton/OperateButton.vue.d.ts +1 -1
- package/lib/components/src/composite/operateButton/index.d.ts +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/index.d.ts +1 -1
- package/lib/components/src/composite/tablePro/TablePro.vue.d.ts +1 -1
- package/lib/components/src/composite/tablePro/index.d.ts +3 -3
- package/lib/constants/key.d.ts +2 -2
- package/lib/constants/key.js.map +1 -1
- package/lib/giime/index.js +6 -4
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +24 -24
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/tree.d.ts +12 -0
- package/lib/utils/src/tree.js +21 -0
- package/lib/utils/src/tree.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginDialog.vue2.mjs","sources":["../../../../../../../packages/components/src/business/loginDialog/LoginDialog.vue"],"sourcesContent":["<script lang=\"ts\">\nconst loginEnvKey = 'VITE_GIIME_LOGIN_URL'\n</script>\n<template>\
|
|
1
|
+
{"version":3,"file":"LoginDialog.vue2.mjs","sources":["../../../../../../../packages/components/src/business/loginDialog/LoginDialog.vue"],"sourcesContent":["<script lang=\"ts\">\nconst loginEnvKey = 'VITE_GIIME_LOGIN_URL'\n</script>\n<template>\n <div v-if=\"isSSRShowDialog\">\n <el-dialog v-model=\"loginStore.showLogin\" width=\"80%\" append-to-body>\n <iframe v-if=\"loginStore.showLogin\" class=\"gm-h-[600px] gm-w-full\" :src=\"loginUrl\" />\n </el-dialog>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, onMounted, onUnmounted, ref, watch } from 'vue';\nimport { ElDialog } from 'element-plus';\nimport Cookies from 'js-cookie';\n// import router from 'vue-router';\nimport { useLoginStore } from '@giime/hooks';\nimport { useGlobalConfig } from '@giime/hooks/base/useGlobalConfig';\nimport { isString } from '@giime/utils';\nimport { loginDialogProps } from './loginDialog';\n\nconst props = defineProps(loginDialogProps);\nconst router = useGlobalConfig('router');\n\n// const router = useRouter();\nconst route = computed(() => (router.value ? router.value.currentRoute.value : undefined));\nconst loginStore = useLoginStore();\nconst loginUrl = ref('');\nconst viteModes = [\n { mode: 'development', loginUrl: 'http://sso-dev.giikin.cn/admin/login/index.html' },\n { mode: 'test', loginUrl: 'http://sso-dev.giikin.cn/admin/login/index.html' },\n { mode: 'production', loginUrl: 'https://gsso.giikin.com/admin/login/logout.html' },\n];\n\n\nconst importMetaEnv = useGlobalConfig('env');\nconst isSSRShowDialog = ref(importMetaEnv.value.SSR === false);\nlet originLoginUrl = ``;\nif (isString(importMetaEnv.value[loginEnvKey])) {\n originLoginUrl = importMetaEnv.value[loginEnvKey];\n} else {\n const curMode = viteModes.find(item => item.mode == importMetaEnv.value.MODE);\n originLoginUrl = curMode?.loginUrl ?? 'https://gsso.giikin.com/admin/login/logout.html';\n}\nconst login = () => {\n const protocol = window.location.protocol;\n const host = window.location.host;\n const myPath = window.location.pathname;\n\n loginUrl.value = `${originLoginUrl}?_system=${props.system}`;\n if (route.value && props.needScanningRouteNames.includes(route.value?.name?.toString() ?? '')) {\n loginUrl.value += '&is_dashboard=1';\n }\n\n loginUrl.value += `&${props.redirectUrlField}=${protocol}//${host}${myPath}`;\n\n // eslint-disable-next-line no-console\n console.log(loginUrl.value);\n};\nwatch(\n () => loginStore.showLogin,\n value => {\n if (value) {\n login();\n }\n },\n);\n// 超过5分钟没扫码 会不能扫码 定时没登录的话3分钟刷新次\nconst reloadTimer = ref<number>();\nif (route.value) {\n watch(route, (newValue, oldValue) => {\n if (!oldValue || !newValue) {\n return;\n }\n if (oldValue.name && props.needScanningRouteNames.includes(oldValue.name.toString())) {\n window.clearInterval(reloadTimer.value);\n }\n if (newValue.name && props.needScanningRouteNames.includes(newValue.name.toString())) {\n reloadTimer.value = window.setInterval(\n () => {\n if (!loginStore.showLogin) {\n return;\n }\n // 登录超时后 3分钟刷新次页面\n window.location.reload();\n },\n 3 * 60 * 1000,\n );\n }\n });\n}\n\nonMounted(() => {\n isSSRShowDialog.value = true;\n if (loginStore.showLogin) {\n login();\n }\n // iframe事件监听\n window.addEventListener('message', async e => {\n // 刷新登陆状态\n if (e.data.type == 'giikin-Logged') {\n // eslint-disable-next-line no-console\n console.log(e.data);\n const token = Cookies.get('token');\n if (\n // 测试环境 但是需要登陆的情况\n (importMetaEnv.value.MODE !== 'production' && e.data?.data?.token) ||\n // 正式环境 登录成功 但是服务器token设置失败\n (importMetaEnv.value.MODE === 'production' && !token && e.data?.data?.token)\n ) {\n const now = new Date();\n let time = now.getTime();\n time += 8 * 60 * 60 * 1000; // 8 小时之后的时间(单位:毫秒)\n now.setTime(time);\n Cookies.set('token', e.data.data.token, { expires: now, domain: importMetaEnv.value.MODE === 'production' ? '.giikin.com' : undefined });\n loginStore.userToken = e.data.data.token;\n loginStore.userId = e.data.data.userId;\n if (!Cookies.get('sso_user_id') && e.data.data.userId) {\n Cookies.set('sso_user_id', e.data.data.userId, {\n expires: now,\n domain: importMetaEnv.value.MODE === 'production' ? '.giikin.com' : undefined,\n });\n }\n }\n // 触发登录成功监听\n if (e.data?.data?.token) {\n await loginStore.triggerLoginResult(e.data.data);\n }\n // ElMessage.success('登录成功,请关闭弹窗');\n loginStore.showLogin = false;\n if (route.value && props.needRealodRouteNames.includes(route.value.name?.toString() ?? '')) {\n window.location.reload();\n }\n }\n });\n});\nonUnmounted(() => {\n window.clearInterval(reloadTimer.value);\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AACA,MAAM,WAAc,GAAA,sBAAA,CAAA;;;;;AAmBpB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAM,MAAA,MAAA,GAAS,gBAAgB,QAAQ,CAAA,CAAA;AAGvC,IAAM,MAAA,KAAA,GAAQ,SAAS,MAAO,MAAA,CAAO,QAAQ,MAAO,CAAA,KAAA,CAAM,YAAa,CAAA,KAAA,GAAQ,KAAU,CAAA,CAAA,CAAA;AACzF,IAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AACjC,IAAM,MAAA,QAAA,GAAW,IAAI,EAAE,CAAA,CAAA;AACvB,IAAA,MAAM,SAAY,GAA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,KAAA,CAAA;AACnC,YAAW,UAAA,CAAA,MAAA,GAAS,CAAE,CAAA,IAAA,CAAK,IAAK,CAAA,MAAA,CAAA;AAChC,YAAI,IAAA,CAAC,QAAQ,GAAI,CAAA,aAAa,KAAK,CAAE,CAAA,IAAA,CAAK,KAAK,MAAQ,EAAA;AACrD,cAAA,OAAA,CAAQ,GAAI,CAAA,aAAA,EAAe,CAAE,CAAA,IAAA,CAAK,KAAK,MAAQ,EAAA;AAAA,gBAC7C,OAAS,EAAA,GAAA;AAAA,gBACT,MAAQ,EAAA,aAAA,CAAc,KAAM,CAAA,IAAA,KAAS,eAAe,aAAgB,GAAA,KAAA,CAAA;AAAA,eACrE,CAAA,CAAA;AAAA,aACH;AAAA,WACF;AAEA,UAAI,IAAA,CAAA,CAAE,IAAM,EAAA,IAAA,EAAM,KAAO,EAAA;AACvB,YAAA,MAAM,UAAW,CAAA,kBAAA,CAAmB,CAAE,CAAA,IAAA,CAAK,IAAI,CAAA,CAAA;AAAA,WACjD;AAEA,UAAA,UAAA,CAAW,SAAY,GAAA,KAAA,CAAA;AACvB,UAAI,IAAA,KAAA,CAAM,KAAS,IAAA,KAAA,CAAM,oBAAqB,CAAA,QAAA,CAAS,KAAM,CAAA,KAAA,CAAM,IAAM,EAAA,QAAA,EAAc,IAAA,EAAE,CAAG,EAAA;AAC1F,YAAA,MAAA,CAAO,SAAS,MAAO,EAAA,CAAA;AAAA,WACzB;AAAA,SACF;AAAA,OACD,CAAA,CAAA;AAAA,KACF,CAAA,CAAA;AACD,IAAA,WAAA,CAAY,MAAM;AAChB,MAAO,MAAA,CAAA,aAAA,CAAc,YAAY,KAAK,CAAA,CAAA;AAAA,KACvC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loginDialog.mjs","sources":["../../../../../../../packages/components/src/business/loginDialog/loginDialog.ts"],"sourcesContent":["// import { affixEmits as elAffixEmits, affixProps as elAffixProps } from 'element-plus';\
|
|
1
|
+
{"version":3,"file":"loginDialog.mjs","sources":["../../../../../../../packages/components/src/business/loginDialog/loginDialog.ts"],"sourcesContent":["// import { affixEmits as elAffixEmits, affixProps as elAffixProps } from 'element-plus';\n// import type { ExtractPropTypes } from 'vue';\n\nimport type { PropType } from 'vue';\nexport const loginDialogProps = {\n /**\n * @description 登录成功后,需要刷新的路由名称\n */\n needRealodRouteNames: {\n type: Array as PropType<string[]>,\n default: () => [],\n },\n /**\n * @description 需要扫码登录的路由\n */\n needScanningRouteNames: {\n type: Array as PropType<string[]>,\n default: () => [],\n },\n /**\n * @description 系统 默认18\n */\n system: {\n type: Number,\n default: () => 18,\n },\n /**\n * @description 重定向地址字段\n */\n redirectUrlField: {\n type: String,\n default: () => '_url',\n },\n};\n\n// export const loginDialogEmits = {\n// ...elAffixEmits,\n// // 自定义事件\n// // submit: (value: any) => !!value,\n// };\n"],"names":[],"mappings":"AAIO,MAAM,gBAAmB,GAAA;AAAA;AAAA;AAAA;AAAA,EAI9B,oBAAsB,EAAA;AAAA,IACpB,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,sBAAwB,EAAA;AAAA,IACtB,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM,EAAA;AAAA,GACjB;AAAA;AAAA;AAAA;AAAA,EAIA,gBAAkB,EAAA;AAAA,IAChB,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM,MAAA;AAAA,GACjB;AACF;;;;"}
|
|
@@ -42,8 +42,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
43
43
|
size: "" | "default" | "small" | "large";
|
|
44
44
|
disabled: boolean;
|
|
45
|
-
loading: boolean;
|
|
46
45
|
label: string;
|
|
46
|
+
loading: boolean;
|
|
47
47
|
isShow: boolean;
|
|
48
48
|
}, {}>;
|
|
49
49
|
export default _default;
|
|
@@ -43,8 +43,8 @@ export declare const GmOperateButton: import("../../../../utils").SFCWithInstall
|
|
|
43
43
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
44
44
|
size: "" | "default" | "small" | "large";
|
|
45
45
|
disabled: boolean;
|
|
46
|
-
loading: boolean;
|
|
47
46
|
label: string;
|
|
47
|
+
loading: boolean;
|
|
48
48
|
isShow: boolean;
|
|
49
49
|
}, {}>> & Record<string, any>;
|
|
50
50
|
export type OperateButtonInstance = InstanceType<typeof OperateButton>;
|
package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts
CHANGED
|
@@ -84,8 +84,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
multiple: boolean;
|
|
85
85
|
disabled: boolean;
|
|
86
86
|
options: import("../../..").SelectOptionsOptionType[];
|
|
87
|
-
loading: boolean;
|
|
88
87
|
label: string;
|
|
88
|
+
loading: boolean;
|
|
89
89
|
optionLabel: string;
|
|
90
90
|
optionValue: string;
|
|
91
91
|
labelKey: string | boolean;
|
|
@@ -85,8 +85,8 @@ export declare const GmSearchFormSelect: import("../../../../../../utils").SFCWi
|
|
|
85
85
|
multiple: boolean;
|
|
86
86
|
disabled: boolean;
|
|
87
87
|
options: import("../../../index.js").SelectOptionsOptionType[];
|
|
88
|
-
loading: boolean;
|
|
89
88
|
label: string;
|
|
89
|
+
loading: boolean;
|
|
90
90
|
optionLabel: string;
|
|
91
91
|
optionValue: string;
|
|
92
92
|
labelKey: string | boolean;
|
|
@@ -171,11 +171,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
171
171
|
sortOrders: ("ascending" | "descending" | null)[];
|
|
172
172
|
isShow: boolean;
|
|
173
173
|
isSort: boolean;
|
|
174
|
+
label?: string | undefined;
|
|
174
175
|
filters?: {
|
|
175
176
|
text: string;
|
|
176
177
|
value: string;
|
|
177
178
|
}[] | undefined;
|
|
178
|
-
label?: string | undefined;
|
|
179
179
|
filterMethod?: import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any> | undefined;
|
|
180
180
|
align?: string | undefined;
|
|
181
181
|
className?: string | undefined;
|
|
@@ -191,11 +191,11 @@ export declare const GmTablePro: import("../../../../utils").SFCWithInstall<{
|
|
|
191
191
|
sortOrders: ("ascending" | "descending" | null)[];
|
|
192
192
|
isShow: boolean;
|
|
193
193
|
isSort: boolean;
|
|
194
|
+
label?: string | undefined;
|
|
194
195
|
filters?: {
|
|
195
196
|
text: string;
|
|
196
197
|
value: string;
|
|
197
198
|
}[] | undefined;
|
|
198
|
-
label?: string | undefined;
|
|
199
199
|
filterMethod?: import("element-plus/es/components/table/src/table-column/defaults.js").FilterMethods<any> | undefined;
|
|
200
200
|
align?: string | undefined;
|
|
201
201
|
className?: string | undefined;
|
|
@@ -746,11 +746,11 @@ export declare const GmTablePro: import("../../../../utils").SFCWithInstall<{
|
|
|
746
746
|
sortOrders: ("ascending" | "descending" | null)[];
|
|
747
747
|
isShow: boolean;
|
|
748
748
|
isSort: boolean;
|
|
749
|
+
label?: string | undefined;
|
|
749
750
|
filters?: {
|
|
750
751
|
text: string;
|
|
751
752
|
value: string;
|
|
752
753
|
}[] | undefined;
|
|
753
|
-
label?: string | undefined;
|
|
754
754
|
filterMethod?: import("element-plus/es/components/table/src/table-column/defaults.js").FilterMethods<any> | undefined;
|
|
755
755
|
align?: string | undefined;
|
|
756
756
|
className?: string | undefined;
|
|
@@ -1115,11 +1115,11 @@ export declare const GmTablePro: import("../../../../utils").SFCWithInstall<{
|
|
|
1115
1115
|
sortOrders: ("ascending" | "descending" | null)[];
|
|
1116
1116
|
isShow: boolean;
|
|
1117
1117
|
isSort: boolean;
|
|
1118
|
+
label?: string | undefined;
|
|
1118
1119
|
filters?: {
|
|
1119
1120
|
text: string;
|
|
1120
1121
|
value: string;
|
|
1121
1122
|
}[] | undefined;
|
|
1122
|
-
label?: string | undefined;
|
|
1123
1123
|
filterMethod?: import("element-plus/es/components/table/src/table-column/defaults.js").FilterMethods<any> | undefined;
|
|
1124
1124
|
align?: string | undefined;
|
|
1125
1125
|
className?: string | undefined;
|
package/es/constants/key.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="vite/client" />
|
|
2
2
|
import type { Router } from 'vue-router';
|
|
3
3
|
import type { loginDialogProps } from '../components/src/business/loginDialog/loginDialog';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ExtractPublicPropTypes, InjectionKey, Ref } from 'vue';
|
|
5
5
|
export interface ConfigProviderContext {
|
|
6
6
|
env: ImportMetaEnv;
|
|
7
7
|
router?: Router;
|
|
8
8
|
disabledLoginDialog?: boolean;
|
|
9
9
|
disabledRectSelect?: boolean;
|
|
10
|
-
loginDialog?:
|
|
10
|
+
loginDialog?: ExtractPublicPropTypes<typeof loginDialogProps>;
|
|
11
11
|
/**对消息进行配置 */
|
|
12
12
|
message?: {
|
|
13
13
|
plain?: boolean;
|
package/es/constants/key.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.mjs","sources":["../../../../packages/constants/key.ts"],"sourcesContent":["import type { Router } from 'vue-router';\
|
|
1
|
+
{"version":3,"file":"key.mjs","sources":["../../../../packages/constants/key.ts"],"sourcesContent":["import type { Router } from 'vue-router';\nimport type { loginDialogProps } from '@giime/components/src/business/loginDialog/loginDialog';\nimport type { ExtractPublicPropTypes, InjectionKey, Ref } from 'vue';\nexport interface ConfigProviderContext {\n // 用户端环境变量\n env: ImportMetaEnv;\n // 用户端路由\n router?: Router;\n disabledLoginDialog?: boolean;\n disabledRectSelect?: boolean;\n loginDialog?: ExtractPublicPropTypes<typeof loginDialogProps>;\n /**对消息进行配置 */\n message?: {\n plain?: boolean;\n };\n}\n\nexport const configProviderContextKey: InjectionKey<Ref<ConfigProviderContext>> = Symbol();\n\nexport const INSTALLED_KEY = Symbol('INSTALLED_KEY');\nexport const ImportMetaEnvKey: InjectionKey<ImportMetaEnv> = Symbol('ImportMetaEnvKey');\n"],"names":[],"mappings":"AAiBO,MAAM,2BAAqE,MAAO,GAAA;AAE5E,MAAA,aAAA,GAAgB,OAAO,eAAe,EAAA;AACtC,MAAA,gBAAA,GAAgD,OAAO,kBAAkB;;;;"}
|
package/es/giime/index.mjs
CHANGED
|
@@ -18,6 +18,7 @@ export { base64ToBlob, base64ToFile, blobToBase64, blobToFile, fileToBase64, fil
|
|
|
18
18
|
export { compareVersions, isVersionGreaterOrEqual, omitOnEvents, remove } from '../utils/src/general.mjs';
|
|
19
19
|
export { b64_hmac_md5, b64_md5, hex_hmac_md5, hex_md5, str_hmac_md5, str_md5, ts_md5_file } from '../utils/src/crypto/md5.mjs';
|
|
20
20
|
export { any_hmac_sha1, any_sha1, b64_hmac_sha1, b64_sha1, hex_hmac_sha1, hex_sha1 } from '../utils/src/crypto/sha1.mjs';
|
|
21
|
+
export { findChildrenItem } from '../utils/src/tree.mjs';
|
|
21
22
|
export { affixEmits, affixProps } from '../components/src/base/affix/affix.mjs';
|
|
22
23
|
export { GmAffix } from '../components/src/base/affix/index.mjs';
|
|
23
24
|
export { alertEffects, alertEmits, alertProps } from '../components/src/base/alert/alert.mjs';
|
package/es/giime/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,MAAM,UAAU,SAAU,CAAA,QAAA;AAC1B,MAAM,UAAU,SAAU,CAAA;;;;"}
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.5.
|
|
1
|
+
export declare const version = "0.5.3";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.5.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.5.2';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/es/index.css
CHANGED
|
@@ -782,22 +782,6 @@ video {
|
|
|
782
782
|
margin: 0;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
.gm-upload-material .el-overlay-dialog {
|
|
786
|
-
display: flex;
|
|
787
|
-
align-items: center;
|
|
788
|
-
justify-content: center;
|
|
789
|
-
}
|
|
790
|
-
.gm-upload-material .el-dialog {
|
|
791
|
-
margin: 0;
|
|
792
|
-
}
|
|
793
|
-
.gm-upload-material .el-dialog__body {
|
|
794
|
-
max-height: calc(100vh - 100px);
|
|
795
|
-
overflow-y: auto;
|
|
796
|
-
}
|
|
797
|
-
.gm-upload-material .el-dialog__body video,
|
|
798
|
-
.gm-upload-material .el-dialog__body img {
|
|
799
|
-
max-height: calc(100vh - 150px);
|
|
800
|
-
}
|
|
801
785
|
[data-v-7c80c3b6] .el-upload-dragger {
|
|
802
786
|
padding: 10px;
|
|
803
787
|
border: none;
|
|
@@ -845,16 +829,21 @@ video {
|
|
|
845
829
|
stroke-dashoffset: -120px;
|
|
846
830
|
}
|
|
847
831
|
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
margin-bottom: 4px;
|
|
851
|
-
}
|
|
852
|
-
.gm-flex-center[data-v-2a79bac9] {
|
|
832
|
+
.gm-upload-material .el-overlay-dialog {
|
|
833
|
+
display: flex;
|
|
853
834
|
align-items: center;
|
|
835
|
+
justify-content: center;
|
|
854
836
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
837
|
+
.gm-upload-material .el-dialog {
|
|
838
|
+
margin: 0;
|
|
839
|
+
}
|
|
840
|
+
.gm-upload-material .el-dialog__body {
|
|
841
|
+
max-height: calc(100vh - 100px);
|
|
842
|
+
overflow-y: auto;
|
|
843
|
+
}
|
|
844
|
+
.gm-upload-material .el-dialog__body video,
|
|
845
|
+
.gm-upload-material .el-dialog__body img {
|
|
846
|
+
max-height: calc(100vh - 150px);
|
|
858
847
|
}
|
|
859
848
|
.gm-number-interval-single[data-v-47a13fd0] {
|
|
860
849
|
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
@@ -874,6 +863,17 @@ video {
|
|
|
874
863
|
.gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
|
|
875
864
|
display: flex;
|
|
876
865
|
}
|
|
866
|
+
.gm-flex-center[data-v-2a79bac9] {
|
|
867
|
+
align-items: center;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.gm-flex-justify-between[data-v-2a79bac9] {
|
|
871
|
+
justify-content: space-between;
|
|
872
|
+
}
|
|
873
|
+
[data-v-7b6755e2] .gmSearchForm .el-form-item {
|
|
874
|
+
margin-right: 0;
|
|
875
|
+
margin-bottom: 4px;
|
|
876
|
+
}
|
|
877
877
|
[data-v-668dc408] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
878
878
|
border-right: none;
|
|
879
879
|
}
|
package/es/utils/index.d.ts
CHANGED
package/es/utils/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import './src/date/index.mjs';
|
|
|
8
8
|
export { base64ToBlob, base64ToFile, blobToBase64, blobToFile, fileToBase64, fileToBlob, fileToUrl, urlToBlob, urlToFile } from './src/file.mjs';
|
|
9
9
|
export { compareVersions, isVersionGreaterOrEqual, omitOnEvents, remove } from './src/general.mjs';
|
|
10
10
|
import './src/crypto/index.mjs';
|
|
11
|
+
export { findChildrenItem } from './src/tree.mjs';
|
|
11
12
|
export { withInstall, withInstallDirective, withInstallFunction, withNoopInstall } from './src/vue/install.mjs';
|
|
12
13
|
export { GiimeResolver, kebabCase } from './src/vue/resolver.mjs';
|
|
13
14
|
export { getGmEvent } from './src/elementPlus/event.mjs';
|
package/es/utils/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface FindChildrenItem extends Record<string, any> {
|
|
2
|
+
label?: any;
|
|
3
|
+
value?: any;
|
|
4
|
+
children?: FindChildrenItem[];
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 获取子节点
|
|
8
|
+
*/
|
|
9
|
+
export declare function findChildrenItem(options: FindChildrenItem[], targetValue: any, option?: {
|
|
10
|
+
value?: string;
|
|
11
|
+
children?: string;
|
|
12
|
+
}): FindChildrenItem | undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function findChildrenItem(options, targetValue, option) {
|
|
2
|
+
const valueField = option?.value || "value";
|
|
3
|
+
const childrenField = option?.children || "children";
|
|
4
|
+
for (const option2 of options) {
|
|
5
|
+
if (option2[valueField] === targetValue) {
|
|
6
|
+
return option2;
|
|
7
|
+
}
|
|
8
|
+
if (option2[childrenField]) {
|
|
9
|
+
const found = findChildrenItem(option2[childrenField], targetValue);
|
|
10
|
+
if (found) {
|
|
11
|
+
return found;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return void 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { findChildrenItem };
|
|
19
|
+
//# sourceMappingURL=tree.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.mjs","sources":["../../../../../packages/utils/src/tree.ts"],"sourcesContent":["export interface FindChildrenItem extends Record<string, any> {\n label?: any;\n value?: any;\n children?: FindChildrenItem[];\n}\n/**\n * 获取子节点\n */\nexport function findChildrenItem(\n options: FindChildrenItem[],\n targetValue: any,\n option?: { value?: string; children?: string },\n): FindChildrenItem | undefined {\n const valueField = option?.value || 'value';\n const childrenField = option?.children || 'children';\n\n for (const option of options) {\n if (option[valueField] === targetValue) {\n return option;\n }\n if (option[childrenField]) {\n const found = findChildrenItem(option[childrenField], targetValue);\n\n if (found) {\n return found;\n }\n }\n }\n\n return undefined;\n}\n"],"names":["option"],"mappings":"AAQgB,SAAA,gBAAA,CACd,OACA,EAAA,WAAA,EACA,MAC8B,EAAA;AAC9B,EAAM,MAAA,UAAA,GAAa,QAAQ,KAAS,IAAA,OAAA,CAAA;AACpC,EAAM,MAAA,aAAA,GAAgB,QAAQ,QAAY,IAAA,UAAA,CAAA;AAE1C,EAAA,KAAA,MAAWA,WAAU,OAAS,EAAA;AAC5B,IAAIA,IAAAA,OAAAA,CAAO,UAAU,CAAA,KAAM,WAAa,EAAA;AACtC,MAAOA,OAAAA,OAAAA,CAAAA;AAAA,KACT;AACA,IAAIA,IAAAA,OAAAA,CAAO,aAAa,CAAG,EAAA;AACzB,MAAA,MAAM,KAAQ,GAAA,gBAAA,CAAiBA,OAAO,CAAA,aAAa,GAAG,WAAW,CAAA,CAAA;AAEjE,MAAA,IAAI,KAAO,EAAA;AACT,QAAO,OAAA,KAAA,CAAA;AAAA,OACT;AAAA,KACF;AAAA,GACF;AAEA,EAAO,OAAA,KAAA,CAAA,CAAA;AACT;;;;"}
|
|
@@ -80,8 +80,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
80
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
81
81
|
readonly id?: string | undefined;
|
|
82
82
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
83
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
84
83
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
84
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
85
85
|
readonly ariaControls?: string | undefined;
|
|
86
86
|
readonly trueValue?: string | number | undefined;
|
|
87
87
|
readonly falseValue?: string | number | undefined;
|
|
@@ -146,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
146
|
}>> & {
|
|
147
147
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
148
148
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
149
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
149
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
150
150
|
$attrs: {
|
|
151
151
|
[x: string]: unknown;
|
|
152
152
|
};
|
|
@@ -380,8 +380,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
380
380
|
disabled: boolean;
|
|
381
381
|
id: string;
|
|
382
382
|
value: string | number | boolean | Record<string, any>;
|
|
383
|
-
modelValue: string | number | boolean;
|
|
384
383
|
label: string | number | boolean | Record<string, any>;
|
|
384
|
+
modelValue: string | number | boolean;
|
|
385
385
|
validateEvent: boolean;
|
|
386
386
|
checked: boolean;
|
|
387
387
|
indeterminate: boolean;
|
|
@@ -85,8 +85,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
85
85
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
86
86
|
readonly id?: string | undefined;
|
|
87
87
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
88
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
89
88
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
89
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
90
90
|
readonly ariaControls?: string | undefined;
|
|
91
91
|
readonly trueValue?: string | number | undefined;
|
|
92
92
|
readonly falseValue?: string | number | undefined;
|
|
@@ -151,7 +151,7 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
151
151
|
}>> & {
|
|
152
152
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
153
153
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
154
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
154
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
155
155
|
$attrs: {
|
|
156
156
|
[x: string]: unknown;
|
|
157
157
|
};
|
|
@@ -385,8 +385,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
385
385
|
disabled: boolean;
|
|
386
386
|
id: string;
|
|
387
387
|
value: string | number | boolean | Record<string, any>;
|
|
388
|
-
modelValue: string | number | boolean;
|
|
389
388
|
label: string | number | boolean | Record<string, any>;
|
|
389
|
+
modelValue: string | number | boolean;
|
|
390
390
|
validateEvent: boolean;
|
|
391
391
|
checked: boolean;
|
|
392
392
|
indeterminate: boolean;
|
|
@@ -486,8 +486,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
486
486
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
487
487
|
readonly id?: string | undefined;
|
|
488
488
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
489
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
490
489
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
490
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
491
491
|
readonly ariaControls?: string | undefined;
|
|
492
492
|
readonly trueValue?: string | number | undefined;
|
|
493
493
|
readonly falseValue?: string | number | undefined;
|
|
@@ -552,7 +552,7 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
552
552
|
}>> & {
|
|
553
553
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
554
554
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
555
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
555
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
556
556
|
$attrs: {
|
|
557
557
|
[x: string]: unknown;
|
|
558
558
|
};
|
|
@@ -727,8 +727,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
727
727
|
disabled: boolean;
|
|
728
728
|
id: string;
|
|
729
729
|
value: string | number | boolean | Record<string, any>;
|
|
730
|
-
modelValue: string | number | boolean;
|
|
731
730
|
label: string | number | boolean | Record<string, any>;
|
|
731
|
+
modelValue: string | number | boolean;
|
|
732
732
|
validateEvent: boolean;
|
|
733
733
|
checked: boolean;
|
|
734
734
|
indeterminate: boolean;
|
|
@@ -825,8 +825,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
825
825
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
826
826
|
readonly id?: string | undefined;
|
|
827
827
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
828
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
829
828
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
829
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
830
830
|
readonly ariaControls?: string | undefined;
|
|
831
831
|
readonly trueValue?: string | number | undefined;
|
|
832
832
|
readonly falseValue?: string | number | undefined;
|
|
@@ -891,7 +891,7 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
891
891
|
}>> & {
|
|
892
892
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
893
893
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
894
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
894
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
895
895
|
$attrs: {
|
|
896
896
|
[x: string]: unknown;
|
|
897
897
|
};
|
|
@@ -1069,8 +1069,8 @@ export declare const GmCheckbox: import("../../../../utils").SFCWithInstall<{
|
|
|
1069
1069
|
disabled: boolean;
|
|
1070
1070
|
id: string;
|
|
1071
1071
|
value: string | number | boolean | Record<string, any>;
|
|
1072
|
-
modelValue: string | number | boolean;
|
|
1073
1072
|
label: string | number | boolean | Record<string, any>;
|
|
1073
|
+
modelValue: string | number | boolean;
|
|
1074
1074
|
validateEvent: boolean;
|
|
1075
1075
|
checked: boolean;
|
|
1076
1076
|
indeterminate: boolean;
|
|
@@ -80,8 +80,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
80
|
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
81
81
|
readonly id?: string | undefined;
|
|
82
82
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
83
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
84
83
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
84
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
85
85
|
readonly ariaControls?: string | undefined;
|
|
86
86
|
readonly trueValue?: string | number | undefined;
|
|
87
87
|
readonly falseValue?: string | number | undefined;
|
|
@@ -146,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
146
|
}>> & {
|
|
147
147
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
148
148
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
149
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
149
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
150
150
|
$attrs: {
|
|
151
151
|
[x: string]: unknown;
|
|
152
152
|
};
|
|
@@ -380,8 +380,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
380
380
|
disabled: boolean;
|
|
381
381
|
id: string;
|
|
382
382
|
value: string | number | boolean | Record<string, any>;
|
|
383
|
-
modelValue: string | number | boolean;
|
|
384
383
|
label: string | number | boolean | Record<string, any>;
|
|
384
|
+
modelValue: string | number | boolean;
|
|
385
385
|
validateEvent: boolean;
|
|
386
386
|
checked: boolean;
|
|
387
387
|
indeterminate: boolean;
|
|
@@ -85,8 +85,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
85
85
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
86
86
|
readonly id?: string | undefined;
|
|
87
87
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
88
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
89
88
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
89
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
90
90
|
readonly ariaControls?: string | undefined;
|
|
91
91
|
readonly trueValue?: string | number | undefined;
|
|
92
92
|
readonly falseValue?: string | number | undefined;
|
|
@@ -151,7 +151,7 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
151
151
|
}>> & {
|
|
152
152
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
153
153
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
154
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
154
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
155
155
|
$attrs: {
|
|
156
156
|
[x: string]: unknown;
|
|
157
157
|
};
|
|
@@ -385,8 +385,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
385
385
|
disabled: boolean;
|
|
386
386
|
id: string;
|
|
387
387
|
value: string | number | boolean | Record<string, any>;
|
|
388
|
-
modelValue: string | number | boolean;
|
|
389
388
|
label: string | number | boolean | Record<string, any>;
|
|
389
|
+
modelValue: string | number | boolean;
|
|
390
390
|
validateEvent: boolean;
|
|
391
391
|
checked: boolean;
|
|
392
392
|
indeterminate: boolean;
|
|
@@ -486,8 +486,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
486
486
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
487
487
|
readonly id?: string | undefined;
|
|
488
488
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
489
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
490
489
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
490
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
491
491
|
readonly ariaControls?: string | undefined;
|
|
492
492
|
readonly trueValue?: string | number | undefined;
|
|
493
493
|
readonly falseValue?: string | number | undefined;
|
|
@@ -552,7 +552,7 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
552
552
|
}>> & {
|
|
553
553
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
554
554
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
555
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
555
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
556
556
|
$attrs: {
|
|
557
557
|
[x: string]: unknown;
|
|
558
558
|
};
|
|
@@ -727,8 +727,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
727
727
|
disabled: boolean;
|
|
728
728
|
id: string;
|
|
729
729
|
value: string | number | boolean | Record<string, any>;
|
|
730
|
-
modelValue: string | number | boolean;
|
|
731
730
|
label: string | number | boolean | Record<string, any>;
|
|
731
|
+
modelValue: string | number | boolean;
|
|
732
732
|
validateEvent: boolean;
|
|
733
733
|
checked: boolean;
|
|
734
734
|
indeterminate: boolean;
|
|
@@ -825,8 +825,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
825
825
|
readonly size?: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
826
826
|
readonly id?: string | undefined;
|
|
827
827
|
readonly value?: string | number | boolean | Record<string, any> | undefined;
|
|
828
|
-
readonly modelValue?: string | number | boolean | undefined;
|
|
829
828
|
readonly label?: string | number | boolean | Record<string, any> | undefined;
|
|
829
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
830
830
|
readonly ariaControls?: string | undefined;
|
|
831
831
|
readonly trueValue?: string | number | undefined;
|
|
832
832
|
readonly falseValue?: string | number | undefined;
|
|
@@ -891,7 +891,7 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
891
891
|
}>> & {
|
|
892
892
|
"onUpdate:modelValue"?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
893
893
|
onChange?: ((val: import("element-plus").CheckboxValueType) => any) | undefined;
|
|
894
|
-
}, "name" | "border" | "disabled" | "id" | "value" | "
|
|
894
|
+
}, "name" | "border" | "disabled" | "id" | "value" | "label" | "modelValue" | "validateEvent" | "checked" | "indeterminate" | "trueValue" | "falseValue" | "trueLabel" | "falseLabel">;
|
|
895
895
|
$attrs: {
|
|
896
896
|
[x: string]: unknown;
|
|
897
897
|
};
|
|
@@ -1069,8 +1069,8 @@ export declare const GmCheckboxButton: import("../../../../utils").SFCWithInstal
|
|
|
1069
1069
|
disabled: boolean;
|
|
1070
1070
|
id: string;
|
|
1071
1071
|
value: string | number | boolean | Record<string, any>;
|
|
1072
|
-
modelValue: string | number | boolean;
|
|
1073
1072
|
label: string | number | boolean | Record<string, any>;
|
|
1073
|
+
modelValue: string | number | boolean;
|
|
1074
1074
|
validateEvent: boolean;
|
|
1075
1075
|
checked: boolean;
|
|
1076
1076
|
indeterminate: boolean;
|