@aplus-frontend/ui 6.13.3 → 6.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/es/src/ap-form/ap-form.vue2.mjs +123 -120
  2. package/es/src/ap-form/dependency/index.vue.mjs +26 -28
  3. package/es/src/ap-form/hooks/use-watch.mjs +28 -31
  4. package/es/src/ap-form/interface.d.ts +5 -0
  5. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +22 -24
  6. package/es/src/ap-form/utils/get.d.ts +2 -0
  7. package/es/src/ap-form/utils/get.mjs +12 -7
  8. package/es/src/ap-grid/editable/form-item.vue.mjs +84 -87
  9. package/es/src/ap-grid/hooks/use-row-selection.d.ts +6 -5
  10. package/es/src/ap-grid/hooks/use-row-selection.mjs +71 -56
  11. package/es/src/ap-grid/index.vue.mjs +7 -10
  12. package/es/src/business/ap-export-group/convertExportField.d.ts +3 -1
  13. package/es/src/business/batch-input-group/form-item.vue.mjs +34 -28
  14. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +9 -7
  15. package/es/src/editable-table/form-item.vue.mjs +78 -81
  16. package/es/src/locale/lang/en.mjs +1 -1
  17. package/es/src/locale/lang/zh-cn.mjs +1 -1
  18. package/es/src/version.d.ts +1 -1
  19. package/es/src/version.mjs +1 -1
  20. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  21. package/lib/src/ap-form/dependency/index.vue.js +1 -1
  22. package/lib/src/ap-form/hooks/use-watch.js +1 -1
  23. package/lib/src/ap-form/interface.d.ts +5 -0
  24. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
  25. package/lib/src/ap-form/utils/get.d.ts +2 -0
  26. package/lib/src/ap-form/utils/get.js +1 -1
  27. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  28. package/lib/src/ap-grid/hooks/use-row-selection.d.ts +6 -5
  29. package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
  30. package/lib/src/ap-grid/index.vue.js +1 -1
  31. package/lib/src/business/ap-export-group/convertExportField.d.ts +3 -1
  32. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  33. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  34. package/lib/src/editable-table/form-item.vue.js +1 -1
  35. package/lib/src/locale/lang/en.js +1 -1
  36. package/lib/src/locale/lang/zh-cn.js +1 -1
  37. package/lib/src/version.d.ts +1 -1
  38. package/lib/src/version.js +1 -1
  39. package/package.json +1 -1
  40. package/theme/antdv-override.css +0 -24
  41. package/theme/antdv-override.less +0 -33
  42. package/theme/css-var.css +2 -0
  43. package/theme/css-var.less +4 -0
  44. package/theme/index.css +2 -24
  45. package/theme/reset.css +18 -0
  46. package/theme/reset.less +26 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/en-US"),t={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More",all:"All"},field:{startDateText:"Start date",endDateText:"End date",today:"Today",yesterday:"Yesterday",thisWeek:"This week",lastWeek:"Last week",thisMonth:"This month",lastMonth:"Last month",thisYear:"This year",lastYear:"Last year",lastXDays:"Last {day} days"},apForm:{search:{search:"Search",reset:"Reset",moreFilter:"More Filters",sorterTitle:"Customize filter layout",sorterDesc:"Drag to sort. Top items appear first.",sorterReset:"Restore Defaults",sorterConfirmBtn:"Confirm"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export",exportSuccess:"The task has been submitted,please go to the download center to check the progress"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter (Within 300 words)",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time",fileLabel:"File Upload"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apSizeInput:{length:"Length",width:"Width",height:"Height"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},batchInputGroup:{popoverInputPlaceholder:"A maximum of 200 entries can be entered in batches, separated by newlines"},apSummary:{total:"Total"},apView:{systemView:"System view",saveView:"Save view",maxTip:"The maximum number of views that can be saved has been reached. Please delete them before saving a new view",saveNewView:"Save as new wiew",newView:"New view",setDefault:"Default",viewName:"View name",notEmpty:"Cannot be empty",cancel:"Cancel",save:"Save",default:"Default",rename:"Rename",deleteTip:"Are you sure you want to delete this view?",ok:"Ok"},apCopy:{copySuccess:"Copy success",copyError:"Copy failed"},...e}};exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/en-US"),t={name:"en",ap:{common:{okText:"OK",cancelText:"Cancel",resetText:"Reset",queryText:"Search",expandText:"Unfold",closeText:"Put away",inputText:"Please enter",chooseText:"Please choose",redo:"Refresh",back:"Back",more:"More",all:"All"},field:{startDateText:"Start date",endDateText:"End date",today:"Today",yesterday:"Yesterday",thisWeek:"This week",lastWeek:"Last week",thisMonth:"This month",lastMonth:"Last month",thisYear:"This year",lastYear:"Last year",lastXDays:"Last {day} days"},apForm:{search:{search:"Search",reset:"Reset",moreFilter:"More Filters",sorterTitle:"Customize filter layout",sorterDesc:"Drag to sort. Top items appear first.",sorterReset:"Restore Defaults",sorterConfirmBtn:"Confirm"}},apTable:{pagination:{totalLeftPrefix:"Total",totalLeftSuffix:"items",totalRightPrefix:"Page",totalRightSuffix:" "},setting:{title:"Custom Table",selectAll:"Select All",unSelectAll:"Deselect All",selectAllTip:"Please select the columns to display in the table.",sizeSmall:"Small",sizeNormal:"Normal",selectCount:"Selected fields ({count})",reset:"Reset",fixToLeft:"Fixed on the left",fixToRight:"Fixed on the right",unFixed:"Not fixed",delete:"Delete"},paragraphEllipsis:{copy:"Copy",copySuccess:"Copied successfully"}},apUpload:{update:"Upload",pictureType:"Image type",videoType:"Video type",audioType:"Audio type",documentType:"Document type",allTypes:"All types",networkAnomaly:"Network abnormality",FailedToObtainOssTemporaryPermissions:"Failed to obtain temporary OSS permissions",pleasePass:"Please pass in",supportExtension:"Support extensions",uploadFile:"Upload files",fileInitializationException:"If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",maxUploadFiles:"Upload a maximum of {maxCount} files",maxUploadPicture:"Upload a maximum of {maxCount} images",maxUploadFileSize:"The file size does not exceed {maxSize}MB",maxWarnUploadFileSize:"The file size is smaller than {maxSize}MB",maxUploadPictureSize:"The image size is smaller than {maxSize}MB",fileFormatNotSupported:"Files in this format are not supported",pictureFormatNotSupported:"Images in this format are not supported",imageParsingFailed:"Image parsing failed",clickOrDragUpload:"Click or drag the file",foldersNotSupported:"Do not support uploading folders"},apExportGroup:{exportError:"Export error",exportSelected:"Export selected",exportAll:"Export all",export:"Export",exportSuccess:"The task has been submitted,please go to the download center to check the progress"},apBatchAction:{selected:"Selected",piecesOfData:"Pieces of data",empty:"Empty"},apApBatchActionGroup:{batchOperation:"Batch operation"},workOrderModal:{createTickets:"Create ticket",submit:"Confirm",cancel:"Cancel",ticketsTitle:"Ticket Title",noEmpty:"No empty",pleaseEntry:"please enter (Within 300 words)",ticketsType:"Ticket Type",ticketsDetail:"Ticket Detail",ticketsLevel:"Priority",operationSuccess:"operate successfully",fileSizeMax:"Single file size limit",fileCountMax:"Limit the number to {x} at a time",fileLabel:"File Upload"},apTableModal:{titleSuffixOne:"You can add up to {maxCount},",titleSuffixTwo:"Added",titleSuffixThree:"",messageMaxCount:"You can select up to {maxCount} data entries",clear:"Clear",selected:"Selected"},apAttachment:{downloadall:"Download All",more:"More"},apSizeInput:{length:"Length",width:"Width",height:"Height"},apExpandAlert:{expand:"Expand",collapse:"Collapse"},apAppendix:{downloadAll:"Download All",downloadFile:"Download file",appendix:"Appendix"},batchInputGroup:{popoverInputPlaceholder:"A maximum of {maxNum} entries can be entered in batches, separated by newlines"},apSummary:{total:"Total"},apView:{systemView:"System view",saveView:"Save view",maxTip:"The maximum number of views that can be saved has been reached. Please delete them before saving a new view",saveNewView:"Save as new wiew",newView:"New view",setDefault:"Default",viewName:"View name",notEmpty:"Cannot be empty",cancel:"Cancel",save:"Save",default:"Default",rename:"Rename",deleteTip:"Are you sure you want to delete this view?",ok:"Ok"},apCopy:{copySuccess:"Copy success",copyError:"Copy failed"},...e}};exports.default=t;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/zh-CN"),t={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多",all:"全部"},field:{startDateText:"开始日期",endDateText:"结束日期",today:"今天",yesterday:"昨天",thisWeek:"本周",lastWeek:"上周",thisMonth:"本月",lastMonth:"上月",thisYear:"今年",lastYear:"去年",lastXDays:"近{day}天"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置",moreFilter:"更多筛选",sorterTitle:"筛选条件自定义布局",sorterDesc:"可拖动排序,越靠前的筛选项会优先展示在列表页",sorterReset:"恢复默认",sorterConfirmBtn:"确定"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出",exportSuccess:"任务已提交,前往下载中心查看进度"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入(300字以内)",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个",fileLabel:"上传附件"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apSizeInput:{length:"长",width:"宽",height:"高"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入200条"},apSummary:{total:"合计"},apView:{systemView:"系统视图",saveView:"保存视图",maxTip:"视图已达保存上限,请先删除后再保存新视图",saveNewView:"保存新视图",newView:"新视图",setDefault:"设为默认",viewName:"视图名称",notEmpty:"不可为空",cancel:"取消",save:"保存",default:"默认",rename:"重命名",deleteTip:"确定删除该视图吗?",ok:"确定"},apCopy:{copySuccess:"复制成功",copyError:"复制失败"},...e}};exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vxe-table/es/locale/lang/zh-CN"),t={name:"zh-cn",ap:{common:{okText:"确认",cancelText:"取消",resetText:"重置",queryText:"查询",expandText:"展开",closeText:"收起",inputText:"请输入",chooseText:"请选择",redo:"刷新",back:"返回",more:"更多",all:"全部"},field:{startDateText:"开始日期",endDateText:"结束日期",today:"今天",yesterday:"昨天",thisWeek:"本周",lastWeek:"上周",thisMonth:"本月",lastMonth:"上月",thisYear:"今年",lastYear:"去年",lastXDays:"近{day}天"},modal:{restore:"还原",maximize:"最大化",close:"关闭"},countdown:{normalText:"获取验证码",sendText:"{sec}秒后重新获取"},apForm:{search:{search:"查询",reset:"重置",moreFilter:"更多筛选",sorterTitle:"筛选条件自定义布局",sorterDesc:"可拖动排序,越靠前的筛选项会优先展示在列表页",sorterReset:"恢复默认",sorterConfirmBtn:"确定"}},apTable:{pagination:{totalLeftPrefix:"共",totalLeftSuffix:"条记录",totalRightPrefix:"第",totalRightSuffix:"页"},setting:{title:"自定义表格",selectAll:"全选",unSelectAll:"取消全选",selectAllTip:"请选择需要展示在表格的字段",sizeSmall:"紧凑",sizeNormal:"正常",selectCount:"已选字段({count})",reset:"重置",fixToLeft:"固定在左侧",fixToRight:"固定在右侧",unFixed:"不固定",delete:"删除"},paragraphEllipsis:{copy:"复制",copySuccess:"复制成功"}},apUpload:{update:"上传",pictureType:"图片类型",videoType:"视频类型",audioType:"音频类型",documentType:"文档类型",allTypes:"全部类型",networkAnomaly:"网络异常",FailedToObtainOssTemporaryPermissions:"获取oss临时权限失败",pleasePass:"请传入",supportExtension:"支持扩展名",uploadFile:"上传文件",fileInitializationException:"文件初始化个数超过{maxCount}个,后续上传的文件会与数据不同步",maxUploadFiles:"最多上传{maxCount}个文件",maxUploadPicture:"最多上传{maxCount}张图片",maxUploadFileSize:"文件大小不超过{maxSize}MB",maxWarnUploadFileSize:"文件大小小于{maxSize}MB",maxUploadPictureSize:"图片大小小于{maxSize}MB",fileFormatNotSupported:"不支持该格式的文件",pictureFormatNotSupported:"不支持该格式的图片",imageParsingFailed:"图片解析失败",clickOrDragUpload:"点击或将文件拖拽到这里上传",foldersNotSupported:"不支持上传文件夹"},apExportGroup:{exportError:"导出失败",exportSelected:"导出所选",exportAll:"导出全部",export:"导出",exportSuccess:"任务已提交,前往下载中心查看进度"},apBatchAction:{selected:"已选",piecesOfData:"条数据",empty:"清空"},apApBatchActionGroup:{batchOperation:"批量操作"},workOrderModal:{createTickets:"创建工单",submit:"确定",cancel:"取消",ticketsTitle:"工单标题",noEmpty:"不可为空",pleaseEntry:"请输入(300字以内)",ticketsType:"工单类型",ticketsDetail:"工单详情",ticketsLevel:"优先级",operationSuccess:"操作成功",fileSizeMax:"单个文件大小限制",fileCountMax:"单次数量限制 {x} 个",fileLabel:"上传附件"},apTableModal:{titleSuffixOne:"最多可添加{maxCount}个,",titleSuffixTwo:"已添加",titleSuffixThree:"个",messageMaxCount:"最多选择{maxCount}条数据",clear:"清空",selected:"已选"},apAttachment:{downloadall:"下载全部",more:"更多"},apSizeInput:{length:"长",width:"宽",height:"高"},apExpandAlert:{expand:"展开",collapse:"收起"},apAppendix:{downloadAll:"下载全部",downloadFile:"下载文件",appendix:"附件"},batchInputGroup:{popoverInputPlaceholder:"支持批量输入,可用换行符分隔,最多输入{maxNum}条"},apSummary:{total:"合计"},apView:{systemView:"系统视图",saveView:"保存视图",maxTip:"视图已达保存上限,请先删除后再保存新视图",saveNewView:"保存新视图",newView:"新视图",setDefault:"设为默认",viewName:"视图名称",notEmpty:"不可为空",cancel:"取消",save:"保存",default:"默认",rename:"重命名",deleteTip:"确定删除该视图吗?",ok:"确定"},apCopy:{copySuccess:"复制成功",copyError:"复制失败"},...e}};exports.default=t;
@@ -1,2 +1,2 @@
1
- declare const _default: "6.13.3";
1
+ declare const _default: "6.14.0";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.13.3";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.14.0";exports.default=e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "6.13.3",
3
+ "version": "6.14.0",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -264,18 +264,6 @@
264
264
  [data-aplus-ui-mode='aplus'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
265
265
  color: #abb7cc;
266
266
  }
267
- [data-aplus-ui-mode='aplus'] input[disabled].ant-input {
268
- color: var(--ap-text-color-1);
269
- }
270
- [data-aplus-ui-mode='aplus'] textarea[disabled].ant-input {
271
- color: var(--ap-text-color-1);
272
- }
273
- [data-aplus-ui-mode='aplus'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
274
- color: var(--ap-text-color-1);
275
- }
276
- [data-aplus-ui-mode='aplus'] .ant-select-disabled .ant-select-selection-item {
277
- color: var(--ap-text-color-1) !important;
278
- }
279
267
  [data-aplus-ui-mode='aplus'] .ant-input-clear-icon {
280
268
  line-height: 18px;
281
269
  }
@@ -555,18 +543,6 @@
555
543
  [data-aplus-ui-mode='admin'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
556
544
  color: #bfbfbf;
557
545
  }
558
- [data-aplus-ui-mode='admin'] input[disabled].ant-input {
559
- color: var(--ap-text-color-1);
560
- }
561
- [data-aplus-ui-mode='admin'] textarea[disabled].ant-input {
562
- color: var(--ap-text-color-1);
563
- }
564
- [data-aplus-ui-mode='admin'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
565
- color: var(--ap-text-color-1);
566
- }
567
- [data-aplus-ui-mode='admin'] .ant-select-disabled .ant-select-selection-item {
568
- color: var(--ap-text-color-1) !important;
569
- }
570
546
  [data-aplus-ui-mode='admin'] .ant-input-clear-icon {
571
547
  line-height: 18px;
572
548
  }
@@ -1,5 +1,4 @@
1
1
  @import './mixins/config.less';
2
-
3
2
  @tw: ~'@{ns}-ap-table__table-wrapper';
4
3
  @sb: ~'@{ns}-scroll-bar';
5
4
 
@@ -303,22 +302,6 @@
303
302
  color: #abb7cc;
304
303
  }
