@aplus-frontend/ui 0.6.0-beta.12 → 0.6.0-beta.13

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 (227) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  13. package/es/src/ap-field/date/index.vue.mjs +4 -4
  14. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  15. package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  33. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  34. package/es/src/ap-form/interface.d.ts +3 -3
  35. package/es/src/ap-form/item/index.vue.mjs +38 -34
  36. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  43. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  48. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  50. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  51. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  52. package/es/src/ap-form/render/item.vue.mjs +2 -2
  53. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
  54. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  55. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  56. package/es/src/ap-form/search-form/index.vue.d.ts +9 -6
  57. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  58. package/es/src/ap-form/set/index.vue.mjs +1 -1
  59. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  60. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  61. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  62. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  63. package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
  64. package/es/src/ap-grid/index.vue.d.ts +2 -4
  65. package/es/src/ap-grid/index.vue.mjs +5 -5
  66. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  67. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  68. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  69. package/es/src/ap-list/index.vue.d.ts +2 -4
  70. package/es/src/ap-list/index.vue.mjs +1 -1
  71. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  72. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  73. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  74. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  76. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  77. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  78. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  80. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  81. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  82. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  83. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  84. package/es/src/ap-table/constants.d.ts +23 -23
  85. package/es/src/ap-table/constants.mjs +45 -45
  86. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  87. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  88. package/es/src/ap-table/utils.d.ts +23 -23
  89. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  90. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  91. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  92. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  93. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  94. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  95. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  96. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  97. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  98. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  99. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  100. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  101. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  102. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  103. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  104. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  105. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  106. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  107. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  108. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
  109. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  110. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  111. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  112. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  113. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  114. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  115. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  116. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  117. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  118. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
  119. package/es/src/business/ap-radio-group/index.d.ts +5 -0
  120. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  121. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  122. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  123. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  124. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  125. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  126. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  127. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  128. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  129. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  130. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  131. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  132. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  133. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  134. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  135. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  136. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  137. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  138. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  139. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  140. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  141. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  142. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  143. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  144. package/es/src/check-card/index.vue2.mjs +3 -3
  145. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  146. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  147. package/es/src/editable-table/form-item.vue.mjs +2 -2
  148. package/es/src/editable-table/index.vue.d.ts +2 -4
  149. package/es/src/editable-table/index.vue.mjs +2 -2
  150. package/es/src/full-screen/index.vue.mjs +3 -3
  151. package/es/src/hooks/useFullScreen.mjs +5 -5
  152. package/es/src/mask/index.vue.mjs +10 -10
  153. package/es/src/portal/index.vue.mjs +2 -2
  154. package/es/src/scroll-bar/index.vue.mjs +3 -3
  155. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  156. package/es/src/scroll-view/index.vue.d.ts +5 -5
  157. package/es/src/scroll-view/index.vue.mjs +9 -9
  158. package/es/src/splitter/Panel.vue2.mjs +4 -4
  159. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  160. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  161. package/es/src/tests/wrapper.d.ts +4 -4
  162. package/es/src/text/group.vue.mjs +2 -2
  163. package/es/src/text/index.vue.mjs +4 -4
  164. package/es/src/version.d.ts +1 -1
  165. package/es/src/version.mjs +1 -1
  166. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  167. package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  168. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  169. package/es/test/setup.d.ts +5 -0
  170. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  171. package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
  172. package/lib/src/ap-field/index.js +1 -1
  173. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  174. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  175. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  176. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  177. package/lib/src/ap-form/interface.d.ts +3 -3
  178. package/lib/src/ap-form/item/index.vue.js +1 -1
  179. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  180. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  181. package/lib/src/ap-form/search-form/index.vue.d.ts +9 -6
  182. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  183. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  184. package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
  185. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  186. package/lib/src/ap-grid/index.vue.js +1 -1
  187. package/lib/src/ap-list/index.vue.d.ts +2 -4
  188. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  189. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  190. package/lib/src/ap-table/constants.d.ts +23 -23
  191. package/lib/src/ap-table/constants.js +1 -1
  192. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  193. package/lib/src/ap-table/utils.d.ts +23 -23
  194. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  195. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  196. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  197. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  198. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  199. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  200. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  201. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  202. package/lib/src/business/ap-radio-group/index.d.ts +5 -0
  203. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  204. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  205. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  206. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  207. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  208. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  209. package/lib/src/editable-table/index.vue.d.ts +2 -4
  210. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  211. package/lib/src/tests/wrapper.d.ts +4 -4
  212. package/lib/src/version.d.ts +1 -1
  213. package/lib/src/version.js +1 -1
  214. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  215. package/lib/test/setup.d.ts +5 -0
  216. package/package.json +3 -3
  217. package/theme/ap-action/item.css +12 -1
  218. package/theme/ap-action/item.less +13 -1
  219. package/theme/ap-grid/index.css +12 -1
  220. package/theme/ap-radio-group/ap-radio-group.css +2 -1
  221. package/theme/ap-radio-group/ap-radio-group.less +3 -1
  222. package/theme/ap-table/ap-table.css +12 -1
  223. package/theme/ap-table-modal/index.css +12 -1
  224. package/theme/editable-table/index.css +12 -1
  225. package/theme/index.css +23 -3
  226. package/theme/ui-mode.css +9 -1
  227. package/theme/ui-mode.less +17 -1
