@farris/ui-vue 1.0.0-beta.6 → 1.0.1

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 (723) hide show
  1. package/accordion/index.esm.js +318 -56
  2. package/accordion/index.umd.js +1 -1
  3. package/accordion/package.json +2 -2
  4. package/avatar/package.json +2 -2
  5. package/button/index.esm.js +64 -58
  6. package/button/index.umd.js +1 -1
  7. package/button/package.json +2 -2
  8. package/button-edit/index.esm.js +1075 -221
  9. package/button-edit/index.umd.js +1 -1
  10. package/button-edit/package.json +2 -2
  11. package/button-edit/style.css +1 -0
  12. package/calculator/index.esm.js +315 -0
  13. package/calculator/index.umd.js +1 -0
  14. package/calculator/package.json +8 -0
  15. package/calculator/style.css +1 -0
  16. package/calendar/index.esm.js +778 -0
  17. package/calendar/index.umd.js +1 -0
  18. package/calendar/package.json +8 -0
  19. package/calendar/style.css +1 -0
  20. package/capsule/index.esm.js +130 -0
  21. package/capsule/index.umd.js +1 -0
  22. package/capsule/package.json +8 -0
  23. package/capsule/style.css +1 -0
  24. package/checkbox/index.esm.js +192 -75
  25. package/checkbox/index.umd.js +1 -1
  26. package/checkbox/package.json +2 -2
  27. package/color-picker/index.esm.js +1551 -0
  28. package/color-picker/index.umd.js +16 -0
  29. package/color-picker/package.json +8 -0
  30. package/color-picker/style.css +1 -0
  31. package/combo-list/index.esm.js +2078 -434
  32. package/combo-list/index.umd.js +1 -1
  33. package/combo-list/package.json +2 -2
  34. package/combo-list/style.css +1 -0
  35. package/component/index.esm.js +176 -0
  36. package/component/index.umd.js +1 -0
  37. package/component/package.json +8 -0
  38. package/condition/index.esm.js +13564 -0
  39. package/condition/index.umd.js +1 -0
  40. package/condition/package.json +8 -0
  41. package/condition/style.css +1 -0
  42. package/content-container/index.esm.js +242 -0
  43. package/content-container/index.umd.js +1 -0
  44. package/content-container/package.json +8 -0
  45. package/data-grid/index.esm.js +13295 -1204
  46. package/data-grid/index.umd.js +1 -1
  47. package/data-grid/package.json +2 -2
  48. package/data-grid/style.css +1 -1
  49. package/date-picker/index.esm.js +2079 -1057
  50. package/date-picker/index.umd.js +1 -1
  51. package/date-picker/package.json +2 -2
  52. package/date-picker/style.css +1 -1
  53. package/designer-canvas/index.esm.js +15234 -0
  54. package/designer-canvas/index.umd.js +1 -0
  55. package/designer-canvas/package.json +8 -0
  56. package/designer-canvas/style.css +1 -0
  57. package/discussion-editor/index.esm.js +3559 -0
  58. package/discussion-editor/index.umd.js +16 -0
  59. package/discussion-editor/package.json +8 -0
  60. package/discussion-editor/style.css +1 -0
  61. package/discussion-list/index.esm.js +111 -0
  62. package/discussion-list/index.umd.js +1 -0
  63. package/discussion-list/package.json +8 -0
  64. package/discussion-list/style.css +1 -0
  65. package/dropdown/index.esm.js +214 -0
  66. package/dropdown/index.umd.js +1 -0
  67. package/dropdown/package.json +8 -0
  68. package/dropdown/style.css +1 -0
  69. package/dynamic-form/index.esm.js +13562 -0
  70. package/dynamic-form/index.umd.js +1 -0
  71. package/dynamic-form/package.json +8 -0
  72. package/dynamic-form/style.css +1 -0
  73. package/dynamic-resolver/index.esm.js +41 -0
  74. package/dynamic-resolver/index.umd.js +1 -0
  75. package/dynamic-resolver/package.json +8 -0
  76. package/dynamic-view/index.esm.js +13602 -0
  77. package/dynamic-view/index.umd.js +1 -0
  78. package/dynamic-view/package.json +8 -0
  79. package/dynamic-view/style.css +1 -0
  80. package/farris.all.esm.js +25017 -5892
  81. package/farris.all.umd.js +24 -1
  82. package/filter-bar/index.esm.js +549 -0
  83. package/filter-bar/index.umd.js +1 -0
  84. package/filter-bar/package.json +8 -0
  85. package/filter-bar/style.css +1 -0
  86. package/image-cropper/index.esm.js +720 -0
  87. package/image-cropper/index.umd.js +1 -0
  88. package/image-cropper/package.json +8 -0
  89. package/image-cropper/style.css +1 -0
  90. package/input-group/index.esm.js +549 -0
  91. package/input-group/index.umd.js +1 -0
  92. package/input-group/package.json +8 -0
  93. package/input-group/style.css +1 -0
  94. package/list-nav/index.esm.js +61 -0
  95. package/list-nav/index.umd.js +1 -0
  96. package/list-nav/package.json +8 -0
  97. package/list-nav/style.css +1 -0
  98. package/list-view/index.esm.js +516 -124
  99. package/list-view/index.umd.js +1 -1
  100. package/list-view/package.json +2 -2
  101. package/list-view/style.css +1 -1
  102. package/loading/index.esm.js +124 -0
  103. package/loading/index.umd.js +8 -0
  104. package/loading/package.json +8 -0
  105. package/loading/style.css +1 -0
  106. package/locale/index.esm.js +1868 -0
  107. package/locale/index.umd.js +1 -0
  108. package/locale/package.json +8 -0
  109. package/message-box/index.esm.js +408 -335
  110. package/message-box/index.umd.js +1 -1
  111. package/message-box/package.json +2 -2
  112. package/message-box/style.css +1 -0
  113. package/modal/index.esm.js +137 -90
  114. package/modal/index.umd.js +1 -1
  115. package/modal/package.json +2 -2
  116. package/modal/style.css +1 -0
  117. package/nav/index.esm.js +456 -0
  118. package/nav/index.umd.js +16 -0
  119. package/nav/package.json +8 -0
  120. package/nav/style.css +1 -0
  121. package/notify/package.json +2 -2
  122. package/order/index.esm.js +2272 -0
  123. package/order/index.umd.js +1 -0
  124. package/order/package.json +8 -0
  125. package/order/style.css +1 -0
  126. package/package.json +3 -1
  127. package/page-footer/index.esm.js +94 -0
  128. package/page-footer/index.umd.js +1 -0
  129. package/page-footer/package.json +8 -0
  130. package/page-header/index.esm.js +230 -0
  131. package/page-header/index.umd.js +1 -0
  132. package/page-header/package.json +8 -0
  133. package/pagination/index.esm.js +147 -141
  134. package/pagination/index.umd.js +1 -1
  135. package/pagination/package.json +2 -2
  136. package/popover/index.esm.js +194 -59
  137. package/popover/index.umd.js +1 -1
  138. package/popover/package.json +2 -2
  139. package/popover/style.css +1 -1
  140. package/propress/index.esm.js +108 -0
  141. package/propress/index.umd.js +1 -0
  142. package/propress/package.json +8 -0
  143. package/propress/style.css +1 -0
  144. package/radio-group/index.esm.js +174 -59
  145. package/radio-group/index.umd.js +1 -1
  146. package/radio-group/package.json +2 -2
  147. package/rate/index.esm.js +168 -0
  148. package/rate/index.umd.js +1 -0
  149. package/rate/package.json +8 -0
  150. package/rate/style.css +1 -0
  151. package/response-toolbar/index.esm.js +433 -0
  152. package/response-toolbar/index.umd.js +1 -0
  153. package/response-toolbar/package.json +8 -0
  154. package/search-box/index.esm.js +208 -0
  155. package/search-box/index.umd.js +1 -0
  156. package/search-box/package.json +8 -0
  157. package/search-box/style.css +1 -0
  158. package/section/index.esm.js +341 -45
  159. package/section/index.umd.js +1 -1
  160. package/section/package.json +2 -2
  161. package/section/style.css +1 -0
  162. package/splitter/index.esm.js +491 -0
  163. package/splitter/index.umd.js +1 -0
  164. package/splitter/package.json +8 -0
  165. package/splitter/style.css +1 -0
  166. package/step/index.esm.js +117 -0
  167. package/step/index.umd.js +1 -0
  168. package/step/package.json +8 -0
  169. package/step/style.css +1 -0
  170. package/style.css +3 -3
  171. package/switch/index.esm.js +156 -40
  172. package/switch/index.umd.js +1 -1
  173. package/switch/package.json +2 -2
  174. package/switch/style.css +1 -0
  175. package/tabs/index.esm.js +1563 -311
  176. package/tabs/index.umd.js +1 -1
  177. package/tabs/package.json +2 -2
  178. package/tabs/style.css +1 -1
  179. package/tags/index.esm.js +287 -0
  180. package/tags/index.umd.js +1 -0
  181. package/tags/package.json +8 -0
  182. package/tags/style.css +1 -0
  183. package/text/package.json +2 -2
  184. package/time-picker/index.esm.js +1465 -0
  185. package/time-picker/index.umd.js +1 -0
  186. package/time-picker/package.json +8 -0
  187. package/time-picker/style.css +1 -0
  188. package/tooltip/package.json +2 -2
  189. package/transfer/index.esm.js +642 -0
  190. package/transfer/index.umd.js +1 -0
  191. package/transfer/package.json +8 -0
  192. package/transfer/style.css +1 -0
  193. package/tree-view/index.esm.js +701 -0
  194. package/tree-view/index.umd.js +1 -0
  195. package/tree-view/package.json +8 -0
  196. package/tree-view/style.css +1 -0
  197. package/types/accordion/index.d.ts +2 -0
  198. package/types/accordion/src/accordion.component.d.ts +2 -68
  199. package/types/accordion/src/accordion.props.d.ts +2 -33
  200. package/types/accordion/src/components/accordion-item.component.d.ts +2 -36
  201. package/types/accordion/src/components/accordion-item.props.d.ts +2 -17
  202. package/types/accordion/src/designer/accordion-item.design.component.d.ts +6 -0
  203. package/types/accordion/src/designer/accordion.design.component.d.ts +6 -0
  204. package/types/accordion/src/schema/schema-mapper.d.ts +2 -0
  205. package/types/button/src/button-group.component.d.ts +1 -1
  206. package/types/button/src/button.component.d.ts +7 -1
  207. package/types/button/src/button.props.d.ts +6 -0
  208. package/types/button-edit/index.d.ts +2 -0
  209. package/types/button-edit/src/button-edit.component.d.ts +2 -137
  210. package/types/button-edit/src/button-edit.props.d.ts +5 -119
  211. package/types/button-edit/src/components/button-group.component.d.ts +3 -0
  212. package/types/button-edit/src/components/popup-container.component.d.ts +4 -0
  213. package/types/button-edit/src/components/text-edit.component.d.ts +4 -0
  214. package/types/button-edit/src/composition/types.d.ts +15 -1
  215. package/types/button-edit/src/composition/use-button.d.ts +2 -2
  216. package/types/button-edit/src/composition/use-clear.d.ts +2 -2
  217. package/types/button-edit/src/composition/use-popup.d.ts +4 -0
  218. package/types/button-edit/src/composition/use-text-box.d.ts +2 -2
  219. package/types/button-edit/src/schema/schema-mapper.d.ts +2 -0
  220. package/types/{data-grid/src/composition/use-fit-column.d.ts → calculator/index.d.ts} +8 -5
  221. package/types/{combo-list/src/components/options.component.d.ts → calculator/src/calculator.component.d.ts} +2 -6
  222. package/types/calculator/src/calculator.props.d.ts +23 -0
  223. package/types/calculator/src/composition/use-calculator.d.ts +26 -0
  224. package/types/calendar/index.d.ts +21 -0
  225. package/types/calendar/src/calendar.props.d.ts +26 -0
  226. package/types/calendar/src/components/day/day-view.props.d.ts +34 -0
  227. package/types/calendar/src/components/header/header.props.d.ts +24 -0
  228. package/types/calendar/src/components/month/month-view.props.d.ts +69 -0
  229. package/types/calendar/src/components/week/week-view.component.d.ts +106 -0
  230. package/types/calendar/src/components/week/week-view.props.d.ts +51 -0
  231. package/types/calendar/src/composition/types.d.ts +57 -0
  232. package/types/calendar/src/composition/use-calendar.d.ts +2 -0
  233. package/types/calendar/src/composition/use-compare.d.ts +2 -0
  234. package/types/calendar/src/composition/use-date.d.ts +2 -0
  235. package/types/calendar/src/composition/use-event.d.ts +30 -0
  236. package/types/calendar/src/composition/use-month.d.ts +2 -0
  237. package/types/calendar/src/types/calendar.d.ts +13 -0
  238. package/types/calendar/src/types/common.d.ts +32 -0
  239. package/types/calendar/src/types/month-view.d.ts +23 -0
  240. package/types/calendar/src/types/month.d.ts +20 -0
  241. package/types/calendar/src/types/schedule.d.ts +35 -0
  242. package/types/capsule/index.d.ts +8 -0
  243. package/types/capsule/src/capsule.props.d.ts +67 -0
  244. package/types/checkbox/index.d.ts +1 -0
  245. package/types/checkbox/src/checkbox-group.component.d.ts +2 -146
  246. package/types/checkbox/src/checkbox-group.props.d.ts +2 -106
  247. package/types/checkbox/src/composition/types.d.ts +3 -3
  248. package/types/checkbox/src/schema/schema-mapper.d.ts +2 -0
  249. package/types/{combo-list/src/composition → color-picker}/index.d.ts +7 -3
  250. package/types/color-picker/src/color-picker.props.d.ts +62 -0
  251. package/types/color-picker/src/composition/class/base-color.class.d.ts +3 -0
  252. package/types/color-picker/src/composition/class/cmyk.class.d.ts +21 -0
  253. package/types/color-picker/src/composition/class/colors-table.class.d.ts +154 -0
  254. package/types/color-picker/src/composition/class/control.class.d.ts +47 -0
  255. package/types/color-picker/src/composition/class/helper.functions.d.ts +4 -0
  256. package/types/color-picker/src/composition/class/hsla.class.d.ts +21 -0
  257. package/types/color-picker/src/composition/class/hsva.class.d.ts +21 -0
  258. package/types/color-picker/src/composition/class/rgba.class.d.ts +21 -0
  259. package/types/{list-view/src/components/list-view-checkbox.component.d.ts → color-picker/src/composition/component/alpha.d.ts} +17 -17
  260. package/types/color-picker/src/composition/component/hue.d.ts +40 -0
  261. package/types/color-picker/src/composition/component/preset.d.ts +43 -0
  262. package/types/color-picker/src/composition/component/props/alpha.props.d.ts +16 -0
  263. package/types/color-picker/src/composition/component/props/hue.props.d.ts +19 -0
  264. package/types/color-picker/src/composition/component/props/preset.props.d.ts +20 -0
  265. package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +20 -0
  266. package/types/color-picker/src/composition/component/sv-panel.d.ts +43 -0
  267. package/types/combo-list/index.d.ts +2 -2
  268. package/types/combo-list/src/combo-list.props.d.ts +32 -263
  269. package/types/combo-list/src/components/list-container.props.d.ts +54 -0
  270. package/types/combo-list/src/composition/types.d.ts +10 -0
  271. package/types/combo-list/src/composition/use-data-source.d.ts +3 -0
  272. package/types/combo-list/src/designer/combo-list.design.component.d.ts +6 -0
  273. package/types/combo-list/src/schema/schema-mapper.d.ts +2 -0
  274. package/types/component/index.d.ts +26 -0
  275. package/types/component/src/component.props.d.ts +4 -0
  276. package/types/component/src/designer/types.d.ts +10 -0
  277. package/types/component/src/designer/use-designer-rules.d.ts +2 -0
  278. package/types/component/src/schema/schema-mapper.d.ts +2 -0
  279. package/types/{date-picker → condition}/index.d.ts +4 -8
  280. package/types/condition/src/composition/condition-value/checkbox-value.d.ts +13 -0
  281. package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +19 -0
  282. package/types/condition/src/composition/condition-value/date-picker-value.d.ts +25 -0
  283. package/types/condition/src/composition/condition-value/date-range-value.d.ts +18 -0
  284. package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +13 -0
  285. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +18 -0
  286. package/types/condition/src/composition/condition-value/input-group-value.d.ts +21 -0
  287. package/types/condition/src/composition/condition-value/lookup-value.d.ts +21 -0
  288. package/types/condition/src/composition/condition-value/month-picker-value.d.ts +15 -0
  289. package/types/condition/src/composition/condition-value/month-range-value.d.ts +18 -0
  290. package/types/condition/src/composition/condition-value/number-range-value.d.ts +21 -0
  291. package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +13 -0
  292. package/types/condition/src/composition/condition-value/radio-group-value.d.ts +13 -0
  293. package/types/condition/src/composition/condition-value/text-value.d.ts +13 -0
  294. package/types/condition/src/composition/condition-value/types.d.ts +9 -0
  295. package/types/condition/src/composition/types.d.ts +41 -0
  296. package/types/condition/src/composition/use-compare.d.ts +40 -0
  297. package/types/condition/src/composition/use-condition-value.d.ts +2 -0
  298. package/types/condition/src/composition/use-condition.d.ts +2 -0
  299. package/types/condition/src/composition/use-field-config.d.ts +4 -0
  300. package/types/condition/src/composition/use-selection.d.ts +4 -0
  301. package/types/condition/src/condition.props.d.ts +58 -0
  302. package/types/condition/src/types.d.ts +144 -0
  303. package/types/{number-spinner/src/composition/use-data.d.ts → content-container/index.d.ts} +11 -4
  304. package/types/content-container/src/content-container.props.d.ts +4 -0
  305. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -0
  306. package/types/content-container/src/schema/schema-mapper.d.ts +2 -0
  307. package/types/data-grid/index.d.ts +3 -0
  308. package/types/data-grid/src/components/data/data-area.component.d.ts +1 -1
  309. package/types/data-grid/src/components/editors/commands.component.d.ts +18 -0
  310. package/types/data-grid/src/components/editors/date-picker.component.d.ts +3 -2
  311. package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +3 -2
  312. package/types/data-grid/src/components/editors/text-editor.component.d.ts +3 -2
  313. package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +2 -0
  314. package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +19 -0
  315. package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +2 -0
  316. package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +3 -0
  317. package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +2 -0
  318. package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +2 -0
  319. package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +3 -0
  320. package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +5 -0
  321. package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +21 -0
  322. package/types/data-grid/src/components/header/data-grid-header.component.d.ts +2 -2
  323. package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +3 -3
  324. package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +1 -1
  325. package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +1 -1
  326. package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +21 -0
  327. package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +1 -1
  328. package/types/data-grid/src/composition/types.d.ts +137 -11
  329. package/types/data-grid/src/composition/use-column-filter.d.ts +3 -0
  330. package/types/data-grid/src/composition/use-column.d.ts +3 -0
  331. package/types/data-grid/src/composition/use-command-column.d.ts +3 -0
  332. package/types/data-grid/src/composition/use-data-view.d.ts +13 -3
  333. package/types/data-grid/src/composition/use-drag-column.d.ts +4 -0
  334. package/types/data-grid/src/composition/use-filter-history.d.ts +2 -0
  335. package/types/data-grid/src/composition/use-row.d.ts +18 -2
  336. package/types/data-grid/src/composition/use-selection.d.ts +3 -0
  337. package/types/data-grid/src/composition/use-sort.d.ts +3 -0
  338. package/types/data-grid/src/composition/use-virtual-scroll.d.ts +1 -1
  339. package/types/data-grid/src/composition/use-visual-data-bound.d.ts +2 -0
  340. package/types/data-grid/src/composition/use-visual-data-cell.d.ts +3 -0
  341. package/types/data-grid/src/composition/use-visual-data-row.d.ts +3 -0
  342. package/types/data-grid/src/composition/use-visual-data.d.ts +2 -2
  343. package/types/data-grid/src/composition/use-visual-summary-row.d.ts +3 -0
  344. package/types/data-grid/src/data-grid.props.d.ts +23 -161
  345. package/types/data-grid/src/schema/schema-mapper.d.ts +2 -0
  346. package/types/date-picker/src/components/calendar/calendar.component.d.ts +4 -4
  347. package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +2 -2
  348. package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +11 -11
  349. package/types/date-picker/src/components/month/month.component.d.ts +3 -3
  350. package/types/date-picker/src/components/year/year.component.d.ts +2 -2
  351. package/types/date-picker/src/date-picker.component.d.ts +2 -332
  352. package/types/date-picker/src/date-picker.props.d.ts +2 -151
  353. package/types/date-picker/src/designer/date-picker.design.component.d.ts +6 -0
  354. package/types/date-picker/src/schema/schema-mapper.d.ts +2 -0
  355. package/types/designer-canvas/index.d.ts +8 -0
  356. package/types/designer-canvas/src/components/designer-item.props.d.ts +3 -0
  357. package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +7 -0
  358. package/types/designer-canvas/src/components/maps.d.ts +3 -0
  359. package/types/designer-canvas/src/components/toolbox.props.d.ts +11 -0
  360. package/types/designer-canvas/src/composition/types.d.ts +27 -0
  361. package/types/designer-canvas/src/designer-canvas.props.d.ts +3 -0
  362. package/types/designer-canvas/src/types.d.ts +40 -0
  363. package/types/discussion-editor/discussion-editor.component.d.ts +121 -0
  364. package/types/discussion-editor/discussion-editor.props.d.ts +69 -0
  365. package/types/discussion-editor/index.d.ts +23 -0
  366. package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +15 -0
  367. package/types/discussion-editor/src/types/interface.d.ts +22 -0
  368. package/types/discussion-list/discussion-list.component.d.ts +70 -0
  369. package/types/discussion-list/discussion-list.props.d.ts +52 -0
  370. package/types/discussion-list/index.d.ts +23 -0
  371. package/types/dropdown/index.d.ts +9 -0
  372. package/types/dropdown/src/composition/function/use-dropdown.d.ts +26 -0
  373. package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +46 -0
  374. package/types/dropdown/src/composition/props/dropdown.props.d.ts +99 -0
  375. package/types/dropdown/src/dropdown.component.d.ts +179 -0
  376. package/types/dropdown/src/dropdown.item.component.d.ts +76 -0
  377. package/types/dropdown/src/types.d.ts +46 -0
  378. package/types/dynamic-form/index.d.ts +14 -0
  379. package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +4 -0
  380. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +15 -0
  381. package/types/dynamic-form/src/composition/types.d.ts +5 -0
  382. package/types/dynamic-form/src/dynamic-form.props.d.ts +3 -0
  383. package/types/dynamic-form/src/schema/schema-mapper.d.ts +2 -0
  384. package/types/dynamic-form/src/types.d.ts +17 -0
  385. package/types/dynamic-resolver/index.d.ts +3 -0
  386. package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +6 -0
  387. package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
  388. package/types/dynamic-resolver/src/schema-resolver.d.ts +5 -0
  389. package/types/dynamic-resolver/src/types.d.ts +1 -0
  390. package/types/dynamic-view/index.d.ts +8 -0
  391. package/types/dynamic-view/src/components/maps.d.ts +4 -0
  392. package/types/dynamic-view/src/dynamic-view.props.d.ts +15 -0
  393. package/types/filter-bar/index.d.ts +7 -0
  394. package/types/filter-bar/src/components/ellipsis-button.component.d.ts +3 -0
  395. package/types/filter-bar/src/components/filter-item.component.d.ts +5 -0
  396. package/types/filter-bar/src/components/toolbar-component.d.ts +4 -0
  397. package/types/filter-bar/src/composition/types.d.ts +14 -0
  398. package/types/filter-bar/src/composition/use-filter-items.d.ts +4 -0
  399. package/types/filter-bar/src/filter-bar.props.d.ts +53 -0
  400. package/types/filter-bar/src/types.d.ts +9 -0
  401. package/types/image-cropper/index.d.ts +23 -0
  402. package/types/image-cropper/src/composition/type.d.ts +44 -0
  403. package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +2 -0
  404. package/types/image-cropper/src/composition/use-image-cropper.d.ts +20 -0
  405. package/types/image-cropper/src/image-cropper.component.d.ts +248 -0
  406. package/types/image-cropper/src/image-cropper.props.d.ts +153 -0
  407. package/types/index.d.ts +5 -0
  408. package/types/input-group/index.d.ts +25 -0
  409. package/types/input-group/src/components/appended-button.component.d.ts +4 -0
  410. package/types/input-group/src/components/text-edit.component.d.ts +4 -0
  411. package/types/input-group/src/composition/types.d.ts +37 -0
  412. package/types/input-group/src/composition/use-appended-button.d.ts +4 -0
  413. package/types/input-group/src/composition/use-clear.d.ts +4 -0
  414. package/types/input-group/src/composition/use-password.d.ts +4 -0
  415. package/types/input-group/src/composition/use-text-box.d.ts +4 -0
  416. package/types/input-group/src/input-group.props.d.ts +4 -0
  417. package/types/input-group/src/schema/schema-mapper.d.ts +2 -0
  418. package/types/list-nav/index.d.ts +23 -0
  419. package/types/list-nav/src/list-nav.component.d.ts +61 -0
  420. package/types/list-nav/src/list-nav.props.d.ts +51 -0
  421. package/types/list-view/src/components/header/content-header.component.d.ts +6 -0
  422. package/types/list-view/src/components/header/search-header.component.d.ts +6 -0
  423. package/types/list-view/src/components/list-view-checkbox.props.d.ts +7 -0
  424. package/types/list-view/src/composition/types.d.ts +40 -0
  425. package/types/list-view/src/composition/use-data-view.d.ts +4 -0
  426. package/types/list-view/src/composition/use-draggable.d.ts +4 -0
  427. package/types/list-view/src/composition/use-hover.d.ts +2 -0
  428. package/types/list-view/src/composition/use-item.d.ts +4 -0
  429. package/types/list-view/src/composition/use-remove.d.ts +4 -0
  430. package/types/list-view/src/composition/use-search.d.ts +5 -0
  431. package/types/list-view/src/composition/use-selection.d.ts +4 -0
  432. package/types/list-view/src/list-view.component.d.ts +157 -14
  433. package/types/list-view/src/list-view.props.d.ts +76 -7
  434. package/types/loading/index.d.ts +23 -0
  435. package/types/loading/src/composition/types.d.ts +19 -0
  436. package/types/{combo-list/src/components/option.component.d.ts → loading/src/loading.component.d.ts} +24 -22
  437. package/types/loading/src/loading.props.d.ts +35 -0
  438. package/types/loading/src/loading.service.d.ts +4 -0
  439. package/types/locale/src/lib/locale.service.d.ts +26 -0
  440. package/types/locale/src/lib/locales/en-us/avatar.d.ts +7 -0
  441. package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +15 -0
  442. package/types/locale/src/lib/locales/en-us/collapse.d.ts +4 -0
  443. package/types/locale/src/lib/locales/en-us/combo.d.ts +4 -0
  444. package/types/locale/src/lib/locales/en-us/datagrid.d.ts +103 -0
  445. package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +25 -0
  446. package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +50 -0
  447. package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +25 -0
  448. package/types/locale/src/lib/locales/en-us/footer.d.ts +4 -0
  449. package/types/locale/src/lib/locales/en-us/index.d.ts +568 -0
  450. package/types/locale/src/lib/locales/en-us/language-label.d.ts +8 -0
  451. package/types/locale/src/lib/locales/en-us/list-filter.d.ts +6 -0
  452. package/types/locale/src/lib/locales/en-us/list-view.d.ts +3 -0
  453. package/types/locale/src/lib/locales/en-us/loading.d.ts +3 -0
  454. package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +38 -0
  455. package/types/locale/src/lib/locales/en-us/lookup.d.ts +48 -0
  456. package/types/locale/src/lib/locales/en-us/messager.d.ts +28 -0
  457. package/types/locale/src/lib/locales/en-us/multi-select.d.ts +15 -0
  458. package/types/locale/src/lib/locales/en-us/notify.d.ts +3 -0
  459. package/types/locale/src/lib/locales/en-us/numeric.d.ts +7 -0
  460. package/types/locale/src/lib/locales/en-us/page-walker.d.ts +6 -0
  461. package/types/locale/src/lib/locales/en-us/pagination.d.ts +17 -0
  462. package/types/locale/src/lib/locales/en-us/progress-step.d.ts +3 -0
  463. package/types/locale/src/lib/locales/en-us/query-condition.d.ts +33 -0
  464. package/types/locale/src/lib/locales/en-us/query-solution.d.ts +41 -0
  465. package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +3 -0
  466. package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +3 -0
  467. package/types/locale/src/lib/locales/en-us/section.d.ts +4 -0
  468. package/types/locale/src/lib/locales/en-us/sidebar.d.ts +3 -0
  469. package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +15 -0
  470. package/types/locale/src/lib/locales/en-us/tabs.d.ts +3 -0
  471. package/types/locale/src/lib/locales/en-us/tag.d.ts +4 -0
  472. package/types/locale/src/lib/locales/en-us/text.d.ts +10 -0
  473. package/types/locale/src/lib/locales/en-us/treetable.d.ts +8 -0
  474. package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +5 -0
  475. package/types/locale/src/lib/locales/index.d.ts +1712 -0
  476. package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +7 -0
  477. package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +15 -0
  478. package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +4 -0
  479. package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +4 -0
  480. package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +103 -0
  481. package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +25 -0
  482. package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +50 -0
  483. package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +25 -0
  484. package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +4 -0
  485. package/types/locale/src/lib/locales/zh-CHT/index.d.ts +568 -0
  486. package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +8 -0
  487. package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +6 -0
  488. package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +3 -0
  489. package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +3 -0
  490. package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +38 -0
  491. package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +48 -0
  492. package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +28 -0
  493. package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +15 -0
  494. package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +3 -0
  495. package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +7 -0
  496. package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +6 -0
  497. package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +17 -0
  498. package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +3 -0
  499. package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +33 -0
  500. package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +41 -0
  501. package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +3 -0
  502. package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +3 -0
  503. package/types/locale/src/lib/locales/zh-CHT/section.d.ts +4 -0
  504. package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +3 -0
  505. package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +15 -0
  506. package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +3 -0
  507. package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +4 -0
  508. package/types/locale/src/lib/locales/zh-CHT/text.d.ts +10 -0
  509. package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +8 -0
  510. package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +5 -0
  511. package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +7 -0
  512. package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +15 -0
  513. package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +4 -0
  514. package/types/locale/src/lib/locales/zh-cn/combo.d.ts +4 -0
  515. package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +105 -0
  516. package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +25 -0
  517. package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +50 -0
  518. package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +25 -0
  519. package/types/locale/src/lib/locales/zh-cn/footer.d.ts +4 -0
  520. package/types/locale/src/lib/locales/zh-cn/index.d.ts +574 -0
  521. package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +8 -0
  522. package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +6 -0
  523. package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +3 -0
  524. package/types/locale/src/lib/locales/zh-cn/loading.d.ts +3 -0
  525. package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +38 -0
  526. package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +48 -0
  527. package/types/locale/src/lib/locales/zh-cn/messager.d.ts +32 -0
  528. package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +15 -0
  529. package/types/locale/src/lib/locales/zh-cn/notify.d.ts +3 -0
  530. package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +7 -0
  531. package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +6 -0
  532. package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +17 -0
  533. package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +3 -0
  534. package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +33 -0
  535. package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +41 -0
  536. package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +3 -0
  537. package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +3 -0
  538. package/types/locale/src/lib/locales/zh-cn/section.d.ts +4 -0
  539. package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +3 -0
  540. package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +15 -0
  541. package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +3 -0
  542. package/types/locale/src/lib/locales/zh-cn/tag.d.ts +4 -0
  543. package/types/locale/src/lib/locales/zh-cn/text.d.ts +10 -0
  544. package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +8 -0
  545. package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +5 -0
  546. package/types/message-box/src/components/footer/footer.component.d.ts +4 -0
  547. package/types/message-box/src/components/message-content/reactive-content.component.d.ts +3 -0
  548. package/types/message-box/src/components/message-content/static-content.component.d.ts +3 -0
  549. package/types/message-box/src/components/message-detail/exception-message.component.d.ts +3 -0
  550. package/types/message-box/src/components/message-detail/static-message.component.d.ts +2 -0
  551. package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +3 -0
  552. package/types/message-box/src/composition/types.d.ts +9 -0
  553. package/types/message-box/src/composition/use-copy.d.ts +1 -17
  554. package/types/message-box/src/composition/use-editor.d.ts +4 -0
  555. package/types/message-box/src/composition/use-feedback.d.ts +2 -0
  556. package/types/message-box/src/message-box.component.d.ts +17 -21
  557. package/types/message-box/src/message-box.props.d.ts +8 -6
  558. package/types/modal/index.d.ts +2 -1
  559. package/types/modal/src/modal.component.d.ts +3 -3
  560. package/types/modal/src/modal.service.d.ts +17 -0
  561. package/types/{data-grid/src/composition/use-edit.d.ts → nav/index.d.ts} +8 -3
  562. package/types/nav/src/composition/types.d.ts +6 -0
  563. package/types/nav/src/nav.component.d.ts +87 -0
  564. package/types/nav/src/nav.props.d.ts +62 -0
  565. package/types/number-range/index.d.ts +1 -0
  566. package/types/number-range/src/components/spinner.component.d.ts +4 -0
  567. package/types/number-range/src/components/text-box.component.d.ts +4 -0
  568. package/types/number-range/src/composition/types.d.ts +31 -29
  569. package/types/number-range/src/composition/use-format.d.ts +4 -0
  570. package/types/number-range/src/composition/use-number.d.ts +4 -0
  571. package/types/number-range/src/composition/use-spinner.d.ts +4 -0
  572. package/types/number-range/src/composition/use-text-box.d.ts +4 -0
  573. package/types/number-range/src/number-range.component.d.ts +2 -245
  574. package/types/number-range/src/number-range.props.d.ts +3 -200
  575. package/types/number-range/src/schema/schema-mapper.d.ts +2 -0
  576. package/types/number-spinner/index.d.ts +2 -0
  577. package/types/number-spinner/src/components/spinner.component.d.ts +4 -0
  578. package/types/number-spinner/src/components/text-box.component.d.ts +4 -0
  579. package/types/number-spinner/src/composition/types.d.ts +33 -28
  580. package/types/number-spinner/src/composition/use-format.d.ts +4 -0
  581. package/types/number-spinner/src/composition/use-number.d.ts +4 -0
  582. package/types/number-spinner/src/composition/use-spinner.d.ts +4 -0
  583. package/types/number-spinner/src/composition/use-text-box.d.ts +4 -0
  584. package/types/number-spinner/src/designer/number-spinner.component.d.ts +6 -0
  585. package/types/number-spinner/src/number-spinner.component.d.ts +2 -200
  586. package/types/number-spinner/src/number-spinner.props.d.ts +3 -165
  587. package/types/number-spinner/src/schema/schema-mapper.d.ts +2 -0
  588. package/types/order/index.d.ts +8 -0
  589. package/types/order/src/order.props.d.ts +44 -0
  590. package/types/overlay/src/overlay.component.d.ts +6 -0
  591. package/types/overlay/src/overlay.props.d.ts +4 -1
  592. package/types/overlay/src/overlay.service.d.ts +16 -0
  593. package/types/page-footer/index.d.ts +8 -0
  594. package/types/page-footer/src/page-footer.props.d.ts +40 -0
  595. package/types/page-header/index.d.ts +10 -0
  596. package/types/page-header/src/page-header.props.d.ts +4 -0
  597. package/types/page-header/src/schema/schema-mapper.d.ts +2 -0
  598. package/types/pagination/src/components/pages/page-list.component.d.ts +1 -1
  599. package/types/pagination/src/pagination.components.d.ts +1 -1
  600. package/types/popover/src/composition/types.d.ts +24 -0
  601. package/types/popover/src/composition/use-host.d.ts +3 -0
  602. package/types/popover/src/composition/use-popup.d.ts +4 -0
  603. package/types/popover/src/composition/use-position.d.ts +4 -0
  604. package/types/popover/src/composition/use-resize.d.ts +4 -0
  605. package/types/popover/src/popover.component.d.ts +78 -0
  606. package/types/popover/src/popover.props.d.ts +37 -1
  607. package/types/propress/index.d.ts +8 -0
  608. package/types/propress/src/progress.props.d.ts +49 -0
  609. package/types/query-solution/index.d.ts +25 -0
  610. package/types/query-solution/src/designer/query-solution.design.component.d.ts +6 -0
  611. package/types/query-solution/src/query-solution.component.d.ts +6 -0
  612. package/types/query-solution/src/query-solution.d.ts +40 -0
  613. package/types/query-solution/src/query-solution.props.d.ts +19 -0
  614. package/types/query-solution/src/schema/preset-resolver.d.ts +5 -0
  615. package/types/query-solution/src/schema/schema-mapper.d.ts +2 -0
  616. package/types/radio-group/index.d.ts +1 -0
  617. package/types/radio-group/src/radio-group.component.d.ts +2 -89
  618. package/types/radio-group/src/radio-group.props.d.ts +2 -70
  619. package/types/radio-group/src/schema/schema-mapper.d.ts +2 -0
  620. package/types/{combo-list/src/composition/use-option.d.ts → rate/index.d.ts} +8 -4
  621. package/types/rate/src/rate.component.d.ts +124 -0
  622. package/types/rate/src/rate.props.d.ts +86 -0
  623. package/types/response-toolbar/index.d.ts +10 -0
  624. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +5 -0
  625. package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +7 -0
  626. package/types/response-toolbar/src/composition/types.d.ts +9 -0
  627. package/types/response-toolbar/src/composition/use-icon.d.ts +2 -0
  628. package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +2 -0
  629. package/types/response-toolbar/src/response-toolbar.props.d.ts +26 -0
  630. package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +13 -0
  631. package/types/response-toolbar/src/types/response-toolbar-group.d.ts +19 -0
  632. package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +36 -0
  633. package/types/response-toolbar/src/types/response-toolbar-item.d.ts +4 -0
  634. package/types/search-box/index.d.ts +24 -0
  635. package/types/search-box/src/components/search-box-container.props.d.ts +21 -0
  636. package/types/search-box/src/schema/schema-mapper.d.ts +2 -0
  637. package/types/search-box/src/search-box.props.d.ts +4 -0
  638. package/types/section/index.d.ts +2 -0
  639. package/types/section/src/schema/schema-mapper.d.ts +2 -0
  640. package/types/section/src/section.component.d.ts +2 -185
  641. package/types/section/src/section.props.d.ts +3 -86
  642. package/types/splitter/index.d.ts +10 -0
  643. package/types/splitter/src/components/splitter-pane.props.d.ts +5 -0
  644. package/types/splitter/src/composition/types.d.ts +23 -0
  645. package/types/splitter/src/composition/use-resize-handle.d.ts +3 -0
  646. package/types/splitter/src/composition/use-resize-pane.d.ts +3 -0
  647. package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +2 -0
  648. package/types/splitter/src/schema/splitter-schema-mapper.d.ts +2 -0
  649. package/types/splitter/src/splitter.props.d.ts +5 -0
  650. package/types/step/index.d.ts +8 -0
  651. package/types/step/src/step.props.d.ts +46 -0
  652. package/types/switch/index.d.ts +1 -0
  653. package/types/switch/src/schema/schema-mapper.d.ts +2 -0
  654. package/types/switch/src/switch.component.d.ts +2 -64
  655. package/types/switch/src/switch.props.d.ts +3 -35
  656. package/types/tabs/index.d.ts +2 -0
  657. package/types/tabs/src/components/more-pages-button.component.d.ts +5 -0
  658. package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +5 -0
  659. package/types/tabs/src/components/tab-header-item.component.d.ts +4 -0
  660. package/types/tabs/src/components/tab-header.component.d.ts +4 -0
  661. package/types/tabs/src/components/tab-page.component.d.ts +2 -99
  662. package/types/tabs/src/components/tab-page.props.d.ts +3 -47
  663. package/types/tabs/src/composition/types.d.ts +36 -5
  664. package/types/tabs/src/composition/use-dropdown.d.ts +3 -0
  665. package/types/tabs/src/composition/use-nav.d.ts +4 -0
  666. package/types/tabs/src/composition/use-one-page.d.ts +4 -0
  667. package/types/tabs/src/composition/use-tabs.d.ts +3 -2
  668. package/types/tabs/src/schema/schema-mapper.d.ts +2 -0
  669. package/types/tabs/src/tabs.props.d.ts +5 -69
  670. package/types/tags/index.d.ts +8 -0
  671. package/types/tags/src/composition/types.d.ts +13 -0
  672. package/types/tags/src/composition/use-draggable.d.ts +4 -0
  673. package/types/tags/src/tags.props.d.ts +92 -0
  674. package/types/time-picker/index.d.ts +11 -0
  675. package/types/time-picker/src/components/time-holder.d.ts +82 -0
  676. package/types/time-picker/src/components/time.props.d.ts +48 -0
  677. package/types/time-picker/src/components/utils/check.d.ts +1 -0
  678. package/types/time-picker/src/schema/schema-mapper.d.ts +2 -0
  679. package/types/time-picker/src/time-picker.props.d.ts +4 -0
  680. package/types/transfer/index.d.ts +8 -0
  681. package/types/transfer/src/transfer.props.d.ts +71 -0
  682. package/types/tree-view/index.d.ts +8 -0
  683. package/types/tree-view/src/components/data/control-tree-view.component.d.ts +108 -0
  684. package/types/tree-view/src/components/data/tree-area.component.d.ts +8 -0
  685. package/types/tree-view/src/composition/types.d.ts +97 -0
  686. package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +4 -0
  687. package/types/tree-view/src/composition/use-tree-data-view.d.ts +21 -0
  688. package/types/tree-view/src/composition/use-tree-node-icon.d.ts +4 -0
  689. package/types/tree-view/src/composition/use-tree-node-lines.d.ts +3 -0
  690. package/types/tree-view/src/composition/use-visual-tree-node.d.ts +9 -0
  691. package/types/tree-view/src/control-tree-view.props.d.ts +58 -0
  692. package/types/tree-view/src/tree-view.component.d.ts +97 -0
  693. package/types/tree-view/src/tree-view.props.d.ts +54 -0
  694. package/types/uploader/index.d.ts +25 -0
  695. package/types/uploader/src/components/sub-component.props.d.ts +63 -0
  696. package/types/uploader/src/components/upload-progress.component.d.ts +41 -0
  697. package/types/uploader/src/composition/type.d.ts +135 -0
  698. package/types/uploader/src/service/get-service.d.ts +2 -0
  699. package/types/uploader/src/uploader.props.d.ts +156 -0
  700. package/types/verify-detail/index.d.ts +23 -0
  701. package/types/verify-detail/src/verify-detail.component.d.ts +70 -0
  702. package/types/verify-detail/src/verify-detail.props.d.ts +36 -0
  703. package/uploader/index.esm.js +1972 -0
  704. package/uploader/index.umd.js +17 -0
  705. package/uploader/package.json +8 -0
  706. package/uploader/style.css +1 -0
  707. package/verify-detail/index.esm.js +187 -0
  708. package/verify-detail/index.umd.js +1 -0
  709. package/verify-detail/package.json +8 -0
  710. package/verify-detail/style.css +1 -0
  711. package/types/combo-list/src/combo-list.component.d.ts +0 -232
  712. package/types/combo-list/src/components/panel.component.d.ts +0 -25
  713. package/types/combo-list/src/composition/use-combo-list.d.ts +0 -30
  714. package/types/combo-list/src/composition/use-options.d.ts +0 -2
  715. package/types/combo-list/src/composition/use-panel.d.ts +0 -8
  716. package/types/combo-list/src/const.d.ts +0 -40
  717. package/types/combo-list/src/types.d.ts +0 -186
  718. package/types/data-grid/src/data-grid.component.d.ts +0 -278
  719. package/types/message-box/src/message-box.service.d.ts +0 -20
  720. package/types/number-range/src/composition/use-data.d.ts +0 -19
  721. package/types/number-range/src/composition/use-util.d.ts +0 -19
  722. package/types/number-spinner/src/composition/use-util.d.ts +0 -19
  723. package/types/tabs/src/tabs.component.d.ts +0 -151
