zartui 3.1.9 → 3.1.11

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 (508) hide show
  1. package/README.md +23 -23
  2. package/es/action-sheet/index.css +1 -1
  3. package/es/action-sheet/index.d.ts +1 -0
  4. package/es/action-sheet/types.d.ts +14 -0
  5. package/es/action-sheet/types.mjs +0 -0
  6. package/es/avatar/index.css +1 -1
  7. package/es/avatar/index.d.ts +1 -1
  8. package/es/avatar/types.d.ts +10 -0
  9. package/es/badge/index.css +1 -1
  10. package/es/badge/index.d.ts +1 -0
  11. package/es/badge/types.d.ts +15 -0
  12. package/es/badge/types.mjs +0 -0
  13. package/es/button/index.css +1 -1
  14. package/es/button/index.d.ts +1 -1
  15. package/es/button/types.d.ts +35 -0
  16. package/es/calendar/CalendarDay.mjs +8 -1
  17. package/es/calendar/CalendarHeader.mjs +2 -2
  18. package/es/calendar/index.css +1 -1
  19. package/es/calendar/index.d.ts +1 -1
  20. package/es/calendar/types.d.ts +25 -0
  21. package/es/cascader/Cascader.d.ts +1 -1
  22. package/es/cascader/index.css +1 -1
  23. package/es/cascader/index.d.ts +2 -2
  24. package/es/cascader/types.d.ts +21 -0
  25. package/es/cell/Cell.d.ts +24 -1
  26. package/es/cell/Cell.mjs +30 -5
  27. package/es/cell/index.css +1 -1
  28. package/es/cell/index.d.ts +15 -2
  29. package/es/cell/types.d.ts +24 -0
  30. package/es/cell-group/index.css +1 -1
  31. package/es/checkbox/Checkbox.d.ts +1 -1
  32. package/es/checkbox/Checker.mjs +6 -0
  33. package/es/checkbox/index.css +1 -1
  34. package/es/checkbox/index.d.ts +2 -2
  35. package/es/checkbox/types.d.ts +19 -0
  36. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  37. package/es/checkbox-group/index.css +1 -1
  38. package/es/checkbox-group/index.d.ts +1 -1
  39. package/es/collapse/Collapse.d.ts +1 -1
  40. package/es/collapse/index.d.ts +1 -1
  41. package/es/collapse-item/index.css +1 -1
  42. package/es/collapse-item/index.d.ts +1 -1
  43. package/es/collapse-item/types.d.ts +8 -0
  44. package/es/config-provider/index.d.ts +2 -1
  45. package/es/config-provider/types.d.ts +138 -0
  46. package/es/config-provider/types.mjs +0 -0
  47. package/es/date-time-picker/DateTimePicker.d.ts +3 -3
  48. package/es/date-time-picker/DateTimePickerWrapper.d.ts +3 -3
  49. package/es/date-time-picker/index.css +1 -1
  50. package/es/date-time-picker/index.d.ts +3 -3
  51. package/es/date-time-picker/utils.d.ts +1 -1
  52. package/es/dialog/Dialog.d.ts +1 -1
  53. package/es/dialog/index.css +1 -1
  54. package/es/dialog/index.d.ts +2 -2
  55. package/es/dialog/types.d.ts +18 -0
  56. package/es/divider/index.css +1 -1
  57. package/es/divider/index.d.ts +1 -0
  58. package/es/divider/types.d.ts +8 -0
  59. package/es/divider/types.mjs +0 -0
  60. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  61. package/es/dropdown-item/DropdownItem.mjs +1 -0
  62. package/es/dropdown-item/index.css +1 -1
  63. package/es/dropdown-item/index.d.ts +2 -2
  64. package/es/dropdown-item/types.d.ts +3 -0
  65. package/es/dropdown-menu/index.css +1 -1
  66. package/es/dropdown-menu/index.d.ts +1 -1
  67. package/es/dropdown-menu/types.d.ts +12 -0
  68. package/es/empty/Empty.mjs +5 -3
  69. package/es/empty/Images.d.ts +20 -9
  70. package/es/empty/Images.mjs +755 -563
  71. package/es/empty/index.css +1 -1
  72. package/es/empty/index.d.ts +1 -0
  73. package/es/empty/types.d.ts +8 -0
  74. package/es/empty/types.mjs +0 -0
  75. package/es/field/Field.d.ts +17 -2
  76. package/es/field/index.css +1 -1
  77. package/es/field/index.d.ts +13 -3
  78. package/es/field/types.d.ts +22 -0
  79. package/es/grid-item/index.css +1 -1
  80. package/es/grid-item/index.d.ts +1 -0
  81. package/es/grid-item/types.d.ts +7 -0
  82. package/es/grid-item/types.mjs +0 -0
  83. package/es/hierarchy-select/Breadcrumb.mjs +1 -1
  84. package/es/hierarchy-select/HierarchySelect.d.ts +13 -0
  85. package/es/hierarchy-select/HierarchySelect.mjs +133 -21
  86. package/es/hierarchy-select/index.css +1 -1
  87. package/es/hierarchy-select/index.d.ts +10 -1
  88. package/es/hierarchy-select/svg/SubIcon.d.ts +2 -1
  89. package/es/hierarchy-select/svg/SubIcon.mjs +10 -29
  90. package/es/hierarchy-select/types.d.ts +21 -0
  91. package/es/image/index.css +1 -1
  92. package/es/image/index.d.ts +1 -0
  93. package/es/image/types.d.ts +5 -0
  94. package/es/image/types.mjs +0 -0
  95. package/es/image-preview/ImagePreview.d.ts +1 -1
  96. package/es/image-preview/index.css +1 -1
  97. package/es/image-preview/index.d.ts +2 -2
  98. package/es/image-preview/types.d.ts +10 -0
  99. package/es/index-anchor/index.css +1 -1
  100. package/es/index-anchor/types.d.ts +1 -3
  101. package/es/index-bar/IndexBar.d.ts +26 -0
  102. package/es/index-bar/IndexBar.mjs +192 -50
  103. package/es/index-bar/index.css +1 -1
  104. package/es/index-bar/index.d.ts +18 -0
  105. package/es/index-bar/types.d.ts +5 -3
  106. package/es/index.d.ts +1 -1
  107. package/es/index.mjs +1 -1
  108. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  109. package/es/list/index.css +1 -1
  110. package/es/list/index.d.ts +1 -1
  111. package/es/list/types.d.ts +5 -0
  112. package/es/loading/index.css +1 -1
  113. package/es/loading/index.d.ts +1 -0
  114. package/es/loading/types.d.ts +6 -0
  115. package/es/loading/types.mjs +0 -0
  116. package/es/media-picker/index.css +1 -1
  117. package/es/media-picker/index.d.ts +1 -1
  118. package/es/media-picker/type.d.ts +12 -0
  119. package/es/media-player/index.css +1 -1
  120. package/es/multiple-picker/MultiplePicker.d.ts +3 -3
  121. package/es/multiple-picker/index.css +1 -1
  122. package/es/multiple-picker/index.d.ts +4 -3
  123. package/es/multiple-picker/types.d.ts +17 -0
  124. package/es/nav-bar/index.css +1 -1
  125. package/es/nav-bar/index.d.ts +1 -0
  126. package/es/nav-bar/types.d.ts +16 -0
  127. package/es/nav-bar/types.mjs +0 -0
  128. package/es/notice-bar/index.css +1 -1
  129. package/es/notice-bar/index.d.ts +1 -1
  130. package/es/notice-bar/types.d.ts +10 -0
  131. package/es/notify/index.css +1 -1
  132. package/es/notify/index.d.ts +1 -1
  133. package/es/notify/types.d.ts +8 -0
  134. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  135. package/es/number-keyboard/index.css +1 -1
  136. package/es/number-keyboard/index.d.ts +2 -1
  137. package/es/number-keyboard/types.d.ts +14 -0
  138. package/es/number-keyboard/types.mjs +0 -0
  139. package/es/overlay/index.d.ts +1 -0
  140. package/es/overlay/types.d.ts +4 -0
  141. package/es/overlay/types.mjs +0 -0
  142. package/es/password-input/index.css +1 -1
  143. package/es/password-input/index.d.ts +1 -0
  144. package/es/password-input/types.d.ts +15 -0
  145. package/es/password-input/types.mjs +0 -0
  146. package/es/picker/Picker.d.ts +6 -6
  147. package/es/picker/index.css +1 -1
  148. package/es/picker/index.d.ts +7 -7
  149. package/es/picker/types.d.ts +17 -0
  150. package/es/popover/Popover.mjs +1 -1
  151. package/es/popover/index.css +1 -1
  152. package/es/popover/index.d.ts +1 -1
  153. package/es/popover/types.d.ts +12 -0
  154. package/es/popup/index.css +1 -1
  155. package/es/popup/index.d.ts +1 -1
  156. package/es/popup/types.d.ts +8 -0
  157. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  158. package/es/pull-refresh/index.css +1 -1
  159. package/es/pull-refresh/index.d.ts +2 -1
  160. package/es/pull-refresh/types.d.ts +6 -0
  161. package/es/pull-refresh/types.mjs +0 -0
  162. package/es/radio/index.css +1 -1
  163. package/es/radio/index.d.ts +1 -0
  164. package/es/radio/types.d.ts +18 -0
  165. package/es/radio/types.mjs +0 -0
  166. package/es/radio-group/RadioGroup.d.ts +1 -1
  167. package/es/radio-group/index.css +1 -1
  168. package/es/radio-group/index.d.ts +1 -1
  169. package/es/radio-picker/RadioPicker.d.ts +3 -3
  170. package/es/radio-picker/index.css +1 -1
  171. package/es/radio-picker/index.d.ts +4 -4
  172. package/es/radio-picker/types.d.ts +24 -0
  173. package/es/rate/Rate.d.ts +1 -1
  174. package/es/rate/index.css +1 -1
  175. package/es/rate/index.d.ts +2 -1
  176. package/es/rate/types.d.ts +6 -0
  177. package/es/rate/types.mjs +0 -0
  178. package/es/search/Search.d.ts +2 -2
  179. package/es/search/index.css +1 -1
  180. package/es/search/index.d.ts +3 -3
  181. package/es/search/types.d.ts +12 -0
  182. package/es/signature/index.css +1 -1
  183. package/es/signature/index.d.ts +1 -1
  184. package/es/signature/types.d.ts +9 -0
  185. package/es/skeleton/index.d.ts +1 -0
  186. package/es/skeleton/types.d.ts +9 -0
  187. package/es/skeleton/types.mjs +0 -0
  188. package/es/step/Step.mjs +2 -2
  189. package/es/step/index.css +1 -1
  190. package/es/step/index.d.ts +1 -0
  191. package/es/step/types.d.ts +6 -0
  192. package/es/step/types.mjs +0 -0
  193. package/es/stepper/Stepper.d.ts +1 -1
  194. package/es/stepper/index.css +1 -1
  195. package/es/stepper/index.d.ts +2 -1
  196. package/es/stepper/types.d.ts +17 -0
  197. package/es/stepper/types.mjs +0 -0
  198. package/es/steps/index.css +1 -1
  199. package/es/steps/index.d.ts +1 -0
  200. package/es/steps/types.d.ts +5 -0
  201. package/es/steps/types.mjs +0 -0
  202. package/es/sticky/index.d.ts +1 -0
  203. package/es/sticky/types.d.ts +3 -0
  204. package/es/sticky/types.mjs +0 -0
  205. package/es/style/base.css +1 -1
  206. package/es/style/css-variables.css +1 -1
  207. package/es/swipe/index.css +1 -1
  208. package/es/swipe/index.d.ts +1 -1
  209. package/es/swipe/types.d.ts +10 -0
  210. package/es/switch/Switch.d.ts +1 -1
  211. package/es/switch/index.css +1 -1
  212. package/es/switch/index.d.ts +2 -1
  213. package/es/switch/types.d.ts +18 -0
  214. package/es/switch/types.mjs +0 -0
  215. package/es/tabbar/Tabbar.d.ts +1 -1
  216. package/es/tabbar/index.d.ts +2 -1
  217. package/es/tabbar/types.d.ts +5 -0
  218. package/es/tabbar/types.mjs +0 -0
  219. package/es/tabbar-item/index.css +1 -1
  220. package/es/tabbar-item/index.d.ts +1 -0
  221. package/es/tabbar-item/types.d.ts +14 -0
  222. package/es/tabbar-item/types.mjs +0 -0
  223. package/es/table/index.css +1 -1
  224. package/es/table/index.d.ts +1 -0
  225. package/es/table/types.d.ts +10 -0
  226. package/es/tabs/index.css +1 -1
  227. package/es/tabs/index.d.ts +1 -1
  228. package/es/tabs/types.d.ts +17 -0
  229. package/es/tag/Tag.mjs +5 -4
  230. package/es/tag/index.css +1 -1
  231. package/es/tag/index.d.ts +1 -0
  232. package/es/tag/types.d.ts +17 -0
  233. package/es/tag/types.mjs +0 -0
  234. package/es/text-ellipsis/types.d.ts +1 -0
  235. package/es/time-picker/TimePicker.d.ts +3 -3
  236. package/es/time-picker/index.css +1 -1
  237. package/es/time-picker/index.d.ts +4 -3
  238. package/es/time-picker/types.d.ts +23 -0
  239. package/es/time-picker/types.mjs +0 -0
  240. package/es/timeline/index.css +1 -1
  241. package/es/timeline/index.d.ts +1 -0
  242. package/es/timeline/types.d.ts +9 -0
  243. package/es/timeline/types.mjs +0 -0
  244. package/es/toast/index.css +1 -1
  245. package/es/toast/index.d.ts +1 -1
  246. package/es/toast/types.d.ts +15 -0
  247. package/es/uploader/index.css +1 -1
  248. package/es/uploader/index.d.ts +1 -1
  249. package/es/uploader/types.d.ts +21 -0
  250. package/es/vue-sfc-shim.d.ts +6 -6
  251. package/es/vue-tsx-shim.d.ts +23 -23
  252. package/lib/action-sheet/index.css +1 -1
  253. package/lib/action-sheet/index.d.ts +1 -0
  254. package/lib/action-sheet/types.d.ts +14 -0
  255. package/lib/action-sheet/types.js +15 -0
  256. package/lib/avatar/index.css +1 -1
  257. package/lib/avatar/index.d.ts +1 -1
  258. package/lib/avatar/types.d.ts +10 -0
  259. package/lib/badge/index.css +1 -1
  260. package/lib/badge/index.d.ts +1 -0
  261. package/lib/badge/types.d.ts +15 -0
  262. package/lib/badge/types.js +15 -0
  263. package/lib/button/index.css +1 -1
  264. package/lib/button/index.d.ts +1 -1
  265. package/lib/button/types.d.ts +35 -0
  266. package/lib/calendar/CalendarDay.js +8 -1
  267. package/lib/calendar/CalendarHeader.js +2 -2
  268. package/lib/calendar/index.css +1 -1
  269. package/lib/calendar/index.d.ts +1 -1
  270. package/lib/calendar/types.d.ts +25 -0
  271. package/lib/cascader/Cascader.d.ts +1 -1
  272. package/lib/cascader/index.css +1 -1
  273. package/lib/cascader/index.d.ts +2 -2
  274. package/lib/cascader/types.d.ts +21 -0
  275. package/lib/cell/Cell.d.ts +24 -1
  276. package/lib/cell/Cell.js +28 -3
  277. package/lib/cell/index.css +1 -1
  278. package/lib/cell/index.d.ts +15 -2
  279. package/lib/cell/types.d.ts +24 -0
  280. package/lib/cell-group/index.css +1 -1
  281. package/lib/checkbox/Checkbox.d.ts +1 -1
  282. package/lib/checkbox/Checker.js +6 -0
  283. package/lib/checkbox/index.css +1 -1
  284. package/lib/checkbox/index.d.ts +2 -2
  285. package/lib/checkbox/types.d.ts +19 -0
  286. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  287. package/lib/checkbox-group/index.css +1 -1
  288. package/lib/checkbox-group/index.d.ts +1 -1
  289. package/lib/collapse/Collapse.d.ts +1 -1
  290. package/lib/collapse/index.d.ts +1 -1
  291. package/lib/collapse-item/index.css +1 -1
  292. package/lib/collapse-item/index.d.ts +1 -1
  293. package/lib/collapse-item/types.d.ts +8 -0
  294. package/lib/config-provider/index.d.ts +2 -1
  295. package/lib/config-provider/types.d.ts +138 -0
  296. package/lib/config-provider/types.js +15 -0
  297. package/lib/date-time-picker/DateTimePicker.d.ts +3 -3
  298. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +3 -3
  299. package/lib/date-time-picker/index.css +1 -1
  300. package/lib/date-time-picker/index.d.ts +3 -3
  301. package/lib/date-time-picker/utils.d.ts +1 -1
  302. package/lib/dialog/Dialog.d.ts +1 -1
  303. package/lib/dialog/index.css +1 -1
  304. package/lib/dialog/index.d.ts +2 -2
  305. package/lib/dialog/types.d.ts +18 -0
  306. package/lib/divider/index.css +1 -1
  307. package/lib/divider/index.d.ts +1 -0
  308. package/lib/divider/types.d.ts +8 -0
  309. package/lib/divider/types.js +15 -0
  310. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  311. package/lib/dropdown-item/DropdownItem.js +1 -0
  312. package/lib/dropdown-item/index.css +1 -1
  313. package/lib/dropdown-item/index.d.ts +2 -2
  314. package/lib/dropdown-item/types.d.ts +3 -0
  315. package/lib/dropdown-menu/index.css +1 -1
  316. package/lib/dropdown-menu/index.d.ts +1 -1
  317. package/lib/dropdown-menu/types.d.ts +12 -0
  318. package/lib/empty/Empty.js +4 -2
  319. package/lib/empty/Images.d.ts +20 -9
  320. package/lib/empty/Images.js +755 -563
  321. package/lib/empty/index.css +1 -1
  322. package/lib/empty/index.d.ts +1 -0
  323. package/lib/empty/types.d.ts +8 -0
  324. package/lib/empty/types.js +15 -0
  325. package/lib/field/Field.d.ts +17 -2
  326. package/lib/field/index.css +1 -1
  327. package/lib/field/index.d.ts +13 -3
  328. package/lib/field/types.d.ts +22 -0
  329. package/lib/grid-item/index.css +1 -1
  330. package/lib/grid-item/index.d.ts +1 -0
  331. package/lib/grid-item/types.d.ts +7 -0
  332. package/lib/grid-item/types.js +15 -0
  333. package/lib/hierarchy-select/Breadcrumb.js +1 -1
  334. package/lib/hierarchy-select/HierarchySelect.d.ts +13 -0
  335. package/lib/hierarchy-select/HierarchySelect.js +132 -20
  336. package/lib/hierarchy-select/index.css +1 -1
  337. package/lib/hierarchy-select/index.d.ts +10 -1
  338. package/lib/hierarchy-select/svg/SubIcon.d.ts +2 -1
  339. package/lib/hierarchy-select/svg/SubIcon.js +9 -28
  340. package/lib/hierarchy-select/types.d.ts +21 -0
  341. package/lib/image/index.css +1 -1
  342. package/lib/image/index.d.ts +1 -0
  343. package/lib/image/types.d.ts +5 -0
  344. package/lib/image/types.js +15 -0
  345. package/lib/image-preview/ImagePreview.d.ts +1 -1
  346. package/lib/image-preview/index.css +1 -1
  347. package/lib/image-preview/index.d.ts +2 -2
  348. package/lib/image-preview/types.d.ts +10 -0
  349. package/lib/index-anchor/index.css +1 -1
  350. package/lib/index-anchor/types.d.ts +1 -3
  351. package/lib/index-bar/IndexBar.d.ts +26 -0
  352. package/lib/index-bar/IndexBar.js +191 -49
  353. package/lib/index-bar/index.css +1 -1
  354. package/lib/index-bar/index.d.ts +18 -0
  355. package/lib/index-bar/types.d.ts +5 -3
  356. package/lib/index.css +1 -1
  357. package/lib/index.d.ts +1 -1
  358. package/lib/index.js +1 -1
  359. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  360. package/lib/list/index.css +1 -1
  361. package/lib/list/index.d.ts +1 -1
  362. package/lib/list/types.d.ts +5 -0
  363. package/lib/loading/index.css +1 -1
  364. package/lib/loading/index.d.ts +1 -0
  365. package/lib/loading/types.d.ts +6 -0
  366. package/lib/loading/types.js +15 -0
  367. package/lib/media-picker/index.css +1 -1
  368. package/lib/media-picker/index.d.ts +1 -1
  369. package/lib/media-picker/type.d.ts +12 -0
  370. package/lib/media-player/index.css +1 -1
  371. package/lib/multiple-picker/MultiplePicker.d.ts +3 -3
  372. package/lib/multiple-picker/index.css +1 -1
  373. package/lib/multiple-picker/index.d.ts +4 -3
  374. package/lib/multiple-picker/types.d.ts +17 -0
  375. package/lib/nav-bar/index.css +1 -1
  376. package/lib/nav-bar/index.d.ts +1 -0
  377. package/lib/nav-bar/types.d.ts +16 -0
  378. package/lib/nav-bar/types.js +15 -0
  379. package/lib/notice-bar/index.css +1 -1
  380. package/lib/notice-bar/index.d.ts +1 -1
  381. package/lib/notice-bar/types.d.ts +10 -0
  382. package/lib/notify/index.css +1 -1
  383. package/lib/notify/index.d.ts +1 -1
  384. package/lib/notify/types.d.ts +8 -0
  385. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  386. package/lib/number-keyboard/index.css +1 -1
  387. package/lib/number-keyboard/index.d.ts +2 -1
  388. package/lib/number-keyboard/types.d.ts +14 -0
  389. package/lib/number-keyboard/types.js +15 -0
  390. package/lib/overlay/index.d.ts +1 -0
  391. package/lib/overlay/types.d.ts +4 -0
  392. package/lib/overlay/types.js +15 -0
  393. package/lib/password-input/index.css +1 -1
  394. package/lib/password-input/index.d.ts +1 -0
  395. package/lib/password-input/types.d.ts +15 -0
  396. package/lib/password-input/types.js +15 -0
  397. package/lib/picker/Picker.d.ts +6 -6
  398. package/lib/picker/index.css +1 -1
  399. package/lib/picker/index.d.ts +7 -7
  400. package/lib/picker/types.d.ts +17 -0
  401. package/lib/popover/Popover.js +1 -1
  402. package/lib/popover/index.css +1 -1
  403. package/lib/popover/index.d.ts +1 -1
  404. package/lib/popover/types.d.ts +12 -0
  405. package/lib/popup/index.css +1 -1
  406. package/lib/popup/index.d.ts +1 -1
  407. package/lib/popup/types.d.ts +8 -0
  408. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  409. package/lib/pull-refresh/index.css +1 -1
  410. package/lib/pull-refresh/index.d.ts +2 -1
  411. package/lib/pull-refresh/types.d.ts +6 -0
  412. package/lib/pull-refresh/types.js +15 -0
  413. package/lib/radio/index.css +1 -1
  414. package/lib/radio/index.d.ts +1 -0
  415. package/lib/radio/types.d.ts +18 -0
  416. package/lib/radio/types.js +15 -0
  417. package/lib/radio-group/RadioGroup.d.ts +1 -1
  418. package/lib/radio-group/index.css +1 -1
  419. package/lib/radio-group/index.d.ts +1 -1
  420. package/lib/radio-picker/RadioPicker.d.ts +3 -3
  421. package/lib/radio-picker/index.css +1 -1
  422. package/lib/radio-picker/index.d.ts +4 -4
  423. package/lib/radio-picker/types.d.ts +24 -0
  424. package/lib/rate/Rate.d.ts +1 -1
  425. package/lib/rate/index.css +1 -1
  426. package/lib/rate/index.d.ts +2 -1
  427. package/lib/rate/types.d.ts +6 -0
  428. package/lib/rate/types.js +15 -0
  429. package/lib/search/Search.d.ts +2 -2
  430. package/lib/search/index.css +1 -1
  431. package/lib/search/index.d.ts +3 -3
  432. package/lib/search/types.d.ts +12 -0
  433. package/lib/signature/index.css +1 -1
  434. package/lib/signature/index.d.ts +1 -1
  435. package/lib/signature/types.d.ts +9 -0
  436. package/lib/skeleton/index.d.ts +1 -0
  437. package/lib/skeleton/types.d.ts +9 -0
  438. package/lib/skeleton/types.js +15 -0
  439. package/lib/step/Step.js +2 -2
  440. package/lib/step/index.css +1 -1
  441. package/lib/step/index.d.ts +1 -0
  442. package/lib/step/types.d.ts +6 -0
  443. package/lib/step/types.js +15 -0
  444. package/lib/stepper/Stepper.d.ts +1 -1
  445. package/lib/stepper/index.css +1 -1
  446. package/lib/stepper/index.d.ts +2 -1
  447. package/lib/stepper/types.d.ts +17 -0
  448. package/lib/stepper/types.js +15 -0
  449. package/lib/steps/index.css +1 -1
  450. package/lib/steps/index.d.ts +1 -0
  451. package/lib/steps/types.d.ts +5 -0
  452. package/lib/steps/types.js +15 -0
  453. package/lib/sticky/index.d.ts +1 -0
  454. package/lib/sticky/types.d.ts +3 -0
  455. package/lib/sticky/types.js +15 -0
  456. package/lib/style/base.css +1 -1
  457. package/lib/style/css-variables.css +1 -1
  458. package/lib/swipe/index.css +1 -1
  459. package/lib/swipe/index.d.ts +1 -1
  460. package/lib/swipe/types.d.ts +10 -0
  461. package/lib/switch/Switch.d.ts +1 -1
  462. package/lib/switch/index.css +1 -1
  463. package/lib/switch/index.d.ts +2 -1
  464. package/lib/switch/types.d.ts +18 -0
  465. package/lib/switch/types.js +15 -0
  466. package/lib/tabbar/Tabbar.d.ts +1 -1
  467. package/lib/tabbar/index.d.ts +2 -1
  468. package/lib/tabbar/types.d.ts +5 -0
  469. package/lib/tabbar/types.js +15 -0
  470. package/lib/tabbar-item/index.css +1 -1
  471. package/lib/tabbar-item/index.d.ts +1 -0
  472. package/lib/tabbar-item/types.d.ts +14 -0
  473. package/lib/tabbar-item/types.js +15 -0
  474. package/lib/table/index.css +1 -1
  475. package/lib/table/index.d.ts +1 -0
  476. package/lib/table/types.d.ts +10 -0
  477. package/lib/tabs/index.css +1 -1
  478. package/lib/tabs/index.d.ts +1 -1
  479. package/lib/tabs/types.d.ts +17 -0
  480. package/lib/tag/Tag.js +5 -4
  481. package/lib/tag/index.css +1 -1
  482. package/lib/tag/index.d.ts +1 -0
  483. package/lib/tag/types.d.ts +17 -0
  484. package/lib/tag/types.js +15 -0
  485. package/lib/text-ellipsis/types.d.ts +1 -0
  486. package/lib/time-picker/TimePicker.d.ts +3 -3
  487. package/lib/time-picker/index.css +1 -1
  488. package/lib/time-picker/index.d.ts +4 -3
  489. package/lib/time-picker/types.d.ts +23 -0
  490. package/lib/time-picker/types.js +15 -0
  491. package/lib/timeline/index.css +1 -1
  492. package/lib/timeline/index.d.ts +1 -0
  493. package/lib/timeline/types.d.ts +9 -0
  494. package/lib/timeline/types.js +15 -0
  495. package/lib/toast/index.css +1 -1
  496. package/lib/toast/index.d.ts +1 -1
  497. package/lib/toast/types.d.ts +15 -0
  498. package/lib/uploader/index.css +1 -1
  499. package/lib/uploader/index.d.ts +1 -1
  500. package/lib/uploader/types.d.ts +21 -0
  501. package/lib/vue-sfc-shim.d.ts +6 -6
  502. package/lib/vue-tsx-shim.d.ts +23 -23
  503. package/lib/web-types.json +1 -1
  504. package/lib/zartui.cjs.js +1156 -693
  505. package/lib/zartui.es.js +1156 -693
  506. package/lib/zartui.js +1156 -693
  507. package/lib/zartui.min.js +1 -1
  508. package/package.json +5 -4
