mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 6 commits [trident-sync]
build: publish success perf: antdv示例背景设置为白色 fix: card布局情况下,header-top header-bottom同时跟search显隐的bug fix: 修复table-select 示例右上角自定义插槽无法设置的bug feat: 将代码编辑器单独打包到@fast-crud/editor-code,加快不需要code的项目的打包速度,如果您使用了editor-code,请按照文档重新进行editor-code的集成 BREAKING CHANGE: 将代码编辑器单独打包到@fast-crud/editor-code,,如果您使用了editor-code,请按照文档重新进行editor-code的集成pull/349/head
parent
76b963f426
commit
2fd75fe097
|
@ -3,6 +3,18 @@
|
|||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [1.26.0](https://github.com/fast-crud/fast-crud/compare/v1.25.13...v1.26.0) (2025-07-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* 独立使用form表单缺失mode的问题 ([9ed791a](https://github.com/fast-crud/fast-crud/commit/9ed791ad4bb9294f4b9380d858df89fbc32ca2a0))
|
||||
* 修复table-select 示例右上角自定义插槽无法设置的bug ([54a5d90](https://github.com/fast-crud/fast-crud/commit/54a5d90b86338036474657267de3bd7a74caf1eb))
|
||||
* card布局情况下,header-top header-bottom同时跟search显隐的bug ([3484232](https://github.com/fast-crud/fast-crud/commit/348423280f06f052fb16214e863ba03735ff9042))
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* antdv示例背景设置为白色 ([3d74bf4](https://github.com/fast-crud/fast-crud/commit/3d74bf4e7ca76ecad286ec8f1b8fd2cbcb6428eb))
|
||||
|
||||
## [1.25.13](https://github.com/fast-crud/fast-crud/compare/v1.25.12...v1.25.13) (2025-06-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@fast-crud/fs-admin-antdv4",
|
||||
"version": "1.25.13",
|
||||
"version": "1.26.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -27,10 +27,11 @@
|
|||
"@aws-sdk/client-s3": "^3.535.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.535.0",
|
||||
"@ctrl/tinycolor": "^4.1.0",
|
||||
"@fast-crud/fast-crud": "^1.25.13",
|
||||
"@fast-crud/fast-extends": "^1.25.13",
|
||||
"@fast-crud/ui-antdv4": "^1.25.13",
|
||||
"@fast-crud/ui-interface": "^1.25.13",
|
||||
"@fast-crud/editor-code": "^1.26.0",
|
||||
"@fast-crud/fast-crud": "^1.26.0",
|
||||
"@fast-crud/fast-extends": "^1.26.0",
|
||||
"@fast-crud/ui-antdv4": "^1.26.0",
|
||||
"@fast-crud/ui-interface": "^1.26.0",
|
||||
"@iconify/tailwind": "^1.2.0",
|
||||
"@iconify/vue": "^4.1.1",
|
||||
"@manypkg/get-packages": "^2.2.2",
|
||||
|
|
|
@ -12,7 +12,7 @@ import { GetSignedUrl } from "/@/views/crud/component/uploader/s3/api";
|
|||
import { notification } from "ant-design-vue";
|
||||
import { usePreferences } from "/@/vben/preferences";
|
||||
import { columnSizeSaver } from "/@/plugin/fast-crud/column-size-saver";
|
||||
|
||||
import { FsEditorCode } from "@fast-crud/editor-code";
|
||||
function install(app: any, options: any = {}) {
|
||||
app.use(UiAntdv);
|
||||
//设置日志级别
|
||||
|
@ -343,6 +343,7 @@ function install(app: any, options: any = {}) {
|
|||
app.use(FsExtendsTime);
|
||||
app.use(FsExtendsCopyable);
|
||||
app.use(FsExtendsInput);
|
||||
app.use(FsEditorCode);
|
||||
|
||||
const { addTypes, getType } = useTypes();
|
||||
//此处演示修改官方字段类型
|
||||
|
|
|
@ -4,7 +4,7 @@ import cssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker";
|
|||
import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker?worker";
|
||||
import yamlWorker from "./yaml.worker?worker";
|
||||
import tsWorker from "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
|
||||
import { registerWorker } from "@fast-crud/fast-extends";
|
||||
import { registerWorker } from "@fast-crud/editor-code";
|
||||
export function setupMonaco() {
|
||||
registerWorker("json", jsonWorker);
|
||||
registerWorker(["css", "less", "scss"], cssWorker);
|
||||
|
|
|
@ -78,7 +78,7 @@ function transformComponent(component: VNode, route: RouteLocationNormalizedLoad
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div class="relative h-full">
|
||||
<div class="relative h-full bg-white dark:bg-black">
|
||||
<IFrameRouterView />
|
||||
<RouterView v-slot="{ Component, route }">
|
||||
<Transition :name="getTransitionName(route)" appear mode="out-in">
|
||||
|
|
|
@ -112,7 +112,7 @@ function menuIcon(menu: MenuRecordRaw) {
|
|||
|
||||
.vben-normal-menu__name,
|
||||
.vben-normal-menu__icon {
|
||||
@apply text-primary-foreground font-semibold;
|
||||
@apply font-semibold;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as api from "./api";
|
||||
|
||||
import { FsEditorCodeValidators } from "@fast-crud/fast-extends";
|
||||
import { FsEditorCodeValidators } from "@fast-crud/editor-code";
|
||||
import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, EditReq, UserPageQuery, UserPageRes, ValueBuilderContext, ValueResolveContext } from "@fast-crud/fast-crud";
|
||||
export default async function ({ crudExpose }: CreateCrudOptionsProps): Promise<CreateCrudOptionsRet> {
|
||||
const pageRequest = async (query: UserPageQuery): Promise<UserPageRes> => {
|
||||
|
|
|
@ -22,6 +22,9 @@ export default async function ({ crudExpose }: CreateCrudOptionsProps): Promise<
|
|||
};
|
||||
|
||||
const crudOptionsOverride = {
|
||||
container: {
|
||||
is: "fs-layout-card"
|
||||
},
|
||||
table: {
|
||||
scroll: {
|
||||
x: 2000
|
||||
|
@ -124,7 +127,8 @@ export default async function ({ crudExpose }: CreateCrudOptionsProps): Promise<
|
|||
placeholder: "点击选择"
|
||||
},
|
||||
createCrudOptions: createCrudOptionsText,
|
||||
crudOptionsOverride: crudOptionsOverride
|
||||
crudOptionsOverride: crudOptionsOverride,
|
||||
isSyncCreate: true
|
||||
}
|
||||
},
|
||||
column: {
|
||||
|
|
Loading…
Reference in New Issue