@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 { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc }
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 { OnCleanup } from '@vue/reactivity';
14
13
  type __VLS_Props = {
@@ -109,7 +108,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
109
108
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
110
109
  readonly initialValues?: Recordable | undefined;
111
110
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
112
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
111
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
113
112
  readonly syncToUrlPriority?: boolean | undefined;
114
113
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
115
114
  $attrs: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as z, ref as $, computed as I, watch as Y, openBlock as D, createBlock as E, unref as e, withCtx as t, createElementVNode as f, normalizeClass as r, createVNode as a, toDisplayString as s, createTextVNode as v, createSlots as K } from "vue";
2
- import { Popover as j, Checkbox as q, Space as N, Tooltip as B } from "@aplus-frontend/antdv";
1
+ import { defineComponent as z, ref as $, computed as I, watch as Y, createBlock as D, openBlock as E, unref as e, withCtx as t, createElementVNode as f, normalizeClass as r, createVNode as a, createSlots as K, toDisplayString as s, createTextVNode as v } from "vue";
2
+ import { Popover as j, Tooltip as q, Space as N, Checkbox as B } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import L from "../icons/line-eye.vue.mjs";
5
5
  import "../../../ap-form/ap-form.vue.mjs";
@@ -52,7 +52,7 @@ const re = /* @__PURE__ */ z({
52
52
  viewConfig: T
53
53
  })), c.value = !1;
54
54
  };
