@sdata/web-vue 3.13.0 → 3.15.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 (300) hide show
  1. package/dist/sd.css +167 -114
  2. package/dist/sd.min.css +2 -2
  3. package/es/_components/input-label/input-label.d.ts +2 -0
  4. package/es/_components/input-label/input-label.js +4 -2
  5. package/es/_components/input-label/style/index.css +2 -2
  6. package/es/_components/picker/style/index.scss +8 -2
  7. package/es/_components/resize-observer.js +1 -1
  8. package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +13 -3
  9. package/es/_components/select-view/select-view.d.ts +2 -0
  10. package/es/_components/select-view/select-view.js +7 -1
  11. package/es/_components/select-view/style/index.css +5 -5
  12. package/es/_hooks/use-focus-trap.d.ts +10 -0
  13. package/es/_hooks/use-focus-trap.js +115 -0
  14. package/es/_utils/dom.js +1 -10
  15. package/es/_utils/keyboard.d.ts +4 -0
  16. package/es/_utils/keyboard.js +21 -2
  17. package/es/alert/alert.vue.d.ts +2 -2
  18. package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +16 -4
  19. package/es/alert/index.d.ts +5 -5
  20. package/es/alert/style/index.css +1 -1
  21. package/es/alert/style/index.scss +1 -1
  22. package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +3 -1
  23. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +6 -1
  24. package/es/anchor/style/index.css +1 -1
  25. package/es/anchor/style/index.scss +3 -1
  26. package/es/auto-complete/auto-complete.js +8 -0
  27. package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +8 -2
  28. package/es/avatar/style/index.css +2 -2
  29. package/es/avatar/style/index.scss +2 -2
  30. package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +8 -1
  31. package/es/back-top/style/index.css +1 -1
  32. package/es/back-top/style/index.scss +2 -1
  33. package/es/badge/badge.js +4 -1
  34. package/es/badge/style/index.css +3 -3
  35. package/es/badge/style/index.scss +3 -3
  36. package/es/basic-crud-table/basic-crud-modal.js +5 -0
  37. package/es/basic-crud-table/basic-crud-modal.vue.d.ts +264 -0
  38. package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +139 -0
  39. package/es/basic-crud-table/basic-crud-table.js +5 -0
  40. package/es/basic-crud-table/basic-crud-table.vue.d.ts +935 -0
  41. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +510 -0
  42. package/es/basic-crud-table/index.d.ts +2722 -0
  43. package/es/basic-crud-table/index.js +9 -0
  44. package/es/basic-crud-table/style/css.js +2 -0
  45. package/es/basic-crud-table/style/index.css +42 -0
  46. package/es/basic-crud-table/style/index.d.ts +2 -0
  47. package/es/basic-crud-table/style/index.js +2 -0
  48. package/es/basic-crud-table/style/index.scss +33 -0
  49. package/es/basic-crud-table/style/token.scss +8 -0
  50. package/es/basic-crud-table/types.d.ts +69 -0
  51. package/es/breadcrumb/breadcrumb-item.js +4 -2
  52. package/es/breadcrumb/breadcrumb.js +3 -0
  53. package/es/button/button.vue_vue_type_script_setup_true_lang.js +10 -5
  54. package/es/button/style/index.css +15 -6
  55. package/es/button/style/index.scss +25 -7
  56. package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
  57. package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +1 -1
  58. package/es/calendar/style/event.scss +2 -2
  59. package/es/calendar/style/index.css +2 -2
  60. package/es/card/style/index.css +3 -3
  61. package/es/card/style/index.scss +3 -3
  62. package/es/carousel/carousel-arrow.vue.d.ts +4 -4
  63. package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +25 -5
  64. package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +25 -4
  65. package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +11 -2
  66. package/es/carousel/carousel.js +20 -1
  67. package/es/carousel/style/index.css +1 -1
  68. package/es/carousel/style/index.scss +1 -1
  69. package/es/cascader/cascader-option.js +1 -1
  70. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +13 -4
  71. package/es/cascader/style/index.css +2 -2
  72. package/es/cascader/style/index.scss +3 -1
  73. package/es/checkbox/checkbox-group.js +4 -1
  74. package/es/checkbox/checkbox.d.ts +9 -0
  75. package/es/checkbox/checkbox.js +14 -0
  76. package/es/checkbox/index.d.ts +15 -0
  77. package/es/checkbox/style/index.css +1 -1
  78. package/es/checkbox/style/index.scss +1 -1
  79. package/es/collapse/collapse-item.js +21 -3
  80. package/es/collapse/context.d.ts +1 -1
  81. package/es/color-picker/color-picker.js +6 -0
  82. package/es/color-picker/panel.js +5 -3
  83. package/es/components.d.ts +1 -0
  84. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +11 -3
  85. package/es/date-picker/hooks/use-provide-datepicker-transform.js +1 -1
  86. package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +14 -1
  87. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
  88. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +4 -3
  89. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  90. package/es/date-picker/style/index.css +5 -5
  91. package/es/date-picker/style/index.scss +4 -3
  92. package/es/drawer/drawer.vue.d.ts +1 -1
  93. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +31 -9
  94. package/es/drawer/index.d.ts +3 -3
  95. package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
  96. package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +5 -1
  97. package/es/dropdown/dropdown-panel.vue.d.ts +9 -0
  98. package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +76 -3
  99. package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +6 -3
  100. package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +4 -2
  101. package/es/dropdown/style/index.css +1 -1
  102. package/es/dropdown/style/index.scss +3 -1
  103. package/es/file-previewer/file-previewer.vue.d.ts +1 -1
  104. package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +18 -10
  105. package/es/file-previewer/index.d.ts +3 -3
  106. package/es/form/context.d.ts +1 -0
  107. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +7 -3
  108. package/es/form/index.js +1 -1
  109. package/es/form/style/index.css +2 -2
  110. package/es/form/style/index.scss +2 -2
  111. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
  113. package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
  114. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
  115. package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
  116. package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  117. package/es/image/preview.vue.d.ts +1 -1
  118. package/es/image/preview.vue_vue_type_script_setup_true_lang.js +2 -2
  119. package/es/index.css +167 -114
  120. package/es/index.d.ts +2 -0
  121. package/es/index.js +55 -54
  122. package/es/index.scss +1 -0
  123. package/es/input/input.js +18 -2
  124. package/es/input/style/index.css +2 -2
  125. package/es/input/style/input.scss +4 -4
  126. package/es/input-number/input-number.js +9 -3
  127. package/es/input-number/style/index.css +3 -3
  128. package/es/input-number/style/index.scss +5 -1
  129. package/es/input-tag/index.d.ts +3 -0
  130. package/es/input-tag/input-tag.d.ts +2 -0
  131. package/es/input-tag/input-tag.js +34 -30
  132. package/es/input-tag/style/index.css +8 -8
  133. package/es/input-tag/style/index.scss +11 -5
  134. package/es/json-form/style/index.css +0 -3
  135. package/es/json-form/style/index.scss +4 -3
  136. package/es/json-form/utils.js +4 -4
  137. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +34 -7
  138. package/es/layout/style/index.css +2 -2
  139. package/es/layout/style/index.scss +4 -2
  140. package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
  141. package/es/link/style/index.css +1 -1
  142. package/es/link/style/index.scss +3 -1
  143. package/es/list/list.js +1 -1
  144. package/es/locale/interface.d.ts +39 -0
  145. package/es/locale/lang/ar-eg.js +38 -0
  146. package/es/locale/lang/de-de.js +38 -0
  147. package/es/locale/lang/en-us.js +38 -0
  148. package/es/locale/lang/es-es.js +38 -0
  149. package/es/locale/lang/fr-fr.js +38 -0
  150. package/es/locale/lang/id-id.js +38 -0
  151. package/es/locale/lang/it-it.js +38 -0
  152. package/es/locale/lang/ja-jp.js +38 -0
  153. package/es/locale/lang/km-kh.js +38 -0
  154. package/es/locale/lang/ko-kr.js +38 -0
  155. package/es/locale/lang/ms-my.js +38 -0
  156. package/es/locale/lang/nl-nl.js +38 -0
  157. package/es/locale/lang/pt-pt.js +38 -0
  158. package/es/locale/lang/ru-ru.js +38 -0
  159. package/es/locale/lang/th-th.js +38 -0
  160. package/es/locale/lang/vi-vn.js +38 -0
  161. package/es/locale/lang/zh-cn.js +38 -0
  162. package/es/locale/lang/zh-tw.js +38 -0
  163. package/es/mention/mention.js +8 -0
  164. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +29 -3
  165. package/es/menu/item.d.ts +1 -1
  166. package/es/menu/item.js +14 -1
  167. package/es/menu/style/index.css +6 -6
  168. package/es/menu/style/index.scss +5 -3
  169. package/es/message/style/index.css +3 -3
  170. package/es/message/style/index.scss +5 -3
  171. package/es/modal/index.d.ts +3 -3
  172. package/es/modal/modal.vue.d.ts +1 -1
  173. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +31 -15
  174. package/es/modal/style/index.css +2 -2
  175. package/es/modal/style/index.scss +3 -2
  176. package/es/notification/style/index.css +3 -3
  177. package/es/notification/style/index.scss +11 -3
  178. package/es/overflow-list/overflow-list.js +1 -1
  179. package/es/page-header/page-header.vue.d.ts +6 -6
  180. package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +19 -2
  181. package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +15 -2
  182. package/es/pagination/page-item-step.vue.d.ts +2 -2
  183. package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +23 -4
  184. package/es/pagination/page-item.vue.d.ts +2 -2
  185. package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +21 -3
  186. package/es/pagination/pagination.js +5 -1
  187. package/es/pagination/style/index.css +6 -1
  188. package/es/pagination/style/index.scss +9 -3
  189. package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +3 -1
  190. package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +2 -0
  191. package/es/progress/style/index.css +2 -2
  192. package/es/progress/style/index.scss +5 -3
  193. package/es/qr-code/qr-code-status.vue_vue_type_script_setup_true_lang.js +5 -1
  194. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +13 -6
  195. package/es/radio/context.d.ts +1 -0
  196. package/es/radio/radio-group.js +6 -2
  197. package/es/radio/radio.js +1 -0
  198. package/es/radio/style/index.css +2 -2
  199. package/es/radio/style/index.scss +4 -2
  200. package/es/rate/rate.js +27 -1
  201. package/es/resize-box/resize-box.vue.d.ts +4 -4
  202. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +30 -1
  203. package/es/result/result.vue_vue_type_script_setup_true_lang.js +7 -4
  204. package/es/sd-vue.js +54 -52
  205. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -1
  206. package/es/select/index.d.ts +124 -0
  207. package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +4 -1
  208. package/es/select/select.d.ts +62 -0
  209. package/es/select/select.js +20 -4
  210. package/es/select/style/index.css +1 -1
  211. package/es/select/style/index.scss +3 -1
  212. package/es/selectable-card/style/index.css +2 -2
  213. package/es/selectable-card/style/index.scss +5 -5
  214. package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +5 -1
  215. package/es/slider/slider-button.vue.d.ts +2 -0
  216. package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +7 -2
  217. package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +23 -2
  218. package/es/slider/style/index.css +1 -1
  219. package/es/slider/style/index.scss +3 -1
  220. package/es/spin/spin.js +7 -2
  221. package/es/spin/style/index.css +1 -1
  222. package/es/spin/style/index.scss +1 -1
  223. package/es/split/split.vue.d.ts +4 -4
  224. package/es/split/split.vue_vue_type_script_setup_true_lang.js +27 -3
  225. package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
  226. package/es/steps/context.d.ts +1 -0
  227. package/es/steps/step.vue_vue_type_script_setup_true_lang.js +15 -2
  228. package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +10 -2
  229. package/es/steps/style/index.css +1 -1
  230. package/es/steps/style/index.scss +1 -1
  231. package/es/style/animation/index.scss +1 -0
  232. package/es/style/animation/reduced-motion.scss +22 -0
  233. package/es/style/animation/zoom.scss +7 -6
  234. package/es/style/icon.scss +9 -1
  235. package/es/switch/style/index.css +1 -1
  236. package/es/switch/style/index.scss +4 -1
  237. package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +6 -1
  238. package/es/table/index.d.ts +4 -4
  239. package/es/table/style/index.css +8 -8
  240. package/es/table/style/index.scss +11 -8
  241. package/es/table/table-operation-td.d.ts +15 -0
  242. package/es/table/table-operation-td.js +3 -3
  243. package/es/table/table-operation-th.js +1 -1
  244. package/es/table/table-tbody.js +4 -1
  245. package/es/table/table-td.js +2 -1
  246. package/es/table/table-th.d.ts +1 -1
  247. package/es/table/table-th.js +7 -5
  248. package/es/table/table-thead.js +4 -1
  249. package/es/table/table-tr.js +4 -1
  250. package/es/table/table.d.ts +1 -1
  251. package/es/table/table.js +8 -4
  252. package/es/tabs/context.d.ts +1 -0
  253. package/es/tabs/style/index.css +5 -5
  254. package/es/tabs/style/index.scss +7 -7
  255. package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +21 -2
  256. package/es/tabs/tabs-button.js +1 -1
  257. package/es/tabs/tabs-nav.js +34 -1
  258. package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +27 -4
  259. package/es/tabs/tabs.js +4 -2
  260. package/es/tag/index.d.ts +5 -5
  261. package/es/tag/style/index.css +1 -1
  262. package/es/tag/style/index.scss +3 -1
  263. package/es/tag/tag.vue.d.ts +2 -2
  264. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +27 -4
  265. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
  266. package/es/textarea/style/index.css +2 -2
  267. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +18 -3
  268. package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +11 -3
  269. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +6 -3
  270. package/es/toolbar/index.d.ts +3 -3
  271. package/es/toolbar/toolbar.vue.d.ts +2 -2
  272. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +5 -5
  273. package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +1 -0
  274. package/es/transfer/style/index.css +1 -1
  275. package/es/transfer/style/index.scss +1 -1
  276. package/es/transfer/transfer-list-item.js +18 -2
  277. package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +7 -5
  278. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +28 -8
  279. package/es/tree/context.d.ts +2 -0
  280. package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -1
  281. package/es/tree/style/index.css +1 -1
  282. package/es/tree/style/index.scss +1 -1
  283. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +81 -2
  284. package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +10 -1
  285. package/es/trigger/index.d.ts +45 -0
  286. package/es/trigger/trigger.d.ts +27 -0
  287. package/es/trigger/trigger.js +47 -5
  288. package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +17 -8
  289. package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +38 -6
  290. package/es/typography/style/index.css +2 -2
  291. package/es/typography/style/index.scss +2 -2
  292. package/es/upload/style/index.css +9 -9
  293. package/es/upload/style/index.scss +15 -9
  294. package/es/upload/upload-list-item.js +18 -5
  295. package/es/upload/upload-picture-item.js +27 -3
  296. package/es/verification-code/verification-code.js +8 -1
  297. package/json/vetur-attributes.json +15 -0
  298. package/json/vetur-tags.json +9 -2
  299. package/json/web-types.json +39 -1
  300. package/package.json +1 -1