package/lib/index.d.ts CHANGED
@@ -78,4 +78,4 @@ declare namespace _default {
78
78
  }
79
79
  export default _default;
80
80
  export function install(app: any): void;
81
- export const version: "3.1.9";
81
+ export const version: "3.1.11";
package/lib/index.js CHANGED
@@ -170,7 +170,7 @@ __reExport(stdin_exports, require("./time-picker"), module.exports);
170
170
  __reExport(stdin_exports, require("./timeline"), module.exports);
171
171
  __reExport(stdin_exports, require("./toast"), module.exports);
172
172
  __reExport(stdin_exports, require("./uploader"), module.exports);
173
- const version = "3.1.9";
173
+ const version = "3.1.11";
174
174
  function install(app) {
175
175
  const components = [
176
176
  import_action_sheet.ActionSheet,
@@ -1,55 +1,55 @@
1
- import type { App } from 'vue';
2
-
3
- declare type ListenEvent =
4
- | 'scroll'
5
- | 'wheel'
6
- | 'mousewheel'
7
- | 'resize'
8
- | 'animationend'
9
- | 'transitionend'
10
- | 'touchmove';
11
-
12
- // eslint-disable-next-line
13
- declare type Callback = (listener: any, options: LazyloadOptions) => void;
14
-
15
- declare type Filter = {
16
- webp?: Callback;
17
- progressive?: Callback;
18
- };
19
-
20
- declare type Adapter = {
21
- error?: Callback;
22
- loaded?: Callback;
23
- loading?: Callback;
24
- };
25
-
26
- export declare type LazyloadOptions = {
27
- error?: string;
28
- filter?: Filter;
29
- silent?: boolean;
30
- adapter?: Adapter;
31
- loading?: string;
32
- attempt?: number;
33
- preLoad?: number;
34
- observer?: boolean;
35
- lazyImage?: boolean;
36
- throttleWait?: number;
37
- listenEvents?: ListenEvent[];
38
- dispatchEvent?: boolean;
39
- lazyComponent?: boolean;
40
- observerOptions?: IntersectionObserverInit;
41
- };
42
-
43
- export declare const Lazyload: {
44
- install(app: App, options?: LazyloadOptions): void;
45
- };
46
-
47
- declare module '@vue/runtime-core' {
48
- interface ComponentCustomProperties {
49
- $Lazyload: {
50
- $on: (event: string, handler: Callback) => void;
51
- $off: (event: string, handler?: Callback) => void;
52
- $once: (event: string, handler: Callback) => void;
53
- };
54
- }
55
- }
1
+ import type { App } from 'vue';
2
+
3
+ declare type ListenEvent =
4
+ | 'scroll'
5
+ | 'wheel'
6
+ | 'mousewheel'
7
+ | 'resize'
8
+ | 'animationend'
9
+ | 'transitionend'
10
+ | 'touchmove';
11
+
12
+ // eslint-disable-next-line
13
+ declare type Callback = (listener: any, options: LazyloadOptions) => void;
14
+
15
+ declare type Filter = {
16
+ webp?: Callback;
17
+ progressive?: Callback;
18
+ };
19
+
20
+ declare type Adapter = {
21
+ error?: Callback;
22
+ loaded?: Callback;
23
+ loading?: Callback;
24
+ };
25
+
26
+ export declare type LazyloadOptions = {
27
+ error?: string;
28
+ filter?: Filter;
29
+ silent?: boolean;
30
+ adapter?: Adapter;
31
+ loading?: string;
32
+ attempt?: number;
33
+ preLoad?: number;
34
+ observer?: boolean;
35
+ lazyImage?: boolean;
36
+ throttleWait?: number;
37
+ listenEvents?: ListenEvent[];
38
+ dispatchEvent?: boolean;
39
+ lazyComponent?: boolean;
40
+ observerOptions?: IntersectionObserverInit;
41
+ };
42
+
43
+ export declare const Lazyload: {
44
+ install(app: App, options?: LazyloadOptions): void;
45
+ };
46
+
47
+ declare module '@vue/runtime-core' {
48
+ interface ComponentCustomProperties {
49
+ $Lazyload: {
50
+ $on: (event: string, handler: Callback) => void;
51
+ $off: (event: string, handler?: Callback) => void;
52
+ $once: (event: string, handler: Callback) => void;
53
+ };
54
+ }
55
+ }
@@ -1 +1 @@
1
- :root{--zt-list-text-color: var(--zt-gray-a6);--zt-list-text-font-size: var(--zt-font-size-md);--zt-list-text-line-height: 44px;--zt-list-loading-icon-size: 16px}.zt-list__loading,.zt-list__finished-text,.zt-list__error-text{color:var(--zt-list-text-color);font-size:var(--zt-list-text-font-size);line-height:var(--zt-list-text-line-height);text-align:center}.zt-list__placeholder{height:0;pointer-events:none}.zt-list__loading-icon .zt-loading__spinner{width:var(--zt-list-loading-icon-size);height:var(--zt-list-loading-icon-size)}
1
+ :root{--zt-list-text-color: var(--zt-gray-a6);--zt-list-loading-icon-size: 16px;--zt-list-line-height: 44px}:root[zt-theme-size=large]{--zt-list-line-height: 56px}.zt-list__loading,.zt-list__finished-text,.zt-list__error-text{color:var(--zt-list-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-list-line-height);text-align:center}.zt-list__placeholder{height:0;pointer-events:none}.zt-list__loading-icon .zt-loading__spinner{width:var(--zt-list-loading-icon-size);height:var(--zt-list-loading-icon-size)}
@@ -53,7 +53,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
53
53
  }, {}>>;
54
54
  export default List;
55
55
  export type { ListProps };
56
- export type { ListInstance, ListDirection } from './types';
56
+ export type { ListInstance, ListDirection, ListThemeVars } from './types';
57
57
  declare module 'vue' {
58
58
  interface GlobalComponents {
59
59
  ZtList: typeof List;
@@ -5,3 +5,8 @@ export type ListExpose = {
5
5
  check: () => void;
6
6
  };
7
7
  export type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
8
+ export type ListThemeVars = {
9
+ listTextColor?: string;
10
+ listLoadingIconSize?: string;
11
+ listLineHeight?: string;
12
+ };
@@ -1 +1 @@
1
- :root{--zt-loading-text-color: var(--zt-gray-a6);--zt-loading-text-font-size: var(--zt-font-size-md);--zt-loading-spinner-color: var(--zt-gray-a4);--zt-loading-spinner-size: 36px;--zt-loading-spinner-duration: .8s;--zt-loading-text-line-height: 20px}.zt-loading{position:relative;color:var(--zt-loading-spinner-color);font-size:0;vertical-align:middle}.zt-loading__spinner{position:relative;display:inline-block;width:var(--zt-loading-spinner-size);max-width:100%;height:var(--zt-loading-spinner-size);max-height:100%;vertical-align:middle;animation:zt-rotate var(--zt-loading-spinner-duration) linear infinite}.zt-loading__spinner--spinner{animation-timing-function:steps(12)}.zt-loading__spinner--circular{animation-duration:2s}.zt-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.zt-loading__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.zt-loading__circular{display:block;width:100%;height:100%}.zt-loading__circular circle{animation:zt-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.zt-loading__snake{display:block;width:100%;height:100%}.zt-loading__text{display:inline-block;margin-left:var(--zt-padding-base);color:var(--zt-loading-text-color);font-size:var(--zt-loading-text-font-size);line-height:var(--zt-loading-text-line-height);vertical-align:middle}.zt-loading--vertical{display:flex;flex-direction:column;align-items:center}.zt-loading--vertical .zt-loading__text{margin:var(--zt-padding-base) 0 0}.zt-loading--horizontal-with-text .zt-loading__spinner--snake{width:20px;height:20px}@keyframes zt-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.zt-loading__spinner--spinner i:nth-of-type(1){transform:rotate(30deg);opacity:1}.zt-loading__spinner--spinner i:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.zt-loading__spinner--spinner i:nth-of-type(3){transform:rotate(90deg);opacity:.875}.zt-loading__spinner--spinner i:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.zt-loading__spinner--spinner i:nth-of-type(5){transform:rotate(150deg);opacity:.75}.zt-loading__spinner--spinner i:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.zt-loading__spinner--spinner i:nth-of-type(7){transform:rotate(210deg);opacity:.625}.zt-loading__spinner--spinner i:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.zt-loading__spinner--spinner i:nth-of-type(9){transform:rotate(270deg);opacity:.5}.zt-loading__spinner--spinner i:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.zt-loading__spinner--spinner i:nth-of-type(11){transform:rotate(330deg);opacity:.375}.zt-loading__spinner--spinner i:nth-of-type(12){transform:rotate(360deg);opacity:.3125}
1
+ :root{--zt-loading-text-color: var(--zt-gray-a6);--zt-loading-spinner-color: var(--zt-gray-a4);--zt-loading-spinner-size: 36px;--zt-loading-spinner-duration: .8s}.zt-loading{position:relative;color:var(--zt-loading-spinner-color);font-size:0;vertical-align:middle}.zt-loading__spinner{position:relative;display:inline-block;width:var(--zt-loading-spinner-size);max-width:100%;height:var(--zt-loading-spinner-size);max-height:100%;vertical-align:middle;animation:zt-rotate var(--zt-loading-spinner-duration) linear infinite}.zt-loading__spinner--spinner{animation-timing-function:steps(12)}.zt-loading__spinner--circular{animation-duration:2s}.zt-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.zt-loading__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.zt-loading__circular{display:block;width:100%;height:100%}.zt-loading__circular circle{animation:zt-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.zt-loading__snake{display:block;width:100%;height:100%}.zt-loading__text{display:inline-block;margin-left:var(--zt-padding-base);color:var(--zt-loading-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);vertical-align:middle}.zt-loading--vertical{display:flex;flex-direction:column;align-items:center}.zt-loading--vertical .zt-loading__text{margin:var(--zt-padding-base) 0 0}.zt-loading--horizontal-with-text .zt-loading__spinner--snake{width:20px;height:20px}@keyframes zt-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.zt-loading__spinner--spinner i:nth-of-type(1){transform:rotate(30deg);opacity:1}.zt-loading__spinner--spinner i:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.zt-loading__spinner--spinner i:nth-of-type(3){transform:rotate(90deg);opacity:.875}.zt-loading__spinner--spinner i:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.zt-loading__spinner--spinner i:nth-of-type(5){transform:rotate(150deg);opacity:.75}.zt-loading__spinner--spinner i:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.zt-loading__spinner--spinner i:nth-of-type(7){transform:rotate(210deg);opacity:.625}.zt-loading__spinner--spinner i:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.zt-loading__spinner--spinner i:nth-of-type(9){transform:rotate(270deg);opacity:.5}.zt-loading__spinner--spinner i:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.zt-loading__spinner--spinner i:nth-of-type(11){transform:rotate(330deg);opacity:.375}.zt-loading__spinner--spinner i:nth-of-type(12){transform:rotate(360deg);opacity:.3125}
@@ -24,6 +24,7 @@ export declare const Loading: import("../utils").WithInstall<import("vue").Defin
24
24
  }, {}>>;
25
25
  export default Loading;
26
26
  export type { LoadingType, LoadingProps } from './Loading';
27
+ export type { LoadingThemeVars } from './types';
27
28
  declare module 'vue' {
28
29
  interface GlobalComponents {
29
30
  ZtLoading: typeof Loading;
@@ -0,0 +1,6 @@
1
+ export type LoadingThemeVars = {
2
+ loadingTextColor?: string;
3
+ loadingSpinnerColor?: string;
4
+ loadingSpinnerSize?: string;
5
+ loadingSpinnerDuration?: string;
6
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--zt-media-picker-image-color: var(--zt-text-color);--zt-media-picker-button-background: linear-gradient(135deg, #e6ebf0 0%, #fff 100%, #fff 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 var(--zt-white), 4px 4px 8px 0 var(--zt-gray-a1);--zt-media-picker-button-border: 0;--zt-media-picker-button-active-border: 1px solid rgba(255, 255, 255, .75);--zt-media-picker-button-active-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a2)}.zt-media-picker__hidden{display:none}.zt-media-picker__title{position:relative;height:44px;line-height:44px;font-weight:700;font-size:16px;color:var(--zt-text-color);padding:0 16px}.zt-media-picker__title:before{position:absolute;width:4px;height:16px;background:var(--zt-blue);left:0;top:14px;content:" "}.zt-media-picker__title:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-media-picker__line{width:100%;height:92px;display:flex;align-items:center;overflow-x:auto}.zt-media-picker__line::-webkit-scrollbar{width:0;height:0}.zt-media-picker__line:after{content:" ";min-width:16px;height:10px}.zt-media-picker__box{width:48px;display:flex;flex-direction:column;align-items:center}.zt-media-picker__box:first-child{margin-left:16px}.zt-media-picker__box:not(:last-child){margin-right:24px}.zt-media-picker__button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--zt-media-picker-button-background);box-shadow:var(--zt-media-picker-button-box-shadow);border:var(--zt-media-picker-button-border);border-radius:8px;box-sizing:border-box}.zt-media-picker__button:active{background:rgba(45,75,115,.04);border:var(--zt-media-picker-button-active-border);box-shadow:var(--zt-media-picker-button-active-box-shadow)}.zt-media-picker__icon{width:32px;height:32px;color:var(--zt-media-picker-image-color)}.zt-media-picker__label{margin-top:8px;font-size:12px;color:var(--zt-gray-a8);letter-spacing:0;text-align:center;line-height:16px;-webkit-user-select:none;user-select:none}.zt-media-picker__grid{padding:0 16px 8px!important}.zt-media-picker__delete{box-sizing:content-box;width:20px;height:20px;position:absolute;padding:4px;top:0;right:0}.zt-media-picker .zt-image{width:100%;height:100%}.zt-media-picker .zt-grid-item__content{padding:0}.zt-media-picker__thumbnail{width:100%;height:100%}.zt-media-picker__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--zt-white);background-color:var(--zt-uploader-mask-background);border-radius:4px}.zt-media-picker__mask-icon{font-size:var(--zt-uploader-mask-icon-size)}.zt-media-picker__mask-message{margin-top:6px;padding:0 var(--zt-padding-base);font-size:var(--zt-uploader-mask-message-font-size);line-height:var(--zt-uploader-mask-message-line-height)}.zt-media-picker__loading{width:var(--zt-uploader-loading-icon-size);height:var(--zt-uploader-loading-icon-size);color:var(--zt-uploader-icon-color)}.zt-theme-dark{--zt-media-picker-button-background: linear-gradient(135deg, #111c29 0%, #1d2c3e 100%, #1c2a3c 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .08), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-media-picker-button-border: 1px solid var(--zt-gray-a1);--zt-media-picker-button-active-border: 1px solid var(--zt-gray-a1);--zt-media-picker-button-active-box-shadow: inset 6px 6px 6px 0 #000d1b}
1
+ :root{--zt-media-picker-image-color: var(--zt-text-color);--zt-media-picker-button-background: linear-gradient(135deg, #e6ebf0 0%, #fff 100%, #fff 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 var(--zt-white), 4px 4px 8px 0 var(--zt-gray-a1);--zt-media-picker-button-border: 0;--zt-media-picker-button-active-border: 1px solid rgba(255, 255, 255, .75);--zt-media-picker-button-active-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a2);--zt-media-picker-line-height: 46px;--zt-media-picker-box-size: 48px;--zt-media-picker-icon-size: 32px;--zt-media-picker-title-height: 44px}:root[zt-theme-size=large]{--zt-media-picker-line-height: 52px;--zt-media-picker-box-size: 54px;--zt-media-picker-icon-size: 38px;--zt-media-picker-title-height: 56px}.zt-media-picker__hidden{display:none}.zt-media-picker__title{position:relative;height:var(--zt-media-picker-title-height);line-height:var(--zt-media-picker-title-height);font-weight:700;font-size:var(--zt-font-size-lg);color:var(--zt-text-color);padding:0 16px}.zt-media-picker__title:before{position:absolute;width:4px;height:16px;background:var(--zt-primary-color);left:0;top:14px;content:" "}.zt-media-picker__title:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-media-picker__line{width:100%;height:calc(var(--zt-media-picker-line-height) * 2);display:flex;align-items:center;overflow-x:auto}.zt-media-picker__line::-webkit-scrollbar{width:0;height:0}.zt-media-picker__line:after{content:" ";min-width:16px;height:10px}.zt-media-picker__box{width:var(--zt-media-picker-box-size);display:flex;flex-direction:column;align-items:center}.zt-media-picker__box:first-child{margin-left:16px}.zt-media-picker__box:not(:last-child){margin-right:24px}.zt-media-picker__button{display:flex;align-items:center;justify-content:center;width:var(--zt-media-picker-box-size);height:var(--zt-media-picker-box-size);background:var(--zt-media-picker-button-background);box-shadow:var(--zt-media-picker-button-box-shadow);border:var(--zt-media-picker-button-border);border-radius:8px;box-sizing:border-box}.zt-media-picker__button:active{background:rgba(45,75,115,.04);border:var(--zt-media-picker-button-active-border);box-shadow:var(--zt-media-picker-button-active-box-shadow)}.zt-media-picker__icon{width:var(--zt-media-picker-icon-size);height:var(--zt-media-picker-icon-size);color:var(--zt-media-picker-image-color)}.zt-media-picker__label{margin-top:8px;font-size:var(--zt-font-size-sm);color:var(--zt-gray-a8);letter-spacing:0;text-align:center;line-height:var(--zt-line-height-xs);-webkit-user-select:none;user-select:none}.zt-media-picker__grid{padding:0 16px 8px!important}.zt-media-picker__delete{box-sizing:content-box;width:20px;height:20px;position:absolute;padding:4px;top:0;right:0}.zt-media-picker .zt-image{width:100%;height:100%}.zt-media-picker .zt-grid-item__content{padding:0}.zt-media-picker__thumbnail{width:100%;height:100%}.zt-media-picker__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--zt-white);background-color:var(--zt-uploader-mask-background);border-radius:4px}.zt-media-picker__mask-icon{font-size:var(--zt-font-size-xxxl)}.zt-media-picker__mask-message{margin-top:6px;padding:0 var(--zt-padding-base);font-size:var(--zt-font-size-sm);line-height:var(--zt-uploader-mask-message-line-height)}.zt-media-picker__loading{width:var(--zt-uploader-loading-icon-size);height:var(--zt-uploader-loading-icon-size);color:var(--zt-uploader-icon-color)}.zt-theme-dark{--zt-media-picker-button-background: linear-gradient(135deg, #111c29 0%, #1d2c3e 100%, #1c2a3c 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .08), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-media-picker-button-border: 1px solid var(--zt-gray-a1);--zt-media-picker-button-active-border: 1px solid var(--zt-gray-a1);--zt-media-picker-button-active-box-shadow: inset 6px 6px 6px 0 #000d1b}
@@ -146,7 +146,7 @@ export declare const MediaPicker: import("../utils").WithInstall<import("vue").D
146
146
  }, {}>>;
147
147
  export default MediaPicker;
148
148
  export type { MediaPickerProps } from './MediaPicker';
149
- export type { Media, MediaType, MediaAddType, MediaUploadStatus, MediaPreview, MediaPick, MediaBeforeRead, MediaAfterRead, MediaBeforeDelete, } from './type';
149
+ export type { Media, MediaType, MediaAddType, MediaUploadStatus, MediaPreview, MediaPick, MediaBeforeRead, MediaAfterRead, MediaBeforeDelete, MediaPickerThemeVars, } from './type';
150
150
  declare module 'vue' {
151
151
  interface GlobalComponents {
152
152
  ZtMediaPicker: typeof MediaPicker;
@@ -20,3 +20,15 @@ export type MediaAfterRead = (medias: Array<Media>) => void;
20
20
  export type MediaBeforeDelete = (media: Media) => boolean | Promise<void>;
21
21
  export type MediaPick = (mediaType: MediaType, mediaAddType: MediaAddType) => boolean;
22
22
  export type MediaPreview = (medias: Array<Media>, index: number) => boolean;
23
+ export type MediaPickerThemeVars = {
24
+ mediaPickerImageColor?: string;
25
+ mediaPickerButtonBackground?: string;
26
+ mediaPickerButtonBoxShadow?: string;
27
+ mediaPickerButtonBorder?: string;
28
+ mediaPickerButtonActiveBorder?: string;
29
+ mediaPickerButtonActiveBoxShadow?: string;
30
+ mediaPickerLineHeight?: string;
31
+ mediaPickerBoxSize?: string;
32
+ mediaPickerIconSize?: string;
33
+ mediaPickerTitleHeight?: string;
34
+ };
@@ -1 +1 @@
1
- .zt-media-player{background-color:var(--zt-background);font-size:0}.zt-media-player__video{width:100%;height:400px;max-height:70%;background-color:rgba(0,0,0,.8)}.zt-media-player__audio{width:100%}.zt-media-player__cancel{padding:8px 16px;color:var(--zt-text-color)}.zt-media-player__cancel-btn{width:100%;border:none;cursor:pointer;background-color:var(--zt-gray-a04);border-radius:20px;height:44px;font-size:16px;color:var(--zt-text-color);line-height:24px}.zt-media-player__cancel-btn:active{opacity:var(--zt-active-opacity)}
1
+ .zt-media-player{background-color:var(--zt-background);font-size:0}.zt-media-player__video{width:100%;height:400px;max-height:70%;background-color:rgba(0,0,0,.8)}.zt-media-player__audio{width:100%}.zt-media-player__cancel{padding:8px 16px;color:var(--zt-text-color)}.zt-media-player__cancel-btn{width:100%;border:none;cursor:pointer;background-color:var(--zt-gray-a04);border-radius:20px;height:44px;font-size:var(--zt-font-size-lg);color:var(--zt-text-color);line-height:var(--zt-line-height-xl)}.zt-media-player__cancel-btn:active{opacity:var(--zt-active-opacity)}
@@ -156,12 +156,12 @@ declare const _default: import("vue").DefineComponent<{
156
156
  loading: boolean;
157
157
  options: PickerOption[];
158
158
  allowHtml: boolean;
159
- showToolbar: boolean;
160
- toolbarPosition: string;
161
- showPicker: boolean;
162
159
  textKey: string;
163
160
  itemHeight: string | number;
164
161
  columnCounts: number;
162
+ showPicker: boolean;
163
+ showToolbar: boolean;
164
+ toolbarPosition: string;
165
165
  selectedIndex: number[];
166
166
  }, {}>;
167
167
  export default _default;
@@ -1 +1 @@
1
- :root{--zt-multiple-picker-warpper-padding: 12px 16px 4px 16px;--zt-multiple-picker-option-text-color: var(--zt-gray-a6);--zt-multiple-picker-background-color: var(--zt-background-2);--zt-multiple-picker-toolbar-height: 44px;--zt-multiple-picker-action-padding: 0 var(--zt-padding-md);--zt-multiple-picker-title-text-color: var(--zt-gray-a4);--zt-multiple-picker-title-font-size: var(--zt-font-size-md);--zt-multiple-picker-title-padding: 12px 0;--zt-multiple-picker-title-line-height: var(--zt-line-height-md);--zt-multiple-picker-item-padding: 0 4px 8px 0;--zt-multiple-picker-action-font-size: var(--zt-font-size-md);--zt-multiple-picker-option-font-size: var(--zt-font-size-md);--zt-multiple-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-multiple-picker-option-active-opacity: var(--zt-active-opacity);--zt-multiple-picker-max-height: 84vh;--zt-multiple-picker-loading-icon-color: var(--zt-blue);--zt-multiple-picker-loading-index: 3;--zt-multiple-picker-loading-mask-color: var(--zt-picker-loading-mask-color);--zt-multiple-picker-toolbar-padding: 8px 16px;--zt-multiple-picker-ellipsis-border-radius: 18px;--zt-multiple-picker-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-multiple-picker-ellipsis-line-height: 20px;--zt-multiple-picker-title-background: var(--zt-background-2)}.zt-multiple-picker{display:flex;flex-direction:column;justify-content:space-between;position:relative;background-color:var(--zt-multiple-picker-background-color);-webkit-user-select:none;user-select:none;max-height:var(--zt-multiple-picker-max-height)}.zt-multiple-picker__toolbar{display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;flex-shrink:0;background:var(--zt-multiple-picker-title-background);height:var(--zt-multiple-picker-toolbar-height);padding:var(--zt-multiple-picker-toolbar-padding)}.zt-multiple-picker__title{flex-shrink:0;font-weight:var(--zt-multiple-picker-cancel-action-font-weight);font-size:var(--zt-multiple-picker-title-font-size);line-height:var(--zt-multiple-picker-title-line-height);text-align:center;background:var(--zt-multiple-picker-title-background);color:var(--zt-multiple-picker-title-text-color);padding:var(--zt-multiple-picker-title-padding)}.zt-multiple-picker__options{position:relative;display:flex;cursor:-webkit-grab;cursor:grab;overflow-y:scroll}.zt-multiple-picker__options:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__options:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-multiple-picker-loading-icon-color);background-color:var(--zt-multiple-picker-loading-mask-color)}.zt-multiple-picker-options{flex:1;overflow-y:scroll;font-size:var(--zt-multiple-picker-option-font-size);margin:0;outline:0 none;padding:0}.zt-multiple-picker-options__wrapper{display:flex;flex-wrap:wrap;background-color:var(--zt-multiple-picker-background-color);padding:var(--zt-multiple-picker-warpper-padding)}.zt-multiple-picker-options__item{color:var(--zt-multiple-picker-option-text-color);padding:var(--zt-multiple-picker-item-padding);box-sizing:border-box;text-align:center;font-size:var(--zt-font-size-md)}.zt-multiple-picker-options__item .zt-ellipsis{line-height:var(--zt-multiple-picker-ellipsis-line-height);border-radius:var(--zt-multiple-picker-ellipsis-border-radius);border:var(--zt-multiple-picker-ellipsis-border);padding:var(--zt-multiple-picker-toolbar-padding)}.zt-multiple-picker-options__item:active{opacity:var(--zt-active-opacity)}.zt-multiple-picker-options__item--disabled{cursor:not-allowed;opacity:var(--zt-multiple-picker-option-disabled-opacity)}.zt-multiple-picker-options__item--last{padding-right:0}.zt-multiple-picker-options__item--selected{color:var(--zt-primary-color)}.zt-multiple-picker-options__item--selected .zt-ellipsis{background:var(--zt-primary-color-a1)}
1
+ :root{--zt-multiple-picker-warpper-padding: 12px 16px 4px 16px;--zt-multiple-picker-option-text-color: var(--zt-gray-a6);--zt-multiple-picker-background-color: var(--zt-background-2);--zt-multiple-picker-toolbar-height: 44px;--zt-multiple-picker-title-text-color: var(--zt-gray-a4);--zt-multiple-picker-title-padding: 12px 0;--zt-multiple-picker-item-padding: 0 4px 8px 0;--zt-multiple-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-multiple-picker-max-height: 84vh;--zt-multiple-picker-loading-icon-color: var(--zt-primary-color);--zt-multiple-picker-loading-mask-color: var(--zt-picker-loading-mask-color);--zt-multiple-picker-toolbar-padding: 8px 16px;--zt-multiple-picker-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-multiple-picker-title-background: var(--zt-background-2);--zt-multiple-picker-ellipsis-height: 38px}:root[zt-theme-size=large]{--zt-multiple-picker-ellipsis-height: 50px}.zt-multiple-picker{display:flex;flex-direction:column;justify-content:space-between;position:relative;background-color:var(--zt-multiple-picker-background-color);-webkit-user-select:none;user-select:none;max-height:var(--zt-multiple-picker-max-height)}.zt-multiple-picker__toolbar{display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;flex-shrink:0;background:var(--zt-multiple-picker-title-background);height:var(--zt-multiple-picker-toolbar-height);padding:var(--zt-multiple-picker-toolbar-padding)}.zt-multiple-picker__title{flex-shrink:0;font-weight:var(--zt-multiple-picker-cancel-action-font-weight);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);text-align:center;background:var(--zt-multiple-picker-title-background);color:var(--zt-multiple-picker-title-text-color);padding:var(--zt-multiple-picker-title-padding)}.zt-multiple-picker__options{position:relative;display:flex;cursor:-webkit-grab;cursor:grab;overflow-y:scroll}.zt-multiple-picker__options:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__options:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-multiple-picker-loading-icon-color);background-color:var(--zt-multiple-picker-loading-mask-color)}.zt-multiple-picker-options{flex:1;overflow-y:scroll;font-size:var(--zt-font-size-md);margin:0;outline:0 none;padding:0}.zt-multiple-picker-options__wrapper{display:flex;flex-wrap:wrap;background-color:var(--zt-multiple-picker-background-color);padding:var(--zt-multiple-picker-warpper-padding)}.zt-multiple-picker-options__item{color:var(--zt-multiple-picker-option-text-color);padding:var(--zt-multiple-picker-item-padding);box-sizing:border-box;text-align:center;font-size:var(--zt-font-size-md)}.zt-multiple-picker-options__item .zt-ellipsis{height:var(--zt-multiple-picker-ellipsis-height);line-height:var(--zt-multiple-picker-ellipsis-height);border-radius:calc(var(--zt-multiple-picker-ellipsis-height) / 2);border:var(--zt-multiple-picker-ellipsis-border);padding:0 var(--zt-padding-md)}.zt-multiple-picker-options__item:active{opacity:var(--zt-active-opacity)}.zt-multiple-picker-options__item--disabled{cursor:not-allowed;opacity:var(--zt-multiple-picker-option-disabled-opacity)}.zt-multiple-picker-options__item--last{padding-right:0}.zt-multiple-picker-options__item--selected{color:var(--zt-primary-color)}.zt-multiple-picker-options__item--selected .zt-ellipsis{background:var(--zt-primary-color-a1)}
@@ -1,4 +1,5 @@
1
1
  import { MultiplePickerProps } from './MultiplePicker';
2
+ export type { MultiplePickerThemeVars } from './types';
2
3
  export declare const MultiplePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
3
4
  title: StringConstructor;
4
5
  loading: BooleanConstructor;
@@ -106,12 +107,12 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
106
107
  loading: boolean;
107
108
  options: import("./types").PickerOption[];
108
109
  allowHtml: boolean;
109
- showToolbar: boolean;
110
- toolbarPosition: string;
111
- showPicker: boolean;
112
110
  textKey: string;
113
111
  itemHeight: string | number;
114
112
  columnCounts: number;
113
+ showPicker: boolean;
114
+ showToolbar: boolean;
115
+ toolbarPosition: string;
115
116
  selectedIndex: number[];
116
117
  }, {}>>;
117
118
  export default MultiplePicker;
@@ -13,3 +13,20 @@ export type MultiplePickerOptionsExpose = {
13
13
  setConfirmIndex: (indexes: PickerOption) => void;
14
14
  };
15
15
  export type MultiplePickerInstance = ComponentPublicInstance<MultiplePickerOptionsProps, MultiplePickerOptionsExpose>;
16
+ export type MultiplePickerThemeVars = {
17
+ multiplePickerWarpperPadding?: string;
18
+ multiplePickerOptionTextColor?: string;
19
+ multiplePickerBackgroundColor?: string;
20
+ multiplePickerToolbarHeight?: string;
21
+ multiplePickerTitleTextColor?: string;
22
+ multiplePickerTitlePadding?: string;
23
+ multiplePickerItemPadding?: string;
24
+ multiplePickerOptionDisabledOpacity?: string;
25
+ multiplePickerMaxHeight?: string;
26
+ multiplePickerLoadingIconColor?: string;
27
+ multiplePickerLoadingMaskColor?: string;
28
+ multiplePickerToolbarPadding?: string;
29
+ multiplePickerEllipsisBorder?: string;
30
+ multiplePickerTitleBackground?: string;
31
+ multiplePickerEllipsisHeight?: string;
32
+ };
@@ -1 +1 @@
1
- :root{--zt-nav-bar-height: 44px;--zt-nav-bar-padding-bottom: 12px;--zt-nav-bar-background: var(--zt-background);--zt-nav-bar-icon-font-size: 24px;--zt-nav-bar-icon-color: var(--zt-text-color);--zt-nav-bar-icon-size: 36px;--zt-nav-bar-button-height: 36px;--zt-nav-bar-border-height: 18px;--zt-nav-bar-text-color: var(--zt-primary-color);--zt-nav-bar-title-font-size: var(--zt-font-size-gt);--zt-nav-bar-title-text-color: var(--zt-text-color);--zt-nav-bar-title-height: 28px;--zt-nav-bar-z-index: 1;--zt-nav-bar-btn-border-radius: 18px;--zt-nav-bar-padding-left: 16px;--zt-nav-bar-padding-right: 16px;--zt-nav-bar-btn-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%, #ffffff 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-nav-bar-btn-border: 1px solid rgba(255, 255, 255, .75)}.zt-nav-bar{position:relative;padding-bottom:var(--zt-nav-bar-padding-bottom);z-index:var(--zt-nav-bar-z-index);text-align:center;-webkit-user-select:none;user-select:none;color:var(--zt-nav-bar-icon-color)}.zt-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.zt-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.zt-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--zt-nav-bar-height)}.zt-nav-bar__icon{width:var(--zt-nav-bar-icon-size);height:var(--zt-nav-bar-icon-size);line-height:var(--zt-nav-bar-icon-size);font-size:var(--zt-nav-bar-icon-font-size)}.zt-nav-bar__text{display:inline-block;font-size:var(--zt-font-size-lg);padding-right:var(--zt-nav-bar-padding-left);padding-left:var(--zt-nav-bar-padding-right)}.zt-nav-bar__text--left-text{padding-left:0}.zt-nav-bar__bar-btn{display:flex;align-items:center;box-sizing:border-box;height:var(--zt-nav-bar-button-height);line-height:var(--zt-nav-bar-button-height);background:var(--zt-nav-bar-btn-background);box-shadow:var(--zt-nav-bar-btn-box-shadow);border-radius:var(--zt-nav-bar-btn-border-radius);border:var(--zt-nav-bar-btn-border)}.zt-nav-bar__bar-btn:active{border:1px solid rgba(255,255,255,.75);box-shadow:inset 4px 4px 8px rgba(45,75,115,.24);background:rgba(45,75,115,.04)}.zt-nav-bar__title{height:var(--zt-nav-bar-title-height);text-align:center;line-height:var(--zt-nav-bar-title-height);max-width:50%;margin:0 auto;font-weight:var(--zt-font-bold);font-size:var(--zt-nav-bar-title-font-size)}.zt-nav-bar__left,.zt-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);max-width:30%}.zt-nav-bar__left{left:0}.zt-nav-bar__right{right:0}.zt-theme-dark{--zt-nav-bar-btn-background: linear-gradient(135deg, #0e1824 0%, #203043 100%, #ffffff 100%, #1d2c3d 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-nav-bar-btn-border: 1px solid #394555}
1
+ :root{--zt-nav-bar-height: 44px;--zt-nav-bar-padding-bottom: 12px;--zt-nav-bar-icon-color: var(--zt-text-color);--zt-nav-bar-button-height: 36px;--zt-nav-bar-title-height: 28px;--zt-nav-bar-z-index: 1;--zt-nav-bar-btn-border-radius: 18px;--zt-nav-bar-padding-left: 16px;--zt-nav-bar-padding-right: 16px;--zt-nav-bar-btn-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%, #ffffff 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-nav-bar-btn-border: 1px solid rgba(255, 255, 255, .75);--zt-nav-bar-icon-font-size: 24px;--zt-nav-bar-icon-size: 36px}:root[zt-theme-size=large]{--zt-nav-bar-icon-size: 48px;--zt-nav-bar-icon-font-size: 30px;--zt-nav-bar-title-height: 40px}.zt-nav-bar{position:relative;padding-bottom:var(--zt-nav-bar-padding-bottom);z-index:var(--zt-nav-bar-z-index);text-align:center;-webkit-user-select:none;user-select:none;color:var(--zt-nav-bar-icon-color)}.zt-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.zt-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.zt-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--zt-nav-bar-height)}.zt-nav-bar__icon{width:var(--zt-nav-bar-icon-size);height:var(--zt-nav-bar-icon-size);line-height:var(--zt-nav-bar-icon-size);font-size:var(--zt-nav-bar-icon-font-size)}.zt-nav-bar__text{display:inline-block;font-size:var(--zt-font-size-lg);padding-right:var(--zt-nav-bar-padding-left);padding-left:var(--zt-nav-bar-padding-right)}.zt-nav-bar__text--left-text{padding-left:0}.zt-nav-bar__bar-btn{display:flex;align-items:center;box-sizing:border-box;height:var(--zt-nav-bar-button-height);line-height:var(--zt-nav-bar-icon-size);background:var(--zt-nav-bar-btn-background);box-shadow:var(--zt-nav-bar-btn-box-shadow);border-radius:var(--zt-nav-bar-btn-border-radius);border:var(--zt-nav-bar-btn-border)}.zt-nav-bar__bar-btn:active{border:1px solid rgba(255,255,255,.75);box-shadow:inset 4px 4px 8px rgba(45,75,115,.24);background:rgba(45,75,115,.04)}.zt-nav-bar__title{height:var(--zt-nav-bar-title-height);text-align:center;line-height:var(--zt-nav-bar-title-height);max-width:50%;margin:0 auto;font-weight:var(--zt-font-bold);font-size:var(--zt-font-size-xl)}.zt-nav-bar__left,.zt-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);max-width:30%}.zt-nav-bar__left{left:0}.zt-nav-bar__right{right:0}.zt-theme-dark{--zt-nav-bar-btn-background: linear-gradient(135deg, #0e1824 0%, #203043 100%, #ffffff 100%, #1d2c3d 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-nav-bar-btn-border: 1px solid #394555}
@@ -49,6 +49,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
49
49
  }, {}>>;
50
50
  export default NavBar;
51
51
  export type { NavBarProps } from './NavBar';
52
+ export type { NavBarThemeVars } from './types';
52
53
  declare module 'vue' {
53
54
  interface GlobalComponents {
54
55
  ZtNavBar: typeof NavBar;
@@ -0,0 +1,16 @@
1
+ export type NavBarThemeVars = {
2
+ navBarHeight?: string;
3
+ navBarPaddingBottom?: string;
4
+ navBarIconColor?: string;
5
+ navBarButtonHeight?: string;
6
+ navBarTitleHeight?: string;
7
+ navBarZIndex?: string;
8
+ navBarBtnBorderRadius?: string;
9
+ navBarPaddingLeft?: string;
10
+ navBarPaddingRight?: string;
11
+ navBarBtnBackground?: string;
12
+ navBarBtnBoxShadow?: string;
13
+ navBarBtnBorder?: string;
14
+ navBarIconFontSize?: string;
15
+ navBarIconSize?: string;
16
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--zt-notice-bar-height: 36px;--zt-notice-bar-padding: 0 var(--zt-padding-md);--zt-notice-bar-wrapable-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notice-bar-text-color: var(--zt-orange-2);--zt-notice-bar-font-size: var(--zt-font-size-md);--zt-notice-bar-line-height: 36px;--zt-notice-bar-background: var(--zt-background-4);--zt-notice-bar-icon-size: 20px;--zt-notice-bar-icon-min-width: 20px;--zt-notice-bar-icon-height: 20px}.zt-notice-bar{position:relative;display:flex;align-items:center;height:var(--zt-notice-bar-height);padding:var(--zt-notice-bar-padding);color:var(--zt-notice-bar-text-color);font-size:var(--zt-notice-bar-font-size);line-height:var(--zt-notice-bar-line-height);background:var(--zt-notice-bar-background)}.zt-notice-bar__left-icon,.zt-notice-bar__right-icon{min-width:var(--zt-notice-bar-icon-min-width);font-size:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-height)}.zt-notice-bar__right-icon{text-align:right;cursor:pointer}.zt-notice-bar__left-icon-size,.zt-notice-bar__right-icon-size{width:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-size)}.zt-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.zt-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.zt-notice-bar__content.zt-ellipsis{max-width:100%}.zt-notice-bar--wrapable{height:auto;padding:var(--zt-notice-bar-wrapable-padding)}.zt-notice-bar--wrapable .zt-notice-bar__wrap{height:auto}.zt-notice-bar--wrapable .zt-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}.zt-theme-dark{--zt-notice-bar-background: rgba(255, 245, 211, .1)}
1
+ :root{--zt-notice-bar-padding: 0 var(--zt-padding-md);--zt-notice-bar-wrapable-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notice-bar-text-color: var(--zt-orange);--zt-notice-bar-background: var(--zt-background-4);--zt-notice-bar-icon-size: 20px;--zt-notice-bar-icon-min-width: 20px;--zt-notice-bar-icon-height: 20px;--zt-notice-bar-height: 36px}:root[zt-theme-size=large]{--zt-notice-bar-height: 48px}.zt-notice-bar{position:relative;display:flex;align-items:center;height:var(--zt-notice-bar-height);padding:var(--zt-notice-bar-padding);color:var(--zt-notice-bar-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-notice-bar-height);background:var(--zt-notice-bar-background)}.zt-notice-bar__left-icon,.zt-notice-bar__right-icon{min-width:var(--zt-notice-bar-icon-min-width);font-size:var(--zt-font-size-xxl)}.zt-notice-bar__right-icon{text-align:right;cursor:pointer}.zt-notice-bar__left-icon-size,.zt-notice-bar__right-icon-size{width:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-size)}.zt-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.zt-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.zt-notice-bar__content.zt-ellipsis{max-width:100%}.zt-notice-bar--wrapable{height:auto;padding:var(--zt-notice-bar-wrapable-padding)}.zt-notice-bar--wrapable .zt-notice-bar__wrap{height:auto}.zt-notice-bar--wrapable .zt-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}.zt-theme-dark{--zt-notice-bar-background: rgba(255, 245, 211, .1)}
@@ -48,7 +48,7 @@ export declare const NoticeBar: import("../utils").WithInstall<import("vue").Def
48
48
  }, {}>>;
49
49
  export default NoticeBar;
50
50
  export type { NoticeBarProps };
51
- export type { NoticeBarMode, NoticeBarInstance } from './types';
51
+ export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
52
52
  declare module 'vue' {
53
53
  interface GlobalComponents {
54
54
  ZtNoticeBar: typeof NoticeBar;
@@ -5,3 +5,13 @@ export type NoticeBarExpose = {
5
5
  reset: () => void;
6
6
  };
7
7
  export type NoticeBarInstance = ComponentPublicInstance<NoticeBarProps, NoticeBarExpose>;
8
+ export type NoticeBarThemeVars = {
9
+ noticeBarPadding?: string;
10
+ noticeBarWrapablePadding?: string;
11
+ noticeBarTextColor?: string;
12
+ noticeBarBackground?: string;
13
+ noticeBarIconSize?: string;
14
+ noticeBarIconMinWidth?: string;
15
+ noticeBarIconHeight?: string;
16
+ noticeBarHeight?: string;
17
+ };
@@ -1 +1 @@
1
- :root{--zt-notify-text-color: var(--zt-white);--zt-notify-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notify-font-size: var(--zt-font-size-md);--zt-notify-line-height: var(--zt-line-height-md);--zt-notify-primary-background: var(--zt-primary-color);--zt-notify-success-background: var(--zt-success-color);--zt-notify-danger-background: var(--zt-danger-color);--zt-notify-warning-background: var(--zt-warning-color)}.zt-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--zt-notify-padding);color:var(--zt-notify-text-color);font-size:var(--zt-notify-font-size);line-height:var(--zt-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.zt-notify--primary{background:var(--zt-notify-primary-background)}.zt-notify--success{background:var(--zt-notify-success-background)}.zt-notify--danger{background:var(--zt-notify-danger-background)}.zt-notify--warning{background:var(--zt-notify-warning-background)}
1
+ :root{--zt-notify-text-color: var(--zt-white);--zt-notify-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notify-primary-background: var(--zt-primary-color);--zt-notify-success-background: var(--zt-success-color);--zt-notify-danger-background: var(--zt-danger-color);--zt-notify-warning-background: var(--zt-warning-color)}.zt-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--zt-notify-padding);color:var(--zt-notify-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);white-space:pre-wrap;text-align:center;word-wrap:break-word}.zt-notify--primary{background:var(--zt-notify-primary-background)}.zt-notify--success{background:var(--zt-notify-success-background)}.zt-notify--danger{background:var(--zt-notify-danger-background)}.zt-notify--warning{background:var(--zt-notify-warning-background)}
@@ -91,7 +91,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
91
91
  export default Notify;
92
92
  export { showNotify, closeNotify, setNotifyDefaultOptions, resetNotifyDefaultOptions, } from './function-call';
93
93
  export type { NotifyProps } from './Notify';
94
- export type { NotifyType, NotifyOptions } from './types';
94
+ export type { NotifyType, NotifyOptions, NotifyThemeVars } from './types';
95
95
  declare module 'vue' {
96
96
  interface GlobalComponents {
97
97
  ZtNotify: typeof Notify;
@@ -15,3 +15,11 @@ export type NotifyOptions = {
15
15
  onClose?: () => void;
16
16
  onOpened?: () => void;
17
17
  };
18
+ export type NotifyThemeVars = {
19
+ notifyTextColor?: string;
20
+ notifyPadding?: string;
21
+ notifyPrimaryBackground?: string;
22
+ notifySuccessBackground?: string;
23
+ notifyDangerBackground?: string;
24
+ notifyWarningBackground?: string;
25
+ };
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<{
92
92
  type: PropType<string | string[]>;
93
93
  default: string;
94
94
  };
95
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
95
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "close" | "update:modelValue" | "delete")[], "input" | "hide" | "show" | "blur" | "close" | "update:modelValue" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
96
96
  show: BooleanConstructor;
97
97
  title: StringConstructor;
98
98
  theme: {
@@ -1 +1 @@
1
- :root{--zt-number-keyboard-background: var(--zt-background-3);--zt-number-keyboard-key-height: 44px;--zt-number-keyboard-key-font-size: 24px;--zt-number-keyboard-key-background: var(--zt-background-card);--zt-number-keyboard-delete-font-size: 20px;--zt-number-keyboard-title-color: var(--zt-gray-a6);--zt-number-keyboard-title-height: 34px;--zt-number-keyboard-title-font-size: 14px;--zt-number-keyboard-button-text-color: var(--zt-white);--zt-number-keyboard-button-background: var(--zt-primary-color);--zt-number-keyboard-z-index: 100;--zt-number-keyboard-key-spacing: 0 8px 8px 0;--zt-number-keyboard-radius: 16px 16px 0 0}.zt-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--zt-number-keyboard-z-index);width:100%;padding-bottom:8px;background:var(--zt-number-keyboard-background);-webkit-user-select:none;user-select:none;border-radius:var(--zt-number-keyboard-radius);box-sizing:border-box}.zt-number-keyboard--with-title{border-radius:20px 20px 0 0}.zt-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--zt-number-keyboard-title-height);padding-top:2px;color:var(--zt-number-keyboard-title-color);font-size:var(--zt-number-keyboard-title-font-size);line-height:var(--zt-number-keyboard-title-height)}.zt-number-keyboard__title{display:inline-block}.zt-number-keyboard__title-left{position:absolute;left:0}.zt-number-keyboard__body{display:flex;padding:2px 8px 0 16px}.zt-number-keyboard__body-no-title{padding-top:16px}.zt-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.zt-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.zt-number-keyboard--unfit{padding-bottom:0}.zt-key{display:flex;align-items:center;justify-content:center;height:var(--zt-number-keyboard-key-height);font-size:var(--zt-number-keyboard-key-font-size);line-height:var(--zt-number-keyboard-key-height);background:var(--zt-number-keyboard-key-background);border-radius:var(--zt-radius-md);cursor:pointer;color:var(--zt-text-color)}.zt-key--large{position:absolute;top:0;right:6px;bottom:8px;left:0;height:auto}.zt-key--blue,.zt-key--delete{font-size:var(--zt-number-keyboard-delete-font-size)}.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key--blue{color:var(--zt-number-keyboard-button-text-color);background:var(--zt-number-keyboard-button-background);line-height:28px;letter-spacing:0}.zt-key--blue.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:var(--zt-number-keyboard-key-spacing)}.zt-key__wrapper--wider{flex-basis:66%}.zt-key__delete-icon{width:40px;height:40px}.zt-key__collapse-icon{width:30px;height:24px}.zt-key__loading-icon{color:var(--zt-number-keyboard-button-text-color)}.zt-number-keyboard__no-title{padding-bottom:0}
1
+ :root{--zt-number-keyboard-background: var(--zt-background-3);--zt-number-keyboard-key-background: var(--zt-background-card);--zt-number-keyboard-title-color: var(--zt-gray-a6);--zt-number-keyboard-button-text-color: var(--zt-white);--zt-number-keyboard-button-background: var(--zt-primary-color);--zt-number-keyboard-z-index: 100;--zt-number-keyboard-key-spacing: 0 8px 8px 0;--zt-number-keyboard-radius: 16px 16px 0 0;--zt-number-keyboard-key-font-size: 24px;--zt-number-keyboard-header-height: 34px;--zt-number-keyboard-button-height: 28px;--zt-number-keyboard-key-height: 44px}:root[zt-theme-size=large]{--zt-number-keyboard-key-font-size: 30px;--zt-number-keyboard-header-height: 46px;--zt-number-keyboard-button-height: 40px;--zt-number-keyboard-key-height: 56px}.zt-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--zt-number-keyboard-z-index);width:100%;padding-bottom:8px;background:var(--zt-number-keyboard-background);-webkit-user-select:none;user-select:none;border-radius:var(--zt-number-keyboard-radius);box-sizing:border-box}.zt-number-keyboard--with-title{border-radius:20px 20px 0 0}.zt-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--zt-number-keyboard-header-height);padding-top:2px;color:var(--zt-number-keyboard-title-color);font-size:var(--zt-font-size-md);line-height:var(--zt-number-keyboard-header-height)}.zt-number-keyboard__title{display:inline-block}.zt-number-keyboard__title-left{position:absolute;left:0}.zt-number-keyboard__body{display:flex;padding:2px 8px 0 16px}.zt-number-keyboard__body-no-title{padding-top:16px}.zt-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.zt-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.zt-number-keyboard--unfit{padding-bottom:0}.zt-key{display:flex;align-items:center;justify-content:center;height:var(--zt-number-keyboard-key-height);font-size:var(--zt-number-keyboard-key-font-size);line-height:var(--zt-number-keyboard-key-height);background:var(--zt-number-keyboard-key-background);border-radius:var(--zt-radius-md);cursor:pointer;color:var(--zt-text-color)}.zt-key--large{position:absolute;top:0;right:6px;bottom:8px;left:0;height:auto}.zt-key--blue,.zt-key--delete{font-size:var(--zt-font-size-xxl)}.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key--blue{color:var(--zt-number-keyboard-button-text-color);background:var(--zt-number-keyboard-button-background);line-height:var(--zt-number-keyboard-button-height);letter-spacing:0}.zt-key--blue.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:var(--zt-number-keyboard-key-spacing)}.zt-key__wrapper--wider{flex-basis:66%}.zt-key__delete-icon{width:40px;height:40px}.zt-key__collapse-icon{width:30px;height:24px}.zt-key__loading-icon{color:var(--zt-number-keyboard-button-text-color)}.zt-number-keyboard__no-title{padding-bottom:0}
@@ -43,7 +43,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
43
43
  type: import("vue").PropType<string | string[]>;