305
304
 
306
- input[disabled].ant-input {
307
- color: var(--ap-text-color-1);
308
- }
309
-
310
- textarea[disabled].ant-input {
311
- color: var(--ap-text-color-1);
312
- }
313
-
314
- .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
315
- color: var(--ap-text-color-1);
316
- }
317
-
318
- .ant-select-disabled .ant-select-selection-item {
319
- color: var(--ap-text-color-1) !important;
320
- }
321
-
322
305
  .ant-input-clear-icon {
323
306
  line-height: 18px;
324
307
  }
@@ -637,22 +620,6 @@
637
620
  color: #bfbfbf;
638
621
  }
639
622
 
640
- input[disabled].ant-input {
641
- color: var(--ap-text-color-1);
642
- }
643
-
644
- textarea[disabled].ant-input {
645
- color: var(--ap-text-color-1);
646
- }
647
-
648
- .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
649
- color: var(--ap-text-color-1);
650
- }
651
-
652
- .ant-select-disabled .ant-select-selection-item {
653
- color: var(--ap-text-color-1) !important;
654
- }
655
-
656
623
  .ant-input-clear-icon {
657
624
  line-height: 18px;
658
625
  }
package/theme/css-var.css CHANGED
@@ -23,6 +23,7 @@
23
23
  --ap-color-bg-2: #f3f5f8;
