@liujitcn/kratos-admin-core 0.0.29 → 0.0.31

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.
Files changed (81) hide show
  1. package/README.md +7 -6
  2. package/build/auto-imports.json +73 -0
  3. package/build/plugins.ts +2 -58
  4. package/dist/package/declarations/src/api/base/mfa.d.ts +26 -0
  5. package/dist/package/declarations/src/components/Dialog/FormDialog.vue.d.ts +3 -3
  6. package/dist/package/declarations/src/components/Dialog/PasswordVerifyDialog.vue.d.ts +65 -0
  7. package/dist/package/declarations/src/components/Dialog/ProDialog.vue.d.ts +1 -1
  8. package/dist/package/declarations/src/components/Grid/components/GridItem.vue.d.ts +1 -1
  9. package/dist/package/declarations/src/components/Mfa/MfaRecoveryCodesDialog.vue.d.ts +19 -0
  10. package/dist/package/declarations/src/components/Mfa/MfaSetupPanel.vue.d.ts +8 -0
  11. package/dist/package/declarations/src/components/ProForm/components/ProFormItem.vue.d.ts +4 -4
  12. package/dist/package/declarations/src/components/ProForm/index.vue.d.ts +1 -1
  13. package/dist/package/declarations/src/components/ProForm/interface/index.d.ts +4 -1
  14. package/dist/package/declarations/src/components/RichTextPreview/index.vue.d.ts +8 -0
  15. package/dist/package/declarations/src/components/Upload/Img.vue.d.ts +1 -1
  16. package/dist/package/declarations/src/components/Upload/Imgs.vue.d.ts +1 -1
  17. package/dist/package/declarations/src/layouts/components/LockScreen.vue.d.ts +3 -0
  18. package/dist/package/declarations/src/locales/generated.d.ts +168 -0
  19. package/dist/package/declarations/src/locales/index.d.ts +2 -0
  20. package/dist/package/declarations/src/rpc/base/v1/login.d.ts +33 -3
  21. package/dist/package/declarations/src/rpc/base/v1/mfa.d.ts +152 -0
  22. package/dist/package/declarations/src/rpc/base/v1/oauth.d.ts +25 -0
  23. package/dist/package/declarations/src/rpc/base/v1/oauth_client.d.ts +23 -0
  24. package/dist/package/declarations/src/rpc/system/admin/v1/base_i18n.d.ts +10 -6
  25. package/dist/package/declarations/src/security.d.ts +2 -0
  26. package/dist/package/declarations/src/stores/interface/index.d.ts +13 -0
  27. package/dist/package/declarations/src/stores/modules/lockScreen.d.ts +20 -0
  28. package/dist/package/declarations/src/stores/modules/user.d.ts +5 -2
  29. package/dist/package/declarations/src/stores/runtime.d.ts +1 -0
  30. package/dist/package/declarations/src/utils/clipboard.d.ts +2 -0
  31. package/dist/package/declarations/src/utils/webauthn.d.ts +4 -0
  32. package/dist/package/declarations/vite.config.d.ts +2 -0
  33. package/dist/package/src/api/base/mfa.ts +114 -0
  34. package/dist/package/src/components/Dialog/PasswordVerifyDialog.vue +176 -0
  35. package/dist/package/src/components/Loading/fullScreen.ts +2 -1
  36. package/dist/package/src/components/MarkdownPreview/index.vue +21 -1
  37. package/dist/package/src/components/Mfa/MfaRecoveryCodesDialog.vue +91 -0
  38. package/dist/package/src/components/Mfa/MfaSetupPanel.vue +81 -0
  39. package/dist/package/src/components/ProForm/components/ProFormItem.vue +16 -1
  40. package/dist/package/src/components/ProForm/interface/index.ts +4 -0
  41. package/dist/package/src/components/ProTable/components/ColSetting.vue +1 -1
  42. package/dist/package/src/components/ProTable/index.vue +6 -2
  43. package/dist/package/src/components/RichTextPreview/index.vue +45 -0
  44. package/dist/package/src/config/index.ts +1 -1
  45. package/dist/package/src/layouts/LayoutClassic/index.vue +3 -1
  46. package/dist/package/src/layouts/LayoutColumns/index.vue +3 -1
  47. package/dist/package/src/layouts/LayoutTransverse/index.vue +3 -1
  48. package/dist/package/src/layouts/LayoutVertical/index.vue +9 -1
  49. package/dist/package/src/layouts/components/Header/components/Avatar.vue +23 -4
  50. package/dist/package/src/layouts/components/Header/components/InfoDialog.vue +1 -1
  51. package/dist/package/src/layouts/components/Header/components/PasswordDialog.vue +1 -1
  52. package/dist/package/src/layouts/components/LockScreen.vue +450 -0
  53. package/dist/package/src/layouts/index.vue +2 -0
  54. package/dist/package/src/layouts/indexAsync.vue +2 -0
  55. package/dist/package/src/locales/README.md +2 -1
  56. package/dist/package/src/locales/en-US.json +43 -1
  57. package/dist/package/src/locales/index.ts +16 -12
  58. package/dist/package/src/locales/ja-JP.json +43 -1
  59. package/dist/package/src/locales/zh-CN.json +43 -1
  60. package/dist/package/src/locales/zh-TW.json +43 -1
  61. package/dist/package/src/rpc/base/v1/login.ts +33 -2
  62. package/dist/package/src/rpc/base/v1/mfa.ts +180 -0
  63. package/dist/package/src/rpc/base/v1/oauth.ts +25 -0
  64. package/dist/package/src/rpc/base/v1/oauth_client.ts +33 -0
  65. package/dist/package/src/rpc/system/admin/v1/base_i18n.ts +10 -6
  66. package/dist/package/src/security.ts +2 -0
  67. package/dist/package/src/stores/interface/index.ts +14 -0
  68. package/dist/package/src/stores/modules/lockScreen.ts +78 -0
  69. package/dist/package/src/stores/modules/user.ts +16 -3
  70. package/dist/package/src/stores/runtime.ts +1 -0
  71. package/dist/package/src/utils/clipboard.ts +22 -0
  72. package/dist/package/src/utils/request.ts +26 -10
  73. package/dist/package/src/utils/webauthn.ts +90 -0
  74. package/dist/package/src/views/login/components/LoginForm.vue +237 -16
  75. package/dist/package/src/views/login/index.vue +3 -1
  76. package/dist/package/types/generated/auto-imports.d.ts +132 -129
  77. package/dist/package/types/generated/components.d.ts +4 -72
  78. package/package.json +22 -1
  79. package/types/generated/auto-imports.d.ts +132 -129
  80. package/types/generated/components.d.ts +4 -72
  81. package/vite.config.ts +3 -1