44
44
  default: string;
45
45
  };
46
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete")[], "input" | "hide" | "show" | "blur" | "update:modelValue" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "hide" | "show" | "blur" | "close" | "update:modelValue" | "delete")[], "input" | "hide" | "show" | "blur" | "close" | "update:modelValue" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
47
  show: BooleanConstructor;
48
48
  title: StringConstructor;
49
49
  theme: {
@@ -112,6 +112,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
112
112
  }, {}>>;
113
113
  export default NumberKeyboard;
114
114
  export type { NumberKeyboardProps, NumberKeyboardTheme, } from './NumberKeyboard';
115
+ export type { NumberKeyboardThemeVars } from './types';
115
116
  declare module 'vue' {
116
117
  interface GlobalComponents {
117
118
  ZtNumberKeyboard: typeof NumberKeyboard;
@@ -0,0 +1,14 @@
1
+ export type NumberKeyboardThemeVars = {
2
+ numberKeyboardBackground?: string;
3
+ numberKeyboardKeyBackground?: string;
4
+ numberKeyboardTitleColor?: string;
5
+ numberKeyboardButtonTextColor?: string;
6
+ numberKeyboardButtonBackground?: string;
7
+ numberKeyboardZIndex?: number;
8
+ numberKeyboardKeySpacing?: string;
9
+ numberKeyboardRadius?: string;
10
+ numberKeyboardKeyFontSize?: string;
11
+ numberKeyboardHeaderHeight?: string;
12
+ numberKeyboardButtonHeight?: string;
13
+ numberKeyboardKeyHeight?: string;
14
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -33,6 +33,7 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
33
33
  }, {}>>;
34
34
  export default Overlay;
35
35
  export type { OverlayProps } from './Overlay';
36
+ export type { OverlayThemeVars } from './types';
36
37
  declare module 'vue' {
37
38
  interface GlobalComponents {
38
39
  ZtOverlay: typeof Overlay;
@@ -0,0 +1,4 @@
1
+ export type OverlayThemeVars = {
2
+ overlayZIndex?: number;
3
+ overlayBackground?: string;
4
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-font-size: 20px;--zt-password-input-radius: 6px;--zt-password-input-background: var(--zt-background-2);--zt-password-input-info-color: var(--zt-text-color-2);--zt-password-input-info-font-size: var(--zt-font-size-md);--zt-password-input-error-info-color: var(--zt-danger-color);--zt-password-input-dot-size: 8px;--zt-password-input-dot-color: var(--zt-text-color);--zt-password-input-text-color: var(--zt-text-color);--zt-password-input-cursor-color: #0091fa;--zt-password-input-cursor-width: 1px;--zt-password-input-cursor-height: 40%;--zt-password-input-cursor-duration: 1s}.zt-password-input{position:relative;margin:var(--zt-password-input-margin);-webkit-user-select:none;user-select:none}.zt-password-input__info,.zt-password-input__error-info{margin-top:var(--zt-padding-md);font-size:var(--zt-password-input-info-font-size);text-align:center}.zt-password-input__info{color:var(--zt-password-input-info-color)}.zt-password-input__error-info{color:var(--zt-password-input-error-info-color)}.zt-password-input__security{display:flex;width:100%;height:var(--zt-password-input-height);cursor:pointer}.zt-password-input__security:after{border-radius:var(--zt-password-input-radius)}.zt-password-input__security li:last-child{border-radius:0 4px 4px 0}.zt-password-input__security li:first-child{border-radius:0 4px 4px 0}.zt-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--zt-password-input-text-color);font-size:var(--zt-password-input-font-size);background:var(--zt-password-input-background);border:0 solid rgba(45,75,115,.2)}.zt-password-input__security i{position:absolute;top:50%;left:50%;width:var(--zt-password-input-dot-size);height:var(--zt-password-input-dot-size);background:var(--zt-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.zt-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--zt-password-input-cursor-width);height:var(--zt-password-input-cursor-height);background:var(--zt-password-input-cursor-color);width:1px;height:24px;transform:translate(-50%,-50%);animation:var(--zt-password-input-cursor-duration) zt-cursor-flicker infinite}@keyframes zt-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
1
+ :root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-radius: 6px;--zt-password-input-background: var(--zt-background-2);--zt-password-input-info-color: var(--zt-text-color-2);--zt-password-input-error-info-color: var(--zt-danger-color);--zt-password-input-dot-size: 8px;--zt-password-input-dot-color: var(--zt-text-color);--zt-password-input-text-color: var(--zt-text-color);--zt-password-input-cursor-color: var(--zt-primary-color);--zt-password-input-cursor-width: 1px;--zt-password-input-cursor-height: 40%;--zt-password-input-cursor-duration: 1s}.zt-password-input{position:relative;margin:var(--zt-password-input-margin);-webkit-user-select:none;user-select:none}.zt-password-input__info,.zt-password-input__error-info{margin-top:var(--zt-padding-md);font-size:var(--zt-font-size-md);text-align:center}.zt-password-input__info{color:var(--zt-password-input-info-color)}.zt-password-input__error-info{color:var(--zt-password-input-error-info-color)}.zt-password-input__security{display:flex;width:100%;height:var(--zt-password-input-height);cursor:pointer}.zt-password-input__security:after{border-radius:var(--zt-password-input-radius)}.zt-password-input__security li:last-child{border-radius:0 4px 4px 0}.zt-password-input__security li:first-child{border-radius:0 4px 4px 0}.zt-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--zt-password-input-text-color);font-size:var(--zt-font-size-xxl);background:var(--zt-password-input-background);border:0 solid rgba(45,75,115,.2)}.zt-password-input__security i{position:absolute;top:50%;left:50%;width:var(--zt-password-input-dot-size);height:var(--zt-password-input-dot-size);background:var(--zt-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.zt-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--zt-password-input-cursor-width);height:var(--zt-password-input-cursor-height);background:var(--zt-password-input-cursor-color);width:1px;height:24px;transform:translate(-50%,-50%);animation:var(--zt-password-input-cursor-duration) zt-cursor-flicker infinite}@keyframes zt-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
@@ -42,6 +42,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
42
42
  }, {}>>;
43
43
  export default PasswordInput;
44
44
  export type { PasswordInputProps } from './PasswordInput';
45
+ export type { PasswordInputThemeVars } from './types';
45
46
  declare module 'vue' {
46
47
  interface GlobalComponents {
47
48
  ZtPasswordInput: typeof PasswordInput;
@@ -0,0 +1,15 @@
1
+ export type PasswordInputThemeVars = {
2
+ passwordInputHeight?: string;
3
+ passwordInputMargin?: string;
4
+ passwordInputRadius?: string;
5
+ passwordInputBackground?: string;
6
+ passwordInputInfoColor?: string;
7
+ passwordInputErrorInfoColor?: string;
8
+ passwordInputDotSize?: string;
9
+ passwordInputDotColor?: string;
10
+ passwordInputTextColor?: string;
11
+ passwordInputCursorColor?: string;
12
+ passwordInputCursorWidth?: string;
13
+ passwordInputCursorHeight?: string;
14
+ passwordInputCursorDuration?: string;
15
+ };