24
24
  --ap-scrollbar-thumb-color-base: #c8d1de;
25
25
  --ap-scrollbar-thumb-color-hover: #959ca7;
26
+ --ap-scrollbar-track-color-hover: #f2f6f9;
26
27
  --ap-text-color-4: #abb7cc;
27
28
  --batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
28
29
  --ap-radio-group-item-active-bg-color: rgba(0, 112, 255, 0.12);
@@ -54,6 +55,7 @@
54
55
  --ap-color-bg-2: #f5f5f5;
55
56
  --ap-scrollbar-thumb-color-base: #bfbfbf;
56
57
  --ap-scrollbar-thumb-color-hover: #787878;
58
+ --ap-scrollbar-track-color-hover: #f7f7f7;
57
59
  --ap-text-color-4: #bfbfbf;
58
60
  --batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
59
61
  --ap-radio-group-item-active-bg-color: rgba(52, 183, 124, 0.12);
@@ -47,6 +47,8 @@
47
47
  --ap-scrollbar-thumb-color-base: #c8d1de;
48
48
  // 滚动条滑动块hover色
49
49
  --ap-scrollbar-thumb-color-hover: #959ca7;
50
+ // 滚动条轨道颜色
51
+ --ap-scrollbar-track-color-hover: #f2f6f9;
50
52
  // 文本颜色4号色(三级)