@@ -2,13 +2,12 @@ import { ViewListModel } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -110,7 +109,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
110
109
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
111
110
  readonly initialValues?: Recordable | undefined;
112
111
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
113
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
112
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
114
113
  readonly syncToUrlPriority?: boolean | undefined;
115
114
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
116
115
  $attrs: {
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (
6
+ /**
7
+ * 块 一般是指组件名
8
+ */
9
+ block: string, namespaceOverrides?: Ref<string | undefined>) => {
6
10
  namespace: ComputedRef<string>;
7
11
  b: (blockSuffix?: string) => string;
8
12
  e: (element?: string) => string;
@@ -1,5 +1,5 @@
1
1
  import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
3
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
5
5
  expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
@@ -36,9 +36,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
36
36
  }) => void;
37
37
  };
38
38
  emit: {};
39
- }>) => VNode<RendererNode, RendererElement, {
40
- [key: string]: any;
41
- }> & {
39
+ }>) => VNode & {
42
40
  __ctx?: Awaited<typeof __VLS_setup>;
43
41
  };
44
42
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -39,9 +39,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
39
39
  }) => void;
40
40
  };
41
41
  emit: (event: "update:value", ...args: any[]) => void;
42
- }>) => VNode<RendererNode, RendererElement, {
43
- [key: string]: any;
44
- }> & {
42
+ }>) => VNode & {
45
43
  __ctx?: Awaited<typeof __VLS_setup>;
46
44
  };
47
45
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ScrollOptions, ScrollViewProps } from './interface';
2
- import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
2
+ import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
5
5
  declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: ColorType;
110
- trackColor?: ColorType;
109
+ barColor?: import("csstype").Property.BackgroundColor | undefined;
110
+ trackColor?: import("csstype").Property.BackgroundColor | undefined;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: ColorType;
122
- trackColor?: ColorType;
121
+ barColor?: import("csstype").Property.BackgroundColor | undefined;
122
+ trackColor?: import("csstype").Property.BackgroundColor | undefined;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: ("admin" | "aplus") | undefined;
4
- lang?: ("en" | "zh-cn") | undefined;
3
+ uiMode?: "admin" | "aplus" | undefined;
4
+ lang?: "en" | "zh-cn" | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: ("admin" | "aplus") | undefined;
7
- lang?: ("en" | "zh-cn") | undefined;
6
+ uiMode?: "admin" | "aplus" | undefined;
7
+ lang?: "en" | "zh-cn" | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- declare const _default: "0.6.0-beta.12";
1
+ declare const _default: "0.6.0-beta.13";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="0.6.0-beta.12";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="0.6.0-beta.13";exports.default=e;
@@ -2,13 +2,12 @@ import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
11
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
@@ -113,7 +112,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
113
112
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
114
113
  readonly initialValues?: Recordable | undefined;
