@oinone/cli 7.2.5 → 7.2.7
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/README.md +100 -71
- package/README_zh-CN.md +100 -71
- package/bin/cli.js +48 -473
- package/bin/commands/cache.js +70 -0
- package/bin/commands/create/enterprise.js +81 -0
- package/bin/commands/create/index.js +128 -0
- package/bin/commands/create/project.js +81 -0
- package/bin/commands/create/prompts.js +126 -0
- package/bin/commands/create/static-resources.js +159 -0
- package/bin/commands/create/template.js +38 -0
- package/bin/commands/create/update-check.js +44 -0
- package/bin/commands/create/version-source.js +32 -0
- package/bin/commands/create.js +1 -0
- package/bin/commands/doctor.js +51 -0
- package/bin/config.js +54 -0
- package/bin/i18n.js +51 -125
- package/bin/locales/en-US.json +81 -0
- package/bin/locales/zh-CN.json +81 -0
- package/bin/utils/oinone-version.js +60 -0
- package/package.json +2 -2
- package/template-6.4.0/packages/ss-boot/public/favicon.ico +0 -0
- package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/main.ts +1 -2
- package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/vue.config.js +1 -1
- package/{template-7.2.0-community → template-7.2.0}/npmrc +2 -0
- package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/package.json +3 -2
- package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/rollup.config.js +2 -0
- package/template-7.2.0/packages/ss-boot/public/favicon.ico +0 -0
- package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/src/main.ts +1 -2
- package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/vue.config.js +1 -1
- package/{template-7.2.0-enterprise → template-7.2.0}/packages/ss-oinone/package.json +3 -2
- package/{template-7.2.0-enterprise → template-7.2.0}/packages/ss-oinone/rollup.config.js +2 -0
- package/{template-7.2.0-community → template-7.2.0}/packages/ss-project/package.json +3 -2
- package/{template-7.2.0-enterprise → template-7.2.0}/packages/ss-project/rollup.config.js +2 -0
- package/template-6.4.0-community/packages/ss-boot/public/favicon.ico +0 -0
- package/template-6.4.0-enterprise/.eslintignore +0 -5
- package/template-6.4.0-enterprise/.eslintrc.json +0 -72
- package/template-6.4.0-enterprise/_package.json +0 -47
- package/template-6.4.0-enterprise/npmrc +0 -3
- package/template-6.4.0-enterprise/packages/ss-admin-widget/package.json +0 -25
- package/template-6.4.0-enterprise/packages/ss-admin-widget/rollup.config.js +0 -73
- package/template-6.4.0-enterprise/packages/ss-admin-widget/tsconfig.json +0 -45
- package/template-6.4.0-enterprise/packages/ss-boot/package.json +0 -66
- package/template-6.4.0-enterprise/packages/ss-boot/public/favicon.ico +0 -0
- package/template-6.4.0-enterprise/packages/ss-boot/src/main.ts +0 -69
- package/template-6.4.0-enterprise/packages/ss-boot/tsconfig.json +0 -44
- package/template-6.4.0-enterprise/packages/ss-boot/vue.config.js +0 -84
- package/template-6.4.0-enterprise/packages/ss-oinone/package.json +0 -29
- package/template-6.4.0-enterprise/packages/ss-oinone/rollup.config.js +0 -82
- package/template-6.4.0-enterprise/packages/ss-oinone/tsconfig.json +0 -42
- package/template-6.4.0-enterprise/packages/ss-project/package.json +0 -30
- package/template-6.4.0-enterprise/packages/ss-project/rollup.config.js +0 -83
- package/template-6.4.0-enterprise/packages/ss-project/tsconfig.json +0 -42
- package/template-6.4.0-enterprise/scripts/build/postbuild.js +0 -42
- package/template-6.4.0-enterprise/scripts/build/prebuild-only.js +0 -48
- package/template-7.2.0-community/.prettierrc.json +0 -8
- package/template-7.2.0-community/README.md +0 -59
- package/template-7.2.0-community/gitignore +0 -58
- package/template-7.2.0-community/lerna.json +0 -12
- package/template-7.2.0-community/packages/ss-admin-widget/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-admin-widget/scripts/postpublish.js +0 -13
- package/template-7.2.0-community/packages/ss-admin-widget/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-community/packages/ss-admin-widget/src/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-admin-widget/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-community/packages/ss-admin-widget/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-community/packages/ss-boot/.env +0 -1
- package/template-7.2.0-community/packages/ss-boot/.env.example +0 -6
- package/template-7.2.0-community/packages/ss-boot/public/favicon.ico +0 -0
- package/template-7.2.0-community/packages/ss-boot/public/index.html +0 -83
- package/template-7.2.0-community/packages/ss-boot/public/manifest.js +0 -5
- package/template-7.2.0-community/packages/ss-boot/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-community/packages/ss-boot/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-community/packages/ss-oinone/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-oinone/package.json +0 -30
- package/template-7.2.0-community/packages/ss-oinone/rollup.config.js +0 -14
- package/template-7.2.0-community/packages/ss-oinone/scripts/postpublish.js +0 -13
- package/template-7.2.0-community/packages/ss-oinone/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-community/packages/ss-oinone/src/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-oinone/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-community/packages/ss-oinone/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-community/packages/ss-project/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-project/rollup.config.js +0 -14
- package/template-7.2.0-community/packages/ss-project/scripts/postpublish.js +0 -13
- package/template-7.2.0-community/packages/ss-project/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-community/packages/ss-project/src/index.ts +0 -1
- package/template-7.2.0-community/packages/ss-project/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-community/packages/ss-project/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-community/pnpm-workspace.yaml +0 -3
- package/template-7.2.0-community/scripts/build/inset-tsconfig.js +0 -68
- package/template-7.2.0-community/scripts/build/package-name.js +0 -25
- package/template-7.2.0-community/scripts/clean.mjs +0 -22
- package/template-7.2.0-enterprise/.prettierrc.json +0 -8
- package/template-7.2.0-enterprise/README.md +0 -59
- package/template-7.2.0-enterprise/_package.json +0 -57
- package/template-7.2.0-enterprise/eslint.config.ts +0 -23
- package/template-7.2.0-enterprise/gitignore +0 -58
- package/template-7.2.0-enterprise/lerna.json +0 -12
- package/template-7.2.0-enterprise/npmrc +0 -3
- package/template-7.2.0-enterprise/packages/ss-admin-widget/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-admin-widget/package.json +0 -27
- package/template-7.2.0-enterprise/packages/ss-admin-widget/rollup.config.js +0 -14
- package/template-7.2.0-enterprise/packages/ss-admin-widget/scripts/postpublish.js +0 -13
- package/template-7.2.0-enterprise/packages/ss-admin-widget/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-enterprise/packages/ss-admin-widget/src/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-admin-widget/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-enterprise/packages/ss-admin-widget/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-enterprise/packages/ss-admin-widget/tsconfig.json +0 -14
- package/template-7.2.0-enterprise/packages/ss-boot/.env +0 -1
- package/template-7.2.0-enterprise/packages/ss-boot/.env.example +0 -6
- package/template-7.2.0-enterprise/packages/ss-boot/package.json +0 -64
- package/template-7.2.0-enterprise/packages/ss-boot/public/favicon.ico +0 -0
- package/template-7.2.0-enterprise/packages/ss-boot/public/index.html +0 -83
- package/template-7.2.0-enterprise/packages/ss-boot/public/manifest.js +0 -5
- package/template-7.2.0-enterprise/packages/ss-boot/src/main.ts +0 -66
- package/template-7.2.0-enterprise/packages/ss-boot/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-enterprise/packages/ss-boot/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-enterprise/packages/ss-boot/tsconfig.json +0 -27
- package/template-7.2.0-enterprise/packages/ss-boot/vue.config.js +0 -87
- package/template-7.2.0-enterprise/packages/ss-oinone/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-oinone/scripts/postpublish.js +0 -13
- package/template-7.2.0-enterprise/packages/ss-oinone/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-enterprise/packages/ss-oinone/src/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-oinone/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-enterprise/packages/ss-oinone/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-enterprise/packages/ss-oinone/tsconfig.json +0 -14
- package/template-7.2.0-enterprise/packages/ss-project/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-project/package.json +0 -30
- package/template-7.2.0-enterprise/packages/ss-project/scripts/postpublish.js +0 -13
- package/template-7.2.0-enterprise/packages/ss-project/scripts/prepublish-only.js +0 -24
- package/template-7.2.0-enterprise/packages/ss-project/src/index.ts +0 -1
- package/template-7.2.0-enterprise/packages/ss-project/src/shim-translate.d.ts +0 -10
- package/template-7.2.0-enterprise/packages/ss-project/src/shim-vue.d.ts +0 -6
- package/template-7.2.0-enterprise/packages/ss-project/tsconfig.json +0 -14
- package/template-7.2.0-enterprise/pnpm-workspace.yaml +0 -3
- package/template-7.2.0-enterprise/scripts/build/inset-tsconfig.js +0 -68
- package/template-7.2.0-enterprise/scripts/build/package-name.js +0 -25
- package/template-7.2.0-enterprise/scripts/clean.mjs +0 -22
- /package/{template-6.4.0-community → template-6.4.0}/.eslintignore +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/.eslintrc.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/.prettierrc.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/README.md +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/_package.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/gitignore +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/lerna.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/npmrc +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/package.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/rollup.config.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/shim-vue.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/tsconfig.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/.env +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/.env.example +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/package.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/public/index.html +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/public/manifest.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/shim-vue.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/tsconfig.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/package.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/rollup.config.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/shim-vue.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/tsconfig.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/package.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/rollup.config.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/index.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/shim-vue.d.ts +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/tsconfig.json +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/pnpm-workspace.yaml +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/scripts/build/inset-tsconfig.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/scripts/build/package-name.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/scripts/build/postbuild.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/scripts/build/prebuild-only.js +0 -0
- /package/{template-6.4.0-community → template-6.4.0}/scripts/clean.mjs +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/.prettierrc.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/README.md +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/_package.json +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/eslint.config.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/gitignore +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/lerna.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/shim-vue.d.ts +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/tsconfig.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/.env +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/.env.example +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/package.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/public/index.html +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/public/manifest.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/src/shim-vue.d.ts +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/tsconfig.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/shim-vue.d.ts +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/packages/ss-oinone/tsconfig.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/scripts/postpublish.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/scripts/prepublish-only.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/index.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/shim-translate.d.ts +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/shim-vue.d.ts +0 -0
- /package/{template-7.2.0-community → template-7.2.0}/packages/ss-project/tsconfig.json +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/pnpm-workspace.yaml +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/build/inset-tsconfig.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/build/package-name.js +0 -0
- /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/clean.mjs +0 -0
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import json from '@rollup/plugin-json';
|
|
2
|
-
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
|
3
|
-
import replace from '@rollup/plugin-replace';
|
|
4
|
-
import commonjs from 'rollup-plugin-commonjs';
|
|
5
|
-
import scss from 'rollup-plugin-scss';
|
|
6
|
-
import typescript from 'rollup-plugin-typescript2';
|
|
7
|
-
import vue from 'rollup-plugin-vue';
|
|
8
|
-
|
|
9
|
-
const libraryName = 'ss-oinone';
|
|
10
|
-
|
|
11
|
-
const external = [
|
|
12
|
-
'vue',
|
|
13
|
-
'lodash-es',
|
|
14
|
-
'ant-design-vue',
|
|
15
|
-
'@element-plus/icons-vue',
|
|
16
|
-
'element-plus',
|
|
17
|
-
'@oinone/kunlun-dependencies',
|
|
18
|
-
'@oinone/kunlun-vue-ui-antd',
|
|
19
|
-
'@oinone/kunlun-vue-ui-el'
|
|
20
|
-
];
|
|
21
|
-
|
|
22
|
-
const tsconfigOverride = {
|
|
23
|
-
compilerOptions: {
|
|
24
|
-
outDir: 'dist',
|
|
25
|
-
declaration: true,
|
|
26
|
-
declarationDir: 'dist/types'
|
|
27
|
-
},
|
|
28
|
-
include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
|
|
29
|
-
exclude: ['tests/**/*.ts', 'tests/**/*.tsx']
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const plugins = [
|
|
33
|
-
replace({
|
|
34
|
-
'process.env.NODE_ENV': JSON.stringify('development'),
|
|
35
|
-
preventAssignment: true
|
|
36
|
-
}),
|
|
37
|
-
nodeResolve({
|
|
38
|
-
extensions: ['.mjs', '.js', '.json', '.node', '.ts', '.tsx', '.vue']
|
|
39
|
-
}),
|
|
40
|
-
|
|
41
|
-
typescript({
|
|
42
|
-
useTsconfigDeclarationDir: true,
|
|
43
|
-
tsconfigOverride,
|
|
44
|
-
include: ['**/*.ts', '**/*.tsx'],
|
|
45
|
-
check: false
|
|
46
|
-
}),
|
|
47
|
-
|
|
48
|
-
vue({
|
|
49
|
-
preprocessStyles: true,
|
|
50
|
-
needMap: false
|
|
51
|
-
}),
|
|
52
|
-
|
|
53
|
-
scss({
|
|
54
|
-
fileName: `${libraryName}.scss`,
|
|
55
|
-
output: `dist/${libraryName}.scss`,
|
|
56
|
-
sourceMap: false,
|
|
57
|
-
outputStyle: 'compressed'
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
json(),
|
|
61
|
-
commonjs()
|
|
62
|
-
];
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
input: `index.ts`,
|
|
66
|
-
output: [
|
|
67
|
-
{
|
|
68
|
-
file: `dist/${libraryName}.esm.js`,
|
|
69
|
-
format: 'esm',
|
|
70
|
-
sourcemap: false
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
onwarn(warning) {
|
|
74
|
-
if (warning.code === 'THIS_IS_UNDEFINED' || /Circular/.test(warning.message)) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
console.error(warning.message);
|
|
79
|
-
},
|
|
80
|
-
external,
|
|
81
|
-
plugins
|
|
82
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"strict": true,
|
|
4
|
-
"target": "ES6",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"jsx": "preserve",
|
|
7
|
-
"importHelpers": true,
|
|
8
|
-
"moduleResolution": "node",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"experimentalDecorators": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"checkJs": false,
|
|
16
|
-
"noImplicitAny": false,
|
|
17
|
-
"baseUrl": ".",
|
|
18
|
-
"types": [
|
|
19
|
-
"webpack-env"
|
|
20
|
-
],
|
|
21
|
-
"paths": {},
|
|
22
|
-
"lib": [
|
|
23
|
-
"ES2018",
|
|
24
|
-
"esnext",
|
|
25
|
-
"dom",
|
|
26
|
-
"dom.iterable",
|
|
27
|
-
"scripthost"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"include": [
|
|
31
|
-
"index.ts",
|
|
32
|
-
"src/**/*.ts",
|
|
33
|
-
"src/**/*.tsx",
|
|
34
|
-
"src/**/*.vue",
|
|
35
|
-
"tests/**/*.ts",
|
|
36
|
-
"tests/**/*.tsx"
|
|
37
|
-
],
|
|
38
|
-
"exclude": [
|
|
39
|
-
"node_modules",
|
|
40
|
-
"dist"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ss/project",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.ts",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"clean": "rimraf dist package-lock.json node_modules",
|
|
7
|
-
"prebuild": "rimraf dist",
|
|
8
|
-
"build": "rollup -c && npm run build-css",
|
|
9
|
-
"build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
|
|
10
|
-
"build-win": "rollup -c && npm run build-css-win",
|
|
11
|
-
"build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
|
|
12
|
-
"prepublishOnly": "node ./scripts/prepublish-only.js",
|
|
13
|
-
"postpublish": "node ./scripts/postpublish.js"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"lucide": "1.7.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@element-plus/icons-vue": "2.0.9",
|
|
20
|
-
"@oinone/kunlun-dependencies": "~6.4.0",
|
|
21
|
-
"@oinone/kunlun-vue-ui-antd": "~6.4.0",
|
|
22
|
-
"@oinone/kunlun-vue-ui-el": "~6.4.0",
|
|
23
|
-
"@ss/admin-widget": "workspace:*",
|
|
24
|
-
"@ss/oinone": "workspace:*",
|
|
25
|
-
"@types/lodash-es": "4.17.6",
|
|
26
|
-
"ant-design-vue": "3.2.14",
|
|
27
|
-
"element-plus": "2.2.17",
|
|
28
|
-
"vue": "3.2.40"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import json from '@rollup/plugin-json';
|
|
2
|
-
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
|
3
|
-
import replace from '@rollup/plugin-replace';
|
|
4
|
-
import commonjs from 'rollup-plugin-commonjs';
|
|
5
|
-
import scss from 'rollup-plugin-scss';
|
|
6
|
-
import typescript from 'rollup-plugin-typescript2';
|
|
7
|
-
import vue from 'rollup-plugin-vue';
|
|
8
|
-
|
|
9
|
-
const libraryName = 'ss-project';
|
|
10
|
-
|
|
11
|
-
const external = [
|
|
12
|
-
'vue',
|
|
13
|
-
'lodash-es',
|
|
14
|
-
'ant-design-vue',
|
|
15
|
-
'@element-plus/icons-vue',
|
|
16
|
-
'element-plus',
|
|
17
|
-
'@oinone/kunlun-dependencies',
|
|
18
|
-
'@oinone/kunlun-vue-ui-antd',
|
|
19
|
-
'@oinone/kunlun-vue-ui-el',
|
|
20
|
-
'@ss/oinone'
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
const tsconfigOverride = {
|
|
24
|
-
compilerOptions: {
|
|
25
|
-
outDir: 'dist',
|
|
26
|
-
declaration: true,
|
|
27
|
-
declarationDir: 'dist/types'
|
|
28
|
-
},
|
|
29
|
-
include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
|
|
30
|
-
exclude: ['tests/**/*.ts', 'tests/**/*.tsx']
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const plugins = [
|
|
34
|
-
replace({
|
|
35
|
-
'process.env.NODE_ENV': JSON.stringify('development'),
|
|
36
|
-
preventAssignment: true
|
|
37
|
-
}),
|
|
38
|
-
nodeResolve({
|
|
39
|
-
extensions: ['.mjs', '.js', '.json', '.node', '.ts', '.tsx', '.vue']
|
|
40
|
-
}),
|
|
41
|
-
|
|
42
|
-
typescript({
|
|
43
|
-
useTsconfigDeclarationDir: true,
|
|
44
|
-
tsconfigOverride,
|
|
45
|
-
include: ['**/*.ts', '**/*.tsx'],
|
|
46
|
-
check: false
|
|
47
|
-
}),
|
|
48
|
-
|
|
49
|
-
vue({
|
|
50
|
-
preprocessStyles: true,
|
|
51
|
-
needMap: false
|
|
52
|
-
}),
|
|
53
|
-
|
|
54
|
-
scss({
|
|
55
|
-
fileName: `${libraryName}.scss`,
|
|
56
|
-
output: `dist/${libraryName}.scss`,
|
|
57
|
-
sourceMap: false,
|
|
58
|
-
outputStyle: 'compressed'
|
|
59
|
-
}),
|
|
60
|
-
|
|
61
|
-
json(),
|
|
62
|
-
commonjs()
|
|
63
|
-
];
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
input: `index.ts`,
|
|
67
|
-
output: [
|
|
68
|
-
{
|
|
69
|
-
file: `dist/${libraryName}.esm.js`,
|
|
70
|
-
format: 'esm',
|
|
71
|
-
sourcemap: false
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
onwarn(warning) {
|
|
75
|
-
if (warning.code === 'THIS_IS_UNDEFINED' || /Circular/.test(warning.message)) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
console.error(warning.message);
|
|
80
|
-
},
|
|
81
|
-
external,
|
|
82
|
-
plugins
|
|
83
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"strict": true,
|
|
4
|
-
"target": "ES6",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"jsx": "preserve",
|
|
7
|
-
"importHelpers": true,
|
|
8
|
-
"moduleResolution": "node",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"experimentalDecorators": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"checkJs": false,
|
|
16
|
-
"noImplicitAny": false,
|
|
17
|
-
"baseUrl": ".",
|
|
18
|
-
"types": [
|
|
19
|
-
"webpack-env"
|
|
20
|
-
],
|
|
21
|
-
"paths": {},
|
|
22
|
-
"lib": [
|
|
23
|
-
"ES2018",
|
|
24
|
-
"esnext",
|
|
25
|
-
"dom",
|
|
26
|
-
"dom.iterable",
|
|
27
|
-
"scripthost"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"include": [
|
|
31
|
-
"index.ts",
|
|
32
|
-
"src/**/*.ts",
|
|
33
|
-
"src/**/*.tsx",
|
|
34
|
-
"src/**/*.vue",
|
|
35
|
-
"tests/**/*.ts",
|
|
36
|
-
"tests/**/*.tsx"
|
|
37
|
-
],
|
|
38
|
-
"exclude": [
|
|
39
|
-
"node_modules",
|
|
40
|
-
"dist"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
const fs = require('fs').promises;
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const { packageNames } = require('./package-name');
|
|
4
|
-
|
|
5
|
-
async function revertPackageJson(packageNames) {
|
|
6
|
-
const oinoneCwd = path.resolve(process.cwd(), '../../node_modules');
|
|
7
|
-
|
|
8
|
-
await Promise.all(
|
|
9
|
-
packageNames.map(async (pkgName) => {
|
|
10
|
-
try {
|
|
11
|
-
const packageJsonPath = path.resolve(oinoneCwd, pkgName, 'package.json');
|
|
12
|
-
|
|
13
|
-
// 检查package.json是否存在
|
|
14
|
-
try {
|
|
15
|
-
await fs.access(packageJsonPath);
|
|
16
|
-
} catch (err) {
|
|
17
|
-
console.error(`${pkgName} 的 package.json 不存在`);
|
|
18
|
-
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// 读取并解析 package.json
|
|
23
|
-
const packageJsonStr = await fs.readFile(packageJsonPath, 'utf8');
|
|
24
|
-
const packageJson = JSON.parse(packageJsonStr);
|
|
25
|
-
|
|
26
|
-
packageJson.main = 'index.ts';
|
|
27
|
-
delete packageJson.module;
|
|
28
|
-
delete packageJson.typings;
|
|
29
|
-
delete packageJson.files;
|
|
30
|
-
|
|
31
|
-
// 写回文件
|
|
32
|
-
await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8');
|
|
33
|
-
} catch (error) {
|
|
34
|
-
console.error(`Error processing ${pkgName}:`, error.message);
|
|
35
|
-
}
|
|
36
|
-
})
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
revertPackageJson(packageNames).then(async () => {
|
|
41
|
-
console.log('All packages revert');
|
|
42
|
-
});
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
const fs = require('fs').promises;
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const { packageNames } = require('./package-name');
|
|
4
|
-
const { insetTSConfig } = require('./inset-tsconfig');
|
|
5
|
-
|
|
6
|
-
async function updatePackageJson(packageNames) {
|
|
7
|
-
const oinoneCwd = path.resolve(process.cwd(), '../../node_modules');
|
|
8
|
-
|
|
9
|
-
await Promise.all(
|
|
10
|
-
packageNames.map(async (pkgName) => {
|
|
11
|
-
try {
|
|
12
|
-
const packageJsonPath = path.resolve(oinoneCwd, pkgName, 'package.json');
|
|
13
|
-
console.log(packageJsonPath)
|
|
14
|
-
// 检查package.json是否存在
|
|
15
|
-
try {
|
|
16
|
-
await fs.access(packageJsonPath);
|
|
17
|
-
} catch (err) {
|
|
18
|
-
console.error(`${pkgName} 的 package.json 不存在`);
|
|
19
|
-
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// 读取并解析 package.json
|
|
24
|
-
const packageJsonStr = await fs.readFile(packageJsonPath, 'utf8');
|
|
25
|
-
const packageJson = JSON.parse(packageJsonStr);
|
|
26
|
-
|
|
27
|
-
// 生成库名称
|
|
28
|
-
const libName = packageJson.name.replace('@', '').replace('/', '-');
|
|
29
|
-
|
|
30
|
-
// 更新字段
|
|
31
|
-
packageJson.main = `dist/${libName}.esm.js`;
|
|
32
|
-
packageJson.module = `dist/${libName}.esm.js`;
|
|
33
|
-
packageJson.typings = 'dist/types/index.d.ts';
|
|
34
|
-
|
|
35
|
-
packageJson.files = ['dist'];
|
|
36
|
-
// 写回文件
|
|
37
|
-
await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf8');
|
|
38
|
-
} catch (error) {
|
|
39
|
-
console.error(`Error processing ${pkgName}:`, error.message);
|
|
40
|
-
}
|
|
41
|
-
})
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
updatePackageJson(packageNames).then(async () => {
|
|
46
|
-
await insetTSConfig();
|
|
47
|
-
console.log('All packages updated');
|
|
48
|
-
});
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
## 快速上手
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
|
|
5
|
-
# 初始化安装依赖
|
|
6
|
-
pnpm install
|
|
7
|
-
|
|
8
|
-
# 清理所有依赖
|
|
9
|
-
pnpm run clean
|
|
10
|
-
pnpm run clean:win
|
|
11
|
-
|
|
12
|
-
# 开发模式启动
|
|
13
|
-
pnpm run dev
|
|
14
|
-
|
|
15
|
-
# 构建生产sdk包
|
|
16
|
-
|
|
17
|
-
# mac 环境
|
|
18
|
-
pnpm run build
|
|
19
|
-
|
|
20
|
-
# windows环境
|
|
21
|
-
pnpm run build-win
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### 工程分层说明
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
# ss-boot
|
|
29
|
-
不做业务研发,只做包的组装和依赖
|
|
30
|
-
|
|
31
|
-
# ss-oinone
|
|
32
|
-
与Oinone结合层,这个工程结构可以把数式Oinone的改造收口,也是业务工程依赖的核心层
|
|
33
|
-
|
|
34
|
-
# ss-admin-widget
|
|
35
|
-
与界面设计器无代码的结合工程,在这个工程结构里可以把组件放在无代码平台上使用
|
|
36
|
-
|
|
37
|
-
# ss-project
|
|
38
|
-
模拟的项目工程,做某个项目的个性化开发
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### 修改开发模式后端 api 地址
|
|
42
|
-
|
|
43
|
-
修改文件 `packages/ss-boot/vue.config.js` 的 `devServer.proxy.pamirs.target` 指向需要的后端地址。
|
|
44
|
-
|
|
45
|
-
## 前端环境
|
|
46
|
-
|
|
47
|
-
**.npmrc**
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
registry=https://registry.npmmirror.com/
|
|
51
|
-
@oinone:registry=http://nexus.shushi.pro/repository/kunlun/
|
|
52
|
-
legacy-peer-deps=true
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### 登录npm源
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
npm login --registry "http://nexus.shushi.pro/repository/kunlun/"
|
|
59
|
-
```
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Dependencies
|
|
2
|
-
node_modules/
|
|
3
|
-
.pnp
|
|
4
|
-
.pnp.js
|
|
5
|
-
|
|
6
|
-
# Build Output
|
|
7
|
-
dist/
|
|
8
|
-
dist-ssr/
|
|
9
|
-
build/
|
|
10
|
-
out/
|
|
11
|
-
coverage/
|
|
12
|
-
|
|
13
|
-
# Vue / React / Framework specific
|
|
14
|
-
.nuxt/
|
|
15
|
-
.next/
|
|
16
|
-
.output/
|
|
17
|
-
.vuepress/dist/
|
|
18
|
-
.docusaurus/
|
|
19
|
-
|
|
20
|
-
# Environment Variables
|
|
21
|
-
.env
|
|
22
|
-
.env.local
|
|
23
|
-
.env.development.local
|
|
24
|
-
.env.test.local
|
|
25
|
-
.env.production.local
|
|
26
|
-
|
|
27
|
-
# Logs
|
|
28
|
-
npm-debug.log*
|
|
29
|
-
yarn-debug.log*
|
|
30
|
-
yarn-error.log*
|
|
31
|
-
pnpm-debug.log*
|
|
32
|
-
*.log
|
|
33
|
-
|
|
34
|
-
# Editor & OS Files
|
|
35
|
-
.vscode/
|
|
36
|
-
.idea/
|
|
37
|
-
*.suo
|
|
38
|
-
*.ntvs*
|
|
39
|
-
*.njsproj
|
|
40
|
-
*.sln
|
|
41
|
-
*.sw?
|
|
42
|
-
.DS_Store
|
|
43
|
-
.DS_Store?
|
|
44
|
-
._*
|
|
45
|
-
.Spotlight-V100
|
|
46
|
-
.Trashes
|
|
47
|
-
ehthumbs.db
|
|
48
|
-
Thumbs.db
|
|
49
|
-
|
|
50
|
-
# Lockfiles (Optional depending on project standard, usually kept in VC)
|
|
51
|
-
package-lock.json
|
|
52
|
-
yarn.lock
|
|
53
|
-
pnpm-lock.yaml
|
|
54
|
-
|
|
55
|
-
# Local configuration
|
|
56
|
-
.eslintcache
|
|
57
|
-
.stylelintcache
|
|
58
|
-
*.tsbuildinfo
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/no-dynamic-require */
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const url = path.resolve(process.cwd(), 'package.json');
|
|
6
|
-
const packageJSON = require(url);
|
|
7
|
-
|
|
8
|
-
packageJSON.main = 'index.ts';
|
|
9
|
-
delete packageJSON.module;
|
|
10
|
-
delete packageJSON.typings;
|
|
11
|
-
delete packageJSON.files;
|
|
12
|
-
|
|
13
|
-
fs.writeFileSync('package.json', JSON.stringify(packageJSON, null, 2));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/no-dynamic-require */
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
-
const fs = require('fs');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const url = path.resolve(process.cwd(), 'package.json');
|
|
6
|
-
const packageJSON = require(url);
|
|
7
|
-
|
|
8
|
-
const libName = packageJSON.name.replace('@', '').replace('/', '-');
|
|
9
|
-
|
|
10
|
-
packageJSON.main = `dist/${libName}.esm.js`;
|
|
11
|
-
packageJSON.module = `dist/${libName}.esm.js`;
|
|
12
|
-
const typings = 'dist/types/index.d.ts';
|
|
13
|
-
packageJSON.typings = typings;
|
|
14
|
-
|
|
15
|
-
const typingsUrl = path.resolve(process.cwd(), typings);
|
|
16
|
-
const dir = fs.existsSync(typingsUrl);
|
|
17
|
-
|
|
18
|
-
if (!dir) {
|
|
19
|
-
packageJSON.typings = 'dist/index.d.ts';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
packageJSON.files = ['dist'];
|
|
23
|
-
|
|
24
|
-
fs.writeFileSync('package.json', JSON.stringify(packageJSON, null, 2));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
STATIC_IMG=/oss/images
|
|
File without changes
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN" dir="ltr">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
|
-
<link ref="viewport" content="width=device-width,initial-scale=1.0" />
|
|
8
|
-
<title>Oinone</title>
|
|
9
|
-
<style>
|
|
10
|
-
:root {
|
|
11
|
-
--ss-primary: var(--oio-primary-color) !important;
|
|
12
|
-
--ss-action-hover-bg: var(--oio-primary-color) !important;
|
|
13
|
-
--ss-hover-bg: rgba(var(--oio-primary-color-rgb), 0.1) !important;
|
|
14
|
-
--table-high-light-bg: rgba(var(--oio-primary-color-rgb), 0.1) !important;
|
|
15
|
-
--el-color-primary: var(--oio-primary-color) !important;
|
|
16
|
-
--oio-background: #fff;
|
|
17
|
-
--oio-margin: 24px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
#app {
|
|
21
|
-
height: 100%;
|
|
22
|
-
width: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.default-metadata-main-view-spin {
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
#app > .ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
|
|
31
|
-
width: 32px;
|
|
32
|
-
height: 32px;
|
|
33
|
-
position: relative;
|
|
34
|
-
left: 0;
|
|
35
|
-
margin: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.default-metadata-main-view-spin > .ant-spin-dot {
|
|
39
|
-
top: 50%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.default-metadata-main-view-wrapper {
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.default-metadata-main-view-wrapper > div > .oio-spin {
|
|
47
|
-
max-height: 100%;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.default-metadata-main-view-wrapper > .ant-spin-container {
|
|
51
|
-
height: 100%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.default-metadata-main-view-wrapper > .ant-spin-container > .ant-spin-blur > * {
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.el-popper__arrow {
|
|
59
|
-
visibility: hidden;
|
|
60
|
-
}
|
|
61
|
-
</style>
|
|
62
|
-
<script>
|
|
63
|
-
var _hmt = _hmt || [];
|
|
64
|
-
(function() {
|
|
65
|
-
var hm = document.createElement('script');
|
|
66
|
-
hm.src = 'https://hm.baidu.com/hm.js?c43bb1cd186bf6cd5c9062eb5235f4fd';
|
|
67
|
-
var s = document.getElementsByTagName('script')[0];
|
|
68
|
-
s.parentNode.insertBefore(hm, s);
|
|
69
|
-
})();
|
|
70
|
-
</script>
|
|
71
|
-
</head>
|
|
72
|
-
|
|
73
|
-
<body>
|
|
74
|
-
<noscript>
|
|
75
|
-
<strong
|
|
76
|
-
>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to
|
|
77
|
-
continue.</strong
|
|
78
|
-
>
|
|
79
|
-
</noscript>
|
|
80
|
-
<div id="app"></div>
|
|
81
|
-
<script src="https://pamirs.oss-cn-hangzhou.aliyuncs.com/oinone/common/wangEditor.min.js"></script>
|
|
82
|
-
</body>
|
|
83
|
-
</html>
|