51
53
  --ap-text-color-4: #abb7cc;
52
54
  // 批量输入组禁用色
@@ -102,6 +104,8 @@
102
104
  --ap-scrollbar-thumb-color-base: #bfbfbf;
103
105
  // 滚动条滑动块基础色
104
106
  --ap-scrollbar-thumb-color-hover: #787878;
107
+ // 滚动条轨道颜色
108
+ --ap-scrollbar-track-color-hover: #f7f7f7;
105
109
  // 文本颜色4号色(三级)
106
110
  --ap-text-color-4: #bfbfbf;
107
111
  // 批量输入组禁用色
package/theme/index.css CHANGED
@@ -23,6 +23,7 @@
23
23
  --ap-color-bg-2: #f3f5f8;
24
24
  --ap-scrollbar-thumb-color-base: #c8d1de;
25
25
  --ap-scrollbar-thumb-color-hover: #959ca7;
26
+ --ap-scrollbar-track-color-hover: #f2f6f9;
26
27
  --ap-text-color-4: #abb7cc;
27
28
  --batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
28
29
  --ap-radio-group-item-active-bg-color: rgba(0, 112, 255, 0.12);
@@ -54,6 +55,7 @@
54
55
  --ap-color-bg-2: #f5f5f5;
55
56
  --ap-scrollbar-thumb-color-base: #bfbfbf;
