adtec-core-package 0.4.2 → 0.4.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.
Files changed (61) hide show
  1. package/README.en.md +36 -36
  2. package/package.json +59 -59
  3. package/src/api/BasicApi.ts +17 -17
  4. package/src/api/DocumentApi.ts +27 -27
  5. package/src/api/SysDictCacheApi.ts +26 -26
  6. package/src/api/SysUserApi.ts +35 -35
  7. package/src/api/framework.ts +12 -12
  8. package/src/assets/style/ant.scss +19 -19
  9. package/src/assets/style/index.less +180 -180
  10. package/src/components/ElFlex/ElFlex.vue +297 -297
  11. package/src/components/OperationAuth/operationAuth.vue +26 -26
  12. package/src/components/Search/ElIconSearch.vue +260 -260
  13. package/src/components/Search/ElSearch.vue +154 -154
  14. package/src/components/Table/ElTableColumnEdit.vue +218 -218
  15. package/src/components/Title/ElTitle.vue +49 -49
  16. package/src/components/autoToolTip/ElAutoToolTip.vue +61 -61
  17. package/src/components/baseEcharts/index.vue +48 -48
  18. package/src/components/business/userSelect.vue +412 -412
  19. package/src/components/upload/ElUploads.vue +286 -286
  20. package/src/components/upload/FileView.vue +158 -158
  21. package/src/components/upload/FileViewComponents.vue +57 -57
  22. package/src/config/ElementPlusConfig.ts +95 -95
  23. package/src/css/elementUI/autocomplete.scss +89 -89
  24. package/src/css/elementUI/common/var.scss +1549 -1549
  25. package/src/css/elementUI/date-picker/picker.scss +219 -219
  26. package/src/css/elementUI/drawer.scss +164 -164
  27. package/src/css/elementUI/table.scss +694 -694
  28. package/src/css/elementUI/tabs.scss +659 -659
  29. package/src/directives/vKeydown.ts +93 -93
  30. package/src/hooks/useDictHooks.ts +78 -79
  31. package/src/hooks/useEcharts.ts +58 -58
  32. package/src/hooks/useFileView.ts +34 -34
  33. package/src/hooks/useMessageHooks.ts +132 -132
  34. package/src/hooks/useResetRefHooks.ts +18 -18
  35. package/src/interface/BaseEntity.ts +28 -28
  36. package/src/interface/IMdmDept.ts +82 -82
  37. package/src/interface/IOrgDeptInfo.ts +12 -12
  38. package/src/interface/ISysDictDataCacheVo.ts +46 -46
  39. package/src/interface/ISysDictType.ts +37 -37
  40. package/src/interface/ISysMenuDataVo.ts +22 -22
  41. package/src/interface/ISysMenuInfoVo.ts +83 -83
  42. package/src/interface/ISysMenuOperationVo.ts +21 -21
  43. package/src/interface/ISysUploadFiles.ts +16 -16
  44. package/src/interface/ISysUserInfo.ts +70 -70
  45. package/src/interface/IUserPermissionVo.ts +34 -34
  46. package/src/interface/Message.ts +69 -69
  47. package/src/interface/PageData.ts +17 -17
  48. package/src/interface/ResponseData.ts +16 -16
  49. package/src/interface/dictMapType.ts +11 -11
  50. package/src/interface/enum/MessageEnum.ts +41 -41
  51. package/src/mixin/globalMixin.ts +37 -37
  52. package/src/packages/index.ts +18 -18
  53. package/src/packages/text.vue +13 -13
  54. package/src/plugins/echartsConfig.ts +73 -73
  55. package/src/plugins/plugins.ts +12 -12
  56. package/src/stores/dictStore.ts +27 -27
  57. package/src/stores/messageStore.ts +49 -49
  58. package/src/stores/permissionStore.ts +108 -108
  59. package/src/stores/storeConfig.ts +23 -23
  60. package/src/stores/userInfoStore.ts +31 -31
  61. package/src/utils/AxiosConfig.ts +216 -216
@@ -1,48 +1,48 @@
1
- <!--创建人 胡啸东-->
2
- <!--说明: index-->
3
- <!--创建时间: 2024/11/4 下午4:52-->
4
- <!--修改时间: 2024/11/4 下午4:52-->
5
- <template>
6
- <div
7
- ref="echartsRef"
8
- :style="{
9
- width: width,
10
- height: height,
11
- }"
12
- />
13
- </template>
14
-
15
- <script lang="ts" setup>
16
- import { onMounted, type PropType, ref, watch } from 'vue'
17
- import { type EChartsCoreOption, useEcharts } from '../../hooks/useEcharts.ts' // 引入hooks
18
- const props = defineProps({
19
- options: { type: Object as PropType<EChartsCoreOption>, required: true },
20
- height: { type: String, default: '100%' },
21
- width: { type: String, default: '100%' },
22
- themeColors: { type: Array as PropType<string[]>, default: () => [] },
23
- })
24
-
25
- const echartsRef = ref()
26
-
27
- const { setOptions, initCharts } = useEcharts(echartsRef, props.options)
28
-
29
- watch(
30
- () => props.options,
31
- (nVal) => {
32
- let targetOptions: EChartsCoreOption = {}
33
- if (props.themeColors && props.themeColors.length > 0) {
34
- targetOptions = { ...nVal }
35
- targetOptions.color = props.themeColors
36
- } else {
37
- targetOptions = { ...nVal }
38
- }
39
- setOptions(targetOptions)
40
- },
41
- { deep: true },
42
- )
43
-
44
- onMounted(() => {
45
- initCharts()
46
- })
47
- defineExpose({ setOptions, initCharts })
48
- </script>
1
+ <!--创建人 胡啸东-->
2
+ <!--说明: index-->
3
+ <!--创建时间: 2024/11/4 下午4:52-->
4
+ <!--修改时间: 2024/11/4 下午4:52-->
5
+ <template>
6
+ <div
7
+ ref="echartsRef"
8
+ :style="{
9
+ width: width,
10
+ height: height,
11
+ }"
12
+ />
13
+ </template>
14
+
15
+ <script lang="ts" setup>
16
+ import { onMounted, type PropType, ref, watch } from 'vue'
17
+ import { type EChartsCoreOption, useEcharts } from '../../hooks/useEcharts.ts' // 引入hooks
18
+ const props = defineProps({
19
+ options: { type: Object as PropType<EChartsCoreOption>, required: true },
20
+ height: { type: String, default: '100%' },
21
+ width: { type: String, default: '100%' },
22
+ themeColors: { type: Array as PropType<string[]>, default: () => [] },
23
+ })
24
+
25
+ const echartsRef = ref()
26
+
27
+ const { setOptions, initCharts } = useEcharts(echartsRef, props.options)
28
+
29
+ watch(
30
+ () => props.options,
31
+ (nVal) => {
32
+ let targetOptions: EChartsCoreOption = {}
33
+ if (props.themeColors && props.themeColors.length > 0) {
34
+ targetOptions = { ...nVal }
35
+ targetOptions.color = props.themeColors
36
+ } else {
37
+ targetOptions = { ...nVal }
38
+ }
39
+ setOptions(targetOptions)
40
+ },
41
+ { deep: true },
42
+ )
43
+
44
+ onMounted(() => {
45
+ initCharts()
46
+ })
47
+ defineExpose({ setOptions, initCharts })
48
+ </script>