@@ -6,137 +6,140 @@
6
6
  // biome-ignore lint: disable
7
7
  export {}
8
8
  declare global {
9
- const ArrowDown: typeof import("@element-plus/icons-vue").ArrowDown;
10
- const ArrowRight: typeof import("@element-plus/icons-vue").ArrowRight;
11
- const ArrowUp: typeof import("@element-plus/icons-vue").ArrowUp;
12
- const Camera: typeof import("@element-plus/icons-vue").Camera;
13
- const CircleCheck: typeof import("@element-plus/icons-vue").CircleCheck;
14
- const CircleClose: typeof import("@element-plus/icons-vue").CircleClose;
15
- const CirclePlus: typeof import("@element-plus/icons-vue").CirclePlus;
16
- const Delete: typeof import("@element-plus/icons-vue").Delete;
17
- const Document: typeof import("@element-plus/icons-vue").Document;
18
- const Download: typeof import("@element-plus/icons-vue").Download;
19
- const Edit: typeof import("@element-plus/icons-vue").Edit;
20
- const EditPen: typeof import("@element-plus/icons-vue").EditPen;
21
- const EffectScope: typeof import("vue").EffectScope;
22
- const ElConfigProvider: typeof import("element-plus").ElConfigProvider;
23
- const ElLoading: typeof import("element-plus").ElLoading;
24
- const ElMessage: typeof import("element-plus").ElMessage;
25
- const ElMessageBox: typeof import("element-plus").ElMessageBox;
26
- const ElNotification: typeof import("element-plus").ElNotification;
27
- const ElTable: typeof import("element-plus").ElTable;
28
- const ElTree: typeof import("element-plus").ElTree;
29
- const Expand: typeof import("@element-plus/icons-vue").Expand;
30
- const Female: typeof import("@element-plus/icons-vue").Female;
31
- const Fold: typeof import("@element-plus/icons-vue").Fold;
32
- const Goods: typeof import("@element-plus/icons-vue").Goods;
33
- const InfoFilled: typeof import("@element-plus/icons-vue").InfoFilled;
34
- const List: typeof import("@element-plus/icons-vue").List;
35
- const Male: typeof import("@element-plus/icons-vue").Male;
36
- const Moon: typeof import("@element-plus/icons-vue").Moon;
37
- const Operation: typeof import("@element-plus/icons-vue").Operation;
38
- const Phone: typeof import("@element-plus/icons-vue").Phone;
39
- const Plus: typeof import("@element-plus/icons-vue").Plus;
40
- const Position: typeof import("@element-plus/icons-vue").Position;
41
- const QuestionFilled: typeof import("@element-plus/icons-vue").QuestionFilled;
42
- const Refresh: typeof import("@element-plus/icons-vue").Refresh;
43
- const RefreshLeft: typeof import("@element-plus/icons-vue").RefreshLeft;
44
- const Search: typeof import("@element-plus/icons-vue").Search;
45
- const Sunny: typeof import("@element-plus/icons-vue").Sunny;
46
- const Switch: typeof import("@element-plus/icons-vue").Switch;
47
- const Tickets: typeof import("@element-plus/icons-vue").Tickets;
48
- const Timer: typeof import("@element-plus/icons-vue").Timer;
49
- const User: typeof import("@element-plus/icons-vue").User;
50
- const UserFilled: typeof import("@element-plus/icons-vue").UserFilled;
51
- const Van: typeof import("@element-plus/icons-vue").Van;
52
- const View: typeof import("@element-plus/icons-vue").View;
53
- const Wallet: typeof import("@element-plus/icons-vue").Wallet;
54
- const computed: typeof import("vue").computed;
55
- const createApp: typeof import("vue").createApp;
56
- const customRef: typeof import("vue").customRef;
57
- const defineAsyncComponent: typeof import("vue").defineAsyncComponent;
58
- const defineComponent: typeof import("vue").defineComponent;
59
- const effectScope: typeof import("vue").effectScope;
60
- const formContextKey: typeof import("element-plus").formContextKey;
61
- const formItemContextKey: typeof import("element-plus").formItemContextKey;
62
- const getCurrentInstance: typeof import("vue").getCurrentInstance;
63
- const getCurrentScope: typeof import("vue").getCurrentScope;
64
- const getCurrentWatcher: typeof import("vue").getCurrentWatcher;
65
- const h: typeof import("vue").h;
66
- const inject: typeof import("vue").inject;
67
- const isProxy: typeof import("vue").isProxy;
68
- const isReactive: typeof import("vue").isReactive;
69
- const isReadonly: typeof import("vue").isReadonly;
70
- const isRef: typeof import("vue").isRef;
71
- const isShallow: typeof import("vue").isShallow;
72
- const markRaw: typeof import("vue").markRaw;
73
- const nextTick: typeof import("vue").nextTick;
74
- const onActivated: typeof import("vue").onActivated;
75
- const onBeforeMount: typeof import("vue").onBeforeMount;
76
- const onBeforeRouteLeave: typeof import("vue-router").onBeforeRouteLeave;
77
- const onBeforeRouteUpdate: typeof import("vue-router").onBeforeRouteUpdate;
78
- const onBeforeUnmount: typeof import("vue").onBeforeUnmount;
79
- const onBeforeUpdate: typeof import("vue").onBeforeUpdate;
80
- const onDeactivated: typeof import("vue").onDeactivated;
81
- const onErrorCaptured: typeof import("vue").onErrorCaptured;
82
- const onMounted: typeof import("vue").onMounted;
83
- const onRenderTracked: typeof import("vue").onRenderTracked;
84
- const onRenderTriggered: typeof import("vue").onRenderTriggered;
85
- const onScopeDispose: typeof import("vue").onScopeDispose;
86
- const onServerPrefetch: typeof import("vue").onServerPrefetch;
87
- const onUnmounted: typeof import("vue").onUnmounted;
88
- const onUpdated: typeof import("vue").onUpdated;
89
- const onWatcherCleanup: typeof import("vue").onWatcherCleanup;
90
- const provide: typeof import("vue").provide;
91
- const reactive: typeof import("vue").reactive;
92
- const readonly: typeof import("vue").readonly;
93
- const ref: typeof import("vue").ref;
94
- const resolveComponent: typeof import("vue").resolveComponent;
95
- const shallowReactive: typeof import("vue").shallowReactive;
96
- const shallowReadonly: typeof import("vue").shallowReadonly;
97
- const shallowRef: typeof import("vue").shallowRef;
98
- const toRaw: typeof import("vue").toRaw;
99
- const toRef: typeof import("vue").toRef;
100
- const toRefs: typeof import("vue").toRefs;
101
- const toValue: typeof import("vue").toValue;
102
- const triggerRef: typeof import("vue").triggerRef;
103
- const unref: typeof import("vue").unref;
104
- const useAttrs: typeof import("vue").useAttrs;
105
- const useCssModule: typeof import("vue").useCssModule;
106
- const useCssVars: typeof import("vue").useCssVars;
107
- const useId: typeof import("vue").useId;
108
- const useLink: typeof import("vue-router").useLink;
109
- const useModel: typeof import("vue").useModel;
110
- const useRoute: typeof import("vue-router").useRoute;
111
- const useRouter: typeof import("vue-router").useRouter;
112
- const useSlots: typeof import("vue").useSlots;
113
- const useTemplateRef: typeof import("vue").useTemplateRef;
114
- const watch: typeof import("vue").watch;
115
- const watchEffect: typeof import("vue").watchEffect;
116
- const watchPostEffect: typeof import("vue").watchPostEffect;
117
- const watchSyncEffect: typeof import("vue").watchSyncEffect;
9
+ const ArrowDown: typeof import('@element-plus/icons-vue').ArrowDown
10
+ const ArrowLeft: typeof import('@element-plus/icons-vue').ArrowLeft
11
+ const ArrowRight: typeof import('@element-plus/icons-vue').ArrowRight
12
+ const ArrowUp: typeof import('@element-plus/icons-vue').ArrowUp
13
+ const Bell: typeof import('@element-plus/icons-vue').Bell
14
+ const Calendar: typeof import('@element-plus/icons-vue').Calendar
15
+ const Camera: typeof import('@element-plus/icons-vue').Camera
16
+ const ChatDotRound: typeof import('@element-plus/icons-vue').ChatDotRound
17
+ const CircleCheck: typeof import('@element-plus/icons-vue').CircleCheck
18
+ const CircleCheckFilled: typeof import('@element-plus/icons-vue').CircleCheckFilled
19
+ const CircleClose: typeof import('@element-plus/icons-vue').CircleClose
20
+ const CirclePlus: typeof import('@element-plus/icons-vue').CirclePlus
21
+ const Close: typeof import('@element-plus/icons-vue').Close
22
+ const CollectionTag: typeof import('@element-plus/icons-vue').CollectionTag
23
+ const CopyDocument: typeof import('@element-plus/icons-vue').CopyDocument
24
+ const DataAnalysis: typeof import('@element-plus/icons-vue').DataAnalysis
25
+ const Delete: typeof import('@element-plus/icons-vue').Delete
26
+ const Document: typeof import('@element-plus/icons-vue').Document
27
+ const Download: typeof import('@element-plus/icons-vue').Download
28
+ const Edit: typeof import('@element-plus/icons-vue').Edit
29
+ const EditPen: typeof import('@element-plus/icons-vue').EditPen
30
+ const EffectScope: typeof import('vue').EffectScope
31
+ const ElConfigProvider: typeof import('element-plus').ElConfigProvider
32
+ const ElImage: typeof import('element-plus').ElImage
33
+ const ElLoading: typeof import('element-plus').ElLoading
34
+ const ElMessage: typeof import('element-plus').ElMessage
35
+ const ElMessageBox: typeof import('element-plus').ElMessageBox
36
+ const ElNotification: typeof import('element-plus').ElNotification
37
+ const ElTable: typeof import('element-plus').ElTable
38
+ const ElTag: typeof import('element-plus').ElTag
39
+ const ElTooltip: typeof import('element-plus').ElTooltip
40
+ const ElTree: typeof import('element-plus').ElTree
41
+ const Expand: typeof import('@element-plus/icons-vue').Expand
42
+ const Female: typeof import('@element-plus/icons-vue').Female
43
+ const Finished: typeof import('@element-plus/icons-vue').Finished
44
+ const Fold: typeof import('@element-plus/icons-vue').Fold
45
+ const Folder: typeof import('@element-plus/icons-vue').Folder
46
+ const Goods: typeof import('@element-plus/icons-vue').Goods
47
+ const InfoFilled: typeof import('@element-plus/icons-vue').InfoFilled
48
+ const List: typeof import('@element-plus/icons-vue').List
49
+ const Lock: typeof import('@element-plus/icons-vue').Lock
50
+ const Male: typeof import('@element-plus/icons-vue').Male
51
+ const Message: typeof import('@element-plus/icons-vue').Message
52
+ const Moon: typeof import('@element-plus/icons-vue').Moon
53
+ const Operation: typeof import('@element-plus/icons-vue').Operation
54
+ const Phone: typeof import('@element-plus/icons-vue').Phone
55
+ const Plus: typeof import('@element-plus/icons-vue').Plus
56
+ const Position: typeof import('@element-plus/icons-vue').Position
57
+ const Promotion: typeof import('@element-plus/icons-vue').Promotion
58
+ const QuestionFilled: typeof import('@element-plus/icons-vue').QuestionFilled
59
+ const Refresh: typeof import('@element-plus/icons-vue').Refresh
60
+ const RefreshLeft: typeof import('@element-plus/icons-vue').RefreshLeft
61
+ const RefreshRight: typeof import('@element-plus/icons-vue').RefreshRight
62
+ const Search: typeof import('@element-plus/icons-vue').Search
63
+ const Setting: typeof import('@element-plus/icons-vue').Setting
64
+ const Sunny: typeof import('@element-plus/icons-vue').Sunny
65
+ const Switch: typeof import('@element-plus/icons-vue').Switch
66
+ const SwitchButton: typeof import('@element-plus/icons-vue').SwitchButton
67
+ const Tickets: typeof import('@element-plus/icons-vue').Tickets
68
+ const Timer: typeof import('@element-plus/icons-vue').Timer
69
+ const User: typeof import('@element-plus/icons-vue').User
70
+ const UserFilled: typeof import('@element-plus/icons-vue').UserFilled
71
+ const Van: typeof import('@element-plus/icons-vue').Van
72
+ const View: typeof import('@element-plus/icons-vue').View
73
+ const Wallet: typeof import('@element-plus/icons-vue').Wallet
74
+ const WarningFilled: typeof import('@element-plus/icons-vue').WarningFilled
75
+ const computed: typeof import('vue').computed
76
+ const createApp: typeof import('vue').createApp
77
+ const customRef: typeof import('vue').customRef
78
+ const defineAsyncComponent: typeof import('vue').defineAsyncComponent
79
+ const defineComponent: typeof import('vue').defineComponent
80
+ const effectScope: typeof import('vue').effectScope
81
+ const formContextKey: typeof import('element-plus').formContextKey
82
+ const formItemContextKey: typeof import('element-plus').formItemContextKey
83
+ const getCurrentInstance: typeof import('vue').getCurrentInstance
84
+ const getCurrentScope: typeof import('vue').getCurrentScope
85
+ const getCurrentWatcher: typeof import('vue').getCurrentWatcher
86
+ const h: typeof import('vue').h
87
+ const inject: typeof import('vue').inject
88
+ const isProxy: typeof import('vue').isProxy
89
+ const isReactive: typeof import('vue').isReactive
90
+ const isReadonly: typeof import('vue').isReadonly
91
+ const isRef: typeof import('vue').isRef
92
+ const isShallow: typeof import('vue').isShallow
93
+ const markRaw: typeof import('vue').markRaw
94
+ const nextTick: typeof import('vue').nextTick
95
+ const onActivated: typeof import('vue').onActivated
96
+ const onBeforeMount: typeof import('vue').onBeforeMount
97
+ const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
98
+ const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
99
+ const onBeforeUnmount: typeof import('vue').onBeforeUnmount
100
+ const onBeforeUpdate: typeof import('vue').onBeforeUpdate
101
+ const onDeactivated: typeof import('vue').onDeactivated
102
+ const onErrorCaptured: typeof import('vue').onErrorCaptured
103
+ const onMounted: typeof import('vue').onMounted
104
+ const onRenderTracked: typeof import('vue').onRenderTracked
105
+ const onRenderTriggered: typeof import('vue').onRenderTriggered
106
+ const onScopeDispose: typeof import('vue').onScopeDispose
107
+ const onServerPrefetch: typeof import('vue').onServerPrefetch
108
+ const onUnmounted: typeof import('vue').onUnmounted
109
+ const onUpdated: typeof import('vue').onUpdated
110
+ const onWatcherCleanup: typeof import('vue').onWatcherCleanup
111
+ const provide: typeof import('vue').provide
112
+ const reactive: typeof import('vue').reactive
113
+ const readonly: typeof import('vue').readonly
114
+ const ref: typeof import('vue').ref
115
+ const resolveComponent: typeof import('vue').resolveComponent
116
+ const shallowReactive: typeof import('vue').shallowReactive
117
+ const shallowReadonly: typeof import('vue').shallowReadonly
118
+ const shallowRef: typeof import('vue').shallowRef
119
+ const toRaw: typeof import('vue').toRaw
120
+ const toRef: typeof import('vue').toRef
121
+ const toRefs: typeof import('vue').toRefs
122
+ const toValue: typeof import('vue').toValue
123
+ const triggerRef: typeof import('vue').triggerRef
124
+ const unref: typeof import('vue').unref
125
+ const useAttrs: typeof import('vue').useAttrs
126
+ const useCssModule: typeof import('vue').useCssModule
127
+ const useCssVars: typeof import('vue').useCssVars
128
+ const useId: typeof import('vue').useId
129
+ const useLink: typeof import('vue-router').useLink
130
+ const useModel: typeof import('vue').useModel
131
+ const useRoute: typeof import('vue-router').useRoute
132
+ const useRouter: typeof import('vue-router').useRouter
133
+ const useSlots: typeof import('vue').useSlots
134
+ const useTemplateRef: typeof import('vue').useTemplateRef
135
+ const watch: typeof import('vue').watch
136
+ const watchEffect: typeof import('vue').watchEffect
137
+ const watchPostEffect: typeof import('vue').watchPostEffect
138
+ const watchSyncEffect: typeof import('vue').watchSyncEffect
118
139
  }
119
140
  // for type re-export
120
141
  declare global {
121
142
  // @ts-ignore
122
- export type {
123
- Component,
124
- Slot,
125
- Slots,
126
- ComponentPublicInstance,
127
- ComputedRef,
128
- DirectiveBinding,
129
- ExtractDefaultPropTypes,
130
- ExtractPropTypes,
131
- ExtractPublicPropTypes,
132
- InjectionKey,
133
- PropType,
134
- Ref,
135
- ShallowRef,
136
- MaybeRef,
137
- MaybeRefOrGetter,
138
- VNode,
139
- WritableComputedRef
140
- } from "vue";
141
- import("vue");
143
+ export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
144
+ import('vue')
142
145
  }
@@ -5,9 +5,8 @@
5
5
  // ------
6
6
  // Generated by unplugin-vue-components
7
7
  // Read more: https://github.com/vuejs/core/pull/3399
8
- import { GlobalComponents } from "vue";
9
8
 
10
- export {};
9
+ export {}
11
10
 
12
11
  /* prettier-ignore */
13
12
  declare module 'vue' {
@@ -15,6 +14,7 @@ declare module 'vue' {
15
14
  ElAlert: typeof import('element-plus/es')['ElAlert']
16
15
  ElAside: typeof import('element-plus/es')['ElAside']
17
16
  ElAvatar: typeof import('element-plus/es')['ElAvatar']
17
+ ElBadge: typeof import('element-plus/es')['ElBadge']
18
18
  ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
19
19
  ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
20
20
  ElButton: typeof import('element-plus/es')['ElButton']
@@ -44,6 +44,7 @@ declare module 'vue' {
44
44
  ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
45
45
  ElInput: typeof import('element-plus/es')['ElInput']
46
46
  ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
47
+ ElLink: typeof import('element-plus/es')['ElLink']
47
48
  ElMain: typeof import('element-plus/es')['ElMain']
48
49
  ElMenu: typeof import('element-plus/es')['ElMenu']
49
50
  ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
@@ -71,81 +72,12 @@ declare module 'vue' {
71
72
  ElTag: typeof import('element-plus/es')['ElTag']
72
73
  ElTooltip: typeof import('element-plus/es')['ElTooltip']
73
74
  ElTransfer: typeof import('element-plus/es')['ElTransfer']
75
+ ElTree: typeof import('element-plus/es')['ElTree']
74
76
  ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
75
77
  ElUpload: typeof import('element-plus/es')['ElUpload']
76
78
  ElWatermark: typeof import('element-plus/es')['ElWatermark']
77
- RouterLink: typeof import('vue-router')['RouterLink']
78
- RouterView: typeof import('vue-router')['RouterView']
79
79
  }
80
80
  export interface GlobalDirectives {
81
81
  vLoading: typeof import('element-plus/es')['ElLoadingDirective']
82
82
  }
83
83
  }
84
-
85
- // For TSX support
86
- declare global {
87
- const ElAlert: (typeof import("element-plus/es"))["ElAlert"];
88
- const ElAside: (typeof import("element-plus/es"))["ElAside"];
89
- const ElAvatar: (typeof import("element-plus/es"))["ElAvatar"];
90
- const ElBreadcrumb: (typeof import("element-plus/es"))["ElBreadcrumb"];
91
- const ElBreadcrumbItem: (typeof import("element-plus/es"))["ElBreadcrumbItem"];
92
- const ElButton: (typeof import("element-plus/es"))["ElButton"];
93
- const ElCard: (typeof import("element-plus/es"))["ElCard"];
94
- const ElCheckbox: (typeof import("element-plus/es"))["ElCheckbox"];
95
- const ElCheckboxGroup: (typeof import("element-plus/es"))["ElCheckboxGroup"];
96
- const ElCol: (typeof import("element-plus/es"))["ElCol"];
97
- const ElCollapse: (typeof import("element-plus/es"))["ElCollapse"];
98
- const ElCollapseItem: (typeof import("element-plus/es"))["ElCollapseItem"];
99
- const ElColorPicker: (typeof import("element-plus/es"))["ElColorPicker"];
100
- const ElContainer: (typeof import("element-plus/es"))["ElContainer"];
101
- const ElDatePicker: (typeof import("element-plus/es"))["ElDatePicker"];
102
- const ElDescriptions: (typeof import("element-plus/es"))["ElDescriptions"];
103
- const ElDescriptionsItem: (typeof import("element-plus/es"))["ElDescriptionsItem"];
104
- const ElDialog: (typeof import("element-plus/es"))["ElDialog"];
105
- const ElDivider: (typeof import("element-plus/es"))["ElDivider"];
106
- const ElDrawer: (typeof import("element-plus/es"))["ElDrawer"];
107
- const ElDropdown: (typeof import("element-plus/es"))["ElDropdown"];
108
- const ElDropdownItem: (typeof import("element-plus/es"))["ElDropdownItem"];
109
- const ElDropdownMenu: (typeof import("element-plus/es"))["ElDropdownMenu"];
110
- const ElEmpty: (typeof import("element-plus/es"))["ElEmpty"];
111
- const ElFooter: (typeof import("element-plus/es"))["ElFooter"];
112
- const ElForm: (typeof import("element-plus/es"))["ElForm"];
113
- const ElFormItem: (typeof import("element-plus/es"))["ElFormItem"];
114
- const ElHeader: (typeof import("element-plus/es"))["ElHeader"];
115
- const ElIcon: (typeof import("element-plus/es"))["ElIcon"];
116
- const ElImageViewer: (typeof import("element-plus/es"))["ElImageViewer"];
117
- const ElInput: (typeof import("element-plus/es"))["ElInput"];
118
- const ElInputNumber: (typeof import("element-plus/es"))["ElInputNumber"];
119
- const ElMain: (typeof import("element-plus/es"))["ElMain"];
120
- const ElMenu: (typeof import("element-plus/es"))["ElMenu"];
121
- const ElMenuItem: (typeof import("element-plus/es"))["ElMenuItem"];
122
- const ElOption: (typeof import("element-plus/es"))["ElOption"];
123
- const ElPagination: (typeof import("element-plus/es"))["ElPagination"];
124
- const ElPopconfirm: (typeof import("element-plus/es"))["ElPopconfirm"];
125
- const ElPopover: (typeof import("element-plus/es"))["ElPopover"];
126
- const ElProgress: (typeof import("element-plus/es"))["ElProgress"];
127
- const ElRadio: (typeof import("element-plus/es"))["ElRadio"];
128
- const ElRadioButton: (typeof import("element-plus/es"))["ElRadioButton"];
129
- const ElRadioGroup: (typeof import("element-plus/es"))["ElRadioGroup"];
130
- const ElResult: (typeof import("element-plus/es"))["ElResult"];
131
- const ElRow: (typeof import("element-plus/es"))["ElRow"];
132
- const ElScrollbar: (typeof import("element-plus/es"))["ElScrollbar"];
133
- const ElSegmented: (typeof import("element-plus/es"))["ElSegmented"];
134
- const ElSelect: (typeof import("element-plus/es"))["ElSelect"];
135
- const ElSkeleton: (typeof import("element-plus/es"))["ElSkeleton"];
136
- const ElSpace: (typeof import("element-plus/es"))["ElSpace"];
137
- const ElSubMenu: (typeof import("element-plus/es"))["ElSubMenu"];
138
- const ElSwitch: (typeof import("element-plus/es"))["ElSwitch"];
139
- const ElTable: (typeof import("element-plus/es"))["ElTable"];
140
- const ElTableColumn: (typeof import("element-plus/es"))["ElTableColumn"];
141
- const ElTabPane: (typeof import("element-plus/es"))["ElTabPane"];
142
- const ElTabs: (typeof import("element-plus/es"))["ElTabs"];
143
- const ElTag: (typeof import("element-plus/es"))["ElTag"];
144
- const ElTooltip: (typeof import("element-plus/es"))["ElTooltip"];
145
- const ElTransfer: (typeof import("element-plus/es"))["ElTransfer"];
146
- const ElTreeSelect: (typeof import("element-plus/es"))["ElTreeSelect"];
147
- const ElUpload: (typeof import("element-plus/es"))["ElUpload"];
148
- const ElWatermark: (typeof import("element-plus/es"))["ElWatermark"];
149
- const RouterLink: (typeof import("vue-router"))["RouterLink"];
150
- const RouterView: (typeof import("vue-router"))["RouterView"];
151
- }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@liujitcn/kratos-admin-core",
3
3
  "private": false,
4
- "version": "0.0.29",
4
+ "version": "0.0.31",
5
5
  "type": "module",
6
6
  "description": "kratos-admin frontend runtime and base modules",
7
7
  "author": {
@@ -42,6 +42,7 @@
42
42
  "nprogress": "^0.2.0",
43
43
  "pinia": "^3.0.4",
44
44
  "pinia-plugin-persistedstate": "^4.7.1",
45
+ "qrcode-generator": "^2.0.4",
45
46
  "qs": "^6.12.1",
46
47
  "rollup-plugin-visualizer": "^7.0.1",
47
48
  "screenfull": "^6.0.2",
@@ -103,6 +104,18 @@
103
104
  "types": "./dist/package/declarations/src/components/Dialog/ProDialog.vue.d.ts",
104
105
  "default": "./dist/package/src/components/Dialog/ProDialog.vue"
105
106
  },
107
+ "./components/Dialog/PasswordVerifyDialog.vue": {
108
+ "types": "./dist/package/declarations/src/components/Dialog/PasswordVerifyDialog.vue.d.ts",
109
+ "default": "./dist/package/src/components/Dialog/PasswordVerifyDialog.vue"
110
+ },
111
+ "./components/Mfa/MfaSetupPanel.vue": {
112
+ "types": "./dist/package/declarations/src/components/Mfa/MfaSetupPanel.vue.d.ts",
113
+ "default": "./dist/package/src/components/Mfa/MfaSetupPanel.vue"
114
+ },
115
+ "./components/Mfa/MfaRecoveryCodesDialog.vue": {
116
+ "types": "./dist/package/declarations/src/components/Mfa/MfaRecoveryCodesDialog.vue.d.ts",
117
+ "default": "./dist/package/src/components/Mfa/MfaRecoveryCodesDialog.vue"
118
+ },
106
119
  "./components/Dict/DictLabel.vue": {
107
120
  "types": "./dist/package/declarations/src/components/Dict/DictLabel.vue.d.ts",
108
121
  "default": "./dist/package/src/components/Dict/DictLabel.vue"
@@ -111,6 +124,14 @@
111
124
  "types": "./dist/package/declarations/src/components/MarkdownPreview/index.vue.d.ts",
112
125
  "default": "./dist/package/src/components/MarkdownPreview/index.vue"
113
126
  },
127
+ "./components/ECharts/index.vue": {
128
+ "types": "./dist/package/declarations/src/components/ECharts/index.vue.d.ts",
129
+ "default": "./dist/package/src/components/ECharts/index.vue"
130
+ },
131
+ "./components/RichTextPreview/index.vue": {
132
+ "types": "./dist/package/declarations/src/components/RichTextPreview/index.vue.d.ts",
133
+ "default": "./dist/package/src/components/RichTextPreview/index.vue"
134
+ },
114
135
  "./components/PasswordStrength/index.vue": {
115
136
  "types": "./dist/package/declarations/src/components/PasswordStrength/index.vue.d.ts",
116
137
  "default": "./dist/package/src/components/PasswordStrength/index.vue"