sard 1.0.0 → 1.0.2

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 (1196) hide show
  1. package/README.md +153 -0
  2. package/all-components.d.ts +3 -0
  3. package/all-components.js +291 -0
  4. package/components/accordion/accordion-item.d.ts +15 -0
  5. package/components/accordion/accordion-item.js +69 -0
  6. package/components/accordion/accordion.d.ts +19 -0
  7. package/components/accordion/accordion.js +60 -0
  8. package/components/accordion/common.d.ts +38 -0
  9. package/components/accordion/common.js +5 -0
  10. package/components/accordion/index.css +1 -0
  11. package/components/accordion/index.d.ts +7 -0
  12. package/components/accordion/index.js +8 -0
  13. package/components/action-sheet/action-sheet-item.d.ts +18 -0
  14. package/components/action-sheet/action-sheet-item.js +72 -0
  15. package/components/action-sheet/action-sheet.d.ts +49 -0
  16. package/components/action-sheet/action-sheet.js +160 -0
  17. package/components/action-sheet/common.d.ts +55 -0
  18. package/components/action-sheet/common.js +4 -0
  19. package/components/action-sheet/context.d.ts +16 -0
  20. package/components/action-sheet/context.js +50 -0
  21. package/components/action-sheet/imperative.d.ts +18 -0
  22. package/components/action-sheet/imperative.js +20 -0
  23. package/components/action-sheet/index.css +1 -0
  24. package/components/action-sheet/index.d.ts +9 -0
  25. package/components/action-sheet/index.js +9 -0
  26. package/components/alert/alert.d.ts +22 -0
  27. package/components/alert/alert.js +78 -0
  28. package/components/alert/common.d.ts +17 -0
  29. package/components/alert/common.js +4 -0
  30. package/components/alert/index.css +1 -0
  31. package/components/alert/index.d.ts +5 -0
  32. package/components/alert/index.js +6 -0
  33. package/components/avatar/avatar-group.d.ts +21 -0
  34. package/components/avatar/avatar-group.js +51 -0
  35. package/components/avatar/avatar.d.ts +23 -0
  36. package/components/avatar/avatar.js +91 -0
  37. package/components/avatar/common.d.ts +44 -0
  38. package/components/avatar/common.js +9 -0
  39. package/components/avatar/index.css +1 -0
  40. package/components/avatar/index.d.ts +7 -0
  41. package/components/avatar/index.js +8 -0
  42. package/components/back-top/back-top.d.ts +20 -0
  43. package/components/back-top/back-top.js +56 -0
  44. package/components/back-top/common.d.ts +14 -0
  45. package/components/back-top/common.js +7 -0
  46. package/components/back-top/index.css +1 -0
  47. package/components/back-top/index.d.ts +7 -0
  48. package/components/back-top/index.js +8 -0
  49. package/components/back-top/useElementBackTop.d.ts +5 -0
  50. package/components/back-top/useElementBackTop.js +18 -0
  51. package/components/back-top/usePageBackTop.d.ts +4 -0
  52. package/components/back-top/usePageBackTop.js +21 -0
  53. package/components/badge/badge.d.ts +19 -0
  54. package/components/badge/badge.js +77 -0
  55. package/components/badge/common.d.ts +15 -0
  56. package/components/badge/common.js +7 -0
  57. package/components/badge/index.css +1 -0
  58. package/components/badge/index.d.ts +5 -0
  59. package/components/badge/index.js +6 -0
  60. package/components/barcode/barcode.d.ts +24 -0
  61. package/components/barcode/barcode.js +227 -0
  62. package/components/barcode/common.d.ts +26 -0
  63. package/components/barcode/common.js +20 -0
  64. package/components/barcode/index.css +1 -0
  65. package/components/barcode/index.d.ts +5 -0
  66. package/components/barcode/index.js +6 -0
  67. package/components/button/button.d.ts +29 -0
  68. package/components/button/button.js +118 -0
  69. package/components/button/common.d.ts +24 -0
  70. package/components/button/common.js +9 -0
  71. package/components/button/index.css +1 -0
  72. package/components/button/index.d.ts +5 -0
  73. package/components/button/index.js +6 -0
  74. package/components/calendar/calendar-month.d.ts +8 -0
  75. package/components/calendar/calendar-month.js +176 -0
  76. package/components/calendar/calendar.d.ts +27 -0
  77. package/components/calendar/calendar.js +336 -0
  78. package/components/calendar/common.d.ts +64 -0
  79. package/components/calendar/common.js +30 -0
  80. package/components/calendar/index.css +1 -0
  81. package/components/calendar/index.d.ts +5 -0
  82. package/components/calendar/index.js +6 -0
  83. package/components/calendar-input/calendar-input.d.ts +71 -0
  84. package/components/calendar-input/calendar-input.js +228 -0
  85. package/components/calendar-input/common.d.ts +11 -0
  86. package/components/calendar-input/common.js +11 -0
  87. package/components/calendar-input/index.d.ts +5 -0
  88. package/components/calendar-input/index.js +6 -0
  89. package/components/calendar-popout/calendar-popout.d.ts +61 -0
  90. package/components/calendar-popout/calendar-popout.js +158 -0
  91. package/components/calendar-popout/common.d.ts +20 -0
  92. package/components/calendar-popout/common.js +10 -0
  93. package/components/calendar-popout/index.d.ts +5 -0
  94. package/components/calendar-popout/index.js +6 -0
  95. package/components/card/card.d.ts +17 -0
  96. package/components/card/card.js +103 -0
  97. package/components/card/common.d.ts +26 -0
  98. package/components/card/common.js +4 -0
  99. package/components/card/index.css +1 -0
  100. package/components/card/index.d.ts +5 -0
  101. package/components/card/index.js +6 -0
  102. package/components/cascader/cascader.d.ts +32 -0
  103. package/components/cascader/cascader.js +218 -0
  104. package/components/cascader/common.d.ts +62 -0
  105. package/components/cascader/common.js +29 -0
  106. package/components/cascader/index.css +1 -0
  107. package/components/cascader/index.d.ts +5 -0
  108. package/components/cascader/index.js +6 -0
  109. package/components/cascader/useCascaderTabs.d.ts +12 -0
  110. package/components/cascader/useCascaderTabs.js +43 -0
  111. package/components/cascader/useCascaderTree.d.ts +66 -0
  112. package/components/cascader/useCascaderTree.js +156 -0
  113. package/components/cascader-input/cascader-input.d.ts +69 -0
  114. package/components/cascader-input/cascader-input.js +243 -0
  115. package/components/cascader-input/common.d.ts +11 -0
  116. package/components/cascader-input/common.js +8 -0
  117. package/components/cascader-input/index.d.ts +5 -0
  118. package/components/cascader-input/index.js +6 -0
  119. package/components/cascader-popout/cascader-popout.d.ts +59 -0
  120. package/components/cascader-popout/cascader-popout.js +139 -0
  121. package/components/cascader-popout/common.d.ts +21 -0
  122. package/components/cascader-popout/common.js +7 -0
  123. package/components/cascader-popout/index.d.ts +5 -0
  124. package/components/cascader-popout/index.js +6 -0
  125. package/components/check-icon/check-icon.d.ts +7 -0
  126. package/components/check-icon/check-icon.js +40 -0
  127. package/components/check-icon/common.d.ts +5 -0
  128. package/components/check-icon/common.js +0 -0
  129. package/components/check-icon/index.css +1 -0
  130. package/components/checkbox/checkbox-group.d.ts +30 -0
  131. package/components/checkbox/checkbox-group.js +102 -0
  132. package/components/checkbox/checkbox.d.ts +30 -0
  133. package/components/checkbox/checkbox.js +145 -0
  134. package/components/checkbox/common.d.ts +65 -0
  135. package/components/checkbox/common.js +9 -0
  136. package/components/checkbox/index.css +1 -0
  137. package/components/checkbox/index.d.ts +7 -0
  138. package/components/checkbox/index.js +8 -0
  139. package/components/checkbox-input/checkbox-input.d.ts +58 -0
  140. package/components/checkbox-input/checkbox-input.js +193 -0
  141. package/components/checkbox-input/common.d.ts +372 -0
  142. package/components/checkbox-input/common.js +5 -0
  143. package/components/checkbox-input/index.d.ts +5 -0
  144. package/components/checkbox-input/index.js +6 -0
  145. package/components/checkbox-popout/checkbox-popout.d.ts +58 -0
  146. package/components/checkbox-popout/checkbox-popout.js +244 -0
  147. package/components/checkbox-popout/common.d.ts +22 -0
  148. package/components/checkbox-popout/common.js +8 -0
  149. package/components/checkbox-popout/index.css +1 -0
  150. package/components/checkbox-popout/index.d.ts +5 -0
  151. package/components/checkbox-popout/index.js +6 -0
  152. package/components/collapse/collapse.d.ts +11 -0
  153. package/components/collapse/collapse.js +94 -0
  154. package/components/collapse/common.d.ts +11 -0
  155. package/components/collapse/common.js +0 -0
  156. package/components/collapse/index.css +1 -0
  157. package/components/collapse/index.d.ts +5 -0
  158. package/components/collapse/index.js +6 -0
  159. package/components/color-picker/color-picker.d.ts +32 -0
  160. package/components/color-picker/color-picker.js +366 -0
  161. package/components/color-picker/common.d.ts +24 -0
  162. package/components/color-picker/common.js +12 -0
  163. package/components/color-picker/index.css +1 -0
  164. package/components/color-picker/index.d.ts +6 -0
  165. package/components/color-picker/index.js +6 -0
  166. package/components/color-picker-input/color-picker-input.d.ts +59 -0
  167. package/components/color-picker-input/color-picker-input.js +170 -0
  168. package/components/color-picker-input/common.d.ts +12 -0
  169. package/components/color-picker-input/common.js +5 -0
  170. package/components/color-picker-input/index.css +1 -0
  171. package/components/color-picker-input/index.d.ts +5 -0
  172. package/components/color-picker-input/index.js +6 -0
  173. package/components/color-picker-popout/color-picker-popout.d.ts +53 -0
  174. package/components/color-picker-popout/color-picker-popout.js +116 -0
  175. package/components/color-picker-popout/common.d.ts +19 -0
  176. package/components/color-picker-popout/common.js +9 -0
  177. package/components/color-picker-popout/index.css +1 -0
  178. package/components/color-picker-popout/index.d.ts +5 -0
  179. package/components/color-picker-popout/index.js +6 -0
  180. package/components/compact/common.d.ts +22 -0
  181. package/components/compact/common.js +5 -0
  182. package/components/compact/compact.d.ts +14 -0
  183. package/components/compact/compact.js +49 -0
  184. package/components/compact/index.css +1 -0
  185. package/components/compact/index.d.ts +5 -0
  186. package/components/compact/index.js +6 -0
  187. package/components/config/index.d.ts +10 -0
  188. package/components/config/index.js +2 -0
  189. package/components/config/windowInfo.d.ts +16 -0
  190. package/components/config/windowInfo.js +20 -0
  191. package/components/cool-icon/common.d.ts +17 -0
  192. package/components/cool-icon/common.js +4 -0
  193. package/components/cool-icon/cool-icon.d.ts +21 -0
  194. package/components/cool-icon/cool-icon.js +70 -0
  195. package/components/cool-icon/index.css +1 -0
  196. package/components/cool-icon/index.d.ts +5 -0
  197. package/components/cool-icon/index.js +6 -0
  198. package/components/count-down/common.d.ts +23 -0
  199. package/components/count-down/common.js +8 -0
  200. package/components/count-down/count-down.d.ts +22 -0
  201. package/components/count-down/count-down.js +51 -0
  202. package/components/count-down/index.css +0 -0
  203. package/components/count-down/index.d.ts +6 -0
  204. package/components/count-down/index.js +7 -0
  205. package/components/count-down/useCountDown.d.ts +22 -0
  206. package/components/count-down/useCountDown.js +101 -0
  207. package/components/count-to/common.d.ts +9 -0
  208. package/components/count-to/common.js +9 -0
  209. package/components/count-to/count-to.d.ts +10 -0
  210. package/components/count-to/count-to.js +58 -0
  211. package/components/count-to/index.d.ts +5 -0
  212. package/components/count-to/index.js +6 -0
  213. package/components/crop-image/common.d.ts +28 -0
  214. package/components/crop-image/common.js +8 -0
  215. package/components/crop-image/crop-image.d.ts +50 -0
  216. package/components/crop-image/crop-image.js +535 -0
  217. package/components/crop-image/imperative.d.ts +10 -0
  218. package/components/crop-image/imperative.js +20 -0
  219. package/components/crop-image/index.css +1 -0
  220. package/components/crop-image/index.d.ts +6 -0
  221. package/components/crop-image/index.js +7 -0
  222. package/components/date-strip/common.d.ts +28 -0
  223. package/components/date-strip/common.js +21 -0
  224. package/components/date-strip/date-strip.d.ts +28 -0
  225. package/components/date-strip/date-strip.js +271 -0
  226. package/components/date-strip/index.css +1 -0
  227. package/components/date-strip/index.d.ts +6 -0
  228. package/components/date-strip/index.js +6 -0
  229. package/components/datetime-picker/common.d.ts +49 -0
  230. package/components/datetime-picker/common.js +233 -0
  231. package/components/datetime-picker/datetime-picker.d.ts +26 -0
  232. package/components/datetime-picker/datetime-picker.js +181 -0
  233. package/components/datetime-picker/index.d.ts +5 -0
  234. package/components/datetime-picker/index.js +6 -0
  235. package/components/datetime-picker-input/common.d.ts +21 -0
  236. package/components/datetime-picker-input/common.js +18 -0
  237. package/components/datetime-picker-input/datetime-picker-input.d.ts +62 -0
  238. package/components/datetime-picker-input/datetime-picker-input.js +184 -0
  239. package/components/datetime-picker-input/index.d.ts +5 -0
  240. package/components/datetime-picker-input/index.js +6 -0
  241. package/components/datetime-picker-popout/common.d.ts +17 -0
  242. package/components/datetime-picker-popout/common.js +8 -0
  243. package/components/datetime-picker-popout/datetime-picker-popout.d.ts +53 -0
  244. package/components/datetime-picker-popout/datetime-picker-popout.js +137 -0
  245. package/components/datetime-picker-popout/index.d.ts +5 -0
  246. package/components/datetime-picker-popout/index.js +6 -0
  247. package/components/datetime-range-picker/common.d.ts +15 -0
  248. package/components/datetime-range-picker/common.js +4 -0
  249. package/components/datetime-range-picker/datetime-range-picker.d.ts +27 -0
  250. package/components/datetime-range-picker/datetime-range-picker.js +115 -0
  251. package/components/datetime-range-picker/index.css +1 -0
  252. package/components/datetime-range-picker/index.d.ts +5 -0
  253. package/components/datetime-range-picker/index.js +6 -0
  254. package/components/datetime-range-picker-input/common.d.ts +11 -0
  255. package/components/datetime-range-picker-input/common.js +7 -0
  256. package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +63 -0
  257. package/components/datetime-range-picker-input/datetime-range-picker-input.js +198 -0
  258. package/components/datetime-range-picker-input/index.d.ts +5 -0
  259. package/components/datetime-range-picker-input/index.js +6 -0
  260. package/components/datetime-range-picker-popout/common.d.ts +17 -0
  261. package/components/datetime-range-picker-popout/common.js +7 -0
  262. package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +54 -0
  263. package/components/datetime-range-picker-popout/datetime-range-picker-popout.js +128 -0
  264. package/components/datetime-range-picker-popout/index.d.ts +5 -0
  265. package/components/datetime-range-picker-popout/index.js +6 -0
  266. package/components/descriptions/common.d.ts +39 -0
  267. package/components/descriptions/common.js +12 -0
  268. package/components/descriptions/descriptions-item.d.ts +18 -0
  269. package/components/descriptions/descriptions-item.js +76 -0
  270. package/components/descriptions/descriptions.d.ts +17 -0
  271. package/components/descriptions/descriptions.js +102 -0
  272. package/components/descriptions/index.css +1 -0
  273. package/components/descriptions/index.d.ts +7 -0
  274. package/components/descriptions/index.js +8 -0
  275. package/components/dialog/common.d.ts +35 -0
  276. package/components/dialog/common.js +10 -0
  277. package/components/dialog/dialog.d.ts +55 -0
  278. package/components/dialog/dialog.js +273 -0
  279. package/components/dialog/imperative.d.ts +20 -0
  280. package/components/dialog/imperative.js +36 -0
  281. package/components/dialog/index.css +1 -0
  282. package/components/dialog/index.d.ts +6 -0
  283. package/components/dialog/index.js +7 -0
  284. package/components/divider/common.d.ts +15 -0
  285. package/components/divider/common.js +8 -0
  286. package/components/divider/divider.d.ts +16 -0
  287. package/components/divider/divider.js +51 -0
  288. package/components/divider/index.css +1 -0
  289. package/components/divider/index.d.ts +5 -0
  290. package/components/divider/index.js +6 -0
  291. package/components/dnd/common.d.ts +72 -0
  292. package/components/dnd/common.js +5 -0
  293. package/components/dnd/dnd-handle.d.ts +11 -0
  294. package/components/dnd/dnd-handle.js +56 -0
  295. package/components/dnd/dnd-item.d.ts +11 -0
  296. package/components/dnd/dnd-item.js +131 -0
  297. package/components/dnd/dnd.d.ts +40 -0
  298. package/components/dnd/dnd.js +85 -0
  299. package/components/dnd/index.css +1 -0
  300. package/components/dnd/index.d.ts +9 -0
  301. package/components/dnd/index.js +10 -0
  302. package/components/dropdown/common.d.ts +62 -0
  303. package/components/dropdown/common.js +13 -0
  304. package/components/dropdown/dropdown-item.d.ts +50 -0
  305. package/components/dropdown/dropdown-item.js +261 -0
  306. package/components/dropdown/dropdown.d.ts +19 -0
  307. package/components/dropdown/dropdown.js +90 -0
  308. package/components/dropdown/index.css +1 -0
  309. package/components/dropdown/index.d.ts +7 -0
  310. package/components/dropdown/index.js +8 -0
  311. package/components/ellipsis/common.d.ts +20 -0
  312. package/components/ellipsis/common.js +9 -0
  313. package/components/ellipsis/ellipsis.d.ts +25 -0
  314. package/components/ellipsis/ellipsis.js +203 -0
  315. package/components/ellipsis/index.css +1 -0
  316. package/components/ellipsis/index.d.ts +5 -0
  317. package/components/ellipsis/index.js +6 -0
  318. package/components/empty/common.d.ts +12 -0
  319. package/components/empty/common.js +4 -0
  320. package/components/empty/empty.d.ts +15 -0
  321. package/components/empty/empty.js +51 -0
  322. package/components/empty/index.css +1 -0
  323. package/components/empty/index.d.ts +5 -0
  324. package/components/empty/index.js +6 -0
  325. package/components/fab/common.d.ts +60 -0
  326. package/components/fab/common.js +13 -0
  327. package/components/fab/fab-item.d.ts +20 -0
  328. package/components/fab/fab-item.js +62 -0
  329. package/components/fab/fab.d.ts +44 -0
  330. package/components/fab/fab.js +186 -0
  331. package/components/fab/index.css +1 -0
  332. package/components/fab/index.d.ts +7 -0
  333. package/components/fab/index.js +8 -0
  334. package/components/floating-bubble/common.d.ts +23 -0
  335. package/components/floating-bubble/common.js +9 -0
  336. package/components/floating-bubble/floating-bubble.d.ts +33 -0
  337. package/components/floating-bubble/floating-bubble.js +73 -0
  338. package/components/floating-bubble/index.css +1 -0
  339. package/components/floating-bubble/index.d.ts +5 -0
  340. package/components/floating-bubble/index.js +6 -0
  341. package/components/floating-bubble/useFloatingBubble.d.ts +42 -0
  342. package/components/floating-bubble/useFloatingBubble.js +123 -0
  343. package/components/floating-panel/common.d.ts +18 -0
  344. package/components/floating-panel/common.js +9 -0
  345. package/components/floating-panel/floating-panel.d.ts +23 -0
  346. package/components/floating-panel/floating-panel.js +155 -0
  347. package/components/floating-panel/index.css +1 -0
  348. package/components/floating-panel/index.d.ts +5 -0
  349. package/components/floating-panel/index.js +6 -0
  350. package/components/form/Validator.d.ts +95 -0
  351. package/components/form/Validator.js +185 -0
  352. package/components/form/common.d.ts +114 -0
  353. package/components/form/common.js +28 -0
  354. package/components/form/form-item.d.ts +27 -0
  355. package/components/form/form-item.js +124 -0
  356. package/components/form/form.d.ts +29 -0
  357. package/components/form/form.js +92 -0
  358. package/components/form/getUrlRegexp.d.ts +2 -0
  359. package/components/form/getUrlRegexp.js +32 -0
  360. package/components/form/index.css +1 -0
  361. package/components/form/index.d.ts +8 -0
  362. package/components/form/index.js +10 -0
  363. package/components/form/useForm.d.ts +24 -0
  364. package/components/form/useForm.js +96 -0
  365. package/components/form/useFormItem.d.ts +21 -0
  366. package/components/form/useFormItem.js +178 -0
  367. package/components/form-plain/common.d.ts +25 -0
  368. package/components/form-plain/common.js +0 -0
  369. package/components/form-plain/form-item-plain.d.ts +27 -0
  370. package/components/form-plain/form-item-plain.js +94 -0
  371. package/components/form-plain/form-plain.d.ts +29 -0
  372. package/components/form-plain/form-plain.js +86 -0
  373. package/components/form-plain/index.d.ts +7 -0
  374. package/components/form-plain/index.js +8 -0
  375. package/components/grid/common.d.ts +33 -0
  376. package/components/grid/common.js +8 -0
  377. package/components/grid/grid-item.d.ts +15 -0
  378. package/components/grid/grid-item.js +63 -0
  379. package/components/grid/grid.d.ts +19 -0
  380. package/components/grid/grid.js +67 -0
  381. package/components/grid/index.css +1 -0
  382. package/components/grid/index.d.ts +7 -0
  383. package/components/grid/index.js +8 -0
  384. package/components/image/common.d.ts +48 -0
  385. package/components/image/common.js +31 -0
  386. package/components/image/image.d.ts +32 -0
  387. package/components/image/image.js +163 -0
  388. package/components/image/index.css +1 -0
  389. package/components/image/index.d.ts +5 -0
  390. package/components/image/index.js +6 -0
  391. package/components/index.d.ts +122 -0
  392. package/components/index.js +142 -0
  393. package/components/indexes/common.d.ts +39 -0
  394. package/components/indexes/common.js +5 -0
  395. package/components/indexes/index.css +1 -0
  396. package/components/indexes/index.d.ts +9 -0
  397. package/components/indexes/index.js +10 -0
  398. package/components/indexes/indexes-anchor.d.ts +11 -0
  399. package/components/indexes/indexes-anchor.js +33 -0
  400. package/components/indexes/indexes-nav.d.ts +17 -0
  401. package/components/indexes/indexes-nav.js +84 -0
  402. package/components/indexes/indexes.d.ts +19 -0
  403. package/components/indexes/indexes.js +64 -0
  404. package/components/infinite-list/common.d.ts +24 -0
  405. package/components/infinite-list/common.js +4 -0
  406. package/components/infinite-list/index.css +1 -0
  407. package/components/infinite-list/index.d.ts +5 -0
  408. package/components/infinite-list/index.js +6 -0
  409. package/components/infinite-list/infinite-list.d.ts +23 -0
  410. package/components/infinite-list/infinite-list.js +126 -0
  411. package/components/input/common.d.ts +63 -0
  412. package/components/input/common.js +10 -0
  413. package/components/input/index.css +1 -0
  414. package/components/input/index.d.ts +5 -0
  415. package/components/input/index.js +6 -0
  416. package/components/input/input.d.ts +60 -0
  417. package/components/input/input.js +387 -0
  418. package/components/input/utils.d.ts +7 -0
  419. package/components/input/utils.js +36 -0
  420. package/components/keyboard/common.d.ts +28 -0
  421. package/components/keyboard/common.js +34 -0
  422. package/components/keyboard/index.css +1 -0
  423. package/components/keyboard/index.d.ts +5 -0
  424. package/components/keyboard/index.js +7 -0
  425. package/components/keyboard/keyboard.d.ts +23 -0
  426. package/components/keyboard/keyboard.js +139 -0
  427. package/components/keyboard-popout/common.d.ts +27 -0
  428. package/components/keyboard-popout/common.js +7 -0
  429. package/components/keyboard-popout/index.css +0 -0
  430. package/components/keyboard-popout/index.d.ts +5 -0
  431. package/components/keyboard-popout/index.js +6 -0
  432. package/components/keyboard-popout/keyboard-popout.d.ts +58 -0
  433. package/components/keyboard-popout/keyboard-popout.js +124 -0
  434. package/components/layout/col.d.ts +11 -0
  435. package/components/layout/col.js +49 -0
  436. package/components/layout/common.d.ts +36 -0
  437. package/components/layout/common.js +18 -0
  438. package/components/layout/index.css +1 -0
  439. package/components/layout/index.d.ts +6 -0
  440. package/components/layout/index.js +8 -0
  441. package/components/layout/row.d.ts +11 -0
  442. package/components/layout/row.js +54 -0
  443. package/components/list/common.d.ts +38 -0
  444. package/components/list/common.js +5 -0
  445. package/components/list/index.css +1 -0
  446. package/components/list/index.d.ts +7 -0
  447. package/components/list/index.js +8 -0
  448. package/components/list/list-item.d.ts +22 -0
  449. package/components/list/list-item.js +79 -0
  450. package/components/list/list.d.ts +11 -0
  451. package/components/list/list.js +60 -0
  452. package/components/load-more/common.d.ts +20 -0
  453. package/components/load-more/common.js +4 -0
  454. package/components/load-more/index.css +1 -0
  455. package/components/load-more/index.d.ts +6 -0
  456. package/components/load-more/index.js +7 -0
  457. package/components/load-more/load-more.d.ts +23 -0
  458. package/components/load-more/load-more.js +56 -0
  459. package/components/load-more/useLoadMore.d.ts +22 -0
  460. package/components/load-more/useLoadMore.js +71 -0
  461. package/components/loading/common.d.ts +17 -0
  462. package/components/loading/common.js +8 -0
  463. package/components/loading/index.css +1 -0
  464. package/components/loading/index.d.ts +5 -0
  465. package/components/loading/index.js +6 -0
  466. package/components/loading/loading.d.ts +21 -0
  467. package/components/loading/loading.js +97 -0
  468. package/components/marquee/common.d.ts +11 -0
  469. package/components/marquee/common.js +7 -0
  470. package/components/marquee/index.css +1 -0
  471. package/components/marquee/index.d.ts +5 -0
  472. package/components/marquee/index.js +6 -0
  473. package/components/marquee/marquee.d.ts +14 -0
  474. package/components/marquee/marquee.js +75 -0
  475. package/components/menu/common.d.ts +24 -0
  476. package/components/menu/common.js +7 -0
  477. package/components/menu/context.d.ts +23 -0
  478. package/components/menu/context.js +55 -0
  479. package/components/menu/index.css +1 -0
  480. package/components/menu/index.d.ts +7 -0
  481. package/components/menu/index.js +8 -0
  482. package/components/menu/menu-item.d.ts +16 -0
  483. package/components/menu/menu-item.js +59 -0
  484. package/components/menu/menu.d.ts +18 -0
  485. package/components/menu/menu.js +44 -0
  486. package/components/motion/common.d.ts +24 -0
  487. package/components/motion/common.js +7 -0
  488. package/components/motion/index.css +1 -0
  489. package/components/motion/index.d.ts +6 -0
  490. package/components/motion/index.js +7 -0
  491. package/components/motion/motion.d.ts +35 -0
  492. package/components/motion/motion.js +88 -0
  493. package/components/motion/useMotioning.d.ts +2 -0
  494. package/components/motion/useMotioning.js +26 -0
  495. package/components/navbar/common.d.ts +28 -0
  496. package/components/navbar/common.js +0 -0
  497. package/components/navbar/index.css +1 -0
  498. package/components/navbar/index.d.ts +7 -0
  499. package/components/navbar/index.js +8 -0
  500. package/components/navbar/navbar-item.d.ts +15 -0
  501. package/components/navbar/navbar-item.js +30 -0
  502. package/components/navbar/navbar.d.ts +15 -0
  503. package/components/navbar/navbar.js +92 -0
  504. package/components/navbar-pit/common.d.ts +3 -0
  505. package/components/navbar-pit/common.js +0 -0
  506. package/components/navbar-pit/index.css +1 -0
  507. package/components/navbar-pit/index.d.ts +5 -0
  508. package/components/navbar-pit/index.js +6 -0
  509. package/components/navbar-pit/navbar-pit.d.ts +4 -0
  510. package/components/navbar-pit/navbar-pit.js +19 -0
  511. package/components/notice-bar/common.d.ts +25 -0
  512. package/components/notice-bar/common.js +8 -0
  513. package/components/notice-bar/index.css +1 -0
  514. package/components/notice-bar/index.d.ts +5 -0
  515. package/components/notice-bar/index.js +6 -0
  516. package/components/notice-bar/notice-bar.d.ts +28 -0
  517. package/components/notice-bar/notice-bar.js +164 -0
  518. package/components/notify/common.d.ts +24 -0
  519. package/components/notify/common.js +9 -0
  520. package/components/notify/imperative.d.ts +18 -0
  521. package/components/notify/imperative.js +43 -0
  522. package/components/notify/index.css +1 -0
  523. package/components/notify/index.d.ts +6 -0
  524. package/components/notify/index.js +7 -0
  525. package/components/notify/notify.d.ts +45 -0
  526. package/components/notify/notify.js +131 -0
  527. package/components/overlay/common.d.ts +14 -0
  528. package/components/overlay/common.js +4 -0
  529. package/components/overlay/index.css +1 -0
  530. package/components/overlay/index.d.ts +5 -0
  531. package/components/overlay/index.js +6 -0
  532. package/components/overlay/overlay.d.ts +20 -0
  533. package/components/overlay/overlay.js +57 -0
  534. package/components/pagination/common.d.ts +28 -0
  535. package/components/pagination/common.js +29 -0
  536. package/components/pagination/index.css +1 -0
  537. package/components/pagination/index.d.ts +5 -0
  538. package/components/pagination/index.js +6 -0
  539. package/components/pagination/pagination.d.ts +26 -0
  540. package/components/pagination/pagination.js +129 -0
  541. package/components/password-input/common.d.ts +21 -0
  542. package/components/password-input/common.js +8 -0
  543. package/components/password-input/index.css +1 -0
  544. package/components/password-input/index.d.ts +5 -0
  545. package/components/password-input/index.js +6 -0
  546. package/components/password-input/password-input.d.ts +27 -0
  547. package/components/password-input/password-input.js +188 -0
  548. package/components/picker/common.d.ts +25 -0
  549. package/components/picker/common.js +77 -0
  550. package/components/picker/index.css +1 -0
  551. package/components/picker/index.d.ts +5 -0
  552. package/components/picker/index.js +6 -0
  553. package/components/picker/picker.d.ts +22 -0
  554. package/components/picker/picker.js +141 -0
  555. package/components/picker-input/common.d.ts +81 -0
  556. package/components/picker-input/common.js +5 -0
  557. package/components/picker-input/index.d.ts +5 -0
  558. package/components/picker-input/index.js +6 -0
  559. package/components/picker-input/picker-input.d.ts +33 -0
  560. package/components/picker-input/picker-input.js +166 -0
  561. package/components/picker-popout/common.d.ts +17 -0
  562. package/components/picker-popout/common.js +8 -0
  563. package/components/picker-popout/index.d.ts +5 -0
  564. package/components/picker-popout/index.js +6 -0
  565. package/components/picker-popout/picker-popout.d.ts +33 -0
  566. package/components/picker-popout/picker-popout.js +106 -0
  567. package/components/picker-view/common.d.ts +52 -0
  568. package/components/picker-view/common.js +21 -0
  569. package/components/picker-view/index.css +1 -0
  570. package/components/picker-view/index.d.ts +7 -0
  571. package/components/picker-view/index.js +8 -0
  572. package/components/picker-view/picker-view-column.d.ts +3 -0
  573. package/components/picker-view/picker-view-column.js +137 -0
  574. package/components/picker-view/picker-view.d.ts +21 -0
  575. package/components/picker-view/picker-view.js +67 -0
  576. package/components/popout/common.d.ts +52 -0
  577. package/components/popout/common.js +14 -0
  578. package/components/popout/index.css +1 -0
  579. package/components/popout/index.d.ts +6 -0
  580. package/components/popout/index.js +7 -0
  581. package/components/popout/popout.d.ts +61 -0
  582. package/components/popout/popout.js +308 -0
  583. package/components/popout/useFormPopout.d.ts +43 -0
  584. package/components/popout/useFormPopout.js +69 -0
  585. package/components/popout-input/common.d.ts +26 -0
  586. package/components/popout-input/common.js +4 -0
  587. package/components/popout-input/index.css +1 -0
  588. package/components/popout-input/index.d.ts +6 -0
  589. package/components/popout-input/index.js +7 -0
  590. package/components/popout-input/popout-input.d.ts +31 -0
  591. package/components/popout-input/popout-input.js +175 -0
  592. package/components/popout-input/usePopoutInput.d.ts +25 -0
  593. package/components/popout-input/usePopoutInput.js +63 -0
  594. package/components/popover/common.d.ts +21 -0
  595. package/components/popover/common.js +10 -0
  596. package/components/popover/index.css +1 -0
  597. package/components/popover/index.d.ts +7 -0
  598. package/components/popover/index.js +6 -0
  599. package/components/popover/popover.d.ts +23 -0
  600. package/components/popover/popover.js +118 -0
  601. package/components/popup/common.d.ts +48 -0
  602. package/components/popup/common.js +39 -0
  603. package/components/popup/index.css +1 -0
  604. package/components/popup/index.d.ts +5 -0
  605. package/components/popup/index.js +7 -0
  606. package/components/popup/popup.d.ts +48 -0
  607. package/components/popup/popup.js +148 -0
  608. package/components/preview-image/common.d.ts +28 -0
  609. package/components/preview-image/common.js +8 -0
  610. package/components/preview-image/imperative.d.ts +10 -0
  611. package/components/preview-image/imperative.js +20 -0
  612. package/components/preview-image/index.css +1 -0
  613. package/components/preview-image/index.d.ts +6 -0
  614. package/components/preview-image/index.js +7 -0
  615. package/components/preview-image/preview-image-item.d.ts +4 -0
  616. package/components/preview-image/preview-image-item.js +256 -0
  617. package/components/preview-image/preview-image.d.ts +40 -0
  618. package/components/preview-image/preview-image.js +172 -0
  619. package/components/progress-bar/common.d.ts +16 -0
  620. package/components/progress-bar/common.js +7 -0
  621. package/components/progress-bar/index.css +1 -0
  622. package/components/progress-bar/index.d.ts +5 -0
  623. package/components/progress-bar/index.js +6 -0
  624. package/components/progress-bar/progress-bar.d.ts +21 -0
  625. package/components/progress-bar/progress-bar.js +95 -0
  626. package/components/progress-circle/common.d.ts +13 -0
  627. package/components/progress-circle/common.js +7 -0
  628. package/components/progress-circle/index.css +1 -0
  629. package/components/progress-circle/index.d.ts +5 -0
  630. package/components/progress-circle/index.js +6 -0
  631. package/components/progress-circle/progress-circle.d.ts +18 -0
  632. package/components/progress-circle/progress-circle.js +100 -0
  633. package/components/pull-down-refresh/common.d.ts +26 -0
  634. package/components/pull-down-refresh/common.js +11 -0
  635. package/components/pull-down-refresh/index.css +1 -0
  636. package/components/pull-down-refresh/index.d.ts +5 -0
  637. package/components/pull-down-refresh/index.js +6 -0
  638. package/components/pull-down-refresh/pull-down-refresh.d.ts +22 -0
  639. package/components/pull-down-refresh/pull-down-refresh.js +160 -0
  640. package/components/puzzle-verify/common.d.ts +13 -0
  641. package/components/puzzle-verify/common.js +4 -0
  642. package/components/puzzle-verify/index.css +1 -0
  643. package/components/puzzle-verify/index.d.ts +5 -0
  644. package/components/puzzle-verify/index.js +6 -0
  645. package/components/puzzle-verify/puzzle-verify.d.ts +32 -0
  646. package/components/puzzle-verify/puzzle-verify.js +149 -0
  647. package/components/qrcode/common.d.ts +16 -0
  648. package/components/qrcode/common.js +11 -0
  649. package/components/qrcode/index.css +1 -0
  650. package/components/qrcode/index.d.ts +5 -0
  651. package/components/qrcode/index.js +6 -0
  652. package/components/qrcode/qrcode.d.ts +12 -0
  653. package/components/qrcode/qrcode.js +120 -0
  654. package/components/qrcode/test/utils.d.ts +7 -0
  655. package/components/qrcode/test/utils.js +89 -0
  656. package/components/radio/common.d.ts +59 -0
  657. package/components/radio/common.js +8 -0
  658. package/components/radio/index.css +1 -0
  659. package/components/radio/index.d.ts +7 -0
  660. package/components/radio/index.js +8 -0
  661. package/components/radio/radio-group.d.ts +28 -0
  662. package/components/radio/radio-group.js +99 -0
  663. package/components/radio/radio.d.ts +15 -0
  664. package/components/radio/radio.js +113 -0
  665. package/components/radio-input/common.d.ts +317 -0
  666. package/components/radio-input/common.js +5 -0
  667. package/components/radio-input/index.d.ts +5 -0
  668. package/components/radio-input/index.js +6 -0
  669. package/components/radio-input/radio-input.d.ts +57 -0
  670. package/components/radio-input/radio-input.js +189 -0
  671. package/components/radio-popout/common.d.ts +21 -0
  672. package/components/radio-popout/common.js +9 -0
  673. package/components/radio-popout/index.css +1 -0
  674. package/components/radio-popout/index.d.ts +5 -0
  675. package/components/radio-popout/index.js +6 -0
  676. package/components/radio-popout/radio-popout.d.ts +57 -0
  677. package/components/radio-popout/radio-popout.js +217 -0
  678. package/components/rate/common.d.ts +25 -0
  679. package/components/rate/common.js +7 -0
  680. package/components/rate/index.css +1 -0
  681. package/components/rate/index.d.ts +5 -0
  682. package/components/rate/index.js +6 -0
  683. package/components/rate/rate.d.ts +31 -0
  684. package/components/rate/rate.js +190 -0
  685. package/components/read-more/common.d.ts +20 -0
  686. package/components/read-more/common.js +7 -0
  687. package/components/read-more/index.css +1 -0
  688. package/components/read-more/index.d.ts +5 -0
  689. package/components/read-more/index.js +6 -0
  690. package/components/read-more/read-more.d.ts +26 -0
  691. package/components/read-more/read-more.js +119 -0
  692. package/components/result/common.d.ts +13 -0
  693. package/components/result/common.js +4 -0
  694. package/components/result/index.css +1 -0
  695. package/components/result/index.d.ts +5 -0
  696. package/components/result/index.js +6 -0
  697. package/components/result/result.d.ts +15 -0
  698. package/components/result/result.js +49 -0
  699. package/components/rotate-verify/common.d.ts +12 -0
  700. package/components/rotate-verify/common.js +4 -0
  701. package/components/rotate-verify/index.css +1 -0
  702. package/components/rotate-verify/index.d.ts +5 -0
  703. package/components/rotate-verify/index.js +6 -0
  704. package/components/rotate-verify/rotate-verify.d.ts +31 -0
  705. package/components/rotate-verify/rotate-verify.js +106 -0
  706. package/components/scroll-list/common.d.ts +15 -0
  707. package/components/scroll-list/common.js +4 -0
  708. package/components/scroll-list/index.css +1 -0
  709. package/components/scroll-list/index.d.ts +5 -0
  710. package/components/scroll-list/index.js +6 -0
  711. package/components/scroll-list/scroll-list.d.ts +19 -0
  712. package/components/scroll-list/scroll-list.js +87 -0
  713. package/components/scroll-spy/common.d.ts +32 -0
  714. package/components/scroll-spy/common.js +4 -0
  715. package/components/scroll-spy/index.css +1 -0
  716. package/components/scroll-spy/index.d.ts +7 -0
  717. package/components/scroll-spy/index.js +8 -0
  718. package/components/scroll-spy/scroll-spy-anchor.d.ts +11 -0
  719. package/components/scroll-spy/scroll-spy-anchor.js +28 -0
  720. package/components/scroll-spy/scroll-spy.d.ts +17 -0
  721. package/components/scroll-spy/scroll-spy.js +63 -0
  722. package/components/search/common.d.ts +37 -0
  723. package/components/search/common.js +7 -0
  724. package/components/search/index.css +1 -0
  725. package/components/search/index.d.ts +5 -0
  726. package/components/search/index.js +6 -0
  727. package/components/search/search.d.ts +44 -0
  728. package/components/search/search.js +212 -0
  729. package/components/segmented/common.d.ts +54 -0
  730. package/components/segmented/common.js +12 -0
  731. package/components/segmented/index.css +1 -0
  732. package/components/segmented/index.d.ts +7 -0
  733. package/components/segmented/index.js +8 -0
  734. package/components/segmented/segmented-item.d.ts +20 -0
  735. package/components/segmented/segmented-item.js +72 -0
  736. package/components/segmented/segmented.d.ts +28 -0
  737. package/components/segmented/segmented.js +132 -0
  738. package/components/select/common.d.ts +100 -0
  739. package/components/select/common.js +12 -0
  740. package/components/select/index.css +1 -0
  741. package/components/select/index.d.ts +9 -0
  742. package/components/select/index.js +10 -0
  743. package/components/select/select-option-group.d.ts +14 -0
  744. package/components/select/select-option-group.js +28 -0
  745. package/components/select/select-option.d.ts +20 -0
  746. package/components/select/select-option.js +91 -0
  747. package/components/select/select.d.ts +33 -0
  748. package/components/select/select.js +268 -0
  749. package/components/select/useSelect.d.ts +8 -0
  750. package/components/select/useSelect.js +45 -0
  751. package/components/select-input/common.d.ts +14 -0
  752. package/components/select-input/common.js +8 -0
  753. package/components/select-input/index.d.ts +5 -0
  754. package/components/select-input/index.js +6 -0
  755. package/components/select-input/select-input.d.ts +68 -0
  756. package/components/select-input/select-input.js +258 -0
  757. package/components/select-popout/common.d.ts +17 -0
  758. package/components/select-popout/common.js +9 -0
  759. package/components/select-popout/index.d.ts +5 -0
  760. package/components/select-popout/index.js +6 -0
  761. package/components/select-popout/select-popout.d.ts +58 -0
  762. package/components/select-popout/select-popout.js +153 -0
  763. package/components/share-sheet/common.d.ts +62 -0
  764. package/components/share-sheet/common.js +5 -0
  765. package/components/share-sheet/context.d.ts +14 -0
  766. package/components/share-sheet/context.js +41 -0
  767. package/components/share-sheet/index.css +1 -0
  768. package/components/share-sheet/index.d.ts +12 -0
  769. package/components/share-sheet/index.js +12 -0
  770. package/components/share-sheet/share-sheet-icon.d.ts +11 -0
  771. package/components/share-sheet/share-sheet-icon.js +43 -0
  772. package/components/share-sheet/share-sheet-item.d.ts +17 -0
  773. package/components/share-sheet/share-sheet-item.js +58 -0
  774. package/components/share-sheet/share-sheet-row.d.ts +11 -0
  775. package/components/share-sheet/share-sheet-row.js +15 -0
  776. package/components/share-sheet/share-sheet.d.ts +48 -0
  777. package/components/share-sheet/share-sheet.js +138 -0
  778. package/components/sidebar/common.d.ts +43 -0
  779. package/components/sidebar/common.js +4 -0
  780. package/components/sidebar/index.css +1 -0
  781. package/components/sidebar/index.d.ts +7 -0
  782. package/components/sidebar/index.js +8 -0
  783. package/components/sidebar/sidebar-item.d.ts +15 -0
  784. package/components/sidebar/sidebar-item.js +83 -0
  785. package/components/sidebar/sidebar.d.ts +17 -0
  786. package/components/sidebar/sidebar.js +79 -0
  787. package/components/signature/common.d.ts +27 -0
  788. package/components/signature/common.js +10 -0
  789. package/components/signature/index.css +1 -0
  790. package/components/signature/index.d.ts +5 -0
  791. package/components/signature/index.js +6 -0
  792. package/components/signature/signature.d.ts +32 -0
  793. package/components/signature/signature.js +247 -0
  794. package/components/skeleton/common.d.ts +29 -0
  795. package/components/skeleton/common.js +7 -0
  796. package/components/skeleton/index.css +1 -0
  797. package/components/skeleton/index.d.ts +13 -0
  798. package/components/skeleton/index.js +14 -0
  799. package/components/skeleton/skeleton-avatar.d.ts +4 -0
  800. package/components/skeleton/skeleton-avatar.js +58 -0
  801. package/components/skeleton/skeleton-block.d.ts +4 -0
  802. package/components/skeleton/skeleton-block.js +49 -0
  803. package/components/skeleton/skeleton-paragraph.d.ts +4 -0
  804. package/components/skeleton/skeleton-paragraph.js +52 -0
  805. package/components/skeleton/skeleton-title.d.ts +4 -0
  806. package/components/skeleton/skeleton-title.js +45 -0
  807. package/components/skeleton/skeleton.d.ts +20 -0
  808. package/components/skeleton/skeleton.js +76 -0
  809. package/components/slide-verify/common.d.ts +30 -0
  810. package/components/slide-verify/common.js +4 -0
  811. package/components/slide-verify/index.css +1 -0
  812. package/components/slide-verify/index.d.ts +5 -0
  813. package/components/slide-verify/index.js +6 -0
  814. package/components/slide-verify/slide-verify.d.ts +30 -0
  815. package/components/slide-verify/slide-verify.js +200 -0
  816. package/components/slider/common.d.ts +39 -0
  817. package/components/slider/common.js +9 -0
  818. package/components/slider/index.css +1 -0
  819. package/components/slider/index.d.ts +5 -0
  820. package/components/slider/index.js +6 -0
  821. package/components/slider/slider.d.ts +44 -0
  822. package/components/slider/slider.js +334 -0
  823. package/components/space/common.d.ts +18 -0
  824. package/components/space/common.js +23 -0
  825. package/components/space/index.css +1 -0
  826. package/components/space/index.d.ts +5 -0
  827. package/components/space/index.js +7 -0
  828. package/components/space/space.d.ts +17 -0
  829. package/components/space/space.js +59 -0
  830. package/components/status-bar/common.d.ts +11 -0
  831. package/components/status-bar/common.js +4 -0
  832. package/components/status-bar/index.css +1 -0
  833. package/components/status-bar/index.d.ts +5 -0
  834. package/components/status-bar/index.js +6 -0
  835. package/components/status-bar/status-bar.d.ts +13 -0
  836. package/components/status-bar/status-bar.js +31 -0
  837. package/components/stepper/common.d.ts +26 -0
  838. package/components/stepper/common.js +15 -0
  839. package/components/stepper/index.css +1 -0
  840. package/components/stepper/index.d.ts +5 -0
  841. package/components/stepper/index.js +6 -0
  842. package/components/stepper/stepper.d.ts +31 -0
  843. package/components/stepper/stepper.js +262 -0
  844. package/components/steps/common.d.ts +46 -0
  845. package/components/steps/common.js +10 -0
  846. package/components/steps/index.css +1 -0
  847. package/components/steps/index.d.ts +7 -0
  848. package/components/steps/index.js +8 -0
  849. package/components/steps/step.d.ts +11 -0
  850. package/components/steps/step.js +61 -0
  851. package/components/steps/steps.d.ts +18 -0
  852. package/components/steps/steps.js +66 -0
  853. package/components/sticky/common.d.ts +25 -0
  854. package/components/sticky/common.js +4 -0
  855. package/components/sticky/index.css +1 -0
  856. package/components/sticky/index.d.ts +7 -0
  857. package/components/sticky/index.js +8 -0
  858. package/components/sticky/sticky-box.d.ts +11 -0
  859. package/components/sticky/sticky-box.js +20 -0
  860. package/components/sticky/sticky.d.ts +11 -0
  861. package/components/sticky/sticky.js +126 -0
  862. package/components/style/base.css +0 -0
  863. package/components/style/bem.css +0 -0
  864. package/components/style/config.css +0 -0
  865. package/components/style/core-color.css +0 -0
  866. package/components/style/functions.css +0 -0
  867. package/components/style/index.css +1 -0
  868. package/components/style/utils/border.css +0 -0
  869. package/components/style/utils/button.css +0 -0
  870. package/components/style/utils/dir.css +0 -0
  871. package/components/style/utils/disabled.css +0 -0
  872. package/components/style/utils/ellipsis.css +0 -0
  873. package/components/style/utils/notify.css +0 -0
  874. package/components/style/utils/scroll-shadow.css +0 -0
  875. package/components/style/utils/theme-dark.css +0 -0
  876. package/components/style/utils/touch.css +0 -0
  877. package/components/style/utils.css +0 -0
  878. package/components/swipe-action/common.d.ts +39 -0
  879. package/components/swipe-action/common.js +5 -0
  880. package/components/swipe-action/index.css +1 -0
  881. package/components/swipe-action/index.d.ts +7 -0
  882. package/components/swipe-action/index.js +8 -0
  883. package/components/swipe-action/swipe-action-group.d.ts +13 -0
  884. package/components/swipe-action/swipe-action-group.js +39 -0
  885. package/components/swipe-action/swipe-action.d.ts +15 -0
  886. package/components/swipe-action/swipe-action.js +174 -0
  887. package/components/swiper/common.d.ts +101 -0
  888. package/components/swiper/common.js +68 -0
  889. package/components/swiper/index.css +1 -0
  890. package/components/swiper/index.d.ts +8 -0
  891. package/components/swiper/index.js +9 -0
  892. package/components/swiper/swiper-item.d.ts +3 -0
  893. package/components/swiper/swiper-item.js +34 -0
  894. package/components/swiper/swiper.d.ts +57 -0
  895. package/components/swiper/swiper.js +43 -0
  896. package/components/swiper/useSwiper.d.ts +29 -0
  897. package/components/swiper/useSwiper.js +186 -0
  898. package/components/swiper/useSwiperAnimation.d.ts +5 -0
  899. package/components/swiper/useSwiperAnimation.js +33 -0
  900. package/components/swiper/useSwiperAutoHeight.d.ts +3 -0
  901. package/components/swiper/useSwiperAutoHeight.js +25 -0
  902. package/components/swiper/useSwiperAutoPlay.d.ts +7 -0
  903. package/components/swiper/useSwiperAutoPlay.js +25 -0
  904. package/components/swiper/useSwiperData.d.ts +49 -0
  905. package/components/swiper/useSwiperData.js +228 -0
  906. package/components/swiper/useSwiperNested.d.ts +5 -0
  907. package/components/swiper/useSwiperNested.js +10 -0
  908. package/components/switch/common.d.ts +27 -0
  909. package/components/switch/common.js +8 -0
  910. package/components/switch/index.css +1 -0
  911. package/components/switch/index.d.ts +5 -0
  912. package/components/switch/index.js +6 -0
  913. package/components/switch/switch.d.ts +35 -0
  914. package/components/switch/switch.js +137 -0
  915. package/components/tabbar/common.d.ts +38 -0
  916. package/components/tabbar/common.js +5 -0
  917. package/components/tabbar/index.css +1 -0
  918. package/components/tabbar/index.d.ts +7 -0
  919. package/components/tabbar/index.js +8 -0
  920. package/components/tabbar/tabbar-item.d.ts +15 -0
  921. package/components/tabbar/tabbar-item.js +47 -0
  922. package/components/tabbar/tabbar.d.ts +24 -0
  923. package/components/tabbar/tabbar.js +67 -0
  924. package/components/tabbar-pit/common.d.ts +10 -0
  925. package/components/tabbar-pit/common.js +0 -0
  926. package/components/tabbar-pit/index.css +1 -0
  927. package/components/tabbar-pit/index.d.ts +5 -0
  928. package/components/tabbar-pit/index.js +6 -0
  929. package/components/tabbar-pit/tabbar-pit.d.ts +11 -0
  930. package/components/tabbar-pit/tabbar-pit.js +23 -0
  931. package/components/table/common.d.ts +113 -0
  932. package/components/table/common.js +9 -0
  933. package/components/table/index.css +1 -0
  934. package/components/table/index.d.ts +5 -0
  935. package/components/table/index.js +6 -0
  936. package/components/table/table-col.d.ts +4 -0
  937. package/components/table/table-col.js +40 -0
  938. package/components/table/table.d.ts +19 -0
  939. package/components/table/table.js +402 -0
  940. package/components/table/useColumn.d.ts +17 -0
  941. package/components/table/useColumn.js +43 -0
  942. package/components/tabs/common.d.ts +39 -0
  943. package/components/tabs/common.js +5 -0
  944. package/components/tabs/index.css +1 -0
  945. package/components/tabs/index.d.ts +7 -0
  946. package/components/tabs/index.js +8 -0
  947. package/components/tabs/tab.d.ts +15 -0
  948. package/components/tabs/tab.js +62 -0
  949. package/components/tabs/tabs.d.ts +22 -0
  950. package/components/tabs/tabs.js +135 -0
  951. package/components/tag/common.d.ts +17 -0
  952. package/components/tag/common.js +8 -0
  953. package/components/tag/index.css +1 -0
  954. package/components/tag/index.d.ts +5 -0
  955. package/components/tag/index.js +6 -0
  956. package/components/tag/tag.d.ts +24 -0
  957. package/components/tag/tag.js +60 -0
  958. package/components/text/common.d.ts +16 -0
  959. package/components/text/common.js +9 -0
  960. package/components/text/index.css +1 -0
  961. package/components/text/index.d.ts +5 -0
  962. package/components/text/index.js +6 -0
  963. package/components/text/text.d.ts +17 -0
  964. package/components/text/text.js +57 -0
  965. package/components/timeline/common.d.ts +15 -0
  966. package/components/timeline/common.js +0 -0
  967. package/components/timeline/index.css +1 -0
  968. package/components/timeline/index.d.ts +7 -0
  969. package/components/timeline/index.js +8 -0
  970. package/components/timeline/timeline-item.d.ts +11 -0
  971. package/components/timeline/timeline-item.js +48 -0
  972. package/components/timeline/timeline.d.ts +11 -0
  973. package/components/timeline/timeline.js +14 -0
  974. package/components/toast/common.d.ts +24 -0
  975. package/components/toast/common.js +10 -0
  976. package/components/toast/imperative.d.ts +18 -0
  977. package/components/toast/imperative.js +43 -0
  978. package/components/toast/index.css +1 -0
  979. package/components/toast/index.d.ts +6 -0
  980. package/components/toast/index.js +7 -0
  981. package/components/toast/toast.d.ts +42 -0
  982. package/components/toast/toast.js +120 -0
  983. package/components/tree/common.d.ts +134 -0
  984. package/components/tree/common.js +16 -0
  985. package/components/tree/index.css +1 -0
  986. package/components/tree/index.d.ts +9 -0
  987. package/components/tree/index.js +10 -0
  988. package/components/tree/tree-branch.d.ts +4 -0
  989. package/components/tree/tree-branch.js +23 -0
  990. package/components/tree/tree-node.d.ts +4 -0
  991. package/components/tree/tree-node.js +358 -0
  992. package/components/tree/tree.d.ts +48 -0
  993. package/components/tree/tree.js +696 -0
  994. package/components/upload/common.d.ts +73 -0
  995. package/components/upload/common.js +11 -0
  996. package/components/upload/index.css +1 -0
  997. package/components/upload/index.d.ts +7 -0
  998. package/components/upload/index.js +8 -0
  999. package/components/upload/upload-preview.d.ts +24 -0
  1000. package/components/upload/upload-preview.js +153 -0
  1001. package/components/upload/upload.d.ts +37 -0
  1002. package/components/upload/upload.js +291 -0
  1003. package/components/waterfall/common.d.ts +62 -0
  1004. package/components/waterfall/common.js +9 -0
  1005. package/components/waterfall/index.css +1 -0
  1006. package/components/waterfall/index.d.ts +9 -0
  1007. package/components/waterfall/index.js +10 -0
  1008. package/components/waterfall/test/SimulatedImage.d.ts +32 -0
  1009. package/components/waterfall/test/SimulatedImage.js +48 -0
  1010. package/components/waterfall/waterfall-item.d.ts +11 -0
  1011. package/components/waterfall/waterfall-item.js +73 -0
  1012. package/components/waterfall/waterfall-load.d.ts +15 -0
  1013. package/components/waterfall/waterfall-load.js +67 -0
  1014. package/components/waterfall/waterfall.d.ts +21 -0
  1015. package/components/waterfall/waterfall.js +127 -0
  1016. package/components/watermark/common.d.ts +29 -0
  1017. package/components/watermark/common.js +18 -0
  1018. package/components/watermark/index.css +1 -0
  1019. package/components/watermark/index.d.ts +5 -0
  1020. package/components/watermark/index.js +6 -0
  1021. package/components/watermark/watermark.d.ts +21 -0
  1022. package/components/watermark/watermark.js +206 -0
  1023. package/global.d.js +0 -0
  1024. package/global.d.ts +168 -0
  1025. package/index.css +1 -0
  1026. package/index.d.ts +10 -0
  1027. package/index.js +219 -0
  1028. package/locale/index.d.ts +19 -0
  1029. package/locale/index.js +51 -0
  1030. package/locale/lang/ar-SA.d.ts +148 -0
  1031. package/locale/lang/ar-SA.js +137 -0
  1032. package/locale/lang/bn-BD.d.ts +166 -0
  1033. package/locale/lang/bn-BD.js +155 -0
  1034. package/locale/lang/en-US.d.ts +148 -0
  1035. package/locale/lang/en-US.js +137 -0
  1036. package/locale/lang/es-ES.d.ts +166 -0
  1037. package/locale/lang/es-ES.js +155 -0
  1038. package/locale/lang/hi-IN.d.ts +166 -0
  1039. package/locale/lang/hi-IN.js +155 -0
  1040. package/locale/lang/id-ID.d.ts +166 -0
  1041. package/locale/lang/id-ID.js +155 -0
  1042. package/locale/lang/pt-BR.d.ts +166 -0
  1043. package/locale/lang/pt-BR.js +155 -0
  1044. package/locale/lang/tr-TR.d.ts +166 -0
  1045. package/locale/lang/tr-TR.js +155 -0
  1046. package/locale/lang/ur-PK.d.ts +166 -0
  1047. package/locale/lang/ur-PK.js +155 -0
  1048. package/locale/lang/vi-VN.d.ts +148 -0
  1049. package/locale/lang/vi-VN.js +137 -0
  1050. package/locale/lang/zh-CN.d.ts +166 -0
  1051. package/locale/lang/zh-CN.js +155 -0
  1052. package/package.json +27 -7
  1053. package/type-helpers.d.ts +25 -0
  1054. package/type-helpers.js +0 -0
  1055. package/use/index.d.ts +35 -0
  1056. package/use/index.js +36 -0
  1057. package/use/reactiveComputed.d.ts +3 -0
  1058. package/use/reactiveComputed.js +8 -0
  1059. package/use/toReactive.d.ts +2 -0
  1060. package/use/toReactive.js +32 -0
  1061. package/use/useClickOutside.d.ts +2 -0
  1062. package/use/useClickOutside.js +46 -0
  1063. package/use/useColorScheme.d.ts +11 -0
  1064. package/use/useColorScheme.js +38 -0
  1065. package/use/useComposition.d.ts +11 -0
  1066. package/use/useComposition.js +31 -0
  1067. package/use/useDragPinch.d.ts +10 -0
  1068. package/use/useDragPinch.js +82 -0
  1069. package/use/useElementScroll.d.ts +2 -0
  1070. package/use/useElementScroll.js +19 -0
  1071. package/use/useImperative.d.ts +11 -0
  1072. package/use/useImperative.js +44 -0
  1073. package/use/useIndeterminate.d.ts +10 -0
  1074. package/use/useIndeterminate.js +26 -0
  1075. package/use/useInitialVelocity.d.ts +8 -0
  1076. package/use/useInitialVelocity.js +88 -0
  1077. package/use/useIntersectionObserver.d.ts +15 -0
  1078. package/use/useIntersectionObserver.js +74 -0
  1079. package/use/useKeyList.d.ts +5 -0
  1080. package/use/useKeyList.js +18 -0
  1081. package/use/useLockScroll.d.ts +2 -0
  1082. package/use/useLockScroll.js +36 -0
  1083. package/use/useLuckyDraw.d.ts +22 -0
  1084. package/use/useLuckyDraw.js +131 -0
  1085. package/use/useLuckyGrid.d.ts +26 -0
  1086. package/use/useLuckyGrid.js +51 -0
  1087. package/use/useLuckyWheel.d.ts +15 -0
  1088. package/use/useLuckyWheel.js +26 -0
  1089. package/use/useOptionKeys.d.ts +29 -0
  1090. package/use/useOptionKeys.js +36 -0
  1091. package/use/usePageScroll.d.ts +1 -0
  1092. package/use/usePageScroll.js +15 -0
  1093. package/use/usePointerDown.d.ts +1 -0
  1094. package/use/usePointerDown.js +21 -0
  1095. package/use/usePopper.d.ts +34 -0
  1096. package/use/usePopper.js +242 -0
  1097. package/use/useReachBottom.d.ts +1 -0
  1098. package/use/useReachBottom.js +14 -0
  1099. package/use/useResizeObserver.d.ts +10 -0
  1100. package/use/useResizeObserver.js +34 -0
  1101. package/use/useRtl.d.ts +2 -0
  1102. package/use/useRtl.js +31 -0
  1103. package/use/useScrollSide.d.ts +10 -0
  1104. package/use/useScrollSide.js +49 -0
  1105. package/use/useScrollSpy.d.ts +16 -0
  1106. package/use/useScrollSpy.js +98 -0
  1107. package/use/useSimulatedClick.d.ts +6 -0
  1108. package/use/useSimulatedClick.js +38 -0
  1109. package/use/useSimulatedDblClick.d.ts +4 -0
  1110. package/use/useSimulatedDblClick.js +37 -0
  1111. package/use/useSimulatedPress.d.ts +12 -0
  1112. package/use/useSimulatedPress.js +49 -0
  1113. package/use/useSingleTask.d.ts +6 -0
  1114. package/use/useSingleTask.js +36 -0
  1115. package/use/useSlotMachine.d.ts +16 -0
  1116. package/use/useSlotMachine.js +86 -0
  1117. package/use/useStopMovedClick.d.ts +6 -0
  1118. package/use/useStopMovedClick.js +27 -0
  1119. package/use/useTimeout.d.ts +5 -0
  1120. package/use/useTimeout.js +32 -0
  1121. package/use/useTimeoutLoading.d.ts +6 -0
  1122. package/use/useTimeoutLoading.js +48 -0
  1123. package/use/useWindowResize.d.ts +1 -0
  1124. package/use/useWindowResize.js +15 -0
  1125. package/use/useZIndex.d.ts +1 -0
  1126. package/use/useZIndex.js +13 -0
  1127. package/utils/array.d.ts +28 -0
  1128. package/utils/array.js +77 -0
  1129. package/utils/barcode.d.ts +73 -0
  1130. package/utils/barcode.js +442 -0
  1131. package/utils/bem.d.ts +39 -0
  1132. package/utils/bem.js +56 -0
  1133. package/utils/canvas.d.ts +9 -0
  1134. package/utils/canvas.js +12 -0
  1135. package/utils/clipboard.d.ts +7 -0
  1136. package/utils/clipboard.js +37 -0
  1137. package/utils/color.d.ts +39 -0
  1138. package/utils/color.js +341 -0
  1139. package/utils/common.d.ts +3 -0
  1140. package/utils/common.js +0 -0
  1141. package/utils/component.d.ts +21 -0
  1142. package/utils/component.js +31 -0
  1143. package/utils/createImperativeComponent.d.ts +10 -0
  1144. package/utils/createImperativeComponent.js +54 -0
  1145. package/utils/date.d.ts +119 -0
  1146. package/utils/date.js +803 -0
  1147. package/utils/dom.d.ts +6 -0
  1148. package/utils/dom.js +19 -0
  1149. package/utils/file.d.ts +57 -0
  1150. package/utils/file.js +113 -0
  1151. package/utils/geometry.d.ts +98 -0
  1152. package/utils/geometry.js +174 -0
  1153. package/utils/index.d.ts +24 -0
  1154. package/utils/index.js +27 -0
  1155. package/utils/inertialAnimate.d.ts +10 -0
  1156. package/utils/inertialAnimate.js +44 -0
  1157. package/utils/is.d.ts +80 -0
  1158. package/utils/is.js +108 -0
  1159. package/utils/log.d.ts +1 -0
  1160. package/utils/log.js +8 -0
  1161. package/utils/number.d.ts +32 -0
  1162. package/utils/number.js +62 -0
  1163. package/utils/object.d.ts +43 -0
  1164. package/utils/object.js +134 -0
  1165. package/utils/physics.d.ts +34 -0
  1166. package/utils/physics.js +59 -0
  1167. package/utils/polyfill.d.ts +7 -0
  1168. package/utils/polyfill.js +15 -0
  1169. package/utils/qrcode.d.ts +8 -0
  1170. package/utils/qrcode.js +768 -0
  1171. package/utils/regexp.d.ts +1 -0
  1172. package/utils/regexp.js +6 -0
  1173. package/utils/scroller/Friction.d.ts +80 -0
  1174. package/utils/scroller/Friction.js +116 -0
  1175. package/utils/scroller/Scroll.d.ts +52 -0
  1176. package/utils/scroller/Scroll.js +110 -0
  1177. package/utils/scroller/Spring.d.ts +66 -0
  1178. package/utils/scroller/Spring.js +204 -0
  1179. package/utils/scroller/index.d.ts +3 -0
  1180. package/utils/scroller/index.js +4 -0
  1181. package/utils/scroller/useEasingAnimation.d.ts +5 -0
  1182. package/utils/scroller/useEasingAnimation.js +32 -0
  1183. package/utils/scroller/useScrollAnimation.d.ts +12 -0
  1184. package/utils/scroller/useScrollAnimation.js +36 -0
  1185. package/utils/scroller/useScrollBinding.d.ts +8 -0
  1186. package/utils/scroller/useScrollBinding.js +51 -0
  1187. package/utils/scroller/useScroller.d.ts +39 -0
  1188. package/utils/scroller/useScroller.js +210 -0
  1189. package/utils/string.d.ts +37 -0
  1190. package/utils/string.js +68 -0
  1191. package/utils/tree.d.ts +26 -0
  1192. package/utils/tree.js +141 -0
  1193. package/utils/utils.d.ts +56 -0
  1194. package/utils/utils.js +163 -0
  1195. package/utils/vnode.d.ts +9 -0
  1196. package/utils/vnode.js +69 -0