@@ -3,11 +3,13 @@ import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isNumber, isWindow } from "../_utils/is.js";
4
4
  import { getElement, off, on } from "../_utils/dom.js";
5
5
  import { throttleByRaf } from "../_utils/throttle-by-raf.js";
6
+ import { useI18n } from "../locale/index.js";
6
7
  import { anchorInjectionKey } from "./context.js";
7
8
  import { BOUNDARY_POSITIONS, slide } from "./utils.js";
8
9
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, nextTick, normalizeClass, normalizeProps, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, unref, watch, withCtx } from "vue";
9
10
  import { compute } from "compute-scroll-into-view";
10
11
  //#region components/anchor/anchor.vue?vue&type=script&setup=true&lang.ts
12
+ var _hoisted_1 = ["aria-label"];
11
13
  var anchor_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Anchor" }), {}, {
12
14
  __name: "anchor",
13
15
  props: {
@@ -98,6 +100,7 @@ var anchor_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
98
100
  setup(__props, { emit: __emit }) {
99
101
  const emit = __emit;
100
102
  const props = __props;
103
+ const { t } = useI18n();
101
104
  const prefixCls = getPrefixCls("anchor");
102
105
  const anchorRef = ref();
103
106
  const lineSliderRef = ref();
@@ -232,13 +235,15 @@ var anchor_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
232
235
  default: withCtx(() => [createElementVNode("div", {
233
236
  ref_key: "anchorRef",
234
237
  ref: anchorRef,
238
+ role: "navigation",
239
+ "aria-label": unref(t)("a11y.anchorNav"),
235
240
  class: normalizeClass(cls.value)
236
241
  }, [!__props.lineLess ? (openBlock(), createElementBlock("div", {
237
242
  key: 0,
238
243
  ref_key: "lineSliderRef",
239
244
  ref: lineSliderRef,
240
245
  class: normalizeClass(`${unref(prefixCls)}-line-slider`)
241
- }, null, 2)) : createCommentVNode("", true), createElementVNode("ul", { class: normalizeClass(`${unref(prefixCls)}-list`) }, [renderSlot(_ctx.$slots, "default")], 2)], 2)]),
246
+ }, null, 2)) : createCommentVNode("", true), createElementVNode("ul", { class: normalizeClass(`${unref(prefixCls)}-list`) }, [renderSlot(_ctx.$slots, "default")], 2)], 10, _hoisted_1)]),
242
247
  _: 3