56
57
  --ap-scrollbar-thumb-color-hover: #787878;
58
+ --ap-scrollbar-track-color-hover: #f7f7f7;
57
59
  --ap-text-color-4: #bfbfbf;
58
60
  --batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
59
61
  --ap-radio-group-item-active-bg-color: rgba(52, 183, 124, 0.12);
@@ -331,18 +333,6 @@
331
333
  [data-aplus-ui-mode='aplus'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
332
334
  color: #abb7cc;
333
335
  }
334
- [data-aplus-ui-mode='aplus'] input[disabled].ant-input {
335
- color: var(--ap-text-color-1);
336
- }
337
- [data-aplus-ui-mode='aplus'] textarea[disabled].ant-input {
338
- color: var(--ap-text-color-1);
339
- }
340
- [data-aplus-ui-mode='aplus'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
341
- color: var(--ap-text-color-1);
342
- }
343
- [data-aplus-ui-mode='aplus'] .ant-select-disabled .ant-select-selection-item {
344
- color: var(--ap-text-color-1) !important;
345
- }
346
336
  [data-aplus-ui-mode='aplus'] .ant-input-clear-icon {
347
337
  line-height: 18px;
348
338
  }
@@ -622,18 +612,6 @@
622
612
  [data-aplus-ui-mode='admin'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
623
613
  color: #bfbfbf;
624
614
  }