115
114
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
116
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
115
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
117
116
  readonly syncToUrlPriority?: boolean | undefined;
118
117
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
119
118
  $attrs: {
@@ -0,0 +1,5 @@
1
+ declare class MockResizeObserver {
2
+ observe(): void;
3
+ unobserve(): void;
4
+ disconnect(): void;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "0.6.0-beta.12",
3
+ "version": "0.6.0-beta.13",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -63,8 +63,8 @@
63
63
  "sortablejs": "^1.15.2",
64
64
  "vue-virtual-scroller": "2.0.0-beta.8",
65
65
  "vuedraggable": "^4.1.0",
66
- "@aplus-frontend/hooks": "1.0.7",
67
- "@aplus-frontend/utils": "1.0.57"
66
+ "@aplus-frontend/utils": "1.0.57",
67
+ "@aplus-frontend/hooks": "1.0.7"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "@aplus-frontend/antdv": "^1.1.5",
@@ -80,6 +80,17 @@
80
80
  margin-right: 4px;
81
81
  }
82
82
  .aplus-action-item--disabled {
83
- color: #CCE2FF;
84
83
  cursor: not-allowed;
85
84
  }
85
+ .aplus-action-item--primary.aplus-action-item--disabled {
86
+ color: var(--ap-color-primary-disabled);
87
+ }
88
+ .aplus-action-item--success.aplus-action-item--disabled {
89
+ color: var(--ap-color-success-disabled);
90
+ }
91
+ .aplus-action-item--error.aplus-action-item--disabled {
92
+ color: var(--ap-color-error-disabled);
93
+ }
94
+ .aplus-action-item--warn.aplus-action-item--disabled {
95
+ color: var(--ap-color-warn-disabled);
96
+ }
@@ -37,7 +37,19 @@
37
37
  }
38
38
 
39
39
  &--disabled {
40
- color: #CCE2FF;
41
40
  cursor: not-allowed;
42
41
  }
42
+
43
+ &--primary&--disabled {
44
+ color: var(--ap-color-primary-disabled);
45
+ }
46
+ &--success&--disabled {
47
+ color: var(--ap-color-success-disabled);
48
+ }
49
+ &--error&--disabled {
50
+ color: var(--ap-color-error-disabled);
51
+ }
52
+ &--warn&--disabled {
53
+ color: var(--ap-color-warn-disabled);
54
+ }
43
55
  });
@@ -442,9 +442,20 @@
442
442
  margin-right: 4px;
443
443
  }
444
444
  .aplus-action-item--disabled {
445
- color: #CCE2FF;
446
445
  cursor: not-allowed;
447
446
  }
447
+ .aplus-action-item--primary.aplus-action-item--disabled {
448
+ color: var(--ap-color-primary-disabled);
449
+ }
450
+ .aplus-action-item--success.aplus-action-item--disabled {
451
+ color: var(--ap-color-success-disabled);
452
+ }
453
+ .aplus-action-item--error.aplus-action-item--disabled {
454
+ color: var(--ap-color-error-disabled);
455
+ }
456
+ .aplus-action-item--warn.aplus-action-item--disabled {
457
+ color: var(--ap-color-warn-disabled);
458
+ }
448
459
  .aplus-action-item-dropdown__item .aplus-action-item {
449
460
  width: 100%;
450
461
  }
@@ -47,13 +47,14 @@
47
47
  .aplus-ap-radio-group {
48
48
  font-size: 12px;
49
49
  padding: 8px 8px 0;
50
- background-color: #ffffff;
50
+ background-color: #fff;
51
51
  }