243
248
  }, 16);
244
249
  };
@@ -78,7 +78,7 @@
78
78
  .sd-anchor-link-active > .sd-anchor-link {
79
79
  color: var(--sd-color-text-1);
80
80
  font-weight: 500;
81
- transition: all 0.1s cubic-bezier(0, 0, 1, 1);
81
+ transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
82
82
  }
83
83
  .sd-anchor-link-item .sd-anchor-link-item {
84
84
  margin-left: 16px;
@@ -79,7 +79,9 @@ $anchor-prefix-cls: string.unquote('#{theme.$prefix}-anchor');
79
79
  &-link-active > &-link {
80
80
  color: $anchor-color-title_active;
81
81
  font-weight: $anchor-font-weight-title_active;
82
- transition: all theme.$transition-duration-1 theme.$transition-timing-function-linear;
82
+ transition:
83
+ color theme.$transition-duration-1 theme.$transition-timing-function-standard,
84
+ background-color theme.$transition-duration-1 theme.$transition-timing-function-standard;
83
85
  }
84
86
 
85
87
  &-link-item &-link-item {
@@ -274,6 +274,8 @@ var auto_complete_default = /* @__PURE__ */ defineComponent({
274
274
  },
275
275
  "key": item.key,
276
276
  "class": cls,
277
+ "role": "option",
278
+ "aria-disabled": item.disabled || void 0,
277
279
  "onClick": (ev) => {
278
280
  if (!item.disabled) handleSelect(item.key, ev);
279
281
  },
@@ -318,6 +320,12 @@ var auto_complete_default = /* @__PURE__ */ defineComponent({
318
320
  "modelValue": computedValue.value,
319
321
  "disabled": mergedDisabled.value,
320
322
  "readonly": props.readonly,
323
+ "inputAttrs": {
324
+ "role": "combobox",
325
+ "aria-haspopup": "listbox",
326
+ "aria-expanded": computedPopupVisible.value,
327
+ "aria-autocomplete": "list"
328
+ },
321
329
  "onInput": handleInputValueChange,
322
330
  "onClear": handleClear
323
331
  }, { onKeydown: handleKeyDown }), slots)],
@@ -176,8 +176,14 @@ var avatar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
176
176
  ref: wrapperRef,
177
177
  class: normalizeClass(wrapperCls.value)
178
178
  }, [__props.imageUrl ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
179
- hasError.value ? renderSlot(_ctx.$slots, "error", { key: 0 }, () => [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-image-icon`) }, [createVNode(unref(IconImageClose))], 2)]) : createCommentVNode("", true),
180
- !(hasError.value || !shouldLoad.value) && !isLoaded.value ? renderSlot(_ctx.$slots, "default", { key: 1 }, () => [createElementVNode("div", { class: normalizeClass(`${unref(prefixCls)}-image-icon`) }, [createVNode(unref(IconLoading))], 2)]) : createCommentVNode("", true),
179
+ hasError.value ? renderSlot(_ctx.$slots, "error", { key: 0 }, () => [createElementVNode("div", {
180
+ class: normalizeClass(`${unref(prefixCls)}-image-icon`),
181
+ "aria-hidden": "true"
182
+ }, [createVNode(unref(IconImageClose))], 2)]) : createCommentVNode("", true),
183
+ !(hasError.value || !shouldLoad.value) && !isLoaded.value ? renderSlot(_ctx.$slots, "default", { key: 1 }, () => [createElementVNode("div", {
184
+ class: normalizeClass(`${unref(prefixCls)}-image-icon`),
185
+ "aria-hidden": "true"
186
+ }, [createVNode(unref(IconLoading))], 2)]) : createCommentVNode("", true),
181
187
  !(hasError.value || !shouldLoad.value) ? (openBlock(), createElementBlock("img", {
182
188
  key: 2,
183
189
  src: __props.imageUrl,
@@ -80,7 +80,7 @@
80
80
  text-align: center;
81
81
  background-color: var(--sd-color-neutral-2);
82
82
  border-radius: var(--sd-border-radius-circle);
83
- transition: background-color 0.1s cubic-bezier(0, 0, 1, 1);
83
+ transition: background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
84
84
  }
85
85
  .sd-avatar-trigger-icon-mask {
86
86
  position: absolute;
@@ -97,7 +97,7 @@
97
97
  background-color: color-mix(in srgb, #1d2129 60%, transparent);
98
98
  border-radius: var(--sd-border-radius-medium);
99
99
  opacity: 0;
100
- transition: all 0.1s cubic-bezier(0, 0, 1, 1);
100
+ transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
101
101
  }
102
102
  .sd-avatar-circle .sd-avatar-trigger-icon-mask {
103
103
  border-radius: var(--sd-border-radius-circle);
@@ -80,7 +80,7 @@ $avatar-prefix-cls: string.unquote('#{theme.$prefix}-avatar');
80
80
  background-color: $avatar-color-trigger-button-bg;
81
81
  border-radius: $avatar-border-trigger-button-radius;
82
82
  transition: background-color theme.$transition-duration-1
83
- theme.$transition-timing-function-linear;
83
+ theme.$transition-timing-function-standard;
84
84
  }
85
85
 
86
86
  &-trigger-icon-mask {
@@ -102,7 +102,7 @@ $avatar-prefix-cls: string.unquote('#{theme.$prefix}-avatar');
102
102
  );
103
103
  border-radius: $avatar-square-border-radius;
104
104
  opacity: 0;
105
- transition: all theme.$transition-duration-1 theme.$transition-timing-function-linear;
105
+ transition: opacity theme.$transition-duration-1 theme.$transition-timing-function-standard;
106
106
  }
107
107
 
108
108
  &-circle &-trigger-icon-mask {
@@ -3,10 +3,12 @@ import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isString } from "../_utils/is.js";
4
4
  import { off, on } from "../_utils/dom.js";
5
5
  import { throttleByRaf } from "../_utils/throttle-by-raf.js";
6
+ import { useI18n } from "../locale/index.js";
6
7
  import IconToTop from "../icon/icon-to-top/index.js";
7
8
  import { Transition, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, onUnmounted, openBlock, ref, renderSlot, unref, withCtx } from "vue";
8
9
  import BTween from "b-tween";
9
10
  //#region components/back-top/back-top.vue?vue&type=script&setup=true&lang.ts
11
+ var _hoisted_1 = ["aria-label"];
10
12
  var back_top_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "BackTop" }), {}, {
11
13
  __name: "back-top",
12
14
  props: {
@@ -42,6 +44,7 @@ var back_top_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
42
44
  },
43
45
  setup(__props) {
44
46
  const props = __props;
47
+ const { t } = useI18n();
45
48
  const prefixCls = getPrefixCls("back-top");
46
49
  const visible = ref(false);
47
50
  const target = ref();
@@ -89,7 +92,11 @@ var back_top_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
89
92
  key: 0,
90
93
  class: normalizeClass(unref(prefixCls)),
91
94
  onClick: scrollToTop
92
- }, [renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("button", { class: normalizeClass(`${unref(prefixCls)}-btn`) }, [createVNode(unref(IconToTop))], 2)])], 2)) : createCommentVNode("", true)]),
95
+ }, [renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("button", {
96
+ type: "button",
97
+ class: normalizeClass(`${unref(prefixCls)}-btn`),
98
+ "aria-label": unref(t)("a11y.backToTop")
99
+ }, [createVNode(unref(IconToTop))], 10, _hoisted_1)])], 2)) : createCommentVNode("", true)]),
93
100
  _: 3
94
101
  });
95
102
  };
@@ -32,7 +32,7 @@
32
32
  border-radius: var(--sd-border-radius-circle);
33
33
  outline: none;
34
34
  cursor: pointer;
35
- transition: all 0.2s cubic-bezier(0, 0, 1, 1);
35
+ transition: background-color 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
36
36
  }
37
37
  .sd-back-top-btn:hover {
38
38
  background-color: rgb(var(--sd-primary-5));
@@ -21,7 +21,8 @@ $backtop-prefix-cls: string.unquote('#{theme.$prefix}-back-top');
21
21
  border-radius: $backtop-button-border-radius;
22
22
  outline: none;
23
23
  cursor: pointer;
24
- transition: all theme.$transition-duration-2 theme.$transition-timing-function-linear;
24
+ transition: background-color theme.$transition-duration-2
25
+ theme.$transition-timing-function-standard;
25
26
 
26
27
  &:hover {
27
28
  background-color: $backtop-button-color-bg_hover;
package/es/badge/badge.js CHANGED
@@ -126,9 +126,12 @@ var badge_default = /* @__PURE__ */ defineComponent({
126
126
  [`${prefixCls}-status-${statusValue}`]: statusValue,
127
127
  [`${prefixCls}-color-${colorValue}`]: colorValue
128
128
  }],
129
- "style": mergedStyle
129
+ "style": mergedStyle,
130
+ "aria-hidden": "true"
130
131
  }, null), textValue && createVNode("span", { "class": `${prefixCls}-status-text` }, [textValue])]);
131
132
  if ((dotValue || colorValue) && countValue > 0) return createVNode("span", {
133
+ "role": "status",
134
+ "aria-label": String(countValue),
132
135
  "class": [`${prefixCls}-dot`, { [`${prefixCls}-color-${colorValue}`]: colorValue }],
133
136
  "style": mergedStyle
134
137
  }, null);
@@ -144,7 +144,7 @@
144
144
 
145
145
  @keyframes sd-badge-scale {
146
146
  from {
147
- transform: scale(0, 0);
147
+ transform: scale(0.5, 0.5);
148
148
  }
149
149
  to {
150
150
  transform: scale(1, 1);
@@ -152,7 +152,7 @@
152
152
  }
153
153
  .badge-zoom-enter,
154
154
  .badge-zoom-appear {
155
- transform: translate(50%, -50%) scale(0.2, 0.2);
155
+ transform: translate(50%, -50%) scale(0.5, 0.5);
156
156
  transform-origin: center;
157
157
  }
158
158
 
@@ -171,7 +171,7 @@
171
171
  }
172
172
 
173
173
  .badge-zoom-exit-active {
174
- transform: translate(50%, -50%) scale(0.2, 0.2);
174
+ transform: translate(50%, -50%) scale(0.5, 0.5);
175
175
  transform-origin: center;
176
176
  opacity: 0;
177
177
  transition: opacity 0.3s cubic-bezier(0.3, 1.3, 0.3, 1), transform 0.3s cubic-bezier(0.3, 1.3, 0.3, 1);
@@ -159,7 +159,7 @@ $badge-prefix-cls: string.unquote('#{theme.$prefix}-badge');
159
159
 
160
160
  @keyframes #{theme.$prefix}-badge-scale {
161
161
  from {
162
- transform: scale(0, 0);
162
+ transform: scale(0.5, 0.5);
163
163
  }
164
164
 
165
165
  to {
@@ -169,7 +169,7 @@ $badge-prefix-cls: string.unquote('#{theme.$prefix}-badge');
169
169
 
170
170
  .badge-zoom-enter,
171
171
  .badge-zoom-appear {
172
- transform: translate(50%, -50%) scale(0.2, 0.2);
172
+ transform: translate(50%, -50%) scale(0.5, 0.5);
173
173
  // opacity: 0;
174
174
  transform-origin: center;
175
175
  }
@@ -191,7 +191,7 @@ $badge-prefix-cls: string.unquote('#{theme.$prefix}-badge');
191
191
  }
192
192
 
193
193
  .badge-zoom-exit-active {
194
- transform: translate(50%, -50%) scale(0.2, 0.2);
194
+ transform: translate(50%, -50%) scale(0.5, 0.5);
195
195
  transform-origin: center;
196
196
  opacity: 0;
197
197
  transition:
@@ -0,0 +1,5 @@
1
+ import basic_crud_modal_vue_vue_type_script_setup_true_lang_default from "./basic-crud-modal.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/basic-crud-table/basic-crud-modal.vue
3
+ var basic_crud_modal_default = basic_crud_modal_vue_vue_type_script_setup_true_lang_default;
4
+ //#endregion
5
+ export { basic_crud_modal_default as default };
@@ -0,0 +1,264 @@
1
+ import type { UnknownRecord } from 'type-fest';
2
+ import type { VNode } from 'vue';
3
+ import { nextTick } from 'vue';
4
+ import type { TableData } from '../table';
5
+ import type { BasicCrudTableModalFormProps, BasicCrudTableModalProps, BasicCrudTableModalSubmitContext, MaybePromise } from './types';
6
+ type __VLS_Slots = {
7
+ [name: string]: ((props: UnknownRecord) => VNode[]) | undefined;
8
+ };
9
+ type __VLS_Props = {
10
+ modalProps?: BasicCrudTableModalProps;
11
+ modalFormProps?: BasicCrudTableModalFormProps;
12
+ createApi?: (data: UnknownRecord) => MaybePromise<unknown>;
13
+ updateApi?: (data: UnknownRecord) => MaybePromise<unknown>;
14
+ detailApi?: (row: TableData) => MaybePromise<UnknownRecord>;
15
+ valueTransformer?: (data: UnknownRecord) => UnknownRecord;
16
+ beforeSubmit?: (context: BasicCrudTableModalSubmitContext<TableData>) => MaybePromise<boolean | void>;
17
+ };
18
+ declare function open(row?: TableData): Promise<void>;
19
+ type __VLS_ModelProps = {
20
+ 'visible'?: boolean;
21
+ 'model'?: UnknownRecord;
22
+ };
23
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
25
+ open: typeof open;
26
+ type: import("vue").ComputedRef<"create" | "edit">;
27
+ formRef: import("vue").ShallowRef<({
28
+ $: import("vue").ComponentInternalInstance;
29
+ $data: {};
30
+ $props: {
31
+ readonly schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
32
+ readonly adapter?: import("..").JsonFormAdapter | undefined;
33
+ readonly model?: import("..").JsonFormModel | undefined;
34
+ readonly hideLabel?: boolean | undefined;
35
+ readonly hideAsterisk?: boolean | undefined;
36
+ readonly showColon?: boolean | undefined;
37
+ readonly component?: (string | import("vue").Component) | undefined;
38
+ readonly modelValue?: import("..").JsonFormModel | undefined;
39
+ readonly "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
40
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
41
+ $attrs: import("vue").Attrs;
42
+ $refs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $slots: Readonly<{
46
+ [name: string]: import("vue").Slot<any> | undefined;
47
+ }>;
48
+ $root: import("vue").ComponentPublicInstance | null;
49
+ $parent: import("vue").ComponentPublicInstance | null;
50
+ $host: Element | null;
51
+ $emit: (event: "update:modelValue", value: import("..").JsonFormModel | undefined) => void;
52
+ $el: any;
53
+ $options: import("vue").ComponentOptionsBase<Readonly<{
54
+ schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
55
+ adapter?: import("..").JsonFormAdapter;
56
+ model?: import("..").JsonFormModel;
57
+ hideLabel?: boolean;
58
+ hideAsterisk?: boolean;
59
+ showColon?: boolean;
60
+ component?: string | import("vue").Component;
61
+ } & {
62
+ modelValue?: import("..").JsonFormModel | undefined;
63
+ }> & Readonly<{
64
+ "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
65
+ }>, {
66
+ validate: (callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
67
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
68
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
69
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
70
+ setFields: (data: Record<string, import("../form/interface").FieldData>) => void | undefined;
71
+ scrollToField: (field: string) => void | undefined;
72
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ "update:modelValue": (value: import("..").JsonFormModel | undefined) => any;
74
+ }, string, {
75
+ component: string | import("vue").Component;
76
+ showColon: boolean;
77
+ hideLabel: boolean;
78
+ hideAsterisk: boolean;
79
+ model: import("..").JsonFormModel;
80
+ adapter: import("..").JsonFormAdapter;
81
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
82
+ beforeCreate?: (() => void) | (() => void)[];
83
+ created?: (() => void) | (() => void)[];
84
+ beforeMount?: (() => void) | (() => void)[];
85
+ mounted?: (() => void) | (() => void)[];
86
+ beforeUpdate?: (() => void) | (() => void)[];
87
+ updated?: (() => void) | (() => void)[];
88
+ activated?: (() => void) | (() => void)[];
89
+ deactivated?: (() => void) | (() => void)[];
90
+ beforeDestroy?: (() => void) | (() => void)[];
91
+ beforeUnmount?: (() => void) | (() => void)[];
92
+ destroyed?: (() => void) | (() => void)[];
93
+ unmounted?: (() => void) | (() => void)[];
94
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
95
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
96
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
97
+ };
98
+ $forceUpdate: () => void;
99
+ $nextTick: typeof nextTick;
100
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
101
+ } & Readonly<{
102
+ component: string | import("vue").Component;
103
+ showColon: boolean;
104
+ hideLabel: boolean;
105
+ hideAsterisk: boolean;
106
+ model: import("..").JsonFormModel;
107
+ adapter: import("..").JsonFormAdapter;
108
+ }> & Omit<Readonly<{
109
+ schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
110
+ adapter?: import("..").JsonFormAdapter;
111
+ model?: import("..").JsonFormModel;
112
+ hideLabel?: boolean;
113
+ hideAsterisk?: boolean;
114
+ showColon?: boolean;
115
+ component?: string | import("vue").Component;
116
+ } & {
117
+ modelValue?: import("..").JsonFormModel | undefined;
118
+ }> & Readonly<{
119
+ "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
120
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
121
+ validate: (callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
122
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
123
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
124
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
125
+ setFields: (data: Record<string, import("../form/interface").FieldData>) => void | undefined;
126
+ scrollToField: (field: string) => void | undefined;
127
+ } & {} & import("vue").ComponentCustomProperties & {} & {
128
+ $slots: {
129
+ [x: string]: ((props: {
130
+ [x: string]: unknown;
131
+ }) => any) | undefined;
132
+ } & {
133
+ default?: (props: {}) => any;
134
+ };
135
+ }) | undefined, ({
136
+ $: import("vue").ComponentInternalInstance;
137
+ $data: {};
138
+ $props: {
139
+ readonly schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
140
+ readonly adapter?: import("..").JsonFormAdapter | undefined;
141
+ readonly model?: import("..").JsonFormModel | undefined;
142
+ readonly hideLabel?: boolean | undefined;
143
+ readonly hideAsterisk?: boolean | undefined;
144
+ readonly showColon?: boolean | undefined;
145
+ readonly component?: (string | import("vue").Component) | undefined;
146
+ readonly modelValue?: import("..").JsonFormModel | undefined;
147
+ readonly "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
148
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
149
+ $attrs: import("vue").Attrs;
150
+ $refs: {
151
+ [x: string]: unknown;
152
+ };
153
+ $slots: Readonly<{
154
+ [name: string]: import("vue").Slot<any> | undefined;
155
+ }>;
156
+ $root: import("vue").ComponentPublicInstance | null;
157
+ $parent: import("vue").ComponentPublicInstance | null;
158
+ $host: Element | null;
159
+ $emit: (event: "update:modelValue", value: import("..").JsonFormModel | undefined) => void;
160
+ $el: any;
161
+ $options: import("vue").ComponentOptionsBase<Readonly<{
162
+ schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
163
+ adapter?: import("..").JsonFormAdapter;
164
+ model?: import("..").JsonFormModel;
165
+ hideLabel?: boolean;
166
+ hideAsterisk?: boolean;
167
+ showColon?: boolean;
168
+ component?: string | import("vue").Component;
169
+ } & {
170
+ modelValue?: import("..").JsonFormModel | undefined;
171
+ }> & Readonly<{
172
+ "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
173
+ }>, {
174
+ validate: (callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
175
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
176
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
177
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
178
+ setFields: (data: Record<string, import("../form/interface").FieldData>) => void | undefined;
179
+ scrollToField: (field: string) => void | undefined;
180
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
181
+ "update:modelValue": (value: import("..").JsonFormModel | undefined) => any;
182
+ }, string, {
183
+ component: string | import("vue").Component;
184
+ showColon: boolean;
185
+ hideLabel: boolean;
186
+ hideAsterisk: boolean;
187
+ model: import("..").JsonFormModel;
188
+ adapter: import("..").JsonFormAdapter;
189
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
190
+ beforeCreate?: (() => void) | (() => void)[];
191
+ created?: (() => void) | (() => void)[];
192
+ beforeMount?: (() => void) | (() => void)[];
193
+ mounted?: (() => void) | (() => void)[];
194
+ beforeUpdate?: (() => void) | (() => void)[];
195
+ updated?: (() => void) | (() => void)[];
196
+ activated?: (() => void) | (() => void)[];
197
+ deactivated?: (() => void) | (() => void)[];
198
+ beforeDestroy?: (() => void) | (() => void)[];
199
+ beforeUnmount?: (() => void) | (() => void)[];
200
+ destroyed?: (() => void) | (() => void)[];
201
+ unmounted?: (() => void) | (() => void)[];
202
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
203
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
204
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
205
+ };
206
+ $forceUpdate: () => void;
207
+ $nextTick: typeof nextTick;
208
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
209
+ } & Readonly<{
210
+ component: string | import("vue").Component;
211
+ showColon: boolean;
212
+ hideLabel: boolean;
213
+ hideAsterisk: boolean;
214
+ model: import("..").JsonFormModel;
215
+ adapter: import("..").JsonFormAdapter;
216
+ }> & Omit<Readonly<{
217
+ schemas: import("..").JsonFormA2UI_0_8ComponentNode[] | import("..").JsonFormSchema<import("..").JsonFormComponentType<{}>, {}>[];
218
+ adapter?: import("..").JsonFormAdapter;
219
+ model?: import("..").JsonFormModel;
220
+ hideLabel?: boolean;
221
+ hideAsterisk?: boolean;
222
+ showColon?: boolean;
223
+ component?: string | import("vue").Component;
224
+ } & {
225
+ modelValue?: import("..").JsonFormModel | undefined;
226
+ }> & Readonly<{
227
+ "onUpdate:modelValue"?: ((value: import("..").JsonFormModel | undefined) => any) | undefined;
228
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
229
+ validate: (callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
230
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("..").ValidatedError>) => void) | undefined) => Promise<Record<string, import("..").ValidatedError> | undefined> | undefined;
231
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
232
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
233
+ setFields: (data: Record<string, import("../form/interface").FieldData>) => void | undefined;
234
+ scrollToField: (field: string) => void | undefined;
235
+ } & {} & import("vue").ComponentCustomProperties & {} & {
236
+ $slots: {
237
+ [x: string]: ((props: {
238
+ [x: string]: unknown;
239
+ }) => any) | undefined;
240
+ } & {
241
+ default?: (props: {}) => any;
242
+ };
243
+ }) | undefined>;
244
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
245
+ success: (result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any;
246
+ error: (error: unknown) => any;
247
+ close: () => any;
248
+ "update:visible": (value: boolean) => any;
249
+ "update:model": (value: UnknownRecord) => any;
250
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
251
+ onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
252
+ onError?: ((error: unknown) => any) | undefined;
253
+ onClose?: (() => any) | undefined;
254
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
255
+ "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
256
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
257
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
258
+ declare const _default: typeof __VLS_export;
259
+ export default _default;
260
+ type __VLS_WithSlots<T, S> = T & {
261
+ new (): {
262
+ $slots: S;
263
+ };
264
+ };