55
- return (p, i) => (D(), E(e(j), {
55
+ return (p, i) => (E(), D(e(j), {
56
56
  open: y.value,
57
57
  "onUpdate:open": i[1] || (i[1] = (m) => y.value = m),
58
58
  placement: "bottom",
@@ -87,7 +87,7 @@ const re = /* @__PURE__ */ z({
87
87
  "value-prop-name": "checked"
88
88
  }, {
89
89
  default: t(() => [
90
- a(e(q), null, {
90
+ a(e(B), null, {
91
91
  default: t(() => [
92
92
  v(s(e(o)("ap.apView.setDefault")), 1)
93
93
  ]),
@@ -154,7 +154,7 @@ const re = /* @__PURE__ */ z({
154
154
  [e(l)("main-content-disabled")]: e(u).length >= d.maxViewNum + 1
155
155
  })
156
156
  }, [
157
- a(e(B), { placement: "bottom" }, K({
157
+ a(e(q), { placement: "bottom" }, K({
158
158
  default: t(() => [
159
159
  a(e(N), { size: 4 }, {
160
160
  default: t(() => [
@@ -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: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as S, watch as O, openBlock as u, createElementBlock as p, normalizeClass as C, unref as e, createElementVNode as s, toDisplayString as f, createVNode as a, createCommentVNode as k, withModifiers as P, withCtx as v } from "vue";
1
+ import { defineComponent as G, ref as S, watch as O, createElementBlock as u, openBlock as p, normalizeClass as C, unref as e, createElementVNode as s, createCommentVNode as k, toDisplayString as f, createVNode as a, withModifiers as P, withCtx as v } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { useViewInject as W } from "../hooks/use-view-provide.mjs";
4
4
  import { SYSTEM_VIEW_KEY as E } from "../utils/enum.mjs";
@@ -61,7 +61,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
61
61
  }
62
62
  ), (i, o) => {
63
63
  var m, r, x, N, h, K, g;
64
- return c.value === !1 ? (u(), p("div", {
64
+ return c.value === !1 ? (p(), u("div", {
65
65
  key: 0,
66
66
  class: C({
67
67
  [e(d)("menu-list-content")]: !0,
@@ -74,14 +74,14 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
74
74
  title: (r = n.view) == null ? void 0 : r.viewName
75
75
  }, f((x = n.view) == null ? void 0 : x.viewName), 9, L)
76
76
  ]),
77
- ((N = n.view) == null ? void 0 : N.viewKey) !== e(E) && ((h = n.view) != null && h.isDefault) ? (u(), p("div", U, [
77
+ ((N = n.view) == null ? void 0 : N.viewKey) !== e(E) && ((h = n.view) != null && h.isDefault) ? (p(), u("div", U, [
78
78
  a(e(D), {
79
79
  text: e(l)("ap.apView.default"),
80
80
  size: "small",
81
81
  color: $[e(I) ?? "aplus"]
82
82
  }, null, 8, ["text", "color"])
83
83
  ])) : k("", !0),
84
- ((K = n.view) == null ? void 0 : K.viewKey) !== e(E) ? (u(), p("div", {
84
+ ((K = n.view) == null ? void 0 : K.viewKey) !== e(E) ? (p(), u("div", {
85
85
  key: 1,
86
86
  class: "menu-list-content-action",
87
87
  onClick: o[1] || (o[1] = P(() => {
@@ -95,7 +95,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
95
95
  class: "menu-list-content-action-text",
96
96
  onClick: o[0] || (o[0] = (ne) => c.value = !0)
97
97
  }, f(e(l)("ap.apView.rename")), 1),
98
- (_ = n.view) != null && _.isDefault ? k("", !0) : (u(), p("div", {
98
+ (_ = n.view) != null && _.isDefault ? k("", !0) : (p(), u("div", {
99
99
  key: 0,
100
100
  class: "menu-list-content-action-text",
101
101
  onClick: Y
@@ -117,7 +117,7 @@ const R = { class: "menu-list-content-name" }, L = ["title"], U = {
117
117
  _: 1
118
118
  })
119
119
  ])) : k("", !0)
120
- ], 2)) : (u(), p("div", {
120
+ ], 2)) : (p(), u("div", {
121
121
  key: 1,
122
122
  class: C([e(d)("menu-list-content"), e(d)("menu-list-content-edit")])
123
123
  }, [
@@ -1,4 +1,4 @@
1
- import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
1
+ import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
2
2
  import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const r = {}, L = {
10
10
  viewBox: "0 0 14 14"
11
11
  };
12
12
  function i(s, t) {
13
- return l(), n("svg", L, t[0] || (t[0] = [
13
+ return n(), l("svg", L, t[0] || (t[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { openBlock as o, createElementBlock as t, createElementVNode as e } from "vue";
1
+ import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, i = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const r = {}, i = {
10
10
  viewBox: "0 0 14 14"
11
11
  };
12
12
  function s(c, n) {
13
- return o(), t("svg", i, n[0] || (n[0] = [
13
+ return t(), o("svg", i, n[0] || (n[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { openBlock as n, createElementBlock as o, createElementVNode as e } from "vue";
1
+ import { createElementBlock as n, openBlock as o, createElementVNode as e } from "vue";
2
2
  import Q from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const l = {}, r = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -10,7 +10,7 @@ const l = {}, r = {
10
10
  viewBox: "0 0 16 16"
11
11
  };
12
12
  function i(s, t) {
13
- return n(), o("svg", r, t[0] || (t[0] = [
13
+ return o(), n("svg", r, t[0] || (t[0] = [
14
14
  e("g", null, [
15
15
  e("g", null, [
16
16
  e("path", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, computed as r, openBlock as B, createBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
1
+ import { defineComponent as b, computed as r, createBlock as B, openBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
2
2
  import "./index.vue2.mjs";
3
3
  import "../../ap-form/item/index.vue2.mjs";
4
4
  import { isValid as s } from "@aplus-frontend/utils";
@@ -76,7 +76,7 @@ const q = /* @__PURE__ */ b({
76
76
  });
77
77
  return (e, a) => {
78
78
  var o, i;
79
- return B(), g(x, u(
79
+ return g(), B(x, u(
80
80
  m(p)(l, [
81
81
  "field",
82
82
  "initialValue",
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as g, computed as u, unref as n, openBlock as B, createElementBlock as $, normalizeClass as K, normalizeStyle as b, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
1
+ import { defineComponent as N, ref as g, computed as u, unref as n, createElementBlock as $, openBlock as B, normalizeStyle as b, normalizeClass as K, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
2
2
  import "../../ap-field/index.mjs";
3
3
  import { Space as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as m, openBlock as w, createElementBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
1
+ import { defineComponent as A, ref as m, createElementBlock as w, openBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
2
2
  import { Popover as N, Textarea as P } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { IconApAdLineScreen as z } from "@aplus-frontend/icon";
@@ -33,7 +33,7 @@ const D = /* @__PURE__ */ A({
33
33
  o.disabled ? n.value = !1 : n.value = t, !t && ((a = o.onClose) == null || a.call(o));
34
34
  }
35
35
  const { b: u, e: I, em: V, bm: k } = O("batch-input-group-popover-input");
36
- return (t, a) => (w(), B("div", {
36
+ return (t, a) => (B(), w("div", {
37
37
  class: p(e(u)())
38
38
  }, [
39
39
  c(e(N), {
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, openBlock as c, createElementBlock as C, normalizeStyle as D, normalizeClass as z, withModifiers as M, createBlock as f, renderSlot as O, resolveDynamicComponent as S, createCommentVNode as g, createElementVNode as U } from "vue";
1
+ import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, createElementBlock as C, openBlock as c, withModifiers as D, normalizeClass as z, normalizeStyle as M, createBlock as f, renderSlot as O, createCommentVNode as g, resolveDynamicComponent as S, createElementVNode as U } from "vue";
2
2
  import { Skeleton as q } from "@aplus-frontend/antdv";
3
3
  import "../config-provider/index.mjs";
4
4
  import "../hooks/index.mjs";
@@ -115,9 +115,9 @@ const K = ["src"], oe = /* @__PURE__ */ I({
115
115
  return (b = (u = l.value) == null ? void 0 : u.cancelValue) == null ? void 0 : b.call(u, a.value);
116
116
  });
117
117
  }), (e, t) => (c(), C("div", {
118
- style: D(T.value),
118
+ style: M(T.value),
119
119
  class: z(w.value),
120
- onClick: M(F, ["stop"])
120
+ onClick: D(F, ["stop"])
121
121
  }, [n.value.loading ? (c(), f(o(q), {
122
122
  key: 0,
123
123
  active: ""
@@ -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,4 +1,4 @@
1
- import { defineComponent as G, ref as c, unref as s, useSlots as H, toRef as U, watch as W, nextTick as $, openBlock as q, createBlock as J, mergeProps as h, withCtx as w, createVNode as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as I, guardReactiveProps as M } from "vue";
1
+ import { defineComponent as G, ref as c, unref as s, useSlots as H, toRef as U, watch as W, nextTick as $, createBlock as q, openBlock as J, mergeProps as h, withCtx as w, createVNode as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as I, guardReactiveProps as M } from "vue";
2
2
  import { Table as ee } from "@aplus-frontend/antdv";
3
3
  import { ApForm as x } from "../ap-form/index.mjs";
4
4
  import { isArray as g, isUndefined as oe, isNumber as m, cloneDeep as te, omit as y } from "lodash-unified";
@@ -210,7 +210,7 @@ const ye = /* @__PURE__ */ G({
210
210
  setTableData: P,
211
211
  clear: O,
212
212
  removeByKey: k
213
- }), (e, a) => (q(), J(s(x).FormItem, h(e.formItem, {
213
+ }), (e, a) => (J(), q(s(x).FormItem, h(e.formItem, {
214
214
  name: e.name,
215
215
  label: e.label
216
216
  }), {
@@ -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,4 +1,4 @@
1
- import { defineComponent as q, useSlots as J, ref as y, watch as C, unref as r, openBlock as Q, createBlock as X, withCtx as h, createVNode as b, mergeProps as Y, createSlots as Z, renderList as M, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
1
+ import { defineComponent as q, useSlots as J, ref as y, watch as C, unref as r, createBlock as Q, openBlock as X, withCtx as h, createVNode as b, mergeProps as Y, createSlots as Z, renderList as M, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
2
2
  import { Table as ne } from "@aplus-frontend/antdv";
3
3
  import { ApForm as x } from "../ap-form/index.mjs";
4
4
  import { isEqual as oe, isArray as v, isUndefined as le, isNumber as g, cloneDeep as ue, omit as R } from "lodash-unified";
@@ -230,7 +230,7 @@ const Fe = /* @__PURE__ */ q({
230
230
  clear: $,
231
231
  setTableData: U,
232
232
  removeByKey: j
233
- }), (e, t) => (Q(), X(r(x), {
233
+ }), (e, t) => (X(), Q(r(x), {
234
234
  ref_key: "formRef",
235
235
  ref: i,
236
236
  "initial-values": {
@@ -1,4 +1,4 @@
1
- import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, openBlock as d, createBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
1
+ import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, createBlock as d, openBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../portal/index.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -44,12 +44,12 @@ const H = /* @__PURE__ */ R({
44
44
  enter: r,
45
45
  exit: s,
46
46
  toggle: c
47
- }), (e, o) => (d(), m(a(B), {
47
+ }), (e, o) => (m(), d(a(B), {
48
48
  to: e.to,
49
49
  disabled: l.value !== "window"
50
50
  }, {
51
51
  default: v(() => [
52
- (d(), m(z(e.wrapperElementName), C({
52
+ (m(), d(z(e.wrapperElementName), C({
53
53
  ref_key: "target",
54
54
  ref: f
55
55
  }, e.$attrs, {
@@ -1,5 +1,5 @@
1
1
  import { isClient as d } from "@vueuse/core";
2
- import { computed as c, unref as u, isRef as v, ref as f, watch as p } from "vue";
2
+ import { ref as c, computed as f, isRef as v, unref as u, watch as p } from "vue";
3
3
  const a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new Set();
4
4
  d && document.addEventListener("fullscreenchange", () => {
5
5
  if (o.forEach((e) => e.value = !1), document.fullscreenElement) {
@@ -9,13 +9,13 @@ d && document.addEventListener("fullscreenchange", () => {
9
9
  e && (e.value = !0);
10
10
  }
11
11
  });
12
- const E = (e = f(null)) => {
13
- const i = c({
12
+ const E = (e = c(null)) => {
13
+ const i = f({
14
14
  get: () => u(e),
15
15
  set: (t) => {
16
16
  v(e) && (e.value = t);
17
17
  }
18
- }), l = f(!1);
18
+ }), l = c(!1);
19
19
  o.add(l), p(
20
20
  () => e.value,
21
21
  (t, n) => {
@@ -40,7 +40,7 @@ const E = (e = f(null)) => {
40
40
  }
41
41
  return {
42
42
  target: i,
43
- full: c(() => u(l)),
43
+ full: f(() => u(l)),
44
44
  enter: r,
45
45
  exit: s,
46
46
  toggle: m
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as m, watch as v, watchEffect as A, onMounted as M, onUnmounted as O, openBlock as y, createBlock as x, Teleport as P, createElementVNode as r, normalizeClass as d, unref as o, normalizeStyle as k, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B, createCommentVNode as i } from "vue";
1
+ import { defineComponent as g, ref as m, watch as v, watchEffect as A, onMounted as M, onUnmounted as O, createBlock as x, createCommentVNode as r, openBlock as y, Teleport as P, createElementVNode as d, normalizeStyle as k, unref as o, normalizeClass as i, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../config-provider/index.mjs";
4
4
  import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
@@ -68,10 +68,10 @@ const J = /* @__PURE__ */ g({
68
68
  key: 0,
69
69
  to: "body"
70
70
  }, [
71
- r("div", {
71
+ d("div", {
72
72
  ref_key: "wrapper",
73
73
  ref: p,
74
- class: d(o(z)()),
74
+ class: i(o(z)()),
75
75
  style: k({ zIndex: o(N), visibility: l.value ? void 0 : "hidden" })
76
76
  }, [
77
77
  C(b, {
@@ -82,19 +82,19 @@ const J = /* @__PURE__ */ g({
82
82
  default: h(() => [
83
83
  o(a) ? (y(), T("div", {
84
84
  key: 0,
85
- class: d([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
85
+ class: i([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
86
86
  onClick: _
87
87
  }, [
88
88
  B(e.$slots, "mask", {}, () => [
89
- r("div", {
90
- class: d(o(u)("mask-inner"))
89
+ d("div", {
90
+ class: i(o(u)("mask-inner"))
91
91
  }, null, 2)
92
92
  ])
93
- ], 2)) : i("", !0)
93
+ ], 2)) : r("", !0)
94
94
  ]),
95
95
  _: 3
96
96
  }, 8, ["name"]),
97
- r("div", {
97
+ d("div", {
98
98
  style: k(e.contentStyle)
99
99
  }, [
100
100
  C(b, {
@@ -102,13 +102,13 @@ const J = /* @__PURE__ */ g({
102
102
  name: o(c)()
103
103
  }, {
104
104
  default: h(() => [
105
- o(a) ? B(e.$slots, "default", { key: 0 }) : i("", !0)
105
+ o(a) ? B(e.$slots, "default", { key: 0 }) : r("", !0)
106
106
  ]),
107
107
  _: 3
108
108
  }, 8, ["name"])
109
109
  ], 4)
110
110
  ], 6)
111
- ])) : i("", !0);
111
+ ])) : r("", !0);
112
112
  }
113
113
  });
114
114
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, openBlock as n, createBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
1
+ import { defineComponent as r, createBlock as n, openBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
2
2
  const m = /* @__PURE__ */ r({
3
3
  name: "Portal",
4
4
  __name: "index",
@@ -9,7 +9,7 @@ const m = /* @__PURE__ */ r({
9
9
  },
10
10
  setup(o) {
11
11
  const t = o;
12
- return (e, d) => (n(), p(a, l(t, {
12
+ return (e, d) => (p(), n(a, l(t, {
13
13
  to: e.to || "body"
14
14
  }), [
15
15
  s(e.$slots, "default")
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, openBlock as k, createBlock as C, mergeProps as B, createCommentVNode as L } from "vue";
1
+ import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, createBlock as k, createCommentVNode as C, openBlock as B, mergeProps as L } from "vue";
2
2
  import "./internal.vue2.mjs";
3
3
  import { omit as R } from "lodash-unified";
4
4
  import { getScrollable as u, ensureRangeValue as w } from "./utils/index.mjs";
@@ -79,14 +79,14 @@ const W = /* @__PURE__ */ z({
79
79
  var e;
80
80
  return a((e = l.value) == null ? void 0 : e.container);
81
81
  })
82
- }), (e, t) => n.value !== 100 ? (k(), C(E, B({
82
+ }), (e, t) => n.value !== 100 ? (B(), k(E, L({
83
83
  key: 0,
84
84
  ref_key: "barRef",
85
85
  ref: l
86
86
  }, a(R)(r, ["onScroll", "extraSize", "scrollContainer"]), {
87
87
  "bar-length": n.value,
88
88
  onScroll: d
89
- }), null, 16, ["bar-length"])) : L("", !0);
89
+ }), null, 16, ["bar-length"])) : C("", !0);
90
90
  }
91
91
  });
92
92
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, openBlock as A, createElementBlock as N, normalizeClass as m, normalizeStyle as U, createElementVNode as L } from "vue";
1
+ import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, createElementBlock as A, openBlock as N, normalizeStyle as U, normalizeClass as m, createElementVNode as L } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useTrack as X } from "./hooks/use-track.mjs";
4
4
  import { ensureRangeValue as C } from "./utils/index.mjs";
@@ -88,7 +88,7 @@ const I = /* @__PURE__ */ V({
88
88
  bar: l,
89
89
  track: c,
90
90
  scroll: $
91
- }), (e, n) => (A(), N("div", {
91
+ }), (e, n) => (N(), A("div", {
92
92
  ref_key: "container",
93
93
  ref: k,
94
94
  class: m([o(B)(), o(P)(e.direction)]),
@@ -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,4 +1,4 @@
1
- import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, openBlock as P, createElementBlock as ye, normalizeClass as B, normalizeStyle as M, withModifiers as A, createElementVNode as z, renderSlot as me, createBlock as L, mergeProps as O, createCommentVNode as T } from "vue";
1
+ import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, createElementBlock as ye, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as B, createElementVNode as z, renderSlot as me, createBlock as L, createCommentVNode as O, mergeProps as T } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "../scroll-bar/index.mjs";
4
4
  import { isDef as f } from "../utils/index.mjs";
@@ -206,10 +206,10 @@ const Ye = /* @__PURE__ */ fe({
206
206
  ref_key: "containerRef",
207
207
  ref: s,
208
208
  class: B(l(J)()),
209
- style: M(oe.value),
209
+ style: A(oe.value),
210
210
  onWheel: [
211
- A(ae, ["exact"]),
212
- A(le, ["shift"])
211
+ M(ae, ["exact"]),
212
+ M(le, ["shift"])
213
213
  ]
214
214
  }, [
215
215
  z("div", {
@@ -221,21 +221,21 @@ const Ye = /* @__PURE__ */ fe({
221
221
  ], 2),
222
222
  z("div", {
223
223
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "vertical")]),
224
- style: M(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
224
+ style: A(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
225
225
  }, [
226
- x.value ? (P(), L(l(H), O({
226
+ x.value ? (P(), L(l(H), T({
227
227
  key: 0,
228
228
  ref_key: "yBarRef",
229
229
  ref: Q
230
230
  }, t.yBarProps, {
231
231
  "bar-length": c.y,
232
232
  onScroll: e[0] || (e[0] = (a) => X(a, "vertical"))
233
- }), null, 16, ["bar-length"])) : T("", !0)
233
+ }), null, 16, ["bar-length"])) : O("", !0)
234
234
  ], 6),
235
235
  z("div", {
236
236
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "horizontal")])
237
237
  }, [
238
- m.value ? (P(), L(l(H), O({
238
+ m.value ? (P(), L(l(H), T({
239
239
  key: 0,
240
240
  ref_key: "xBarRef",
241
241
  ref: K
@@ -243,7 +243,7 @@ const Ye = /* @__PURE__ */ fe({
243
243
  direction: "horizontal",
244
244
  "bar-length": c.x,
245
245
  onScroll: e[1] || (e[1] = (a) => X(a, "horizontal"))
246
- }), null, 16, ["bar-length"])) : T("", !0)
246
+ }), null, 16, ["bar-length"])) : O("", !0)
247
247
  ], 2)
248
248
  ], 38));
249
249
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as r, openBlock as i, createElementBlock as p, normalizeClass as m, unref as s, normalizeStyle as c, renderSlot as u } from "vue";
1
+ import { defineComponent as n, computed as r, createElementBlock as i, openBlock as p, normalizeStyle as m, normalizeClass as c, unref as s, renderSlot as u } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useNamespace as d } from "../config-provider/hooks/use-namespace.mjs";
4
4
  const B = /* @__PURE__ */ n({
@@ -23,9 +23,9 @@ const B = /* @__PURE__ */ n({
23
23
  flexGrow: e ? 0 : 1
24
24
  };
25
25
  });
26
- return (e, f) => (i(), p("div", {
27
- class: m([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
28
- style: c(o.value)
26
+ return (e, f) => (p(), i("div", {
27
+ class: c([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
28
+ style: m(o.value)
29
29
  }, [
30
30
  u(e.$slots, "default")
31
31
  ], 6));