52
52
  .aplus-ap-radio-group__item {
53
53
  cursor: pointer;
54
54
  padding-inline: 12px;
55
55
  border-radius: 4px;
56
56
  color: var(--ap-text-color-1);
57
+ transition: all 0.3s ease-in-out;
57
58
  }
58
59
  .aplus-ap-radio-group__item:hover {
59
60
  background-color: var(--ap-color-bg-2);
@@ -4,13 +4,15 @@
4
4
  .b(ap-radio-group,{
5
5
  font-size: @font-size-base;
6
6
  padding: @spacing @spacing 0;
7
- background-color: #ffffff;
7
+ background-color: @component-background;
8
+
8
9
 
9
10
  &__item{
10
11
  cursor: pointer;
11
12
  padding-inline: @spacing-lg;
12
13
  border-radius: 4px;
13
14
  color: var(--ap-text-color-1);
15
+ transition: all 0.3s ease-in-out;
14
16
  &:hover{
15
17
  background-color: var(--ap-color-bg-2);
16
18
  }
@@ -634,9 +634,20 @@
634
634
  margin-right: 4px;
635
635
  }
636
636
  .aplus-action-item--disabled {
637
- color: #CCE2FF;
638
637
  cursor: not-allowed;
639
638
  }
639
+ .aplus-action-item--primary.aplus-action-item--disabled {
640
+ color: var(--ap-color-primary-disabled);
641
+ }
642
+ .aplus-action-item--success.aplus-action-item--disabled {
643
+ color: var(--ap-color-success-disabled);
644
+ }
645
+ .aplus-action-item--error.aplus-action-item--disabled {
646
+ color: var(--ap-color-error-disabled);
647
+ }
648
+ .aplus-action-item--warn.aplus-action-item--disabled {
649
+ color: var(--ap-color-warn-disabled);
650
+ }
640
651
  .aplus-action-item-dropdown__item .aplus-action-item {
641
652
  width: 100%;
642
653
  }
@@ -634,9 +634,20 @@
634
634
  margin-right: 4px;
635
635
  }
636
636
  .aplus-action-item--disabled {
637
- color: #CCE2FF;
638
637
  cursor: not-allowed;
639
638
  }
639
+ .aplus-action-item--primary.aplus-action-item--disabled {
640
+ color: var(--ap-color-primary-disabled);
641
+ }
642
+ .aplus-action-item--success.aplus-action-item--disabled {
643
+ color: var(--ap-color-success-disabled);
644
+ }
645
+ .aplus-action-item--error.aplus-action-item--disabled {
646
+ color: var(--ap-color-error-disabled);
647
+ }
648
+ .aplus-action-item--warn.aplus-action-item--disabled {
649
+ color: var(--ap-color-warn-disabled);
650
+ }
640
651
  .aplus-action-item-dropdown__item .aplus-action-item {
641
652
  width: 100%;
642
653
  }
@@ -442,9 +442,20 @@
442
442
  margin-right: 4px;
443
443
  }
444
444
  .aplus-action-item--disabled {
445
- color: #CCE2FF;
446
445
  cursor: not-allowed;
447
446
  }
447
+ .aplus-action-item--primary.aplus-action-item--disabled {
448
+ color: var(--ap-color-primary-disabled);
449
+ }
450
+ .aplus-action-item--success.aplus-action-item--disabled {
451
+ color: var(--ap-color-success-disabled);
452
+ }
453
+ .aplus-action-item--error.aplus-action-item--disabled {
454
+ color: var(--ap-color-error-disabled);
455
+ }
456
+ .aplus-action-item--warn.aplus-action-item--disabled {
457
+ color: var(--ap-color-warn-disabled);
458
+ }
448
459
  .aplus-action-item-dropdown__item .aplus-action-item {
449
460
  width: 100%;
450
461
  }
package/theme/index.css CHANGED
@@ -3,12 +3,16 @@
3
3
  --ap-hover-color-base: #66a9ff;
4
4
  --ap-active-color-base: #66a9ff;
5
5
  --ap-color-primary: #0070ff;
6
+ --ap-color-primary-disabled: #cce2ff;
6
7
  --ap-color-link: #0070ff;
7
8
  --ap-color-link-hover: #66a9ff;
8
9
  --ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
9
10
  --ap-color-success: #2ed1a3;
11
+ --ap-color-success-disabled: #d5f6ed;
10
12
  --ap-color-error: #ff4d4f;
13
+ --ap-color-error-disabled: #ffdbdc;
11
14
  --ap-color-warn: #ffa940;
15
+ --ap-color-warn-disabled: #ffeed9;
12
16
  --ap-table-header-bg: #f2f6f9;
13
17
  --ap-text-color-1: #526a90;
14
18
  --ap-text-color-2: #182948;
@@ -27,12 +31,16 @@
27
31
  --ap-hover-color-base: #85d4b0;
28
32
  --ap-active-color-base: #85d4b0;
29
33
  --ap-color-primary: #34b77c;
34
+ --ap-color-primary-disabled: #d6f1e5;
30
35
  --ap-color-link: #1890ff;
31
36
  --ap-color-link-hover: #5eb1ff;
32
37
  --ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
33
- --ap-color-success: #52c41a;
38
+ --ap-color-success: #34b77c;
39
+ --ap-color-success-disabled: #d6f1e5;
34
40
  --ap-color-error: #ff4d4f;
41
+ --ap-color-error-disabled: #ffdbdc;
35
42
  --ap-color-warn: #faad14;
43
+ --ap-color-warn-disabled: #ffeed9;
36
44
  --ap-table-header-bg: #f7f7f7;
37
45
  --ap-text-color-1: #666666;
38
46
  --ap-text-color-2: #333333;
@@ -128,9 +136,20 @@
128
136
  margin-right: 4px;
129
137
  }
130
138
  .aplus-action-item--disabled {
131
- color: #CCE2FF;
132
139
  cursor: not-allowed;
133
140
  }
141
+ .aplus-action-item--primary.aplus-action-item--disabled {
142
+ color: var(--ap-color-primary-disabled);
143
+ }
144
+ .aplus-action-item--success.aplus-action-item--disabled {
145
+ color: var(--ap-color-success-disabled);
146
+ }
147
+ .aplus-action-item--error.aplus-action-item--disabled {
148
+ color: var(--ap-color-error-disabled);
149
+ }
150
+ .aplus-action-item--warn.aplus-action-item--disabled {
151
+ color: var(--ap-color-warn-disabled);
152
+ }
134
153
  .aplus-action-item-dropdown__item .aplus-action-item {
135
154
  width: 100%;
136
155
  }
@@ -3390,13 +3409,14 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3390
3409
  .aplus-ap-radio-group {
3391
3410
  font-size: 12px;
3392
3411
  padding: 8px 8px 0;
3393
- background-color: #ffffff;
3412
+ background-color: #fff;
3394
3413
  }
3395
3414
  .aplus-ap-radio-group__item {
3396
3415
  cursor: pointer;
3397
3416
  padding-inline: 12px;
3398
3417
  border-radius: 4px;
3399
3418
  color: var(--ap-text-color-1);
3419
+ transition: all 0.3s ease-in-out;
3400
3420
  }
