@kengic/vue 0.27.1-beta.0 → 0.27.1-beta.10
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/dist/index.css +1 -1
- package/dist/kengic-vue.js +13854 -13686
- package/dist/project/build/generate/icon/index.ts +2 -5
- package/dist/project/build/script/buildConf.ts +1 -1
- package/dist/project/build/script/postBuild.ts +1 -1
- package/dist/src/component/KgAppSelect/{index.hooks.d.ts → KgAppSelect.hooks.d.ts} +4 -3
- package/dist/src/component/KgAppSelect/{index.store.d.ts → KgAppSelect.store.d.ts} +3 -2
- package/dist/src/component/KgAppSelect/index.d.ts +2 -2
- package/dist/src/component/KgButton/{index.hooks.d.ts → KgButton.hooks.d.ts} +2 -6
- package/dist/src/component/KgButton/{index.store.d.ts → KgButton.store.d.ts} +1 -2
- package/dist/src/component/KgButton/index.d.ts +2 -2
- package/dist/src/component/KgCanvas/{index.hooks.d.ts → KgCanvas.hooks.d.ts} +2 -2
- package/dist/src/component/KgCanvas/index.d.ts +1 -1
- package/dist/src/component/KgForm/{index.hooks.d.ts → KgForm.hooks.d.ts} +2 -2
- package/dist/src/component/KgForm/{index.store.d.ts → KgForm.store.d.ts} +1 -1
- package/dist/src/component/KgForm/index.d.ts +2 -2
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +7 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -9
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +11 -7
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +5 -9
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +5 -7
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +2 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
- package/dist/src/component/KgForm.Item/index.d.ts +1 -1
- package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
- package/dist/src/component/KgModal/KgModal.d.ts +11 -11
- package/dist/src/component/KgSearch/{index.hooks.d.ts → KgSearch.hooks.d.ts} +2 -2
- package/dist/src/component/KgSearch/{index.store.d.ts → KgSearch.store.d.ts} +1 -1
- package/dist/src/component/KgSearch/index.d.ts +2 -2
- package/dist/src/component/KgSubmit/{index.event.d.ts → KgSubmit.event.d.ts} +10 -10
- package/dist/src/component/KgSubmit/{index.hooks.d.ts → KgSubmit.hooks.d.ts} +9 -9
- package/dist/src/component/KgSubmit/{index.store.d.ts → KgSubmit.store.d.ts} +16 -16
- package/dist/src/component/KgSubmit/index.d.ts +3 -3
- package/dist/src/component/KgTable/{index.event.d.ts → KgTable.event.d.ts} +1 -1
- package/dist/src/component/KgTable/{index.hooks.d.ts → KgTable.hooks.d.ts} +12 -31
- package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
- package/dist/src/component/KgTable/{index.store.d.ts → KgTable.store.d.ts} +2 -28
- package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
- package/dist/src/component/KgTable/index.d.ts +3 -3
- package/dist/src/component/KgVar/KgVar.d.ts +2 -2
- package/dist/src/component/KgVar/{index.hooks.d.ts → KgVar.hooks.d.ts} +60 -10
- package/dist/src/component/KgVar/{index.store.d.ts → KgVar.store.d.ts} +44 -3
- package/dist/src/component/KgVar/{index.vm.d.ts → KgVar.vm.d.ts} +3 -1
- package/dist/src/component/KgVar/KgVarFactory.d.ts +8 -8
- package/dist/src/component/KgVar/index.d.ts +3 -3
- package/dist/src/component/KgVarConfig/{index.hooks.d.ts → KgVarConfig.hooks.d.ts} +1 -10
- package/dist/src/component/KgVarConfig/index.d.ts +2 -2
- package/dist/src/component/KgWarehouse/{index.hooks.d.ts → KgWarehouse.hooks.d.ts} +1 -1
- package/dist/src/component/KgWarehouse/index.d.ts +3 -3
- package/dist/src/config/index.store.d.ts +2 -1
- package/dist/src/const/index.vm.d.ts +81 -12
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +2 -2
- package/dist/src/project/src/api/index.d.ts +3 -0
- package/dist/src/project/src/api/sys/model/menuModel.d.ts +15 -0
- package/dist/src/project/src/api/sys/model/uploadModel.d.ts +5 -0
- package/dist/src/project/src/api/sys/model/userModel.d.ts +46 -0
- package/dist/src/project/src/components/Dropdown/index.d.ts +1 -0
- package/dist/src/project/src/components/Dropdown/src/typing.d.ts +9 -0
- package/dist/src/project/src/components/index.d.ts +1 -0
- package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
- package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
- package/dist/src/project/src/enums/appEnum.d.ts +40 -0
- package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
- package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
- package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
- package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
- package/dist/src/project/src/enums/index.d.ts +13 -0
- package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
- package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
- package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
- package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
- package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
- package/dist/src/project/src/hooks/index.d.ts +1 -0
- package/dist/src/project/src/hooks/web/useI18n.d.ts +13 -0
- package/dist/src/project/src/index.d.ts +14 -0
- package/dist/src/project/src/locales/helper.d.ts +5 -0
- package/dist/src/project/src/locales/index.d.ts +3 -0
- package/dist/src/project/src/locales/setupI18n.d.ts +4 -0
- package/dist/src/project/src/locales/useLocale.d.ts +10 -0
- package/dist/src/project/src/router/types.d.ts +42 -0
- package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
- package/dist/src/project/src/settings/designSetting.d.ts +6 -0
- package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
- package/dist/src/project/src/settings/index.d.ts +3 -0
- package/dist/src/project/src/store/index.d.ts +1 -0
- package/dist/src/project/src/store/modules/index.d.ts +1 -0
- package/dist/src/project/src/store/modules/locale.d.ts +38 -0
- package/dist/src/project/src/utils/cache/index.d.ts +7 -0
- package/dist/src/project/src/utils/cache/memory.d.ts +22 -0
- package/dist/src/project/src/utils/cache/persistent.d.ts +33 -0
- package/dist/src/project/src/utils/cache/storageCache.d.ts +8 -0
- package/dist/src/project/src/utils/cipher.d.ts +19 -0
- package/dist/src/project/src/utils/env.d.ts +34 -0
- package/dist/src/util/kg-route.util.d.ts +2 -1
- package/dist/src/util/kg.util.d.ts +9 -16
- package/package.json +4 -4
- package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +0 -3
- package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +0 -3
- package/script/bump-to.ts +0 -38
- package/script/bump.ts +0 -35
- package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +0 -3
- package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +0 -3
- package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +0 -3
- package/script/copy-to.ts +0 -23
- package/script/publish.ts +0 -30
- /package/dist/{close-outlined-DMcSQWxQ.0f7b1ee1.mjs → close-outlined-DMcSQWxQ.adfa0cf3.mjs} +0 -0
- /package/dist/{exclamation-circle-outlined-DZrXCnvM.32d9fc79.mjs → exclamation-circle-outlined-DZrXCnvM.20d450b7.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.4b203dc4.mjs → fullscreen-exit-outlined-X1iYkFc4.bceef6fa.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.a38a27ed.mjs → fullscreen-outlined-DDBrsRcy.26d588f0.mjs} +0 -0
- /package/dist/{search-outlined-Od1M_oxf.9851f549.mjs → search-outlined-Od1M_oxf.761cc44e.mjs} +0 -0
- /package/dist/src/component/KgAppSelect/{index.event.d.ts → KgAppSelect.event.d.ts} +0 -0
- /package/dist/src/component/KgButton/{index.event.d.ts → KgButton.event.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.event.d.ts → KgCanvas.event.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.store.d.ts → KgCanvas.store.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.vm.d.ts → KgCanvas.vm.d.ts} +0 -0
- /package/dist/src/component/KgForm/{index.event.d.ts → KgForm.event.d.ts} +0 -0
- /package/dist/src/component/KgForm/{index.vm.d.ts → KgForm.vm.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{index.vm.d.ts → KgForm.Item.vm.d.ts} +0 -0
- /package/dist/src/component/KgLayoutHeader/{index.hooks.d.ts → KgLayoutHeader.hooks.d.ts} +0 -0
- /package/dist/src/component/KgModal/{index.vm.d.ts → KgModal.vm.d.ts} +0 -0
- /package/dist/src/component/KgSearch/{index.event.d.ts → KgSearch.event.d.ts} +0 -0
- /package/dist/src/component/KgSearch/{index.vm.d.ts → KgSearch.vm.d.ts} +0 -0
- /package/dist/src/component/KgSubmit/{index.vm.d.ts → KgSubmit.vm.d.ts} +0 -0
- /package/dist/src/component/KgTable/{index.vm.d.ts → KgTable.vm.d.ts} +0 -0
- /package/dist/src/component/KgVar/{index.event.d.ts → KgVar.event.d.ts} +0 -0
- /package/dist/src/component/KgVar/{index.store.service.d.ts → KgVar.store.service.d.ts} +0 -0
- /package/dist/src/component/KgVarConfig/{index.store.d.ts → KgVarConfig.store.d.ts} +0 -0
- /package/dist/src/component/KgVarConfig/{index.vm.d.ts → KgVarConfig.vm.d.ts} +0 -0
- /package/dist/src/component/KgWarehouse/{index.guard.d.ts → KgWarehouse.guard.d.ts} +0 -0
- /package/dist/src/component/KgWarehouse/{index.store.d.ts → KgWarehouse.store.d.ts} +0 -0
- /package/dist/src/page/KgPageDda/{index.vm.d.ts → KgPageDda.vm.d.ts} +0 -0
- /package/dist/{three-dots-loading-bIlrTJYR.ebc46650.mjs → three-dots-loading-bIlrTJYR.5f916930.mjs} +0 -0
package/script/bump-to.ts
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import fs from 'fs';
|
2
|
-
import chalk from 'chalk';
|
3
|
-
|
4
|
-
/**
|
5
|
-
* 更新前端项目中包的版本号.
|
6
|
-
* 当我们升级了这些包的版本后, 可以使用该方法快速将新的版本号同步到前端项目中去.
|
7
|
-
*
|
8
|
-
* @param projectPath 前端项目目录.
|
9
|
-
* @param excludes 要排除的包.
|
10
|
-
*/
|
11
|
-
function bumpVersionToProjects(projectPath: string, excludes: Array<string> = []) {
|
12
|
-
// file:///D:/foo/...
|
13
|
-
const pkgPath = `${projectPath}/package.json`;
|
14
|
-
// D:/foo/...
|
15
|
-
const absolutePkgPath = pkgPath.replace('file:///', '');
|
16
|
-
|
17
|
-
import(pkgPath)
|
18
|
-
.then(({ default: json }) => {
|
19
|
-
Promise.all([import('../package.json')])
|
20
|
-
.then(([{ version, name, dependencies, devDependencies }]) => {
|
21
|
-
if (json.dependencies[name]) {
|
22
|
-
json.dependencies[name] = version;
|
23
|
-
}
|
24
|
-
|
25
|
-
fs.writeFileSync(absolutePkgPath, `${JSON.stringify(json, null, 2)}\n`, {});
|
26
|
-
console.log();
|
27
|
-
console.log(chalk.green(`版本更新成功`) + ' | ' + chalk.blueBright(version) + ' | ' + absolutePkgPath);
|
28
|
-
})
|
29
|
-
.catch((e) => {
|
30
|
-
console.log(e);
|
31
|
-
});
|
32
|
-
})
|
33
|
-
.catch((e) => {
|
34
|
-
console.error(e);
|
35
|
-
});
|
36
|
-
}
|
37
|
-
|
38
|
-
export { bumpVersionToProjects };
|
package/script/bump.ts
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
import fs from 'fs';
|
2
|
-
import semver from 'semver';
|
3
|
-
|
4
|
-
//____________________________________________________________________________________________________
|
5
|
-
// 自动更新所有包的版本号
|
6
|
-
//____________________________________________________________________________________________________
|
7
|
-
|
8
|
-
import('../package.json').then(({ default: json }) => {
|
9
|
-
const type = process.argv[2];
|
10
|
-
let version = json.version;
|
11
|
-
|
12
|
-
switch (type) {
|
13
|
-
case 'major':
|
14
|
-
version = semver.inc(version, 'major');
|
15
|
-
break;
|
16
|
-
case 'minor':
|
17
|
-
version = semver.inc(version, 'minor');
|
18
|
-
break;
|
19
|
-
case 'patch':
|
20
|
-
version = semver.inc(version, 'patch');
|
21
|
-
break;
|
22
|
-
case 'beta':
|
23
|
-
version = semver.inc(version, 'prerelease', 'beta');
|
24
|
-
break;
|
25
|
-
default:
|
26
|
-
throw new Error('INVALID SEMVER TYPE');
|
27
|
-
}
|
28
|
-
|
29
|
-
import('../package.json').then(({ default: json }) => {
|
30
|
-
json.version = version;
|
31
|
-
fs.writeFileSync('./package.json', `${JSON.stringify(json, null, 4)}\n`, {});
|
32
|
-
});
|
33
|
-
});
|
34
|
-
|
35
|
-
export {};
|
package/script/copy-to.ts
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
import fs from 'fs';
|
2
|
-
import path from 'path';
|
3
|
-
|
4
|
-
/**
|
5
|
-
* 开发时, 需要将打包后的文件复制到项目的 node_modules 目录下进行测试.
|
6
|
-
*
|
7
|
-
* @param projectPath 前端项目目录.
|
8
|
-
*/
|
9
|
-
function copyToProject(projectPath: string) {
|
10
|
-
const cacheDir = path.join(projectPath, '/node_modules/.vite/');
|
11
|
-
if (fs.existsSync(cacheDir)) {
|
12
|
-
fs.rmSync(cacheDir, { recursive: true, force: true });
|
13
|
-
}
|
14
|
-
|
15
|
-
const dir = path.join(projectPath, '/node_modules/@kengic/vue/dist/');
|
16
|
-
if (fs.existsSync(dir)) {
|
17
|
-
fs.rmSync(dir, { recursive: true, force: true });
|
18
|
-
}
|
19
|
-
|
20
|
-
fs.cpSync('./dist/', dir, { recursive: true });
|
21
|
-
}
|
22
|
-
|
23
|
-
export { copyToProject };
|
package/script/publish.ts
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import chalk from 'chalk';
|
2
|
-
import { execSync } from 'node:child_process';
|
3
|
-
import { name, version } from '../package.json';
|
4
|
-
|
5
|
-
/*
|
6
|
-
* 使用下面的脚本来简化打包发布流程.
|
7
|
-
*/
|
8
|
-
|
9
|
-
const PKGNAME = `${name}@${version}`;
|
10
|
-
|
11
|
-
//region 安装依赖
|
12
|
-
//____________________________________________________________________________________________________
|
13
|
-
console.log('');
|
14
|
-
execSync('npm cache clean -f', { cwd: './', stdio: 'ignore' });
|
15
|
-
execSync('pnpm install', { cwd: './', stdio: 'ignore' });
|
16
|
-
console.log(`${chalk.blueBright('INSTALL ')}| ${PKGNAME}`);
|
17
|
-
//endregion
|
18
|
-
|
19
|
-
//region 打包
|
20
|
-
//____________________________________________________________________________________________________
|
21
|
-
execSync('npm run build', { cwd: './', stdio: 'ignore' });
|
22
|
-
console.log(`${chalk.blueBright(' BUILD ')}| ${PKGNAME}`);
|
23
|
-
//endregion
|
24
|
-
|
25
|
-
//region 发布
|
26
|
-
//____________________________________________________________________________________________________
|
27
|
-
execSync('npm run publish:npm', { cwd: './', stdio: 'ignore' });
|
28
|
-
console.log(`${chalk.blueBright('PUBLISH ')}| ${PKGNAME}`);
|
29
|
-
console.log('');
|
30
|
-
//endregion
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{search-outlined-Od1M_oxf.9851f549.mjs → search-outlined-Od1M_oxf.761cc44e.mjs}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{three-dots-loading-bIlrTJYR.ebc46650.mjs → three-dots-loading-bIlrTJYR.5f916930.mjs}
RENAMED
File without changes
|