@@ -0,0 +1 @@
1
+ (function(D,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(D=typeof globalThis<"u"?globalThis:D||self,e(D.calendar={},D.Vue))})(this,function(D,e){"use strict";const z={events:{Type:Array,default:[]},firstDayOfTheWeek:{type:String,default:"Sun."}},O=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var I=(t=>(t[t.previous=1]="previous",t[t.current=2]="current",t[t.next=3]="next",t))(I||{});function F(){function t(){return{year:0,month:0,day:0}}function w(r){return new Date(r.year||0,r.month?r.month-1:0,r.day||0,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0)}function u(r){const p=new Date;return r.year||(r.year=p.getFullYear()),r.month||(r.month=p.getMonth()+1),r.day||(r.day=1),new Date(r.year,r.month-1,r.day,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0)}function T(r){return new Date(r.year||1,(r.month||1)-1,r.day,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0).getDay()}function k(r){return O.indexOf(r)}function d(r){return w(r).getTime()}function m(r){return Math.round(d(r)/1e3)}function c(r,p,C){const b=d(p),l=d(C),f=d(r);return l-f>f-b?p:C}function v(){const r=new Date;return{year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds()}}return{emptyDate:t,getDate:w,getDate2:u,getDayNumber:T,getEpocTime:m,getNearDate:c,getWeekdayIndex:k,getTimeInMilliseconds:d,getToday:v}}function X(){function t(d,m){return new Date(m,d,0).getDate()}function w(d,m,c){return new Date(d,m-1,c,0,0,0,0)}function u(d,m){const c=w(m,d,1);return c.setMonth(c.getMonth()-1),t(c.getMonth()+1,c.getFullYear())}function T(d,m){const c={year:d===12?m+1:m},v=d===12?1:d+1;return c.month=v,c}function k(d,m){const c={year:d===1?m-1:m},v=d===1?12:d-1;return c.month=v,c}return{daysInMonth:t,daysInPreMonth:u,getNextMonth:T,getPreviousMonth:k}}function Z(){const{getToday:t,getDayNumber:w}=F(),{daysInMonth:u,daysInPreMonth:T,getNextMonth:k,getPreviousMonth:d}=X();function m(i){const h=O.indexOf(i);return h>0?7-h:0}function c(i){const{day:h,month:o,year:a}=i;if(h===void 0||o===void 0||a===void 0)throw new Error("invalided date.");const n=h===1,s=n?T(o,a):h-1,y=n?o-1:o,V=y<1,g=V?12:y;return{year:V?a-1:a,month:g,day:s}}function v(i){const{day:h,month:o,year:a}=i;if(h===void 0||o===void 0||a===void 0)throw new Error("invalided date.");const n=u(o,a),s=h===n,y=s?1:h+1,V=s?o+1:o,g=V>12,M=g?1:V;return{year:g?a+1:a,month:M,day:y}}function r(i){const h=d(i.month||1,i.year||1),o=u(h.month||1,h.year||1);return{day:(i.day||1)<=o?i.day:o,month:h.month,year:h.year}}function p(i){const h=k(i.month||1,i.year||1),o=u(h.month||1,h.year||1);return{day:(i.day||1)<=o?i.day:o,month:h.month,year:h.year}}function C(i){const o=(i.day||1)-7,a=o<1,n=a?u(i.month||1,i.year||1)+o:o,s=a?d(i.month||1,i.year||1):i;return{day:n,month:s.month,year:s.year}}function b(i){const o=(i.day||1)+7,a=u(i.month||1,i.year||1),n=o>a,s=n?o-a:o,y=n?k(i.month||1,i.year||1):i;return{day:s,month:y.month,year:y.year}}function l(i,h,o,a){const n={day:i,month:h,year:o},y=m(a)===0?1:0,V=w(n)+y,g=t();let M=c(n);const W=[];for(let x=V-1;x>=1;x--){const A=M.month!==n.month?I.previous:I.current,_=M.month===h&&M.day===g.day&&M.month===g.month&&M.year===g.year;W.push({date:M,monthTag:A,isCurrent:_}),x>1&&(M=c(M))}let P=v(n);const S=[];for(let x=V+1;x<=7;x++){const A=M.month!==n.month?I.next:I.current,_=P.day===g.day&&P.month===g.month&&P.year===g.year;S.push({date:P,monthTag:A,isCurrent:_}),x<7&&(P=v(P))}const E=i===g.day&&h===g.month&&o===g.year;return{days:[...W.reverse(),{date:n,monthTag:I.current,isCurrent:E},...S],weekNumber:0,year:o}}function f(i,h,o){const a=[],n=u(i,h);for(let s=1;s<=n;s+=7){const y=l(s,i,h,o);a.push(y)}return a}return{getMonthlyCalendar:f,getWeeklyCalendar:l,getPreviousDay:c,getNextDay:v,getDayInPreviousWeek:C,getDayInNextWeek:b,getDayInPreviousMonth:r,getDayInNextMonth:p}}function j(){const{getTimeInMilliseconds:t}=F();function w(l){return l&&l.year!==0&&l.month!==0&&l.day!==0}function u(l){return l&&l.year!==0&&l.month!==0}function T(l){return l&&l.year!==0}function k(l,f){return t(l)<t(f)}function d(l,f){return t(l)<=t(f)}function m(l,f){return t(l)===t(f)}function c(l,f){const i=t(f);return t(l.from)===i||t(l.to)===i}function v(l,f){return!f||!w(f.to)||!w(f.from)?!1:d(f.from,l)&&d(l,f.to)}function r(l,f){return w(f)&&t(l)>=t(f)}function p(l,f){return w(f)&&t(l)<=t(f)}function C(l,f){return t({year:l.year,month:l.month,day:l.day})===t({year:f.year,month:f.month,day:f.day})}function b(l,f){return t({hour:l.hour,minute:l.minute,second:l.second})===t({hour:f.hour,minute:f.minute,second:f.second})}return{isDateEarlier:k,equal:m,inPeriod:v,isPoint:c,equalOrEarlier:d,isInitializedDate:w,isInitializedMonth:u,isInitializedYear:T,isMonthDisabledByDisableSince:r,isMonthDisabledByDisableUntil:p,sameTime:b,sameDay:C}}const $={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},H=e.defineComponent({name:"FCalendar",props:z,emits:[],setup(t,w){const{sameDay:u}=j(),{getToday:T}=F(),k=e.ref(t.firstDayOfTheWeek),d=e.ref(t.events),m=T(),c=e.ref({year:m.year||1,month:m.month||1,day:m.day||1}),v=e.ref(3),{getMonthlyCalendar:r,getWeeklyCalendar:p,getPreviousDay:C,getNextDay:b,getDayInPreviousWeek:l,getDayInNextWeek:f,getDayInPreviousMonth:i,getDayInNextMonth:h}=Z(),o=e.computed(()=>`${$[c.value.month||1]} ${c.value.year}`),a=e.computed(()=>r(c.value.month||1,c.value.year||1,k.value)),n=e.computed(()=>p(c.value.day||1,c.value.month||1,c.value.year||1,k.value)),s=e.computed(()=>n.value.days.find(N=>u(N.date,c.value))||n.value.days[1]),y=e.computed(()=>{const N=n.value.days.findIndex(A=>u(A.date,c.value)),x=N>-1?N:1;return O[x]}),V=e.computed(()=>v.value===3),g=e.computed(()=>v.value===2),M=e.computed(()=>v.value===1);function W(N){v.value=N}function P(N){N===1&&(c.value=C(c.value)),N===2&&(c.value=l(c.value)),N===3&&(c.value=i(c.value))}function S(N){N===1&&(c.value=b(c.value)),N===2&&(c.value=f(c.value)),N===3&&(c.value=h(c.value))}function E(){c.value={year:m.year||1,month:m.month||1,day:m.day||1}}return()=>e.createVNode("div",{class:"f-calendar"},[e.createVNode(e.resolveComponent("f-calendar-header"),{activeView:v.value,title:o.value,onViewChange:N=>W(N),onPrevious:N=>P(N),onNext:N=>S(N),onResetToToday:()=>E()},null),e.createVNode("div",null,[M.value&&e.createVNode(e.resolveComponent("f-calendar-day-view"),{day:s.value,dayInWeek:y.value,events:d.value},null),g.value&&e.createVNode(e.resolveComponent("f-calendar-week-view"),{week:n.value,events:d.value},null),V.value&&e.createVNode(e.resolveComponent("f-calendar-month-view"),{activeDay:c.value,dates:a.value,events:d.value},null)])])}}),J={activeView:{Type:Number,default:3},title:{Type:String,default:""},dailyViewTitle:{Type:String,default:"Day"},weeklyViewTitle:{Type:String,default:"Week"},monthlyViewTitle:{Type:String,default:"Month"}},te="",G=e.defineComponent({name:"FCalendarHeader",props:J,emits:["ViewChange","Previous","Next","ResetToToday"],setup(t,w){const u=e.ref(t.title),T=e.ref(t.dailyViewTitle),k=e.ref(t.weeklyViewTitle),d=e.ref(t.monthlyViewTitle),m=2,c=62,v=e.ref(t.activeView),r=e.ref("Today");e.watch(()=>t.title,()=>{u.value=t.title});const p=e.computed(()=>({top:`${m}px`,left:`${v.value*(m+1)+(v.value-1)*(c+1)}px`})),C=e.computed(()=>v.value===1?T.value:v.value===2?k.value:d.value);function b(){v.value=1,w.emit("ViewChange",1)}function l(){v.value=2,w.emit("ViewChange",2)}function f(){v.value=3,w.emit("ViewChange",3)}function i(){w.emit("Previous",v.value)}function h(){w.emit("Next",v.value)}function o(){w.emit("ResetToToday")}return()=>e.createVNode("div",{class:"f-calendar-header"},[e.createVNode("div",{class:"f-calendar-title"},[u.value]),e.createVNode("div",{class:"f-calendar-navigator"},[e.createVNode("div",{class:"f-calendar-navigator-today btn btn-default",onClick:()=>o()},[r.value]),e.createVNode("div",{class:"f-calendar-navigator-button-group"},[e.createVNode("div",{class:"f-calendar-navigator-previous btn btn-default",onClick:()=>i()},[e.createVNode("i",{class:"k-icon k-i-arrow-chevron-left"},null)]),e.createVNode("div",{class:"f-calendar-navigator-next btn btn-default",onClick:()=>h()},[e.createVNode("i",{class:"k-icon k-i-arrow-chevron-right"},null)])])]),e.createVNode("div",{class:"f-calendar-view-switch"},[e.createVNode("div",{class:"f-calendar-view-switch-panel"},[e.createVNode("span",{class:"f-calendar-view-switch-daily",onClick:a=>b()},[T.value]),e.createVNode("span",{class:"f-calendar-view-switch-weekly",onClick:a=>l()},[k.value]),e.createVNode("span",{class:"f-calendar-view-switch-monthly",onClick:a=>f()},[d.value])]),e.createVNode("div",{class:"f-calendar-view-switch-active-view",style:p.value},[C.value])])])}}),L={day:{Type:Object,default:{}},dayInWeek:{Type:String,default:""},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]}},ne="",R=e.defineComponent({name:"FCalendarDayView",props:L,emits:[],setup(t,w){const u=e.ref(),T=e.ref(),k=e.ref(t.dayInWeek),d=e.ref(t.day),m=e.ref(t.enableMarkCurrent),c=e.ref(t.events),v=e.ref([]),{equal:r}=j();function p(n){const s={year:d.value.date.year,month:d.value.date.month,day:d.value.date.day,hour:n.hour,minute:n.minute,second:n.second},y=c.value.filter(V=>r(V.starts,s));return[{day:s,events:y}]}function C(){const n=[];for(let s=0;s<24;s++){const y={hour:s,minute:0,second:0},V={hour:s,minute:30,second:0},g=p(y),M=p(V);n.push({time:y,events:g,title:s>0?`${s}:00`:"",part:"upper"}),n.push({time:V,events:M,title:`${s}:30`,part:"lower"})}v.value=n}C(),e.watch(()=>t.day,()=>{d.value=t.day,C()}),e.watch(()=>t.events,()=>{c.value=t.events,C()});const b=n=>({"f-calendar-day-view-date":!0,"f-calendar-day-view-current":n.isCurrent&&m.value});function l(){return e.createVNode("div",{class:"f-calendar-day-view-header"},[e.createVNode("div",{class:"f-calendar-day-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-day-view-header-primary"},[e.createVNode("div",{class:"f-calendar-day-view-header-columns"},[e.createVNode("div",{class:"f-calendar-day-view-header-cell"},[e.createVNode("div",{class:b(d.value)},[d.value.date.day]),e.createVNode("span",null,[k.value])])])])])}function f(){return e.createVNode("div",{class:"f-calendar-day-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[v.value.map(n=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[n.part==="upper"?n.title:""])]))])])}function i(n){return{"f-calendar-day-view-item":!0,"f-calendar-day-view-item-upper":n.part==="upper","f-calendar-day-view-item-lower":n.part==="lower"}}function h(n){const W=(n.starts.hour||0)+(n.starts.minute||0)/60;return{height:`${44*((n.ends.hour||0)+(n.ends.minute||0)/60-W)-2-2-1-1}px`}}function o(){return v.value.map(n=>e.createVNode("div",{class:i(n)},[n.events.map(s=>e.createVNode("div",{class:"f-calendar-day-view-item-cell"},[s.events.length>0&&s.events.map(y=>e.createVNode("div",{class:"f-calendar-event",style:h(y)},[y.title]))]))]))}function a(){return e.createVNode("div",{ref:T,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[o()])])}return e.onMounted(()=>{u.value&&u.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-day-view"},[l(),e.createVNode("div",{class:"f-calendar-day-view-content",ref:u},[f(),a()])])}}),U={dates:{Type:Array,default:[]},daysInWeek:{Type:Array,default:O},enableKeyboadNavigate:{Type:Boolean,default:!0},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},activeDay:{Type:Object,default:null}};var B=(t=>(t[t.enter=13]="enter",t[t.esc=27]="esc",t[t.space=32]="space",t[t.leftArrow=37]="leftArrow",t[t.upArrow=38]="upArrow",t[t.rightArrow=39]="rightArrow",t[t.downArrow=40]="downArrow",t[t.tab=9]="tab",t[t.shift=16]="shift",t))(B||{});function K(){function t(w){const u=w.key||w.keyCode;return u==="Enter"||u===13?13:u==="Escape"||u===27?27:u===" "||u===32?32:u==="ArrowLeft"||u===37?37:u==="ArrowUp"||u===38?38:u==="ArrowRight"||u===39?39:u==="ArrowDown"||u===40?40:u==="Tab"||u===9?9:u==="Shift"||u===16?16:-1}return{getKeyCodeFromEvent:t}}const ae="",q=e.defineComponent({name:"FCalendarMonthView",props:U,emits:[],setup(t,w){const u=e.ref(t.daysInWeek),T=e.ref(t.enableKeyboadNavigate),k=e.ref(t.enableMarkCurrent),d=e.ref(t.activeDay),m=e.ref(t.events),{equal:c,sameDay:v}=j(),{getKeyCodeFromEvent:r}=K();function p(o,a){return o.forEach(n=>{n.days.forEach(s=>{const y=a.filter(V=>v(V.starts,s.date));y&&y.length&&(s.events=[...y])})}),o}const C=e.ref(p(t.dates,m.value));e.watch(()=>t.dates,()=>{C.value=p(t.dates,m.value)}),e.watch(()=>t.activeDay,()=>{d.value=t.activeDay}),e.watch(()=>t.events,()=>{m.value=t.events});function b(o){return!!d.value&&c({year:d.value.year,month:d.value.month,day:d.value.day},o)}const l=(o,a,n)=>{const y={"f-datepicker-no-currmonth":o.monthTag===I.previous||o.monthTag===I.next},V=`d_${a}_${n}`;return y[V]=!0,y},f=o=>{const a=o.monthTag===I.current&&b(o.date),n=o.isCurrent&&k.value;return{"f-calendar-month-view-date":!0,"f-calendar-month-view-selected":a,"f-calendar-month-view-current":n}};function i(o,a){o.stopPropagation(),w.emit("click",a.date)}function h(o,a){const n=r(o);n!==B.tab&&(o.preventDefault(),n===B.enter||n===B.space?i(o,a):T.value&&w.emit("keyDown",a.date))}return()=>e.createVNode("div",{class:"f-calendar-month-view"},[e.createVNode("table",{class:"f-datepicker-table",cellpadding:"0"},[e.createVNode("thead",null,[e.createVNode("tr",null,[u.value&&u.value.map(o=>e.createVNode("th",{scope:"col",style:"padding: 4px 4px 8px"},[o]))])]),e.createVNode("tbody",null,[C.value&&C.value.map((o,a)=>e.createVNode("tr",null,[o.days&&o.days.map((n,s)=>e.createVNode("td",{id:`d_${a}_${s}`,tabindex:"0",class:l(n,a,s),onClick:y=>i(y,n),onKeydown:y=>h(y,n)},[e.createVNode("div",{class:"f-calendar-month-view-title"},[e.createVNode("div",{class:f(n)},[n.date.day]),e.createVNode("div",{class:"f-calendar-month-view-date-month"},[n.date.day===1?$[n.date.month||1]:""])]),n.events&&n.events.length&&n.events.map(y=>e.createVNode("div",{class:"f-calendar-month-view-event-item"},[y.title]))]))]))])])])}}),Q={daysInWeek:{Type:Array,default:O},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},week:{Type:Object,default:{days:[],weekNumber:0,year:0}}},re="",Y=e.defineComponent({name:"FCalendarWeekView",props:Q,emits:[],setup(t){const w=e.ref(),u=e.ref(),T=e.ref(t.daysInWeek),k=e.ref(t.week),d=e.ref(t.enableMarkCurrent),m=e.ref(t.events),c=e.ref([]),{equal:v}=j();function r(a){return k.value.days.map(s=>{const y={year:s.date.year,month:s.date.month,day:s.date.day,hour:a.hour,minute:a.minute,second:a.second},V=m.value.filter(g=>v(g.starts,y));return{day:y,events:V}})}function p(){const a=[];for(let n=0;n<24;n++){const s={hour:n,minute:0,second:0},y={hour:n,minute:30,second:0},V=r(s),g=r(y);a.push({time:s,events:V,title:n>0?`${n}:00`:"",part:"upper"}),a.push({time:y,events:g,title:`${n}:30`,part:"lower"})}c.value=a}p(),e.watch(()=>t.week,()=>{k.value=t.week,p()}),e.watch(()=>t.events,()=>{m.value=t.events,p()});const C=a=>({"f-calendar-week-view-date":!0,"f-calendar-week-view-current":a.isCurrent&&d.value});function b(){return e.createVNode("div",{class:"f-calendar-week-view-header"},[e.createVNode("div",{class:"f-calendar-week-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-week-view-header-primary"},[e.createVNode("div",{class:"f-calendar-week-view-header-columns"},[T.value.map((a,n)=>e.createVNode("div",{class:"f-calendar-week-view-header-cell"},[e.createVNode("div",{class:C(k.value.days[n])},[k.value.days[n].date.day]),e.createVNode("span",null,[a])]))])])])}function l(){return e.createVNode("div",{class:"f-calendar-week-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[c.value.map(a=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[a.part==="upper"?a.title:""])]))])])}function f(a){return{"f-calendar-week-view-item":!0,"f-calendar-week-view-item-upper":a.part==="upper","f-calendar-week-view-item-lower":a.part==="lower"}}function i(a){const M=(a.starts.hour||0)+(a.starts.minute||0)/60;return{height:`${44*((a.ends.hour||0)+(a.ends.minute||0)/60-M)-2-2-1-1}px`}}function h(){return c.value.map(a=>e.createVNode("div",{class:f(a)},[a.events.map(n=>e.createVNode("div",{class:"f-calendar-week-view-item-cell"},[n.events.length>0&&n.events.map(s=>e.createVNode("div",{class:"f-calendar-event",style:i(s)},[s.title]))]))]))}function o(){return e.createVNode("div",{ref:u,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[h()])])}return e.onMounted(()=>{w.value&&w.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-week-view"},[b(),e.createVNode("div",{class:"f-calendar-week-view-content",ref:w},[l(),o()])])}}),ee={install(t){t.component(H.name,H).component(R.name,R).component(G.name,G).component(q.name,q).component(Y.name,Y)}};D.Calendar=H,D.CalendarDayView=R,D.CalendarHeader=G,D.CalendarMonthView=q,D.CalendarWeekView=Y,D.MonthTag=I,D.calendarProps=z,D.dayViewProps=L,D.default=ee,D.defaultNameOfMonths=$,D.headerProps=J,D.monthViewProps=U,D.weekDays=O,D.weekViewProps=Q,Object.defineProperties(D,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "calendar",
3
+ "version": "1.0.2",
4
+ "main": "index.umd.js",
5
+ "module": "index.esm.js",
6
+ "style": "style.css",
7
+ "types": "../types/calendar/index.d.ts"
8
+ }
@@ -0,0 +1 @@
1
+ .f-calendar-header{display:flex;background-color:#fff}.f-calendar-header>.f-calendar-title{font-weight:600;font-size:24px;line-height:32px;margin:14px 0;padding:0 14px;border-right:1px solid #e9e9e9;width:144px}.f-calendar-header>.f-calendar-navigator{flex:1}.f-calendar-header .f-calendar-view-switch{margin:16px 14px;position:relative}.f-calendar-header .f-calendar-view-switch-panel{background-color:#eff5ff;width:200px;height:28px;border-radius:28px;display:flex;font-weight:500}.f-calendar-header .f-calendar-view-switch-panel>span{flex:1;line-height:28px;text-align:center}.f-calendar-header .f-calendar-view-switch>.f-calendar-view-switch-active-view{height:24px;width:62px;position:absolute;background:rgba(255,255,255);box-shadow:0 4px 18px #024bc133;border-radius:24px;line-height:24px;text-align:center;color:#0091da;font-weight:500;transition:.3s ease-out all}.f-calendar-header>.f-calendar-navigator{display:flex}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-today{background:#ffffff;border:1px solid rgba(232,235,242,1);box-shadow:0 2px 6px #1f23290f;border-radius:6px;font-size:13px;color:#2d2f33;font-weight:400;margin:auto 6px auto 14px}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group{box-shadow:0 2px 6px #1f23290f;border-radius:6px;font-size:13px;color:#2d2f33;font-weight:400;margin:auto 14px auto 0}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group>.f-calendar-navigator-previous{background:#ffffff;border:1px solid rgba(232,235,242,1);border-right-color:transparent;border-radius:6px 0 0 6px;padding:.1875rem .375rem}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group>.f-calendar-navigator-next{background:#ffffff;border:1px solid rgba(232,235,242,1);border-radius:0 6px 6px 0;padding:.1875rem .375rem}.f-calendar-day-view{background-color:#fff;display:flex;flex-direction:column;min-width:860px;height:530px}.f-calendar-day-view-header{display:flex;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-header-corner{width:44px;height:24px}.f-calendar-day-view-header-primary{flex:1}.f-calendar-day-view-header-columns{display:flex}.f-calendar-day-view-header-cell{display:flex;flex:1;padding:4px 4px 8px;font-size:14px;color:#000000bf;line-height:22px;font-weight:500}.f-calendar-day-view-header-cell .f-calendar-day-view-date{border-radius:20px;width:24px;height:24px;text-align:center;margin-right:4px}.f-calendar-day-view-header-cell .f-calendar-day-view-current{background:#0093f5;color:#fff}.f-calendar-day-view-content{display:flex;flex:1;overflow-y:scroll}.f-calendar-day-view-content-side{width:44px}.f-calendar-day-view-item{height:22px;display:flex;border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-item:first-child,.f-calendar-day-view-item-upper:first-child{border-top:1px solid transparent}.f-calendar-day-view-item-upper{border-top:1px solid transparent;border-bottom:1px solid transparent}.f-calendar-day-view-item-lower{border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-item-cell{flex:1;height:22px;border-left:1px solid transparent;border-right:1px solid #e9e9e9}.f-calendar-day-view-item-cell:first-child{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9}.f-calendar-day-view-item-cell:last-child{border-left:1px solid transparent;border-right:1px solid transparent}.f-calendar-month-view{min-width:860px;display:flex}.f-calendar-month-view table{display:table!important;margin:initial!important;flex:1;table-layout:fixed;width:fit-content}.f-calendar-month-view tr{border-top:initial!important;transition:initial!important}.f-calendar-month-view th{border:initial!important;background-color:initial!important;font-size:14px!important;color:#000000bf;line-height:22px;font-weight:500!important}.f-calendar-month-view{background-color:#fff}.f-calendar-month-view td{border:1px solid #e9e9e9!important;padding:4px!important;height:100px;vertical-align:baseline}.f-calendar-month-view .f-calendar-month-view-title{display:flex}.f-calendar-month-view .f-calendar-month-view-title>.f-calendar-month-view-date{border-radius:20px;width:24px;height:24px;line-height:24px;text-align:center;font-size:14px}.f-calendar-month-view .f-calendar-month-view-title>.f-calendar-month-view-date-month{flex:1;border-radius:20px;width:24px;height:24px;line-height:24px;text-align:right;font-size:14px}.f-calendar-month-view .f-calendar-month-view-current{background:#0093f5;color:#fff}.f-calendar-month-view .f-calendar-month-view-event-item{background-color:#ebf3ff;font-size:12px;color:#0e6ded;line-height:18px;margin:2px 0;padding:2px 4px}.f-calendar-week-view{background-color:#fff;display:flex;flex-direction:column;min-width:860px;height:530px}.f-calendar-week-view-header{display:flex;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-header-corner{width:44px;height:24px}.f-calendar-week-view-header-primary{flex:1}.f-calendar-week-view-header-columns{display:flex}.f-calendar-week-view-header-cell{flex:1;padding:4px 4px 8px;display:flex;font-size:14px;color:#000000bf;line-height:22px;font-weight:500}.f-calendar-week-view-header-cell .f-calendar-week-view-date{border-radius:20px;width:24px;height:24px;text-align:center;margin-right:4px}.f-calendar-week-view-header-cell .f-calendar-week-view-current{background:#0093f5;color:#fff}.f-calendar-week-view-content{display:flex;flex:1;overflow-y:scroll}.f-calendar-week-view-content-side{width:44px}.f-calendar-content-primary{flex:1}.f-calendar-side{margin-top:-11px}.f-calendar-side-row{height:22px;padding-right:4px;text-align:end}.f-calendar-side-row-number{height:22px;line-height:22px}.f-calendar-week-view-item{height:22px;display:flex;border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-item:first-child{border-top:1px solid #e9e9e9}.f-calendar-week-view-item-upper:first-child{border-top:1px solid transparent}.f-calendar-week-view-item-upper{border-top:1px solid transparent;border-bottom:1px solid transparent}.f-calendar-week-view-item-lower{border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-item-cell{flex:1;height:22px;border-left:1px solid transparent;border-right:1px solid #e9e9e9}.f-calendar-week-view-item-cell:first-child{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9}.f-calendar-week-view-item-cell:last-child{border-left:1px solid transparent;border-right:1px solid transparent}.f-calendar-event{background:#ebf3ff;border-radius:2px;margin:2px;font-size:12px;color:#0e6ded;padding:2px 4px}
@@ -0,0 +1,130 @@
1
+ import { defineComponent as O, ref as n, watch as y, computed as v, onMounted as S, createVNode as o, nextTick as h } from "vue";
2
+ const N = {
3
+ items: { Type: Array, default: [] },
4
+ /**
5
+ * 组件值
6
+ */
7
+ modelValue: { type: String, default: "" },
8
+ type: { type: String, default: "primary" }
9
+ }, T = {
10
+ name: { type: String, default: "" },
11
+ value: { type: String, default: "" },
12
+ isActive: { type: Boolean, default: !1 },
13
+ icon: { type: String, default: "" },
14
+ index: { type: Number, default: 0 }
15
+ };
16
+ const W = /* @__PURE__ */ O({
17
+ name: "FCapsuleItem",
18
+ props: T,
19
+ emits: ["mounted", "active"],
20
+ setup(a, r) {
21
+ const c = n(), i = n(a.isActive);
22
+ y(() => a.isActive, (u) => {
23
+ i.value = u;
24
+ });
25
+ const m = v(() => ({
26
+ "f-capsule-item": !0,
27
+ "f-capsule-active-item": i.value
28
+ }));
29
+ S(() => {
30
+ r.emit("mounted", c, a.value);
31
+ });
32
+ function s(u) {
33
+ r.emit("active", u, {
34
+ name: a.name,
35
+ value: a.value
36
+ });
37
+ }
38
+ return () => o("div", {
39
+ ref: c,
40
+ class: m.value,
41
+ onClick: (u) => s(u)
42
+ }, [a.icon && o("i", {
43
+ class: a.icon
44
+ }, null), a.name]);
45
+ }
46
+ }), j = /* @__PURE__ */ O({
47
+ name: "FCapsule",
48
+ props: N,
49
+ emits: ["change", "update:modelValue"],
50
+ setup(a, r) {
51
+ const c = n(a.items), i = n(), m = 2, s = n(a.modelValue), u = n("none"), C = n(a.type), V = v(() => {
52
+ const e = {
53
+ "f-capsule-container": !0
54
+ };
55
+ return C.value && (e[C.value] = !0), e;
56
+ }), x = v(() => ({})), w = v(() => ({
57
+ "f-capsule": !0
58
+ })), I = n(m), b = n(0), p = n(0), R = v(() => ({
59
+ left: `${I.value}px`,
60
+ width: `${b.value}px`,
61
+ transition: u.value
62
+ })), B = v(() => ({
63
+ width: `${p.value}px`
64
+ })), d = /* @__PURE__ */ new Map();
65
+ function M(e) {
66
+ var t;
67
+ if (d.has(e.value)) {
68
+ const l = (t = d.get(e.value)) == null ? void 0 : t.value;
69
+ if (l) {
70
+ const A = l.getBoundingClientRect(), P = i.value.getBoundingClientRect();
71
+ I.value = A.left - P.left + m + i.value.scrollLeft, b.value = A.width - 2 * m;
72
+ }
73
+ }
74
+ }
75
+ function g(e, t) {
76
+ const l = e.value;
77
+ s.value = l, r.emit("update:modelValue", l), M(e), t && r.emit("change", l);
78
+ }
79
+ function f(e) {
80
+ const t = c.value.findIndex((l) => l.value === e);
81
+ t > -1 && g(c.value[t], !1);
82
+ }
83
+ y(() => a.modelValue, (e) => {
84
+ s.value = e, f(s.value);
85
+ }), y(() => a.items, async (e) => {
86
+ c.value = e, await h(), f(s.value), p.value = Array.from(d.values()).reduce((t, l) => (t += l.value.clientWidth, t), 0);
87
+ }), S(async () => {
88
+ f(s.value), await h(), u.value = "0.1s ease-out all", p.value = Array.from(d.values()).reduce((e, t) => (e += t.value.clientWidth, e), 0);
89
+ });
90
+ function k(e, t) {
91
+ g(t, !0);
92
+ }
93
+ function $(e, t) {
94
+ d.set(t, e);
95
+ }
96
+ function F(e, t) {
97
+ return o(W, {
98
+ name: e.name,
99
+ value: e.value,
100
+ isActive: e.value === s.value,
101
+ index: t,
102
+ onMounted: $,
103
+ onActive: k
104
+ }, null);
105
+ }
106
+ return () => o("span", {
107
+ ref: i,
108
+ class: V.value,
109
+ style: x.value
110
+ }, [o("span", {
111
+ class: "f-capsule-pane"
112
+ }, [c.value.map((e, t) => F(e, t))]), o("small", {
113
+ class: w.value,
114
+ style: R.value
115
+ }, null), o("div", {
116
+ class: "f-capsule-board",
117
+ style: B.value
118
+ }, null)]);
119
+ }
120
+ }), L = {
121
+ install(a) {
122
+ a.component(j.name, j);
123
+ }
124
+ };
125
+ export {
126
+ j as Capsule,
127
+ T as capsuleItemProps,
128
+ N as capsuleProps,
129
+ L as default
130
+ };
@@ -0,0 +1 @@
1
+ (function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.capsule={},n.Vue))})(this,function(n,e){"use strict";const y={items:{Type:Array,default:[]},modelValue:{type:String,default:""},type:{type:String,default:"primary"}},C={name:{type:String,default:""},value:{type:String,default:""},isActive:{type:Boolean,default:!1},icon:{type:String,default:""},index:{type:Number,default:0}},k="",j=e.defineComponent({name:"FCapsuleItem",props:C,emits:["mounted","active"],setup(l,r){const o=e.ref(),i=e.ref(l.isActive);e.watch(()=>l.isActive,s=>{i.value=s});const d=e.computed(()=>({"f-capsule-item":!0,"f-capsule-active-item":i.value}));e.onMounted(()=>{r.emit("mounted",o,l.value)});function u(s){r.emit("active",s,{name:l.name,value:l.value})}return()=>e.createVNode("div",{ref:o,class:d.value,onClick:s=>u(s)},[l.icon&&e.createVNode("i",{class:l.icon},null),l.name])}}),p=e.defineComponent({name:"FCapsule",props:y,emits:["change","update:modelValue"],setup(l,r){const o=e.ref(l.items),i=e.ref(),d=2,u=e.ref(l.modelValue),s=e.ref("none"),I=e.ref(l.type),O=e.computed(()=>{const t={"f-capsule-container":!0};return I.value&&(t[I.value]=!0),t}),S=e.computed(()=>({})),w=e.computed(()=>({"f-capsule":!0})),h=e.ref(d),V=e.ref(0),m=e.ref(0),M=e.computed(()=>({left:`${h.value}px`,width:`${V.value}px`,transition:s.value})),N=e.computed(()=>({width:`${m.value}px`})),f=new Map;function x(t){var a;if(f.has(t.value)){const c=(a=f.get(t.value))==null?void 0:a.value;if(c){const g=c.getBoundingClientRect(),T=i.value.getBoundingClientRect();h.value=g.left-T.left+d+i.value.scrollLeft,V.value=g.width-2*d}}}function b(t,a){const c=t.value;u.value=c,r.emit("update:modelValue",c),x(t),a&&r.emit("change",c)}function v(t){const a=o.value.findIndex(c=>c.value===t);a>-1&&b(o.value[a],!1)}e.watch(()=>l.modelValue,t=>{u.value=t,v(u.value)}),e.watch(()=>l.items,async t=>{o.value=t,await e.nextTick(),v(u.value),m.value=Array.from(f.values()).reduce((a,c)=>(a+=c.value.clientWidth,a),0)}),e.onMounted(async()=>{v(u.value),await e.nextTick(),s.value="0.1s ease-out all",m.value=Array.from(f.values()).reduce((t,a)=>(t+=a.value.clientWidth,t),0)});function R(t,a){b(a,!0)}function B(t,a){f.set(a,t)}function P(t,a){return e.createVNode(j,{name:t.name,value:t.value,isActive:t.value===u.value,index:a,onMounted:B,onActive:R},null)}return()=>e.createVNode("span",{ref:i,class:O.value,style:S.value},[e.createVNode("span",{class:"f-capsule-pane"},[o.value.map((t,a)=>P(t,a))]),e.createVNode("small",{class:w.value,style:M.value},null),e.createVNode("div",{class:"f-capsule-board",style:N.value},null)])}}),A={install(l){l.component(p.name,p)}};n.Capsule=p,n.capsuleItemProps=C,n.capsuleProps=y,n.default=A,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "capsule",
3
+ "version": "1.0.2",
4
+ "main": "index.umd.js",
5
+ "module": "index.esm.js",
6
+ "style": "style.css",
7
+ "types": "../types/capsule/index.d.ts"
8
+ }
@@ -0,0 +1 @@
1
+ .f-capsule-container{color:#6080ad;position:relative;display:inline-block;box-sizing:content-box;padding:0;margin:0;cursor:pointer;white-space:nowrap;min-width:2.5rem;height:1.8rem;overflow:hidden}.f-capsule-container.primary .f-capsule-board{background-color:#eff5ff}.f-capsule-container.secondary .f-capsule-board{background-color:#f2f4f8}.f-capsule-container .f-capsule-pane{display:flex;height:100%;min-height:100%;justify-content:flex-start;align-items:center;top:0;position:relative}.f-capsule-container .f-capsule-pane .f-capsule-item{opacity:1;display:inline-block;font-size:12px;line-height:1.8rem;padding-left:24px;padding-right:24px;z-index:2}.f-capsule-container .f-capsule-pane .f-capsule-item.f-capsule-active-item{font-weight:700}.f-capsule-container.primary .f-capsule-pane .f-capsule-item.f-capsule-active-item{color:#2a87ff}.f-capsule-container .f-capsule-pane .f-capsule-item>i{margin-right:2px;font-size:12px}.f-capsule-container .f-capsule-board{background-color:#f2f4f8;border-radius:1.8rem;height:1.8rem;position:absolute;top:0;z-index:0}.f-capsule{height:calc(100% - 4px);border-radius:1.8rem;position:absolute;background:#fff;left:2px;top:2px;opacity:1;display:inline-block;font-size:12px;padding-left:22px;padding-right:22px;z-index:1}
@@ -1,134 +1,251 @@
1
- import { computed as x, ref as v, defineComponent as p, createVNode as m } from "vue";
2
- const V = {
1
+ import { computed as k, ref as y, defineComponent as V, watch as S, createVNode as h } from "vue";
2
+ const C = {};
3
+ function x(e) {
4
+ const { properties: t } = e;
5
+ return Object.keys(t).reduce((a, n) => (a[n] = t[n].type === "object" && t[n].properties ? x(t[n]) : t[n].default, a), {});
6
+ }
7
+ function j(e, t) {
8
+ const r = x(t);
9
+ return Object.keys(e).reduce((a, n) => (a[n] = e[n], a), r), r;
10
+ }
11
+ function T(e, t) {
12
+ return Object.keys(e).filter((a) => e[a] != null).reduce((a, n) => {
13
+ if (t.has(n)) {
14
+ const c = t.get(n);
15
+ if (typeof c == "string")
16
+ a[c] = e[n];
17
+ else {
18
+ const u = c(n, e[n]);
19
+ Object.assign(a, u);
20
+ }
21
+ } else
22
+ a[n] = e[n];
23
+ return a;
24
+ }, {});
25
+ }
26
+ function B(e, t, r = /* @__PURE__ */ new Map()) {
27
+ const a = j(e, t);
28
+ return T(a, r);
29
+ }
30
+ function F(e, t, r = /* @__PURE__ */ new Map()) {
31
+ return C[t.title] = t, (a) => {
32
+ const n = B(a, t, r), c = Object.keys(e).reduce((u, d) => (u[d] = e[d].default, u), {});
33
+ return Object.assign(c, n);
34
+ };
35
+ }
36
+ function D(e, t) {
37
+ return { customClass: t.class };
38
+ }
39
+ const w = /* @__PURE__ */ new Map([
40
+ ["appearance", D]
41
+ ]), A = "https://json-schema.org/draft/2020-12/schema", q = "https://farris-design.gitee.io/check-box.schema.json", G = "CheckBox", M = "A Farris Input Component", R = "object", $ = {
42
+ id: {
43
+ description: "The unique identifier for a check box",
44
+ type: "string"
45
+ },
46
+ type: {
47
+ description: "The type string of check box component",
48
+ type: "string"
49
+ },
50
+ appearance: {
51
+ description: "",
52
+ type: "object",
53
+ properties: {
54
+ class: {
55
+ type: "string"
56
+ },
57
+ style: {
58
+ type: "string"
59
+ }
60
+ },
61
+ default: {}
62
+ },
63
+ binding: {
64
+ description: "",
65
+ type: "object",
66
+ default: {}
67
+ },
68
+ disable: {
69
+ type: "string",
70
+ default: !1
71
+ },
72
+ editable: {
73
+ description: "",
74
+ type: "boolean",
75
+ default: !0
76
+ },
77
+ placeHolder: {
78
+ description: "",
79
+ type: "string",
80
+ default: ""
81
+ },
82
+ readonly: {
83
+ description: "",
84
+ type: "boolean",
85
+ default: !1
86
+ },
87
+ require: {
88
+ description: "",
89
+ type: "boolean",
90
+ default: !1
91
+ },
92
+ tabindex: {
93
+ description: "",
94
+ type: "number",
95
+ default: -1
96
+ },
97
+ visible: {
98
+ description: "",
99
+ type: "boolean",
100
+ default: !0
101
+ }
102
+ }, z = [
103
+ "id",
104
+ "type"
105
+ ], I = {
106
+ $schema: A,
107
+ $id: q,
108
+ title: G,
109
+ description: M,
110
+ type: R,
111
+ properties: $,
112
+ required: z
113
+ }, v = {
3
114
  /**
4
115
  * 组件标识
5
116
  */
6
117
  id: String,
7
118
  /**
8
- * 组件名称
119
+ * 禁用组件,不允许切换单选值
9
120
  */
10
- name: { type: String, default: "" },
121
+ disable: { type: Boolean, default: !1 },
11
122
  /**
12
123
  * 单选组枚举数组
13
124
  */
14
125
  enumData: { type: Array, default: [] },
15
- /**
16
- * 枚举数组中展示文本的key值。
17
- */
18
- textField: { type: String, default: "name" },
19
- /**
20
- * 枚举数组中枚举值的key值。
21
- */
22
- valueField: { type: String, default: "value" },
23
126
  /**
24
127
  * 组件是否水平排列
25
128
  */
26
129
  horizontal: { type: Boolean, default: !1 },
27
130
  /**
28
- * 禁用组件,不允许切换单选值
131
+ * 值类型是否为字符串
29
132
  */
30
- disable: { type: Boolean, default: !1 },
133
+ isStringValue: { type: Boolean, default: !0 },
134
+ /**
135
+ * 异步获取枚举数组方法
136
+ */
137
+ // loadData: () => Observable < { data: Array<Checkbox> } >
138
+ loadData: { type: Function },
31
139
  /**
32
140
  * 组件值,字符串或者数组
33
141
  */
34
142
  modelValue: [String, Array],
35
143
  /**
36
- * 输入框Tab键索引
144
+ * 组件名称
37
145
  */
38
- tabIndex: { type: Number, default: 0 },
146
+ name: { type: String, default: "" },
39
147
  /**
40
148
  * 分隔符,默认逗号
41
149
  */
42
150
  separator: { type: String, default: "," },
43
151
  /**
44
- * 值类型是否为字符串
152
+ * 输入框Tab键索引
45
153
  */
46
- isStringValue: { type: Boolean, default: !0 },
154
+ tabIndex: { type: Number, default: 0 },
47
155
  /**
48
- * 异步获取枚举数组方法
156
+ * 枚举数组中展示文本的key值。
49
157
  */
50
- // loadData: () => Observable < { data: Array<Checkbox> } >
51
- loadData: { type: Function }
52
- };
53
- function y(e, i, l) {
54
- const h = x(() => !e.disable), s = v(e.enumData);
55
- function o(t) {
56
- return t[e.valueField];
158
+ textField: { type: String, default: "name" },
159
+ /**
160
+ * 枚举数组中枚举值的key值。
161
+ */
162
+ valueField: { type: String, default: "value" }
163
+ }, O = F(v, I, w);
164
+ function P(e, t, r) {
165
+ const a = k(() => !e.disable), n = y(e.enumData);
166
+ function c(o) {
167
+ return o[e.valueField];
57
168
  }
58
- function d(t) {
59
- return t[e.textField];
169
+ function u(o) {
170
+ return o[e.textField];
60
171
  }
61
- function f(t) {
62
- return t ? e.isStringValue ? t.split(e.separator) : t : [];
172
+ function d(o) {
173
+ return o ? e.isStringValue ? o.split(e.separator) : o : [];
63
174
  }
64
- function g(t) {
65
- const a = s.value.map((n) => o(n)).filter((n) => t.some((c) => c === n));
66
- return e.isStringValue ? a.join(e.separator) : a;
175
+ function m(o) {
176
+ const i = n.value.map((s) => c(s)).filter((s) => o.some((p) => p === String(s)));
177
+ return e.isStringValue ? i.join(e.separator) : i;
67
178
  }
68
- function u(t) {
69
- const r = String(o(t));
70
- return f(l.value).some((n) => n === r);
179
+ function l(o) {
180
+ const f = String(c(o));
181
+ return d(r.value).some((s) => s === f);
71
182
  }
72
- function b(t, r) {
73
- if (h.value) {
74
- let a = f(l.value) || [];
75
- const n = String(o(t));
76
- !a || !a.length ? a.push(n) : a.some((c) => c === n) ? a = a.filter((c) => c !== n) : a.push(n), l.value = g(a), i.emit("changeValue", l.value), i.emit("update:modelValue", l.value);
183
+ function b(o, f) {
184
+ if (a.value) {
185
+ let i = d(r.value) || [];
186
+ const s = String(c(o));
187
+ !i || !i.length ? i.push(s) : i.some((p) => p === s) ? i = i.filter((p) => p !== s) : i.push(s), r.value = m(i), t.emit("changeValue", r.value), t.emit("update:modelValue", r.value);
77
188
  }
78
- r.stopPropagation();
189
+ f.stopPropagation();
79
190
  }
80
191
  return {
81
- enumData: s,
82
- getValue: o,
83
- getText: d,
84
- checked: u,
192
+ enumData: n,
193
+ getValue: c,
194
+ getText: u,
195
+ checked: l,
85
196
  onClickCheckbox: b
86
197
  };
87
198
  }
88
- const k = /* @__PURE__ */ p({
199
+ const g = /* @__PURE__ */ V({
89
200
  name: "FCheckboxGroup",
90
- props: V,
201
+ props: v,
91
202
  emits: ["changeValue", "update:modelValue"],
92
- setup(e, i) {
93
- const l = v(e.modelValue), {
94
- enumData: h,
95
- onClickCheckbox: s,
96
- getValue: o,
97
- getText: d,
98
- checked: f
99
- } = y(e, i, l), g = x(() => ({
203
+ setup(e, t) {
204
+ const r = y(e.modelValue), {
205
+ enumData: a,
206
+ onClickCheckbox: n,
207
+ getValue: c,
208
+ getText: u,
209
+ checked: d
210
+ } = P(e, t, r), m = k(() => ({
100
211
  "farris-checkradio-hor": e.horizontal
101
212
  }));
102
- return () => m("div", {
103
- class: ["farris-input-wrap", g.value]
104
- }, [h.value.map((u, b) => {
105
- const t = "checkbox_" + e.name + b;
106
- return m("div", {
213
+ return S(() => e.modelValue, (l) => {
214
+ r.value = l, t.emit("changeValue", r.value);
215
+ }), () => h("div", {
216
+ class: ["farris-input-wrap", m.value]
217
+ }, [a.value.map((l, b) => {
218
+ const o = "checkbox_" + e.name + b;
219
+ return h("div", {
107
220
  class: "custom-control custom-checkbox"
108
- }, [m("input", {
221
+ }, [h("input", {
109
222
  type: "checkbox",
110
223
  class: "custom-control-input",
111
224
  name: e.name,
112
- id: t,
113
- value: o(u),
114
- checked: f(u),
225
+ id: o,
226
+ value: c(l),
227
+ checked: d(l),
115
228
  disabled: e.disable,
116
229
  tabindex: e.tabIndex,
117
- onClick: (r) => s(u, r)
118
- }, null), m("label", {
230
+ onClick: (f) => n(l, f)
231
+ }, null), h("label", {
119
232
  class: "custom-control-label",
120
- for: t,
121
- title: d(u)
122
- }, [d(u)])]);
233
+ for: o,
234
+ title: u(l)
235
+ }, [u(l)])]);
123
236
  })]);
124
237
  }
125
- }), C = {
238
+ }), N = {
126
239
  install(e) {
127
- e.component(k.name, k);
240
+ e.component(g.name, g);
241
+ },
242
+ register(e, t) {
243
+ e["check-box"] = g, t["check-box"] = O;
128
244
  }
129
245
  };
130
246
  export {
131
- k as CheckBoxGroup,
132
- V as checkboxGroupProps,
133
- C as default
247
+ g as CheckBoxGroup,
248
+ v as checkboxGroupProps,
249
+ N as default,
250
+ O as propsResolver
134
251
  };
@@ -1 +1 @@
1
- (function(u,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(u=typeof globalThis<"u"?globalThis:u||self,n(u.checkbox={},u.Vue))})(this,function(u,n){"use strict";const x={id:String,name:{type:String,default:""},enumData:{type:Array,default:[]},textField:{type:String,default:"name"},valueField:{type:String,default:"value"},horizontal:{type:Boolean,default:!1},disable:{type:Boolean,default:!1},modelValue:[String,Array],tabIndex:{type:Number,default:0},separator:{type:String,default:","},isStringValue:{type:Boolean,default:!0},loadData:{type:Function}};function V(e,s,l){const g=n.computed(()=>!e.disable),f=n.ref(e.enumData);function c(t){return t[e.valueField]}function m(t){return t[e.textField]}function h(t){return t?e.isStringValue?t.split(e.separator):t:[]}function k(t){const a=f.value.map(o=>c(o)).filter(o=>t.some(d=>d===o));return e.isStringValue?a.join(e.separator):a}function r(t){const i=String(c(t));return h(l.value).some(o=>o===i)}function p(t,i){if(g.value){let a=h(l.value)||[];const o=String(c(t));!a||!a.length?a.push(o):a.some(d=>d===o)?a=a.filter(d=>d!==o):a.push(o),l.value=k(a),s.emit("changeValue",l.value),s.emit("update:modelValue",l.value)}i.stopPropagation()}return{enumData:f,getValue:c,getText:m,checked:r,onClickCheckbox:p}}const b=n.defineComponent({name:"FCheckboxGroup",props:x,emits:["changeValue","update:modelValue"],setup(e,s){const l=n.ref(e.modelValue),{enumData:g,onClickCheckbox:f,getValue:c,getText:m,checked:h}=V(e,s,l),k=n.computed(()=>({"farris-checkradio-hor":e.horizontal}));return()=>n.createVNode("div",{class:["farris-input-wrap",k.value]},[g.value.map((r,p)=>{const t="checkbox_"+e.name+p;return n.createVNode("div",{class:"custom-control custom-checkbox"},[n.createVNode("input",{type:"checkbox",class:"custom-control-input",name:e.name,id:t,value:c(r),checked:h(r),disabled:e.disable,tabindex:e.tabIndex,onClick:i=>f(r,i)},null),n.createVNode("label",{class:"custom-control-label",for:t,title:m(r)},[m(r)])])})])}}),y={install(e){e.component(b.name,b)}};u.CheckBoxGroup=b,u.checkboxGroupProps=x,u.default=y,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(u,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(u=typeof globalThis<"u"?globalThis:u||self,i(u.checkbox={},u.Vue))})(this,function(u,i){"use strict";const S={};function x(e){const{properties:t}=e;return Object.keys(t).reduce((a,n)=>(a[n]=t[n].type==="object"&&t[n].properties?x(t[n]):t[n].default,a),{})}function v(e,t){const o=x(t);return Object.keys(e).reduce((a,n)=>(a[n]=e[n],a),o),o}function C(e,t){return Object.keys(e).filter(a=>e[a]!=null).reduce((a,n)=>{if(t.has(n)){const c=t.get(n);if(typeof c=="string")a[c]=e[n];else{const d=c(n,e[n]);Object.assign(a,d)}}else a[n]=e[n];return a},{})}function j(e,t,o=new Map){const a=v(e,t);return C(a,o)}function T(e,t,o=new Map){return S[t.title]=t,a=>{const n=j(a,t,o),c=Object.keys(e).reduce((d,p)=>(d[p]=e[p].default,d),{});return Object.assign(c,n)}}function B(e,t){return{customClass:t.class}}const F=new Map([["appearance",B]]),q={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/check-box.schema.json",title:"CheckBox",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for a check box",type:"string"},type:{description:"The type string of check box component",type:"string"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},disable:{type:"string",default:!1},editable:{description:"",type:"boolean",default:!0},placeHolder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},require:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},visible:{description:"",type:"boolean",default:!0}},required:["id","type"]},g={id:String,disable:{type:Boolean,default:!1},enumData:{type:Array,default:[]},horizontal:{type:Boolean,default:!1},isStringValue:{type:Boolean,default:!0},loadData:{type:Function},modelValue:[String,Array],name:{type:String,default:""},separator:{type:String,default:","},tabIndex:{type:Number,default:0},textField:{type:String,default:"name"},valueField:{type:String,default:"value"}},V=T(g,q,F);function D(e,t,o){const a=i.computed(()=>!e.disable),n=i.ref(e.enumData);function c(r){return r[e.valueField]}function d(r){return r[e.textField]}function p(r){return r?e.isStringValue?r.split(e.separator):r:[]}function k(r){const s=n.value.map(l=>c(l)).filter(l=>r.some(m=>m===String(l)));return e.isStringValue?s.join(e.separator):s}function f(r){const h=String(c(r));return p(o.value).some(l=>l===h)}function y(r,h){if(a.value){let s=p(o.value)||[];const l=String(c(r));!s||!s.length?s.push(l):s.some(m=>m===l)?s=s.filter(m=>m!==l):s.push(l),o.value=k(s),t.emit("changeValue",o.value),t.emit("update:modelValue",o.value)}h.stopPropagation()}return{enumData:n,getValue:c,getText:d,checked:f,onClickCheckbox:y}}const b=i.defineComponent({name:"FCheckboxGroup",props:g,emits:["changeValue","update:modelValue"],setup(e,t){const o=i.ref(e.modelValue),{enumData:a,onClickCheckbox:n,getValue:c,getText:d,checked:p}=D(e,t,o),k=i.computed(()=>({"farris-checkradio-hor":e.horizontal}));return i.watch(()=>e.modelValue,f=>{o.value=f,t.emit("changeValue",o.value)}),()=>i.createVNode("div",{class:["farris-input-wrap",k.value]},[a.value.map((f,y)=>{const r="checkbox_"+e.name+y;return i.createVNode("div",{class:"custom-control custom-checkbox"},[i.createVNode("input",{type:"checkbox",class:"custom-control-input",name:e.name,id:r,value:c(f),checked:p(f),disabled:e.disable,tabindex:e.tabIndex,onClick:h=>n(f,h)},null),i.createVNode("label",{class:"custom-control-label",for:r,title:d(f)},[d(f)])])})])}}),G={install(e){e.component(b.name,b)},register(e,t){e["check-box"]=b,t["check-box"]=V}};u.CheckBoxGroup=b,u.checkboxGroupProps=g,u.default=G,u.propsResolver=V,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "checkbox",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.2",
4
4
  "main": "index.umd.js",
5
- "module": "index.es.js",
5
+ "module": "index.esm.js",
6
6
  "style": "style.css",
7
7
  "types": "../types/checkbox/index.d.ts"
8
8
  }