3401
3421
  .aplus-ap-radio-group__item:hover {
3402
3422
  background-color: var(--ap-color-bg-2);
package/theme/ui-mode.css CHANGED
@@ -3,12 +3,16 @@
3
3
  --ap-hover-color-base: #66a9ff;
4
4
  --ap-active-color-base: #66a9ff;
5
5
  --ap-color-primary: #0070ff;
6
+ --ap-color-primary-disabled: #cce2ff;
6
7
  --ap-color-link: #0070ff;
7
8
  --ap-color-link-hover: #66a9ff;
8
9
  --ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
9
10
  --ap-color-success: #2ed1a3;
11
+ --ap-color-success-disabled: #d5f6ed;
10
12
  --ap-color-error: #ff4d4f;
13
+ --ap-color-error-disabled: #ffdbdc;
11
14
  --ap-color-warn: #ffa940;
15
+ --ap-color-warn-disabled: #ffeed9;
12
16
  --ap-table-header-bg: #f2f6f9;
13
17
  --ap-text-color-1: #526a90;
14
18
  --ap-text-color-2: #182948;
@@ -27,12 +31,16 @@
27
31
  --ap-hover-color-base: #85d4b0;
28
32
  --ap-active-color-base: #85d4b0;
29
33
  --ap-color-primary: #34b77c;
34
+ --ap-color-primary-disabled: #d6f1e5;
30
35
  --ap-color-link: #1890ff;
31
36
  --ap-color-link-hover: #5eb1ff;
32
37
  --ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
33
- --ap-color-success: #52c41a;
38
+ --ap-color-success: #34b77c;
39
+ --ap-color-success-disabled: #d6f1e5;
34
40
  --ap-color-error: #ff4d4f;
41
+ --ap-color-error-disabled: #ffdbdc;
35
42
  --ap-color-warn: #faad14;
43
+ --ap-color-warn-disabled: #ffeed9;
36
44
  --ap-table-header-bg: #f7f7f7;
37
45
  --ap-text-color-1: #666666;
38
46
  --ap-text-color-2: #333333;
@@ -7,6 +7,8 @@
7
7
  --ap-active-color-base: #66a9ff;
8
8
  // 系统主色
9
9
  --ap-color-primary: #0070ff;
10
+ // 主色-禁用
11
+ --ap-color-primary-disabled: #cce2ff;
10
12
  // 链接色
11
13
  --ap-color-link: #0070ff;
12
14
  // 链接hover色
@@ -15,10 +17,16 @@
15
17
  --ap-form-bordered-shadow-color: rgba(5, 155, 255, 0.1);
16
18
  // 成功色
17
19
  --ap-color-success: #2ed1a3;
20
+ // 成功色-禁用
21
+ --ap-color-success-disabled: #d5f6ed;
18
22
  // 失败色
19
23
  --ap-color-error: #ff4d4f;
24
+ // 失败色-禁用
25
+ --ap-color-error-disabled: #ffdbdc;
20
26
  // 警告色
21
27
  --ap-color-warn: #ffa940;
28
+ // 警告色-禁用
29
+ --ap-color-warn-disabled: #ffeed9;
22
30
  // 表格表头背景色
23
31
  --ap-table-header-bg: #f2f6f9;
24
32
  // 文本颜色1号色
@@ -50,17 +58,25 @@
50
58
  --ap-active-color-base: #85d4b0;
51
59
  // 系统主色
52
60
  --ap-color-primary: #34b77c;
61
+ // 主色-禁用
62
+ --ap-color-primary-disabled: #d6f1e5;
53
63
  // 链接色
54
64
  --ap-color-link: #1890ff;
55
65
  // 链接hover色
56
66
  --ap-color-link-hover: #5eb1ff;
57
67
  --ap-form-bordered-shadow-color: rgba(11, 166, 66, 0.09);
58
68
  // 成功色
59
- --ap-color-success: #52c41a;
69
+ --ap-color-success: #34b77c;
70
+ // 成功色-禁用
71
+ --ap-color-success-disabled: #d6f1e5;
60
72
  // 失败色
61
73
  --ap-color-error: #ff4d4f;
74
+ // 失败色-禁用
75
+ --ap-color-error-disabled: #ffdbdc;
62
76
  // 警告色
63
77
  --ap-color-warn: #faad14;
78
+ // 警告色-禁用
79
+ --ap-color-warn-disabled: #ffeed9;
64
80
  // 表格表头背景色
65
81
  --ap-table-header-bg: #f7f7f7;
66
82
  // 文本颜色1号色