625
- [data-aplus-ui-mode='admin'] input[disabled].ant-input {
626
- color: var(--ap-text-color-1);
627
- }
628
- [data-aplus-ui-mode='admin'] textarea[disabled].ant-input {
629
- color: var(--ap-text-color-1);
630
- }
631
- [data-aplus-ui-mode='admin'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
632
- color: var(--ap-text-color-1);
633
- }
634
- [data-aplus-ui-mode='admin'] .ant-select-disabled .ant-select-selection-item {
635
- color: var(--ap-text-color-1) !important;
636
- }
637
615
  [data-aplus-ui-mode='admin'] .ant-input-clear-icon {
638
616
  line-height: 18px;
639
617
  }
package/theme/reset.css CHANGED
@@ -255,3 +255,21 @@ mark {
255
255
  padding: 0.2em;
256
256
  background-color: #feffe6;
257
257
  }
258
+ ::-webkit-scrollbar {
259
+ width: 10px;
260
+ height: 10px;
261
+ }
262
+ ::-webkit-scrollbar-thumb {
263
+ background-color: var(--ap-scrollbar-thumb-color-base);
264
+ background-clip: content-box;
265
+ border: 1px solid transparent;
266
+ border-radius: 4px;
267
+ }
268
+ ::-webkit-scrollbar-track,
269
+ ::-webkit-scrollbar-corner {
270
+ background-color: var(--ap-scrollbar-track-color-hover, #f2f6f9);
271
+ }
272
+ ::-webkit-scrollbar-thumb:hover,
273
+ ::-webkit-scrollbar-thumb:active {
274
+ background-color: var(--ap-scrollbar-thumb-color-hover);
275
+ }
package/theme/reset.less CHANGED
@@ -118,8 +118,8 @@ code,
118
118
  kbd,
119
119
  samp {
120
120
  font-size: 1em;
121
- font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
122
- monospace;
121
+ font-family:
122
+ 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
123
123
  }
124
124
  pre {
125
125
  margin-top: 0;
@@ -255,3 +255,27 @@ mark {
255
255
  padding: 0.2em;
256
256
  background-color: #feffe6;
257
257
  }
258
+
259
+ // scrolbar reset
260
+
261
+ ::-webkit-scrollbar {
262
+ width: 10px;
263
+ height: 10px;
264
+ }
265
+
266
+ ::-webkit-scrollbar-thumb {
267
+ background-color: var(--ap-scrollbar-thumb-color-base);
268
+ background-clip: content-box;
269
+ border: 1px solid transparent;
270
+ border-radius: 4px;
271
+ }
272
+
273
+ ::-webkit-scrollbar-track,
274
+ ::-webkit-scrollbar-corner {
275
+ background-color: var(--ap-scrollbar-track-color-hover, #f2f6f9);
276
+ }
277
+
278
+ ::-webkit-scrollbar-thumb:hover,
279
+ ::-webkit-scrollbar-thumb:active {
280
+ background-color: var(--ap-scrollbar-thumb-color-hover);
281
+ }