File without changes
@@ -0,0 +1 @@
1
+ .s-navbar-pit__content{height:var(--s-navbar-height)}
@@ -0,0 +1,5 @@
1
+ import { type EnhancedComponent } from '../../utils';
2
+ import _NavbarPit from './navbar-pit.vue';
3
+ export declare const NavbarPit: EnhancedComponent<typeof _NavbarPit>;
4
+ export default NavbarPit;
5
+ export type { NavbarPitProps } from './common';
@@ -0,0 +1,6 @@
1
+ import { enhanceComponent } from "../../utils/component.js";
2
+ import navbar_pit_default from "./navbar-pit.js";
3
+ //#region packages/sard/components/navbar-pit/index.ts
4
+ const NavbarPit = enhanceComponent(navbar_pit_default);
5
+ //#endregion
6
+ export { NavbarPit, NavbarPit as default };
@@ -0,0 +1,4 @@
1
+ import { type NavbarPitProps } from './common';
2
+ declare const __VLS_export: import("vue").DefineComponent<NavbarPitProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NavbarPitProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { createBem } from "../../utils/bem.js";
2
+ import status_bar_default from "../status-bar/status-bar.js";
3
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, unref } from "vue";
4
+ //#region packages/sard/components/navbar-pit/navbar-pit.vue
5
+ var navbar_pit_default = /*@__PURE__*/ defineComponent({
6
+ __name: "navbar-pit",
7
+ props: { statusBar: {
8
+ type: Boolean,
9
+ required: false
10
+ } },
11
+ setup(__props) {
12
+ const bem = createBem("navbar-pit");
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createElementBlock("div", { class: normalizeClass(unref(bem).b()) }, [__props.statusBar ? (openBlock(), createBlock(status_bar_default, { key: 0 })) : createCommentVNode("v-if", true), createElementVNode("div", { class: normalizeClass(unref(bem).e("content")) }, null, 2)], 2);
15
+ };
16
+ }
17
+ });
18
+ //#endregion
19
+ export { navbar_pit_default as default };
@@ -0,0 +1,25 @@
1
+ import { type DefaultProps } from '../config';
2
+ export interface NoticeBarProps {
3
+ color?: string;
4
+ background?: string;
5
+ hideLeftIcon?: boolean;
6
+ speed?: number;
7
+ scrollable?: 'auto' | 'never' | 'always';
8
+ wrap?: boolean;
9
+ closable?: boolean;
10
+ linkable?: boolean;
11
+ visible?: boolean;
12
+ vertical?: boolean;
13
+ }
14
+ export declare const defaultNoticeBarProps: DefaultProps<NoticeBarProps>;
15
+ export interface NoticeBarSlots {
16
+ default?(props: Record<string, never>): any;
17
+ 'left-icon'?(props: Record<string, never>): any;
18
+ 'right-icon'?(props: Record<string, never>): any;
19
+ }
20
+ export interface NoticeBarEmits {
21
+ (e: 'click', event: MouseEvent): void;
22
+ (e: 'close'): void;
23
+ }
24
+ export interface NoticeBarExpose {
25
+ }
@@ -0,0 +1,8 @@
1
+ //#region packages/sard/components/notice-bar/common.ts
2
+ const defaultNoticeBarProps = {
3
+ speed: 50,
4
+ scrollable: "auto",
5
+ visible: true
6
+ };
7
+ //#endregion
8
+ export { defaultNoticeBarProps };
@@ -0,0 +1 @@
1
+ :root{--s-notice-bar-min-height:var(--s-content-height-sm);--s-notice-bar-padding-x:var(--s-content-padding-x);--s-notice-bar-padding-y:var(--s-content-padding-y);--s-notice-bar-font-size:var(--s-font-size);--s-notice-bar-color:#f97316;--s-notice-bar-bg:rgba(var(--s-color-warning-rgb), var(--s-opacity-theme-bg));--s-notice-bar-wrap-line-height:var(--s-line-height-snug);--s-notice-bar-left-icon-size:var(--s-size-lg);--s-notice-bar-left-icon-margin-end:var(--s-size-xs);--s-notice-bar-right-icon-padding:var(--s-size-xs);--s-notice-bar-right-icon-size:var(--s-size);--s-notice-bar-right-icon-margin-start:0;--s-notice-bar-right-icon-margin-end:calc(var(--s-size-xs)*-1)}.s-notice-bar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;min-height:var(--s-notice-bar-min-height);padding:0 var(--s-notice-bar-padding-x);background:var(--s-notice-bar-bg);color:var(--s-notice-bar-color)}.s-notice-bar--wrap{padding-top:var(--s-notice-bar-padding-y);padding-bottom:var(--s-notice-bar-padding-y)}.s-notice-bar--linkable{cursor:pointer}.s-notice-bar__left-icon{font-size:var(--s-notice-bar-left-icon-size);margin-inline-end:var(--s-notice-bar-left-icon-margin-end)}.s-notice-bar__content{flex:1;display:flex;flex-direction:row;overflow:hidden}.s-notice-bar__wrapper{font-size:var(--s-notice-bar-font-size);line-height:var(--s-notice-bar-wrap-line-height);white-space:nowrap;animation-duration:var(--duration);animation-timing-function:linear;animation-fill-mode:both;transform:translateX(var(--x))}:root[dir=rtl] .s-notice-bar__wrapper{transform:translateX(calc(var(--x) * -1))}.s-notice-bar__right-icon{font-size:var(--s-notice-bar-right-icon-size);padding:var(--s-notice-bar-right-icon-padding);margin-inline-start:var(--s-notice-bar-right-icon-margin-start);margin-inline-end:var(--s-notice-bar-right-icon-margin-end);cursor:pointer}.s-notice-bar--linkable{cursor:pointer}:root[dir=rtl] .s-notice-bar--linkable .s-notice-bar__right-icon{transform:rotateY(180deg)}.s-notice-bar--vertical .s-notice-bar__content{flex-direction:column}.s-notice-bar--scrollable .s-notice-bar__wrapper{animation-name:s-notice-bar-scroll}:root[dir=rtl] .s-notice-bar--scrollable .s-notice-bar__wrapper{animation-name:s-notice-bar-scroll-rtl}.s-notice-bar--infinite .s-notice-bar__wrapper{animation-name:s-notice-bar-scroll-infinite;animation-iteration-count:infinite}:root[dir=rtl] .s-notice-bar--infinite .s-notice-bar__wrapper{animation-name:s-notice-bar-scroll-infinite-rtl}@keyframes s-notice-bar-scroll{100%{transform:translate3d(-100%, 0, 0)}}@keyframes s-notice-bar-scroll-infinite{100%{transform:translate3d(-100%, 0, 0)}}@keyframes s-notice-bar-scroll-rtl{100%{transform:translate3d(100%, 0, 0)}}@keyframes s-notice-bar-scroll-infinite-rtl{100%{transform:translate3d(100%, 0, 0)}}.s-notice-bar--wrap .s-notice-bar__wrapper{white-space:normal}
@@ -0,0 +1,5 @@
1
+ import { type EnhancedComponent } from '../../utils';
2
+ import _NoticeBar from './notice-bar.vue';
3
+ export declare const NoticeBar: EnhancedComponent<typeof _NoticeBar>;
4
+ export default NoticeBar;
5
+ export type { NoticeBarProps, NoticeBarSlots, NoticeBarEmits, NoticeBarExpose } from './common';
@@ -0,0 +1,6 @@
1
+ import { enhanceComponent } from "../../utils/component.js";
2
+ import notice_bar_default from "./notice-bar.js";
3
+ //#region packages/sard/components/notice-bar/index.ts
4
+ const NoticeBar = enhanceComponent(notice_bar_default);
5
+ //#endregion
6
+ export { NoticeBar, NoticeBar as default };
@@ -0,0 +1,28 @@
1
+ import { type NoticeBarProps, type NoticeBarSlots } from './common';
2
+ type __VLS_Slots = NoticeBarSlots;
3
+ declare const __VLS_base: import("vue").DefineComponent<NoticeBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: MouseEvent) => any;
5
+ close: () => any;
6
+ }, string, import("vue").PublicProps, Readonly<NoticeBarProps> & Readonly<{
7
+ onClick?: ((event: MouseEvent) => any) | undefined;
8
+ onClose?: (() => any) | undefined;
9
+ }>, {
10
+ vertical: boolean;
11
+ background: string;
12
+ visible: boolean;
13
+ color: string;
14
+ closable: boolean;
15
+ wrap: boolean;
16
+ scrollable: "auto" | "never" | "always";
17
+ speed: number;
18
+ hideLeftIcon: boolean;
19
+ linkable: boolean;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,164 @@
1
+ import { createBem } from "../../utils/bem.js";
2
+ import { throttle } from "../../utils/utils.js";
3
+ import { useResizeObserver } from "../../use/useResizeObserver.js";
4
+ import { defaultNoticeBarProps } from "./common.js";
5
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeDefaults, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, unref, useTemplateRef } from "vue";
6
+ import { Close, Right, VolumeUp } from "@sard/icons";
7
+ //#region packages/sard/components/notice-bar/notice-bar.vue
8
+ var notice_bar_default = /*@__PURE__*/ defineComponent({
9
+ __name: "notice-bar",
10
+ props: /*@__PURE__*/ mergeDefaults({
11
+ color: {
12
+ type: String,
13
+ required: false
14
+ },
15
+ background: {
16
+ type: String,
17
+ required: false
18
+ },
19
+ hideLeftIcon: {
20
+ type: Boolean,
21
+ required: false
22
+ },
23
+ speed: {
24
+ type: Number,
25
+ required: false
26
+ },
27
+ scrollable: {
28
+ type: String,
29
+ required: false
30
+ },
31
+ wrap: {
32
+ type: Boolean,
33
+ required: false
34
+ },
35
+ closable: {
36
+ type: Boolean,
37
+ required: false
38
+ },
39
+ linkable: {
40
+ type: Boolean,
41
+ required: false
42
+ },
43
+ visible: {
44
+ type: Boolean,
45
+ required: false
46
+ },
47
+ vertical: {
48
+ type: Boolean,
49
+ required: false
50
+ }
51
+ }, defaultNoticeBarProps),
52
+ emits: ["click", "close"],
53
+ setup(__props, { emit: __emit }) {
54
+ const props = __props;
55
+ const emit = __emit;
56
+ const bem = createBem("notice-bar");
57
+ const contentRef = useTemplateRef("content");
58
+ const wrapperRef = useTemplateRef("wrapper");
59
+ const shouldScroll = ref(false);
60
+ const wrapperData = ref({
61
+ first: 0,
62
+ later: 0,
63
+ contentWidth: 0
64
+ });
65
+ const getWidth = (el) => {
66
+ return el.getBoundingClientRect().width;
67
+ };
68
+ const firstLap = ref(true);
69
+ const onAnimationEnd = (event) => {
70
+ if (event.target === wrapperRef.value) {
71
+ if (firstLap.value) firstLap.value = false;
72
+ }
73
+ };
74
+ const update = throttle(() => {
75
+ if (props.scrollable === "never") {
76
+ shouldScroll.value = false;
77
+ return;
78
+ }
79
+ const contentWidth = getWidth(contentRef.value);
80
+ const wrapperWidth = getWidth(wrapperRef.value);
81
+ const nextShouldScroll = props.scrollable === "always" || wrapperWidth > contentWidth;
82
+ if (nextShouldScroll) wrapperData.value = {
83
+ first: wrapperWidth / props.speed * 1e3,
84
+ later: (wrapperWidth + contentWidth) / props.speed * 1e3,
85
+ contentWidth
86
+ };
87
+ else firstLap.value = true;
88
+ shouldScroll.value = nextShouldScroll;
89
+ }, 50, { leading: false });
90
+ onMounted(() => {
91
+ update();
92
+ });
93
+ onBeforeUnmount(() => {
94
+ update.cancel();
95
+ });
96
+ useResizeObserver(wrapperRef, () => {
97
+ update();
98
+ });
99
+ useResizeObserver(contentRef, () => {
100
+ update();
101
+ });
102
+ const innerVisible = ref(props.visible);
103
+ const onRightIconClick = () => {
104
+ if (props.closable) {
105
+ innerVisible.value = false;
106
+ emit("close");
107
+ }
108
+ };
109
+ const onClick = (event) => {
110
+ emit("click", event);
111
+ };
112
+ const noticeBarClass = computed(() => {
113
+ return [
114
+ bem.b(),
115
+ bem.m("wrap", props.wrap),
116
+ bem.m("vertical", props.vertical),
117
+ bem.m("linkable", props.linkable),
118
+ bem.m("infinite", !firstLap.value),
119
+ bem.m("scrollable", shouldScroll.value)
120
+ ];
121
+ });
122
+ const noticeBarStyle = computed(() => {
123
+ return {
124
+ color: props.color,
125
+ background: props.background,
126
+ display: innerVisible.value ? "" : "none"
127
+ };
128
+ });
129
+ const wrapperStyle = computed(() => {
130
+ return {
131
+ "--x": `${firstLap.value ? 0 : wrapperData.value.contentWidth}px`,
132
+ "--duration": `${firstLap.value ? wrapperData.value.first : wrapperData.value.later}ms`
133
+ };
134
+ });
135
+ return (_ctx, _cache) => {
136
+ return openBlock(), createElementBlock("div", {
137
+ class: normalizeClass(noticeBarClass.value),
138
+ style: normalizeStyle(noticeBarStyle.value),
139
+ onClick
140
+ }, [
141
+ !__props.hideLeftIcon ? (openBlock(), createElementBlock("div", {
142
+ key: 0,
143
+ class: normalizeClass(unref(bem).e("left-icon"))
144
+ }, [renderSlot(_ctx.$slots, "left-icon", {}, () => [createVNode(unref(VolumeUp))])], 2)) : createCommentVNode("v-if", true),
145
+ createElementVNode("div", {
146
+ ref: "content",
147
+ class: normalizeClass(unref(bem).e("content"))
148
+ }, [createElementVNode("div", {
149
+ ref: "wrapper",
150
+ class: normalizeClass(unref(bem).e("wrapper")),
151
+ style: normalizeStyle(wrapperStyle.value),
152
+ onAnimationend: onAnimationEnd
153
+ }, [renderSlot(_ctx.$slots, "default")], 38)], 2),
154
+ __props.closable || __props.linkable ? (openBlock(), createElementBlock("div", {
155
+ key: 1,
156
+ class: normalizeClass(unref(bem).e("right-icon")),
157
+ onClick: onRightIconClick
158
+ }, [renderSlot(_ctx.$slots, "right-icon", {}, () => [__props.closable ? (openBlock(), createBlock(unref(Close), { key: 0 })) : __props.linkable ? (openBlock(), createBlock(unref(Right), { key: 1 })) : createCommentVNode("v-if", true)])], 2)) : createCommentVNode("v-if", true)
159
+ ], 6);
160
+ };
161
+ }
162
+ });
163
+ //#endregion
164
+ export { notice_bar_default as default };
@@ -0,0 +1,24 @@
1
+ import { type DefaultProps } from '../config';
2
+ import type { MotionEmits } from '../motion';
3
+ export interface NotifyProps {
4
+ type?: 'primary' | 'success' | 'warning' | 'error';
5
+ message?: string;
6
+ color?: string;
7
+ background?: string;
8
+ visible?: boolean;
9
+ position?: 'top' | 'bottom';
10
+ timeout?: number;
11
+ statusBar?: boolean;
12
+ }
13
+ export declare const defaultNotifyProps: DefaultProps<NotifyProps>;
14
+ export interface NotifySlots {
15
+ default?(props: Record<string, never>): any;
16
+ }
17
+ export interface NotifyEmits extends MotionEmits {
18
+ (e: 'click', event: MouseEvent): void;
19
+ (e: 'update:visible', visible: boolean): void;
20
+ }
21
+ export interface NotifyExpose {
22
+ reHideLater: () => void;
23
+ cancelHide: () => void;
24
+ }
@@ -0,0 +1,9 @@
1
+ //#region packages/sard/components/notify/common.ts
2
+ const defaultNotifyProps = {
3
+ type: "primary",
4
+ position: "top",
5
+ timeout: 3e3,
6
+ statusBar: true
7
+ };
8
+ //#endregion
9
+ export { defaultNotifyProps };
@@ -0,0 +1,18 @@
1
+ import { type TransitionHookCallbacks } from '../popup/common';
2
+ import { type NotifyProps } from './common';
3
+ export interface NotifyOptions extends NotifyProps, TransitionHookCallbacks {
4
+ }
5
+ export interface NotifySimpleShowFunction {
6
+ (optionsOrMessage?: string | NotifyOptions, options?: NotifyOptions): void;
7
+ }
8
+ export interface NotifyShowFunction {
9
+ (optionsOrMessage?: string | NotifyOptions, options?: NotifyOptions, internalType?: NotifyOptions['type']): void;
10
+ }
11
+ export type NotifyFunction = NotifySimpleShowFunction & {
12
+ success: NotifySimpleShowFunction;
13
+ warning: NotifySimpleShowFunction;
14
+ error: NotifySimpleShowFunction;
15
+ hide: () => void;
16
+ };
17
+ export declare function createNotify(defaultOptions?: NotifyOptions): NotifyFunction;
18
+ export declare const notify: NotifyFunction;
@@ -0,0 +1,43 @@
1
+ import { isConfigObject } from "../../utils/is.js";
2
+ import { createImperativeComponent } from "../../utils/createImperativeComponent.js";
3
+ import notify_default from "./notify.js";
4
+ //#region packages/sard/components/notify/imperative.ts
5
+ function createNotify(defaultOptions) {
6
+ const imperative = createImperativeComponent(notify_default, defaultOptions, {
7
+ onShow(expose) {
8
+ expose.reHideLater();
9
+ },
10
+ onHide(expose) {
11
+ expose.cancelHide();
12
+ }
13
+ });
14
+ const show = (optionsOrMessage, options = {}, internalType) => {
15
+ if (isConfigObject(optionsOrMessage)) options = optionsOrMessage;
16
+ else options.message = optionsOrMessage;
17
+ options.type = internalType;
18
+ imperative.show(options);
19
+ };
20
+ const notify = (optionsOrMessage, options) => {
21
+ show(optionsOrMessage, options, "primary");
22
+ };
23
+ const success = (optionsOrMessage, options) => {
24
+ show(optionsOrMessage, options, "success");
25
+ };
26
+ const warning = (optionsOrMessage, options) => {
27
+ show(optionsOrMessage, options, "warning");
28
+ };
29
+ const error = (optionsOrMessage, options) => {
30
+ show(optionsOrMessage, options, "error");
31
+ };
32
+ const hide = () => {
33
+ imperative.hide();
34
+ };
35
+ notify.success = success;
36
+ notify.warning = warning;
37
+ notify.error = error;
38
+ notify.hide = hide;
39
+ return notify;
40
+ }
41
+ const notify = createNotify();
42
+ //#endregion
43
+ export { createNotify, notify };
@@ -0,0 +1 @@
1
+ :root{--s-notify-padding-x:var(--s-content-padding-x);--s-notify-padding-y:var(--s-content-padding-y);--s-notify-font-size:var(--s-font-size);--s-notify-color:var(--s-white)}.s-notify--primary{background-color:var(--s-color-primary)}.s-notify--success{background-color:var(--s-color-success)}.s-notify--warning{background-color:var(--s-color-warning)}.s-notify--error{background-color:var(--s-color-danger)}.s-notify__content{padding:var(--s-notify-padding-y) var(--s-notify-padding-x);font-size:var(--s-notify-font-size);text-align:center;color:var(--s-white)}.s-notify--bottom .s-notify__content{padding-bottom:calc(var(--s-notify-padding-y) + var(--s-safe-bottom))}
@@ -0,0 +1,6 @@
1
+ import { type EnhancedComponent } from '../../utils';
2
+ import _Notify from './notify.vue';
3
+ export declare const Notify: EnhancedComponent<typeof _Notify>;
4
+ export default Notify;
5
+ export type { NotifyProps, NotifySlots, NotifyEmits, NotifyExpose } from './common';
6
+ export * from './imperative';
@@ -0,0 +1,7 @@
1
+ import { enhanceComponent } from "../../utils/component.js";
2
+ import notify_default from "./notify.js";
3
+ import { createNotify, notify } from "./imperative.js";
4
+ //#region packages/sard/components/notify/index.ts
5
+ const Notify = enhanceComponent(notify_default);
6
+ //#endregion
7
+ export { Notify, Notify as default, createNotify, notify };
@@ -0,0 +1,45 @@
1
+ import { type NotifyExpose, type NotifyProps, type NotifySlots } from './common';
2
+ import type { MotionHookName } from '../motion/common';
3
+ type __VLS_Slots = NotifySlots;
4
+ declare const __VLS_base: import("vue").DefineComponent<NotifyProps, NotifyExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
+ click: (event: MouseEvent) => any;
6
+ "before-enter": (el: Element) => any;
7
+ enter: (el: Element) => any;
8
+ "after-enter": (el: Element) => any;
9
+ "enter-cancelled": (el: Element) => any;
10
+ "before-leave": (el: Element) => any;
11
+ leave: (el: Element) => any;
12
+ "after-leave": (el: Element) => any;
13
+ "leave-cancelled": (el: Element) => any;
14
+ "visible-hook": (name: MotionHookName, el: Element) => any;
15
+ "update:visible": (visible: boolean) => any;
16
+ }, string, import("vue").PublicProps, Readonly<NotifyProps> & Readonly<{
17
+ onClick?: ((event: MouseEvent) => any) | undefined;
18
+ "onBefore-enter"?: ((el: Element) => any) | undefined;
19
+ onEnter?: ((el: Element) => any) | undefined;
20
+ "onAfter-enter"?: ((el: Element) => any) | undefined;
21
+ "onEnter-cancelled"?: ((el: Element) => any) | undefined;
22
+ "onBefore-leave"?: ((el: Element) => any) | undefined;
23
+ onLeave?: ((el: Element) => any) | undefined;
24
+ "onAfter-leave"?: ((el: Element) => any) | undefined;
25
+ "onLeave-cancelled"?: ((el: Element) => any) | undefined;
26
+ "onVisible-hook"?: ((name: MotionHookName, el: Element) => any) | undefined;
27
+ "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
28
+ }>, {
29
+ position: "top" | "bottom";
30
+ background: string;
31
+ type: "primary" | "success" | "warning" | "error";
32
+ visible: boolean;
33
+ message: string;
34
+ color: string;
35
+ statusBar: boolean;
36
+ timeout: number;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,131 @@
1
+ import { createBem } from "../../utils/bem.js";
2
+ import { useTimeout } from "../../use/useTimeout.js";
3
+ import popup_default from "../popup/popup.js";
4
+ import status_bar_default from "../status-bar/status-bar.js";
5
+ import { defaultNotifyProps } from "./common.js";
6
+ import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, defineComponent, mergeDefaults, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, useSlots, watch, withCtx } from "vue";
7
+ //#region packages/sard/components/notify/notify.vue
8
+ var notify_default = /*@__PURE__*/ defineComponent({
9
+ __name: "notify",
10
+ props: /*@__PURE__*/ mergeDefaults({
11
+ type: {
12
+ type: String,
13
+ required: false
14
+ },
15
+ message: {
16
+ type: String,
17
+ required: false
18
+ },
19
+ color: {
20
+ type: String,
21
+ required: false
22
+ },
23
+ background: {
24
+ type: String,
25
+ required: false
26
+ },
27
+ visible: {
28
+ type: Boolean,
29
+ required: false
30
+ },
31
+ position: {
32
+ type: String,
33
+ required: false
34
+ },
35
+ timeout: {
36
+ type: Number,
37
+ required: false
38
+ },
39
+ statusBar: {
40
+ type: Boolean,
41
+ required: false
42
+ }
43
+ }, defaultNotifyProps),
44
+ emits: [
45
+ "click",
46
+ "update:visible",
47
+ "before-enter",
48
+ "enter",
49
+ "after-enter",
50
+ "enter-cancelled",
51
+ "before-leave",
52
+ "leave",
53
+ "after-leave",
54
+ "leave-cancelled",
55
+ "visible-hook"
56
+ ],
57
+ setup(__props, { expose: __expose, emit: __emit }) {
58
+ const props = __props;
59
+ useSlots();
60
+ const emit = __emit;
61
+ const bem = createBem("notify");
62
+ const effect = computed(() => {
63
+ return {
64
+ top: "slide-top",
65
+ bottom: "slide-bottom"
66
+ }[props.position];
67
+ });
68
+ const innerVisible = ref(props.visible);
69
+ const hideTimer = useTimeout();
70
+ const hide = () => {
71
+ innerVisible.value = false;
72
+ emit("update:visible", false);
73
+ };
74
+ const reHideLater = () => {
75
+ hideTimer.clear();
76
+ nextTick(() => {
77
+ if (props.timeout > 0) hideTimer.set(hide, props.timeout);
78
+ });
79
+ };
80
+ watch(() => props.visible, () => {
81
+ innerVisible.value = props.visible;
82
+ if (props.visible) {
83
+ if (props.timeout > 0) hideTimer.set(hide, props.timeout);
84
+ }
85
+ });
86
+ const onVisibleHook = (name, el) => {
87
+ emit("visible-hook", name, el);
88
+ emit(name, el);
89
+ };
90
+ const onClick = (event) => {
91
+ emit("click", event);
92
+ };
93
+ __expose({
94
+ reHideLater,
95
+ cancelHide: () => {
96
+ hideTimer.clear();
97
+ }
98
+ });
99
+ const notifyClass = computed(() => {
100
+ return [
101
+ bem.b(),
102
+ bem.m(props.type),
103
+ bem.m(props.position)
104
+ ];
105
+ });
106
+ const notifyStyle = computed(() => {
107
+ return {
108
+ backgroundColor: props.background,
109
+ color: props.color
110
+ };
111
+ });
112
+ return (_ctx, _cache) => {
113
+ return openBlock(), createBlock(popup_default, {
114
+ visible: innerVisible.value,
115
+ overlay: false,
116
+ effect: effect.value,
117
+ "lock-scroll": false,
118
+ onVisibleHook
119
+ }, {
120
+ default: withCtx(() => [createElementVNode("div", {
121
+ class: normalizeClass(notifyClass.value),
122
+ style: normalizeStyle(notifyStyle.value),
123
+ onClick
124
+ }, [__props.position === "top" && __props.statusBar ? (openBlock(), createBlock(status_bar_default, { key: 0 })) : createCommentVNode("v-if", true), createElementVNode("div", { class: normalizeClass(unref(bem).e("content")) }, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.message), 1)])], 2)], 6)]),
125
+ _: 3
126
+ }, 8, ["visible", "effect"]);
127
+ };
128
+ }
129
+ });
130
+ //#endregion
131
+ export { notify_default as default };
@@ -0,0 +1,14 @@
1
+ import { type DefaultProps } from '../config';
2
+ export interface OverlayProps {
3
+ visible?: boolean;
4
+ zIndex?: number;
5
+ background?: string;
6
+ transparent?: boolean;
7
+ }
8
+ export declare const defaultOverlayProps: DefaultProps<OverlayProps>;
9
+ export interface OverlaySlots {
10
+ default?(props: Record<string, never>): any;
11
+ }
12
+ export interface OverlayEmits {
13
+ (e: 'click', event: MouseEvent): void;
14
+ }
@@ -0,0 +1,4 @@
1
+ //#region packages/sard/components/overlay/common.ts
2
+ const defaultOverlayProps = {};
3
+ //#endregion
4
+ export { defaultOverlayProps };
@@ -0,0 +1 @@
1
+ .s-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--s-overlay);touch-action:none}.s-overlay--transparent{background-color:rgba(0,0,0,0)}
@@ -0,0 +1,5 @@
1
+ import { type EnhancedComponent } from '../../utils';
2
+ import _Overlay from './overlay.vue';
3
+ export declare const Overlay: EnhancedComponent<typeof _Overlay>;
4
+ export default Overlay;
5
+ export type { OverlayProps, OverlaySlots, OverlayEmits } from './common';
@@ -0,0 +1,6 @@
1
+ import { enhanceComponent } from "../../utils/component.js";
2
+ import overlay_default from "./overlay.js";
3
+ //#region packages/sard/components/overlay/index.ts
4
+ const Overlay = enhanceComponent(overlay_default);
5
+ //#endregion
6
+ export { Overlay, Overlay as default };
@@ -0,0 +1,20 @@
1
+ import { type OverlayProps, type OverlaySlots } from './common';
2
+ type __VLS_Slots = OverlaySlots;
3
+ declare const __VLS_base: import("vue").DefineComponent<OverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: (event: MouseEvent) => any;
5
+ }, string, import("vue").PublicProps, Readonly<OverlayProps> & Readonly<{
6
+ onClick?: ((event: MouseEvent) => any) | undefined;
7
+ }>, {
8
+ background: string;
9
+ visible: boolean;
10
+ transparent: boolean;
11
+ zIndex: number;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };