vue2-client 1.22.2 → 1.22.4
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 +30 -30
- package/.eslintrc.js +74 -74
- package/.idea/.name +1 -0
- package/.idea/MarsCodeWorkspaceAppSettings.xml +2 -1
- package/.idea/af-vue2-client.iml +9 -0
- package/.idea/deployment.xml +14 -0
- package/.idea/gradle.xml +7 -0
- package/.idea/inspectionProfiles/Project_Default.xml +0 -18
- package/.idea/libraries/contour_plot.xml +9 -0
- package/.idea/material_theme_project_new.xml +18 -0
- package/.idea/misc.xml +88 -0
- package/.idea/modules.xml +1 -1
- package/Components.md +60 -60
- 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/HIS/HButtons/HButtons.vue +55 -1
- package/src/base-client/components/common/HIS/HTab/HTab.vue +88 -1
- 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/index.js +2 -2
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
- package/src/base-client/components/common/XAddReport/XAddReport.vue +16 -1
- 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 +382 -382
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XInput/XInput.vue +32 -1
- package/src/base-client/components/common/XInspectionDetailDrawer/index.vue +1 -1
- 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/index.md +255 -255
- package/src/base-client/components/his/HAi/HAi.vue +800 -59
- package/src/base-client/components/his/XList/XList.vue +337 -58
- package/src/base-client/components/his/XSidebar/XSidebar.vue +36 -12
- 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/GetLoginInfoService.js +4 -4
- 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/STable/index.js +953 -953
- 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/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/services/api/cas.js +79 -79
- package/src/store/modules/setting.js +119 -119
- package/src/utils/errorCode.js +6 -6
- package/src/utils/login.js +11 -11
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
- package/.idea/google-java-format.xml +0 -6
- package/.idea/jsLinters/eslint.xml +0 -6
- package/.idea/vue2-client.iml +0 -12
- package/.vscode/settings.json +0 -28
|
@@ -1,30 +1,30 @@
|
|
|
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
|
-
"mcp__serena__search_for_pattern",
|
|
24
|
-
"Bash(node -c:*)"
|
|
25
|
-
],
|
|
26
|
-
"deny": [],
|
|
27
|
-
"ask": [],
|
|
28
|
-
"defaultMode": "acceptEdits"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
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
|
+
"mcp__serena__search_for_pattern",
|
|
24
|
+
"Bash(node -c:*)"
|
|
25
|
+
],
|
|
26
|
+
"deny": [],
|
|
27
|
+
"ask": [],
|
|
28
|
+
"defaultMode": "acceptEdits"
|
|
29
|
+
}
|
|
30
|
+
}
|
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/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
af-vue2-client
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
|
|
4
|
+
<option name="chatAppRouterInfo" value="chat" />
|
|
4
5
|
<option name="ckgOperationStatus" value="SUCCESS" />
|
|
5
|
-
<option name="progress" value="0
|
|
6
|
+
<option name="progress" value="1.0" />
|
|
6
7
|
</component>
|
|
7
8
|
</project>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
|
|
4
|
+
<serverData>
|
|
5
|
+
<paths name="50.4">
|
|
6
|
+
<serverdata>
|
|
7
|
+
<mappings>
|
|
8
|
+
<mapping local="$PROJECT_DIR$" web="/" />
|
|
9
|
+
</mappings>
|
|
10
|
+
</serverdata>
|
|
11
|
+
</paths>
|
|
12
|
+
</serverData>
|
|
13
|
+
</component>
|
|
14
|
+
</project>
|
package/.idea/gradle.xml
ADDED
|
@@ -2,23 +2,5 @@
|
|
|
2
2
|
<profile version="1.0">
|
|
3
3
|
<option name="myName" value="Project Default" />
|
|
4
4
|
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
-
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
-
<option name="myValues">
|
|
7
|
-
<value>
|
|
8
|
-
<list size="9">
|
|
9
|
-
<item index="0" class="java.lang.String" itemvalue="nobr" />
|
|
10
|
-
<item index="1" class="java.lang.String" itemvalue="noembed" />
|
|
11
|
-
<item index="2" class="java.lang.String" itemvalue="comment" />
|
|
12
|
-
<item index="3" class="java.lang.String" itemvalue="noscript" />
|
|
13
|
-
<item index="4" class="java.lang.String" itemvalue="embed" />
|
|
14
|
-
<item index="5" class="java.lang.String" itemvalue="script" />
|
|
15
|
-
<item index="6" class="java.lang.String" itemvalue="a-month-picker" />
|
|
16
|
-
<item index="7" class="java.lang.String" itemvalue="a-select-option" />
|
|
17
|
-
<item index="8" class="java.lang.String" itemvalue="a-menu-item" />
|
|
18
|
-
</list>
|
|
19
|
-
</value>
|
|
20
|
-
</option>
|
|
21
|
-
<option name="myCustomValuesEnabled" value="true" />
|
|
22
|
-
</inspection_tool>
|
|
23
5
|
</profile>
|
|
24
6
|
</component>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MaterialThemeProjectNewConfig">
|
|
4
|
+
<option name="metadata">
|
|
5
|
+
<MTProjectMetadataState>
|
|
6
|
+
<option name="migrated" value="true" />
|
|
7
|
+
<option name="pristineConfig" value="false" />
|
|
8
|
+
<option name="userId" value="-1f970a2c:17cde818e34:-8000" />
|
|
9
|
+
<option name="version" value="8.6.4" />
|
|
10
|
+
</MTProjectMetadataState>
|
|
11
|
+
</option>
|
|
12
|
+
<option name="titleBarState">
|
|
13
|
+
<MTProjectTitleBarConfigState>
|
|
14
|
+
<option name="overrideColor" value="false" />
|
|
15
|
+
</MTProjectTitleBarConfigState>
|
|
16
|
+
</option>
|
|
17
|
+
</component>
|
|
18
|
+
</project>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<project version="4">
|
|
2
|
+
<component name="ProjectInspectionProfilesVisibleTreeState">
|
|
3
|
+
<entry key="Project Default">
|
|
4
|
+
<profile-state>
|
|
5
|
+
<expanded-state>
|
|
6
|
+
<State>
|
|
7
|
+
<id>EditorConfig</id>
|
|
8
|
+
</State>
|
|
9
|
+
<State>
|
|
10
|
+
<id>Gradle</id>
|
|
11
|
+
</State>
|
|
12
|
+
<State>
|
|
13
|
+
<id>Java</id>
|
|
14
|
+
</State>
|
|
15
|
+
<State>
|
|
16
|
+
<id>Java 21Java 语言级别迁移帮助Java</id>
|
|
17
|
+
</State>
|
|
18
|
+
<State>
|
|
19
|
+
<id>Java 5Java 语言级别迁移帮助Java</id>
|
|
20
|
+
</State>
|
|
21
|
+
<State>
|
|
22
|
+
<id>Java 语言级别迁移帮助Java</id>
|
|
23
|
+
</State>
|
|
24
|
+
<State>
|
|
25
|
+
<id>JavaScript 和 TypeScript</id>
|
|
26
|
+
</State>
|
|
27
|
+
<State>
|
|
28
|
+
<id>PostCSS</id>
|
|
29
|
+
</State>
|
|
30
|
+
<State>
|
|
31
|
+
<id>代码样式问题Java</id>
|
|
32
|
+
</State>
|
|
33
|
+
<State>
|
|
34
|
+
<id>代码样式问题JavaScript 和 TypeScript</id>
|
|
35
|
+
</State>
|
|
36
|
+
<State>
|
|
37
|
+
<id>可能的 bugGradle</id>
|
|
38
|
+
</State>
|
|
39
|
+
<State>
|
|
40
|
+
<id>可能的 bugJava</id>
|
|
41
|
+
</State>
|
|
42
|
+
<State>
|
|
43
|
+
<id>声明冗余Java</id>
|
|
44
|
+
</State>
|
|
45
|
+
<State>
|
|
46
|
+
<id>安全性</id>
|
|
47
|
+
</State>
|
|
48
|
+
<State>
|
|
49
|
+
<id>安全性Java</id>
|
|
50
|
+
</State>
|
|
51
|
+
<State>
|
|
52
|
+
<id>性能Java</id>
|
|
53
|
+
</State>
|
|
54
|
+
<State>
|
|
55
|
+
<id>抽象问题Java</id>
|
|
56
|
+
</State>
|
|
57
|
+
<State>
|
|
58
|
+
<id>控制流问题Java</id>
|
|
59
|
+
</State>
|
|
60
|
+
<State>
|
|
61
|
+
<id>最佳做法Gradle</id>
|
|
62
|
+
</State>
|
|
63
|
+
<State>
|
|
64
|
+
<id>有效性问题Gradle</id>
|
|
65
|
+
</State>
|
|
66
|
+
<State>
|
|
67
|
+
<id>样式Gradle</id>
|
|
68
|
+
</State>
|
|
69
|
+
<State>
|
|
70
|
+
<id>测试框架Java</id>
|
|
71
|
+
</State>
|
|
72
|
+
<State>
|
|
73
|
+
<id>线程问题Java</id>
|
|
74
|
+
</State>
|
|
75
|
+
<State>
|
|
76
|
+
<id>详细或冗余的代码结构Java</id>
|
|
77
|
+
</State>
|
|
78
|
+
<State>
|
|
79
|
+
<id>资源管理Java</id>
|
|
80
|
+
</State>
|
|
81
|
+
</expanded-state>
|
|
82
|
+
</profile-state>
|
|
83
|
+
</entry>
|
|
84
|
+
</component>
|
|
85
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
|
|
86
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
87
|
+
</component>
|
|
88
|
+
</project>
|
package/.idea/modules.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ProjectModuleManager">
|
|
4
4
|
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/vue2-client.iml" filepath="$PROJECT_DIR$/.idea/vue2-client.iml" />
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/af-vue2-client.iml" filepath="$PROJECT_DIR$/.idea/af-vue2-client.iml" />
|
|
6
6
|
</modules>
|
|
7
7
|
</component>
|
|
8
8
|
</project>
|
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)
|
package/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { initRouter } from '@vue2-client/router/index.js'
|
|
3
|
-
import { initI18n } from '@vue2-client/utils/i18n'
|
|
4
|
-
import bootstrap from '@vue2-client/bootstrap'
|
|
5
|
-
import { modules } from '@vue2-client/store'
|
|
6
|
-
import '@vue2-client/theme/index.less'
|
|
7
|
-
import '@vue2-client/utils/filter'
|
|
8
|
-
import 'animate.css/source/animate.css'
|
|
9
|
-
import 'moment/locale/zh-cn'
|
|
10
|
-
import Antd from 'ant-design-vue'
|
|
11
|
-
import Viser from 'viser-vue'
|
|
12
|
-
// 插件
|
|
13
|
-
import Plugins from '@vue2-client/base-client/plugins'
|
|
14
|
-
|
|
15
|
-
const routerOptions = initRouter()
|
|
16
|
-
const i18n = initI18n('CN', 'US')
|
|
17
|
-
|
|
18
|
-
Vue.use(Antd)
|
|
19
|
-
Vue.use(Viser)
|
|
20
|
-
Vue.use(Plugins)
|
|
21
|
-
|
|
22
|
-
Vue.config.productionTip = false
|
|
23
|
-
const message = Vue.prototype.$message
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
routerOptions,
|
|
27
|
-
modules,
|
|
28
|
-
i18n,
|
|
29
|
-
message,
|
|
30
|
-
bootstrap
|
|
31
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { initRouter } from '@vue2-client/router/index.js'
|
|
3
|
+
import { initI18n } from '@vue2-client/utils/i18n'
|
|
4
|
+
import bootstrap from '@vue2-client/bootstrap'
|
|
5
|
+
import { modules } from '@vue2-client/store'
|
|
6
|
+
import '@vue2-client/theme/index.less'
|
|
7
|
+
import '@vue2-client/utils/filter'
|
|
8
|
+
import 'animate.css/source/animate.css'
|
|
9
|
+
import 'moment/locale/zh-cn'
|
|
10
|
+
import Antd from 'ant-design-vue'
|
|
11
|
+
import Viser from 'viser-vue'
|
|
12
|
+
// 插件
|
|
13
|
+
import Plugins from '@vue2-client/base-client/plugins'
|
|
14
|
+
|
|
15
|
+
const routerOptions = initRouter()
|
|
16
|
+
const i18n = initI18n('CN', 'US')
|
|
17
|
+
|
|
18
|
+
Vue.use(Antd)
|
|
19
|
+
Vue.use(Viser)
|
|
20
|
+
Vue.use(Plugins)
|
|
21
|
+
|
|
22
|
+
Vue.config.productionTip = false
|
|
23
|
+
const message = Vue.prototype.$message
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
routerOptions,
|
|
27
|
+
modules,
|
|
28
|
+
i18n,
|
|
29
|
+
message,
|
|
30
|
+
bootstrap
|
|
31
|
+
}
|
package/jest-transform-stub.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
process () {
|
|
3
|
-
return 'module.exports = {};'
|
|
4
|
-
},
|
|
5
|
-
getCacheKey () {
|
|
6
|
-
return 'lessTransform'
|
|
7
|
-
},
|
|
8
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
process () {
|
|
3
|
+
return 'module.exports = {};'
|
|
4
|
+
},
|
|
5
|
+
getCacheKey () {
|
|
6
|
+
return 'lessTransform'
|
|
7
|
+
},
|
|
8
|
+
}
|
package/jest.setup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
global.matchMedia = global.matchMedia || function () {
|
|
2
|
-
return {
|
|
3
|
-
matches: false,
|
|
4
|
-
addListener: function () {},
|
|
5
|
-
removeListener: function () {}
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
global.matchMedia = global.matchMedia || function () {
|
|
2
|
+
return {
|
|
3
|
+
matches: false,
|
|
4
|
+
addListener: function () {},
|
|
5
|
+
removeListener: function () {}
|
|
6
|
+
}
|
|
7
|
+
}
|