vue2-client 1.18.64 → 1.18.66
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/.claude/settings.local.json +28 -28
- package/.eslintrc.js +74 -74
- package/Components.md +60 -60
- package/assets/c__Users_QXLL_AppData_Roaming_Cursor_User_workspaceStorage_4fb3d7e3441d32bc6f2c7358b4188b48_images_e8c132e6dde513250d7f9721712df1f8-f1522a08-1aa0-4866-b4e5-b34cf2e21109.png +0 -0
- package/docs/HChart/351/205/215/347/275/256/346/226/207/346/241/243.md +960 -0
- package/docs/index.md +30 -30
- package/index.js +31 -31
- package/jest-transform-stub.js +8 -8
- package/jest.setup.js +7 -7
- package/package.json +1 -1
- package/src/assets/img/querySlotDemo.svg +15 -15
- package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
- package/src/base-client/components/common/CitySelect/index.js +3 -3
- package/src/base-client/components/common/CitySelect/index.md +109 -109
- package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
- package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
- package/src/base-client/components/common/PersonSetting/index.js +3 -3
- package/src/base-client/components/common/Tree/Tree.vue +149 -149
- package/src/base-client/components/common/Tree/index.js +2 -2
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +9 -4
- package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
- package/src/base-client/components/common/XDataDrawer/index.js +3 -3
- package/src/base-client/components/common/XDataDrawer/index.md +41 -41
- package/src/base-client/components/common/XDescriptions/index.js +3 -3
- package/src/base-client/components/common/XDescriptions/index.md +322 -322
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XFormGroup/demo.vue +8 -11
- package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
- package/src/base-client/components/common/XStepView/index.js +3 -3
- package/src/base-client/components/common/XStepView/index.md +31 -31
- package/src/base-client/components/common/XTable/XTable.vue +1715 -1715
- package/src/base-client/components/common/XTable/XTableWrapper.vue +786 -786
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/base-client/components/his/XTitle/XTitle.vue +11 -1
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
- package/src/base-client/plugins/Config.js +19 -19
- package/src/base-client/plugins/tabs-page-plugin.js +39 -39
- package/src/components/Charts/Bar.vue +62 -62
- package/src/components/Charts/ChartCard.vue +134 -134
- package/src/components/Charts/Liquid.vue +67 -67
- package/src/components/Charts/MiniArea.vue +39 -39
- package/src/components/Charts/MiniBar.vue +39 -39
- package/src/components/Charts/MiniProgress.vue +75 -75
- package/src/components/Charts/MiniSmoothArea.vue +40 -40
- package/src/components/Charts/Radar.vue +68 -68
- package/src/components/Charts/RankList.vue +77 -77
- package/src/components/Charts/TagCloud.vue +113 -113
- package/src/components/Charts/TransferBar.vue +64 -64
- package/src/components/Charts/Trend.vue +82 -82
- package/src/components/Charts/chart.less +12 -12
- package/src/components/Charts/smooth.area.less +13 -13
- package/src/components/NumberInfo/NumberInfo.vue +54 -54
- package/src/components/NumberInfo/index.js +3 -3
- package/src/components/NumberInfo/index.less +54 -54
- package/src/components/NumberInfo/index.md +43 -43
- package/src/components/card/ChartCard.vue +79 -79
- package/src/components/chart/Bar.vue +60 -60
- package/src/components/chart/MiniArea.vue +67 -67
- package/src/components/chart/MiniBar.vue +59 -59
- package/src/components/chart/MiniProgress.vue +57 -57
- package/src/components/chart/Radar.vue +80 -80
- package/src/components/chart/RankingList.vue +60 -60
- package/src/components/chart/Trend.vue +79 -79
- package/src/components/chart/index.less +9 -9
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/input/IInput.vue +66 -66
- package/src/components/menu/SideMenu.vue +75 -75
- package/src/components/menu/menu.js +273 -273
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/layouts/CommonLayout.vue +56 -56
- package/src/layouts/header/HeaderNotice.vue +177 -177
- package/src/lib.js +1 -1
- package/src/mock/extend/index.js +84 -84
- package/src/mock/goods/index.js +108 -108
- package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
- package/src/pages/system/dictionary/index.vue +44 -44
- package/src/pages/system/monitor/loginInfor/index.vue +37 -37
- package/src/pages/system/monitor/operLog/index.vue +37 -37
- package/src/router/async/router.map.js +2 -2
- package/src/services/api/cas.js +79 -79
- package/src/store/modules/setting.js +119 -119
- package/src/utils/authority-utils.js +85 -85
- package/src/utils/errorCode.js +6 -6
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"WebSearch",
|
|
5
|
-
"WebFetch(domain:context7.com)",
|
|
6
|
-
"Bash(npm run lint)",
|
|
7
|
-
"mcp__context7__resolve-library-id",
|
|
8
|
-
"mcp__context7__get-library-docs",
|
|
9
|
-
"WebFetch(domain:github.com)",
|
|
10
|
-
"Bash(npm run serve:*)",
|
|
11
|
-
"mcp__serena__get_current_config",
|
|
12
|
-
"mcp__serena__activate_project",
|
|
13
|
-
"mcp__serena__get_symbols_overview",
|
|
14
|
-
"mcp__serena__list_dir",
|
|
15
|
-
"mcp__serena__find_file",
|
|
16
|
-
"mcp__serena__list_memories",
|
|
17
|
-
"mcp__serena__check_onboarding_performed",
|
|
18
|
-
"mcp__serena__read_memory",
|
|
19
|
-
"mcp__serena__think_about_collected_information",
|
|
20
|
-
"mcp__sequential-thinking__sequentialthinking",
|
|
21
|
-
"Bash(npm run lint:*)",
|
|
22
|
-
"mcp__serena__find_symbol"
|
|
23
|
-
],
|
|
24
|
-
"deny": [],
|
|
25
|
-
"ask": [],
|
|
26
|
-
"defaultMode": "acceptEdits"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"WebSearch",
|
|
5
|
+
"WebFetch(domain:context7.com)",
|
|
6
|
+
"Bash(npm run lint)",
|
|
7
|
+
"mcp__context7__resolve-library-id",
|
|
8
|
+
"mcp__context7__get-library-docs",
|
|
9
|
+
"WebFetch(domain:github.com)",
|
|
10
|
+
"Bash(npm run serve:*)",
|
|
11
|
+
"mcp__serena__get_current_config",
|
|
12
|
+
"mcp__serena__activate_project",
|
|
13
|
+
"mcp__serena__get_symbols_overview",
|
|
14
|
+
"mcp__serena__list_dir",
|
|
15
|
+
"mcp__serena__find_file",
|
|
16
|
+
"mcp__serena__list_memories",
|
|
17
|
+
"mcp__serena__check_onboarding_performed",
|
|
18
|
+
"mcp__serena__read_memory",
|
|
19
|
+
"mcp__serena__think_about_collected_information",
|
|
20
|
+
"mcp__sequential-thinking__sequentialthinking",
|
|
21
|
+
"Bash(npm run lint:*)",
|
|
22
|
+
"mcp__serena__find_symbol"
|
|
23
|
+
],
|
|
24
|
+
"deny": [],
|
|
25
|
+
"ask": [],
|
|
26
|
+
"defaultMode": "acceptEdits"
|
|
27
|
+
}
|
|
28
|
+
}
|
package/.eslintrc.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
node: true
|
|
5
|
-
},
|
|
6
|
-
// prettier 放最后,自动关闭所有与 Prettier 冲突的格式规则
|
|
7
|
-
extends: ['plugin:vue/essential', 'plugin:vue/strongly-recommended', '@vue/standard', 'prettier'],
|
|
8
|
-
rules: {
|
|
9
|
-
camelcase: 'off',
|
|
10
|
-
'comma-dangle': 'off',
|
|
11
|
-
'no-console': 'off',
|
|
12
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
13
|
-
'generator-star-spacing': 'off',
|
|
14
|
-
'no-mixed-operators': 0,
|
|
15
|
-
'vue/max-attributes-per-line': 'off',
|
|
16
|
-
'vue/attribute-hyphenation': 0,
|
|
17
|
-
'vue/html-self-closing': 0,
|
|
18
|
-
'vue/component-name-in-template-casing': 0,
|
|
19
|
-
'vue/html-closing-bracket-spacing': 0,
|
|
20
|
-
'vue/singleline-html-element-content-newline': 0,
|
|
21
|
-
'vue/no-unused-components': 0,
|
|
22
|
-
'vue/multiline-html-element-content-newline': 0,
|
|
23
|
-
'vue/no-use-v-if-with-v-for': 0,
|
|
24
|
-
'vue/html-closing-bracket-newline': 0,
|
|
25
|
-
'vue/no-parsing-error': 0,
|
|
26
|
-
'vue/name-property-casing': 0,
|
|
27
|
-
'vue/multi-word-component-names': 0,
|
|
28
|
-
'vue/no-mutating-props': 0,
|
|
29
|
-
'no-tabs': 0,
|
|
30
|
-
'multiline-ternary': 0,
|
|
31
|
-
'object-shorthand': 0,
|
|
32
|
-
quotes: [
|
|
33
|
-
2,
|
|
34
|
-
'single',
|
|
35
|
-
{
|
|
36
|
-
avoidEscape: true,
|
|
37
|
-
allowTemplateLiterals: true
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
semi: [
|
|
41
|
-
2,
|
|
42
|
-
'never',
|
|
43
|
-
{
|
|
44
|
-
beforeStatementContinuationChars: 'never'
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
'no-delete-var': 2,
|
|
48
|
-
'prefer-const': [
|
|
49
|
-
2,
|
|
50
|
-
{
|
|
51
|
-
ignoreReadBeforeAssign: false
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
'template-curly-spacing': 'off',
|
|
55
|
-
indent: 'off',
|
|
56
|
-
// 必须使用全等: false
|
|
57
|
-
eqeqeq: 0,
|
|
58
|
-
// 可以使用!! 双重否定
|
|
59
|
-
'no-extra-boolean-cast': 'off',
|
|
60
|
-
// 关闭函数名后空格检查,跟随 Prettier 默认风格 function foo()
|
|
61
|
-
'space-before-function-paren': 'off'
|
|
62
|
-
},
|
|
63
|
-
parserOptions: {
|
|
64
|
-
parser: '@babel/eslint-parser'
|
|
65
|
-
},
|
|
66
|
-
overrides: [
|
|
67
|
-
{
|
|
68
|
-
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
|
|
69
|
-
env: {
|
|
70
|
-
jest: true
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
node: true
|
|
5
|
+
},
|
|
6
|
+
// prettier 放最后,自动关闭所有与 Prettier 冲突的格式规则
|
|
7
|
+
extends: ['plugin:vue/essential', 'plugin:vue/strongly-recommended', '@vue/standard', 'prettier'],
|
|
8
|
+
rules: {
|
|
9
|
+
camelcase: 'off',
|
|
10
|
+
'comma-dangle': 'off',
|
|
11
|
+
'no-console': 'off',
|
|
12
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
13
|
+
'generator-star-spacing': 'off',
|
|
14
|
+
'no-mixed-operators': 0,
|
|
15
|
+
'vue/max-attributes-per-line': 'off',
|
|
16
|
+
'vue/attribute-hyphenation': 0,
|
|
17
|
+
'vue/html-self-closing': 0,
|
|
18
|
+
'vue/component-name-in-template-casing': 0,
|
|
19
|
+
'vue/html-closing-bracket-spacing': 0,
|
|
20
|
+
'vue/singleline-html-element-content-newline': 0,
|
|
21
|
+
'vue/no-unused-components': 0,
|
|
22
|
+
'vue/multiline-html-element-content-newline': 0,
|
|
23
|
+
'vue/no-use-v-if-with-v-for': 0,
|
|
24
|
+
'vue/html-closing-bracket-newline': 0,
|
|
25
|
+
'vue/no-parsing-error': 0,
|
|
26
|
+
'vue/name-property-casing': 0,
|
|
27
|
+
'vue/multi-word-component-names': 0,
|
|
28
|
+
'vue/no-mutating-props': 0,
|
|
29
|
+
'no-tabs': 0,
|
|
30
|
+
'multiline-ternary': 0,
|
|
31
|
+
'object-shorthand': 0,
|
|
32
|
+
quotes: [
|
|
33
|
+
2,
|
|
34
|
+
'single',
|
|
35
|
+
{
|
|
36
|
+
avoidEscape: true,
|
|
37
|
+
allowTemplateLiterals: true
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
semi: [
|
|
41
|
+
2,
|
|
42
|
+
'never',
|
|
43
|
+
{
|
|
44
|
+
beforeStatementContinuationChars: 'never'
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
'no-delete-var': 2,
|
|
48
|
+
'prefer-const': [
|
|
49
|
+
2,
|
|
50
|
+
{
|
|
51
|
+
ignoreReadBeforeAssign: false
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
'template-curly-spacing': 'off',
|
|
55
|
+
indent: 'off',
|
|
56
|
+
// 必须使用全等: false
|
|
57
|
+
eqeqeq: 0,
|
|
58
|
+
// 可以使用!! 双重否定
|
|
59
|
+
'no-extra-boolean-cast': 'off',
|
|
60
|
+
// 关闭函数名后空格检查,跟随 Prettier 默认风格 function foo()
|
|
61
|
+
'space-before-function-paren': 'off'
|
|
62
|
+
},
|
|
63
|
+
parserOptions: {
|
|
64
|
+
parser: '@babel/eslint-parser'
|
|
65
|
+
},
|
|
66
|
+
overrides: [
|
|
67
|
+
{
|
|
68
|
+
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
|
|
69
|
+
env: {
|
|
70
|
+
jest: true
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
package/Components.md
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
# vue2基础组件库组件介绍
|
|
2
|
-
|
|
3
|
-
## XAddForm
|
|
4
|
-
|
|
5
|
-
基于XAddNativeForm二次封装的动态表单的Modal形式
|
|
6
|
-
|
|
7
|
-
[使用文档](src/base-client/components/common/XAddForm/index.md)
|
|
8
|
-
|
|
9
|
-
## XAddNativeForm
|
|
10
|
-
|
|
11
|
-
通过JSON配置动态生成的数据保存表单
|
|
12
|
-
|
|
13
|
-
[使用文档](src/base-client/components/common/XAddNativeForm/index.md)
|
|
14
|
-
|
|
15
|
-
## XBadge
|
|
16
|
-
|
|
17
|
-
对antdv的badge组件进行重封装
|
|
18
|
-
|
|
19
|
-
[使用文档](src/base-client/components/common/XBadge/index.md)
|
|
20
|
-
|
|
21
|
-
## XCard
|
|
22
|
-
|
|
23
|
-
通用数据加载状态管理容器
|
|
24
|
-
|
|
25
|
-
提供一个可以根据数据加载状态显示不同内容的通用容器
|
|
26
|
-
当loadState为loading时,显示骨架屏(加载界面)
|
|
27
|
-
当loadState为success时,显示容器内容
|
|
28
|
-
当loadState为error时,显示点击重新加载数据的提示界面
|
|
29
|
-
|
|
30
|
-
[使用文档](src/base-client/components/common/XCard/index.md)
|
|
31
|
-
|
|
32
|
-
## XForm
|
|
33
|
-
|
|
34
|
-
通过JSON配置动态生成的数据筛选查询表单
|
|
35
|
-
|
|
36
|
-
[使用文档](src/base-client/components/common/XForm/index.md)
|
|
37
|
-
|
|
38
|
-
## XTable
|
|
39
|
-
|
|
40
|
-
通过JSON配置动态生成的数据表格
|
|
41
|
-
|
|
42
|
-
[使用文档](src/base-client/components/common/XTable/index.md)
|
|
43
|
-
|
|
44
|
-
## XFormCol
|
|
45
|
-
|
|
46
|
-
适用于动态表单的可以自适应各种分辨率设备的栅格组件封装
|
|
47
|
-
|
|
48
|
-
[使用文档](src/base-client/components/common/XFormCol/index.md)
|
|
49
|
-
|
|
50
|
-
## XFormTable
|
|
51
|
-
|
|
52
|
-
对XAddForm,XForm和XTable组件的二次封装,实现通过JSON配置动态生成一个完整的实体操作页面
|
|
53
|
-
|
|
54
|
-
[使用文档](src/base-client/components/common/XFormTable/index.md)
|
|
55
|
-
|
|
56
|
-
## XImportExcel
|
|
57
|
-
|
|
58
|
-
通用的导入excel组件
|
|
59
|
-
|
|
60
|
-
[使用文档](src/base-client/components/common/XImportExcel/index.md)
|
|
1
|
+
# vue2基础组件库组件介绍
|
|
2
|
+
|
|
3
|
+
## XAddForm
|
|
4
|
+
|
|
5
|
+
基于XAddNativeForm二次封装的动态表单的Modal形式
|
|
6
|
+
|
|
7
|
+
[使用文档](src/base-client/components/common/XAddForm/index.md)
|
|
8
|
+
|
|
9
|
+
## XAddNativeForm
|
|
10
|
+
|
|
11
|
+
通过JSON配置动态生成的数据保存表单
|
|
12
|
+
|
|
13
|
+
[使用文档](src/base-client/components/common/XAddNativeForm/index.md)
|
|
14
|
+
|
|
15
|
+
## XBadge
|
|
16
|
+
|
|
17
|
+
对antdv的badge组件进行重封装
|
|
18
|
+
|
|
19
|
+
[使用文档](src/base-client/components/common/XBadge/index.md)
|
|
20
|
+
|
|
21
|
+
## XCard
|
|
22
|
+
|
|
23
|
+
通用数据加载状态管理容器
|
|
24
|
+
|
|
25
|
+
提供一个可以根据数据加载状态显示不同内容的通用容器
|
|
26
|
+
当loadState为loading时,显示骨架屏(加载界面)
|
|
27
|
+
当loadState为success时,显示容器内容
|
|
28
|
+
当loadState为error时,显示点击重新加载数据的提示界面
|
|
29
|
+
|
|
30
|
+
[使用文档](src/base-client/components/common/XCard/index.md)
|
|
31
|
+
|
|
32
|
+
## XForm
|
|
33
|
+
|
|
34
|
+
通过JSON配置动态生成的数据筛选查询表单
|
|
35
|
+
|
|
36
|
+
[使用文档](src/base-client/components/common/XForm/index.md)
|
|
37
|
+
|
|
38
|
+
## XTable
|
|
39
|
+
|
|
40
|
+
通过JSON配置动态生成的数据表格
|
|
41
|
+
|
|
42
|
+
[使用文档](src/base-client/components/common/XTable/index.md)
|
|
43
|
+
|
|
44
|
+
## XFormCol
|
|
45
|
+
|
|
46
|
+
适用于动态表单的可以自适应各种分辨率设备的栅格组件封装
|
|
47
|
+
|
|
48
|
+
[使用文档](src/base-client/components/common/XFormCol/index.md)
|
|
49
|
+
|
|
50
|
+
## XFormTable
|
|
51
|
+
|
|
52
|
+
对XAddForm,XForm和XTable组件的二次封装,实现通过JSON配置动态生成一个完整的实体操作页面
|
|
53
|
+
|
|
54
|
+
[使用文档](src/base-client/components/common/XFormTable/index.md)
|
|
55
|
+
|
|
56
|
+
## XImportExcel
|
|
57
|
+
|
|
58
|
+
通用的导入excel组件
|
|
59
|
+
|
|
60
|
+
[使用文档](src/base-client/components/common/XImportExcel/index.md)
|