diff --git a/packages/command-services/lib/attachment/attachment-data.service.ts b/packages/command-services/lib/attachment/attachment-data.service.ts new file mode 100644 index 0000000000000000000000000000000000000000..baaf808fc0debb36372c5653b0e2181849fa8efd --- /dev/null +++ b/packages/command-services/lib/attachment/attachment-data.service.ts @@ -0,0 +1,343 @@ +import { Entity, EntityFieldSchema, EntityPathBuilder, EntityPathNode, EntityPathNodeType, HttpMethods, ViewModel, ViewModelState } from '@farris/devkit-vue'; +import { BefRepository, RequestInfoUtil, ResponseInfo } from '@farris/bef-vue'; +import { FormLoadingService } from '../form-loading.service'; +import { AttachmentInfo, ServerAttachmentInfo } from './types'; +import { AttachmentUtil } from './attachment.util'; +import { FormNotifyService } from '../form-notify.service'; +import { LanguageService } from '../language.service'; + +/** + * 附件调用 + */ +class AttachmentDataService { + + /** + * 实体仓库 + */ + private get repository(): BefRepository { + return this.viewModel.repository as BefRepository; + } + + /** + * 绑定数据 + */ + private get bindingData(): Entity | undefined { + return this.viewModel.entityStore?.getCurrentEntity(); + } + + constructor( + private viewModel: ViewModel, + private loadingService: FormLoadingService, + private formNotifyService: FormNotifyService, + private languageService: LanguageService + ) { + } + + /** + * 更新附件信息 + */ + public updateRow(attachmentInfoFieldPath: string, attachmentInfo: AttachmentInfo): Promise { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/updateattachment`; + const serverAttachInfo = this.createUpdateAttachInfo(attachmentInfoFieldPath, attachmentInfo); + const body = { + updateAttachInfo: serverAttachInfo, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository) + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then(() => { + return this.syncAttachmentInfosToClient(); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + /** + * 通过属性名更新附件信息 + * @param attachmentInfoFieldPath 附件字段 + * @param attachmentInfo 附件信息 + */ + public updateRowWithPropertyName(attachmentInfoFieldPath: string, attachmentInfo: AttachmentInfo): Promise { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/updateattachmentwithproptyname`; + const serverAttachInfo = this.createUpdateAttachInfo(attachmentInfoFieldPath, attachmentInfo); + const propertyName = attachmentInfoFieldPath.split('/').filter(p => p).pop(); + const body = { + updateAttachInfo: serverAttachInfo, + propertyName, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository) + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then(() => { + return this.syncAttachmentInfosToClient(); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + /** + * 删除附件 + * @param attachmentInfoFieldPath + * @param attachmentInfo + * @returns + */ + public removeAttachment(attachmentInfoFieldPath: string, attachmentInfo: AttachmentInfo) { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/deleteattachment`; + const serverAttachInfo = this.createUpdateAttachInfo(attachmentInfoFieldPath, attachmentInfo); + const propertyName = attachmentInfoFieldPath.split('/').filter(p => p).pop(); + const body = { + deleteAttachInfo: serverAttachInfo, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository), + propertyName, + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then(() => { + return this.syncAttachmentInfosToClient(); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + /** + * 批量创建附件行数据 + */ + public updateRows(attachmentInfoFieldPath: string, attachmentInfos: AttachmentInfo[]): Promise { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/batchuploadattachment`; + const serverAttachInfo = this.createBatchCreateAttachInfo(attachmentInfoFieldPath, attachmentInfos); + const isRootEntity = serverAttachInfo.NodeCodes.length === 0; + + const body = { + batchUploadInfo: serverAttachInfo, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository) + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then((returnValue: any) => { + return this.appendAttachmentInfosToClient(returnValue, isRootEntity); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + /** + * 批量创建附件行数据 + */ + public updateRowsWithConfigs(attachmentInfoFieldPath: string, attachmentInfos: AttachmentInfo[], configs: { [prop: string]: any; }): Promise { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/batchuploadattachment`; + const serverAttachInfo = this.createBatchCreateAttachInfo(attachmentInfoFieldPath, attachmentInfos); + // const isRootEntity = serverAttachInfo.NodeCodes.length === 0; + + const body = { + batchUploadInfo: serverAttachInfo, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository) + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then((returnValue: any) => { + return this.appendAttachmentInfos(returnValue, configs); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + /** + * 根据属性名批量创建附件行数据 + */ + public updateRowsWithPropertyName(attachmentInfoFieldPath: string, attachmentInfos: AttachmentInfo[]): Promise { + const restService = this.repository.apiProxy; + const baseUri = restService.baseUrl; + const updateUri = `${baseUri}/service/batchuploadattachmentwithproptyname`; + const serverAttachInfo = this.createBatchCreateAttachInfo(attachmentInfoFieldPath, attachmentInfos); + const isRootEntity = serverAttachInfo.NodeCodes.length === 0; + const propertyName = attachmentInfoFieldPath.split('/').filter(p => p).pop(); + + const body = { + batchUploadInfo: serverAttachInfo, + propertyName, + requestInfo: RequestInfoUtil.buildRequestInfo(this.repository) + }; + const options = { + body: body + }; + const loadingId = this.loadingService.show(); + return restService.request(HttpMethods.PUT, updateUri, options).then((returnValue: any) => { + return this.appendAttachmentInfosToClient(returnValue, isRootEntity); + } + ).finally(() => { + if (loadingId) { + this.loadingService.hide(loadingId); + } + }); + } + + /** + * 创建服务器端需要的更新信息 + */ + private createUpdateAttachInfo(attachmentInfoFieldPath: string, attachmentInfo: AttachmentInfo): ServerAttachmentInfo { + const attachmentId = attachmentInfo.attachmentId; + const bindingPaths = this.viewModel.bindingPath.split('/').filter((p) => p); + const resolvedPath = this.viewModel.entityStore?.getEntitySchema().resolvePath(bindingPaths); + if (!resolvedPath) { + throw new Error('错误的绑定路径!'); + } + const { nodeCodes } = resolvedPath; + const primaryValue = this.viewModel.entityStore?.getCurrentEntity().idValue; + if (!primaryValue) { + this.formNotifyService.warning(this.languageService.language.noParentData); + throw new Error('当前行数据不存在,请确认!'); + } + const currentPaths: string[] = []; + const hiretryIds = bindingPaths.reduce((result: string[], bindingPath: string) => { + currentPaths.push(bindingPath); + const currentPath = `/${currentPaths.join('/')}`; + const entity = this.viewModel.entityStore?.getCurrentEntityByPath(currentPath); + result.push(entity?.idValue); + return result; + }, [primaryValue]); + + const serverAttachInfo: ServerAttachmentInfo = { + NodeCodes: nodeCodes, + HiretryIds: hiretryIds, + AttachmentIds: [attachmentId], + AttachmentId: attachmentId + }; + + return serverAttachInfo; + } + + /** + * 创建服务器端需要的批量新增附件信息 + */ + private createBatchCreateAttachInfo(attachmentInfoFieldPath: string, attachmentInfo: AttachmentInfo[]): ServerAttachmentInfo { + const attachmentIds = AttachmentUtil.peekAttachmentIds(attachmentInfo); + const bindingPaths = this.viewModel.bindingPath.split('/').filter((p) => p); + const resolvedPath = this.viewModel.entityStore?.getEntitySchema().resolvePath(bindingPaths); + if (!resolvedPath) { + throw new Error('错误的绑定路径!'); + } + const { nodeCodes } = resolvedPath; + const primaryValue = this.viewModel.entityStore?.getCurrentEntity().idValue; + const currentPaths: string[] = []; + bindingPaths.pop(); + const hiretryIds: string[] =[]; + if (nodeCodes.length > 0) { + if(!primaryValue){ + this.formNotifyService.warning(this.languageService.language.noParentData); + throw new Error('请选择上级数据'); + } + const ids = bindingPaths.reduce((result: string[], bindingPath: string) => { + currentPaths.push(bindingPath); + const currentPath = `/${currentPaths.join('/')}`; + const entity = this.viewModel.entityStore?.getCurrentEntityByPath(currentPath); + result.push(entity?.idValue); + return result; + }, [primaryValue]); + hiretryIds.push(...ids); + } + const serverAttachInfo = { + NodeCodes: nodeCodes, + HiretryIds: hiretryIds, + AttachmentIds: attachmentIds, + AttachmentId: null + }; + + return serverAttachInfo; + } + + /** + * 同步服务器端最新信息到客户端 + * @todo: + * 1、主对象批量新增时不支持 + */ + public syncAttachmentInfosToClient() { + const entity = this.viewModel.entityStore?.getCurrentEntity(); + return this.repository.getEntityById(entity?.idValue).then((entity) => { + const newEntityData = entity?.toJSON(); + this.viewModel.entityStore?.updateEntityById(entity?.idValue, newEntityData); + }); + } + + /** + * 追加主表数据到客户端 + */ + public appendAttachmentInfosToClient(listData: any[], isRootEntity: boolean): Promise { + if (isRootEntity === true) { + const entities = this.repository.buildEntites(listData); + this.viewModel.entityStore?.appendEntities(entities); + return Promise.resolve(listData); + } else { + const rootDataId = this.viewModel.entityStore?.getCurrentEntity().idValue; + return this.repository.getEntityById(rootDataId).then((entity) => { + const newEntityData = entity?.toJSON(); + this.viewModel.entityStore?.updateEntityById(entity?.idValue, newEntityData); + return Promise.resolve(listData); + }); + } + } + public appendAttachmentInfos(listData: any[], keyValues: { [prop: string]: any; }): Promise { + const entities = this.repository.buildEntites(listData); + this.viewModel.entityStore?.appendEntities(entities); + // 更新实体使之产生变更集 + this.updateEntities(entities, keyValues); + return Promise.resolve(listData); + } + private updateEntities(entities: Entity[], keyValues: { [prop: string]: any; }) { + entities.forEach((entity: Entity) => { + this.updateEntity(entity, keyValues); + }); + } + private updateEntity(target: Entity, keyValues: { [prop: string]: any; }) { + Object.keys(keyValues).forEach((key: string) => { + this.setValueByPath(target, key, keyValues[key]); + }); + } + private setValueByPath(target: any, path: string, value: any) { + if (target) { + const paths = path.split('.'); + if (paths.length <= 1) { + target[path] = value; + } else { + paths.slice(0, -1).reduce((prev, path) => { + if (!prev.hasOwnProperty(path)) { + prev[path] = {}; + } + return prev[path]; + }, target)[paths[paths.length - 1]] = value; + } + } + } +} + + +export { AttachmentDataService }; diff --git a/packages/command-services/lib/attachment/attachment.service.ts b/packages/command-services/lib/attachment/attachment.service.ts index 533eb222782c49da7f4709a58690cf0598f6951d..ea8229dac0c3c4566fa9e53b0ae341e4ca05e46f 100644 --- a/packages/command-services/lib/attachment/attachment.service.ts +++ b/packages/command-services/lib/attachment/attachment.service.ts @@ -1,45 +1,346 @@ -import { ViewModel, ViewModelState } from '@farris/devkit-vue'; +import { Entity, EntityList, ViewModel, ViewModelState } from '@farris/devkit-vue'; import { FormNotifyService } from '../form-notify.service'; +import { FileState, UploadDialogService, UploadFileInfo, UploadLimit, DownloadService } from '@gsp-svc/formdoc-upload-vue'; +import { FileViewerService } from '@gsp-svc/file-viewer-vue'; +import { LanguageService } from '../language.service'; +import { AttachmentUtil } from './attachment.util'; +import { AttachmentDataService } from './attachment-data.service'; export class AttachmentService { - constructor(private viewModel: ViewModel, private formNotifyService: FormNotifyService) { + /** + * 默认根目录 + */ + private defaultRootDirId = ''; + + /** + * 默认父路径 + */ + private get defaultParentDirName(): string { + return this.viewModel.entityStore?.getCurrentEntity().idValue; + } + constructor( + private viewModel: ViewModel, + private formNotifyService: FormNotifyService, + private uploadDialogService: UploadDialogService, + private languageService: LanguageService, + private attachmentDataService: AttachmentDataService, + private downloadService: DownloadService, + private fileViewerService: FileViewerService + ) { } - public uploadAndUpdateRow(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string){} + public uploadAndUpdateRow(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string) { + const rootId = rootDirId ? rootDirId : this.defaultRootDirId; + const formId = parentDirName ? parentDirName : this.defaultParentDirName; + if (!rootId || !formId) { + throw new Error('rootDirId和parentDirName不能为空,请填写'); + } + + const uploadLimit: UploadLimit = new UploadLimit(); + uploadLimit.fileCount = 1; + if (fileType) { + uploadLimit.fileType = fileType; + } + // 获取老的附件id数组 + const attachmentIdList: string[] = []; + let currentItem: Entity | null | undefined = null; + if (id) { + // 修正当前行 + const entityList = this.getEntityList(); + const currentEntity = entityList?.getCurrentEntity(); + if (currentEntity?.idValue !== id) { + entityList?.setCurrentId(id); + } + // 如果指定了id则获取指定id的行 + currentItem = this.getSpecialRow(attachmentInfoFieldPath, id); + } else { + // 没有指定则使用当前行,可能存在当前行和事件行不一致的情况,此时应该在命令中传递id参数 + currentItem = this.getSpecialRow(attachmentInfoFieldPath); + } + if (currentItem && currentItem.idValue) { + const attachmentIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath, [currentItem.idValue]); + if (attachmentIds && attachmentIds.length > 0) { + attachmentIdList.push.apply(attachmentIdList, attachmentIds); + } + } else { + this.formNotifyService.warning(this.languageService.language.pleaseSelectUpdateRow); + return Promise.reject(); + } + + const uploadFileWithLimitPromise = this.uploadDialogService.uploadFileWithLimit(formId, rootId, uploadLimit, attachmentIdList); + const updatePromise = uploadFileWithLimitPromise.then((fileInfos: any) => { + if (!fileInfos || fileInfos.length === 0) { + this.formNotifyService.warning(this.languageService.language.pleaseUploadFirst); + return Promise.reject(); + } + // 过滤出state为新增的附件 + fileInfos = fileInfos.filter((fileInfo: UploadFileInfo) => { + if (fileInfo.hasOwnProperty('state')) { + return fileInfo.state === FileState.New; + } + return true; + }); + if (fileInfos.length === 0) { + return Promise.resolve(); + } + const attachmentInfos = AttachmentUtil.convertToAttachmentInfos(fileInfos); + const firstAttachmentInfo = AttachmentUtil.getFirstAttachmentInfo(attachmentInfos); + return this.attachmentDataService.updateRow(attachmentInfoFieldPath, firstAttachmentInfo); + }); + return updatePromise; + } - public uploadAndUpdateRowWithPropertyName(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string){} + public uploadAndUpdateRowWithPropertyName(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string) { } - public uploadAndBatchAddRows(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string){} + public uploadAndBatchAddRows(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string) { + const rootId = rootDirId ? rootDirId : this.defaultRootDirId; + const formId = parentDirName ? parentDirName : this.defaultParentDirName; + if (!rootId || !formId) { + throw new Error('rootDirId和parentDirName不能为空,请填写'); + } - public uploadAndBatchAddRowsWithPropertyName(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string){} + const uploadLimit: UploadLimit = new UploadLimit(); + if (fileType) { + uploadLimit.fileType = fileType; + } + const uploadFileWithLimitPromise = this.uploadDialogService.uploadFileWithLimit(formId, rootId, uploadLimit); + const updatePromise = uploadFileWithLimitPromise.then((fileInfos: any) => { + if (!fileInfos || fileInfos.length === 0) { + this.formNotifyService.warning(this.languageService.language.pleaseUploadFirst); + return Promise.reject(); + } + // 过滤出state为新增的附件 + fileInfos = fileInfos.filter((fileInfo: UploadFileInfo) => { + if (fileInfo.hasOwnProperty('state')) { + return fileInfo.state === FileState.New; + } + return true; + }); + if (fileInfos.length === 0) { + return Promise.resolve(); + } + const attachmentInfos = AttachmentUtil.convertToAttachmentInfos(fileInfos); + return this.attachmentDataService.updateRows(attachmentInfoFieldPath, attachmentInfos); + } + ); + return updatePromise; + } - public download(attachId: string, rootId?: string){} + public uploadAndBatchAddRowsWithPropertyName(attachmentInfoFieldPath: string, rootDirId?: string, parentDirName?: string, fileType?: string, id?: string) { } - public batchDownload(attachIds: string[], rootId: string){} + public download(attachId: string, rootId?: string) { + if (!attachId) { + this.formNotifyService.warning(this.languageService.language.pleaseSelectDownloadAttachment); + return Promise.reject(); + } + rootId = rootId || 'default-root'; + const url = this.getDownloadUrl([attachId], rootId); + window.open(url); + return Promise.resolve(); + } - public downloadByDataId(dataId: string, attachmentInfoFieldPath: string, rootId: string){} + public batchDownload(attachIds: string[], rootId: string) { + if (!attachIds || attachIds.length === 0) { + this.formNotifyService.warning(this.languageService.language.pleaseSelectDownloadAttachment); + return Promise.reject(); + } + // 只选择一个附件时按单个附件下载处理 + if (attachIds.length === 1) { + return this.download(attachIds[0], rootId); + } + const url = this.getDownloadUrl(attachIds, rootId); + window.open(url); + return Promise.resolve(); + } + public batchDownloadByDataIds(dataIds: string[] | string, attachmentInfoFieldPath: string, rootId: string) { + if (typeof dataIds === 'string' && dataIds && dataIds.length > 0) { + dataIds = dataIds.split(',').filter(p => p); + } + if (!dataIds || Array.isArray(dataIds) === false || dataIds.length === 0) { + this.formNotifyService.warning(this.languageService.language.pleaseSelectDownloadAttachment); + return Promise.reject(); + } + const ids = ([] as any[]).concat(dataIds); + const attachIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath, ids); + if (!attachIds || attachIds.length === 0) { + this.formNotifyService.warning(this.languageService.language.noDownloadAttachment); + return Promise.reject(); + } - public batchDownloadByDataIds(dataIds: string[] | string, attachmentInfoFieldPath: string, rootId: string){} + return this.batchDownload(attachIds, rootId); + } - public previewByAttachmentInfoFieldPath(attachmentInfoFieldPath: string, rootDirId: string, ids?: any){} + public previewByAttachmentInfoFieldPath(attachmentInfoFieldPath: string, rootDirId: string, ids?: any) { + if (!attachmentInfoFieldPath || !rootDirId) { + throw new Error('attachmentInfoFieldPath和rootDirId不能为空,请填写'); + } + let attachIds: string[] | null = []; + let dataIds = []; + if (ids && ids.length > 0) { + if (typeof (ids) === 'string') { + dataIds.push(ids); + } else { + dataIds = ids; + } + attachIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath, dataIds); + } else { + attachIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath); + } + if (!attachIds || attachIds.length === 0) { + this.formNotifyService.warning(this.languageService.language.noAttachment); + return Promise.reject(); + } + return this.previewByAttachmentIds(attachIds, rootDirId); + } - public previewByAttachmentInfoFieldPathWithIndex(attachmentInfoFieldPath: string, rootDirId: string){} + public previewByAttachmentInfoFieldPathWithIndex(attachmentInfoFieldPath: string, rootDirId: string) { + if (!attachmentInfoFieldPath || !rootDirId) { + throw new Error('attachmentInfoFieldPath和rootDirId不能为空,请填写'); + } + const attachmentId = this.getCurrentAttachmentId(attachmentInfoFieldPath); + if (!attachmentId) { + this.formNotifyService.warning(this.languageService.language.noAttachment); + return Promise.reject(); + } + const attachIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath); + if (!attachIds || attachIds.length === 0) { + this.formNotifyService.warning(this.languageService.language.noAttachment); + return Promise.reject(); + } + return this.previewFileListWithIndex(attachIds, rootDirId, attachmentId); + } - public previewBySubDirName(subDirName: string, rootDirId: string){} + public previewBySubDirName(subDirName: string, rootDirId: string) { + if (!subDirName || !rootDirId) { + throw new Error('subDirName和rootDirId不能为空,请填写'); + } + return this.fileViewerService.viewerFormFile(subDirName, rootDirId); + } - public previewBySubDirNameWithIndex(attachmentInfoFieldPath: string, subDirName: string, rootDirId: string){} + public previewBySubDirNameWithIndex(attachmentInfoFieldPath: string, subDirName: string, rootDirId: string) { + if (!subDirName || !rootDirId) { + throw new Error('subDirName和rootDirId不能为空,请填写'); + } + // const attachIds = this.getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath, null); + const attachmentId = this.getCurrentAttachmentId(attachmentInfoFieldPath); + if (!attachmentId) { + this.formNotifyService.warning(this.languageService.language.noAttachment); + return Promise.reject(); + } + return this.fileViewerService.viewerFormFileWithIndex(subDirName, rootDirId, attachmentId); + } - public previewByAttachmentIds(attachmentIds: string[], rootDirId: string){} + public previewByAttachmentIds(attachmentIds: string[], rootDirId: string) { + return this.fileViewerService.viewerFileList(attachmentIds, rootDirId); + } - public previewFileListWithIndex(attachmentIds: string[], rootDirId: string, attachmentId: string) {} + public previewFileListWithIndex(attachmentIds: string[], rootDirId: string, attachmentId: string) { + return this.fileViewerService.viewerFileListWithIndex(attachmentIds, rootDirId, attachmentId); + } - public genVersion(versions: string[]){} + public genVersion(versions: string[]) { } - public updateAttachmentVersion(versionField: string, historyField: string, attachmentFieldPath: string){} + public updateAttachmentVersion(versionField: string, historyField: string, attachmentFieldPath: string) { } - public isAttachmentCanDelete(historyField: string, attachmentFieldPath: string){} + public isAttachmentCanDelete(historyField: string, attachmentFieldPath: string) { } - public updateAttachmentHistory(versionField: string, historyField: string, attachmentFieldPath: string){} + public updateAttachmentHistory(versionField: string, historyField: string, attachmentFieldPath: string) { } - public removeAttachment(attachmentInfoFieldPath: string, id: string, rootDirId: string){} + public removeAttachment(attachmentInfoFieldPath: string, id: string, rootDirId: string) { } + private getCurrentAttachmentId(attachmentInfoFieldPath: string) { + const { entityPaths, propertyPaths } = this.viewModel.entityStore?.getEntitySchema().resolvePath(attachmentInfoFieldPath) || {}; + if (!entityPaths) { + console.error('错误的附件字段路径!'); + return null; + } + const attachmentFieldName = propertyPaths?.pop(); + const path = `/${entityPaths.join('/')}`; + const bindingList = this.viewModel.entityStore?.getEntityListByPath(path); + const currentItem = bindingList?.getCurrentEntity().toJSON(); + if (currentItem && currentItem.idValue) { + return currentItem[attachmentFieldName] && currentItem[attachmentFieldName]['attachmentId'] || null; + } else { + return null; + } + } + private getDownloadUrl(metadataidlist: Array, rootId: string): string { + rootId = rootId || 'default-root'; + if (this.downloadService) { + if (metadataidlist.length === 1) { + return this.downloadService.getDownloadUrl(metadataidlist[0], rootId); + } else { + const attachIdsString = JSON.stringify(metadataidlist); + return this.downloadService.getMultipleDownloadUrl(attachIdsString, rootId); + } + } else { + console.warn('因安全问题,附件下载提供安全校验机制,附件下载功能需重新编译。'); + if (metadataidlist.length === 1) { + return `/api/runtime/dfs/v1.0/formdoc/filecontent?metadataid=${metadataidlist[0]}&rootid=${rootId}`; + } else { + const attachIdsString = JSON.stringify(metadataidlist); + return `/api/runtime/dfs/v1.0/formdoc/multiple/download?metadataidlist=${attachIdsString}&rootid=${rootId}`; + } + } + } + private getEntityList(): EntityList | undefined { + const bindingPath = this.viewModel.bindingPath; + const entitys = this.viewModel.entityStore?.getEntityListByPath(bindingPath); + return entitys; + } + /** + * 获取指定附件信息表的指定行 + * @param attachmentInfoFieldPath + * @param primaryValue + * @returns + */ + private getSpecialRow(attachmentInfoFieldPath: string, primaryValue?: string): Entity | null | undefined { + const path = this.viewModel.entityStore?.getEntitySchema().resolvePath(attachmentInfoFieldPath); + if (!path) { + throw new Error('附件字段路径错误'); + } + const { entityPaths } = path; + const bindingPath = '/' + entityPaths.join('/'); + const entityList = this.viewModel.entityStore?.getEntityListByPath(bindingPath); + if (!entityList) { + return null; + } + if (primaryValue) { + return entityList.getEntityById(primaryValue); + } + return entityList.getCurrentEntity(); + } + /** + * 获取dataIds对应Entity上的附件id数组 + */ + private getAttachmentIdsByPathAndDataIds(attachmentInfoFieldPath: string, dataIds?: string[]): string[] | null { + const path = this.viewModel.entityStore?.getEntitySchema().resolvePath(attachmentInfoFieldPath); + if (!path) { + throw new Error('附件字段路径错误'); + } + const { entityPaths, propertyPaths } = path; + const bindingPath = '/' + entityPaths.join('/'); + const entityList = this.viewModel.entityStore?.getEntityListByPath(bindingPath); + if (!entityList) { + return null; + } + // 获取附件所在实体的数据列表,不传递dataIds参数,则返回全部 + const entities = entityList.getEntities(); + let filteredEntities = entities; + if (dataIds) { + const items = entities.filter((entity) => dataIds.indexOf(entity.idValue) !== -1); + filteredEntities = items; + } + // 转换为附件Id数组 + const attachmentFieldName = propertyPaths.pop(); + const attachmentIds: string[] = []; + filteredEntities.forEach((entityData: any) => { + if (entityData[attachmentFieldName]) { + const attachmentId = entityData[attachmentFieldName]['attachmentId']; + if (attachmentId) { + attachmentIds.push(attachmentId); + } + } + }); + return attachmentIds; + } } diff --git a/packages/command-services/lib/attachment/attachment.util.ts b/packages/command-services/lib/attachment/attachment.util.ts new file mode 100644 index 0000000000000000000000000000000000000000..2bdd948e41742d620e6c1ac89b32b0251c7d2b9d --- /dev/null +++ b/packages/command-services/lib/attachment/attachment.util.ts @@ -0,0 +1,57 @@ +import { UploadFileInfo } from '@gsp-svc/formdoc-upload-vue'; +import { AttachmentInfo } from './types'; + +/** + * 附件信息处理工具类 + */ +class AttachmentUtil { + + /** + * 转换为附件信息数组 + */ + public static convertToAttachmentInfos(fileInfos: UploadFileInfo[]): AttachmentInfo[] { + if (!fileInfos) { + return []; + } + const attachmentInfos: AttachmentInfo[] = fileInfos.map((fileInfo: UploadFileInfo) => { + return this.convertToAttachmentInfo(fileInfo); + }); + return attachmentInfos; + } + + /** + * 转换为附件信息 + */ + public static convertToAttachmentInfo(fileInfo: UploadFileInfo): AttachmentInfo { + const attachmentInfo: AttachmentInfo = { + attachmentId: fileInfo.metadataId, + fileName: fileInfo.fileName + }; + return attachmentInfo; + } + + /** + * 获取附件列表中的第一个附件 + */ + public static getFirstAttachmentInfo(attachmentInfos: AttachmentInfo[]) { + const firstAttachmentInfo = attachmentInfos[0]; + return firstAttachmentInfo; + } + + /** + * 提取附件id数组 + */ + public static peekAttachmentIds(attachmentInfos: AttachmentInfo[]) { + if (!attachmentInfos) { + attachmentInfos = []; + } + const attachmentIds = attachmentInfos.map((attachmentInfo: AttachmentInfo) => { + return attachmentInfo.attachmentId; + }); + + return attachmentIds; + } + +} + +export { AttachmentUtil }; diff --git a/packages/command-services/lib/attachment/index.ts b/packages/command-services/lib/attachment/index.ts index eaedbf4fe5a199767c7bea00dee6039b4ed7a58d..9e87eb3a6b1e64fccc55ff12cb3604ceed48ba41 100644 --- a/packages/command-services/lib/attachment/index.ts +++ b/packages/command-services/lib/attachment/index.ts @@ -1,3 +1,5 @@ export * from './types'; export * from './attachment.service'; -export * from './file.service'; \ No newline at end of file +export * from './file.service'; +export * from './attachment.util'; +export * from './attachment-data.service'; \ No newline at end of file diff --git a/packages/command-services/lib/attachment/types.ts b/packages/command-services/lib/attachment/types.ts index 7bc006f8ce1f857a14e685b44b2f04049f7cbb13..ab4e773e5d8d24974ffb7a676cc4146f2fbde307 100644 --- a/packages/command-services/lib/attachment/types.ts +++ b/packages/command-services/lib/attachment/types.ts @@ -38,7 +38,7 @@ interface ServerAttachmentInfo { /** * 附件id(更新时使用) */ - AttachmentId?: string; + AttachmentId?: string | null; } /** * 附件udt排序字段 diff --git a/packages/command-services/lib/batch-edit.service.ts b/packages/command-services/lib/batch-edit.service.ts index 9322224c33cc18d0be980b09a19a81c8c5e4bb3e..dff06b9048c49df8a1756b3852caa4f866e360cd 100644 --- a/packages/command-services/lib/batch-edit.service.ts +++ b/packages/command-services/lib/batch-edit.service.ts @@ -1,4 +1,4 @@ -import { EntityFieldSchema, EntitySchema, FieldType, ViewModel, ViewModelState } from "@farris/devkit-vue"; +import { EntityFieldSchema, EntityListFieldSchema, EntitySchema, FieldSchema, FieldType, ViewModel, ViewModelState } from "@farris/devkit-vue"; import { FormNotifyService } from "./form-notify.service"; import { LanguageService } from "./language.service"; import { BefRepository } from "@farris/bef-vue"; @@ -20,7 +20,7 @@ export class BatchEditService { /** * 复制当前行 - * @param componentId 目标主键 + * @param componentId 目标组件 * @param ignoreFields 忽略复制的字段列表 * @param repeat 复制次数 */ @@ -30,6 +30,9 @@ export class BatchEditService { } const module = this.viewModel.getModule(); const targetViewModel = module.getViewModel(componentId); + if (!targetViewModel) { + throw new Error('无效的目标组件参数!'); + } const bindingPath = targetViewModel?.bindingPath || '/'; const bindingList = targetViewModel?.entityStore?.getEntityListByPath(bindingPath); const id = targetViewModel?.entityStore?.getCurrentEntity().idValue; @@ -40,17 +43,11 @@ export class BatchEditService { return Promise.reject(); } const ignoreFieldsArray = ignoreFields.split(',').filter((item: any) => item); - const entityPath = this.viewModel.entityStore?.createPath(bindingPath); - if (entityPath) { - const entitySchema = targetViewModel?.entityStore?.getEntitySchema().getFieldSchemaByPath(entityPath) as EntityFieldSchema; - if (entitySchema) { - const entityListSchemas = entitySchema.entitySchema.getFieldSchemasByType(FieldType.EntityList); - if (entityListSchemas && entityListSchemas.length > 0) { - entityListSchemas.forEach((fieldSchema) => { - ignoreFieldsArray.push(fieldSchema.name); - }); - } - } + const entityListSchemas = this.getEntityListSchema(targetViewModel, bindingPath); + if (entityListSchemas && entityListSchemas.length > 0) { + entityListSchemas.forEach((fieldSchema) => { + ignoreFieldsArray.push(fieldSchema.name); + }); } const idKey = bindingList?.getCurrentEntity().idKey || 'id'; @@ -118,4 +115,19 @@ export class BatchEditService { return path; } + private getEntityListSchema(viewModel: ViewModel, bindingPath: string): FieldSchema[] | undefined | null { + if (!bindingPath || bindingPath === '/') { + return viewModel?.entityStore?.getEntitySchema().getFieldSchemasByType(FieldType.EntityList); + } else { + const entityPath = viewModel.entityStore?.createPath(bindingPath); + if (!entityPath) { + return null; + } + const entitySchema = viewModel?.entityStore?.getEntitySchema().getFieldSchemaByPath(entityPath) as EntityFieldSchema; + if (!entitySchema) { + return null; + } + return entitySchema.entitySchema.getFieldSchemasByType(FieldType.EntityList); + } + } } diff --git a/packages/command-services/lib/form-loading.service.ts b/packages/command-services/lib/form-loading.service.ts index 77fd9f2e5b33a9afc210622dd71ea4fb014e564c..806d7a7386ed7c30b7758859e4c4f28e643173ae 100644 --- a/packages/command-services/lib/form-loading.service.ts +++ b/packages/command-services/lib/form-loading.service.ts @@ -12,7 +12,7 @@ export class FormLoadingService { * @param configOrMessage * @returns */ - public show(configOrMessage: any): number | undefined | null { + public show(configOrMessage?: any): number | undefined | null { if (this.loadingService) { const config = this.buildConfig(configOrMessage); const loadingComponent = this.loadingService.show(config); @@ -64,8 +64,11 @@ export class FormLoadingService { * @param configOrMessage * @returns */ - private buildConfig(configOrMessage: any) { + private buildConfig(configOrMessage?: any) { let config: any; + if (!configOrMessage) { + return config; + } if (typeof configOrMessage === 'string') { config = { message: configOrMessage }; } else { diff --git a/packages/command-services/lib/languages/cht.ts b/packages/command-services/lib/languages/cht.ts index b87433b5204b1615e82a9ffc65b1c9c7349dfe3c..cb639b93e221354f030ce86e54a4c224eface90c 100644 --- a/packages/command-services/lib/languages/cht.ts +++ b/packages/command-services/lib/languages/cht.ts @@ -22,4 +22,10 @@ export class ChineseTraditionalLanguage implements Language { public pleaseSelectViewData = '請選擇要查看的數據!'; public hasChangeCheckFaild ='在檢查頁面是否存在未保存的變更時發生錯誤!請確保數據已經保存。是否繼續關閉?'; public pleaseSelectCopyData = '請選擇要復制的數據!'; + public pleaseSelectUpdateRow = '請選擇更新附件的行!'; + public pleaseUploadFirst = '請先上傳附件!'; + public pleaseSelectDownloadAttachment = '請選擇要下載的附件!'; + public noDownloadAttachment = "找不到要下載的附件!"; + public noAttachment= '沒有可以預覽的附件。'; + public noParentData = '請選擇上級數據!'; } \ No newline at end of file diff --git a/packages/command-services/lib/languages/en.ts b/packages/command-services/lib/languages/en.ts index 09a13bec7a81b7420a6ff1fac35428c7dfce1c57..4a1b65d19a3e9d6ab83424a10e05044ec37d2c52 100644 --- a/packages/command-services/lib/languages/en.ts +++ b/packages/command-services/lib/languages/en.ts @@ -22,4 +22,10 @@ export class EnglishLanguage implements Language { public pleaseSelectViewData = 'Please select the data you want to view!'; public hasChangeCheckFaild ='An error occurred while checking the page for unsaved changes! Please make sure the data has been saved. Do you want to continue closing?'; public pleaseSelectCopyData = 'Please select the data you want to copy!'; + public pleaseSelectUpdateRow = 'Please select the row where you want to update the attachment!'; + public pleaseUploadFirst = 'Please upload attachment first!'; + public pleaseSelectDownloadAttachment = 'Please select the attachment you want to download!'; + public noDownloadAttachment = "There are no attachments to download!"; + public noAttachment= 'There are no attachments to preview.'; + public noParentData = 'Please select the parent data!'; } \ No newline at end of file diff --git a/packages/command-services/lib/languages/types.ts b/packages/command-services/lib/languages/types.ts index fde7f6db0512ddd7c3a5a55bd812971cf94bcda3..b779051954b2d0fb841e015a9d63f2051ef1bd42 100644 --- a/packages/command-services/lib/languages/types.ts +++ b/packages/command-services/lib/languages/types.ts @@ -20,6 +20,12 @@ export interface Language { pleaseSelectViewData: string; hasChangeCheckFaild: string; pleaseSelectCopyData: string; + pleaseSelectUpdateRow: string; + pleaseUploadFirst: string; + pleaseSelectDownloadAttachment: string; + noDownloadAttachment: string; + noAttachment:string; + noParentData: string; } export enum Locales { diff --git a/packages/command-services/lib/languages/zh.ts b/packages/command-services/lib/languages/zh.ts index 47640db9392addeb28b021c4f2dc7fbbb602f57b..d692b3085b05a77518418fc65228d38f8b986f69 100644 --- a/packages/command-services/lib/languages/zh.ts +++ b/packages/command-services/lib/languages/zh.ts @@ -15,11 +15,17 @@ export class ChineseLanguage implements Language { public unauthorized = '用户登录信息已失效,请重新登录。'; public noDataExist = '要编辑的数据不存在,无法进入编辑状态!'; public pleaseSelectDeleteData = '请选择要删除的数据!'; - public pleaseSelectParentNode = '请选择父节点'; + public pleaseSelectParentNode = '请选择父节点!'; public deleteChildFirst = '请先删除子节点'; public pleaseSelectDetailFormData = '请先选择一条从表数据!'; public pleaseSelectEditData = '请选择要编辑的数据!'; public pleaseSelectViewData = '请选择要查看的数据!'; public hasChangeCheckFaild ='在检查页面是否存在未保存的变更时发生错误!请确保数据已经保存。是否继续关闭?'; public pleaseSelectCopyData = '请选择要复制的数据!'; + public pleaseSelectUpdateRow = '请选择要更新附件的行!'; + public pleaseUploadFirst = '请先上传附件!'; + public pleaseSelectDownloadAttachment = '请选择要下载的附件!'; + public noDownloadAttachment = "找不到要下载的附件!"; + public noAttachment= '没有可以预览的附件!'; + public noParentData = '请选择上级数据!'; } \ No newline at end of file diff --git a/packages/command-services/lib/providers.ts b/packages/command-services/lib/providers.ts index ac9aa81afff430b7d487a745f59a77691c176be8..37296157ca0730894103a92d63d607fe52b9a39f 100644 --- a/packages/command-services/lib/providers.ts +++ b/packages/command-services/lib/providers.ts @@ -45,7 +45,10 @@ import { RenderEngineService, TemplateService, VerifyDetailService, + AttachmentDataService, } from './index'; +import { UploadDialogService, DownloadService } from '@gsp-svc/formdoc-upload-vue'; +import { FileViewerService } from '@gsp-svc/file-viewer-vue'; const commandServiceRootProviders: StaticProvider[] = [ { provide: FormNotifyService, useClass: FormNotifyService, deps: [Injector] }, @@ -99,7 +102,8 @@ const commandServiceProviders: StaticProvider[] = [ { provide: SubTreeDataService, useClass: SubTreeDataService, deps: [ViewModel] }, { provide: FilterConditionDataService, useClass: FilterConditionDataService, deps: [ViewModel] }, { provide: SidebarService, useClass: SidebarService, deps: [] }, - { provide: AttachmentService, useClass: AttachmentService, deps: [ViewModel, FormNotifyService] }, + { provide: AttachmentDataService, useClass: AttachmentDataService, deps: [ViewModel, FormLoadingService, FormNotifyService, LanguageService] }, + { provide: AttachmentService, useClass: AttachmentService, deps: [ViewModel, FormNotifyService, UploadDialogService, LanguageService, AttachmentDataService, DownloadService,FileViewerService] }, { provide: FileService, useClass: FileService, deps: [ViewModel, FormNotifyService] }, { provide: DirtyCheckingService, useClass: DirtyCheckingService, deps: [] }, { provide: RenderEngineService, useClass: RenderEngineService, deps: [Injector] }, diff --git a/packages/command-services/package.json b/packages/command-services/package.json index 0b929a7d48317f0e89df050f2140a718d558267e..adeac6031a19538ff5af70f6e8034785e9052722 100644 --- a/packages/command-services/package.json +++ b/packages/command-services/package.json @@ -28,7 +28,9 @@ "lodash": "^4.17.21", "vue": "^3.4.37", "vue-router": "^4.3.0", - "moment": "^2.29.1" + "moment": "2.29.1", + "@gsp-svc/formdoc-upload-vue":"1.0.2", + "@gsp-svc/file-viewer-vue":"1.0.1" }, "devDependencies": { "@babel/cli": "^7.25.7", diff --git a/packages/command-services/rollup.config.js b/packages/command-services/rollup.config.js index 01ed4295ff73e00ad8930f0702544fe9cce6f26c..a987dd2153ba61467257ed32e6da032026d629f2 100644 --- a/packages/command-services/rollup.config.js +++ b/packages/command-services/rollup.config.js @@ -17,7 +17,7 @@ const packageName = name.split('/')[1]; export default { input: 'lib/index.ts', - external: ['@farris/devkit-vue', '@farris/bef-vue', '@farris/ui-vue', 'vue', 'tslib', 'lodash'], + external: ['@farris/devkit-vue', '@farris/bef-vue', '@farris/ui-vue', 'vue', 'tslib', 'lodash', '@gsp-svc/formdoc-upload-vue', '@gsp-svc/file-viewer-vue'], output: [{ file: `dist-rollup/@farris/command-services-vue.js`, format: 'system', diff --git a/packages/designer/src/components/components/view-model-designer/method-manager/components/method-list/method-list.component.tsx b/packages/designer/src/components/components/view-model-designer/method-manager/components/method-list/method-list.component.tsx index eb6d2789e6ececf06c79535e7adbe7b0731326c0..22296e135cae13c673babae8ceb66e6f20103fe0 100644 --- a/packages/designer/src/components/components/view-model-designer/method-manager/components/method-list/method-list.component.tsx +++ b/packages/designer/src/components/components/view-model-designer/method-manager/components/method-list/method-list.component.tsx @@ -261,7 +261,7 @@ export default defineComponent({ activeViewModelFieldData={assembleSchemaFieldsUnderBoundEntity(targetComponentId.value)} varData={assembleStateVariables()} formData={assembleOutline()} - editorType={paramData?.controlSource?.type || 'Default'} + editorType={paramData.name === 'bizDefKey'? 'WorkFlowClass': paramData?.controlSource?.type || 'Default'} editorControlSource={paramData?.controlSource} idField={paramData?.controlSource?.context?.valueField?.value || paramData?.controlSource?.context?.idField?.value || 'id'} diff --git a/packages/designer/src/components/composition/command/supported-controllers/pc-supported-controller.json b/packages/designer/src/components/composition/command/supported-controllers/pc-supported-controller.json index 625dab8338121c608afb9d4e8f5d1af7cf7e5c1c..9d748bc10a55f90e9ff855adaa524eed2e2346e0 100644 --- a/packages/designer/src/components/composition/command/supported-controllers/pc-supported-controller.json +++ b/packages/designer/src/components/composition/command/supported-controllers/pc-supported-controller.json @@ -542,5 +542,27 @@ "id": "9194b00d-1b61-a33f-ad3d-38ebbf6ef022", "code": "ListDataExport" } + ], + "2eb7bbd1-fabd-4d0f-991d-7242f53225b1": [ + { + "id": "2a84e28f-7202-d858-1466-748a8040c1f9", + "code": "UploadAndUpdateRow" + }, + { + "id": "e6fc25ca-853b-0b2d-76c9-a1f7a253679b", + "code": "UploadAndBatchAddRows" + }, + { + "id": "be2a6cc1-9357-9374-cc8e-5665e6bc1bdc", + "code": "download" + }, + { + "id": "2e222e9f-9178-042a-4a5c-29b0e180b59a", + "code": "BatchDownloadByDataIds" + }, + { + "id": "b707e9c2-61c7-01d8-bd0e-aac222271602", + "code": "PreviewBySubDirName" + } ] } \ No newline at end of file diff --git a/packages/devkit/lib/store/entity-store/entity-schema/entity-schema.ts b/packages/devkit/lib/store/entity-store/entity-schema/entity-schema.ts index 014d2e0ccfb34634288168ee2fdde35476d43e09..cb775889c5db9ddfc08dc2f2e23920c9939f6d91 100644 --- a/packages/devkit/lib/store/entity-store/entity-schema/entity-schema.ts +++ b/packages/devkit/lib/store/entity-store/entity-schema/entity-schema.ts @@ -122,6 +122,7 @@ class EntitySchema { const paths = typeof path === 'string' ? path.split('/').filter((p) => p) : path; const entityPaths = []; const propertyPaths = []; + const nodeCodes = []; if (!paths) { throw new Error(`Invalid argument: path=${JSON.stringify(path)}`); } @@ -130,8 +131,10 @@ class EntitySchema { const pathName = paths[index]; const fieldSchema = currentSchemaMap.get(pathName); if (fieldSchema && fieldSchema.type === FieldType.EntityList) { - currentSchemaMap = (fieldSchema as EntityListFieldSchema)?.entitySchema?.fieldSchemaMap; + const entitySchema = (fieldSchema as EntityListFieldSchema)?.entitySchema; + currentSchemaMap = entitySchema?.fieldSchemaMap; entityPaths.push(fieldSchema.name); + nodeCodes.push(entitySchema.code); } else { // 属性路径 if (!fieldSchema) { @@ -147,7 +150,8 @@ class EntitySchema { } return { entityPaths, - propertyPaths + propertyPaths, + nodeCodes }; } } diff --git a/packages/renderer/package.json b/packages/renderer/package.json index d5fb92d79112d4945d0203b696038bbea80d7aa8..e03dfc3e08765deade1ece7f9bb4448857e96ace 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -44,7 +44,9 @@ "vue-router": "^4.4.5", "rxjs": "^7.4.0", "@gsp-wf/wf-task-handler-vue": "0.0.1", - "@gsp-dip/data-imp-exp-vue": "0.0.1" + "@gsp-dip/data-imp-exp-vue": "0.0.1", + "@gsp-svc/formdoc-upload-vue":"1.0.1", + "@gsp-svc/file-viewer-vue":"1.0.1" }, "devDependencies": { "vite-plugin-dts": "^2.1.0", diff --git a/packages/renderer/src/composition/use-module-config.ts b/packages/renderer/src/composition/use-module-config.ts index 38d0e65bc9bdacc69a70f01beedb1512c9267b01..6a0b95ae9081c78689a75357e438a327171caffe 100644 --- a/packages/renderer/src/composition/use-module-config.ts +++ b/packages/renderer/src/composition/use-module-config.ts @@ -24,6 +24,8 @@ import { validatorProviders } from "../validator"; import { WfStartProcessWebCmpServiceProviders } from "@gsp-wf/wf-task-handler-vue"; import { DataIECommandProviders } from "@gsp-dip/data-imp-exp-vue"; import { BifDevkitRootProviders, BifDevkitProviders } from "@edp-bif/runtime-api-vue"; +import { UploadDevkitProviders, UploadDevkitRootProviders } from '@gsp-svc/formdoc-upload-vue'; +import { FileViewerServiceProviders, FileViewerDevkitProviders, FileViewerDevkitRootProviders } from '@gsp-svc/file-viewer-vue'; export function useModuleConfig(metadata: Ref, uiProviders: StaticProvider[], render: Ref): ModuleConfig { const moduleMetaContext: any = { @@ -40,6 +42,8 @@ export function useModuleConfig(metadata: Ref, uiProviders: StaticProvider[], re { provide: RENDER_TOKEN, useValue: render, deps: [] }, { provide: RENDER_ENGINE_TOKEN, useClass: RenderEngineImpl, deps: [Injector] }, ...BifDevkitRootProviders, + ...UploadDevkitRootProviders, + ...FileViewerDevkitRootProviders ], viewModelProviders: [ ...befProviders, @@ -63,6 +67,8 @@ export function useModuleConfig(metadata: Ref, uiProviders: StaticProvider[], re ...WfStartProcessWebCmpServiceProviders, ...BifDevkitProviders, ...DataIECommandProviders, + ...UploadDevkitProviders, + ...FileViewerDevkitProviders ] }; const moduleConfigBuilder = new ModuleConfigBuilder(moduleMetaContext); diff --git a/packages/renderer/src/config-builders/command-handler-builder.ts b/packages/renderer/src/config-builders/command-handler-builder.ts index 3c49e744380de09724e2d91f921a5351c94c9ee2..b541f8644b0008c2f64a840f54b888a25133f9ce 100644 --- a/packages/renderer/src/config-builders/command-handler-builder.ts +++ b/packages/renderer/src/config-builders/command-handler-builder.ts @@ -94,7 +94,7 @@ class CommandHandlerConfigBuilder { * 是否是自定义服务 */ public isCustomService(componentId: string): boolean { - const webcomponent = this.getWebComponentMetadata(componentId); + const { content: webcomponent } = this.getWebComponentMetadata(componentId); return !!webcomponent; } @@ -102,7 +102,7 @@ class CommandHandlerConfigBuilder { * 构造自定义服务名 */ private getCustomServiceName(componentId: string): string | null { - const webcomponent = this.getWebComponentMetadata(componentId); + const { content: webcomponent } = this.getWebComponentMetadata(componentId); if (!webcomponent) { return null; } @@ -117,7 +117,7 @@ class CommandHandlerConfigBuilder { const webcomponent = this.webComponentMetadatas.find((webComponentMetadata) => { return webComponentMetadata.id === componentId; }); - return webcomponent?.content; + return webcomponent; } /** @@ -130,11 +130,15 @@ class CommandHandlerConfigBuilder { const bo = pathSegs[2]; const proj = pathSegs[3]; - const webcomponent = this.getWebComponentMetadata(componentId); + const { content: webcomponent, ExtendProperty: extendProperty } = this.getWebComponentMetadata(componentId); if (!webcomponent) { throw new Error(`WebComponentMetadata(Id=${componentId}) does not exist`); } - const fullFileName = webcomponent.Source; + const { uri } = extendProperty; + if (uri) { + return uri.startsWith('/') ? uri : `/${uri}`; + } + const fullFileName = webcomponent.Code; if (!fullFileName) { throw new Error(`WebComponentMetadata(Id=${componentId}) does not exist`); } diff --git a/packages/ui-vue/components/checkbox/src/property-config/checkbox.property-config.ts b/packages/ui-vue/components/checkbox/src/property-config/checkbox.property-config.ts index 540867178aba3bab515ca87e22942aa0faad163d..e602d02248e27af5445cbbae17f0dbd8ddb9e758 100644 --- a/packages/ui-vue/components/checkbox/src/property-config/checkbox.property-config.ts +++ b/packages/ui-vue/components/checkbox/src/property-config/checkbox.property-config.ts @@ -20,7 +20,7 @@ export class CheckBoxProperty extends InputBaseProperty { type: "string" }, trueValue: { - description: "选中时的值", + description: "选中的值", title: "选中的值", type: this.getBindingDataType(), visible: this.designViewModelField?.type.name !== 'Boolean', @@ -29,7 +29,7 @@ export class CheckBoxProperty extends InputBaseProperty { $converter: this.getBooleanValueConverter() }, falseValue: { - description: "未选中时的值", + description: "未选中的值", title: "未选中的值", type: this.getBindingDataType(), visible: this.designViewModelField?.type.name !== 'Boolean', diff --git a/packages/ui-vue/components/combo-list/src/combo-list.props.ts b/packages/ui-vue/components/combo-list/src/combo-list.props.ts index 3a60e886b034697c2ccab8c05a9e05bd0e4b9511..e0f0ec5e3b4ce8165e5c8b4c5008f68be5411908 100644 --- a/packages/ui-vue/components/combo-list/src/combo-list.props.ts +++ b/packages/ui-vue/components/combo-list/src/combo-list.props.ts @@ -16,6 +16,7 @@ */ import { ExtractPropTypes, PropType } from 'vue'; import { createPropsResolver } from '@farris/ui-vue/components/dynamic-resolver'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { schemaMapper } from './schema/schema-mapper'; import comboListSchema from './schema/combo-list.schema.json'; import { schemaResolver } from './schema/schema-resolver'; @@ -148,7 +149,7 @@ export const comboListProps = { /** * 占位符 */ - placeholder: { type: String, default: '请选择' }, + placeholder: { type: String, default: LocaleService.getLocaleValue('comboList.placeholder') }, /** * 可选,下拉面板展示位置 * 默认为`auto` diff --git a/packages/ui-vue/components/combo-list/src/composition/use-data-source.ts b/packages/ui-vue/components/combo-list/src/composition/use-data-source.ts index 72c20b1a994bde4092cffb7fee8f8f9474c29c32..60e7ad28ba4631ed3db33fcb3e4e088bc1c9e3fd 100644 --- a/packages/ui-vue/components/combo-list/src/composition/use-data-source.ts +++ b/packages/ui-vue/components/combo-list/src/composition/use-data-source.ts @@ -1,4 +1,5 @@ import { ref, watch } from "vue"; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { ComboListProps, Option } from "../combo-list.props"; import { UseDataSource } from "./types"; @@ -67,7 +68,7 @@ export function useDataSource(props: ComboListProps): UseDataSource { return isFromJson ? response.text() : response.json(); } if(response.status === 405) { - throw new Error('请求方法类型不正确'); + throw new Error(LocaleService.getLocaleValue('comboList.remoteError')); } const error = new Error(response.statusText); throw error; diff --git a/packages/ui-vue/components/components.ts b/packages/ui-vue/components/components.ts index 7f411cdb1775d88ca7e9912f4cc035df561df230..c6075e0ee139d647baf0d0821ca15513c2a48476 100644 --- a/packages/ui-vue/components/components.ts +++ b/packages/ui-vue/components/components.ts @@ -113,3 +113,4 @@ export { default as FSchemaSelectorEditor } from './schema-selector/src/schema-s export { default as FPropertyEditor } from './property-editor'; export { default as MenuLookupContainer } from './menu-lookup/src/components/modal-container.component'; export { useMenuTreeGridCoordinator } from './menu-lookup/src/composition/use-tree-grid-coordinator'; +export { default as FLookup } from './lookup'; diff --git a/packages/ui-vue/components/data-grid/src/data-grid.props.ts b/packages/ui-vue/components/data-grid/src/data-grid.props.ts index deda7da70505040c194cf234ed10b5c489402bac..e6580a412d0a4b540cd0a5eec2fbcd75c729daa8 100644 --- a/packages/ui-vue/components/data-grid/src/data-grid.props.ts +++ b/packages/ui-vue/components/data-grid/src/data-grid.props.ts @@ -23,6 +23,7 @@ import { VisualData, VisualDataCell } from '@farris/ui-vue/components/data-view'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { DataGridColumnCommand, SortType } from './designer/data-grid-column.props'; export interface DataGridColumn { @@ -202,7 +203,7 @@ export const rowNumberOptions = { /** 显示行号 */ enable: { type: Boolean, default: false }, /** 行号列表头标题 */ - heading: { type: String, default: '序号' }, + heading: { type: String, default: LocaleService.getLocaleValue('datagrid.lineNumberTitle') }, /** 行号宽度,默认为 36px */ width: { type: Number, default: 36 }, /** 是否展示省略号 */ @@ -387,7 +388,7 @@ export const dataGridProps = { enable: true, width: 32, showEllipsis:true, - heading: '序号' + heading: LocaleService.getLocaleValue('datagrid.lineNumberTitle') } }, /** 行配置 */ diff --git a/packages/ui-vue/components/data-grid/src/property-config/data-grid-column.property-config.ts b/packages/ui-vue/components/data-grid/src/property-config/data-grid-column.property-config.ts index 0a7a1902fecacb74316727f8e48aab492377bd2e..4daabc9eabfaaad18f7f8c93b6ec3929c91c51a7 100644 --- a/packages/ui-vue/components/data-grid/src/property-config/data-grid-column.property-config.ts +++ b/packages/ui-vue/components/data-grid/src/property-config/data-grid-column.property-config.ts @@ -1,5 +1,5 @@ -import { FormSchemaEntityField$Type } from '@farris/ui-vue/components/common'; +import { FormSchemaEntityField$Type, FormSchemaEntityFieldType$Type } from '@farris/ui-vue/components/common'; import { FNotifyService as NotifyService } from "@farris/ui-vue/components/notify"; import { BaseControlProperty } from '../../../property-panel/src/composition/entity/base-property'; import { DgControl } from '../../../designer-canvas/src/composition/dg-control'; @@ -33,23 +33,97 @@ export class DataGriColumnProperty extends BaseControlProperty { // 外观 this.getAppearanceProperties(propertyData, gridData); // 行为 - this.propertyConfig.categories['behavior'] = this.getBehaviorConfig(propertyData, 'gridFieldEditor'); + const extendProperties = { + formatterEnumData: { + description: "", + title: "数据", + type: "array", + visible: propertyData.formatter?.type === 'enum', + ...this.getItemCollectionEditor(propertyData, 'value', 'name'), + // 这个属性,标记当属性变更得时候触发重新更新属性 + refreshPanelAfterChanged: true, + } + }; + const setPropertyRelates = (changeObject: any, parameters: any) => { + if (!changeObject) { + return; + } + switch (changeObject.propertyID) { + case 'formatterEnumData': { + // 如果可以编辑数据,要同步更新格式化 + if (propertyData.formatter) { + propertyData.formatter.data = [...changeObject.propertyValue]; + } + break; + } + } + }; + this.propertyConfig.categories['behavior'] = this.getBehaviorConfig( + propertyData, + 'gridFieldEditor', + extendProperties, + setPropertyRelates + ); // 编辑器 this.getFieldEditorProperties(propertyData, gridData); // 列模板或者列格式化 - // this.propertyConfig.categories['formatter'] = this.getTemplateProperties(propertyData); - + if(propertyData.dataType !== 'date' && propertyData.dataType !== 'datetime') { + this.propertyConfig.categories['formatter'] = this.getTemplateProperties(propertyData); + } // 列事件 // this.getEventPropConfig(propertyData); return this.propertyConfig; } - + /** + * 枚举项编辑器 + * @param propertyData + * @param valueField + * @param textField + * @returns + */ + protected getItemCollectionEditor(propertyData, valueField, textField) { + valueField = valueField || 'value'; + textField = textField || 'name'; + return { + editor: { + columns: [ + { field: valueField, title: '值', dataType: 'string' }, + { field: textField, title: '名称', dataType: 'string' }, + // { field: 'disabled', title: '禁用', dataType: 'boolean', editor: { type: 'switch' } }, + ], + type: "item-collection-editor", + valueField: valueField, + nameField: textField, + requiredFields: [valueField, textField], + uniqueFields: [valueField, textField], + readonly: this.checkEnumDataReadonly(propertyData) + } + }; + } + /** + * 判断枚举数据是否只读 + * 1、没有绑定信息或者绑定变量,可以新增、删除、修改 + * 2、绑定类型为字段,且字段为枚举字段,则不可新增、删除、修改枚举值。只能从be修改然后同步到表单上。 + * @param propertyData 下拉框控件属性值 + */ + protected checkEnumDataReadonly(propertyData: any): boolean { + // 没有绑定信息或者绑定变量 + if (!propertyData.binding || propertyData.binding.type !== 'Form') { + return false; + } + if (this.designViewModelField && this.designViewModelField.type && + this.designViewModelField.type.$type === FormSchemaEntityFieldType$Type.EnumType) { + // 低代码、零代码,枚举字段均不可以改 + return true; + } + return false; + } private getEventPropConfig(propertyData: any) { - const events = [ + const events: { label: string, name: string }[] = [ { - "label": "onClickLinkCommand", - "name": "超链接事件" + label: 'onClickLinkCommand', + name: '超链接事件' } ]; @@ -85,11 +159,10 @@ export class DataGriColumnProperty extends BaseControlProperty { propertyData.remoteSort = propertyData.columnSorted ? true : false; // 同步超链接模板 // 替换自定义模板 - propertyData.columnTemplate = `this.viewModel.${data.onClickLinkCommand}(ctx)}> - {{rowData.${data.field}}} - `; - propertyData = { ...propertyData }; + // propertyData.columnTemplate = `this.viewModel.${data.onClickLinkCommand}(ctx)}> + // {{rowData.${data.field}}} + // `; // 刷新属性面板 } }; @@ -211,7 +284,6 @@ export class DataGriColumnProperty extends BaseControlProperty { description: '列模板', title: '列模板', type: 'string', - refreshPanelAfterChanged: true, editor: { type: "code-editor", @@ -248,7 +320,9 @@ export class DataGriColumnProperty extends BaseControlProperty { } case 'columnTemplate': { // 提示以列模板为主 - self.notifyService.warning({ position: 'top-center', message: '注意:已设置列模板,列格式化将会失效' }); + if (changeObject.propertyValue) { + self.notifyService.warning({ position: 'top-center', message: '注意:已设置列模板,列格式化将会失效' }); + } break; } } @@ -263,32 +337,34 @@ export class DataGriColumnProperty extends BaseControlProperty { private getTemplateProperties(propertyData: any) { const self = this; + const hasOwnProps = Object.prototype.hasOwnProperty; const formatterType = { enum: [ { id: 'enum', name: '枚举' }, - { id: 'custom', name: '自定义模板' }, + // { id: 'custom', name: '自定义模板' }, { id: 'none', name: '无' } ], boolean: [ { id: 'boolean', name: '布尔' }, - { id: 'custom', name: '自定义模板' }, + // { id: 'custom', name: '自定义模板' }, { id: 'none', name: '无' } ], number: [ { id: 'number', name: '数字' }, - { id: 'custom', name: '自定义模板' }, + // { id: 'custom', name: '自定义模板' }, { id: 'none', name: '无' } ], date: [ { id: 'date', name: '日期' }, - { id: 'custom', name: '自定义模板' }, + // { id: 'custom', name: '自定义模板' }, { id: 'none', name: '无' } ], string: [ { id: 'enum', name: '枚举' }, { id: 'boolean', name: '布尔' }, - { id: 'date', name: '日期' }, - { id: 'custom', name: '自定义模板' }, + { id: 'number', name: '数字' }, + // { id: 'date', name: '日期' }, + // { id: 'custom', name: '自定义模板' }, { id: 'none', name: '无' } ] }; @@ -315,18 +391,18 @@ export class DataGriColumnProperty extends BaseControlProperty { // // parentPropertyID: 'formatter', // // refreshPanelAfterChanged: true, // }, - customFormat: { - title: '自定义模板', - type: 'string', - visible: !!propertyData.formatter && propertyData.formatter.type === 'custom', - $converter: '/converter/change-formatter.converter', - description: '自定义模板', - refreshPanelAfterChanged: true, - editor: { - type: "code-editor", - language: "html", - } - }, + // customFormat: { + // title: '自定义模板', + // type: 'string', + // visible: !!propertyData.formatter && propertyData.formatter.type === 'custom', + // $converter: '/converter/change-formatter.converter', + // description: '自定义模板', + // refreshPanelAfterChanged: true, + // editor: { + // type: "code-editor", + // language: "html", + // } + // }, trueText: { title: '布尔为true时文本', $converter: '/converter/change-formatter.converter', @@ -383,14 +459,14 @@ export class DataGriColumnProperty extends BaseControlProperty { refreshPanelAfterChanged: true, description: '千分位' }, - dateFormat: { - title: '日期格式', - $converter: '/converter/change-formatter.converter', - type: 'string', - visible: !!propertyData.formatter && propertyData.formatter.type === 'date', - refreshPanelAfterChanged: true, - description: '日期格式' - } + // dateFormat: { + // title: '日期格式', + // $converter: '/converter/change-formatter.converter', + // type: 'string', + // visible: !!propertyData.formatter && propertyData.formatter.type === 'date', + // refreshPanelAfterChanged: true, + // description: '日期格式' + // } }, setPropertyRelates(changeObject, prop, paramters: any) { if (!changeObject) { @@ -404,6 +480,41 @@ export class DataGriColumnProperty extends BaseControlProperty { // 提示以列格式化为主 self.notifyService.warning({ position: 'top-center', message: '注意:已设置列格式化,列模板将被清空且不再生效' }); } + if(changeObject.propertyValue === 'boolean') { + if(!hasOwnProps.call(prop.formatter,'trueText')) { + prop.formatter.trueText = '是'; + } + if(!hasOwnProps.call(prop.formatter,'falseText')) { + prop.formatter.falseText = '否'; + } + } + if(changeObject.propertyValue === 'number') { + if(!hasOwnProps.call(prop.formatter,'prefix')) { + prop.formatter.prefix = ''; + } + if(!hasOwnProps.call(prop.formatter,'suffix')) { + prop.formatter.suffix = ''; + } + if(!hasOwnProps.call(prop.formatter,'precision')) { + prop.formatter.precision = 0; + } + if(!hasOwnProps.call(prop.formatter,'decimal')) { + prop.formatter.decimal = '.'; + } + if(!hasOwnProps.call(prop.formatter,'thousand')) { + prop.formatter.thousand = ','; + } + } + if(changeObject.propertyValue === 'date') { + if(!hasOwnProps.call(prop.formatter,'dateFormat')) { + prop.formatter.dateFormat = 'yyyy-MM-dd'; + } + } + if(changeObject.propertyValue === 'enum') { + if(!hasOwnProps.call(prop.formatter,'data')) { + prop.formatter.data = []; + } + } break; } } diff --git a/packages/ui-vue/components/data-grid/src/property-config/data-grid.property-config.ts b/packages/ui-vue/components/data-grid/src/property-config/data-grid.property-config.ts index 28af87b50b0ad3c0834e73f2b079cdfacf4b0e5d..467f7841acbdddf1d84f799a5d991649ac1b59b0 100644 --- a/packages/ui-vue/components/data-grid/src/property-config/data-grid.property-config.ts +++ b/packages/ui-vue/components/data-grid/src/property-config/data-grid.property-config.ts @@ -401,9 +401,9 @@ export class DataGridProperty extends BaseControlProperty { // 联动修改排序开关 propertyData.remoteSort = propertyData.columnSorted ? true : false; // 同步操作列命令 - if(data.command) { - data.command.onClickEditCommand = data.onClickEditCommand; - data.command.onClickDeleteCommand = data.onClickDeleteCommand; + if(propertyData.command) { + propertyData.command.onClickEditCommand = propertyData.onClickEditCommand; + propertyData.command.onClickDeleteCommand = propertyData.onClickDeleteCommand; } } diff --git a/packages/ui-vue/components/data-grid/src/schema/data-grid-column.schema.json b/packages/ui-vue/components/data-grid/src/schema/data-grid-column.schema.json index 3f080567b08b1023583ca28ec647bcd30785fc79..eaa981de50f2062253749e4f230247cc28e6b4a7 100644 --- a/packages/ui-vue/components/data-grid/src/schema/data-grid-column.schema.json +++ b/packages/ui-vue/components/data-grid/src/schema/data-grid-column.schema.json @@ -161,9 +161,13 @@ "default": "" }, "enableSummary": { - "description": "合计行", + "description": "启用合计行", "type": "boolean", "default": false + }, + "formatterEnumData": { + "description": "", + "type": "array" } }, "required": [ diff --git a/packages/ui-vue/components/data-view/components/column-filter/column-filter-container.component.tsx b/packages/ui-vue/components/data-view/components/column-filter/column-filter-container.component.tsx index 079aa5708fa0d14405c81c40da3e23e91aaa912d..9c0b697320e2073834337d560cacf5412aca9cab 100644 --- a/packages/ui-vue/components/data-view/components/column-filter/column-filter-container.component.tsx +++ b/packages/ui-vue/components/data-view/components/column-filter/column-filter-container.component.tsx @@ -15,6 +15,8 @@ */ import { CapsuleItem } from '@farris/ui-vue/components/capsule'; +import { Tag } from '@farris/ui-vue/components/tags'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { HeaderCell, HeaderCellStatus, @@ -26,7 +28,6 @@ import { UseVirtualScroll, UseFilter } from '../../composition/types'; -import { Tag } from '@farris/ui-vue/components/tags'; export default function ( useColumnComposition: UseColumn, @@ -38,9 +39,11 @@ export default function ( useVirtualScrollComposition: UseVirtualScroll ) { const items: CapsuleItem[] = [ - { name: '升序', value: 'asc', icon: 'f-icon f-icon-col-ascendingorder' }, - { name: '无', value: 'none' }, - { name: '降序', value: 'desc', icon: 'f-icon f-icon-col-descendingorder' } + { name: LocaleService.getLocaleValue('datagrid.settings.asc'), + value: 'asc', icon: 'f-icon f-icon-col-ascendingorder' }, + { name: LocaleService.getLocaleValue('datagrid.settings.summaryNone'), value: 'none' }, + { name: LocaleService.getLocaleValue('datagrid.settings.desc'), value: 'desc', + icon: 'f-icon f-icon-col-descendingorder' } ]; function clearSortStatus(headerCell: HeaderCell) { @@ -141,7 +144,7 @@ export default function (
-
筛选
+
{LocaleService.getLocaleValue('datagrid.filter.title')}
{useColumnFilterComposition.getFilterEditor(headerCell)}
onConfirm(payload, headerCell)}> - 确定 + {LocaleService.getLocaleValue('datagrid.filter.ok')} onCancel(payload, headerCell)}> - 取消 + {LocaleService.getLocaleValue('datagrid.filter.cancel')}
diff --git a/packages/ui-vue/components/data-view/components/column-filter/date-filter-editor.component.tsx b/packages/ui-vue/components/data-view/components/column-filter/date-filter-editor.component.tsx index 57809aaf4d4ddc708928f282ee7d88c61cc3329f..9055a3e43a7c6cef79d75668df6c876500c5f599 100644 --- a/packages/ui-vue/components/data-view/components/column-filter/date-filter-editor.component.tsx +++ b/packages/ui-vue/components/data-view/components/column-filter/date-filter-editor.component.tsx @@ -1,18 +1,19 @@ import { ref } from "vue"; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { HeaderCell } from "../../composition/types"; const tags = ref([ { - name: '七天', selectable: true + name: LocaleService.getLocaleValue('datagrid.filter.sevenDays'), selectable: true }, { - name: '一个月', selectable: true + name: LocaleService.getLocaleValue('datagrid.filter.oneMonth'), selectable: true }, { - name: '三个月', selectable: true + name: LocaleService.getLocaleValue('datagrid.filter.threeMonths'), selectable: true }, { - name: '半年', selectable: true + name: LocaleService.getLocaleValue('datagrid.filter.sixMonths'), selectable: true } ]); export default function (headerCell: HeaderCell) { diff --git a/packages/ui-vue/components/data-view/components/column-setting/column-setting.component.tsx b/packages/ui-vue/components/data-view/components/column-setting/column-setting.component.tsx index 5a1150df8f305f1fafe01f7fd6bf3db1617facff..8922804d0402179d73b8c36244fb74395776aabd 100644 --- a/packages/ui-vue/components/data-view/components/column-setting/column-setting.component.tsx +++ b/packages/ui-vue/components/data-view/components/column-setting/column-setting.component.tsx @@ -1,6 +1,6 @@ import FTransfer from '@farris/ui-vue/components/transfer'; import FTabs, { FTabPage } from '@farris/ui-vue/components/tabs'; -// import FTabPage from '../../../tabs/src/components/tab-page.component'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { FOrder, OrderedItem, SortType } from '@farris/ui-vue/components/order'; import FConditionList, { Condition, FieldConfig } from '@farris/ui-vue/components/condition'; import { App, Ref, computed, inject, nextTick, ref } from 'vue'; @@ -121,7 +121,9 @@ export default function ( {{ headerPrefix: () => ( ), default: () => [ @@ -219,7 +221,7 @@ export default function ( const showHeader = false; const dragHandler = '.farris-tabs-header'; modalInstance = modalService.open({ - title, width, showButtons, showHeader, dragHandle:dragHandler, draggable: true, + title, width, showButtons, showHeader, dragHandle: dragHandler, draggable: true, render: renderSettingsPanel, acceptCallback, rejectCallback }); } diff --git a/packages/ui-vue/components/data-view/components/data/empty.component.tsx b/packages/ui-vue/components/data-view/components/data/empty.component.tsx index ccdfd635874cfdb207aaa42ed8163860aac00958..534ae288055f88b734a2a83881bfe62c7212c5ae 100644 --- a/packages/ui-vue/components/data-view/components/data/empty.component.tsx +++ b/packages/ui-vue/components/data-view/components/data/empty.component.tsx @@ -1,11 +1,12 @@ import { SetupContext } from "vue"; +import { LocaleService } from '@farris/ui-vue/components/locale'; export default function (context: SetupContext) { function renderEmpty() { return
{context.slots.empty && context.slots.empty() || '暂无数据'} + transform:translateY(-50%);user-select:none"> {LocaleService.getLocaleValue('datagrid.emptyMessage')}
; } diff --git a/packages/ui-vue/components/data-view/components/summary/data-grid-summary.component.tsx b/packages/ui-vue/components/data-view/components/summary/data-grid-summary.component.tsx index 917d606c7f4013914c61a676636d8bcbc4fea7fa..f25d25c1f220c28c0aee980f6d549229057f0076 100644 --- a/packages/ui-vue/components/data-view/components/summary/data-grid-summary.component.tsx +++ b/packages/ui-vue/components/data-view/components/summary/data-grid-summary.component.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ import { computed, ref } from 'vue'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { DataColumn, DataViewOptions, UseColumn, UseDataView } from '../../composition/types'; export default function (props: DataViewOptions, dataView: UseDataView, useColumnComposition: UseColumn) { @@ -31,7 +32,9 @@ export default function (props: DataViewOptions, dataView: UseDataView, useColum shouldShowSummary.value && (
- 当页合计 + + {LocaleService.getLocaleValue('datagrid.summary.title')} +
{columnContext.value.summaryColumns.map((column: DataColumn) => { return ( diff --git a/packages/ui-vue/components/data-view/composition/column/use-command-column.ts b/packages/ui-vue/components/data-view/composition/column/use-command-column.ts index a9bf458f8dc8196bb902e23d9c7b69da98ac1909..ddf6f2cd9f9af67eed4793ec2e23c68c1c2fd3b7 100644 --- a/packages/ui-vue/components/data-view/composition/column/use-command-column.ts +++ b/packages/ui-vue/components/data-view/composition/column/use-command-column.ts @@ -14,6 +14,7 @@ * limitations under the License. */ import { Ref, ref } from 'vue'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { DataColumn, DataViewOptions, UseCommandColumn, VisualData, VisualDataCell } from '../types'; export function useCommandColumn(props: DataViewOptions): UseCommandColumn { @@ -27,7 +28,7 @@ export function useCommandColumn(props: DataViewOptions): UseCommandColumn { if (!hasCommandColumn) { const commandColumn = { field: '__commands__', - title: '操作', + title: LocaleService.getLocaleValue('datagrid.commandColumn.title'), width: defaultColumnWidth, fixed: 'right', dataType: 'commands', diff --git a/packages/ui-vue/components/data-view/composition/data/use-loading.ts b/packages/ui-vue/components/data-view/composition/data/use-loading.ts index 52c5ab0bec4815a98b9972e888de0df964774514..93f5b44e4daccea7bba054de406935b275df3d1a 100644 --- a/packages/ui-vue/components/data-view/composition/data/use-loading.ts +++ b/packages/ui-vue/components/data-view/composition/data/use-loading.ts @@ -1,11 +1,13 @@ import { computed, inject, Ref, ref, watch } from 'vue'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { FLoadingService } from '../../../loading'; -import { DataGridProps, dataGridProps } from '../../../data-grid/src/data-grid.props'; +import { DataGridProps } from '../../../data-grid/src/data-grid.props'; export function useLoading(props: DataGridProps, gridRef: Ref) { const LoadingService: FLoadingService | any = inject('FLoadingService'); const showLoading = computed(() => typeof props.loading === 'object' ? props.loading.show : props.loading); - const loadingMessage = computed(() => typeof props.loading === 'object' ? props.loading.message : '正在加载...'); + const loadingMessage = computed(() => typeof props.loading === 'object' ? + props.loading.message : `${LocaleService.getLocaleValue('datagrid.loadingMessage')}...`); let loadingInstance; function renderLoading() { const config: any = { diff --git a/packages/ui-vue/components/event-parameter/src/composition/editors/use-combo-tree.ts b/packages/ui-vue/components/event-parameter/src/composition/editors/use-combo-tree.ts index 33832f56870d7b0e2bafb0526f6ff24b3f7e4ecc..be436cf47e5cef0ee33f715cbb94c401c07bada3 100644 --- a/packages/ui-vue/components/event-parameter/src/composition/editors/use-combo-tree.ts +++ b/packages/ui-vue/components/event-parameter/src/composition/editors/use-combo-tree.ts @@ -2,6 +2,7 @@ import { computed, watch } from "vue"; import { editorMap, EditorType, EventParameterProps } from "../../event-parameter.props"; import { UseEditorInput } from "../type"; import { VisualData } from "@farris/ui-vue/components/data-view"; +import { LocaleService } from '@farris/ui-vue/components/locale'; export default function ( props: EventParameterProps, @@ -27,7 +28,7 @@ export default function ( type: 'combo-tree', componentProps: { data: props.data, - placeholder: '请选择', + placeholder: LocaleService.getLocaleValue('eventParameter.comboTree.placeholder'), enableSearch: false, enableClear: true, editable: false, diff --git a/packages/ui-vue/components/event-parameter/src/composition/editors/use-json-editor.ts b/packages/ui-vue/components/event-parameter/src/composition/editors/use-json-editor.ts index 284237996fe9cc4fddbb5bbe8220676d6ee11c33..0538fe985a7ca135d462645d488df8163982a475 100644 --- a/packages/ui-vue/components/event-parameter/src/composition/editors/use-json-editor.ts +++ b/packages/ui-vue/components/event-parameter/src/composition/editors/use-json-editor.ts @@ -1,3 +1,4 @@ +import { LocaleService } from '@farris/ui-vue/components/locale'; import { editorMap, EventParameterProps, EditorControlSource } from "../../event-parameter.props"; import { UseBaseEditor } from "../type"; @@ -18,7 +19,7 @@ export default function ( } return []; } catch (error) { - console.error(`Expected array of parameter schema for JsonEditor, but received invalid JSON.`, error); + console.error(`${LocaleService.getLocaleValue('eventParameter.jsonEditor.error')}`, error); return []; } } @@ -45,11 +46,11 @@ export default function ( formData: props.formData, }, beforeOpen, - dialogTitle: '可配置参数编辑器', - keyColumnTitle: '参数', - valueColumnTitle: '参数值', - addButtonText: '添加配置参数', - keyColumnPlaceholder: '请输入参数', + dialogTitle: LocaleService.getLocaleValue('eventParameter.jsonEditor.dialogTitle'), + keyColumnTitle: LocaleService.getLocaleValue('eventParameter.jsonEditor.keyColumnTitle'), + valueColumnTitle: LocaleService.getLocaleValue('eventParameter.jsonEditor.dialogTitle'), + addButtonText: LocaleService.getLocaleValue('eventParameter.jsonEditor.dialogTitle'), + keyColumnPlaceholder: LocaleService.getLocaleValue('eventParameter.jsonEditor.dialogTitle'), }, }; } diff --git a/packages/ui-vue/components/event-parameter/src/composition/editors/use-work-flow.ts b/packages/ui-vue/components/event-parameter/src/composition/editors/use-work-flow.ts new file mode 100644 index 0000000000000000000000000000000000000000..597627f78a1f3d63ba3e24ffb8ce6db38b8bd36f --- /dev/null +++ b/packages/ui-vue/components/event-parameter/src/composition/editors/use-work-flow.ts @@ -0,0 +1,28 @@ +import { editorMap, EventParameterProps } from "../../event-parameter.props"; +import { UseBaseEditor } from "../type"; + +export default function ( + props: EventParameterProps +): UseBaseEditor { + + // 待树列表滚动条问题修复后再启用分层加载 + const enableLayeredLoading = false; + function convertEventParamValue2EditorValue(eventParamValue: any): any { + if (typeof eventParamValue === 'object') { + return { id: props.modelValue, name: props.modelValue }; + } + return { id: eventParamValue, name: eventParamValue }; + } + function createEditorProps(): void { + editorMap[props.editorType] = { + type: 'work-flow-class', + componentProps: { + }, + convertEventParamValue2EditorValue, + }; + } + + function onValueChange() { } + + return { createEditorProps, onValueChange }; +} diff --git a/packages/ui-vue/components/event-parameter/src/composition/use-editor.ts b/packages/ui-vue/components/event-parameter/src/composition/use-editor.ts index 0a76834cb9bb9757fab48b3138e80999abc17b15..88b2c9598d2ca6fd266a1f06a6a0b7916a1ea8e4 100644 --- a/packages/ui-vue/components/event-parameter/src/composition/use-editor.ts +++ b/packages/ui-vue/components/event-parameter/src/composition/use-editor.ts @@ -9,6 +9,7 @@ import useMenuLookup from './editors/use-menu-lookup'; import useJsonEditor from './editors/use-json-editor'; import useSortConditionEditor from "./editors/use-sort-condition-editor"; import useFilterConditionEditor from "./editors/use-filter-condition-editor"; +import useWorkFlow from './editors/use-work-flow'; export default function ( props: EventParameterProps, @@ -31,7 +32,8 @@ export default function ( const useSortConditionEditorComposition = useSortConditionEditor(props); // 过滤条件编辑器组件 const useFilterConditionEditorComposition = useFilterConditionEditor(props); - + // 流程分类 + const useWorkFlowComposition = useWorkFlow(props); function getEditorConfig() { const editorTypeValue = editorType.value; if ( @@ -57,6 +59,8 @@ export default function ( // 数字 } else if (editorTypeValue === EditorType.Switch) { useEditorSwitchComposition.createEditorProps(); + } else if (editorTypeValue === EditorType.WorkFlowClass) { + useWorkFlowComposition.createEditorProps(); } else { useEditorInputComposition.createEditorProps(); } diff --git a/packages/ui-vue/components/event-parameter/src/composition/use-general-editor.ts b/packages/ui-vue/components/event-parameter/src/composition/use-general-editor.ts index 0c1792aebd4e8511caa3898c142e220c8aced5fa..d177e32822f1ed0645c8ba454ed093e86e1abe6a 100644 --- a/packages/ui-vue/components/event-parameter/src/composition/use-general-editor.ts +++ b/packages/ui-vue/components/event-parameter/src/composition/use-general-editor.ts @@ -1,4 +1,5 @@ import { reactive, ref, watch } from "vue"; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { EventParameterProps } from "../event-parameter.props"; export function useGeneralEditor( @@ -7,7 +8,7 @@ export function useGeneralEditor( const tabs = reactive([ { id: 'tabField', - title: '字段', + title: LocaleService.getLocaleValue('eventParameter.generalEditor.field'), treeConfigs: { id: 'tabFieldTree', columns: [{ field: 'name' }], @@ -19,7 +20,7 @@ export function useGeneralEditor( }, { id: 'tabVar', - title: '变量', + title: LocaleService.getLocaleValue('eventParameter.generalEditor.tabVar'), treeConfigs: { id: 'tabVarTree', data: props.varData, @@ -28,7 +29,7 @@ export function useGeneralEditor( }, { id: 'tabForm', - title: '表单组件', + title: LocaleService.getLocaleValue('eventParameter.generalEditor.form'), treeConfigs: { id: 'tabFormTree', data: props.formData, diff --git a/packages/ui-vue/components/event-parameter/src/event-parameter.component.tsx b/packages/ui-vue/components/event-parameter/src/event-parameter.component.tsx index 66f0845a248ba1691beabc945f0482a146877be9..ccb36daeeee54fc4214be885b0991ce74d217e70 100644 --- a/packages/ui-vue/components/event-parameter/src/event-parameter.component.tsx +++ b/packages/ui-vue/components/event-parameter/src/event-parameter.component.tsx @@ -1,6 +1,7 @@ import { computed, defineComponent, inject, Ref, ref, SetupContext, watch } from 'vue'; import { FDynamicFormGroup } from '@farris/ui-vue/components/dynamic-form'; import { F_MODAL_SERVICE_TOKEN } from '@farris/ui-vue/components/modal'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import FTabs, { FTabPage } from '@farris/ui-vue/components/tabs'; import FTreeView from '@farris/ui-vue/components/tree-view'; import FTextarea from '@farris/ui-vue/components/textarea'; @@ -12,6 +13,7 @@ import useEditor from './composition/use-editor'; import useEditorInput from './composition/editors/use-input'; import { useGeneralEditor } from './composition/use-general-editor'; import { EditorConfig } from './event-parameter.props'; +import { wfBizprocessLookupComponent as WfBizProcessLookUp } from '@gsp-wf/wf-bizprocess-lookup-vue'; import './event-parameter.scss'; export default defineComponent({ @@ -350,10 +352,33 @@ export default defineComponent({ return textareaRef.value.elementRef; }; + const onAfterConfirm = (e: any) => { + const value = e.items[0].id; + context.emit('update:modelValue', value); + context.emit('valueChange', value); + }; + + const onAfterClear = () => { + const value = modelValue.value.id; + context.emit('update:modelValue', value); + context.emit('valueChange', value); + }; + context.expose({ getInputRef }); return () => { - return : ; context?: any; /** 将事件参数的值转化为参数编辑器所需要的格式 */ @@ -54,7 +54,8 @@ export enum EditorType { AppIdSelector = 'AppIdSelector', ComboLookup = 'ComboLookup', ConfigurationParameterEditor = 'ConfigurationParameterEditor', - FieldMappingEditor = 'FieldMappingEditor' + FieldMappingEditor = 'FieldMappingEditor', + WorkFlowClass = 'WorkFlowClass' }; export const editorMap: EditorMap = reactive({}); diff --git a/packages/ui-vue/components/events-editor/src/components/parameter-editor/parameter-editor.component.tsx b/packages/ui-vue/components/events-editor/src/components/parameter-editor/parameter-editor.component.tsx index 3beac15c0465617cfcce5cf61b1d961ba715ab38..1bcf002b86f8d99d03061010b3d9435c0091f5e2 100644 --- a/packages/ui-vue/components/events-editor/src/components/parameter-editor/parameter-editor.component.tsx +++ b/packages/ui-vue/components/events-editor/src/components/parameter-editor/parameter-editor.component.tsx @@ -163,7 +163,7 @@ export default defineComponent({ formData={assembleOutline()} varData={assembleStateVariables()} activeViewModelFieldData={assembleSchemaFieldsUnderBoundEntity(targetComponentId.value)} - editorType={propertyItem?.origin?.controlSource?.type || 'Default'} + editorType={propertyItem?.name === 'bizDefKey'? 'WorkFlowClass': propertyItem?.origin?.controlSource?.type || 'Default'} editorControlSource={propertyItem?.origin?.controlSource} idField={propertyItem?.origin?.controlSource?.context?.valueField?.value || propertyItem?.origin?.controlSource?.context?.idField?.value || 'id'} diff --git a/packages/ui-vue/components/locale/src/lib/locale.service.ts b/packages/ui-vue/components/locale/src/lib/locale.service.ts index 9798d501c5c4d342a5bcee29be9ee2e861aa7b91..d868fc0a542a82d720b5f6b34ed24d6b78be2810 100644 --- a/packages/ui-vue/components/locale/src/lib/locale.service.ts +++ b/packages/ui-vue/components/locale/src/lib/locale.service.ts @@ -36,6 +36,9 @@ export class LocaleService { LocaleService.languageData[locale] = data; } public static getLocaleValue(key: string): string { + if (!key.startsWith('ui.') && !key.startsWith('uiDesigner.')) { + key = `ui.${key}`; + } const value = LocaleService.getValue(key); if (value) { return value; @@ -52,9 +55,9 @@ export class LocaleService { */ public static getRealPropertyValue(propertyValue, defaultValue, localeKey) { if (!propertyValue || propertyValue === defaultValue) { - return LocaleService.getLocaleValue(localeKey); + return LocaleService.getLocaleValue(localeKey); } - return propertyValue + return propertyValue; } /** * 获取对象中指定字段的值。 field: 可以为带有层级结构的路径,如: user.firstName | name 等 diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us.ts new file mode 100644 index 0000000000000000000000000000000000000000..8f5a908a5a07f5c92148c38a36c517e221eae6f9 --- /dev/null +++ b/packages/ui-vue/components/locale/src/lib/locales/en-us.ts @@ -0,0 +1,1486 @@ +export const EN_US = { + ui: { + combo: { + placeholder: 'Please Select', + emptyMsg: 'Empty Data', + }, + combolist: { + // trueValueTitle: '选中的值', + // falseValueTitle: '未选中的值', + remoteError: 'The request method type is incorrect', + placeholder: 'Please select' + }, + datePicker: { + dayLabels: { Sun: 'Sun', Mon: 'Mon', Tue: 'Tue', Wed: 'Wed', Thu: 'Thu', Fri: 'Fri', Sat: 'Sat' }, + monthLabels: { + 1: 'Jan', + 2: 'Feb', + 3: 'Mar', + 4: 'Apr', + 5: 'May', + 6: 'Jun', + 7: 'Jul', + 8: 'Aug', + 9: 'Sep', + 10: 'Oct', + 11: 'Nov', + 12: 'Dec' + }, + dateFormat: 'MM/dd/yyyy', + returnFormat: 'MM/dd/yyyy', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '', + timeBtnText: 'Select Time', + dateBtnText: 'Select Date', + commitBtnText: 'OK', + weekText: 'Week', + placeholder: 'Please select a date', + range: { + begin: 'Please select a begin date', + end: 'Please select an end date' + }, + message: { + 101: 'The end time must not be earlier than the start time.', + 102: 'Only ${0} dates are allowed to be selected.' + }, + current: { + today: 'Today', + week: 'Current Week', + month: 'Current Month', + year: 'Current Year' + }, + multiDatesLocale: { + backtotoday: 'Back to Today', + clearSelections: 'Clear All', + delete: 'Delete', + selected: 'Selected,Days' + } + }, + datagrid: { + lineNumberTitle: 'NO.', + emptyMessage: 'Empty Data', + pagination: { + previousLabel: 'Prev Page', + nextLabel: 'Next Page', + message: 'Total {1} items ', + pagelist: { + firstText: 'Display', + lastText: 'items' + } + }, + filter: { + title: 'Conditions', + reset: 'Reset', + clear: 'Clear', + clearAll: 'Clear all conditions', + setting: 'Settings', + nofilter: '[ Empty ]', + checkAll: 'Check All', + and: 'And', + or: 'Or', + operators: { + equal: 'equal', + notEqual: 'not equal', + greater: 'greater than', + greaterOrEqual: 'greater than or equal', + less: 'less than', + lessOrEqual: 'less than or equal', + contains: 'contains', + notContains: 'not contains', + like: 'contains', + notLike: 'not contains', + in: 'in', + notIn: 'not in', + empty: 'empty', + notEmpty: 'not empty', + null: 'null', + notNull: 'not null' + }, + more: 'More', + ok: 'ok', + cancel: 'cancel', + sevenDays: 'Seven Days', + oneMonth: 'One Month', + threeMonths: 'Three Months', + sixMonths: 'Six Months' + }, + settings: { + visible: 'Visible', + sortting: 'Sortting', + title: 'Column Settings', + canchoose: 'Can choose', + choosed: 'Choosed', + asc: 'ASC', + desc: 'DESC', + cancelSort: 'Cancel sortting', + ok: 'OK', + cancel: 'Cancel', + reset: 'Reset', + conciseMode: 'Concise', + advancedMode: 'Advanced', + formatSetting: 'Column format', + properties: 'Column properties', + groupping: 'Groupping', + allColumns: 'All', + visibleColumns: 'Visible', + hiddenColumns: 'Hidden', + searchPlaceholder: 'Please enter a column name', + checkall: 'Show or hide all', + headeralign: 'Header alignment', + dataalign: 'Data alignment', + alignLeft: 'Left', + alignCenter: 'Center', + alignRight: 'Right', + summarytype: 'Summary type', + summarytext: 'Summary text', + summaryNone: 'None', + summarySum: 'Sum', + summaryMax: 'Max', + summaryMin: 'Min', + summarCount: 'Count', + summaryAverage: 'Average', + grouppingField: 'Groupping field', + moreGrouppingFieldWarningMessage: 'Up to 3 fields are set for grouping', + grouppingSummary: 'Group total', + addGrouppingFieldTip: 'Add groupping field', + removeGrouppingFieldTip: 'Remove groupping field', + grouppingSummaryType: 'Group total type', + grouppingSummaryText: 'Group total text', + restoreDefaultSettingsText: 'Are you sure you want to restore the default settings', + simple: { + title: 'Show Columns', + tip: 'The selected fields can be displayed in the list. Drag to adjust the display order in the list.', + count: 'show {0} columns' + } + }, + selectionData: { + clearAll: 'Clear all', + tooltip: 'Click here show list.', + currentLenth: `{0} items selected. ` + }, + groupRow: { + tips: 'Drag columns here to group data.', + removeColumn: 'Remove the group column.', + clearTip: 'Clear all grouped fields.', + clear: 'Empty' + }, + summary: { + title: 'current page summary' + }, + loadingMessage: 'loading', + commandColumn: { + title: 'operate' + } + }, + filterEditor: { + // 取消 + cancelButton: 'Cancel', + // 确定 + okButton: 'OK', + // 添加子句 + addWhere: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + // 左括号 + leftBrackets: 'Left Brackets', + // 字段 + field: 'Field Name', + // 操作符 + operator: 'Operator', + // 值 + value: 'Value', + + valueType: 'Value type', + expressType: { + value: 'Value', + express: 'Express', + frontExpress: 'Front Express' + }, + // 右括号 + rightBrackets: 'Right Brackets', + // 关系 + relation: 'Relation', + relationValue: { + and: 'And', + or: 'Or' + }, + + // 设计器 + designTab: 'Design', + // 源代码 + jsonTab: 'JSON', + // Sql预览 + sqlTab: 'Sql', + title: 'Filter Designer', + message: 'Are you sure you want to clear all current data?', + validate: { + bracket: 'The brackets do not match, please check', + relation: 'The condition relationship is incomplete, please check', + field: 'Condition field is not set, please check' + } + }, + enumEditor: { + // 取消 + cancelButton: 'Cancel', + // 确定 + okButton: 'OK', + // 添加子句 + addWhere: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + title: 'Enum Data Designer', + message: 'Are you sure you want to clear all current data?', + + value: 'Value', + name: 'Name' + }, + lookup: { + placeholder: 'Please select', + favorites: 'Favorites', + selected: 'Selected Items', + okText: 'OK', + cancelText: 'Cancel', + allColumns: 'All Columns', + datalist: 'Data Items', + mustWriteSomething: 'Please enter a keyword to search.', + mustChoosAdatarow: 'Please select a record!', + tipText: 'Are these what you are looking for?', + cascade: { + enable: 'Bidirectional Cascading', + disable: 'Disable Cascading', + up: 'Upward Cascading', + down: 'Downward Cascading' + }, + includechildren: 'Include Children', + favoriteInfo: { + addFav: 'Collection Success.', + cancelFav: 'Unfavorite Successfully. ', + addFavTitle: 'Add to Favorite', + cancelFavTitle: 'Cancel Favorite' + }, + getAllChilds: 'Get All Children', + contextMenu: { + checkChildNodes: 'Check Subordinate Nodes', + uncheckChildNodes: 'Uncheck Subordinate Nodes', + expandall: 'Expand All', + collapseall: 'Collapse All', + expandByLayer: 'Expand by Level', + expand1: 'Expand to Level 1', + expand2: 'Expand to Level 2', + expand3: 'Expand to Level 3', + expand4: 'Expand to Level 4', + expand5: 'Expand to Level 5', + expand6: 'Expand to Level 6', + expand7: 'Expand to Level 7', + expand8: 'Expand to Level 8', + expand9: 'Expand to Level 9' + }, + quick: { + notfind: 'Search Content Not Found.', + more: 'Show More' + }, + configError: 'The help display column is not configured. Please check whether the help data source is configured correctly.', + selectedInfo: { + total: 'Selected Items {0}', + clear: 'Cancel Selected', + remove: 'Delete ({0})', + confirm: 'Are you sure you want to cancel all selected records?' + }, + clearAllConditions: 'Clear All Conditions', + anyFields: 'All' + }, + loading: { + message: 'Loading ...' + }, + modal: {}, + messager: { + yes: 'Yes', + no: 'No', + ok: 'OK', + cancel: 'Cancel', + title: 'System Information', + errorTitle: 'Error Information', + prompt: { + fontSize: { + name: 'Font Size', + small: 'Small', + middle: 'Middle', + big: 'Large', + large: 'Extra Large', + huge: 'Huge' + }, + tips: { + surplus: 'You can also input {0} characters', + length: '{0} characters have been entered' + } + }, + exception: { + expand: 'Expand', + collapse: 'Collapse', + happend: 'Happened Time', + detail: 'Detail', + copy: 'Copy Details', + copySuccess: 'Copy Succeeded!', + copyFailed: 'Replication Failed!', + roger: 'Got It.', + } + }, + notify: { + title: 'System Information' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: 'Please enter the number', + range: { + begin: 'Please enter the begin number', + end: 'Please enter the end number' + } + }, + inputGroup: {}, + treetable: { + emptyMessage: 'Empty Data', + pagination: { + previousLabel: 'Prev Page', + nextLabel: 'Next Page', + message: '{0} items per page, total {1} items.' + } + }, + multiSelect: { + leftTitle: 'Unselected', + rightTitle: 'Selected', + noDataMoveMessage: 'Please select the data to move.', + shiftRight: 'Shift right', + shiftLeft: 'Shift left', + allShiftRight: 'Shift right all', + allShiftLeft: 'Shift left all', + top: 'Placed at the top', + bottom: 'Placed at the bottom', + shiftUp: 'Shift up', + shiftDown: 'Shift down', + emptyData: 'Empty data', + filterPlaceholder: 'Filter...' + }, + sortEditor: { + // 取消 + cancel: 'cancel', + // 确定 + ok: 'ok', + // 添加子句 + add: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + + // 字段 + field: 'Field Name', + // 操作符 + order: 'Order', + + asc: 'ASC', + desc: 'DESC', + title: 'Sort Editor' + }, + tabs: { + more: 'more', + }, + timePicker: { + placeholder: 'Please select a time', + time: { + hour: 'Hour', minute: 'Minute', seconds: 'Second' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: 'Empty Data' + }, + text: { + yes: 'yes', + no: 'no', + zoom: 'Edit content in the dialog opened.', + comments: { + title: 'Common comments', + manager: 'Management', + empty: 'No data.' + } + }, + switch: {}, + sidebar: { + sidebar: 'Detail', + }, + section: { + expandLabel: 'expand', + collapseLabel: 'collapse' + }, + pagination: { + message: 'Total {1} items ', + totalInfo: { + firstText: 'total', + lastText: 'items' + }, + pageList: { + firstText: 'display', + lastText: 'items' + }, + previous: 'previous', + next: 'next', + goto: { + prefix: 'go to', + suffix: '' + }, + show: 'show' + }, + responseToolbar: { + more: 'More', + }, + queryCondition: { + configDialog: { + unSelectedOptions: 'Unselected Options', + selectedOptions: 'Selected Options', + confirm: 'Confirm', + cancel: 'Cancel', + placeholder: 'Please input search keywords', + moveUp: 'Move Up', + moveAllUp: 'Move All Up', + moveDown: 'Move Down', + moveAllDown: 'Move All Down', + moveRight: 'Move Right', + moveAllRight: 'Move All Right', + moveLeft: 'Move Left', + moveAllLeft: 'Move All Left', + pleaseSelect: 'Please select options', + noOptionMove: 'No moveable options left', + selectOptionUp: 'Please select options to move up', + cannotMoveUp: 'Can\'t move up', + selectOptionTop: 'Please select options to the top', + optionIsTop: 'The option is at top', + selectOptionDown: 'Please select options to move down', + cannotMoveDown: 'Can\'t move down', + selectOptionBottom: 'Please select options to the bottom', + optionIsBottom: 'The option is at bottom' + }, + container: { + query: 'Filter', + saveAs: 'Save as', + save: 'Save', + config: 'Configurations' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: 'Solution Name', + setAsDefault: 'Set as Default', + confirm: 'Confirm', + cancel: 'Cancel', + caption: 'Add New Solution', + personal: 'Personal Solution', + system: 'System Public Solution', + nameNotify: 'Please enter solution name', + authNotify: 'You do not have permission to modify public solutions.', + success: 'Query solution saved successfully.', + maxLength: 'Solution name cannot exceed 100 characters, please modify' + }, + manageDialog: { + caption: 'Solution Management', + default: 'Default', + system: 'System Public', + saveAs: 'Save As', + save: 'Save', + manage: 'Manage', + isDefault: 'Default Solution', + code: 'Name', + type: 'Type', + private: 'Personal Solution', + public: 'System Public Solution', + org: 'Organization Public Solution', + remove: 'Delete' + }, + configDialog: { + caption: 'Filter Configuration' + }, + container: { + filter: 'Filter', + default: 'Default Filter Solution', + clear: 'Clear', + require: 'Please fill in {fields} before filtering' + } + }, + collapseDirective: { + expand: 'expand', + fold: 'fold' + }, + avatar: { + imgtitle: 'Amend', + typeError: 'Type error', + sizeError: 'Can not be larger than', + uploadError: 'Upload Fail!', + loadError: 'Load error.', + loading: 'Loading' + }, + listFilter: { + filter: 'Filter', + confirm: 'OK', + cancel: 'Cancel', + reset: 'Reset' + }, + progressStep: { + empty: 'Data is empty' + }, + languageLabel: { + en: 'English', + "zh-cn": 'Simplified Chinese', + "zh-CHS": 'Simplified Chinese', + "zh-CHT": 'Traditional Chiness', + ok: 'OK', + cancel: 'Cancel' + }, + verifyDetail: { + vertifyTypeAll: 'All', + vertifyTypeError: 'Error', + vertifyTypeEmpty: 'Empty' + }, + batchEditDialog: { + title: 'Batch Edit', + appendText: 'Append new field', + appendTextTip: 'Append more field to edit', + okText: 'OK', + cancelText: 'Cancel', + field: 'Please select field', + fieldValue: 'Please input value', + appendTips: 'append more columns to edit.', + selected: 'select', + row: 'row', + confirmTitle: 'Info', + neverShow: 'Do not remind again', + confirmText: 'We will update {0} rows,Are you sure?' + }, + pageWalker: { + next: 'Next', + prev: 'Prev', + skip: 'Skip', + startNow: 'Start now' + }, + footer: { + expandText: 'More Information', + collapseText: 'More Information' + }, + discussionGroup: { + submit: 'Submit', + cancel: 'Cancel', + colleague: 'Colleague', + all: 'For all to see', + related: 'Relevant personnel can see', + confirm: 'Confirm', + reply: 'Reply', + emptyMessage: 'Empty Data', + placeholder: 'Please input search keywords', + notEmpty: 'The submitted content cannot be empty', + selectEmployee: 'Select the employee', + next: 'Next', + emptySelected: 'Clear', + emptyRight: 'Select on the left', + allOrg: 'All', + selected: 'Selected', + section: 'Section ', + people: 'Per ', + viewMore: 'View more', + per: ' ', + pcs: ' ', + emptyList: 'Empty contacts', + advancedQuery: 'Select' + }, + tag: { + addText: 'Add', + placeholder: 'Please input' + }, + filterPanel: { + filter: 'Filter', + confirm: 'OK', + cancel: 'Cancel', + reset: 'Reset', + advancedFilter: 'advancedFilter', + expand: 'Expand', + fold: 'Fold', + last1Month: 'LastOneMonth', + last3Month: 'LastThreeMonth', + last6Month: 'LastSixMonth', + pleaseInput: 'Please input ', + searchHistory: 'Search History', + searchResult: 'Search Result', + intervalFilter: 'Filter by interval', + beginPlaceHolder: 'Minimum value', + endPlaceHolder: 'Maximum value', + dateBeginPlaceHolder: 'Start date', + dateEndPlaceHolder: 'End date', + empty: 'Empty', + clear: 'Clear', + today: 'Today', + yesterday: 'Yesterday', + checkall: 'Check all' + }, + scrollspy: { + guide: 'Nav' + }, + lookupConfig: { + placeholder: 'Select the form metadata', + code: 'Code', + name: 'Name', + select: 'Select the help metadata', + filter: 'Configuration conditions', + helpidEmpty: 'HelpID cannot be empty', + selectTitle: 'Helps with metadata selection', + lookupTitle: 'Help configuration', + sure: 'Confirm', + cancel: 'Cancel', + successSave: 'Save successfully', + helpIdError: 'Please select the help metadata', + fileNamePlaceholder: 'Select the help text field', + selectFileNameTitle: 'Text field selector', + bindingPath: 'Binding field', + fieldError: 'The bound field does not exist!', + textFieldLable: 'Select the textField', + loadTypeTitle: 'Select the loadType', + loadTypeList: { + all: 'All load', + layer: 'Layer load', + default: 'Default load' + }, + powerTitle: 'Permission setting', + powerObjLabel: 'Permission objects', + powerFieldLabel: 'Permission field', + powerOperateLabel: 'Permission operate', + linkfieldLabel: 'Help associated field', + powerDataTitle: 'Permission object selection', + powerFieldTitle: 'Permission field selection', + powerOperateTitle: 'Operation selection', + businessLable: 'Business object ', + powerLable: 'Permission objects', + powerError: 'Select the permission objects', + operateError: 'Select the Operation', + linkfieldError: 'Select permission field' + }, + condition: { + add: 'Add condition', + create: 'Create condition group', + reset: 'Reset', + and: 'And', + or: 'Or' + }, + operators: { + equal: 'Equal', + notEqual: 'Not equal', + greater: 'Greater than', + greaterOrEqual: 'Greater than or equal', + less: 'Less than', + lessOrEqual: 'Less than or equal', + contains: 'Contains', + notContains: 'Does not contain', + like: 'Contains', + notLike: 'Does not contain', + in: 'In', + notIn: 'Not in', + empty: 'Is empty', + notEmpty: 'Is not empty', + null: 'Null', + notNull: 'Not null', + startWith: 'Starts with', + endWith: 'Ends with', + and: 'And', + or: 'Or' + }, + drawer: { + cancel: 'Cancel', + confirm: 'Confirm' + }, + eventParameter: { + title: 'parameter editor', + ok: 'confirm', + cancel: 'cancel', + workFlowClass: { + title: 'Please select a process category' + }, + generalEditor: { + field: 'field', + tabVar: 'variable', + form: 'form components' + }, + jsonEditor: { + dialogTitle: 'Configurable parameter editor', + keyColumnTitle: 'parameter', + valueColumnTitle: 'parameter value', + addButtonText: 'Add configuration parameters', + keyColumnPlaceholder: 'Please enter the parameters', + error: 'Expected array of parameter schema for JsonEditor, but received invalid JSON' + }, + comboTree: { + placeholder: 'Please select' + } + } + }, + uiDesigner: { + combo: { + placeholder: 'Please Select', + emptyMsg: 'Empty Data', + }, + combolist: { + // trueValueTitle: '选中的值', + // falseValueTitle: '未选中的值', + remoteError: 'The request method type is incorrect', + placeholder: 'Please select' + }, + datePicker: { + dayLabels: { Sun: 'Sun', Mon: 'Mon', Tue: 'Tue', Wed: 'Wed', Thu: 'Thu', Fri: 'Fri', Sat: 'Sat' }, + monthLabels: { + 1: 'Jan', + 2: 'Feb', + 3: 'Mar', + 4: 'Apr', + 5: 'May', + 6: 'Jun', + 7: 'Jul', + 8: 'Aug', + 9: 'Sep', + 10: 'Oct', + 11: 'Nov', + 12: 'Dec' + }, + dateFormat: 'MM/dd/yyyy', + returnFormat: 'MM/dd/yyyy', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '', + timeBtnText: 'Select Time', + dateBtnText: 'Select Date', + commitBtnText: 'OK', + weekText: 'Week', + placeholder: 'Please select a date', + range: { + begin: 'Please select a begin date', + end: 'Please select an end date' + }, + message: { + 101: 'The end time must not be earlier than the start time.', + 102: 'Only ${0} dates are allowed to be selected.' + }, + current: { + today: 'Today', + week: 'Current Week', + month: 'Current Month', + year: 'Current Year' + }, + multiDatesLocale: { + backtotoday: 'Back to Today', + clearSelections: 'Clear All', + delete: 'Delete', + selected: 'Selected,Days' + } + }, + datagrid: { + lineNumberTitle: 'NO.', + emptyMessage: 'Empty Data', + pagination: { + previousLabel: 'Prev Page', + nextLabel: 'Next Page', + message: 'Total {1} items ', + pagelist: { + firstText: 'Display', + lastText: 'items' + } + }, + filter: { + title: 'Conditions', + reset: 'Reset', + clear: 'Clear', + clearAll: 'Clear all conditions', + setting: 'Settings', + nofilter: '[ Empty ]', + checkAll: 'Check All', + and: 'And', + or: 'Or', + operators: { + equal: 'equal', + notEqual: 'not equal', + greater: 'greater than', + greaterOrEqual: 'greater than or equal', + less: 'less than', + lessOrEqual: 'less than or equal', + contains: 'contains', + notContains: 'not contains', + like: 'contains', + notLike: 'not contains', + in: 'in', + notIn: 'not in', + empty: 'empty', + notEmpty: 'not empty', + null: 'null', + notNull: 'not null' + }, + more: 'More', + ok: 'ok', + cancel: 'cancel', + sevenDays: 'Seven Days', + oneMonth: 'One Month', + threeMonths: 'Three Months', + sixMonths: 'Six Months' + }, + settings: { + visible: 'Visible', + sortting: 'Sortting', + title: 'Column Settings', + canchoose: 'Can choose', + choosed: 'Choosed', + asc: 'ASC', + desc: 'DESC', + cancelSort: 'Cancel sortting', + ok: 'OK', + cancel: 'Cancel', + reset: 'Reset', + conciseMode: 'Concise', + advancedMode: 'Advanced', + formatSetting: 'Column format', + properties: 'Column properties', + groupping: 'Groupping', + allColumns: 'All', + visibleColumns: 'Visible', + hiddenColumns: 'Hidden', + searchPlaceholder: 'Please enter a column name', + checkall: 'Show or hide all', + headeralign: 'Header alignment', + dataalign: 'Data alignment', + alignLeft: 'Left', + alignCenter: 'Center', + alignRight: 'Right', + summarytype: 'Summary type', + summarytext: 'Summary text', + summaryNone: 'None', + summarySum: 'Sum', + summaryMax: 'Max', + summaryMin: 'Min', + summarCount: 'Count', + summaryAverage: 'Average', + grouppingField: 'Groupping field', + moreGrouppingFieldWarningMessage: 'Up to 3 fields are set for grouping', + grouppingSummary: 'Group total', + addGrouppingFieldTip: 'Add groupping field', + removeGrouppingFieldTip: 'Remove groupping field', + grouppingSummaryType: 'Group total type', + grouppingSummaryText: 'Group total text', + restoreDefaultSettingsText: 'Are you sure you want to restore the default settings', + simple: { + title: 'Show Columns', + tip: 'The selected fields can be displayed in the list. Drag to adjust the display order in the list.', + count: 'show {0} columns' + } + }, + selectionData: { + clearAll: 'Clear all', + tooltip: 'Click here show list.', + currentLenth: `{0} items selected. ` + }, + groupRow: { + tips: 'Drag columns here to group data.', + removeColumn: 'Remove the group column.', + clearTip: 'Clear all grouped fields.', + clear: 'Empty' + }, + summary: { + title: 'current page summary' + }, + loadingMessage: 'loading', + commandColumn: { + title: 'operate' + } + }, + filterEditor: { + // 取消 + cancelButton: 'Cancel', + // 确定 + okButton: 'OK', + // 添加子句 + addWhere: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + // 左括号 + leftBrackets: 'Left Brackets', + // 字段 + field: 'Field Name', + // 操作符 + operator: 'Operator', + // 值 + value: 'Value', + + valueType: 'Value type', + expressType: { + value: 'Value', + express: 'Express', + frontExpress: 'Front Express' + }, + // 右括号 + rightBrackets: 'Right Brackets', + // 关系 + relation: 'Relation', + relationValue: { + and: 'And', + or: 'Or' + }, + + // 设计器 + designTab: 'Design', + // 源代码 + jsonTab: 'JSON', + // Sql预览 + sqlTab: 'Sql', + title: 'Filter Designer', + message: 'Are you sure you want to clear all current data?', + validate: { + bracket: 'The brackets do not match, please check', + relation: 'The condition relationship is incomplete, please check', + field: 'Condition field is not set, please check' + } + }, + enumEditor: { + // 取消 + cancelButton: 'Cancel', + // 确定 + okButton: 'OK', + // 添加子句 + addWhere: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + title: 'Enum Data Designer', + message: 'Are you sure you want to clear all current data?', + + value: 'Value', + name: 'Name' + }, + lookup: { + placeholder: 'Please select', + favorites: 'Favorites', + selected: 'Selected Items', + okText: 'OK', + cancelText: 'Cancel', + allColumns: 'All Columns', + datalist: 'Data Items', + mustWriteSomething: 'Please enter a keyword to search.', + mustChoosAdatarow: 'Please select a record!', + tipText: 'Are these what you are looking for?', + cascade: { + enable: 'Bidirectional Cascading', + disable: 'Disable Cascading', + up: 'Upward Cascading', + down: 'Downward Cascading' + }, + includechildren: 'Include Children', + favoriteInfo: { + addFav: 'Collection Success.', + cancelFav: 'Unfavorite Successfully. ', + addFavTitle: 'Add to Favorite', + cancelFavTitle: 'Cancel Favorite' + }, + getAllChilds: 'Get All Children', + contextMenu: { + checkChildNodes: 'Check Subordinate Nodes', + uncheckChildNodes: 'Uncheck Subordinate Nodes', + expandall: 'Expand All', + collapseall: 'Collapse All', + expandByLayer: 'Expand by Level', + expand1: 'Expand to Level 1', + expand2: 'Expand to Level 2', + expand3: 'Expand to Level 3', + expand4: 'Expand to Level 4', + expand5: 'Expand to Level 5', + expand6: 'Expand to Level 6', + expand7: 'Expand to Level 7', + expand8: 'Expand to Level 8', + expand9: 'Expand to Level 9' + }, + quick: { + notfind: 'Search Content Not Found.', + more: 'Show More' + }, + configError: 'The help display column is not configured. Please check whether the help data source is configured correctly.', + selectedInfo: { + total: 'Selected Items {0}', + clear: 'Cancel Selected', + remove: 'Delete ({0})', + confirm: 'Are you sure you want to cancel all selected records?' + }, + clearAllConditions: 'Clear All Conditions', + anyFields: 'All' + }, + loading: { + message: 'Loading ...' + }, + modal: {}, + messager: { + yes: 'Yes', + no: 'No', + ok: 'OK', + cancel: 'Cancel', + title: 'System Information', + errorTitle: 'Error Information', + prompt: { + fontSize: { + name: 'Font Size', + small: 'Small', + middle: 'Middle', + big: 'Large', + large: 'Extra Large', + huge: 'Huge' + }, + tips: { + surplus: 'You can also input {0} characters', + length: '{0} characters have been entered' + } + }, + exception: { + expand: 'Expand', + collapse: 'Collapse', + happend: 'Happened Time', + detail: 'Detail', + copy: 'Copy Details', + copySuccess: 'Copy Succeeded!', + copyFailed: 'Replication Failed!', + roger: 'Got It.', + } + }, + notify: { + title: 'System Information' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: 'Please enter the number', + range: { + begin: 'Please enter the begin number', + end: 'Please enter the end number' + } + }, + inputGroup: {}, + treetable: { + emptyMessage: 'Empty Data', + pagination: { + previousLabel: 'Prev Page', + nextLabel: 'Next Page', + message: '{0} items per page, total {1} items.' + } + }, + multiSelect: { + leftTitle: 'Unselected', + rightTitle: 'Selected', + noDataMoveMessage: 'Please select the data to move.', + shiftRight: 'Shift right', + shiftLeft: 'Shift left', + allShiftRight: 'Shift right all', + allShiftLeft: 'Shift left all', + top: 'Placed at the top', + bottom: 'Placed at the bottom', + shiftUp: 'Shift up', + shiftDown: 'Shift down', + emptyData: 'Empty data', + filterPlaceholder: 'Filter...' + }, + sortEditor: { + // 取消 + cancel: 'cancel', + // 确定 + ok: 'ok', + // 添加子句 + add: 'Add', + clear: 'Clear', + // 置顶 + moveTop: 'Top', + // 上移 + moveUp: 'Up', + // 下移 + moveDown: 'Down', + // 置底 + moveBottom: 'Bottom', + + // 字段 + field: 'Field Name', + // 操作符 + order: 'Order', + + asc: 'ASC', + desc: 'DESC', + title: 'Sort Editor' + }, + tabs: { + more: 'more', + }, + timePicker: { + placeholder: 'Please select a time', + time: { + hour: 'Hour', minute: 'Minute', seconds: 'Second' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: 'Empty Data' + }, + text: { + yes: 'yes', + no: 'no', + zoom: 'Edit content in the dialog opened.', + comments: { + title: 'Common comments', + manager: 'Management', + empty: 'No data.' + } + }, + switch: {}, + sidebar: { + sidebar: 'Detail', + }, + section: { + expandLabel: 'expand', + collapseLabel: 'collapse' + }, + pagination: { + message: 'Total {1} items ', + totalInfo: { + firstText: 'total', + lastText: 'items' + }, + pageList: { + firstText: 'display', + lastText: 'items' + }, + previous: 'previous', + next: 'next', + goto: { + prefix: 'go to', + suffix: '' + }, + show: 'show' + }, + responseToolbar: { + more: 'More', + }, + queryCondition: { + configDialog: { + unSelectedOptions: 'Unselected Options', + selectedOptions: 'Selected Options', + confirm: 'Confirm', + cancel: 'Cancel', + placeholder: 'Please input search keywords', + moveUp: 'Move Up', + moveAllUp: 'Move All Up', + moveDown: 'Move Down', + moveAllDown: 'Move All Down', + moveRight: 'Move Right', + moveAllRight: 'Move All Right', + moveLeft: 'Move Left', + moveAllLeft: 'Move All Left', + pleaseSelect: 'Please select options', + noOptionMove: 'No moveable options left', + selectOptionUp: 'Please select options to move up', + cannotMoveUp: 'Can\'t move up', + selectOptionTop: 'Please select options to the top', + optionIsTop: 'The option is at top', + selectOptionDown: 'Please select options to move down', + cannotMoveDown: 'Can\'t move down', + selectOptionBottom: 'Please select options to the bottom', + optionIsBottom: 'The option is at bottom' + }, + container: { + query: 'Filter', + saveAs: 'Save as', + save: 'Save', + config: 'Configurations' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: 'Solution Name', + setAsDefault: 'Set as Default', + confirm: 'Confirm', + cancel: 'Cancel', + caption: 'Add New Solution', + personal: 'Personal Solution', + system: 'System Public Solution', + nameNotify: 'Please enter solution name', + authNotify: 'You do not have permission to modify public solutions.', + success: 'Query solution saved successfully.', + maxLength: 'Solution name cannot exceed 100 characters, please modify' + }, + manageDialog: { + caption: 'Solution Management', + default: 'Default', + system: 'System Public', + saveAs: 'Save As', + save: 'Save', + manage: 'Manage', + isDefault: 'Default Solution', + code: 'Name', + type: 'Type', + private: 'Personal Solution', + public: 'System Public Solution', + org: 'Organization Public Solution', + remove: 'Delete' + }, + configDialog: { + caption: 'Filter Configuration' + }, + container: { + filter: 'Filter', + default: 'Default Filter Solution', + clear: 'Clear', + require: 'Please fill in {fields} before filtering' + } + }, + collapseDirective: { + expand: 'expand', + fold: 'fold' + }, + avatar: { + imgtitle: 'Amend', + typeError: 'Type error', + sizeError: 'Can not be larger than', + uploadError: 'Upload Fail!', + loadError: 'Load error.', + loading: 'Loading' + }, + listFilter: { + filter: 'Filter', + confirm: 'OK', + cancel: 'Cancel', + reset: 'Reset' + }, + progressStep: { + empty: 'Data is empty' + }, + languageLabel: { + en: 'English', + "zh-cn": 'Simplified Chinese', + "zh-CHS": 'Simplified Chinese', + "zh-CHT": 'Traditional Chiness', + ok: 'OK', + cancel: 'Cancel' + }, + verifyDetail: { + vertifyTypeAll: 'All', + vertifyTypeError: 'Error', + vertifyTypeEmpty: 'Empty' + }, + batchEditDialog: { + title: 'Batch Edit', + appendText: 'Append new field', + appendTextTip: 'Append more field to edit', + okText: 'OK', + cancelText: 'Cancel', + field: 'Please select field', + fieldValue: 'Please input value', + appendTips: 'append more columns to edit.', + selected: 'select', + row: 'row', + confirmTitle: 'Info', + neverShow: 'Do not remind again', + confirmText: 'We will update {0} rows,Are you sure?' + }, + pageWalker: { + next: 'Next', + prev: 'Prev', + skip: 'Skip', + startNow: 'Start now' + }, + footer: { + expandText: 'More Information', + collapseText: 'More Information' + }, + discussionGroup: { + submit: 'Submit', + cancel: 'Cancel', + colleague: 'Colleague', + all: 'For all to see', + related: 'Relevant personnel can see', + confirm: 'Confirm', + reply: 'Reply', + emptyMessage: 'Empty Data', + placeholder: 'Please input search keywords', + notEmpty: 'The submitted content cannot be empty', + selectEmployee: 'Select the employee', + next: 'Next', + emptySelected: 'Clear', + emptyRight: 'Select on the left', + allOrg: 'All', + selected: 'Selected', + section: 'Section ', + people: 'Per ', + viewMore: 'View more', + per: ' ', + pcs: ' ', + emptyList: 'Empty contacts', + advancedQuery: 'Select' + }, + tag: { + addText: 'Add', + placeholder: 'Please input' + }, + filterPanel: { + filter: 'Filter', + confirm: 'OK', + cancel: 'Cancel', + reset: 'Reset', + advancedFilter: 'advancedFilter', + expand: 'Expand', + fold: 'Fold', + last1Month: 'LastOneMonth', + last3Month: 'LastThreeMonth', + last6Month: 'LastSixMonth', + pleaseInput: 'Please input ', + searchHistory: 'Search History', + searchResult: 'Search Result', + intervalFilter: 'Filter by interval', + beginPlaceHolder: 'Minimum value', + endPlaceHolder: 'Maximum value', + dateBeginPlaceHolder: 'Start date', + dateEndPlaceHolder: 'End date', + empty: 'Empty', + clear: 'Clear', + today: 'Today', + yesterday: 'Yesterday', + checkall: 'Check all' + }, + scrollspy: { + guide: 'Nav' + }, + lookupConfig: { + placeholder: 'Select the form metadata', + code: 'Code', + name: 'Name', + select: 'Select the help metadata', + filter: 'Configuration conditions', + helpidEmpty: 'HelpID cannot be empty', + selectTitle: 'Helps with metadata selection', + lookupTitle: 'Help configuration', + sure: 'Confirm', + cancel: 'Cancel', + successSave: 'Save successfully', + helpIdError: 'Please select the help metadata', + fileNamePlaceholder: 'Select the help text field', + selectFileNameTitle: 'Text field selector', + bindingPath: 'Binding field', + fieldError: 'The bound field does not exist!', + textFieldLable: 'Select the textField', + loadTypeTitle: 'Select the loadType', + loadTypeList: { + all: 'All load', + layer: 'Layer load', + default: 'Default load' + }, + powerTitle: 'Permission setting', + powerObjLabel: 'Permission objects', + powerFieldLabel: 'Permission field', + powerOperateLabel: 'Permission operate', + linkfieldLabel: 'Help associated field', + powerDataTitle: 'Permission object selection', + powerFieldTitle: 'Permission field selection', + powerOperateTitle: 'Operation selection', + businessLable: 'Business object ', + powerLable: 'Permission objects', + powerError: 'Select the permission objects', + operateError: 'Select the Operation', + linkfieldError: 'Select permission field' + }, + condition: { + add: 'Add condition', + create: 'Create condition group', + reset: 'Reset', + and: 'And', + or: 'Or' + }, + operators: { + equal: 'Equal', + notEqual: 'Not equal', + greater: 'Greater than', + greaterOrEqual: 'Greater than or equal', + less: 'Less than', + lessOrEqual: 'Less than or equal', + contains: 'Contains', + notContains: 'Does not contain', + like: 'Contains', + notLike: 'Does not contain', + in: 'In', + notIn: 'Not in', + empty: 'Is empty', + notEmpty: 'Is not empty', + null: 'Null', + notNull: 'Not null', + startWith: 'Starts with', + endWith: 'Ends with', + and: 'And', + or: 'Or' + }, + drawer: { + cancel: 'Cancel', + confirm: 'Confirm' + }, + eventParameter: { + title: 'parameter editor', + ok: 'confirm', + cancel: 'cancel', + workFlowClass: { + title: 'Please select a process category' + }, + generalEditor: { + field: 'field', + tabVar: 'variable', + form: 'form components' + }, + jsonEditor: { + dialogTitle: 'Configurable parameter editor', + keyColumnTitle: 'parameter', + valueColumnTitle: 'parameter value', + addButtonText: 'Add configuration parameters', + keyColumnPlaceholder: 'Please enter the parameters', + error: 'Expected array of parameter schema for JsonEditor, but received invalid JSON' + }, + comboTree: { + placeholder: 'Please select' + } + } + } +}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/avatar.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/avatar.ts deleted file mode 100644 index 155f68526ee55868dafd1ebb9dbae4547b42e8d9..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/avatar.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const AVATAR_LOCALE = { - imgtitle: 'Amend', - typeError: 'Type error', - sizeError: 'Can not be larger than', - uploadError: 'Upload Fail!', - loadError: 'Load error.', - loading:'Loading' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/batch-edit-dialog.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/batch-edit-dialog.ts deleted file mode 100644 index 8de247cd5e7ed9f38404c9981d90f7aa8f08fb87..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/batch-edit-dialog.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const BATCH_EDIT_DIALOG_LOCALE = { - title: 'Batch Edit', - appendText: 'Append new field', - appendTextTip: 'Append more field to edit', - okText: 'OK', - cancelText: 'Cancel', - field: 'Please select field', - fieldValue: 'Please input value', - appendTips: 'append more columns to edit.', - selected: 'select', - row: 'row', - confirmTitle: 'Info', - neverShow: 'Do not remind again', - confirmText: 'We will update {0} rows,Are you sure?' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/collapse.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/collapse.ts deleted file mode 100644 index 0f327701d0509313c7420e7da7298bb4c32a15c7..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/collapse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COLLAPSE_DIRECTIVE_LOCALE = { - expand: 'expand', - fold: 'fold' -} \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/combo.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/combo.ts deleted file mode 100644 index c2455f7fa2bd684b9402030504ac4182b33d419e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/combo.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COMBO_LOCALE = { - placeholder: 'Please Select', - emptyMsg: 'Empty Data', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/condition.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/condition.ts deleted file mode 100644 index f8adb49196a4b5d9258d3a42965df7715caa4dec..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/condition.ts +++ /dev/null @@ -1,30 +0,0 @@ -export const OPERATORS_LOCALE = { - equal: 'Equal', - notEqual: 'Not equal', - greater: 'Greater than', - greaterOrEqual: 'Greater than or equal', - less: 'Less than', - lessOrEqual: 'Less than or equal', - contains: 'Contains', - notContains: 'Does not contain', - like: 'Contains', - notLike: 'Does not contain', - in: 'In', - notIn: 'Not in', - empty: 'Is empty', - notEmpty: 'Is not empty', - null: 'Null', - notNull: 'Not null', - startWith: 'Starts with', - endWith: 'Ends with', - and: 'And', - or: 'Or' -}; - -export const CONDITION_LOCALE = { - add: 'Add condition', - create: 'Create condition group', - reset: 'Reset', - and: 'And', - or: 'Or' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/datagrid.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/datagrid.ts deleted file mode 100644 index 7311a46a408cae0b3c7dffa2c8f589e46868d498..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/datagrid.ts +++ /dev/null @@ -1,104 +0,0 @@ -export const DATAGRID_LOCALE = { - lineNumberTitle: 'NO.', - emptyMessage: 'Empty Data', - pagination: { - previousLabel: 'Prev Page', - nextLabel: 'Next Page', - message: 'Total {1} items ', - pagelist: { - firstText: 'Display', - lastText: 'items' - } - }, - filter: { - title: 'Conditions', - reset: 'Reset', - clear: 'Clear', - clearAll: 'Clear all conditions', - setting: 'Settings', - nofilter: '[ Empty ]', - checkAll: 'Check All', - and: 'And', - or: 'Or', - operators: { - equal: 'equal', - notEqual: 'not equal', - greater: 'greater than', - greaterOrEqual: 'greater than or equal', - less: 'less than', - lessOrEqual: 'less than or equal', - contains: 'contains', - notContains: 'not contains', - like: 'contains', - notLike: 'not contains', - in: 'in', - notIn: 'not in', - empty: 'empty', - notEmpty: 'not empty', - null: 'null', - notNull: 'not null' - }, - more: 'More' - }, - settings: { - visible: 'Visible', - sortting: 'Sortting', - title: 'Column Settings', - canchoose: 'Can choose', - choosed: 'Choosed', - asc: 'ASC', - desc: 'DESC', - cancelSort: 'Cancel sortting', - ok: 'OK', - cancel: 'Cancel', - reset: 'Reset', - conciseMode: 'Concise', - advancedMode: 'Advanced', - formatSetting: 'Column format', - properties: 'Column properties', - groupping: 'Groupping', - allColumns: 'All', - visibleColumns: 'Visible', - hiddenColumns: 'Hidden', - searchPlaceholder: 'Please enter a column name', - checkall: 'Show or hide all', - headeralign: 'Header alignment', - dataalign: 'Data alignment', - alignLeft: 'Left', - alignCenter: 'Center', - alignRight: 'Right', - summarytype: 'Summary type', - summarytext: 'Summary text', - summaryNone: 'None', - summarySum: 'Sum', - summaryMax: 'Max', - summaryMin: 'Min', - summarCount: 'Count', - summaryAverage: 'Average', - grouppingField: 'Groupping field', - moreGrouppingFieldWarningMessage: 'Up to 3 fields are set for grouping', - grouppingSummary: 'Group total', - addGrouppingFieldTip: 'Add groupping field', - removeGrouppingFieldTip: 'Remove groupping field', - grouppingSummaryType: 'Group total type', - grouppingSummaryText: 'Group total text', - restoreDefaultSettingsText: 'Are you sure you want to restore the default settings', - simple: { - title: 'Show Columns', - tip: 'The selected fields can be displayed in the list. Drag to adjust the display order in the list.', - count: 'show {0} columns' - } - }, - selectionData: { - clearAll: 'Clear all', - tooltip: 'Click here show list.', - currentLenth: `{0} items selected. ` - }, - groupRow: { - tips: 'Drag columns here to group data.', - removeColumn: 'Remove the group column.', - clearTip: 'Clear all grouped fields.', - clear: 'Empty' - } - -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/date-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/date-picker.ts deleted file mode 100644 index c08282327dc800df9c93e585bccf9a62368be5e2..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/date-picker.ts +++ /dev/null @@ -1,48 +0,0 @@ - -export const DATEPICKER_LOCALE = { - dayLabels: { Sun: 'Sun', Mon: 'Mon', Tue: 'Tue', Wed: 'Wed', Thu: 'Thu', Fri: 'Fri', Sat: 'Sat' }, - monthLabels: { - 1: 'Jan', - 2: 'Feb', - 3: 'Mar', - 4: 'Apr', - 5: 'May', - 6: 'Jun', - 7: 'Jul', - 8: 'Aug', - 9: 'Sep', - 10: 'Oct', - 11: 'Nov', - 12: 'Dec' - }, - dateFormat: 'MM/dd/yyyy', - returnFormat: 'MM/dd/yyyy', - firstDayOfWeek: 'mo', - sunHighlight: false, - yearTxt: '', - timeBtnText: 'Select Time', - dateBtnText: 'Select Date', - commitBtnText: 'OK', - weekText: 'Week', - placeholder: 'Please select a date', - range: { - begin: 'Please select a begin date', - end: 'Please select an end date' - }, - message: { - 101: 'The end time must not be earlier than the start time.', - 102: 'Only ${0} dates are allowed to be selected.' - }, - current: { - today: 'Today', - week: 'Current Week', - month: 'Current Month', - year: 'Current Year' - }, - multiDatesLocale: { - backtotoday: 'Back to Today', - clearSelections: 'Clear All', - delete: 'Delete', - selected: 'Selected,Days' - } -} \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/discussion-group.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/discussion-group.ts deleted file mode 100644 index be2a5cc7f446e710b066bf4e01070cd4b0c42eef..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/discussion-group.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const DISCUSSION_GROUP_LOCALE = { - submit: 'Submit', - cancel: 'Cancel', - colleague: 'Colleague', - all: 'For all to see', - related: 'Relevant personnel can see', - confirm: 'Confirm', - reply: 'Reply', - emptyMessage:'Empty Data', - placeholder: 'Please input search keywords', - notEmpty:'The submitted content cannot be empty', - selectEmployee:'Select the employee', - next: 'Next', - emptySelected:'Clear', - emptyRight:'Select on the left', - allOrg:'All', - selected:'Selected', - section:'Section ', - people:'Per ', - viewMore:'View more', - per:' ', - pcs:' ', - emptyList:'Empty contacts', - advancedQuery:'Select' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/drawer.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/drawer.ts deleted file mode 100644 index f638f5ff62e2cbff35c9340192cf11ecc84b34e8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/drawer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const DRAWER_LOCALE = { - cancel: 'Cancel', - confirm: 'Confirm' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-editor.ts deleted file mode 100644 index 66486232dbbe4126228a74cb13339b3cbab74914..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-editor.ts +++ /dev/null @@ -1,78 +0,0 @@ -export const FILTER_EDITOR_LOCALE = { - // 取消 - cancelButton: 'Cancel', - // 确定 - okButton: 'OK', - // 添加子句 - addWhere: 'Add', - clear: 'Clear', - // 置顶 - moveTop: 'Top', - // 上移 - moveUp: 'Up', - // 下移 - moveDown: 'Down', - // 置底 - moveBottom: 'Bottom', - // 左括号 - leftBrackets: 'Left Brackets', - // 字段 - field: 'Field Name', - // 操作符 - operator: 'Operator', - // 值 - value: 'Value', - - valueType: 'Value type', - expressType: { - value: 'Value', - express: 'Express', - frontExpress: 'Front Express' - }, - // 右括号 - rightBrackets: 'Right Brackets', - // 关系 - relation: 'Relation', - relationValue: { - and: 'And', - or: 'Or' - }, - - // 设计器 - designTab: 'Design', - // 源代码 - jsonTab: 'JSON', - // Sql预览 - sqlTab: 'Sql', - title: 'Filter Designer', - message: 'Are you sure you want to clear all current data?', - validate: { - bracket: 'The brackets do not match, please check', - relation: 'The condition relationship is incomplete, please check', - field: 'Condition field is not set, please check' - } -}; - - -export const ENUM_EDITOR_LOCALE = { - // 取消 - cancelButton: 'Cancel', - // 确定 - okButton: 'OK', - // 添加子句 - addWhere: 'Add', - clear: 'Clear', - // 置顶 - moveTop: 'Top', - // 上移 - moveUp: 'Up', - // 下移 - moveDown: 'Down', - // 置底 - moveBottom: 'Bottom', - title: 'Enum Data Designer', - message: 'Are you sure you want to clear all current data?', - - value: 'Value', - name: 'Name' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-panel.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-panel.ts deleted file mode 100644 index 353318a9e330e63fa3d2b268f4f93babcf7f2407..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/filter-panel.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const FILTER_PANEL_LOCALE = { - filter: 'Filter', - confirm: 'OK', - cancel: 'Cancel', - reset: 'Reset', - advancedFilter: 'advancedFilter', - expand: 'Expand', - fold: 'Fold', - last1Month: 'LastOneMonth', - last3Month: 'LastThreeMonth', - last6Month: 'LastSixMonth', - pleaseInput: 'Please input ', - searchHistory: 'Search History', - searchResult: 'Search Result', - intervalFilter: 'Filter by interval', - beginPlaceHolder: 'Minimum value', - endPlaceHolder: 'Maximum value', - dateBeginPlaceHolder: 'Start date', - dateEndPlaceHolder: 'End date', - empty: 'Empty', - clear: 'Clear', - today:'Today', - yesterday: 'Yesterday', - checkall: 'Check all' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/footer.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/footer.ts deleted file mode 100644 index 4ca6ecb7a6e09cee249e3c43f96adc9b8d287d5f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/footer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const FOOTER_LOCALE = { - expandText: 'More Information', - collapseText: 'More Information' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/index.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/index.ts deleted file mode 100644 index 1bef193d0d3a4a8d65cac4e91375de8c907c7d41..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/index.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { LISTVIEW_LOCALE } from './list-view'; -import { COMBO_LOCALE } from './combo'; -import { QUERY_SOLUTION_LOCALE } from './query-solution'; -import { QUERY_CONDITION_LOCALE } from './query-condition'; -import { RESPONSE_TOOLBAR_LOCALE } from './response-toolbar'; -import { PAGINATION_LOCALE } from './pagination'; -import { MESSAGER_LOCALE } from './messager'; -import { DATAGRID_LOCALE } from './datagrid'; -import { SECTION_LOCALE } from './section'; -import { LOADING_LOCALE } from './loading'; -import { FILTER_EDITOR_LOCALE, ENUM_EDITOR_LOCALE } from './filter-editor'; -import { NOTIFY_LOCALE } from './notify'; -import { SORT_EDITOR_LOCALE } from './sort-editor'; -import { TEXT_LOCALE } from './text'; -import { SIDEBAR_LOCALE } from './sidebar'; -import { TABS_LOCALE } from './tabs'; -import { MULTI_SELECT_LOCALE } from './multi-select'; -import { COLLAPSE_DIRECTIVE_LOCALE } from './collapse'; -import { LOOKUP_LOCALE } from './lookup'; -import { TREETABLE_LOCALE } from './treetable'; -import { AVATAR_LOCALE } from './avatar'; -import { LIST_FILTER_LOCALE } from './list-filter'; -import { PROGRESS_STEP_LOCALE } from './progress-step'; -import { LANGUAGE_LABEL_LOCALE } from './language-label'; -import { VERIFY_DETAIL_LOCALE } from './verify-detail'; -import { BATCH_EDIT_DIALOG_LOCALE } from './batch-edit-dialog'; -import { PAGE_WALKER_LOCALE } from './page-walker'; -import { FOOTER_LOCALE } from './footer'; -import { DISCUSSION_GROUP_LOCALE } from './discussion-group'; -import { TAG_LOCALE } from './tag'; -import { NUMERIC_LOCALE } from './numeric'; -import { FILTER_PANEL_LOCALE } from './filter-panel'; -import { SCROLLSPY_LOCALE } from './scrollspy'; -import { LOOKUP_CONFIG_LOCALE } from './lookup-config'; -import { CONDITION_LOCALE, OPERATORS_LOCALE } from './condition'; -import { DRAWER_LOCALE } from './drawer'; -import { DATEPICKER_LOCALE } from './date-picker'; -import { TIME_PICKER_LOCALES } from './time-picker'; - -export const EN_US = { - locale: 'EN_US', - combo: COMBO_LOCALE, - combolist: {}, - datePicker: DATEPICKER_LOCALE, - datagrid: DATAGRID_LOCALE, - filterEditor: FILTER_EDITOR_LOCALE, - enumEditor: ENUM_EDITOR_LOCALE, - lookup: LOOKUP_LOCALE, - loading: LOADING_LOCALE, - modal: {}, - messager: MESSAGER_LOCALE, - notify: NOTIFY_LOCALE, - dialog: {}, - datatable: {}, - colorPicker: {}, - numberSpinner: NUMERIC_LOCALE, - inputGroup: {}, - treetable: TREETABLE_LOCALE, - multiSelect: MULTI_SELECT_LOCALE, - sortEditor: SORT_EDITOR_LOCALE, - tabs: TABS_LOCALE, - timePicker: TIME_PICKER_LOCALES, - wizard: {}, - tree: {}, - tooltip: {}, - listview: LISTVIEW_LOCALE, - text: TEXT_LOCALE, - switch: {}, - sidebar: SIDEBAR_LOCALE, - section: SECTION_LOCALE, - pagination: PAGINATION_LOCALE, - responseToolbar: RESPONSE_TOOLBAR_LOCALE, - queryCondition: QUERY_CONDITION_LOCALE, - querySolution: QUERY_SOLUTION_LOCALE, - collapseDirective: COLLAPSE_DIRECTIVE_LOCALE, - avatar: AVATAR_LOCALE, - listFilter: LIST_FILTER_LOCALE, - progressStep: PROGRESS_STEP_LOCALE, - languageLabel: LANGUAGE_LABEL_LOCALE, - verifyDetail: VERIFY_DETAIL_LOCALE, - batchEditDialog: BATCH_EDIT_DIALOG_LOCALE, - pageWalker: PAGE_WALKER_LOCALE, - footer: FOOTER_LOCALE, - discussionGroup: DISCUSSION_GROUP_LOCALE, - tag: TAG_LOCALE, - filterPanel: FILTER_PANEL_LOCALE, - scrollspy: SCROLLSPY_LOCALE, - lookupConfig: LOOKUP_CONFIG_LOCALE, - condition:CONDITION_LOCALE, - operators: OPERATORS_LOCALE, - drawer: DRAWER_LOCALE -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/language-label.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/language-label.ts deleted file mode 100644 index 7e26ec9c5b54cd8767f547919b783b354b9dbc60..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/language-label.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const LANGUAGE_LABEL_LOCALE = { - en: 'English', - "zh-cn": 'Simplified Chinese', - "zh-CHS": 'Simplified Chinese', - "zh-CHT": 'Traditional Chiness', - ok: 'OK', - cancel: 'Cancel' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/list-filter.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/list-filter.ts deleted file mode 100644 index 48401dd9cead49c29ed75b4ff218f997cce3e32a..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/list-filter.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const LIST_FILTER_LOCALE = { - filter: 'Filter', - confirm: 'OK', - cancel: 'Cancel', - reset: 'Reset' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/list-view.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/list-view.ts deleted file mode 100644 index e851261852dcfda7634332dbb758fb5473aaf46f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/list-view.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LISTVIEW_LOCALE = { - emptyMessage: 'Empty Data' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/loading.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/loading.ts deleted file mode 100644 index b358a3e0c85c4479bb821a124d32ba2a6a6267dc..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/loading.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LOADING_LOCALE = { - message: 'Loading ...' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup-config.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup-config.ts deleted file mode 100644 index 2fff428b4442cc0dcc54cd58e1d5a7348b646614..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup-config.ts +++ /dev/null @@ -1,38 +0,0 @@ -export const LOOKUP_CONFIG_LOCALE = { - placeholder: 'Select the form metadata', - code: 'Code', - name: 'Name', - select: 'Select the help metadata', - filter: 'Configuration conditions', - helpidEmpty: 'HelpID cannot be empty', - selectTitle: 'Helps with metadata selection', - lookupTitle: 'Help configuration', - sure: 'Confirm', - cancel: 'Cancel', - successSave: 'Save successfully', - helpIdError:'Please select the help metadata', - fileNamePlaceholder:'Select the help text field', - selectFileNameTitle:'Text field selector', - bindingPath:'Binding field', - fieldError:'The bound field does not exist!', - textFieldLable:'Select the textField', - loadTypeTitle: 'Select the loadType', - loadTypeList: { - all:'All load', - layer:'Layer load', - default: 'Default load' - }, - powerTitle:'Permission setting', - powerObjLabel:'Permission objects', - powerFieldLabel:'Permission field', - powerOperateLabel:'Permission operate', - linkfieldLabel:'Help associated field', - powerDataTitle:'Permission object selection', - powerFieldTitle:'Permission field selection', - powerOperateTitle:'Operation selection', - businessLable:'Business object ', - powerLable:'Permission objects', - powerError:'Select the permission objects', - operateError:'Select the Operation', - linkfieldError:'Select permission field' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup.ts deleted file mode 100644 index 3c6b0855b0baf844bfd79b3fae9590245778b9c0..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/lookup.ts +++ /dev/null @@ -1,55 +0,0 @@ -export const LOOKUP_LOCALE = { - placeholder: 'Please select', - favorites: 'Favorites', - selected: 'Selected Items', - okText: 'OK', - cancelText: 'Cancel', - allColumns: 'All Columns', - datalist: 'Data Items', - mustWriteSomething: 'Please enter a keyword to search.', - mustChoosAdatarow: 'Please select a record!', - tipText: 'Are these what you are looking for?', - cascade: { - enable: 'Bidirectional Cascading', - disable: 'Disable Cascading', - up: 'Upward Cascading', - down: 'Downward Cascading' - }, - includechildren: 'Include Children', - favoriteInfo: { - addFav: 'Collection Success.', - cancelFav: 'Unfavorite Successfully. ', - addFavTitle: 'Add to Favorite', - cancelFavTitle: 'Cancel Favorite' - }, - getAllChilds: 'Get All Children', - contextMenu: { - checkChildNodes: 'Check Subordinate Nodes', - uncheckChildNodes: 'Uncheck Subordinate Nodes', - expandall: 'Expand All', - collapseall: 'Collapse All', - expandByLayer: 'Expand by Level', - expand1: 'Expand to Level 1', - expand2: 'Expand to Level 2', - expand3: 'Expand to Level 3', - expand4: 'Expand to Level 4', - expand5: 'Expand to Level 5', - expand6: 'Expand to Level 6', - expand7: 'Expand to Level 7', - expand8: 'Expand to Level 8', - expand9: 'Expand to Level 9' - }, - quick: { - notfind: 'Search Content Not Found.', - more: 'Show More' - }, - configError: 'The help display column is not configured. Please check whether the help data source is configured correctly.', - selectedInfo: { - total: 'Selected Items {0}', - clear: 'Cancel Selected', - remove: 'Delete ({0})', - confirm: 'Are you sure you want to cancel all selected records?' - }, - clearAllConditions: 'Clear All Conditions', - anyFields: 'All' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/messager.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/messager.ts deleted file mode 100644 index e3b8c696a220bd8fe4ee1b00d32d14d7e06693ff..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/messager.ts +++ /dev/null @@ -1,32 +0,0 @@ -export const MESSAGER_LOCALE = { - yes: 'Yes', - no: 'No', - ok: 'OK', - cancel: 'Cancel', - title: 'System Information', - errorTitle: 'Error Information', - prompt: { - fontSize: { - name: 'Font Size', - small: 'Small', - middle: 'Middle', - big: 'Large', - large: 'Extra Large', - huge: 'Huge' - }, - tips: { - surplus: 'You can also input {0} characters', - length: '{0} characters have been entered' - } - }, - exception: { - expand: 'Expand', - collapse: 'Collapse', - happend: 'Happened Time', - detail: 'Detail', - copy: 'Copy Details', - copySuccess: 'Copy Succeeded!', - copyFailed: 'Replication Failed!', - roger: 'Got It.', - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/multi-select.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/multi-select.ts deleted file mode 100644 index 7c09a289502cbac5fc4cec04fb16b834a794f77a..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/multi-select.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const MULTI_SELECT_LOCALE = { - leftTitle: 'Unselected', - rightTitle: 'Selected', - noDataMoveMessage: 'Please select the data to move.', - shiftRight: 'Shift right', - shiftLeft: 'Shift left', - allShiftRight: 'Shift right all', - allShiftLeft: 'Shift left all', - top: 'Placed at the top', - bottom: 'Placed at the bottom', - shiftUp: 'Shift up', - shiftDown: 'Shift down', - emptyData: 'Empty data', - filterPlaceholder: 'Filter...' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/notify.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/notify.ts deleted file mode 100644 index a7fee07b1ae53b6c226c24f1b6a523f29566c3c5..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/notify.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const NOTIFY_LOCALE = { - title: 'System Information' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/numeric.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/numeric.ts deleted file mode 100644 index f0da3491799dcc8e7b17f7e6ae6489c1459ef255..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/numeric.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const NUMERIC_LOCALE = { - placeholder: 'Please enter the number', - range: { - begin: 'Please enter the begin number', - end: 'Please enter the end number' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/page-walker.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/page-walker.ts deleted file mode 100644 index 30b4769ee854b316512780c7128cb62140ca2b84..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/page-walker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const PAGE_WALKER_LOCALE = { - next: 'Next', - prev: 'Prev', - skip: 'Skip', - startNow:'Start now' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/pagination.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/pagination.ts deleted file mode 100644 index a6c37bf5aa10119c0c81850d0cac62e730b4c3a5..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/pagination.ts +++ /dev/null @@ -1,17 +0,0 @@ -export const PAGINATION_LOCALE = { - message: 'Total {1} items ', - totalinfo: { - firstText: 'Total', - lastText: 'items' - }, - pagelist: { - firstText: 'Display', - lastText: 'items' - }, - previous: 'Previous', - next: 'next', - goto: { - prefix: 'go to', - suffix: '' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/progress-step.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/progress-step.ts deleted file mode 100644 index 59e62a62f7ecd9661870e04f1ee35c2ba6bc79da..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/progress-step.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const PROGRESS_STEP_LOCALE = { - empty: 'Data is empty' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/public-api.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/public-api.ts deleted file mode 100644 index d8f7b861b42001dd056bff6b59dee0f7bacf00fb..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/public-api.ts +++ /dev/null @@ -1,23 +0,0 @@ -export * from './collapse'; -export * from './datagrid'; -export * from './filter-editor'; -export * from './loading'; -export * from './lookup'; -export * from './messager'; -export * from './multi-select'; -export * from './notify'; -export * from './pagination'; -export * from './query-condition'; -export * from './query-solution'; -export * from './response-toolbar'; -export * from './section'; -export * from './sidebar'; -export * from './sort-editor'; -export * from './tabs'; -export * from './text'; -export * from './treetable'; -export * from './avatar'; -export * from './list-filter'; -export * from './progress-step'; -export * from './language-label'; -export * from './verify-detail'; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/query-condition.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/query-condition.ts deleted file mode 100644 index 4c59bee3ce979e8cfd7d9330788a921a3bc0bce6..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/query-condition.ts +++ /dev/null @@ -1,33 +0,0 @@ -export const QUERY_CONDITION_LOCALE = { - configDialog: { - unSelectedOptions: 'Unselected Options', - selectedOptions: 'Selected Options', - confirm: 'Confirm', - cancel: 'Cancel', - placeholder: 'Please input search keywords', - moveUp: 'Move Up', - moveAllUp: 'Move All Up', - moveDown: 'Move Down', - moveAllDown: 'Move All Down', - moveRight: 'Move Right', - moveAllRight: 'Move All Right', - moveLeft: 'Move Left', - moveAllLeft: 'Move All Left', - pleaseSelect: 'Please select options', - noOptionMove: 'No moveable options left', - selectOptionUp: 'Please select options to move up', - cannotMoveUp: 'Can\'t move up', - selectOptionTop: 'Please select options to the top', - optionIsTop: 'The option is at top', - selectOptionDown: 'Please select options to move down', - cannotMoveDown: 'Can\'t move down', - selectOptionBottom: 'Please select options to the bottom', - optionIsBottom: 'The option is at bottom' - }, - container: { - query: 'Filter', - saveAs: 'Save as', - save: 'Save', - config: 'Configurations' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/query-solution.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/query-solution.ts deleted file mode 100644 index 900671d0a49b55f976e1402f55fa97522eff1a1f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/query-solution.ts +++ /dev/null @@ -1,39 +0,0 @@ -export const QUERY_SOLUTION_LOCALE = { - saveAsDialog: { - queryPlanName: 'Solution Name', - setAsDefault: 'Set as Default', - confirm: 'Confirm', - cancel: 'Cancel', - caption: 'Add New Solution', - personal: 'Personal Solution', - system: 'System Public Solution', - nameNotify: 'Please enter solution name', - authNotify: 'You do not have permission to modify public solutions.', - success: 'Query solution saved successfully.', - maxLength: 'Solution name cannot exceed 100 characters, please modify' - }, - manageDialog: { - caption: 'Solution Management', - default: 'Default', - system: 'System Public', - saveAs: 'Save As', - save: 'Save', - manage: 'Manage', - isDefault: 'Default Solution', - code: 'Name', - type: 'Type', - private: 'Personal Solution', - public: 'System Public Solution', - org: 'Organization Public Solution', - remove: 'Delete' - }, - configDialog: { - caption: 'Filter Configuration' - }, - container: { - filter: 'Filter', - default: 'Default Filter Solution', - clear: 'Clear', - require: 'Please fill in {fields} before filtering' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/response-toolbar.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/response-toolbar.ts deleted file mode 100644 index 5d0c6b4609c6ada44c3c7a873ec2cf5de520500e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/response-toolbar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const RESPONSE_TOOLBAR_LOCALE = { - more: 'More', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/scrollspy.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/scrollspy.ts deleted file mode 100644 index 63aadaa9f65ba667356a67c246fc0c83fec9b6ee..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/scrollspy.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SCROLLSPY_LOCALE = { - guide: 'Nav' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/section.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/section.ts deleted file mode 100644 index 24773e336139b4bdd16550b490bb10e01aa29550..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/section.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const SECTION_LOCALE = { - expandLabel: 'expand', - collapseLabel: 'collapse' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/sidebar.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/sidebar.ts deleted file mode 100644 index 9498dc8e555e22ba9f2db8465aa03db5f0836039..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/sidebar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SIDEBAR_LOCALE = { - sidebar: 'Detail', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/sort-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/sort-editor.ts deleted file mode 100644 index 25ceefd63d0e730eb6448cca8022015afd197dd4..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/sort-editor.ts +++ /dev/null @@ -1,26 +0,0 @@ -export const SORT_EDITOR_LOCALE = { - // 取消 - cancel: 'cancel', - // 确定 - ok: 'ok', - // 添加子句 - add: 'Add', - clear: 'Clear', - // 置顶 - moveTop: 'Top', - // 上移 - moveUp: 'Up', - // 下移 - moveDown: 'Down', - // 置底 - moveBottom: 'Bottom', - - // 字段 - field: 'Field Name', - // 操作符 - order: 'Order', - - asc: 'ASC', - desc: 'DESC', - title: 'Sort Editor' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/tabs.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/tabs.ts deleted file mode 100644 index 738e422a361a2747622794ede2148e8bea49ee6e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/tabs.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const TABS_LOCALE = { - more: 'more', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/tag.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/tag.ts deleted file mode 100644 index cd0343edf0b36f55befa61b2d9ac002711567cf6..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/tag.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const TAG_LOCALE = { - addText: 'Add', - placeholder: 'Please input' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/text.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/text.ts deleted file mode 100644 index 751c8cc4853f975c06fc9ab956ac866fbd91c720..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/text.ts +++ /dev/null @@ -1,10 +0,0 @@ -export const TEXT_LOCALE = { - yes: 'yes', - no: 'no', - zoom: 'Edit content in the dialog opened.', - comments: { - title: 'Common comments', - manager: 'Management', - empty: 'No data.' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/time-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/time-picker.ts deleted file mode 100644 index 2aa8badb7679cbe99a74c45119fbfc530b6d828f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/time-picker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const TIME_PICKER_LOCALES = { - placeholder: 'Please select a time', - time: { - hour: 'Hour', minute: 'Minute', seconds: 'Second' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/treetable.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/treetable.ts deleted file mode 100644 index cafb8cd769c071dcdb448047b9083c4f5c91794e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/treetable.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const TREETABLE_LOCALE = { - emptyMessage: 'Empty Data', - pagination: { - previousLabel: 'Prev Page', - nextLabel: 'Next Page', - message: '{0} items per page, total {1} items.' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/en-us/verify-detail.ts b/packages/ui-vue/components/locale/src/lib/locales/en-us/verify-detail.ts deleted file mode 100644 index a425f65c3231859d77f0a2fd1153b75fd0ca545f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/en-us/verify-detail.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const VERIFY_DETAIL_LOCALE = { - vertifyTypeAll:'All', - vertifyTypeError:'Error', - vertifyTypeEmpty:'Empty' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/index.ts b/packages/ui-vue/components/locale/src/lib/locales/index.ts index e98a9b6bd9eceeaaecd0b408b0067b6654d2731c..c31fa467668c4595f87fa44bc63f2e7b57d6c19a 100644 --- a/packages/ui-vue/components/locale/src/lib/locales/index.ts +++ b/packages/ui-vue/components/locale/src/lib/locales/index.ts @@ -1,7 +1,7 @@ -import { EN_US } from './en-us/index'; -import { ZH_CN } from './zh-cn/index'; -import { ZH_CHT } from './zh-CHT/index'; +import { EN_US } from './en-us'; +import { ZH_CN } from './zh-cn'; +import { ZH_CHT } from './zh-CHT'; export const FARRIS_LOCALES = { 'zh-CHS': ZH_CN, diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT.ts new file mode 100644 index 0000000000000000000000000000000000000000..36abb2544457e443d7a5f2709572cb9a5edd386b --- /dev/null +++ b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT.ts @@ -0,0 +1,1472 @@ +export const ZH_CHT = { + ui: { + combo: { + placeholder: '請選擇', + emptyMsg: '暫無數據' + }, + combolist: { + remoteError: '請求方法類型不正確', + placeholder: '請選擇' + }, + datePicker: { + dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, + monthLabels: { + 1: '一月', + 2: '二月', + 3: '三月', + 4: '四月', + 5: '五月', + 6: '六月', + 7: '七月', + 8: '八月', + 9: '九月', + 10: '十月', + 11: '十一月', + 12: '十二月' + }, + dateFormat: 'yyyy-MM-dd', + returnFormat: 'yyyy-MM-dd', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '年', + timeBtnText: '選擇時間', + dateBtnText: '選擇日期', + commitBtnText: '確認', + weekText: '周', + placeholder: '請選擇日期', + range: { + begin: '請選擇開始日期', + end: '請選擇結束日期' + }, + message: { + 101: '結束時間不得早于開始時間!', + 102: '僅允許選擇 ${0} 個日期' + }, + current: { + today: '今天', + month: '本月', + week: '本周', + year: '今年', + }, + multiDatesLocale: { + backtotoday: '回到今天', + clearSelections: '清空', + delete: '刪除', + selected: '已選,天' + } + }, + datagrid: { + lineNumberTitle: '序號', + emptyMessage: '暫無數據', + pagination: { + previousLabel: '上一頁', + nextLabel: '下一頁', + message: '共 {1} 條 ', + pagelist: { + firstText: '顯示', + lastText: '條' + } + }, + filter: { + title: '過濾條件', + reset: '重置', + clear: '清空條件', + clearAll: '清空所有條件', + setting: '高級設置', + nofilter: '[ 無 ]', + checkAll: '全選', + and: '並且', + or: '或者', + operators: { + equal: '等於', + notEqual: '不等於', + greater: '大於', + greaterOrEqual: '大於等於', + less: '小於', + lessOrEqual: '小於等於', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '屬於', + notIn: '不屬於', + empty: '為空', + notEmpty: '不為空', + null: 'null', + notNull: '不為null' + }, + more: '查看更多', + ok: '確定', + cancel: '取消', + sevenDays: '七天', + oneMonth: '一個月', + threeMonths: '三個月', + sixMonths: '半年' + }, + settings: { + visible: '顯示列', + sortting: '列排序', + title: '列配置', + canchoose: '可選列', + choosed: '已選列', + asc: '升序', + desc: '降序', + cancelSort: '取消排序', + ok: '確定', + cancel: '取消', + reset: '恢複默認', + conciseMode: '簡潔模式', + advancedMode: '高級模式', + formatSetting: '列格式', + properties: '列屬性', + groupping: '分組', + allColumns: '所有列', + visibleColumns: '可見列', + hiddenColumns: '隱藏列', + searchPlaceholder: '請輸入列名稱', + checkall: '全部顯示/隱藏', + headeralign: '表頭對齊', + dataalign: '數據對齊', + alignLeft: '左對齊', + alignCenter: '居中對齊', + alignRight: '右對齊', + summarytype: '匯總合計類型', + summarytext: '匯總合計文本', + summaryNone: '無', + summarySum: '求和', + summaryMax: '最大值', + summaryMin: '最小值', + summarCount: '計數', + summaryAverage: '平均值', + grouppingField: '分組字段', + moreGrouppingFieldWarningMessage: '最多設置3個字段進行分組', // Up to 3 fields are set for grouping + grouppingSummary: '分組合計', + addGrouppingFieldTip: '添加分組字段', + removeGrouppingFieldTip: '移除分組字段', + grouppingSummaryType: '分組合計類型', + grouppingSummaryText: '分組合計文本', + restoreDefaultSettingsText: '確認要恢複默認設置嗎?', + simple: { + title: '顯示列', + tip: '選中的字段可展示到列表中,拖拽可調整在列表中的展示順序。', + count: '已顯示 {0} 列' + } + }, + selectionData: { + clearAll: '清空', + tooltip: '點擊顯示已選記錄列錶', + currentLenth: `已選擇:{0} 條` + }, + groupRow: { + tips: '拖動列到這兒可進行數據分組', + removeColumn: '移除分組列', + clearTip: '清除所有分組字段', + clear: '清空' + }, + summary: { + title: '當頁合計' + }, + loadingMessage: '正在載入', + commandColumn: { + title: '操作' + } + + }, + filterEditor: { + // 取消 + cancelButton: '取消', + // 確定 + okButton: '確定', + // 添加子句 + addWhere: '添加子句', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + // 左括號 + leftBrackets: '左括號', + // 字段 + field: '字段', + // 操作符 + operator: '操作符', + // 值 + value: '值', + // 值類型 + valueType: '值類型', + expressType: { + value: '值', + express: '錶達式', + frontExpress: '表單表達式' + }, + // 右括號 + rightBrackets: '右括號', + // 關係 + relation: '關係', + relationValue: { + and: '並且', + or: '或者' + }, + designTab: '設計器', + jsonTab: '源代碼', + sqlTab: 'Sql預覽', + title: '條件編輯器', + message: '確認要清空當前所有數據嗎?', + validate: { + bracket: '左右括號不匹配,請檢查', + relation: '條件關系不完整,請檢查', + field: '條件字段未設置,請檢查' + } + }, + enumEditor: { + // 取消 + cancelButton: '取消', + // 確定 + okButton: '確定', + // 添加子句 + addWhere: '添加', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + + title: '枚舉數據編輯器', + message: '確認要清空當前所有數據嗎?', + value: '值', + name: '名稱' + }, + lookup: { + placeholder: '請選擇', + favorites: '收藏夾', + selected: '已選數據', + okText: '確定', + cancelText: '取消', + allColumns: '所有列', + datalist: '數據列錶', + mustWriteSomething: '請輸入關鍵字後查詢。', + mustChoosAdatarow: '請選擇一條記錄!', + tipText: '您要找的是不是這些?', + cascade: { + enable: '同步選擇', + disable: '僅選擇自身', + up: '包含上級', + down: '包含下級' + }, + includechildren: '包含下級', + favoriteInfo: { + addFav: '已添加到收藏夾。', + cancelFav: '已從收藏夾中移除。', + addFavTitle: '收藏', + cancelFavTitle: '取消收藏' + }, + getAllChilds: '獲取所有子級數據', + contextMenu: { + checkChildNodes: '勾選下級數據', + uncheckChildNodes: '取消勾選下級數據', + expandall: '全部展開', + collapseall: '全部收起', + expandByLayer: '按層級展開', + expand1: '展開 1 級', + expand2: '展開 2 級', + expand3: '展開 3 級', + expand4: '展開 4 級', + expand5: '展開 5 級', + expand6: '展開 6 級', + expand7: '展開 7 級', + expand8: '展開 8 級', + expand9: '展開 9 級' + }, + quick: { + notfind: '未找到搜索內容', + more: '顯示更多' + }, + configError: '幫助顯示列未配置,請檢查是否已正確配置幫助數據源!', + selectedInfo: { + total: '已選 {0} 條', + clear: '取消已選', + remove: '移除 ({0})', + confirm: '您確認要取消所有選中記錄嗎?' + }, + clearAllConditions: '清除所有查詢條件', + anyFields: '全部' + }, + loading: { + message: '正在加載,請稍候...' + }, + modal: {}, + messager: { + yes: '是', + no: '否', + ok: '確定', + cancel: '取消', + title: '係統提示', + errorTitle: '錯誤提示', + prompt: { + fontSize: { + name: '字體大小', + small: '小', + middle: '中', + big: '大', + large: '特大', + huge: '超大' + } + }, + exception: { + expand: '展開', + collapse: '收起', + happend: '發生時間', + detail: '詳細信息', + copy: '複制詳細信息', + copySuccess: '複制成功', + copyFailed: '複制失敗', + roger: '知道了' + } + }, + notify: { + title: '係統提示' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: '請輸入數字', + range: { + begin: '請輸入開始數字', + end: '請輸入結束數字' + } + }, + inputGroup: {}, + sortEditor: { + // 取消 + cancel: '取消', + // 確定 + ok: '確定', + // 添加子句 + add: '添加', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: ' 置底', + + // 字段 + field: '字段', + // 排序 + order: '排序', + asc: '升序', + desc: '降序', + title: '排序設置' + }, + treetable: { + emptyMessage: '暫無數據', + pagination: { + previousLabel: '上一頁', + nextLabel: '下一頁', + message: '每頁 {0} 條記錄,共 {1} 條記錄。' + } + }, + multiSelect: { + leftTitle: '未選擇', + rightTitle: '已選擇', + noDataMoveMessage: '請選擇要移動的數據。', + shiftRight: '右移', + shiftLeft: '左移', + allShiftRight: '全部右移', + allShiftLeft: '全部左移', + top: '置頂', + bottom: '置底', + shiftUp: '上移', + shiftDown: '下移', + emptyData: '暫無數據', + filterPlaceholder: '輸入篩選項名稱搜索' + }, + tabs: { + more: '更多', + leftButton: '向左', + rightButton: '向左', + noData: '没有相关数据' + }, + timePicker: { + placeholder: '請選擇時間', + time: { + hour: '時', minute: '分', seconds: '秒' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: '暫無數據' + }, + text: { + yes: '是', + no: '否', + zoom: '在打開的對話框中編輯內容', + comments: { + title: '常用意見', + manager: '意見管理', + empty: '暫無數據' + } + }, + switch: {}, + sidebar: { + sidebar: '詳情', + }, + section: { + expandLabel: '展開', + collapseLabel: '收起' + }, + pagination: { + message: '共 {1} 條 ', + totalInfo: { + firstText: '共', + lastText: '條' + }, + pageList: { + firstText: '每頁', + lastText: '條' + }, + previous: '上一頁', + next: '下一頁', + goto: { + prefix: '跳轉至', + suffix: '頁' + }, + show: '顯示' + }, + responseToolbar: { + more: '更多', + }, + queryCondition: { + configDialog: { + unSelectedOptions: '未選擇項', + selectedOptions: '已選擇項', + confirm: '確定', + cancel: '取消', + placeholder: '請輸入搜索關鍵字', + moveUp: '上移', + moveAllUp: '全部上移', + moveDown: '下移', + moveAllDown: '全部下移', + moveRight: '右移', + moveAllRight: '全部右移', + moveLeft: '左移', + moveAllLeft: '全部左移', + pleaseSelect: '請選擇字段', + noOptionMove: '冇有可移動字段', + selectOptionUp: '請選擇上移字段', + cannotMoveUp: '無法上移', + selectOptionTop: '請選擇置頂字段', + optionIsTop: '字段已置頂', + selectOptionDown: '請選擇下移字段', + cannotMoveDown: '無法下移', + selectOptionBottom: '請選擇置底字段', + optionIsBottom: '字段已置底' + }, + container: { + query: '篩選', + saveAs: '另存為', + save: '保存', + config: '配置' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: '方案名稱', + setAsDefault: '設為預設', + confirm: '確定', + cancel: '取消', + caption: '新增方案', + personal: '使用者個人方案', + system: '系統公共方案', + nameNotify: '請填寫方案名稱', + authNotify: '您暫無權限修改公共類型方案。', + success: '查詢方案儲存成功。', + maxLength: '方案名稱最多100個字元,超出請修改' + }, + manageDialog: { + caption: '方案管理', + default: '預設', + system: '系統公共', + saveAs: '另存為', + save: '儲存', + manage: '管理', + isDefault: '預設方案', + code: '名稱', + type: '屬性', + private: '使用者個人方案', + public: '系統公共方案', + org: '組織公共方案', + remove: '刪除' + }, + configDialog: { + caption: '篩選條件配置' + }, + container: { + filter: '篩選', + default: '預設篩選方案', + clear: '清空', + require: '請填寫{fields}再進行篩選' + } + }, + collapseDirective: { + expand: '展開', + fold: '收起' + }, + avatar: { + imgtitle: '點擊修改', + typeError: '上傳圖片類型不正確', + sizeError: '上傳圖片不能大於', + uploadError: '圖片上傳失敗,請重試!', + loadError: '加載錯誤', + loading: '加載中' + }, + listFilter: { + filter: '篩選', + confirm: '確定', + cancel: '取消', + reset: '清空條件' + }, + progressStep: { + empty: '步驟條信息為空' + }, + languageLabel: { + en: '英語', + "zh-cn": '簡體中文', + "zh-CHS": '簡體中文', + "zh-CHT": '繁體中文', + ok: '確定', + cancel: '取消' + }, + verifyDetail: { + vertifyTypeAll: '全部', + vertifyTypeError: '錯填', + vertifyTypeEmpty: '漏填' + }, + batchEditDialog: { + title: '批量編輯', + appendText: '添加新編輯列', + appendTextTip: '添加更多列進行批量操作', + okText: '確定', + cancelText: '取消', + field: '請選擇要編輯的列:', + fieldValue: '請輸入要更改的值:', + appendTips: '添加更多列進行批量操作', + selected: '已選', + row: '行', + confirmTitle: '提示', + neverShow: '不再提示', + confirmText: '將修改{0}行數據,確定修改嗎?' + }, + pageWalker: { + next: '下一步', + prev: '上一步', + skip: '跳過', + startNow: '立即體驗' + }, + footer: { + expandText: '查看更多信息', + collapseText: '查看更多信息' + }, + discussionGroup: { + submit: '提交', + cancel: '取消', + colleague: '同事', + all: '所有人員可見', + related: '僅相關人員可見', + confirm: '確定', + reply: '回複', + emptyMessage: '暫無數據', + placeholder: '請輸入姓名搜索', + notEmpty: '提交內容不能為空', + selectEmployee: '選擇員工', + next: '下級', + emptySelected: '清空已選', + emptyRight: '請在左側選擇人員', + allOrg: '全部組織', + selected: '已選', + section: '部門', + people: '人員', + viewMore: '查看更多', + per: '人', + pcs: '個', + emptyList: '聯係人為空', + advancedQuery: '高級查詢' + }, + tag: { + addText: '添加', + placeholder: '請輸入' + }, + filterPanel: { + filter: '篩選', + confirm: '確定', + cancel: '取消', + reset: '清除篩選', + advancedFilter: '高級篩選', + expand: '展開', + fold: '收起', + last1Month: '近一月', + last3Month: '近三月', + last6Month: '近半年', + pleaseInput: '請先錄入', + searchHistory: '歷史搜索', + searchResult: '查詢結果', + intervalFilter: '按區間篩選', + beginPlaceHolder: '最低值', + endPlaceHolder: '最高值', + dateBeginPlaceHolder: '開始日期', + dateEndPlaceHolder: '結束日期', + empty: '清空全部', + clear: '清空已選', + today: '當天', + yesterday: '昨天', + checkall: '全選' + }, + scrollspy: { + guide: '導航' + }, + lookupConfig: { + placeholder: '選擇表單元數據', + code: '編號', + name: '名稱', + select: '選擇幫助元數據', + filter: '配置條件', + helpidEmpty: 'helpId不能為空', + selectTitle: '幫助元數據選擇', + lookupTitle: '幫助配置', + sure: '確定', + cancel: '取消', + successSave: '保存成功', + helpIdError: '請選擇幫助元數據', + fileNamePlaceholder: '選擇幫助文本字段', + selectFileNameTitle: '文本字段選擇器', + bindingPath: '綁定字段', + fieldError: '已綁定字段不存在!', + textFieldLable: '幫助文本字段', + loadTypeTitle: '選擇加載方式', + loadTypeList: { + all: '全部加載', + layer: '分層加載', + default: '默認' + }, + powerTitle: '權限設置', + powerObjLabel: '權限對象', + powerFieldLabel: '權限字段', + powerOperateLabel: '權限操作', + linkfieldLabel: '幫助關聯字段', + powerDataTitle: '權限對象選擇', + powerFieldTitle: '權限字段選擇', + powerOperateTitle: '操作選擇', + businessLable: '業務對象', + powerLable: '權限對象', + powerError: '請選擇權限對象', + operateError: '請選擇操作', + linkfieldError: '請選擇權限字段' + }, + condition: { + add: '新增條件', + create: '建立條件群組', + reset: '重設', + and: '且', + or: '或' + }, + operators: { + equal: '等於', + notEqual: '不等於', + greater: '大於', + greaterOrEqual: '大於等於', + less: '小於', + lessOrEqual: '小於等於', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '屬於', + notIn: '不屬於', + empty: '為空', + notEmpty: '不為空', + null: 'null', + notNull: '不為null', + startWith: '開始於', + endWith: '結束於', + and: '且', + or: '或' + }, + drawer: { + cancel: '取消', + confirm: '確定' + }, + eventParameter: { + title: '參數編輯器', + ok: '確定', + cancel: '取消', + workFlowClass: { + title: '請選擇流程分類' + }, + generalEditor: { + field: '欄位', + tabVar: '變數', + form: '表單元件' + }, + jsonEditor: { + dialogTitle: '可配置參數編輯器', + keyColumnTitle: '參數', + valueColumnTitle: '參數值', + addButtonText: '添加配置參數', + keyColumnPlaceholder: '請輸入參數', + error: 'JsonEditor的參數預期是數位,但收到無效的JSON' + }, + comboTree: { + placeholder: '請選擇' + } + } + }, + uiDesigner: { + combo: { + placeholder: '請選擇', + emptyMsg: '暫無數據' + }, + combolist: { + remoteError: '請求方法類型不正確', + placeholder: '請選擇' + }, + datePicker: { + dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, + monthLabels: { + 1: '一月', + 2: '二月', + 3: '三月', + 4: '四月', + 5: '五月', + 6: '六月', + 7: '七月', + 8: '八月', + 9: '九月', + 10: '十月', + 11: '十一月', + 12: '十二月' + }, + dateFormat: 'yyyy-MM-dd', + returnFormat: 'yyyy-MM-dd', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '年', + timeBtnText: '選擇時間', + dateBtnText: '選擇日期', + commitBtnText: '確認', + weekText: '周', + placeholder: '請選擇日期', + range: { + begin: '請選擇開始日期', + end: '請選擇結束日期' + }, + message: { + 101: '結束時間不得早于開始時間!', + 102: '僅允許選擇 ${0} 個日期' + }, + current: { + today: '今天', + month: '本月', + week: '本周', + year: '今年', + }, + multiDatesLocale: { + backtotoday: '回到今天', + clearSelections: '清空', + delete: '刪除', + selected: '已選,天' + } + }, + datagrid: { + lineNumberTitle: '序號', + emptyMessage: '暫無數據', + pagination: { + previousLabel: '上一頁', + nextLabel: '下一頁', + message: '共 {1} 條 ', + pagelist: { + firstText: '顯示', + lastText: '條' + } + }, + filter: { + title: '過濾條件', + reset: '重置', + clear: '清空條件', + clearAll: '清空所有條件', + setting: '高級設置', + nofilter: '[ 無 ]', + checkAll: '全選', + and: '並且', + or: '或者', + operators: { + equal: '等於', + notEqual: '不等於', + greater: '大於', + greaterOrEqual: '大於等於', + less: '小於', + lessOrEqual: '小於等於', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '屬於', + notIn: '不屬於', + empty: '為空', + notEmpty: '不為空', + null: 'null', + notNull: '不為null' + }, + more: '查看更多', + ok: '確定', + cancel: '取消', + sevenDays: '七天', + oneMonth: '一個月', + threeMonths: '三個月', + sixMonths: '半年' + }, + settings: { + visible: '顯示列', + sortting: '列排序', + title: '列配置', + canchoose: '可選列', + choosed: '已選列', + asc: '升序', + desc: '降序', + cancelSort: '取消排序', + ok: '確定', + cancel: '取消', + reset: '恢複默認', + conciseMode: '簡潔模式', + advancedMode: '高級模式', + formatSetting: '列格式', + properties: '列屬性', + groupping: '分組', + allColumns: '所有列', + visibleColumns: '可見列', + hiddenColumns: '隱藏列', + searchPlaceholder: '請輸入列名稱', + checkall: '全部顯示/隱藏', + headeralign: '表頭對齊', + dataalign: '數據對齊', + alignLeft: '左對齊', + alignCenter: '居中對齊', + alignRight: '右對齊', + summarytype: '匯總合計類型', + summarytext: '匯總合計文本', + summaryNone: '無', + summarySum: '求和', + summaryMax: '最大值', + summaryMin: '最小值', + summarCount: '計數', + summaryAverage: '平均值', + grouppingField: '分組字段', + moreGrouppingFieldWarningMessage: '最多設置3個字段進行分組', // Up to 3 fields are set for grouping + grouppingSummary: '分組合計', + addGrouppingFieldTip: '添加分組字段', + removeGrouppingFieldTip: '移除分組字段', + grouppingSummaryType: '分組合計類型', + grouppingSummaryText: '分組合計文本', + restoreDefaultSettingsText: '確認要恢複默認設置嗎?', + simple: { + title: '顯示列', + tip: '選中的字段可展示到列表中,拖拽可調整在列表中的展示順序。', + count: '已顯示 {0} 列' + } + }, + selectionData: { + clearAll: '清空', + tooltip: '點擊顯示已選記錄列錶', + currentLenth: `已選擇:{0} 條` + }, + groupRow: { + tips: '拖動列到這兒可進行數據分組', + removeColumn: '移除分組列', + clearTip: '清除所有分組字段', + clear: '清空' + }, + summary: { + title: '當頁合計' + }, + loadingMessage: '正在載入', + commandColumn: { + title: '操作' + } + + }, + filterEditor: { + // 取消 + cancelButton: '取消', + // 確定 + okButton: '確定', + // 添加子句 + addWhere: '添加子句', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + // 左括號 + leftBrackets: '左括號', + // 字段 + field: '字段', + // 操作符 + operator: '操作符', + // 值 + value: '值', + // 值類型 + valueType: '值類型', + expressType: { + value: '值', + express: '錶達式', + frontExpress: '表單表達式' + }, + // 右括號 + rightBrackets: '右括號', + // 關係 + relation: '關係', + relationValue: { + and: '並且', + or: '或者' + }, + designTab: '設計器', + jsonTab: '源代碼', + sqlTab: 'Sql預覽', + title: '條件編輯器', + message: '確認要清空當前所有數據嗎?', + validate: { + bracket: '左右括號不匹配,請檢查', + relation: '條件關系不完整,請檢查', + field: '條件字段未設置,請檢查' + } + }, + enumEditor: { + // 取消 + cancelButton: '取消', + // 確定 + okButton: '確定', + // 添加子句 + addWhere: '添加', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + + title: '枚舉數據編輯器', + message: '確認要清空當前所有數據嗎?', + value: '值', + name: '名稱' + }, + lookup: { + placeholder: '請選擇', + favorites: '收藏夾', + selected: '已選數據', + okText: '確定', + cancelText: '取消', + allColumns: '所有列', + datalist: '數據列錶', + mustWriteSomething: '請輸入關鍵字後查詢。', + mustChoosAdatarow: '請選擇一條記錄!', + tipText: '您要找的是不是這些?', + cascade: { + enable: '同步選擇', + disable: '僅選擇自身', + up: '包含上級', + down: '包含下級' + }, + includechildren: '包含下級', + favoriteInfo: { + addFav: '已添加到收藏夾。', + cancelFav: '已從收藏夾中移除。', + addFavTitle: '收藏', + cancelFavTitle: '取消收藏' + }, + getAllChilds: '獲取所有子級數據', + contextMenu: { + checkChildNodes: '勾選下級數據', + uncheckChildNodes: '取消勾選下級數據', + expandall: '全部展開', + collapseall: '全部收起', + expandByLayer: '按層級展開', + expand1: '展開 1 級', + expand2: '展開 2 級', + expand3: '展開 3 級', + expand4: '展開 4 級', + expand5: '展開 5 級', + expand6: '展開 6 級', + expand7: '展開 7 級', + expand8: '展開 8 級', + expand9: '展開 9 級' + }, + quick: { + notfind: '未找到搜索內容', + more: '顯示更多' + }, + configError: '幫助顯示列未配置,請檢查是否已正確配置幫助數據源!', + selectedInfo: { + total: '已選 {0} 條', + clear: '取消已選', + remove: '移除 ({0})', + confirm: '您確認要取消所有選中記錄嗎?' + }, + clearAllConditions: '清除所有查詢條件', + anyFields: '全部' + }, + loading: { + message: '正在加載,請稍候...' + }, + modal: {}, + messager: { + yes: '是', + no: '否', + ok: '確定', + cancel: '取消', + title: '係統提示', + errorTitle: '錯誤提示', + prompt: { + fontSize: { + name: '字體大小', + small: '小', + middle: '中', + big: '大', + large: '特大', + huge: '超大' + } + }, + exception: { + expand: '展開', + collapse: '收起', + happend: '發生時間', + detail: '詳細信息', + copy: '複制詳細信息', + copySuccess: '複制成功', + copyFailed: '複制失敗', + roger: '知道了' + } + }, + notify: { + title: '係統提示' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: '請輸入數字', + range: { + begin: '請輸入開始數字', + end: '請輸入結束數字' + } + }, + inputGroup: {}, + sortEditor: { + // 取消 + cancel: '取消', + // 確定 + ok: '確定', + // 添加子句 + add: '添加', + clear: '清空', + // 置頂 + moveTop: '置頂', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: ' 置底', + + // 字段 + field: '字段', + // 排序 + order: '排序', + asc: '升序', + desc: '降序', + title: '排序設置' + }, + treetable: { + emptyMessage: '暫無數據', + pagination: { + previousLabel: '上一頁', + nextLabel: '下一頁', + message: '每頁 {0} 條記錄,共 {1} 條記錄。' + } + }, + multiSelect: { + leftTitle: '未選擇', + rightTitle: '已選擇', + noDataMoveMessage: '請選擇要移動的數據。', + shiftRight: '右移', + shiftLeft: '左移', + allShiftRight: '全部右移', + allShiftLeft: '全部左移', + top: '置頂', + bottom: '置底', + shiftUp: '上移', + shiftDown: '下移', + emptyData: '暫無數據', + filterPlaceholder: '輸入篩選項名稱搜索' + }, + tabs: { + more: '更多', + leftButton: '向左', + rightButton: '向左', + noData: '没有相关数据' + }, + timePicker: { + placeholder: '請選擇時間', + time: { + hour: '時', minute: '分', seconds: '秒' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: '暫無數據' + }, + text: { + yes: '是', + no: '否', + zoom: '在打開的對話框中編輯內容', + comments: { + title: '常用意見', + manager: '意見管理', + empty: '暫無數據' + } + }, + switch: {}, + sidebar: { + sidebar: '詳情', + }, + section: { + expandLabel: '展開', + collapseLabel: '收起' + }, + pagination: { + message: '共 {1} 條 ', + totalInfo: { + firstText: '共', + lastText: '條' + }, + pageList: { + firstText: '每頁', + lastText: '條' + }, + previous: '上一頁', + next: '下一頁', + goto: { + prefix: '跳轉至', + suffix: '頁' + }, + show: '顯示' + }, + responseToolbar: { + more: '更多', + }, + queryCondition: { + configDialog: { + unSelectedOptions: '未選擇項', + selectedOptions: '已選擇項', + confirm: '確定', + cancel: '取消', + placeholder: '請輸入搜索關鍵字', + moveUp: '上移', + moveAllUp: '全部上移', + moveDown: '下移', + moveAllDown: '全部下移', + moveRight: '右移', + moveAllRight: '全部右移', + moveLeft: '左移', + moveAllLeft: '全部左移', + pleaseSelect: '請選擇字段', + noOptionMove: '冇有可移動字段', + selectOptionUp: '請選擇上移字段', + cannotMoveUp: '無法上移', + selectOptionTop: '請選擇置頂字段', + optionIsTop: '字段已置頂', + selectOptionDown: '請選擇下移字段', + cannotMoveDown: '無法下移', + selectOptionBottom: '請選擇置底字段', + optionIsBottom: '字段已置底' + }, + container: { + query: '篩選', + saveAs: '另存為', + save: '保存', + config: '配置' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: '方案名稱', + setAsDefault: '設為預設', + confirm: '確定', + cancel: '取消', + caption: '新增方案', + personal: '使用者個人方案', + system: '系統公共方案', + nameNotify: '請填寫方案名稱', + authNotify: '您暫無權限修改公共類型方案。', + success: '查詢方案儲存成功。', + maxLength: '方案名稱最多100個字元,超出請修改' + }, + manageDialog: { + caption: '方案管理', + default: '預設', + system: '系統公共', + saveAs: '另存為', + save: '儲存', + manage: '管理', + isDefault: '預設方案', + code: '名稱', + type: '屬性', + private: '使用者個人方案', + public: '系統公共方案', + org: '組織公共方案', + remove: '刪除' + }, + configDialog: { + caption: '篩選條件配置' + }, + container: { + filter: '篩選', + default: '預設篩選方案', + clear: '清空', + require: '請填寫{fields}再進行篩選' + } + }, + collapseDirective: { + expand: '展開', + fold: '收起' + }, + avatar: { + imgtitle: '點擊修改', + typeError: '上傳圖片類型不正確', + sizeError: '上傳圖片不能大於', + uploadError: '圖片上傳失敗,請重試!', + loadError: '加載錯誤', + loading: '加載中' + }, + listFilter: { + filter: '篩選', + confirm: '確定', + cancel: '取消', + reset: '清空條件' + }, + progressStep: { + empty: '步驟條信息為空' + }, + languageLabel: { + en: '英語', + "zh-cn": '簡體中文', + "zh-CHS": '簡體中文', + "zh-CHT": '繁體中文', + ok: '確定', + cancel: '取消' + }, + verifyDetail: { + vertifyTypeAll: '全部', + vertifyTypeError: '錯填', + vertifyTypeEmpty: '漏填' + }, + batchEditDialog: { + title: '批量編輯', + appendText: '添加新編輯列', + appendTextTip: '添加更多列進行批量操作', + okText: '確定', + cancelText: '取消', + field: '請選擇要編輯的列:', + fieldValue: '請輸入要更改的值:', + appendTips: '添加更多列進行批量操作', + selected: '已選', + row: '行', + confirmTitle: '提示', + neverShow: '不再提示', + confirmText: '將修改{0}行數據,確定修改嗎?' + }, + pageWalker: { + next: '下一步', + prev: '上一步', + skip: '跳過', + startNow: '立即體驗' + }, + footer: { + expandText: '查看更多信息', + collapseText: '查看更多信息' + }, + discussionGroup: { + submit: '提交', + cancel: '取消', + colleague: '同事', + all: '所有人員可見', + related: '僅相關人員可見', + confirm: '確定', + reply: '回複', + emptyMessage: '暫無數據', + placeholder: '請輸入姓名搜索', + notEmpty: '提交內容不能為空', + selectEmployee: '選擇員工', + next: '下級', + emptySelected: '清空已選', + emptyRight: '請在左側選擇人員', + allOrg: '全部組織', + selected: '已選', + section: '部門', + people: '人員', + viewMore: '查看更多', + per: '人', + pcs: '個', + emptyList: '聯係人為空', + advancedQuery: '高級查詢' + }, + tag: { + addText: '添加', + placeholder: '請輸入' + }, + filterPanel: { + filter: '篩選', + confirm: '確定', + cancel: '取消', + reset: '清除篩選', + advancedFilter: '高級篩選', + expand: '展開', + fold: '收起', + last1Month: '近一月', + last3Month: '近三月', + last6Month: '近半年', + pleaseInput: '請先錄入', + searchHistory: '歷史搜索', + searchResult: '查詢結果', + intervalFilter: '按區間篩選', + beginPlaceHolder: '最低值', + endPlaceHolder: '最高值', + dateBeginPlaceHolder: '開始日期', + dateEndPlaceHolder: '結束日期', + empty: '清空全部', + clear: '清空已選', + today: '當天', + yesterday: '昨天', + checkall: '全選' + }, + scrollspy: { + guide: '導航' + }, + lookupConfig: { + placeholder: '選擇表單元數據', + code: '編號', + name: '名稱', + select: '選擇幫助元數據', + filter: '配置條件', + helpidEmpty: 'helpId不能為空', + selectTitle: '幫助元數據選擇', + lookupTitle: '幫助配置', + sure: '確定', + cancel: '取消', + successSave: '保存成功', + helpIdError: '請選擇幫助元數據', + fileNamePlaceholder: '選擇幫助文本字段', + selectFileNameTitle: '文本字段選擇器', + bindingPath: '綁定字段', + fieldError: '已綁定字段不存在!', + textFieldLable: '幫助文本字段', + loadTypeTitle: '選擇加載方式', + loadTypeList: { + all: '全部加載', + layer: '分層加載', + default: '默認' + }, + powerTitle: '權限設置', + powerObjLabel: '權限對象', + powerFieldLabel: '權限字段', + powerOperateLabel: '權限操作', + linkfieldLabel: '幫助關聯字段', + powerDataTitle: '權限對象選擇', + powerFieldTitle: '權限字段選擇', + powerOperateTitle: '操作選擇', + businessLable: '業務對象', + powerLable: '權限對象', + powerError: '請選擇權限對象', + operateError: '請選擇操作', + linkfieldError: '請選擇權限字段' + }, + condition: { + add: '新增條件', + create: '建立條件群組', + reset: '重設', + and: '且', + or: '或' + }, + operators: { + equal: '等於', + notEqual: '不等於', + greater: '大於', + greaterOrEqual: '大於等於', + less: '小於', + lessOrEqual: '小於等於', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '屬於', + notIn: '不屬於', + empty: '為空', + notEmpty: '不為空', + null: 'null', + notNull: '不為null', + startWith: '開始於', + endWith: '結束於', + and: '且', + or: '或' + }, + drawer: { + cancel: '取消', + confirm: '確定' + }, + eventParameter: { + title: '參數編輯器', + ok: '確定', + cancel: '取消', + workFlowClass: { + title: '請選擇流程分類' + }, + generalEditor: { + field: '欄位', + tabVar: '變數', + form: '表單元件' + }, + jsonEditor: { + dialogTitle: '可配置參數編輯器', + keyColumnTitle: '參數', + valueColumnTitle: '參數值', + addButtonText: '添加配置參數', + keyColumnPlaceholder: '請輸入參數', + error: 'JsonEditor的參數預期是數位,但收到無效的JSON' + }, + comboTree: { + placeholder: '請選擇' + } + } + } +}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/avatar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/avatar.ts deleted file mode 100644 index 5e2fad8648261bcbf1bdb93968deb4f65200a5e8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/avatar.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const AVATAR_LOCALE_ZHCHT = { - imgtitle: '點擊修改', - typeError: '上傳圖片類型不正確', - sizeError: '上傳圖片不能大於', - uploadError: '圖片上傳失敗,請重試!', - loadError: '加載錯誤', - loading:'加載中' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/batch-edit-dialog.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/batch-edit-dialog.ts deleted file mode 100644 index 711745e7f69e35d245e66d9d37c3a6ef1646e615..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/batch-edit-dialog.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const BATCH_EDIT_DIALOG_LOCALE_ZHCHT = { - title: '批量編輯', - appendText: '添加新編輯列', - appendTextTip: '添加更多列進行批量操作', - okText: '確定', - cancelText: '取消', - field: '請選擇要編輯的列:', - fieldValue: '請輸入要更改的值:', - appendTips: '添加更多列進行批量操作', - selected: '已選', - row: '行', - confirmTitle: '提示', - neverShow: '不再提示', - confirmText: '將修改{0}行數據,確定修改嗎?' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/collapse.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/collapse.ts deleted file mode 100644 index e5d97ba28e0a82939f26f13baa16bea4dba6d0c1..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/collapse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COLLAPSE_DIRECTIVE_LOCALE_ZHCHT = { - expand: '展開', - fold: '收起' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/combo.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/combo.ts deleted file mode 100644 index 1bf9a273358bee7709592f2d1688faf80da41486..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/combo.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COMBO_LOCALE = { - placeholder: '請選擇', - emptyMsg: '暫無數據' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/condition.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/condition.ts deleted file mode 100644 index de6890f368eda9568949624431858b2b02ca5da8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/condition.ts +++ /dev/null @@ -1,30 +0,0 @@ -export const OPERATORS_LOCALE_ZHCHT = { - equal: '等於', - notEqual: '不等於', - greater: '大於', - greaterOrEqual: '大於等於', - less: '小於', - lessOrEqual: '小於等於', - contains: '包含', - notContains: '不包含', - like: '包含', - notLike: '不包含', - in: '屬於', - notIn: '不屬於', - empty: '為空', - notEmpty: '不為空', - null: 'null', - notNull: '不為null', - startWith: '開始於', - endWith: '結束於', - and: '且', - or: '或' -}; - -export const CONDITION_LOCALE_ZHCHT = { - add: '新增條件', - create: '建立條件群組', - reset: '重設', - and: '且', - or: '或' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/datagrid.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/datagrid.ts deleted file mode 100644 index a77217abc8785cfb6d0912b833f2f3f861c323e8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/datagrid.ts +++ /dev/null @@ -1,104 +0,0 @@ -export const DATAGRID_LOCALE_ZHCHT = { - lineNumberTitle: '序號', - emptyMessage: '暫無數據', - pagination: { - previousLabel: '上一頁', - nextLabel: '下一頁', - message: '共 {1} 條 ', - pagelist: { - firstText: '顯示', - lastText: '條' - } - }, - filter: { - title: '過濾條件', - reset: '重置', - clear: '清空條件', - clearAll: '清空所有條件', - setting: '高級設置', - nofilter: '[ 無 ]', - checkAll: '全選', - and: '並且', - or: '或者', - operators: { - equal: '等於', - notEqual: '不等於', - greater: '大於', - greaterOrEqual: '大於等於', - less: '小於', - lessOrEqual: '小於等於', - contains: '包含', - notContains: '不包含', - like: '包含', - notLike: '不包含', - in: '屬於', - notIn: '不屬於', - empty: '為空', - notEmpty: '不為空', - null: 'null', - notNull: '不為null' - }, - more: '查看更多' - }, - settings: { - visible: '顯示列', - sortting: '列排序', - title: '列配置', - canchoose: '可選列', - choosed: '已選列', - asc: '升序', - desc: '降序', - cancelSort: '取消排序', - ok: '確定', - cancel: '取消', - reset: '恢複默認', - conciseMode: '簡潔模式', - advancedMode: '高級模式', - formatSetting: '列格式', - properties: '列屬性', - groupping: '分組', - allColumns: '所有列', - visibleColumns: '可見列', - hiddenColumns: '隱藏列', - searchPlaceholder: '請輸入列名稱', - checkall: '全部顯示/隱藏', - headeralign: '表頭對齊', - dataalign: '數據對齊', - alignLeft: '左對齊', - alignCenter: '居中對齊', - alignRight: '右對齊', - summarytype: '匯總合計類型', - summarytext: '匯總合計文本', - summaryNone: '無', - summarySum: '求和', - summaryMax: '最大值', - summaryMin: '最小值', - summarCount: '計數', - summaryAverage: '平均值', - grouppingField: '分組字段', - moreGrouppingFieldWarningMessage: '最多設置3個字段進行分組', // Up to 3 fields are set for grouping - grouppingSummary: '分組合計', - addGrouppingFieldTip: '添加分組字段', - removeGrouppingFieldTip: '移除分組字段', - grouppingSummaryType: '分組合計類型', - grouppingSummaryText: '分組合計文本', - restoreDefaultSettingsText: '確認要恢複默認設置嗎?', - simple: { - title: '顯示列', - tip: '選中的字段可展示到列表中,拖拽可調整在列表中的展示順序。', - count: '已顯示 {0} 列' - } - }, - selectionData: { - clearAll: '清空', - tooltip: '點擊顯示已選記錄列錶', - currentLenth: `已選擇:{0} 條` - }, - groupRow: { - tips: '拖動列到這兒可進行數據分組', - removeColumn: '移除分組列', - clearTip: '清除所有分組字段', - clear: '清空' - } - -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/date-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/date-picker.ts deleted file mode 100644 index eb8474401f1ef3bc02f3a4ab38fbf34135a9e019..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/date-picker.ts +++ /dev/null @@ -1,48 +0,0 @@ - -export const DATEPICKER_LOCALE_ZHCHT = { - dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, - monthLabels: { - 1: '一月', - 2: '二月', - 3: '三月', - 4: '四月', - 5: '五月', - 6: '六月', - 7: '七月', - 8: '八月', - 9: '九月', - 10: '十月', - 11: '十一月', - 12: '十二月' - }, - dateFormat: 'yyyy-MM-dd', - returnFormat: 'yyyy-MM-dd', - firstDayOfWeek: 'mo', - sunHighlight: false, - yearTxt: '年', - timeBtnText: '選擇時間', - dateBtnText: '選擇日期', - commitBtnText: '確認', - weekText: '周', - placeholder: '請選擇日期', - range: { - begin: '請選擇開始日期', - end: '請選擇結束日期' - }, - message: { - 101: '結束時間不得早于開始時間!', - 102: '僅允許選擇 ${0} 個日期' - }, - current: { - today: '今天', - month: '本月', - week: '本周', - year: '今年', - }, - multiDatesLocale: { - backtotoday: '回到今天', - clearSelections: '清空', - delete: '刪除', - selected: '已選,天' - } -} \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/discussion-group.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/discussion-group.ts deleted file mode 100644 index 0b4158fac3f07953af0e122d794ea5d9f8f80b9d..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/discussion-group.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const DISCUSSION_GROUP_LOCALE_ZHCHT = { - submit: '提交', - cancel: '取消', - colleague: '同事', - all: '所有人員可見', - related: '僅相關人員可見', - confirm: '確定', - reply: '回複', - emptyMessage: '暫無數據', - placeholder: '請輸入姓名搜索', - notEmpty: '提交內容不能為空', - selectEmployee: '選擇員工', - next: '下級', - emptySelected: '清空已選', - emptyRight: '請在左側選擇人員', - allOrg: '全部組織', - selected: '已選', - section: '部門', - people: '人員', - viewMore: '查看更多', - per: '人', - pcs: '個', - emptyList: '聯係人為空', - advancedQuery: '高級查詢' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/drawer.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/drawer.ts deleted file mode 100644 index 9b8d7d530c09c7099e6b3ddd23e8de843cf65922..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/drawer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const DRAWER_LOCALE_ZHCHT = { - cancel: '取消', - confirm: '確定' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-editor.ts deleted file mode 100644 index eddedcf8239a92dc35fa317c39aec99d22414f56..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-editor.ts +++ /dev/null @@ -1,74 +0,0 @@ -export const FILTER_EDITOR_LOCALE_ZHCHT = { - // 取消 - cancelButton: '取消', - // 確定 - okButton: '確定', - // 添加子句 - addWhere: '添加子句', - clear: '清空', - // 置頂 - moveTop: '置頂', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: '置底', - // 左括號 - leftBrackets: '左括號', - // 字段 - field: '字段', - // 操作符 - operator: '操作符', - // 值 - value: '值', - // 值類型 - valueType: '值類型', - expressType: { - value: '值', - express: '錶達式', - frontExpress: '表單表達式' - }, - // 右括號 - rightBrackets: '右括號', - // 關係 - relation: '關係', - relationValue: { - and: '並且', - or: '或者' - }, - designTab: '設計器', - jsonTab: '源代碼', - sqlTab: 'Sql預覽', - title: '條件編輯器', - message: '確認要清空當前所有數據嗎?', - validate: { - bracket: '左右括號不匹配,請檢查', - relation: '條件關系不完整,請檢查', - field: '條件字段未設置,請檢查' - } -}; - -export const ENUM_EDITOR_LOCALE_ZHCHT = { - // 取消 - cancelButton: '取消', - // 確定 - okButton: '確定', - // 添加子句 - addWhere: '添加', - clear: '清空', - // 置頂 - moveTop: '置頂', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: '置底', - - title: '枚舉數據編輯器', - message: '確認要清空當前所有數據嗎?', - value: '值', - name: '名稱' -}; - diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-panel.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-panel.ts deleted file mode 100644 index 4cd032c850cc6f65685afb005bd88bce90638c47..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/filter-panel.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const FILTER_PANEL_LOCALE_ZHCHT = { - filter: '篩選', - confirm: '確定', - cancel: '取消', - reset: '清除篩選', - advancedFilter: '高級篩選', - expand: '展開', - fold: '收起', - last1Month: '近一月', - last3Month: '近三月', - last6Month: '近半年', - pleaseInput: '請先錄入', - searchHistory: '歷史搜索', - searchResult: '查詢結果', - intervalFilter: '按區間篩選', - beginPlaceHolder: '最低值', - endPlaceHolder: '最高值', - dateBeginPlaceHolder: '開始日期', - dateEndPlaceHolder: '結束日期', - empty: '清空全部', - clear: '清空已選', - today: '當天', - yesterday: '昨天', - checkall: '全選' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/footer.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/footer.ts deleted file mode 100644 index caba2cb2cf0d9a009dfc7a244119079d3d7aad4c..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/footer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const FOOTER_LOCALE_ZHCHT = { - expandText: '查看更多信息', - collapseText: '查看更多信息' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/index.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/index.ts deleted file mode 100644 index a47eb01b9fa6768949a86911f7f34156b2d943c7..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/index.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { LOOKUP_LOCALE_ZHCHT } from './lookup'; -import { DATAGRID_LOCALE_ZHCHT } from './datagrid'; -import { SECTION_LOCALE_ZHCHT } from './section'; -import { LOADING_LOCALE_ZHCHT } from './loading'; -import { FILTER_EDITOR_LOCALE_ZHCHT, ENUM_EDITOR_LOCALE_ZHCHT } from './filter-editor'; -import { MESSAGER_LOCALE_ZHCHT } from './messager'; -import { NOTIFY_LOCALE_ZHCHT } from './notify'; -import { PAGINATION_LOCALE_ZHCHT } from './pagination'; -import { SORT_EDITOR_LOCALE_ZHCHT } from './sort-editor'; -import { TEXT_LOCALE_ZHCHT } from './text'; -import { SIDEBAR_LOCALE_ZHCHT } from './sidebar'; -import { TABS_LOCALE_ZHCHT } from './tabs'; -import { RESPONSE_TOOLBAR_LOCALE_ZHCHT } from './response-toolbar'; -import { MULTI_SELECT_LOCALE_ZHCHT } from './multi-select'; -import { QUERY_CONDITION_LOCALE_ZHCHT } from './query-condition'; -import { QUERY_SOLUTION_LOCALE_ZHCHT } from './query-solution'; -import { COLLAPSE_DIRECTIVE_LOCALE_ZHCHT } from './collapse'; -import { TREETABLE_LOCALE_ZHCHT } from './treetable'; -import { AVATAR_LOCALE_ZHCHT } from './avatar'; -import { LIST_FILTER_LOCALE_ZHCHT } from './list-filter'; -import { PROGRESS_STEP_LOCALE_ZHCHT } from './progress-step'; -import { LANGUAGE_LABEL_LOCALE_ZHCHT } from './language-label'; -import { VERIFY_DETAIL_ZHCHT } from './verify-detail'; -import { BATCH_EDIT_DIALOG_LOCALE_ZHCHT } from './batch-edit-dialog'; -import { PAGE_WALKER_ZHCHT } from './page-walker'; -import { FOOTER_LOCALE_ZHCHT } from './footer'; -import { DISCUSSION_GROUP_LOCALE_ZHCHT } from './discussion-group'; -import { TAG_LOCALE_ZHCHT } from './tag'; -import { NUMERIC_LOCALE_ZHCHT } from './numeric'; -import { FILTER_PANEL_LOCALE_ZHCHT } from './filter-panel'; -import { SCROLLSPY_LOCALE_ZHCHT } from './scrollspy'; -import { LOOKUP_CONFIG_LOCALE_ZHCHT } from './lookup-config'; -import { COMBO_LOCALE } from './combo'; -import { LISTVIEW_LOCALE_ZHCHT } from './list-view'; -import { CONDITION_LOCALE_ZHCHT, OPERATORS_LOCALE_ZHCHT } from './condition'; -import { DRAWER_LOCALE_ZHCHT } from './drawer'; -import { DATEPICKER_LOCALE_ZHCHT } from './date-picker'; -import { TIME_PICKER_LOCALES_ZHCHT } from './time-picker'; - -export const ZH_CHT = { - locale: 'ZH_CHT', - combo: COMBO_LOCALE, - combolist: {}, - datePicker: DATEPICKER_LOCALE_ZHCHT, - datagrid: DATAGRID_LOCALE_ZHCHT, - filterEditor: FILTER_EDITOR_LOCALE_ZHCHT, - enumEditor: ENUM_EDITOR_LOCALE_ZHCHT, - lookup: LOOKUP_LOCALE_ZHCHT, - loading: LOADING_LOCALE_ZHCHT, - modal: {}, - messager: MESSAGER_LOCALE_ZHCHT, - notify: NOTIFY_LOCALE_ZHCHT, - dialog: {}, - datatable: {}, - colorPicker: {}, - numberSpinner: NUMERIC_LOCALE_ZHCHT, - inputGroup: {}, - sortEditor: SORT_EDITOR_LOCALE_ZHCHT, - treetable: TREETABLE_LOCALE_ZHCHT, - multiSelect: MULTI_SELECT_LOCALE_ZHCHT, - tabs: TABS_LOCALE_ZHCHT, - timePicker: TIME_PICKER_LOCALES_ZHCHT, - wizard: {}, - tree: {}, - tooltip: {}, - listview: LISTVIEW_LOCALE_ZHCHT, - text: TEXT_LOCALE_ZHCHT, - switch: {}, - sidebar: SIDEBAR_LOCALE_ZHCHT, - section: SECTION_LOCALE_ZHCHT, - pagination: PAGINATION_LOCALE_ZHCHT, - responseToolbar: RESPONSE_TOOLBAR_LOCALE_ZHCHT, - queryCondition: QUERY_CONDITION_LOCALE_ZHCHT, - querySolution: QUERY_SOLUTION_LOCALE_ZHCHT, - collapseDirective: COLLAPSE_DIRECTIVE_LOCALE_ZHCHT, - avatar: AVATAR_LOCALE_ZHCHT, - listFilter: LIST_FILTER_LOCALE_ZHCHT, - progressStep: PROGRESS_STEP_LOCALE_ZHCHT, - languageLabel: LANGUAGE_LABEL_LOCALE_ZHCHT, - verifyDetail: VERIFY_DETAIL_ZHCHT, - batchEditDialog: BATCH_EDIT_DIALOG_LOCALE_ZHCHT, - pageWalker: PAGE_WALKER_ZHCHT, - footer: FOOTER_LOCALE_ZHCHT, - discussionGroup: DISCUSSION_GROUP_LOCALE_ZHCHT, - tag: TAG_LOCALE_ZHCHT, - filterPanel: FILTER_PANEL_LOCALE_ZHCHT, - scrollspy: SCROLLSPY_LOCALE_ZHCHT, - lookupConfig: LOOKUP_CONFIG_LOCALE_ZHCHT, - condition:CONDITION_LOCALE_ZHCHT, - operators: OPERATORS_LOCALE_ZHCHT, - drawer:DRAWER_LOCALE_ZHCHT -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/language-label.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/language-label.ts deleted file mode 100644 index b2e5e04f88ce64fc1b905de500e874bed031fd5f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/language-label.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const LANGUAGE_LABEL_LOCALE_ZHCHT = { - en: '英語', - "zh-cn": '簡體中文', - "zh-CHS": '簡體中文', - "zh-CHT": '繁體中文', - ok: '確定', - cancel: '取消' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-filter.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-filter.ts deleted file mode 100644 index 526d138d1e3fae851145e87396cafa64ef342a25..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-filter.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const LIST_FILTER_LOCALE_ZHCHT = { - filter: '篩選', - confirm: '確定', - cancel: '取消', - reset: '清空條件' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-view.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-view.ts deleted file mode 100644 index b66d82528c9fae9d890727d3a27ebb9a0ac85d76..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/list-view.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LISTVIEW_LOCALE_ZHCHT = { - emptyMessage: '暫無數據' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/loading.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/loading.ts deleted file mode 100644 index 70b3ffa1f8c74d50dc9030dec3a2d57f1cbcff76..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/loading.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LOADING_LOCALE_ZHCHT = { - message: '正在加載,請稍候...' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup-config.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup-config.ts deleted file mode 100644 index 814a279dbeb741cefe231ff6a945869ecfd3debd..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup-config.ts +++ /dev/null @@ -1,38 +0,0 @@ -export const LOOKUP_CONFIG_LOCALE_ZHCHT = { - placeholder: '選擇表單元數據', - code: '編號', - name: '名稱', - select: '選擇幫助元數據', - filter: '配置條件', - helpidEmpty: 'helpId不能為空', - selectTitle: '幫助元數據選擇', - lookupTitle: '幫助配置', - sure: '確定', - cancel: '取消', - successSave: '保存成功', - helpIdError: '請選擇幫助元數據', - fileNamePlaceholder: '選擇幫助文本字段', - selectFileNameTitle: '文本字段選擇器', - bindingPath: '綁定字段', - fieldError: '已綁定字段不存在!', - textFieldLable: '幫助文本字段', - loadTypeTitle: '選擇加載方式', - loadTypeList: { - all: '全部加載', - layer: '分層加載', - default: '默認' - }, - powerTitle: '權限設置', - powerObjLabel: '權限對象', - powerFieldLabel: '權限字段', - powerOperateLabel: '權限操作', - linkfieldLabel: '幫助關聯字段', - powerDataTitle: '權限對象選擇', - powerFieldTitle: '權限字段選擇', - powerOperateTitle: '操作選擇', - businessLable: '業務對象', - powerLable: '權限對象', - powerError: '請選擇權限對象', - operateError: '請選擇操作', - linkfieldError: '請選擇權限字段' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup.ts deleted file mode 100644 index 34bf1f7c839b97f6d4f127f1980c2b16de2203bb..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/lookup.ts +++ /dev/null @@ -1,55 +0,0 @@ -export const LOOKUP_LOCALE_ZHCHT = { - placeholder: '請選擇', - favorites: '收藏夾', - selected: '已選數據', - okText: '確定', - cancelText: '取消', - allColumns: '所有列', - datalist: '數據列錶', - mustWriteSomething: '請輸入關鍵字後查詢。', - mustChoosAdatarow: '請選擇一條記錄!', - tipText: '您要找的是不是這些?', - cascade: { - enable: '同步選擇', - disable: '僅選擇自身', - up: '包含上級', - down: '包含下級' - }, - includechildren: '包含下級', - favoriteInfo: { - addFav: '已添加到收藏夾。', - cancelFav: '已從收藏夾中移除。', - addFavTitle: '收藏', - cancelFavTitle: '取消收藏' - }, - getAllChilds: '獲取所有子級數據', - contextMenu: { - checkChildNodes: '勾選下級數據', - uncheckChildNodes: '取消勾選下級數據', - expandall: '全部展開', - collapseall: '全部收起', - expandByLayer: '按層級展開', - expand1: '展開 1 級', - expand2: '展開 2 級', - expand3: '展開 3 級', - expand4: '展開 4 級', - expand5: '展開 5 級', - expand6: '展開 6 級', - expand7: '展開 7 級', - expand8: '展開 8 級', - expand9: '展開 9 級' - }, - quick: { - notfind: '未找到搜索內容', - more: '顯示更多' - }, - configError: '幫助顯示列未配置,請檢查是否已正確配置幫助數據源!', - selectedInfo: { - total: '已選 {0} 條', - clear: '取消已選', - remove: '移除 ({0})', - confirm: '您確認要取消所有選中記錄嗎?' - }, - clearAllConditions: '清除所有查詢條件', - anyFields: '全部' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/messager.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/messager.ts deleted file mode 100644 index 2b8b5245b7c018caaf7c1aa1a4c0d2c65ab92cd0..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/messager.ts +++ /dev/null @@ -1,28 +0,0 @@ -export const MESSAGER_LOCALE_ZHCHT = { - yes: '是', - no: '否', - ok: '確定', - cancel: '取消', - title: '係統提示', - errorTitle: '錯誤提示', - prompt: { - fontSize: { - name: '字體大小', - small: '小', - middle: '中', - big: '大', - large: '特大', - huge: '超大' - } - }, - exception: { - expand: '展開', - collapse: '收起', - happend: '發生時間', - detail: '詳細信息', - copy: '複制詳細信息', - copySuccess: '複制成功', - copyFailed: '複制失敗', - roger: '知道了' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/multi-select.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/multi-select.ts deleted file mode 100644 index df2a2f0983dbb3794fab1b7b0117bec7ffd2ff25..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/multi-select.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const MULTI_SELECT_LOCALE_ZHCHT = { - leftTitle: '未選擇', - rightTitle: '已選擇', - noDataMoveMessage: '請選擇要移動的數據。', - shiftRight: '右移', - shiftLeft: '左移', - allShiftRight: '全部右移', - allShiftLeft: '全部左移', - top: '置頂', - bottom: '置底', - shiftUp: '上移', - shiftDown: '下移', - emptyData: '暫無數據', - filterPlaceholder: '輸入篩選項名稱搜索' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/notify.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/notify.ts deleted file mode 100644 index 815ceb7cf555c9f8fc41015e2e58bb89f6770e55..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/notify.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const NOTIFY_LOCALE_ZHCHT = { - title: '係統提示' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/numeric.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/numeric.ts deleted file mode 100644 index 5c7a05c8bad7e91161fcd09296ebbb99e8899d1f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/numeric.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const NUMERIC_LOCALE_ZHCHT = { - placeholder: '請輸入數字', - range: { - begin: '請輸入開始數字', - end: '請輸入結束數字' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/page-walker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/page-walker.ts deleted file mode 100644 index 5e7b697bcdd3156b00a3869904860d8c38a11ae8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/page-walker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const PAGE_WALKER_ZHCHT = { - next: '下一步', - prev: '上一步', - skip: '跳過', - startNow: '立即體驗' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/pagination.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/pagination.ts deleted file mode 100644 index e4178d08179a661602f93bdbd99dce5e16894918..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/pagination.ts +++ /dev/null @@ -1,17 +0,0 @@ -export const PAGINATION_LOCALE_ZHCHT = { - message: '共 {1} 條 ', - totalinfo: { - firstText: '共', - lastText: '條' - }, - pagelist: { - firstText: '每頁', - lastText: '條' - }, - previous: '上一頁', - next: '下一頁', - goto: { - prefix: '跳至', - suffix: '頁' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/progress-step.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/progress-step.ts deleted file mode 100644 index b6e5c9d6aeea90900f148a2d863f3e7152d7f84c..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/progress-step.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const PROGRESS_STEP_LOCALE_ZHCHT = { - empty: '步驟條信息為空' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/public-api.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/public-api.ts deleted file mode 100644 index d8f7b861b42001dd056bff6b59dee0f7bacf00fb..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/public-api.ts +++ /dev/null @@ -1,23 +0,0 @@ -export * from './collapse'; -export * from './datagrid'; -export * from './filter-editor'; -export * from './loading'; -export * from './lookup'; -export * from './messager'; -export * from './multi-select'; -export * from './notify'; -export * from './pagination'; -export * from './query-condition'; -export * from './query-solution'; -export * from './response-toolbar'; -export * from './section'; -export * from './sidebar'; -export * from './sort-editor'; -export * from './tabs'; -export * from './text'; -export * from './treetable'; -export * from './avatar'; -export * from './list-filter'; -export * from './progress-step'; -export * from './language-label'; -export * from './verify-detail'; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-condition.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-condition.ts deleted file mode 100644 index 32444409b7fe08b9410083dd645824e4d2806d71..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-condition.ts +++ /dev/null @@ -1,33 +0,0 @@ -export const QUERY_CONDITION_LOCALE_ZHCHT = { - configDialog: { - unSelectedOptions: '未選擇項', - selectedOptions: '已選擇項', - confirm: '確定', - cancel: '取消', - placeholder: '請輸入搜索關鍵字', - moveUp: '上移', - moveAllUp: '全部上移', - moveDown: '下移', - moveAllDown: '全部下移', - moveRight: '右移', - moveAllRight: '全部右移', - moveLeft: '左移', - moveAllLeft: '全部左移', - pleaseSelect: '請選擇字段', - noOptionMove: '冇有可移動字段', - selectOptionUp: '請選擇上移字段', - cannotMoveUp: '無法上移', - selectOptionTop: '請選擇置頂字段', - optionIsTop: '字段已置頂', - selectOptionDown: '請選擇下移字段', - cannotMoveDown: '無法下移', - selectOptionBottom: '請選擇置底字段', - optionIsBottom: '字段已置底' - }, - container: { - query: '篩選', - saveAs: '另存為', - save: '保存', - config: '配置' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-solution.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-solution.ts deleted file mode 100644 index 87a328eebbd2ebad682f2cb23915f54b9adcb7a0..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/query-solution.ts +++ /dev/null @@ -1,39 +0,0 @@ -export const QUERY_SOLUTION_LOCALE_ZHCHT = { - saveAsDialog: { - queryPlanName: '方案名稱', - setAsDefault: '設為預設', - confirm: '確定', - cancel: '取消', - caption: '新增方案', - personal: '使用者個人方案', - system: '系統公共方案', - nameNotify: '請填寫方案名稱', - authNotify: '您暫無權限修改公共類型方案。', - success: '查詢方案儲存成功。', - maxLength: '方案名稱最多100個字元,超出請修改' - }, - manageDialog: { - caption: '方案管理', - default: '預設', - system: '系統公共', - saveAs: '另存為', - save: '儲存', - manage: '管理', - isDefault: '預設方案', - code: '名稱', - type: '屬性', - private: '使用者個人方案', - public: '系統公共方案', - org: '組織公共方案', - remove: '刪除' - }, - configDialog: { - caption: '篩選條件配置' - }, - container: { - filter: '篩選', - default: '預設篩選方案', - clear: '清空', - require: '請填寫{fields}再進行篩選' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/response-toolbar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/response-toolbar.ts deleted file mode 100644 index abac234137560a365b090491f47aa8adec99f434..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/response-toolbar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const RESPONSE_TOOLBAR_LOCALE_ZHCHT = { - more: '更多', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/scrollspy.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/scrollspy.ts deleted file mode 100644 index c93e3b34e899f1ca0b7a9906c59db1851f696dc6..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/scrollspy.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SCROLLSPY_LOCALE_ZHCHT = { - guide: '導航' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/section.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/section.ts deleted file mode 100644 index ea200c75fde3900af6e5aa41f0867e1fb8c49351..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/section.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const SECTION_LOCALE_ZHCHT = { - expandLabel: '展開', - collapseLabel: '收起' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sidebar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sidebar.ts deleted file mode 100644 index b236d42d9c146c3dbfb2803f1e1bc533c28d242c..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sidebar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SIDEBAR_LOCALE_ZHCHT = { - sidebar: '詳情', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sort-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sort-editor.ts deleted file mode 100644 index e01cba592ebaa87b1cbd22643b897508e87d1aaa..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/sort-editor.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const SORT_EDITOR_LOCALE_ZHCHT = { - // 取消 - cancel: '取消', - // 確定 - ok: '確定', - // 添加子句 - add: '添加', - clear: '清空', - // 置頂 - moveTop: '置頂', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: ' 置底', - - // 字段 - field: '字段', - // 排序 - order: '排序', - asc: '升序', - desc: '降序', - title: '排序設置' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tabs.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tabs.ts deleted file mode 100644 index 0f52d019a7a355487ae5437c4519c04c6ca4e80e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tabs.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const TABS_LOCALE_ZHCHT = { - more: '更多', - leftButton:'向左', - rightButton:'向左', - noData:'没有相关数据' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tag.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tag.ts deleted file mode 100644 index 87c1c84f3c0182cc7e65057fd73e3c4083c46885..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/tag.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const TAG_LOCALE_ZHCHT = { - addText: '添加', - placeholder: '請輸入' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/text.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/text.ts deleted file mode 100644 index ba6e0b69d582876ae878a69e1157c4958f64dd8a..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/text.ts +++ /dev/null @@ -1,10 +0,0 @@ -export const TEXT_LOCALE_ZHCHT = { - yes: '是', - no: '否', - zoom: '在打開的對話框中編輯內容', - comments: { - title: '常用意見', - manager: '意見管理', - empty: '暫無數據' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/time-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/time-picker.ts deleted file mode 100644 index 6a517f15dd8349c3affabf17243be2898f6bf040..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/time-picker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const TIME_PICKER_LOCALES_ZHCHT = { - placeholder: '請選擇時間', - time: { - hour: '時', minute: '分', seconds: '秒' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/treetable.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/treetable.ts deleted file mode 100644 index fd31f6ee13083303bf429273de5e4dccbdbc5e07..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/treetable.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const TREETABLE_LOCALE_ZHCHT = { - emptyMessage: '暫無數據', - pagination: { - previousLabel: '上一頁', - nextLabel: '下一頁', - message: '每頁 {0} 條記錄,共 {1} 條記錄。' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/verify-detail.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/verify-detail.ts deleted file mode 100644 index c0834b821888928b745984b1d21fee256d30b108..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-CHT/verify-detail.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const VERIFY_DETAIL_ZHCHT = { - vertifyTypeAll: '全部', - vertifyTypeError: '錯填', - vertifyTypeEmpty: '漏填' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn.ts new file mode 100644 index 0000000000000000000000000000000000000000..abdbb9bbfac7412a7e07a077a030310513048a5c --- /dev/null +++ b/packages/ui-vue/components/locale/src/lib/locales/zh-cn.ts @@ -0,0 +1,1480 @@ +export const ZH_CN = { + ui: { + combo: { + placeholder: '请选择', + emptyMsg: '暂无数据' + }, + combolist: { + // trueValueTitle: '选中的值', + // falseValueTitle: '未选中的值', + remoteError: '请求方法类型不正确', + placeholder: '请选择' + }, + datePicker: { + dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, + monthLabels: { + 1: '一月', + 2: '二月', + 3: '三月', + 4: '四月', + 5: '五月', + 6: '六月', + 7: '七月', + 8: '八月', + 9: '九月', + 10: '十月', + 11: '十一月', + 12: '十二月' + }, + dateFormat: 'yyyy-MM-dd', + returnFormat: 'yyyy-MM-dd', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '年', + timeBtnText: '选择时间', + dateBtnText: '选择日期', + commitBtnText: '确定', + weekText: '周', + placeholder: '请选择日期', + range: { + begin: '请选择开始日期', + end: '请选择结束日期' + }, + message: { + 101: '结束时间不得早于开始时间!', + 102: '仅允许选择 ${0} 个日期' + }, + current: { + today: '今天', + week: '本周', + month: '本月', + year: '今年' + }, + multiDatesLocale: { + backtotoday: '回到今天', + clearSelections: '清空', + delete: '删除', + selected: '已选,天' + } + }, + datagrid: { + lineNumberTitle: '序号', + emptyMessage: '暂无数据', + pagination: { + previousLabel: '上一页', + nextLabel: '下一页', + message: '共 {1} 条 ', + pagelist: { + firstText: '显示', + lastText: '条' + }, + previous: '上一页', + next: '下一页' + }, + filter: { + title: '筛选', + reset: '重置', + clear: '清空', + clearAll: '清空所有条件', + setting: '高级设置', + nofilter: '[ 无 ]', + checkAll: '全选', + and: '并且', + or: '或者', + operators: { + equal: '等于', + notEqual: '不等于', + greater: '大于', + greaterOrEqual: '大于等于', + less: '小于', + lessOrEqual: '小于等于', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '属于', + notIn: '不属于', + empty: '为空', + notEmpty: '不为空', + null: 'null', + notNull: '不为null' + }, + more: '查看更多', + ok: '确定', + cancel: '取消', + sevenDays: '七天', + oneMonth: '一个月', + threeMonths: '三个月', + sixMonths: '半年' + }, + settings: { + visible: '显示列', + sortting: '列排序', + title: '列配置', + canchoose: '可选列', + choosed: '已选列', + asc: '升序', + desc: '降序', + cancelSort: '取消排序', + ok: '确定', + cancel: '取消', + reset: '恢复默认', + conciseMode: '简洁模式', + advancedMode: '高级模式', + formatSetting: '列格式', + properties: '列属性', + groupping: '分组', + allColumns: '所有列', + visibleColumns: '可见列', + hiddenColumns: '隐藏列', + searchPlaceholder: '请输入列名称', + checkall: '全部显示/隐藏', + headeralign: '表头对齐', + dataalign: '数据对齐', + alignLeft: '左对齐', + alignCenter: '居中对齐', + alignRight: '右对齐', + summarytype: '汇总合计类型', + summarytext: '汇总合计文本', + summaryNone: '无', + summarySum: '求和', + summaryMax: '最大值', + summaryMin: '最小值', + summarCount: '计数', + summaryAverage: '平均值', + grouppingField: '分组字段', + moreGrouppingFieldWarningMessage: '最多设置3个字段进行分组', // Up to 3 fields are set for grouping + grouppingSummary: '分组合计', + addGrouppingFieldTip: '添加分组字段', + removeGrouppingFieldTip: '移除分组字段', + grouppingSummaryType: '分组合计类型', + grouppingSummaryText: '分组合计文本', + restoreDefaultSettingsText: '确认要恢复默认设置吗?', + simple: { + title: '显示列', + tip: '选中的字段可展示到列表中,拖拽可调整在列表中的展示顺序。', + count: '已显示 {0} 列' + } + }, + selectionData: { + clearAll: '清空', + tooltip: '点击显示已选记录列表', + currentLenth: `已选择:{0} 条` + }, + groupRow: { + tips: '拖动列到这儿可进行数据分组', + removeColumn: '移除分组列', + clearTip: '清除所有分组字段', + clear: '清空' + }, + summary: { + title: '当页合计' + }, + loadingMessage: '正在加载', + commandColumn: { + title: '操作' + } + }, + filterEditor: { + // 取消 + cancelButton: '取消', + // 确定 + okButton: '确定', + // 添加子句 + addWhere: '添加子句', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + // 左括号 + leftBrackets: '左括号', + // 字段 + field: '字段', + // 操作符 + operator: '操作符', + // 值 + value: '值', + // 值类型 + valueType: '值类型', + expressType: { + value: '值', + express: '表达式', + frontExpress: '表单表达式' + }, + // 右括号 + rightBrackets: '右括号', + // 关系 + relation: '关系', + relationValue: { + and: '并且', + or: '或者' + }, + designTab: '设计器', + jsonTab: '源代码', + sqlTab: 'Sql预览', + title: '条件编辑器', + message: '确认要清空当前所有数据吗?', + validate: { + bracket: '左右括号不匹配,请检查', + relation: '条件关系不完整,请检查', + field: '条件字段未设置,请检查' + } + }, + enumEditor: { + // 取消 + cancelButton: '取消', + // 确定 + okButton: '确定', + // 添加子句 + addWhere: '添加', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + + title: '枚举数据编辑器', + message: '确认要清空当前所有数据吗?', + value: '值', + name: '名称' + }, + lookup: { + placeholder: '请选择', + favorites: '收藏夹', + selected: '已选数据', + okText: '确定', + cancelText: '取消', + allColumns: '所有列', + datalist: '数据列表', + mustWriteSomething: '请输入关键字后查询。', + mustChoosAdatarow: '请选择一条记录!', + tipText: '您要找的是不是这些?', + cascade: { + enable: '同步选择', + disable: '仅选择自身', + up: '包含上级', + down: '包含下级' + }, + includechildren: '包含下级', + favoriteInfo: { + addFav: '已添加到收藏夹。', + cancelFav: '已从收藏夹中移除。', + addFavTitle: '收藏', + cancelFavTitle: '取消收藏' + }, + getAllChilds: '获取所有子级数据', + contextMenu: { + checkChildNodes: '勾选下级数据', + uncheckChildNodes: '取消勾选下级数据', + expandall: '全部展开', + collapseall: '全部收起', + expandByLayer: '按层级展开', + expand1: '展开 1 级', + expand2: '展开 2 级', + expand3: '展开 3 级', + expand4: '展开 4 级', + expand5: '展开 5 级', + expand6: '展开 6 级', + expand7: '展开 7 级', + expand8: '展开 8 级', + expand9: '展开 9 级' + }, + quick: { + notfind: '未找到搜索内容', + more: '显示更多' + }, + configError: '帮助显示列未配置,请检查是否已正确配置帮助数据源! ', + selectedInfo: { + total: '已选 {0} 条', + clear: '取消已选', + remove: '移除 ({0})', + confirm: '您确认要取消所有选中记录吗?' + }, + clearAllConditions: '清除所有查询条件', + anyFields: '全部' + }, + loading: { + message: '正在加载,请稍候...' + }, + modal: {}, + messager: { + yes: '是', + no: '否', + ok: '确定', + cancel: '取消', + title: '系统提示', + errorTitle: '错误提示', + prompt: { + fontSize: { + name: '字体大小', + small: '小', + middle: '中', + big: '大', + large: '特大', + huge: '超大' + }, + tips: { + surplus: '还可以输入 {0} 个字符', + length: '已输入 {0} 个字符' + } + }, + exception: { + expand: '展开', + collapse: '收起', + happend: '发生时间', + detail: '详细信息', + copy: '复制详细信息', + copySuccess: '复制成功', + copyFailed: '复制失败', + roger: '知道了' + } + }, + notify: { + title: '系统提示' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: '请输入数字', + range: { + begin: '请输入开始数字', + end: '请输入结束数字' + } + }, + inputGroup: {}, + sortEditor: { + // 取消 + cancel: '取消', + // 确定 + ok: '确定', + // 添加子句 + add: '添加', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: ' 置底', + + // 字段 + field: '字段', + // 排序 + order: '排序', + asc: '升序', + desc: '降序', + title: '排序设置' + }, + treetable: { + emptyMessage: '暂无数据', + pagination: { + previousLabel: '上一页', + nextLabel: '下一页', + message: '每页 {0} 条记录,共 {1} 条记录。' + } + }, + multiSelect: { + leftTitle: '未选择', + rightTitle: '已选择', + noDataMoveMessage: '请选择要移动的数据。', + shiftRight: '右移', + shiftLeft: '左移', + allShiftRight: '全部右移', + allShiftLeft: '全部左移', + top: '置顶', + bottom: '置底', + shiftUp: '上移', + shiftDown: '下移', + emptyData: '暂无数据', + filterPlaceholder: '输入筛选项名称搜索' + }, + tabs: { + more: '更多', + }, + timePicker: { + placeholder: '请选择时间', + time: { + hour: '时', minute: '分', seconds: '秒' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: '暂无数据' + }, + text: { + yes: '是', + no: '否', + zoom: '在打开的对话框中编辑内容', + comments: { + title: '常用意见', + manager: '意见管理', + empty: '暂无数据' + } + }, + switch: {}, + sidebar: { + sidebar: '详情', + }, + section: { + expandLabel: '展开', + collapseLabel: '收起' + }, + pagination: { + message: '共 {1} 条 ', + totalInfo: { + firstText: '共', + lastText: '条' + }, + pageList: { + firstText: '每页', + lastText: '条' + }, + previous: '上一页', + next: '下一页', + goto: { + prefix: '跳转至', + suffix: '页' + }, + show: '显示' + }, + responseToolbar: { + more: '更多', + }, + queryCondition: { + configDialog: { + unSelectedOptions: '未选择项', + selectedOptions: '已选择项', + confirm: '确定', + cancel: '取消', + placeholder: '请输入搜索关键字', + moveUp: '上移', + moveAllUp: '全部上移', + moveDown: '下移', + moveAllDown: '全部下移', + moveRight: '右移', + moveAllRight: '全部右移', + moveLeft: '左移', + moveAllLeft: '全部左移', + pleaseSelect: '请选择字段', + noOptionMove: '没有可移动字段', + selectOptionUp: '请选择上移字段', + cannotMoveUp: '无法上移', + selectOptionTop: '请选择置顶字段', + optionIsTop: '字段已置顶', + selectOptionDown: '请选择下移字段', + cannotMoveDown: '无法下移', + selectOptionBottom: '请选择置底字段', + optionIsBottom: '字段已置底' + }, + container: { + query: '筛选', + saveAs: '另存为', + save: '保存', + config: '配置' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: '方案名称', + setAsDefault: '设为默认', + confirm: '确定', + cancel: '取消', + caption: '新增方案', + personal: '用户个人方案', + system: '系统公共方案', + nameNotify: '请填写方案名称', + authNotify: '您暂无权限修改公共类型方案。', + success: '查询方案保存成功。', + maxLength: '方案名称最多100个字符,超出请修改' + }, + manageDialog: { + caption: '方案管理', + default: '默认', + system: '系统公共', + saveAs: '另存为', + save: '保存', + manage: '管理', + isDefault: '默认方案', + code: '名称', + type: '属性', + private: '用户个人方案', + public: '系统公共方案', + org: '组织公共方案', + remove: '删除' + }, + configDialog: { + caption: '筛选条件配置' + }, + container: { + filter: '筛选', + default: '默认筛选方案', + clear: '清空', + require: '请填写{fields}再进行筛选' + } + }, + collapseDirective: { + expand: '展开', + fold: '收起' + }, + avatar: { + imgtitle: '点击修改', + typeError: '上传图片类型不正确', + sizeError: '上传图片不能大于', + uploadError: '图片上传失败,请重试!', + loadError: '加载错误', + loading: '加载中' + }, + listFilter: { + filter: '筛选', + confirm: '确定', + cancel: '取消', + reset: '清空条件' + }, + progressStep: { + empty: '步骤条信息为空' + }, + languageLabel: { + en: '英语', + "zh-cn": '简体中文', + "zh-CHS": '简体中文', + "zh-CHT": '繁体中文', + ok: '确定', + cancel: '取消' + }, + verifyDetail: { + vertifyTypeAll: '全部', + vertifyTypeError: '错填', + vertifyTypeEmpty: '漏填' + }, + batchEditDialog: { + title: '批量编辑', + appendText: '添加新编辑列', + appendTextTip: '添加更多列进行批量操作', + okText: '确定', + cancelText: '取消', + field: '请选择要编辑的列:', + fieldValue: '请输入要更改的值:', + appendTips: '添加更多列进行批量操作', + selected: '已选', + row: '行', + confirmTitle: '提示', + neverShow: '不再提示', + confirmText: '将修改{0}行数据,确定修改吗?' + }, + pageWalker: { + next: '下一步', + prev: '上一步', + skip: '跳过', + startNow: '立即体验' + }, + footer: { + expandText: '查看更多信息', + collapseText: '查看更多信息' + }, + discussionGroup: { + submit: '提交', + cancel: '取消', + colleague: '同事', + all: '所有人员可见', + related: '仅相关人员可见', + confirm: '确定', + reply: '回复', + emptyMessage: '暂无数据', + placeholder: '请输入姓名搜索', + notEmpty: '提交内容不能为空', + selectEmployee: '选择员工', + next: '下级', + emptySelected: '清空已选', + emptyRight: '请在左侧选择人员', + allOrg: '全部组织', + selected: '已选', + section: '部门', + people: '人员', + viewMore: '查看更多', + per: '人', + pcs: '个', + emptyList: '联系人为空', + advancedQuery: '高级查询' + }, + tag: { + addText: '添加', + placeholder: '请输入' + }, + filterPanel: { + filter: '筛选', + confirm: '确定', + cancel: '取消', + reset: '清除筛选', + advancedFilter: '高级筛选', + expand: '展开', + fold: '收起', + last1Month: '近一月', + last3Month: '近三月', + last6Month: '近半年', + pleaseInput: '请先录入', + searchHistory: '历史搜索', + searchResult: '查询结果', + intervalFilter: '按区间筛选', + beginPlaceHolder: '最低值', + endPlaceHolder: '最高值', + dateBeginPlaceHolder: '开始日期', + dateEndPlaceHolder: '结束日期', + empty: '清空全部', + clear: '清空已选', + today: '当天', + yesterday: '昨天', + checkall: '全选' + }, + scrollspy: { + guide: '导航' + }, + lookupConfig: { + placeholder: '选择表单元数据', + code: '编号', + name: '名称', + select: '选择帮助元数据', + filter: '配置条件', + helpidEmpty: 'helpId不能为空', + selectTitle: '帮助元数据选择', + lookupTitle: '帮助配置', + sure: '确定', + cancel: '取消', + successSave: '保存成功', + helpIdError: '请选择帮助元数据', + fileNamePlaceholder: '选择帮助文本字段', + selectFileNameTitle: '文本字段选择器', + bindingPath: '绑定字段', + fieldError: '已绑定字段不存在!', + textFieldLable: '帮助文本字段', + loadTypeTitle: '选择加载方式', + loadTypeList: { + all: '全部加载', + layer: '分层加载', + default: '默认' + }, + powerTitle: '权限设置', + powerObjLabel: '权限对象', + powerFieldLabel: '权限字段', + powerOperateLabel: '权限操作', + linkfieldLabel: '帮助关联字段', + powerDataTitle: '权限对象选择', + powerFieldTitle: '权限字段选择', + powerOperateTitle: '操作选择', + businessLable: '业务对象', + powerLable: '权限对象', + powerError: '请选择权限对象', + operateError: '请选择操作', + linkfieldError: '请选择权限字段' + }, + condition: { + add: '添加条件', + create: '生成条件组', + reset: '重置', + and: '与', + or: '或' + }, + operators: { + equal: '等于', + notEqual: '不等于', + greater: '大于', + greaterOrEqual: '大于等于', + less: '小于', + lessOrEqual: '小于等于', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '属于', + notIn: '不属于', + empty: '为空', + notEmpty: '不为空', + null: 'null', + notNull: '不为null', + startWith: '开始是', + endWith: '结束是', + and: '与', + or: '或' + }, + drawer: { + cancel: '取消', + confirm: '确定' + }, + eventParameter: { + title: '参数编辑器', + ok: '确定', + cancel: '取消', + workFlowClass: { + title: '请选择流程分类' + }, + generalEditor: { + field: '字段', + tabVar: '变量', + form: '表单组件' + }, + jsonEditor: { + dialogTitle: '可配置参数编辑器', + keyColumnTitle: '参数', + valueColumnTitle: '参数值', + addButtonText: '添加配置参数', + keyColumnPlaceholder: '请输入参数', + error: 'JsonEditor的参数预期是数组,但收到无效的JSON' + }, + comboTree: { + placeholder: '请选择' + } + } + }, + uiDesigner: { + combo: { + placeholder: '请选择', + emptyMsg: '暂无数据' + }, + combolist: { + // trueValueTitle: '选中的值', + // falseValueTitle: '未选中的值', + remoteError: '请求方法类型不正确', + placeholder: '请选择' + }, + datePicker: { + dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, + monthLabels: { + 1: '一月', + 2: '二月', + 3: '三月', + 4: '四月', + 5: '五月', + 6: '六月', + 7: '七月', + 8: '八月', + 9: '九月', + 10: '十月', + 11: '十一月', + 12: '十二月' + }, + dateFormat: 'yyyy-MM-dd', + returnFormat: 'yyyy-MM-dd', + firstDayOfWeek: 'mo', + sunHighlight: false, + yearTxt: '年', + timeBtnText: '选择时间', + dateBtnText: '选择日期', + commitBtnText: '确定', + weekText: '周', + placeholder: '请选择日期', + range: { + begin: '请选择开始日期', + end: '请选择结束日期' + }, + message: { + 101: '结束时间不得早于开始时间!', + 102: '仅允许选择 ${0} 个日期' + }, + current: { + today: '今天', + week: '本周', + month: '本月', + year: '今年' + }, + multiDatesLocale: { + backtotoday: '回到今天', + clearSelections: '清空', + delete: '删除', + selected: '已选,天' + } + }, + datagrid: { + lineNumberTitle: '序号', + emptyMessage: '暂无数据', + pagination: { + previousLabel: '上一页', + nextLabel: '下一页', + message: '共 {1} 条 ', + pagelist: { + firstText: '显示', + lastText: '条' + }, + previous: '上一页', + next: '下一页' + }, + filter: { + title: '筛选', + reset: '重置', + clear: '清空', + clearAll: '清空所有条件', + setting: '高级设置', + nofilter: '[ 无 ]', + checkAll: '全选', + and: '并且', + or: '或者', + operators: { + equal: '等于', + notEqual: '不等于', + greater: '大于', + greaterOrEqual: '大于等于', + less: '小于', + lessOrEqual: '小于等于', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '属于', + notIn: '不属于', + empty: '为空', + notEmpty: '不为空', + null: 'null', + notNull: '不为null' + }, + more: '查看更多', + ok: '确定', + cancel: '取消', + sevenDays: '七天', + oneMonth: '一个月', + threeMonths: '三个月', + sixMonths: '半年' + }, + settings: { + visible: '显示列', + sortting: '列排序', + title: '列配置', + canchoose: '可选列', + choosed: '已选列', + asc: '升序', + desc: '降序', + cancelSort: '取消排序', + ok: '确定', + cancel: '取消', + reset: '恢复默认', + conciseMode: '简洁模式', + advancedMode: '高级模式', + formatSetting: '列格式', + properties: '列属性', + groupping: '分组', + allColumns: '所有列', + visibleColumns: '可见列', + hiddenColumns: '隐藏列', + searchPlaceholder: '请输入列名称', + checkall: '全部显示/隐藏', + headeralign: '表头对齐', + dataalign: '数据对齐', + alignLeft: '左对齐', + alignCenter: '居中对齐', + alignRight: '右对齐', + summarytype: '汇总合计类型', + summarytext: '汇总合计文本', + summaryNone: '无', + summarySum: '求和', + summaryMax: '最大值', + summaryMin: '最小值', + summarCount: '计数', + summaryAverage: '平均值', + grouppingField: '分组字段', + moreGrouppingFieldWarningMessage: '最多设置3个字段进行分组', // Up to 3 fields are set for grouping + grouppingSummary: '分组合计', + addGrouppingFieldTip: '添加分组字段', + removeGrouppingFieldTip: '移除分组字段', + grouppingSummaryType: '分组合计类型', + grouppingSummaryText: '分组合计文本', + restoreDefaultSettingsText: '确认要恢复默认设置吗?', + simple: { + title: '显示列', + tip: '选中的字段可展示到列表中,拖拽可调整在列表中的展示顺序。', + count: '已显示 {0} 列' + } + }, + selectionData: { + clearAll: '清空', + tooltip: '点击显示已选记录列表', + currentLenth: `已选择:{0} 条` + }, + groupRow: { + tips: '拖动列到这儿可进行数据分组', + removeColumn: '移除分组列', + clearTip: '清除所有分组字段', + clear: '清空' + }, + summary: { + title: '当页合计' + }, + loadingMessage: '正在加载', + commandColumn: { + title: '操作' + } + }, + filterEditor: { + // 取消 + cancelButton: '取消', + // 确定 + okButton: '确定', + // 添加子句 + addWhere: '添加子句', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + // 左括号 + leftBrackets: '左括号', + // 字段 + field: '字段', + // 操作符 + operator: '操作符', + // 值 + value: '值', + // 值类型 + valueType: '值类型', + expressType: { + value: '值', + express: '表达式', + frontExpress: '表单表达式' + }, + // 右括号 + rightBrackets: '右括号', + // 关系 + relation: '关系', + relationValue: { + and: '并且', + or: '或者' + }, + designTab: '设计器', + jsonTab: '源代码', + sqlTab: 'Sql预览', + title: '条件编辑器', + message: '确认要清空当前所有数据吗?', + validate: { + bracket: '左右括号不匹配,请检查', + relation: '条件关系不完整,请检查', + field: '条件字段未设置,请检查' + } + }, + enumEditor: { + // 取消 + cancelButton: '取消', + // 确定 + okButton: '确定', + // 添加子句 + addWhere: '添加', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: '置底', + + title: '枚举数据编辑器', + message: '确认要清空当前所有数据吗?', + value: '值', + name: '名称' + }, + lookup: { + placeholder: '请选择', + favorites: '收藏夹', + selected: '已选数据', + okText: '确定', + cancelText: '取消', + allColumns: '所有列', + datalist: '数据列表', + mustWriteSomething: '请输入关键字后查询。', + mustChoosAdatarow: '请选择一条记录!', + tipText: '您要找的是不是这些?', + cascade: { + enable: '同步选择', + disable: '仅选择自身', + up: '包含上级', + down: '包含下级' + }, + includechildren: '包含下级', + favoriteInfo: { + addFav: '已添加到收藏夹。', + cancelFav: '已从收藏夹中移除。', + addFavTitle: '收藏', + cancelFavTitle: '取消收藏' + }, + getAllChilds: '获取所有子级数据', + contextMenu: { + checkChildNodes: '勾选下级数据', + uncheckChildNodes: '取消勾选下级数据', + expandall: '全部展开', + collapseall: '全部收起', + expandByLayer: '按层级展开', + expand1: '展开 1 级', + expand2: '展开 2 级', + expand3: '展开 3 级', + expand4: '展开 4 级', + expand5: '展开 5 级', + expand6: '展开 6 级', + expand7: '展开 7 级', + expand8: '展开 8 级', + expand9: '展开 9 级' + }, + quick: { + notfind: '未找到搜索内容', + more: '显示更多' + }, + configError: '帮助显示列未配置,请检查是否已正确配置帮助数据源! ', + selectedInfo: { + total: '已选 {0} 条', + clear: '取消已选', + remove: '移除 ({0})', + confirm: '您确认要取消所有选中记录吗?' + }, + clearAllConditions: '清除所有查询条件', + anyFields: '全部' + }, + loading: { + message: '正在加载,请稍候...' + }, + modal: {}, + messager: { + yes: '是', + no: '否', + ok: '确定', + cancel: '取消', + title: '系统提示', + errorTitle: '错误提示', + prompt: { + fontSize: { + name: '字体大小', + small: '小', + middle: '中', + big: '大', + large: '特大', + huge: '超大' + }, + tips: { + surplus: '还可以输入 {0} 个字符', + length: '已输入 {0} 个字符' + } + }, + exception: { + expand: '展开', + collapse: '收起', + happend: '发生时间', + detail: '详细信息', + copy: '复制详细信息', + copySuccess: '复制成功', + copyFailed: '复制失败', + roger: '知道了' + } + }, + notify: { + title: '系统提示' + }, + dialog: {}, + datatable: {}, + colorPicker: {}, + numberSpinner: { + placeholder: '请输入数字', + range: { + begin: '请输入开始数字', + end: '请输入结束数字' + } + }, + inputGroup: {}, + sortEditor: { + // 取消 + cancel: '取消', + // 确定 + ok: '确定', + // 添加子句 + add: '添加', + clear: '清空', + // 置顶 + moveTop: '置顶', + // 上移 + moveUp: '上移', + // 下移 + moveDown: '下移', + // 置底 + moveBottom: ' 置底', + + // 字段 + field: '字段', + // 排序 + order: '排序', + asc: '升序', + desc: '降序', + title: '排序设置' + }, + treetable: { + emptyMessage: '暂无数据', + pagination: { + previousLabel: '上一页', + nextLabel: '下一页', + message: '每页 {0} 条记录,共 {1} 条记录。' + } + }, + multiSelect: { + leftTitle: '未选择', + rightTitle: '已选择', + noDataMoveMessage: '请选择要移动的数据。', + shiftRight: '右移', + shiftLeft: '左移', + allShiftRight: '全部右移', + allShiftLeft: '全部左移', + top: '置顶', + bottom: '置底', + shiftUp: '上移', + shiftDown: '下移', + emptyData: '暂无数据', + filterPlaceholder: '输入筛选项名称搜索' + }, + tabs: { + more: '更多', + }, + timePicker: { + placeholder: '请选择时间', + time: { + hour: '时', minute: '分', seconds: '秒' + } + }, + wizard: {}, + tree: {}, + tooltip: {}, + listview: { + emptyMessage: '暂无数据' + }, + text: { + yes: '是', + no: '否', + zoom: '在打开的对话框中编辑内容', + comments: { + title: '常用意见', + manager: '意见管理', + empty: '暂无数据' + } + }, + switch: {}, + sidebar: { + sidebar: '详情', + }, + section: { + expandLabel: '展开', + collapseLabel: '收起' + }, + pagination: { + message: '共 {1} 条 ', + totalInfo: { + firstText: '共', + lastText: '条' + }, + pageList: { + firstText: '每页', + lastText: '条' + }, + previous: '上一页', + next: '下一页', + goto: { + prefix: '跳转至', + suffix: '页' + }, + show: '显示' + }, + responseToolbar: { + more: '更多', + }, + queryCondition: { + configDialog: { + unSelectedOptions: '未选择项', + selectedOptions: '已选择项', + confirm: '确定', + cancel: '取消', + placeholder: '请输入搜索关键字', + moveUp: '上移', + moveAllUp: '全部上移', + moveDown: '下移', + moveAllDown: '全部下移', + moveRight: '右移', + moveAllRight: '全部右移', + moveLeft: '左移', + moveAllLeft: '全部左移', + pleaseSelect: '请选择字段', + noOptionMove: '没有可移动字段', + selectOptionUp: '请选择上移字段', + cannotMoveUp: '无法上移', + selectOptionTop: '请选择置顶字段', + optionIsTop: '字段已置顶', + selectOptionDown: '请选择下移字段', + cannotMoveDown: '无法下移', + selectOptionBottom: '请选择置底字段', + optionIsBottom: '字段已置底' + }, + container: { + query: '筛选', + saveAs: '另存为', + save: '保存', + config: '配置' + } + }, + querySolution: { + saveAsDialog: { + queryPlanName: '方案名称', + setAsDefault: '设为默认', + confirm: '确定', + cancel: '取消', + caption: '新增方案', + personal: '用户个人方案', + system: '系统公共方案', + nameNotify: '请填写方案名称', + authNotify: '您暂无权限修改公共类型方案。', + success: '查询方案保存成功。', + maxLength: '方案名称最多100个字符,超出请修改' + }, + manageDialog: { + caption: '方案管理', + default: '默认', + system: '系统公共', + saveAs: '另存为', + save: '保存', + manage: '管理', + isDefault: '默认方案', + code: '名称', + type: '属性', + private: '用户个人方案', + public: '系统公共方案', + org: '组织公共方案', + remove: '删除' + }, + configDialog: { + caption: '筛选条件配置' + }, + container: { + filter: '筛选', + default: '默认筛选方案', + clear: '清空', + require: '请填写{fields}再进行筛选' + } + }, + collapseDirective: { + expand: '展开', + fold: '收起' + }, + avatar: { + imgtitle: '点击修改', + typeError: '上传图片类型不正确', + sizeError: '上传图片不能大于', + uploadError: '图片上传失败,请重试!', + loadError: '加载错误', + loading: '加载中' + }, + listFilter: { + filter: '筛选', + confirm: '确定', + cancel: '取消', + reset: '清空条件' + }, + progressStep: { + empty: '步骤条信息为空' + }, + languageLabel: { + en: '英语', + "zh-cn": '简体中文', + "zh-CHS": '简体中文', + "zh-CHT": '繁体中文', + ok: '确定', + cancel: '取消' + }, + verifyDetail: { + vertifyTypeAll: '全部', + vertifyTypeError: '错填', + vertifyTypeEmpty: '漏填' + }, + batchEditDialog: { + title: '批量编辑', + appendText: '添加新编辑列', + appendTextTip: '添加更多列进行批量操作', + okText: '确定', + cancelText: '取消', + field: '请选择要编辑的列:', + fieldValue: '请输入要更改的值:', + appendTips: '添加更多列进行批量操作', + selected: '已选', + row: '行', + confirmTitle: '提示', + neverShow: '不再提示', + confirmText: '将修改{0}行数据,确定修改吗?' + }, + pageWalker: { + next: '下一步', + prev: '上一步', + skip: '跳过', + startNow: '立即体验' + }, + footer: { + expandText: '查看更多信息', + collapseText: '查看更多信息' + }, + discussionGroup: { + submit: '提交', + cancel: '取消', + colleague: '同事', + all: '所有人员可见', + related: '仅相关人员可见', + confirm: '确定', + reply: '回复', + emptyMessage: '暂无数据', + placeholder: '请输入姓名搜索', + notEmpty: '提交内容不能为空', + selectEmployee: '选择员工', + next: '下级', + emptySelected: '清空已选', + emptyRight: '请在左侧选择人员', + allOrg: '全部组织', + selected: '已选', + section: '部门', + people: '人员', + viewMore: '查看更多', + per: '人', + pcs: '个', + emptyList: '联系人为空', + advancedQuery: '高级查询' + }, + tag: { + addText: '添加', + placeholder: '请输入' + }, + filterPanel: { + filter: '筛选', + confirm: '确定', + cancel: '取消', + reset: '清除筛选', + advancedFilter: '高级筛选', + expand: '展开', + fold: '收起', + last1Month: '近一月', + last3Month: '近三月', + last6Month: '近半年', + pleaseInput: '请先录入', + searchHistory: '历史搜索', + searchResult: '查询结果', + intervalFilter: '按区间筛选', + beginPlaceHolder: '最低值', + endPlaceHolder: '最高值', + dateBeginPlaceHolder: '开始日期', + dateEndPlaceHolder: '结束日期', + empty: '清空全部', + clear: '清空已选', + today: '当天', + yesterday: '昨天', + checkall: '全选' + }, + scrollspy: { + guide: '导航' + }, + lookupConfig: { + placeholder: '选择表单元数据', + code: '编号', + name: '名称', + select: '选择帮助元数据', + filter: '配置条件', + helpidEmpty: 'helpId不能为空', + selectTitle: '帮助元数据选择', + lookupTitle: '帮助配置', + sure: '确定', + cancel: '取消', + successSave: '保存成功', + helpIdError: '请选择帮助元数据', + fileNamePlaceholder: '选择帮助文本字段', + selectFileNameTitle: '文本字段选择器', + bindingPath: '绑定字段', + fieldError: '已绑定字段不存在!', + textFieldLable: '帮助文本字段', + loadTypeTitle: '选择加载方式', + loadTypeList: { + all: '全部加载', + layer: '分层加载', + default: '默认' + }, + powerTitle: '权限设置', + powerObjLabel: '权限对象', + powerFieldLabel: '权限字段', + powerOperateLabel: '权限操作', + linkfieldLabel: '帮助关联字段', + powerDataTitle: '权限对象选择', + powerFieldTitle: '权限字段选择', + powerOperateTitle: '操作选择', + businessLable: '业务对象', + powerLable: '权限对象', + powerError: '请选择权限对象', + operateError: '请选择操作', + linkfieldError: '请选择权限字段' + }, + condition: { + add: '添加条件', + create: '生成条件组', + reset: '重置', + and: '与', + or: '或' + }, + operators: { + equal: '等于', + notEqual: '不等于', + greater: '大于', + greaterOrEqual: '大于等于', + less: '小于', + lessOrEqual: '小于等于', + contains: '包含', + notContains: '不包含', + like: '包含', + notLike: '不包含', + in: '属于', + notIn: '不属于', + empty: '为空', + notEmpty: '不为空', + null: 'null', + notNull: '不为null', + startWith: '开始是', + endWith: '结束是', + and: '与', + or: '或' + }, + drawer: { + cancel: '取消', + confirm: '确定' + }, + eventParameter: { + title: '参数编辑器', + ok: '确定', + cancel: '取消', + workFlowClass: { + title: '请选择流程分类' + }, + generalEditor: { + field: '字段', + tabVar: '变量', + form: '表单组件' + }, + jsonEditor: { + dialogTitle: '可配置参数编辑器', + keyColumnTitle: '参数', + valueColumnTitle: '参数值', + addButtonText: '添加配置参数', + keyColumnPlaceholder: '请输入参数', + error: 'JsonEditor的参数预期是数组,但收到无效的JSON' + }, + comboTree: { + placeholder: '请选择' + } + } + } +}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/avatar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/avatar.ts deleted file mode 100644 index 1272a5308fd6f46a1a0adab30b5a9dcd2066a387..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/avatar.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const AVATAR_LOCALE_ZHCHS = { - imgtitle: '点击修改', - typeError: '上传图片类型不正确', - sizeError: '上传图片不能大于', - uploadError: '图片上传失败,请重试!', - loadError: '加载错误', - loading:'加载中' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/batch-edit-dialog.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/batch-edit-dialog.ts deleted file mode 100644 index 4b9bbd64136b47e4ac614c132148cc6e3d274487..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/batch-edit-dialog.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const BATCH_EDIT_DIALOG_LOCALE_ZHCHS = { - title: '批量编辑', - appendText: '添加新编辑列', - appendTextTip: '添加更多列进行批量操作', - okText: '确定', - cancelText: '取消', - field: '请选择要编辑的列:', - fieldValue: '请输入要更改的值:', - appendTips: '添加更多列进行批量操作', - selected: '已选', - row: '行', - confirmTitle: '提示', - neverShow: '不再提示', - confirmText: '将修改{0}行数据,确定修改吗?' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/collapse.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/collapse.ts deleted file mode 100644 index 7393f636e6d405a366cb0e901bd05d29cc23622e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/collapse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COLLAPSE_DIRECTIVE_LOCALE_ZHCHS = { - expand: '展开', - fold: '收起' -} diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/combo.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/combo.ts deleted file mode 100644 index ff7cbda877406151a43502346988f4fe0c4c7cb4..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/combo.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const COMBO_LOCALE = { - placeholder: '请选择', - emptyMsg: '暂无数据' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/condition.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/condition.ts deleted file mode 100644 index c7e50b0e0a90c24bfb7b4eee844751b90c6b4053..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/condition.ts +++ /dev/null @@ -1,29 +0,0 @@ -export const OPERATORS_LOCALE_ZHCHS ={ - equal: '等于', - notEqual: '不等于', - greater: '大于', - greaterOrEqual: '大于等于', - less: '小于', - lessOrEqual: '小于等于', - contains: '包含', - notContains: '不包含', - like: '包含', - notLike: '不包含', - in: '属于', - notIn: '不属于', - empty: '为空', - notEmpty: '不为空', - null: 'null', - notNull: '不为null', - startWith:'开始是', - endWith:'结束是', - and:'与', - or:'或' -}; -export const CONDITION_LOCALE_ZHCHS ={ - add:'添加条件', - create:'生成条件组', - reset:'重置', - and:'与', - or:'或' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/datagrid.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/datagrid.ts deleted file mode 100644 index 6e4130dd69dbfd4af601595eef621cc214543d79..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/datagrid.ts +++ /dev/null @@ -1,105 +0,0 @@ -export const DATAGRID_LOCALE_ZHCHS = { - lineNumberTitle: '序号', - emptyMessage: '暂无数据', - pagination: { - previousLabel: '上一页', - nextLabel: '下一页', - message: '共 {1} 条 ', - pagelist: { - firstText: '显示', - lastText: '条' - }, - previous: '上一页', - next: '下一页' - }, - filter: { - title: '过滤条件', - reset: '重置', - clear: '清空条件', - clearAll: '清空所有条件', - setting: '高级设置', - nofilter: '[ 无 ]', - checkAll: '全选', - and: '并且', - or: '或者', - operators: { - equal: '等于', - notEqual: '不等于', - greater: '大于', - greaterOrEqual: '大于等于', - less: '小于', - lessOrEqual: '小于等于', - contains: '包含', - notContains: '不包含', - like: '包含', - notLike: '不包含', - in: '属于', - notIn: '不属于', - empty: '为空', - notEmpty: '不为空', - null: 'null', - notNull: '不为null' - }, - more: '查看更多' - }, - settings: { - visible: '显示列', - sortting: '列排序', - title: '列配置', - canchoose: '可选列', - choosed: '已选列', - asc: '升序', - desc: '降序', - cancelSort: '取消排序', - ok: '确定', - cancel: '取消', - reset: '恢复默认', - conciseMode: '简洁模式', - advancedMode: '高级模式', - formatSetting: '列格式', - properties: '列属性', - groupping: '分组', - allColumns: '所有列', - visibleColumns: '可见列', - hiddenColumns: '隐藏列', - searchPlaceholder: '请输入列名称', - checkall: '全部显示/隐藏', - headeralign: '表头对齐', - dataalign: '数据对齐', - alignLeft: '左对齐', - alignCenter: '居中对齐', - alignRight: '右对齐', - summarytype: '汇总合计类型', - summarytext: '汇总合计文本', - summaryNone: '无', - summarySum: '求和', - summaryMax: '最大值', - summaryMin: '最小值', - summarCount: '计数', - summaryAverage: '平均值', - grouppingField: '分组字段', - moreGrouppingFieldWarningMessage: '最多设置3个字段进行分组', // Up to 3 fields are set for grouping - grouppingSummary: '分组合计', - addGrouppingFieldTip: '添加分组字段', - removeGrouppingFieldTip: '移除分组字段', - grouppingSummaryType: '分组合计类型', - grouppingSummaryText: '分组合计文本', - restoreDefaultSettingsText: '确认要恢复默认设置吗?', - simple: { - title: '显示列', - tip: '选中的字段可展示到列表中,拖拽可调整在列表中的展示顺序。', - count: '已显示 {0} 列' - } - }, - selectionData: { - clearAll: '清空', - tooltip: '点击显示已选记录列表', - currentLenth: `已选择:{0} 条` - }, - groupRow: { - tips: '拖动列到这儿可进行数据分组', - removeColumn: '移除分组列', - clearTip: '清除所有分组字段', - clear: '清空' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/date-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/date-picker.ts deleted file mode 100644 index f06b9f5b2213ee538e124d9cf570ccdc1c159b4b..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/date-picker.ts +++ /dev/null @@ -1,48 +0,0 @@ - -export const DATEPICKER_LOCALE_ZHCHS = { - dayLabels: { Sun: '日', Mon: '一', Tue: '二', Wed: '三', Thu: '四', Fri: '五', Sat: '六' }, - monthLabels: { - 1: '一月', - 2: '二月', - 3: '三月', - 4: '四月', - 5: '五月', - 6: '六月', - 7: '七月', - 8: '八月', - 9: '九月', - 10: '十月', - 11: '十一月', - 12: '十二月' - }, - dateFormat: 'yyyy-MM-dd', - returnFormat: 'yyyy-MM-dd', - firstDayOfWeek: 'mo', - sunHighlight: false, - yearTxt: '年', - timeBtnText: '选择时间', - dateBtnText: '选择日期', - commitBtnText: '确定', - weekText: '周', - placeholder: '请选择日期', - range: { - begin: '请选择开始日期', - end: '请选择结束日期' - }, - message: { - 101: '结束时间不得早于开始时间!', - 102: '仅允许选择 ${0} 个日期' - }, - current: { - today: '今天', - week: '本周', - month: '本月', - year: '今年' - }, - multiDatesLocale: { - backtotoday: '回到今天', - clearSelections: '清空', - delete: '删除', - selected: '已选,天' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/discussion-group.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/discussion-group.ts deleted file mode 100644 index 6d936071af407147e002ee4807c794ca2e5c6218..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/discussion-group.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const DISCUSSION_GROUP_LOCALE_ZHCHS = { - submit: '提交', - cancel: '取消', - colleague: '同事', - all: '所有人员可见', - related: '仅相关人员可见', - confirm: '确定', - reply: '回复', - emptyMessage: '暂无数据', - placeholder: '请输入姓名搜索', - notEmpty: '提交内容不能为空', - selectEmployee: '选择员工', - next: '下级', - emptySelected: '清空已选', - emptyRight: '请在左侧选择人员', - allOrg: '全部组织', - selected: '已选', - section: '部门', - people: '人员', - viewMore: '查看更多', - per: '人', - pcs: '个', - emptyList: '联系人为空', - advancedQuery: '高级查询' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/drawer.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/drawer.ts deleted file mode 100644 index e4631c3e93389a941eff4139a9006dfad9428e74..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/drawer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const DRAWER_LOCALE_ZHCHS = { - cancel: '取消', - confirm: '确定' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-editor.ts deleted file mode 100644 index 03ea0a5476741fa5a3791d8b9ae89f8af713c5cf..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-editor.ts +++ /dev/null @@ -1,74 +0,0 @@ -export const FILTER_EDITOR_LOCALE_ZHCHS = { - // 取消 - cancelButton: '取消', - // 确定 - okButton: '确定', - // 添加子句 - addWhere: '添加子句', - clear: '清空', - // 置顶 - moveTop: '置顶', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: '置底', - // 左括号 - leftBrackets: '左括号', - // 字段 - field: '字段', - // 操作符 - operator: '操作符', - // 值 - value: '值', - // 值类型 - valueType: '值类型', - expressType: { - value: '值', - express: '表达式', - frontExpress: '表单表达式' - }, - // 右括号 - rightBrackets: '右括号', - // 关系 - relation: '关系', - relationValue: { - and: '并且', - or: '或者' - }, - designTab: '设计器', - jsonTab: '源代码', - sqlTab: 'Sql预览', - title: '条件编辑器', - message: '确认要清空当前所有数据吗?', - validate: { - bracket: '左右括号不匹配,请检查', - relation: '条件关系不完整,请检查', - field: '条件字段未设置,请检查' - } -}; - -export const ENUM_EDITOR_LOCALE_ZHCHS = { - // 取消 - cancelButton: '取消', - // 确定 - okButton: '确定', - // 添加子句 - addWhere: '添加', - clear: '清空', - // 置顶 - moveTop: '置顶', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: '置底', - - title: '枚举数据编辑器', - message: '确认要清空当前所有数据吗?', - value: '值', - name: '名称' -}; - diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-panel.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-panel.ts deleted file mode 100644 index e22861a291eb0b905da21631213ac41eb4dcc413..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/filter-panel.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const FILTER_PANEL_LOCALE_ZHCHS = { - filter: '筛选', - confirm: '确定', - cancel: '取消', - reset: '清除筛选', - advancedFilter: '高级筛选', - expand: '展开', - fold: '收起', - last1Month: '近一月', - last3Month: '近三月', - last6Month: '近半年', - pleaseInput: '请先录入', - searchHistory: '历史搜索', - searchResult: '查询结果', - intervalFilter: '按区间筛选', - beginPlaceHolder: '最低值', - endPlaceHolder: '最高值', - dateBeginPlaceHolder: '开始日期', - dateEndPlaceHolder: '结束日期', - empty: '清空全部', - clear: '清空已选', - today:'当天', - yesterday: '昨天', - checkall: '全选' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/footer.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/footer.ts deleted file mode 100644 index 952526edd057c965185ef76328b4b14d38748995..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/footer.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const FOOTER_LOCALE_ZHCHS = { - expandText: '查看更多信息', - collapseText: '查看更多信息' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/index.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/index.ts deleted file mode 100644 index f660fe321a6d526ed084fc2eb805e5c483eba2a2..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/index.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { LISTVIEW_LOCALE_ZHCHS } from './list-view'; -import { LOOKUP_LOCALE_ZHCHS } from './lookup'; -import { DATAGRID_LOCALE_ZHCHS } from './datagrid'; -import { SECTION_LOCALE_ZHCHS } from './section'; -import { LOADING_LOCALE_ZHCHS } from './loading'; -import { FILTER_EDITOR_LOCALE_ZHCHS, ENUM_EDITOR_LOCALE_ZHCHS } from './filter-editor'; -import { MESSAGER_LOCALE_ZHCHS } from './messager'; -import { NOTIFY_LOCALE_ZHCHS } from './notify'; -import { PAGINATION_LOCALE_ZHCHS } from './pagination'; -import { SORT_EDITOR_LOCALE_ZHCHS } from './sort-editor'; -import { TEXT_LOCALE_ZHCHS } from './text'; -import { SIDEBAR_LOCALE_ZHCHS } from './sidebar'; -import { TABS_LOCALE_ZHCHS } from './tabs'; -import { RESPONSE_TOOLBAR_LOCALE_ZHCHS } from './response-toolbar'; -import { MULTI_SELECT_LOCALE_ZHCHS } from './multi-select'; -import { QUERY_CONDITION_LOCALE_ZHCHS } from './query-condition'; -import { QUERY_SOLUTION_LOCALE_ZHCHS } from './query-solution'; -import { COLLAPSE_DIRECTIVE_LOCALE_ZHCHS } from './collapse'; -import { TREETABLE_LOCALE_ZHCHS } from './treetable'; -import { AVATAR_LOCALE_ZHCHS } from './avatar'; -import { LIST_FILTER_LOCALE_ZHCHS } from './list-filter'; -import { PROGRESS_STEP_LOCALE_ZHCHS } from './progress-step'; -import { LANGUAGE_LABEL_LOCALE_ZHCHS } from './language-label'; -import { VERIFY_DETAIL_ZHCHS } from './verify-detail'; -import { BATCH_EDIT_DIALOG_LOCALE_ZHCHS } from './batch-edit-dialog'; -import { PAGE_WALKER_ZHCHS } from './page-walker'; -import { FOOTER_LOCALE_ZHCHS } from './footer'; -import { DISCUSSION_GROUP_LOCALE_ZHCHS } from './discussion-group'; -import { TAG_LOCALE_ZHCHS } from './tag'; -import { NUMERIC_LOCALE_ZHCHS } from './numeric'; -import { FILTER_PANEL_LOCALE_ZHCHS } from './filter-panel'; -import { SCROLLSPY_LOCALE_ZHCHS } from './scrollspy'; -import { LOOKUP_CONFIG_LOCALE_ZHCHS } from './lookup-config'; -import { COMBO_LOCALE } from './combo'; -import { CONDITION_LOCALE_ZHCHS, OPERATORS_LOCALE_ZHCHS } from './condition'; -import { DRAWER_LOCALE_ZHCHS } from './drawer'; -import { DATEPICKER_LOCALE_ZHCHS } from './date-picker'; -import { TIME_PICKER_LOCALES_ZHCHS } from './time-picker'; - -export const ZH_CN = { - locale: 'ZH_CN', - combo: COMBO_LOCALE, - combolist: {}, - datePicker: DATEPICKER_LOCALE_ZHCHS, - datagrid: DATAGRID_LOCALE_ZHCHS, - filterEditor: FILTER_EDITOR_LOCALE_ZHCHS, - enumEditor: ENUM_EDITOR_LOCALE_ZHCHS, - lookup: LOOKUP_LOCALE_ZHCHS, - loading: LOADING_LOCALE_ZHCHS, - modal: {}, - messager: MESSAGER_LOCALE_ZHCHS, - notify: NOTIFY_LOCALE_ZHCHS, - dialog: {}, - datatable: {}, - colorPicker: {}, - numberSpinner: NUMERIC_LOCALE_ZHCHS, - inputGroup: {}, - sortEditor: SORT_EDITOR_LOCALE_ZHCHS, - treetable: TREETABLE_LOCALE_ZHCHS, - multiSelect: MULTI_SELECT_LOCALE_ZHCHS, - tabs: TABS_LOCALE_ZHCHS, - timePicker: TIME_PICKER_LOCALES_ZHCHS, - wizard: {}, - tree: {}, - tooltip: {}, - listview: LISTVIEW_LOCALE_ZHCHS, - text: TEXT_LOCALE_ZHCHS, - switch: {}, - sidebar: SIDEBAR_LOCALE_ZHCHS, - section: SECTION_LOCALE_ZHCHS, - pagination: PAGINATION_LOCALE_ZHCHS, - responseToolbar: RESPONSE_TOOLBAR_LOCALE_ZHCHS, - queryCondition: QUERY_CONDITION_LOCALE_ZHCHS, - querySolution: QUERY_SOLUTION_LOCALE_ZHCHS, - collapseDirective: COLLAPSE_DIRECTIVE_LOCALE_ZHCHS, - avatar: AVATAR_LOCALE_ZHCHS, - listFilter: LIST_FILTER_LOCALE_ZHCHS, - progressStep: PROGRESS_STEP_LOCALE_ZHCHS, - languageLabel: LANGUAGE_LABEL_LOCALE_ZHCHS, - verifyDetail: VERIFY_DETAIL_ZHCHS, - batchEditDialog: BATCH_EDIT_DIALOG_LOCALE_ZHCHS, - pageWalker: PAGE_WALKER_ZHCHS, - footer: FOOTER_LOCALE_ZHCHS, - discussionGroup: DISCUSSION_GROUP_LOCALE_ZHCHS, - tag: TAG_LOCALE_ZHCHS, - filterPanel: FILTER_PANEL_LOCALE_ZHCHS, - scrollspy: SCROLLSPY_LOCALE_ZHCHS, - lookupConfig: LOOKUP_CONFIG_LOCALE_ZHCHS, - condition:CONDITION_LOCALE_ZHCHS, - operators: OPERATORS_LOCALE_ZHCHS, - drawer:DRAWER_LOCALE_ZHCHS -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/input-group.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/input-group.ts deleted file mode 100644 index 240a8731265bb13d637eb8580d9e3d381693a6aa..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/input-group.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const INPUT_GROUP_LOCALE_ZHCHS = { -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/language-label.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/language-label.ts deleted file mode 100644 index 2230a970836c7027c307390e51226e00f6424221..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/language-label.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const LANGUAGE_LABEL_LOCALE_ZHCHS = { - en: '英语', - "zh-cn": '简体中文', - "zh-CHS": '简体中文', - "zh-CHT": '繁体中文', - ok: '确定', - cancel: '取消' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-filter.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-filter.ts deleted file mode 100644 index 4953eeed8a31c5fc3b9935fca715f681b3536cb0..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-filter.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const LIST_FILTER_LOCALE_ZHCHS = { - filter: '筛选', - confirm: '确定', - cancel: '取消', - reset: '清空条件' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-view.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-view.ts deleted file mode 100644 index 609dcd4055a86b4ff2702c4c8e53371973b1f738..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/list-view.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LISTVIEW_LOCALE_ZHCHS = { - emptyMessage: '暂无数据' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/loading.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/loading.ts deleted file mode 100644 index 3560535cb7a5274cd29d99630b9d79742e832cf7..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/loading.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const LOADING_LOCALE_ZHCHS = { - message: '正在加载,请稍候...' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup-config.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup-config.ts deleted file mode 100644 index 750f908e2ea07bc6d9e58369fcc19bca5f719fa2..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup-config.ts +++ /dev/null @@ -1,38 +0,0 @@ -export const LOOKUP_CONFIG_LOCALE_ZHCHS = { - placeholder: '选择表单元数据', - code: '编号', - name: '名称', - select: '选择帮助元数据', - filter: '配置条件', - helpidEmpty: 'helpId不能为空', - selectTitle: '帮助元数据选择', - lookupTitle: '帮助配置', - sure: '确定', - cancel: '取消', - successSave: '保存成功', - helpIdError: '请选择帮助元数据', - fileNamePlaceholder: '选择帮助文本字段', - selectFileNameTitle: '文本字段选择器', - bindingPath: '绑定字段', - fieldError: '已绑定字段不存在!', - textFieldLable: '帮助文本字段', - loadTypeTitle: '选择加载方式', - loadTypeList: { - all:'全部加载', - layer:'分层加载', - default: '默认' - }, - powerTitle:'权限设置', - powerObjLabel:'权限对象', - powerFieldLabel:'权限字段', - powerOperateLabel:'权限操作', - linkfieldLabel:'帮助关联字段', - powerDataTitle:'权限对象选择', - powerFieldTitle:'权限字段选择', - powerOperateTitle:'操作选择', - businessLable:'业务对象', - powerLable:'权限对象', - powerError:'请选择权限对象', - operateError:'请选择操作', - linkfieldError:'请选择权限字段' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup.ts deleted file mode 100644 index e5acc34cbf79e1667b9cd8a2338b4bc1188ab895..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/lookup.ts +++ /dev/null @@ -1,55 +0,0 @@ -export const LOOKUP_LOCALE_ZHCHS = { - placeholder: '请选择', - favorites: '收藏夹', - selected: '已选数据', - okText: '确定', - cancelText: '取消', - allColumns: '所有列', - datalist: '数据列表', - mustWriteSomething: '请输入关键字后查询。', - mustChoosAdatarow: '请选择一条记录!', - tipText: '您要找的是不是这些?', - cascade: { - enable: '同步选择', - disable: '仅选择自身', - up: '包含上级', - down: '包含下级' - }, - includechildren:'包含下级', - favoriteInfo: { - addFav: '已添加到收藏夹。', - cancelFav: '已从收藏夹中移除。', - addFavTitle: '收藏', - cancelFavTitle: '取消收藏' - }, - getAllChilds: '获取所有子级数据', - contextMenu: { - checkChildNodes: '勾选下级数据', - uncheckChildNodes: '取消勾选下级数据', - expandall: '全部展开', - collapseall: '全部收起', - expandByLayer: '按层级展开', - expand1: '展开 1 级', - expand2: '展开 2 级', - expand3: '展开 3 级', - expand4: '展开 4 级', - expand5: '展开 5 级', - expand6: '展开 6 级', - expand7: '展开 7 级', - expand8: '展开 8 级', - expand9: '展开 9 级' - }, - quick: { - notfind: '未找到搜索内容', - more: '显示更多' - }, - configError: '帮助显示列未配置,请检查是否已正确配置帮助数据源! ', - selectedInfo: { - total: '已选 {0} 条', - clear: '取消已选', - remove: '移除 ({0})', - confirm: '您确认要取消所有选中记录吗?' - }, - clearAllConditions: '清除所有查询条件', - anyFields: '全部' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/messager.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/messager.ts deleted file mode 100644 index 845bfdfd0aa71b88c4d752fd3b683cf730a0615f..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/messager.ts +++ /dev/null @@ -1,32 +0,0 @@ -export const MESSAGER_LOCALE_ZHCHS = { - yes: '是', - no: '否', - ok: '确定', - cancel: '取消', - title: '系统提示', - errorTitle: '错误提示', - prompt: { - fontSize: { - name: '字体大小', - small: '小', - middle: '中', - big: '大', - large: '特大', - huge: '超大' - }, - tips: { - surplus: '还可以输入 {0} 个字符', - length: '已输入 {0} 个字符' - } - }, - exception: { - expand: '展开', - collapse: '收起', - happend: '发生时间', - detail: '详细信息', - copy: '复制详细信息', - copySuccess: '复制成功', - copyFailed: '复制失败', - roger: '知道了' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/multi-select.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/multi-select.ts deleted file mode 100644 index eb29553e4b213a524196db99ff124ae21d37ea3d..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/multi-select.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const MULTI_SELECT_LOCALE_ZHCHS = { - leftTitle: '未选择', - rightTitle: '已选择', - noDataMoveMessage: '请选择要移动的数据。', - shiftRight: '右移', - shiftLeft: '左移', - allShiftRight: '全部右移', - allShiftLeft: '全部左移', - top: '置顶', - bottom: '置底', - shiftUp: '上移', - shiftDown: '下移', - emptyData: '暂无数据', - filterPlaceholder: '输入筛选项名称搜索' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/notify.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/notify.ts deleted file mode 100644 index b75a810660e13f6f79cc1478b13cfce4d121f33e..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/notify.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const NOTIFY_LOCALE_ZHCHS = { - title: '系统提示' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/numeric.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/numeric.ts deleted file mode 100644 index 72811cffe824ddd14d7cedafbbd8c2bdf05602df..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/numeric.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const NUMERIC_LOCALE_ZHCHS = { - placeholder: '请输入数字', - range: { - begin: '请输入开始数字', - end: '请输入结束数字' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/page-walker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/page-walker.ts deleted file mode 100644 index 4a9de20eea655679f0d4f8a47267ab01cd549773..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/page-walker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const PAGE_WALKER_ZHCHS = { - next: '下一步', - prev: '上一步', - skip: '跳过', - startNow:'立即体验' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/pagination.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/pagination.ts deleted file mode 100644 index c79f2cbe1ba98f0b2688b33dd7566d4b1ba5ac2b..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/pagination.ts +++ /dev/null @@ -1,17 +0,0 @@ -export const PAGINATION_LOCALE_ZHCHS = { - message: '共 {1} 条 ', - totalinfo: { - firstText: '共', - lastText: '条' - }, - pagelist: { - firstText: '每页', - lastText: '条' - }, - previous: '上一页', - next: '下一页', - goto: { - prefix: '跳至', - suffix: '页' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/progress-step.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/progress-step.ts deleted file mode 100644 index dc7cc96bd23b039618680ec3c65b76271c4f6d01..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/progress-step.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const PROGRESS_STEP_LOCALE_ZHCHS = { - empty: '步骤条信息为空' -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/public-api.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/public-api.ts deleted file mode 100644 index d8f7b861b42001dd056bff6b59dee0f7bacf00fb..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/public-api.ts +++ /dev/null @@ -1,23 +0,0 @@ -export * from './collapse'; -export * from './datagrid'; -export * from './filter-editor'; -export * from './loading'; -export * from './lookup'; -export * from './messager'; -export * from './multi-select'; -export * from './notify'; -export * from './pagination'; -export * from './query-condition'; -export * from './query-solution'; -export * from './response-toolbar'; -export * from './section'; -export * from './sidebar'; -export * from './sort-editor'; -export * from './tabs'; -export * from './text'; -export * from './treetable'; -export * from './avatar'; -export * from './list-filter'; -export * from './progress-step'; -export * from './language-label'; -export * from './verify-detail'; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-condition.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-condition.ts deleted file mode 100644 index 975e45620b3da74d2ff06216f458beca21c79d9a..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-condition.ts +++ /dev/null @@ -1,33 +0,0 @@ -export const QUERY_CONDITION_LOCALE_ZHCHS = { - configDialog: { - unSelectedOptions: '未选择项', - selectedOptions: '已选择项', - confirm: '确定', - cancel: '取消', - placeholder: '请输入搜索关键字', - moveUp: '上移', - moveAllUp: '全部上移', - moveDown: '下移', - moveAllDown: '全部下移', - moveRight: '右移', - moveAllRight: '全部右移', - moveLeft: '左移', - moveAllLeft: '全部左移', - pleaseSelect: '请选择字段', - noOptionMove: '没有可移动字段', - selectOptionUp: '请选择上移字段', - cannotMoveUp: '无法上移', - selectOptionTop: '请选择置顶字段', - optionIsTop: '字段已置顶', - selectOptionDown: '请选择下移字段', - cannotMoveDown: '无法下移', - selectOptionBottom: '请选择置底字段', - optionIsBottom: '字段已置底' - }, - container: { - query: '筛选', - saveAs: '另存为', - save: '保存', - config: '配置' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-solution.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-solution.ts deleted file mode 100644 index 039579a1c596f41353c738f47a8ad11ef53caf28..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/query-solution.ts +++ /dev/null @@ -1,39 +0,0 @@ -export const QUERY_SOLUTION_LOCALE_ZHCHS = { - saveAsDialog: { - queryPlanName: '方案名称', - setAsDefault: '设为默认', - confirm: '确定', - cancel: '取消', - caption: '新增方案', - personal: '用户个人方案', - system: '系统公共方案', - nameNotify: '请填写方案名称', - authNotify: '您暂无权限修改公共类型方案。', - success: '查询方案保存成功。', - maxLength: '方案名称最多100个字符,超出请修改' - }, - manageDialog: { - caption: '方案管理', - default: '默认', - system: '系统公共', - saveAs: '另存为', - save: '保存', - manage: '管理', - isDefault: '默认方案', - code: '名称', - type: '属性', - private: '用户个人方案', - public: '系统公共方案', - org: '组织公共方案', - remove: '删除' - }, - configDialog: { - caption: '筛选条件配置' - }, - container: { - filter: '筛选', - default: '默认筛选方案', - clear: '清空', - require: '请填写{fields}再进行筛选' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/response-toolbar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/response-toolbar.ts deleted file mode 100644 index 956854ac49cc557f290e4d0678a5edf1635058cc..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/response-toolbar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const RESPONSE_TOOLBAR_LOCALE_ZHCHS = { - more: '更多', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/scrollspy.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/scrollspy.ts deleted file mode 100644 index 3bf77b4d9219d9a6b775b683ffff6507e00794d0..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/scrollspy.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SCROLLSPY_LOCALE_ZHCHS = { - guide: '导航' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/section.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/section.ts deleted file mode 100644 index eb2b4e57a1ccc44b53e2e584b2f231e362d70217..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/section.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const SECTION_LOCALE_ZHCHS = { - expandLabel: '展开', - collapseLabel: '收起' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sidebar.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sidebar.ts deleted file mode 100644 index e094eb866a2384cfc851b48e1d70713f9facfde9..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sidebar.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const SIDEBAR_LOCALE_ZHCHS = { - sidebar: '详情', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sort-editor.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sort-editor.ts deleted file mode 100644 index 8470a5b706413f79f90bd552ae1b0fb891b6804c..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/sort-editor.ts +++ /dev/null @@ -1,25 +0,0 @@ -export const SORT_EDITOR_LOCALE_ZHCHS = { - // 取消 - cancel: '取消', - // 确定 - ok: '确定', - // 添加子句 - add: '添加', - clear: '清空', - // 置顶 - moveTop: '置顶', - // 上移 - moveUp: '上移', - // 下移 - moveDown: '下移', - // 置底 - moveBottom: ' 置底', - - // 字段 - field: '字段', - // 排序 - order: '排序', - asc: '升序', - desc: '降序', - title: '排序设置' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tabs.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tabs.ts deleted file mode 100644 index 56801fcc2596b04dee898659053918236fbee22b..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tabs.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const TABS_LOCALE_ZHCHS = { - more: '更多', -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tag.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tag.ts deleted file mode 100644 index e17c30d0f1459979bc7ae6cdd86212f2f4be8142..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/tag.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const TAG_LOCALE_ZHCHS = { - addText: '添加', - placeholder: '请输入' -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/text.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/text.ts deleted file mode 100644 index e49656c2a581edd6f272279fb84ef73fc16cd522..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/text.ts +++ /dev/null @@ -1,10 +0,0 @@ -export const TEXT_LOCALE_ZHCHS = { - yes: '是', - no: '否', - zoom: '在打开的对话框中编辑内容', - comments: { - title: '常用意见', - manager: '意见管理', - empty: '暂无数据' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/time-picker.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/time-picker.ts deleted file mode 100644 index c66c97fcd0b52b82adef1d41342c5dde6f2f9259..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/time-picker.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const TIME_PICKER_LOCALES_ZHCHS = { - placeholder: '请选择时间', - time: { - hour: '时', minute: '分', seconds: '秒' - } -}; \ No newline at end of file diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/treetable.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/treetable.ts deleted file mode 100644 index 07c4920267148660cbb87ba777d4df6773d5bfb8..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/treetable.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const TREETABLE_LOCALE_ZHCHS = { - emptyMessage: '暂无数据', - pagination: { - previousLabel: '上一页', - nextLabel: '下一页', - message: '每页 {0} 条记录,共 {1} 条记录。' - } -}; diff --git a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/verify-detail.ts b/packages/ui-vue/components/locale/src/lib/locales/zh-cn/verify-detail.ts deleted file mode 100644 index e0fc27155be71ccd3de0d79246e48da4710490ac..0000000000000000000000000000000000000000 --- a/packages/ui-vue/components/locale/src/lib/locales/zh-cn/verify-detail.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const VERIFY_DETAIL_ZHCHS = { - vertifyTypeAll: '全部', - vertifyTypeError: '错填', - vertifyTypeEmpty: '漏填' -}; diff --git a/packages/ui-vue/components/pagination/src/components/buttons/goto-buttons.component.tsx b/packages/ui-vue/components/pagination/src/components/buttons/goto-buttons.component.tsx index 46461e2b045f2bd5c3a429b18ad445c81483fd05..aba153562973baf7735fb509efb8173c4a14dbb5 100644 --- a/packages/ui-vue/components/pagination/src/components/buttons/goto-buttons.component.tsx +++ b/packages/ui-vue/components/pagination/src/components/buttons/goto-buttons.component.tsx @@ -14,14 +14,14 @@ * limitations under the License. */ import { ComputedRef, ref, Ref, SetupContext, watch } from 'vue'; - +import { LocaleService } from '@farris/ui-vue/components/locale'; export default function ( currentPage: Ref, lastPage: ComputedRef, currentPageSize: Ref, context: SetupContext ) { - const gotoPrefix = ref('跳转至'); + const gotoPrefix = ref(LocaleService.getLocaleValue('pagination.goto.prefix')); const gotoSuffix = ref(''); const pageNumber = ref(currentPage.value); watch(pageNumber, (value: number, previousValue: number) => { diff --git a/packages/ui-vue/components/pagination/src/components/pages/page-info.component.tsx b/packages/ui-vue/components/pagination/src/components/pages/page-info.component.tsx index 0d082d3854bf2681b751afee816302665d92f5a0..ee9173d964bd2b36a3cada1fc95decd14d5d373a 100644 --- a/packages/ui-vue/components/pagination/src/components/pages/page-info.component.tsx +++ b/packages/ui-vue/components/pagination/src/components/pages/page-info.component.tsx @@ -14,10 +14,10 @@ * limitations under the License. */ import { computed, ref, Ref } from 'vue'; - +import { LocaleService } from '@farris/ui-vue/components/locale'; export default function (position: Ref, totalItems: Ref) { - const prefixTotalItems = ref('共'); - const suffixTotalItems = ref('条'); + const prefixTotalItems = ref(LocaleService.getLocaleValue('pagination.totalInfo.firstText')); + const suffixTotalItems = ref(LocaleService.getLocaleValue('pagination.totalInfo.lastText')); const pageInfoClass = computed(() => { const classObject = { diff --git a/packages/ui-vue/components/pagination/src/components/pages/page-list.component.tsx b/packages/ui-vue/components/pagination/src/components/pages/page-list.component.tsx index cf28ee9ba0fb0bb5f58d57089b15c0b57ffef93b..89e3faa05ebc121b410efd7c5a8253ca06fa484e 100644 --- a/packages/ui-vue/components/pagination/src/components/pages/page-list.component.tsx +++ b/packages/ui-vue/components/pagination/src/components/pages/page-list.component.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ import { computed, ref, Ref, SetupContext } from 'vue'; - +import { LocaleService } from '@farris/ui-vue/components/locale'; export default function ( currentPage: Ref, currentPageSize: Ref, @@ -22,8 +22,8 @@ export default function ( totalItems: Ref, context: SetupContext) { const shouldShowPagePanel = ref(false); - const prefixPageSize = ref('显示'); - const suffixPageSize = ref('条'); + const prefixPageSize = ref(LocaleService.getLocaleValue('pagination.show')); + const suffixPageSize = ref(LocaleService.getLocaleValue('pagination.totalInfo.lastText')); const pageListClass = computed(() => { const classObject = { diff --git a/packages/ui-vue/components/tree-grid/src/tree-grid.props.ts b/packages/ui-vue/components/tree-grid/src/tree-grid.props.ts index b4eba0cb55f0b8ee0fc9b5068ec6727675d631dc..18db3be6436631cbde37e33e92100a77139e6546 100644 --- a/packages/ui-vue/components/tree-grid/src/tree-grid.props.ts +++ b/packages/ui-vue/components/tree-grid/src/tree-grid.props.ts @@ -15,6 +15,7 @@ * limitations under the License. */ import { ExtractPropTypes, PropType } from 'vue'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { EditorConfig } from '../../dynamic-form'; import { createDataViewUpdateColumnsResolver, createPropsResolver, createTreeGridBindingResolver, createTreeGridSelectionItemResolver } from '../../dynamic-resolver'; import { schemaMapper } from './schema/schema-mapper'; @@ -269,7 +270,7 @@ export const loadingOptions = { /** show loading */ show: { type: Boolean, default: false }, /** message on display when loading */ - message: { type: String, default: '加载中...' } + message: { type: String, default: `${LocaleService.getLocaleValue('datagrid.loadingMessage')}...` } }; @@ -348,7 +349,7 @@ export const treeGridProps = { type: Object as PropType, default: { enable: true, width: 32, - heading: '序号' + heading: LocaleService.getLocaleValue('datagrid.lineNumberTitle') } }, /** 行配置 */ diff --git a/packages/ui-vue/components/tree-view/src/tree-view.props.ts b/packages/ui-vue/components/tree-view/src/tree-view.props.ts index 7b3f3a6d204f28991c7d3dca37a994571992bdfa..5a2e93c92bd32d44c9b709305a45fa41ad8c2b6b 100644 --- a/packages/ui-vue/components/tree-view/src/tree-view.props.ts +++ b/packages/ui-vue/components/tree-view/src/tree-view.props.ts @@ -1,5 +1,6 @@ import { ExtractPropTypes, PropType } from 'vue'; +import { LocaleService } from '@farris/ui-vue/components/locale'; import { schemaMapper } from './schema/schema-mapper'; import { schemaResolver } from './schema/schema-resolver'; import { createPropsResolver } from '../../dynamic-resolver/src/props-resolver'; @@ -70,7 +71,7 @@ export const treeViewProps = { type: Object as PropType, default: { enable: false, width: 32, - heading: '序号' + heading: LocaleService.getLocaleValue('datagrid.lineNumberTitle') } }, /** 选择配置 */ diff --git a/packages/ui-vue/docs/.vitepress/theme/index.ts b/packages/ui-vue/docs/.vitepress/theme/index.ts index 2b4102e11cdb507cf46f52f96accd57d0a849821..6f7258f6776e8d9a1f28330c5b075e7476e3fa0d 100644 --- a/packages/ui-vue/docs/.vitepress/theme/index.ts +++ b/packages/ui-vue/docs/.vitepress/theme/index.ts @@ -8,7 +8,10 @@ import { insertBaiduScript } from './insert-baidu-script'; export default { ...FarrisTheme, enhanceApp({ app }) { - app.use(Farris); + app.use(Farris, { + locale: 'zh-CHS' + + }); registerComponents(app); insertBaiduScript(); } diff --git a/packages/ui-vue/farris.config.mjs b/packages/ui-vue/farris.config.mjs index 5320e85b2740724859aad2f11c1ae4f6b680ac62..f33d7efc07c001241fde842b4f017e0225ac3089 100644 --- a/packages/ui-vue/farris.config.mjs +++ b/packages/ui-vue/farris.config.mjs @@ -15,7 +15,7 @@ export default { systemjs: true, outDir: fileURLToPath(new URL('./dist', import.meta.url)), externals: { - include: [''], + include: ['@gsp-wf/wf-bizprocess-lookup-vue'], filter: (externals) => { return (id) => { return externals.find((item) => item && id.indexOf(item) === 0); diff --git a/packages/ui-vue/src/main.ts b/packages/ui-vue/src/main.ts index da2921a92b032a4d6277c61695a060d8b12876eb..e7c17a6ecc3aceccb86e3994256cb9117f622cff 100644 --- a/packages/ui-vue/src/main.ts +++ b/packages/ui-vue/src/main.ts @@ -6,4 +6,6 @@ import Plugins from './app-plugin'; const app = createApp(App); -app.use(Farris).use(Plugins).mount('#app'); +app.use(Farris, { + locale: 'zh-CHS' +}).use(Plugins).mount('#app'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2aeec39e8fae55c480e40822c9babbb43ba50d3..9e60c0623b159b2da95b6e4fb2ad8a8732f363d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -868,12 +868,18 @@ importers: '@farris/ui-vue': specifier: workspace:^ version: link:../ui-vue + '@gsp-svc/file-viewer-vue': + specifier: 1.0.1 + version: 1.0.1(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0)) + '@gsp-svc/formdoc-upload-vue': + specifier: 1.0.2 + version: 1.0.2(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0)) lodash: specifier: ^4.17.21 version: 4.17.21 moment: - specifier: ^2.29.1 - version: 2.30.1 + specifier: 2.29.1 + version: 2.29.1 vue: specifier: ^3.4.37 version: 3.5.12(typescript@5.6.3) @@ -1766,16 +1772,7 @@ importers: version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@9.19.0(jiti@1.21.6))(typescript@4.9.5))(eslint@9.19.0(jiti@1.21.6))(typescript@4.9.5) '@typescript-eslint/parser': specifier: ^7.15.0 - version: 7.18.0(eslint@8.57.1)(typescript@4.9.5) - '@vitejs/plugin-vue': - specifier: ^4.0.0 - version: 4.6.2(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)) - '@vitejs/plugin-vue-jsx': - specifier: ^3.0.0 - version: 3.1.0(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)) - '@vue/babel-plugin-jsx': - specifier: ^1.1.1 - version: 1.2.5(@babel/core@7.25.8) + version: 7.18.0(eslint@9.19.0(jiti@1.21.6))(typescript@4.9.5) '@vue/compiler-sfc': specifier: ^3.2.0 version: 3.5.12 @@ -1803,12 +1800,6 @@ importers: jest: specifier: ^29.0.0 version: 29.7.0(@types/node@20.5.1)(ts-node@10.9.2(@types/node@20.5.1)(typescript@4.9.5)) - ora: - specifier: ^6.1.2 - version: 6.3.1 - patch-vue-directive-ssr: - specifier: ^0.0.1 - version: 0.0.1 prettier: specifier: ^3.2.5 version: 3.5.3 @@ -1818,27 +1809,6 @@ importers: typescript: specifier: ^4.6.4 version: 4.9.5 - vite: - specifier: ^4.1.4 - version: 4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0) - vite-plugin-banner: - specifier: ^0.8.0 - version: 0.8.0 - vite-plugin-dts: - specifier: ^2.1.0 - version: 2.3.0(@types/node@20.5.1)(rollup@4.24.0)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) - vite-plugin-md: - specifier: ^0.20.0 - version: 0.20.6(@vitejs/plugin-vue@4.6.2(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)))(happy-dom@8.9.0)(jsdom@20.0.3)(sass@1.80.3)(terser@5.36.0)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) - vite-svg-loader: - specifier: ^4.0.0 - version: 4.0.0 - vitepress: - specifier: 1.0.0-alpha.8 - version: 1.0.0-alpha.8(@algolia/client-search@4.24.0)(@types/node@20.5.1)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(sass@1.80.3)(search-insights@2.17.2)(terser@5.36.0)(typescript@4.9.5) - vitepress-theme-demoblock: - specifier: 1.4.2 - version: 1.4.2(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(sass@1.80.3)(typescript@4.9.5) vitest: specifier: ^0.29.2 version: 0.29.8(happy-dom@14.12.3)(jsdom@20.0.3)(sass@1.80.3)(terser@5.36.0) @@ -1951,6 +1921,15 @@ importers: '@farris/ui-vue': specifier: workspace:^ version: link:../ui-vue + '@gsp-dip/data-imp-exp-vue': + specifier: 0.0.1 + version: 0.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) + '@gsp-svc/file-viewer-vue': + specifier: 1.0.1 + version: 1.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) + '@gsp-svc/formdoc-upload-vue': + specifier: 1.0.1 + version: 1.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) '@gsp-wf/wf-task-handler-vue': specifier: 0.0.1 version: 0.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0)) @@ -2196,6 +2175,9 @@ importers: '@docsearch/js': specifier: 3.6.0 version: 3.6.0(@algolia/client-search@4.24.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(search-insights@2.17.2) + '@farris/designer-dragula': + specifier: 0.0.5 + version: 0.0.5 '@monaco-editor/loader': specifier: ^1.4.0 version: 1.4.0(monaco-editor@0.52.2) @@ -2260,9 +2242,6 @@ importers: '@farris/cli': specifier: workspace:* version: link:../cli - '@farris/designer-dragula': - specifier: 0.0.5 - version: 0.0.5 '@testing-library/vue': specifier: ^7.0.0 version: 7.0.0(@vue/compiler-sfc@3.5.12)(vue@3.5.12(typescript@5.6.3)) @@ -3857,9 +3836,6 @@ packages: '@farris/devkit-vue@0.0.5': resolution: {integrity: sha512-YFBsFNK63FErbqbIinWCJEgXvosySNCExp75tgila3VSDA0S2zRCXjgK8f3T0dStOFYXgGkHRIeW3xwZ64XmGQ==} - '@farris/mobile-ui-vue@0.0.1-beta.3': - resolution: {integrity: sha512-499FnKEf5OwEX+5w++AEi7KqpCASNJ0aVoLO6TOW82Rin9UKh8u36+4GdDwLjQiqW/qjoYXFItP21dZXcA/kCA==} - '@farris/ui-vue@1.5.3': resolution: {integrity: sha512-36IAUj2KLd4kLtzMYRZFx/qWTeXueefMfhf+pmMWIt/I8Ni1X+X1T6EkqaBUYA3S5ltnWf4gHG/Z2YePfgHKWg==} @@ -3878,6 +3854,18 @@ packages: '@francoischalifour/autocomplete-preset-algolia@1.0.0-alpha.28': resolution: {integrity: sha512-bprfNmYt1opFUFEtD2XfY/kEsm13bzHQgU80uMjhuK0DJ914IjolT1GytpkdM6tJ4MBvyiJPP+bTtWO+BZ7c7w==} + '@gsp-dip/data-imp-exp-vue@0.0.1': + resolution: {integrity: sha512-pFQLaBIE+uwFgktCINI8OgZzNg9IIVu8TMS9+AP/RMH+nxL7GRV4/FYUA8QL2+qhsDTFAeqDZJbm91gh8zEISw==} + + '@gsp-svc/file-viewer-vue@1.0.1': + resolution: {integrity: sha512-/eZFmvpy5M92Orj/Rla1xZ1ImRujnWUElZYOO7Ae2bVVnlsDLih5OPLNEIUzRj4wyDAYEk+DWBMiW3RLLN57WA==} + + '@gsp-svc/formdoc-upload-vue@1.0.1': + resolution: {integrity: sha512-kGwk4bxQW/C+PPei/a69vPzGG0SaVAyGUfMUqdKUE9KxMjj2jxprr3ReAS8aCORIGdw/3ktGdEyOgbwYajZzRQ==} + + '@gsp-svc/formdoc-upload-vue@1.0.2': + resolution: {integrity: sha512-p7DKPMsIgvredZPL3kh9mefSNdzawsGuR1UzNEYMMofrtffTdTLewAge1VQNHuMFINVuE59Nv3wOZIIRut7K3Q==} + '@gsp-wf/wf-task-handler-vue@0.0.1': resolution: {integrity: sha512-1zFiP9WpmCspZ3atmGxhDSHvETmmcdTTLgCkDnertw/OaQGojJMAKsyUct4a0toVjaTtsfmcWRsQ+PCL8dyRCg==} @@ -5405,6 +5393,9 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + axios@1.10.0: + resolution: {integrity: sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw==} + axios@1.7.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} @@ -9114,8 +9105,8 @@ packages: resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} engines: {node: '>=0.10.0'} - moment@2.30.1: - resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} + moment@2.29.1: + resolution: {integrity: sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==} monaco-editor@0.52.2: resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==} @@ -13318,7 +13309,7 @@ snapshots: bignumber.js: 9.1.2 lodash: 4.17.21 lodash-es: 4.17.21 - moment: 2.30.1 + moment: 2.29.1 mxgraph: 4.2.2 rxjs: 7.8.1 vue: 3.5.12(typescript@4.9.5) @@ -13617,37 +13608,62 @@ snapshots: '@farris/devkit-vue': 0.0.4(typescript@4.9.5) '@farris/ui-vue': link:packages/ui-vue lodash: 4.17.21 - moment: 2.30.1 + moment: 2.29.1 vue: 3.5.12(typescript@4.9.5) vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) transitivePeerDependencies: - debug - typescript + '@farris/command-services-vue@0.0.3(typescript@5.6.3)': + dependencies: + '@farris/bef-vue': 0.0.2 + '@farris/devkit-vue': 0.0.4(typescript@5.6.3) + '@farris/ui-vue': link:packages/ui-vue + lodash: 4.17.21 + moment: 2.29.1 + vue: 3.5.12(typescript@5.6.3) + vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) + transitivePeerDependencies: + - debug + - typescript + '@farris/designer-dragula@0.0.5': {} '@farris/devkit-vue@0.0.4(typescript@4.9.5)': dependencies: - axios: 1.7.7 + axios: 1.10.0 vue: 3.5.12(typescript@4.9.5) vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) transitivePeerDependencies: - debug - typescript + '@farris/devkit-vue@0.0.4(typescript@5.6.3)': + dependencies: + axios: 1.10.0 + vue: 3.5.12(typescript@5.6.3) + vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) + transitivePeerDependencies: + - debug + - typescript + '@farris/devkit-vue@0.0.5(typescript@4.9.5)': dependencies: - axios: 1.7.7 + axios: 1.10.0 vue: 3.5.12(typescript@4.9.5) vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) transitivePeerDependencies: - debug - typescript - '@farris/mobile-ui-vue@0.0.1-beta.3(typescript@4.9.5)': + '@farris/devkit-vue@0.0.5(typescript@5.6.3)': dependencies: - vue: 3.5.12(typescript@4.9.5) + axios: 1.10.0 + vue: 3.5.12(typescript@5.6.3) + vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: + - debug - typescript '@farris/ui-vue@1.5.3(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5))': @@ -13680,6 +13696,36 @@ snapshots: - vite - vue + '@farris/ui-vue@1.5.3(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@5.6.3))': + dependencies: + '@docsearch/js': 3.6.0(@algolia/client-search@4.24.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(search-insights@2.17.2) + '@monaco-editor/loader': 1.4.0(monaco-editor@0.52.2) + '@types/lodash-es': 4.17.12 + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@5.6.3)) + async-validator: 4.2.5 + bignumber.js: 9.1.2 + date-fns: 3.6.0 + echarts: 5.5.1 + jsonp: 0.2.1 + lodash: 4.17.21 + lodash-es: 4.17.21 + rxjs: 7.8.1 + vite-plugin-dts: 2.3.0(@types/node@20.5.1)(rollup@4.24.0)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - vite + - vue + '@floating-ui/core@1.6.9': dependencies: '@floating-ui/utils': 0.2.9 @@ -13695,6 +13741,182 @@ snapshots: '@francoischalifour/autocomplete-preset-algolia@1.0.0-alpha.28': {} + '@gsp-dip/data-imp-exp-vue@0.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))': + dependencies: + '@farris/bef-vue': 0.0.2 + '@farris/command-services-vue': 0.0.3(typescript@4.9.5) + '@farris/devkit-vue': 0.0.5(typescript@4.9.5) + '@farris/ui-vue': 1.5.3(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)) + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@4.9.5)) + async-validator: 4.2.5 + bignumber.js: 9.1.2 + lodash: 4.17.21 + lodash-es: 4.17.21 + moment: 2.29.1 + mxgraph: 4.2.2 + rxjs: 7.8.1 + vue: 3.5.12(typescript@4.9.5) + vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - debug + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - typescript + - vite + + '@gsp-svc/file-viewer-vue@1.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))': + dependencies: + '@edp-aif/common-api': 1.1.0 + '@edp-bif/common-api': 1.2.2(@edp-aif/common-api@1.1.0) + '@edp-pmf/mxgraph-ts': 0.0.7 + '@farris/bef-vue': 0.0.3 + '@farris/command-services-vue': 0.0.3(typescript@4.9.5) + '@farris/devkit-vue': 0.0.5(typescript@4.9.5) + '@farris/ui-vue': 1.5.3(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)) + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@4.9.5)) + async-validator: 4.2.5 + axios: 1.10.0 + bignumber.js: 9.1.2 + lodash: 4.17.21 + lodash-es: 4.17.21 + moment: 2.29.1 + mxgraph: 4.2.2 + rxjs: 7.8.1 + vue: 3.5.12(typescript@4.9.5) + vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - debug + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - typescript + - vite + + '@gsp-svc/file-viewer-vue@1.0.1(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0))': + dependencies: + '@edp-aif/common-api': 1.1.0 + '@edp-bif/common-api': 1.2.2(@edp-aif/common-api@1.1.0) + '@edp-pmf/mxgraph-ts': 0.0.7 + '@farris/bef-vue': 0.0.3 + '@farris/command-services-vue': 0.0.3(typescript@5.6.3) + '@farris/devkit-vue': 0.0.5(typescript@5.6.3) + '@farris/ui-vue': 1.5.3(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@5.6.3)) + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@5.6.3)) + async-validator: 4.2.5 + axios: 1.10.0 + bignumber.js: 9.1.2 + lodash: 4.17.21 + lodash-es: 4.17.21 + moment: 2.29.1 + mxgraph: 4.2.2 + rxjs: 7.8.1 + vue: 3.5.12(typescript@5.6.3) + vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - debug + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - typescript + - vite + + '@gsp-svc/formdoc-upload-vue@1.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))': + dependencies: + '@edp-aif/common-api': 1.1.0 + '@edp-bif/common-api': 1.2.2(@edp-aif/common-api@1.1.0) + '@edp-pmf/mxgraph-ts': 0.0.7 + '@farris/bef-vue': 0.0.3 + '@farris/command-services-vue': 0.0.3(typescript@4.9.5) + '@farris/devkit-vue': 0.0.5(typescript@4.9.5) + '@farris/ui-vue': 1.5.3(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5)) + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@4.9.5)) + async-validator: 4.2.5 + axios: 1.10.0 + bignumber.js: 9.1.2 + lodash: 4.17.21 + lodash-es: 4.17.21 + moment: 2.29.1 + mxgraph: 4.2.2 + rxjs: 7.8.1 + vue: 3.5.12(typescript@4.9.5) + vue-router: 4.4.5(vue@3.5.12(typescript@4.9.5)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - debug + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - typescript + - vite + + '@gsp-svc/formdoc-upload-vue@1.0.2(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(typescript@5.6.3)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0))': + dependencies: + '@edp-aif/common-api': 1.1.0 + '@edp-bif/common-api': 1.2.2(@edp-aif/common-api@1.1.0) + '@edp-pmf/mxgraph-ts': 0.0.7 + '@farris/bef-vue': 0.0.3 + '@farris/command-services-vue': 0.0.3(typescript@5.6.3) + '@farris/devkit-vue': 0.0.5(typescript@5.6.3) + '@farris/ui-vue': 1.5.3(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(vite@5.4.9(@types/node@20.5.1)(sass-embedded@1.80.3)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@5.6.3)) + '@vue/shared': 3.5.12 + '@vueuse/core': 9.2.0(vue@3.5.12(typescript@5.6.3)) + async-validator: 4.2.5 + axios: 1.10.0 + bignumber.js: 9.1.2 + lodash: 4.17.21 + lodash-es: 4.17.21 + moment: 2.29.1 + mxgraph: 4.2.2 + rxjs: 7.8.1 + vue: 3.5.12(typescript@5.6.3) + vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) + transitivePeerDependencies: + - '@algolia/client-search' + - '@types/node' + - '@types/react' + - '@vue/composition-api' + - debug + - monaco-editor + - react + - react-dom + - rollup + - search-insights + - supports-color + - typescript + - vite + '@gsp-wf/wf-task-handler-vue@0.0.1(@algolia/client-search@4.24.0)(@types/node@20.5.1)(monaco-editor@0.52.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(rollup@4.24.0)(search-insights@2.17.2)(typescript@4.9.5)(vite@4.5.5(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))': dependencies: '@farris/bef-vue': 0.0.3 @@ -13706,7 +13928,7 @@ snapshots: bignumber.js: 9.1.2 lodash: 4.17.21 lodash-es: 4.17.21 - moment: 2.30.1 + moment: 2.29.1 mxgraph: 4.2.2 rxjs: 7.8.1 vue: 3.5.12(typescript@4.9.5) @@ -15144,8 +15366,6 @@ snapshots: '@typescript-eslint/types': 8.18.0 eslint-visitor-keys: 4.2.0 - '@ungap/structured-clone@1.3.0': {} - '@vitejs/plugin-vue-jsx@2.1.1(vite@3.2.11(@types/node@20.5.1)(sass@1.80.3)(terser@5.36.0))(vue@3.5.12(typescript@4.9.5))': dependencies: '@babel/core': 7.25.8 @@ -16150,6 +16370,14 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 + axios@1.10.0: + dependencies: + follow-redirects: 1.15.9 + form-data: 4.0.1 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + axios@1.7.7: dependencies: follow-redirects: 1.15.9 @@ -16510,7 +16738,7 @@ snapshots: dependencies: bumpp: 8.2.1 callsites: 4.2.0 - inferred-types: 0.37.6(happy-dom@14.12.3)(jsdom@20.0.3)(sass@1.80.3)(terser@5.36.0) + inferred-types: 0.37.6(happy-dom@8.9.0)(jsdom@20.0.3)(sass@1.80.3)(terser@5.36.0) vitest: 0.25.8(happy-dom@8.9.0)(jsdom@20.0.3)(sass@1.80.3)(terser@5.36.0) transitivePeerDependencies: - '@edge-runtime/vm' @@ -17244,7 +17472,7 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - cosmiconfig-typescript-loader@4.4.0(@types/node@20.5.1)(cosmiconfig@8.3.6(typescript@5.6.3))(ts-node@10.9.2(@types/node@18.19.57)(typescript@4.9.5))(typescript@5.6.3): + cosmiconfig-typescript-loader@4.4.0(@types/node@20.5.1)(cosmiconfig@8.3.6(typescript@5.6.3))(ts-node@10.9.2(@types/node@20.5.1)(typescript@5.6.3))(typescript@5.6.3): dependencies: '@types/node': 20.5.1 cosmiconfig: 8.3.6(typescript@5.6.3) @@ -21019,7 +21247,7 @@ snapshots: modify-values@1.0.1: {} - moment@2.30.1: {} + moment@2.29.1: {} monaco-editor@0.52.2: {}